:root {
    --void: #06060a;          /* page black */
    --carbon: #0b0b12;        /* deep panel black */
    --panel: #12121b;         /* raised surface */
    --panel-2: #191924;       /* hover surface */
    --crimson: #d3122e;       /* primary accent */
    --crimson-hot: #ff2545;   /* primary accent, lit */
    --violet: #7a2bff;        /* secondary accent */
    --violet-hot: #a96bff;    /* secondary accent, lit */
    --ink: #eceaf2;           /* body text */
    --muted: #8d88a3;         /* secondary text */

    /* rgb triplets, for rgba() composition */
    --crimson-rgb: 255, 37, 69;
    --violet-rgb: 169, 107, 255;

    /* Chamfered corners. Two opposing corners get cut, giving every
       surface the notched-panel silhouette instead of a rounded box.
       Applied with clip-path, so `border` cannot draw the diagonal edge.
       The border is faked instead: the element paints the edge color and
       an inset ::before paints the fill 1px inside it. */
    --cut: 14px;
    --chamfer: polygon(
        var(--cut) 0,
        100% 0,
        100% calc(100% - var(--cut)),
        calc(100% - var(--cut)) 100%,
        0 100%,
        0 var(--cut)
    );
    --cut-sm: 8px;
    --chamfer-sm: polygon(
        var(--cut-sm) 0,
        100% 0,
        100% calc(100% - var(--cut-sm)),
        calc(100% - var(--cut-sm)) 100%,
        0 100%,
        0 var(--cut-sm)
    );
    /* Octagon, for avatars. Reads as a helmet visor cut, not a circle. */
    --octagon: polygon(
        30% 0, 70% 0, 100% 30%, 100% 70%,
        70% 100%, 30% 100%, 0 70%, 0 30%
    );
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    /* Reserve scrollbar space on both sides so centered content stays
       visually centered whether a scrollbar is showing or not. Prevents
       the "card shifted left" look on scrollable pages. */
    scrollbar-gutter: stable both-edges;
}

html, body {
    min-height: 100%;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--ink);
    background: var(--void);
}

body {
    min-height: 100vh;
    background:
        radial-gradient(1100px 620px at 12% -12%, rgba(211, 18, 46, 0.34), transparent 62%),
        radial-gradient(900px 560px at 112% 6%, rgba(122, 43, 255, 0.26), transparent 60%),
        radial-gradient(760px 520px at 50% 118%, rgba(255, 37, 69, 0.18), transparent 62%),
        linear-gradient(180deg, #06060a 0%, #0b0b12 50%, #05050a 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
}

/* Scanline wash + faint circuit grid over the whole page. Sits above the
   background, below the content (z-index on .card lifts it clear). */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.22) 0px,
            rgba(0, 0, 0, 0.22) 1px,
            transparent 1px,
            transparent 3px
        ),
        linear-gradient(rgba(var(--violet-rgb), 0.05) 1px, transparent 1px) 0 0 / 100% 64px,
        linear-gradient(90deg, rgba(var(--violet-rgb), 0.05) 1px, transparent 1px) 0 0 / 64px 100%;
    mix-blend-mode: overlay;
    opacity: 0.5;
}

.card {
    width: 100%;
    max-width: 540px;
    /* Edge layer. ::before paints the fill 1px inside, leaving this as a
       hairline gradient border that survives the chamfer. */
    background: linear-gradient(
        150deg,
        rgba(var(--crimson-rgb), 0.55),
        rgba(var(--violet-rgb), 0.35) 45%,
        rgba(var(--crimson-rgb), 0.22)
    );
    clip-path: var(--chamfer);
    padding: 40px 28px 28px;
    filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.75))
            drop-shadow(0 0 34px rgba(var(--crimson-rgb), 0.16));
    position: relative;
    z-index: 1;
}

/* Card fill. Inset 1px so the parent's gradient reads as a border. */
.card::before {
    content: "";
    position: absolute;
    inset: 1px;
    clip-path: var(--chamfer);
    background:
        linear-gradient(165deg, rgba(var(--crimson-rgb), 0.07), transparent 42%),
        linear-gradient(340deg, rgba(var(--violet-rgb), 0.09), transparent 44%),
        linear-gradient(180deg, var(--panel) 0%, var(--carbon) 100%);
    z-index: -1;
}

/* Cut-corner accent: a short crimson rule tracing the top-left notch. */
.card::after {
    content: "";
    position: absolute;
    top: 0;
    left: var(--cut);
    width: 92px;
    height: 2px;
    background: linear-gradient(90deg, var(--crimson-hot), transparent);
    box-shadow: 0 0 12px rgba(var(--crimson-rgb), 0.9);
    pointer-events: none;
}

.avatar-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* Padding + background on an <img> paints a ring in the padding box, and
   clip-path cuts the whole thing to an octagon. No border needed (a border
   would be sliced off by the chamfer). */
.avatar {
    width: 220px;
    height: 220px;
    object-fit: cover;
    padding: 3px;
    background: linear-gradient(145deg, var(--crimson-hot), var(--violet) 55%, var(--crimson));
    clip-path: var(--octagon);
    filter: drop-shadow(0 0 22px rgba(var(--crimson-rgb), 0.45))
            drop-shadow(0 0 42px rgba(var(--violet-rgb), 0.28));
}

.name {
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-weight: 700;
    text-align: center;
    font-size: clamp(2.1rem, 5.4vw, 2.8rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    /* Chromatic split: crimson left, violet right. Reads as a CRT misfire. */
    text-shadow:
        -2px 0 0 rgba(var(--crimson-rgb), 0.55),
        2px 0 0 rgba(var(--violet-rgb), 0.45),
        0 0 26px rgba(var(--crimson-rgb), 0.35);
    position: relative;
    z-index: 1;
}

.accent {
    color: var(--crimson-hot);
    text-shadow: 0 0 18px rgba(var(--crimson-rgb), 0.75);
}

.tagline {
    text-align: center;
    color: var(--muted);
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    margin: 10px 0 30px;
    position: relative;
    z-index: 1;
}

/* Compact About caption above the footer. Carries the canonical identity
   (role, location, platforms) in visible body text so LLM fetch tools that
   strip <head> and <script> still see the facts. Muted so it does not
   compete with the primary content. */
.about-caption {
    max-width: 560px;
    margin: 30px auto 6px;
    padding: 0 8px;
    text-align: center;
    color: rgba(236, 234, 242, 0.5);
    font-size: 0.78rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}
.about-caption p { margin: 0; }
.about-caption strong {
    color: var(--crimson-hot);
    font-weight: 700;
    letter-spacing: 0.06em;
}
.about-caption a {
    color: var(--violet-hot);
    text-decoration: none;
    border-bottom: 1px solid rgba(var(--violet-rgb), 0.35);
    transition: color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}
.about-caption a:hover {
    color: var(--ink);
    border-bottom-color: var(--violet-hot);
    text-shadow: 0 0 12px rgba(var(--violet-rgb), 0.7);
}

.section-title {
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3em;
    color: var(--ink);
    text-transform: uppercase;
    text-align: center;
    margin: 26px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(var(--crimson-rgb), 0.18);
    position: relative;
    z-index: 1;
}

/* Terminal-style marker before each section heading. */
.section-title::before {
    content: "// ";
    color: var(--crimson-hot);
    text-shadow: 0 0 10px rgba(var(--crimson-rgb), 0.8);
}

/* Lit segment riding the underline, left-aligned like a signal bar. */
.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    width: 70px;
    height: 1px;
    background: var(--crimson-hot);
    box-shadow: 0 0 10px rgba(var(--crimson-rgb), 0.9);
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    position: relative;
    z-index: 1;
}

.link-grid + .link-grid {
    margin-top: 10px;
}

.link-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    /* Edge layer (see .card). ::before paints the fill inside it. */
    background: linear-gradient(140deg, rgba(var(--crimson-rgb), 0.45), rgba(var(--violet-rgb), 0.18));
    clip-path: var(--chamfer-sm);
    color: var(--ink);
    text-decoration: none;
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.06em;
    transition: transform 0.15s ease, background 0.2s ease, filter 0.2s ease;
    position: relative;
}

.link-btn::before {
    content: "";
    position: absolute;
    inset: 1px;
    clip-path: var(--chamfer-sm);
    background: linear-gradient(180deg, var(--panel), var(--carbon));
    z-index: 0;
    transition: background 0.2s ease;
}

/* Children ride above the fill layer. */
.link-btn > * { position: relative; z-index: 1; }

.link-btn::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    z-index: 1;
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--crimson-hot);
    border-top: 2px solid var(--crimson-hot);
    transform: translateY(-50%) rotate(45deg);
    opacity: 0.55;
    transition: opacity 0.2s ease, right 0.2s ease;
}

.link-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(140deg, var(--crimson-hot), rgba(var(--violet-rgb), 0.5));
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6))
            drop-shadow(0 0 14px rgba(var(--crimson-rgb), 0.55));
}

.link-btn:hover::before {
    background: linear-gradient(180deg, var(--panel-2), #0e0e16);
}

.link-btn:hover::after {
    opacity: 1;
    right: 10px;
}

.link-btn .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--crimson), #6d0518);
    color: var(--ink);
    clip-path: var(--chamfer-sm);
    --cut-sm: 6px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Inline-referenced icon SVGs. `fill: currentColor` lets each host
   element control the icon color via its own `color` property. */
.icon-svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
}
.business-cta .icon-svg {
    width: 18px;
    height: 18px;
}

/* Support variant: violet charge instead of crimson. */
.link-btn.support {
    background: linear-gradient(140deg, rgba(var(--violet-rgb), 0.55), rgba(var(--crimson-rgb), 0.18));
}

.link-btn.support .icon {
    background: linear-gradient(135deg, var(--violet), #3b0f8a);
    color: var(--ink);
}

.link-btn.support::after {
    border-right-color: var(--violet-hot);
    border-top-color: var(--violet-hot);
}

.link-btn.support:hover {
    background: linear-gradient(140deg, var(--violet-hot), rgba(var(--crimson-rgb), 0.45));
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6))
            drop-shadow(0 0 14px rgba(var(--violet-rgb), 0.6));
}

.footer {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(var(--crimson-rgb), 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    color: var(--muted);
    position: relative;
    z-index: 1;
}

.footer a {
    color: var(--crimson-hot);
    text-decoration: none;
    letter-spacing: 0.08em;
    transition: text-shadow 0.15s ease, color 0.15s ease;
}

.footer a:hover {
    color: var(--ink);
    text-shadow: 0 0 12px rgba(var(--crimson-rgb), 0.8);
}

.back-link {
    display: inline-block;
    color: var(--violet-hot);
    text-decoration: none;
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    transition: color 0.15s ease, text-shadow 0.15s ease;
}
.back-link:hover {
    color: var(--ink);
    text-shadow: 0 0 12px rgba(var(--violet-rgb), 0.8);
}

/* ═══════════════════════════════════════════════════════════════
   Direct support page — crypto cards
   ═══════════════════════════════════════════════════════════════ */
.crypto-card {
    background: linear-gradient(140deg, rgba(var(--crimson-rgb), 0.32), rgba(var(--violet-rgb), 0.16));
    clip-path: var(--chamfer);
    padding: 16px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.crypto-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    clip-path: var(--chamfer);
    background: linear-gradient(180deg, var(--panel), var(--carbon));
    z-index: -1;
}

.crypto-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.crypto-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    clip-path: var(--chamfer-sm);
    font-size: 1.6rem;
    font-weight: 700;
    flex-shrink: 0;
}
.crypto-mark.btc { background: linear-gradient(135deg, #f7931a, #7a4708); color: #fff; }
.crypto-mark.xmr { background: linear-gradient(135deg, #ff6600, #4a2000); color: #fff; }
.crypto-mark.doge { background: linear-gradient(135deg, #c2a633, #6b5a17); color: #0b0b12; }

.crypto-meta h3 {
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ink);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.crypto-net {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    margin-top: 2px;
}

.addr-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.addr {
    flex: 1;
    min-width: 0;
    font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
    font-size: 0.85rem;
    color: var(--ink);
    background: rgba(0, 0, 0, 0.55);
    border-left: 2px solid var(--crimson-hot);
    clip-path: var(--chamfer-sm);
    padding: 10px 12px;
    overflow-wrap: anywhere;
    word-break: break-all;
    user-select: all;
}

.copy-btn {
    background: linear-gradient(135deg, var(--crimson), #6d0518);
    color: var(--ink);
    border: 0;
    clip-path: var(--chamfer-sm);
    padding: 0 18px;
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.2s ease, background 0.2s ease;
}
.copy-btn:hover {
    transform: translateY(-1px);
    filter: drop-shadow(0 0 12px rgba(var(--crimson-rgb), 0.7));
}
.copy-btn.copied {
    background: linear-gradient(135deg, var(--violet-hot), var(--violet));
    color: var(--ink);
}

.qr-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--violet-hot);
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px dashed rgba(var(--violet-rgb), 0.45);
}
.qr-link:hover {
    color: var(--ink);
    text-shadow: 0 0 10px rgba(var(--violet-rgb), 0.8);
}

.qr-slot {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}
.qr-slot img {
    clip-path: var(--chamfer-sm);
    padding: 8px;
    background: var(--void);
    box-shadow: 0 0 24px rgba(var(--crimson-rgb), 0.25);
}

.fine-print {
    color: var(--muted);
    font-size: 0.78rem;
    text-align: center;
    margin-top: 20px;
    padding: 14px;
    background: rgba(0, 0, 0, 0.3);
    border-left: 2px solid rgba(var(--crimson-rgb), 0.6);
    clip-path: var(--chamfer-sm);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

@media (max-width: 420px) {
    .addr-row { flex-direction: column; }
    .copy-btn { padding: 12px; }
    .card { padding: 30px 18px 22px; }
    .avatar { width: 170px; height: 170px; }
    /* Keep 2 columns on mobile. Shrink padding, icon, font and drop the
       chevron so YouTube/Instagram/Facebook fit at ~150px wide. */
    .link-grid { grid-template-columns: 1fr 1fr; }
    .link-btn {
        padding: 12px 10px;
        font-size: 0.82rem;
        gap: 8px;
    }
    .link-btn .icon {
        width: 28px;
        height: 28px;
    }
    .link-btn .icon .icon-svg {
        width: 16px;
        height: 16px;
    }
    .link-btn::after { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   Wider card variant (partners page needs more real estate)
   ═══════════════════════════════════════════════════════════════ */
.card-wide {
    max-width: 900px;
}

/* Solid name variant (overrides the chromatic-split treatment) */
.name-solid {
    color: var(--ink);
    text-shadow:
        -2px 0 0 rgba(var(--crimson-rgb), 0.5),
        2px 0 0 rgba(var(--violet-rgb), 0.4),
        0 0 30px rgba(var(--crimson-rgb), 0.4);
}

/* Fine-print inline links */
.fine-print a {
    color: var(--violet-hot);
    text-decoration: none;
    border-bottom: 1px solid rgba(var(--violet-rgb), 0.4);
    transition: color 0.15s ease, border-color 0.15s ease;
}
.fine-print a:hover {
    color: var(--ink);
    border-bottom-color: var(--violet-hot);
}

/* Meta CTA row on the home page (Supporters / Partners / Business Contact) */
.meta-cta-row {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}
.business-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 26px;
    background: rgba(var(--crimson-rgb), 0.06);
    box-shadow: inset 0 0 0 1px rgba(var(--crimson-rgb), 0.45);
    clip-path: var(--chamfer-sm);
    color: var(--crimson-hot);
    text-decoration: none;
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, filter 0.2s ease;
}
.business-cta:hover {
    background: var(--crimson-hot);
    color: var(--void);
    transform: translateY(-1px);
    filter: drop-shadow(0 0 14px rgba(var(--crimson-rgb), 0.6));
}

/* ═══════════════════════════════════════════════════════════════
   Supporters page
   ═══════════════════════════════════════════════════════════════ */
#supporters-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
    position: relative;
    z-index: 1;
}
.supporter-row {
    display: grid;
    grid-template-columns: 80px 1fr auto 24px;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 0 0 1px rgba(var(--violet-rgb), 0.1);
    clip-path: var(--chamfer-sm);
    font-size: 0.95rem;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}
.supporter-row:hover {
    background: rgba(var(--violet-rgb), 0.06);
    box-shadow: inset 0 0 0 1px rgba(var(--violet-rgb), 0.3);
}
.supporter-tier {
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 4px 8px;
    text-align: center;
    color: var(--crimson-hot);
    box-shadow: inset 0 0 0 1px rgba(var(--crimson-rgb), 0.4);
    background: rgba(var(--crimson-rgb), 0.07);
}
.tier-legend {
    color: var(--ink);
    background: linear-gradient(135deg, rgba(var(--crimson-rgb), 0.35), rgba(var(--violet-rgb), 0.3));
    box-shadow: inset 0 0 0 1px rgba(var(--crimson-rgb), 0.7);
    text-shadow: 0 0 10px rgba(var(--crimson-rgb), 0.6);
}
.tier-rider {
    color: var(--violet-hot);
    box-shadow: inset 0 0 0 1px rgba(var(--violet-rgb), 0.4);
    background: rgba(var(--violet-rgb), 0.07);
}
.supporter-name {
    font-weight: 600;
    color: var(--ink);
}
.supporter-months {
    font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
    font-size: 0.8rem;
    color: var(--muted);
    white-space: nowrap;
}
.supporter-ig {
    color: var(--violet-hot);
    text-decoration: none;
    font-size: 1.05rem;
    text-align: center;
    transition: color 0.15s ease, filter 0.15s ease;
}
.supporter-ig:hover {
    color: var(--crimson-hot);
    filter: drop-shadow(0 0 8px rgba(var(--crimson-rgb), 0.8));
}
.supporter-row.milestone-1y { border-left: 2px solid rgba(var(--crimson-rgb), 0.45); }
.supporter-row.milestone-2y { border-left: 2px solid rgba(var(--crimson-rgb), 0.75); }
.supporter-row.milestone-3y {
    border-left: 2px solid var(--crimson-hot);
    box-shadow: inset 0 0 0 1px rgba(var(--violet-rgb), 0.2),
                inset 6px 0 16px -10px rgba(var(--crimson-rgb), 0.9);
}
.supporters-tail {
    text-align: center;
    margin-top: 14px;
    font-size: 0.85rem;
    color: var(--muted);
    letter-spacing: 0.06em;
}

@media (max-width: 480px) {
    .supporter-row {
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        gap: 8px;
        padding: 10px 12px;
        font-size: 0.88rem;
    }
    .supporter-tier {
        font-size: 0.58rem;
        padding: 3px 7px;
        letter-spacing: 0.08em;
    }
    .supporter-name {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .supporter-months { font-size: 0.72rem; }
    .supporter-ig { font-size: 0.95rem; }
}

/* ═══════════════════════════════════════════════════════════════
   Partners page — poster grid
   Each partner is a notched "poster" with an octagon avatar, a
   brand-color glow, name, meta, chips, and full-word buttons.
   --brand is set per card from the PARTNERS config.
   ═══════════════════════════════════════════════════════════════ */
.partners-grid {
    display: grid;
    /* min(320px, 100%) lets a column shrink below 320px when the
       container is narrower than that, so the poster stays inside the
       card on mobile. Without this it overflows to the right. */
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 28px;
    margin-top: 8px;
    position: relative;
    z-index: 1;
}
.partner-poster {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 24px 28px;
    background: linear-gradient(
        150deg,
        color-mix(in srgb, var(--brand, #ff2545) 55%, transparent),
        rgba(var(--violet-rgb), 0.2)
    );
    clip-path: var(--chamfer);
    --cut: 18px;
    transition: transform 0.2s ease, filter 0.2s ease;
}
.partner-poster::before {
    content: "";
    position: absolute;
    inset: 1px;
    clip-path: var(--chamfer);
    background:
        radial-gradient(ellipse at top, color-mix(in srgb, var(--brand, #ff2545) 14%, transparent) 0%, transparent 62%),
        linear-gradient(180deg, var(--panel), var(--carbon));
    z-index: 0;
}
.partner-poster > * { position: relative; z-index: 1; }
.partner-poster:hover {
    transform: translateY(-4px);
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.85))
            drop-shadow(0 0 22px color-mix(in srgb, var(--brand, #ff2545) 45%, transparent));
}
.partner-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, color-mix(in srgb, var(--brand, #ff2545) 32%, transparent) 0%, transparent 65%);
    filter: blur(22px);
    pointer-events: none;
    z-index: 0;
}
.partner-avatar-ring {
    width: 160px;
    height: 160px;
    padding: 4px;
    background: linear-gradient(140deg, var(--brand, #ff2545), var(--violet) 70%);
    clip-path: var(--octagon);
    margin-bottom: 18px;
    filter: drop-shadow(0 0 18px color-mix(in srgb, var(--brand, #ff2545) 45%, transparent));
}
.partner-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    clip-path: var(--octagon);
    background: var(--carbon);
}
.partner-name {
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 10px;
    line-height: 1.1;
}
.partner-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}
.partner-region {
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--muted);
    padding: 4px 8px;
    box-shadow: inset 0 0 0 1px rgba(var(--violet-rgb), 0.3);
    background: rgba(var(--violet-rgb), 0.05);
}
/* Country flag chip. Wrapper carries the outline and padding so the badge
   matches the neighboring SINCE and BIKE chips in size. */
.partner-flag-wrap {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    box-shadow: inset 0 0 0 1px rgba(var(--violet-rgb), 0.25);
    line-height: 1;
}
.partner-flag {
    display: block;
    width: 18px;
    height: 13px;
    object-fit: cover;
}
.partner-since,
.partner-bike {
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
    padding: 4px 10px;
    box-shadow: inset 0 0 0 1px rgba(var(--violet-rgb), 0.25);
}
.partner-tagline {
    color: rgba(236, 234, 242, 0.72);
    font-size: 0.95rem;
    margin: 8px 0 14px;
    max-width: 32ch;
    line-height: 1.55;
}
.partner-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 18px;
}
.chip {
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 12px;
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.5;
}
.chip-category {
    background: rgba(var(--crimson-rgb), 0.22);
    color: #ff8b9e;
}
.chip-discipline {
    background: rgba(var(--violet-rgb), 0.2);
    color: var(--violet-hot);
}
.partner-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 260px;
    margin-bottom: 12px;
}
.partner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 16px;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand, #ff2545) 60%, transparent);
    clip-path: var(--chamfer-sm);
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    text-decoration: none;
    color: var(--brand, #ff2545);
    background: color-mix(in srgb, var(--brand, #ff2545) 7%, transparent);
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, filter 0.2s ease;
}
.partner-btn:hover {
    background: var(--brand, #ff2545);
    color: var(--void);
    transform: translateY(-1px);
    filter: drop-shadow(0 0 12px color-mix(in srgb, var(--brand, #ff2545) 60%, transparent));
}
.partner-btn-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.supporter-ig {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.supporter-ig .icon-svg {
    width: 18px;
    height: 18px;
}
.partner-cta {
    display: inline-block;
    margin-top: 4px;
    padding: 11px 24px;
    clip-path: var(--chamfer-sm);
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    text-decoration: none;
    color: var(--void);
    background: var(--brand, #ff2545);
    transition: transform 0.15s ease, filter 0.15s ease;
}
.partner-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.15)
            drop-shadow(0 0 14px color-mix(in srgb, var(--brand, #ff2545) 75%, transparent));
}

@media (max-width: 480px) {
    .partner-poster { padding: 30px 18px 24px; }
    .partner-avatar-ring { width: 140px; height: 140px; }
    .partner-name { font-size: 1.55rem; }
}

/* Users who ask for less motion get no lift, no glow pulse. */
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
    .link-btn:hover,
    .partner-poster:hover,
    .business-cta:hover,
    .partner-btn:hover,
    .partner-cta:hover,
    .copy-btn:hover { transform: none; }
}
