/* ==========================================================
   SCS ĀHVĀN 2K26 — landing page
   Palette is taken from the event logo: deep indigo wordmark,
   yellow star, and the seven-colour "spectrum" dots.
   ========================================================== */

:root {
    --ink: #1A1745;
    --ink-2: #252163;
    --indigo: #3A3289;
    --paper: #F5F1EA;
    --paper-2: #ECE6DA;
    --white: #FFFFFF;
    --text: #1A1745;
    --muted: #5E5B78;
    --line: rgba(26, 23, 69, .14);
    --line-strong: rgba(26, 23, 69, .28);

    --yellow: #FFC20E;
    --red: #E3262D;
    --blue: #139FDB;
    --green: #0E9A4A;
    --orange: #F07F1B;
    --mauve: #A94F8A;
    --magenta: #A2217F;

    --wa: #1FAF54;
    --wa-dark: #128C4A;

    --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --f-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
    --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

    --wrap: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --radius: 4px;
    --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--f-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); line-height: 1.1; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
figure { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

@media (max-width: 900px) { .hide-md { display: none !important; } }
@media (max-width: 640px) { .hide-sm { display: none !important; } }

/* ---------- Spectrum bar (logo dots, reused as a rule) ---------- */
.spectrum { display: flex; height: 4px; }
.spectrum i { flex: 1; }
.spectrum i:nth-child(1) { background: var(--red); }
.spectrum i:nth-child(2) { background: var(--blue); }
.spectrum i:nth-child(3) { background: var(--green); }
.spectrum i:nth-child(4) { background: var(--orange); }
.spectrum i:nth-child(5) { background: var(--mauve); }
.spectrum i:nth-child(6) { background: var(--yellow); }
.spectrum i:nth-child(7) { background: var(--magenta); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .72em 1.2em;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .01em;
    text-decoration: none;
    line-height: 1.2;
    background: none;
    transition: background-color .18s, color .18s, border-color .18s, transform .18s;
    white-space: nowrap;
}
.btn i { font-size: 1.25em; }
.btn:active { transform: translateY(1px); }
.btn-lg { font-size: 16px; padding: .95em 1.45em; }

.btn-primary { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-primary:hover { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.btn-primary .bx-right-arrow-alt { transition: transform .18s; }
.btn-primary:hover .bx-right-arrow-alt { transform: translateX(3px); }

.btn-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ink:hover { background: var(--indigo); border-color: var(--indigo); }
.btn-tag {
    font-family: var(--f-mono); font-size: 11px; font-weight: 500;
    text-transform: uppercase; letter-spacing: .06em;
    background: var(--yellow); color: var(--ink); padding: 2px 6px; border-radius: 2px;
}

.btn-wa { background: var(--wa); color: #fff; border-color: var(--wa); }
.btn-wa:hover { background: var(--wa-dark); border-color: var(--wa-dark); }
.btn-wa-outline { color: var(--wa-dark); border-color: currentColor; }
.btn-wa-outline:hover { background: var(--wa); border-color: var(--wa); color: #fff; }

.link-quiet {
    display: inline-flex; align-items: center; gap: .35em;
    font-weight: 500; font-size: 15px; text-decoration: none; color: var(--muted);
    border-bottom: 1px solid var(--line-strong); padding-bottom: 1px;
}
.link-quiet:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Utility bar ---------- */
.utility-bar { background: var(--ink); color: rgba(255,255,255,.82); font-family: var(--f-mono); font-size: 12.5px; }
.utility-inner { display: flex; align-items: center; gap: 28px; min-height: 38px; }
.utility-inner span { display: inline-flex; align-items: center; gap: 6px; }
.utility-inner i { color: var(--yellow); font-size: 15px; }
.utility-alert { margin-left: auto; color: #fff; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(255,194,14,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255,194,14,0); } 100% { box-shadow: 0 0 0 0 rgba(255,194,14,0); } }
@media (max-width: 640px) {
    .utility-inner { justify-content: space-between; gap: 12px; font-size: 11.5px; }
    .utility-alert { margin-left: 0; }
}

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(245, 241, 234, .94);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header .spectrum { height: 3px; transform-origin: left; transform: scaleX(var(--progress, 0)); }
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand img { height: 52px; width: auto; }
.brand-125 { height: 72px; width: auto; flex: none; margin-left: -12px; }
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a {
    text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted);
    position: relative; padding: 6px 0;
}
.main-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.main-nav a:hover, .main-nav a.is-current { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.is-current::after { transform: scaleX(1); }
.nav-mobile-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 20px; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: none; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .2s, top .2s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
    .main-nav { gap: 20px; }
}
@media (max-width: 960px) {
    :root { --header-h: 66px; }
    .brand img { height: 44px; }
    .brand-125 { height: 58px; margin-left: -16px; }
    .nav-toggle { display: block; }
    .header-actions { margin-left: auto; gap: 10px; }
    .header-actions .btn-ink { display: none; }
    .main-nav {
        position: fixed; inset: calc(var(--header-h) + 38px + 3px) 0 auto 0;
        flex-direction: column; gap: 0; margin: 0;
        background: var(--paper); border-bottom: 1px solid var(--line);
        padding: 8px var(--gutter) 20px;
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: opacity .2s, transform .2s, visibility .2s;
        box-shadow: 0 20px 40px -20px rgba(26,23,69,.3);
    }
    .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
    .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink); }
    .main-nav a::after { display: none; }
    .nav-mobile-cta { display: block; margin-top: 14px; border: 0 !important; background: var(--yellow); text-align: center; border-radius: var(--radius); font-family: var(--f-display); font-weight: 700; }
    .site-header.is-scrolled .main-nav { top: calc(var(--header-h) + 3px); }
}

/* ---------- Common section ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-paper { background: var(--paper-2); }
.section-dark { background: var(--ink); color: #fff; }

.section-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head-split { justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.section-head-split > div:first-child { display: flex; gap: 18px; align-items: flex-start; }
.section-no {
    font-family: var(--f-mono); font-size: 13px; font-weight: 500;
    padding: 4px 8px; border: 1px solid currentColor; border-radius: 2px;
    line-height: 1; margin-top: .55em; opacity: .75;
}
.section-title {
    font-family: var(--f-display);
    font-weight: 800;
    font-stretch: 72%;
    text-transform: uppercase;
    font-size: clamp(44px, 7vw, 92px);
    line-height: .88;
    letter-spacing: -.01em;
}
.eyebrow {
    font-family: var(--f-mono); font-size: 13px; letter-spacing: .04em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 96px); position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-logo { margin: 0 0 28px -1.5%; }
.hero-logo img { width: 100%; max-width: 640px; }
.hero-lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: 34em; color: var(--muted); margin-bottom: 32px; }
.hero-lede strong { color: var(--ink); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }

.ticket {
    display: grid; grid-template-columns: repeat(4, 1fr);
    margin: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-strong);
}
.ticket > div { padding: 16px 16px 16px 0; }
.ticket > div + div { padding-left: 16px; border-left: 1px dashed var(--line-strong); }
.ticket dt { font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ticket dd { margin: 4px 0 2px; font-family: var(--f-display); font-weight: 800; font-stretch: 85%; font-size: clamp(22px, 2.3vw, 30px); line-height: 1; }
.ticket small { font-size: 13px; color: var(--muted); }

.hero-visual { position: relative; }
.hero-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
    content: ""; position: absolute; inset: 0; border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(26,23,69,0) 55%, rgba(26,23,69,.35));
    pointer-events: none;
}
.countdown {
    position: absolute; left: -28px; bottom: 28px;
    background: var(--ink); color: #fff; padding: 16px 20px 14px; border-radius: var(--radius);
    box-shadow: 0 24px 48px -18px rgba(26,23,69,.55);
    border-left: 4px solid var(--yellow);
}
.countdown-label { font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.7); margin: 0 0 6px; }
.countdown-units { display: flex; gap: 18px; }
.countdown-units div { display: flex; flex-direction: column; min-width: 42px; }
.countdown-units span { font-family: var(--f-mono); font-weight: 600; font-size: 30px; line-height: 1.05; color: var(--yellow); font-variant-numeric: tabular-nums; }
.countdown-units small { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.6); }
.countdown.is-live .countdown-units { display: none; }

.hero-vertical {
    position: absolute; right: -34px; top: 156px;
    writing-mode: vertical-rl; margin: 0;
    font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}

@media (max-width: 1320px) { .hero-vertical { display: none; } }
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { order: -1; max-width: 520px; }
    .hero-photo { aspect-ratio: 16 / 11; }
    .countdown { left: 12px; bottom: -28px; }
    .hero-copy { padding-top: 24px; }
    .hero-logo { margin-top: 12px; }
}
@media (max-width: 560px) {
    .ticket { grid-template-columns: 1fr 1fr; }
    .ticket > div:nth-child(3) { padding-left: 0; border-left: 0; }
    .ticket > div:nth-child(n+3) { border-top: 1px dashed var(--line-strong); }
    .hero-ctas .btn { flex: 1 1 100%; }
    .countdown-units { gap: 12px; }
    .countdown-units span { font-size: 24px; }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: #fff; overflow: hidden; padding: 18px 0; border-top: 1px solid var(--ink-2); }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker span {
    font-family: var(--f-display); font-weight: 800; font-stretch: 72%; text-transform: uppercase;
    font-size: clamp(22px, 2.6vw, 32px); letter-spacing: .01em; white-space: nowrap;
    display: inline-flex; align-items: center;
}
.ticker span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; margin: 0 28px; background: var(--dot, var(--yellow)); }
.ticker span:nth-child(7n+1) { --dot: var(--red); }
.ticker span:nth-child(7n+2) { --dot: var(--blue); }
.ticker span:nth-child(7n+3) { --dot: var(--green); }
.ticker span:nth-child(7n+4) { --dot: var(--orange); }
.ticker span:nth-child(7n+5) { --dot: var(--mauve); }
.ticker span:nth-child(7n+6) { --dot: var(--yellow); }
.ticker span:nth-child(7n+7) { --dot: var(--magenta); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- The Fest ---------- */
.fest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.fest-quote {
    margin: 0; font-family: var(--f-display); font-weight: 600; font-stretch: 90%;
    font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.01em;
    text-indent: -.4em;
}
.fest-quote::before { content: "“"; color: var(--red); }
.fest-quote cite {
    display: block; margin-top: 24px; text-indent: 0;
    font-family: var(--f-mono); font-style: normal; font-size: 13px; font-weight: 500;
    letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}
.fest-body p { color: var(--muted); max-width: 36em; }
.facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; margin-top: 36px; border-top: 1px solid var(--line-strong); }
.facts li { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); }
.facts li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--f-display); font-weight: 800; font-stretch: 75%; font-size: 46px; line-height: 1; }
.facts li:nth-child(1) strong { color: var(--indigo); }
.facts li:nth-child(2) strong { color: var(--green); }
.facts li:nth-child(3) strong { color: var(--red); }
.facts li:nth-child(4) strong { color: var(--orange); }
.facts span { font-size: 14.5px; color: var(--muted); }

.institution {
    display: grid; grid-template-columns: 72px 1fr; gap: 24px; align-items: start;
    margin-top: clamp(56px, 7vw, 88px); padding-top: 32px; border-top: 1px solid var(--line-strong);
    max-width: 920px;
}
.institution h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.institution p { color: var(--muted); font-size: 15.5px; margin: 0; }

@media (max-width: 860px) {
    .fest-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .institution { grid-template-columns: 48px 1fr; gap: 14px; margin-top: 48px; padding-top: 24px; }
    .institution img { width: 48px; }
    .institution h3 { font-size: 17px; margin-bottom: 4px; }
    .institution p { font-size: 14.5px; }
    .facts strong { font-size: 38px; }
}

/* ---------- Events ---------- */
.section-events { background: var(--white); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    border: 1px solid var(--line-strong); background: none; border-radius: 999px;
    padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--muted);
    transition: background-color .15s, color .15s, border-color .15s;
}
.chip sup { font-family: var(--f-mono); font-size: 10.5px; margin-left: 2px; vertical-align: top; position: relative; top: 1px; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.event-list { list-style: none; border-top: 2px solid var(--ink); }
.event { --accent: var(--indigo); border-bottom: 1px solid var(--line-strong); }
.event[data-accent="green"] { --accent: var(--green); }
.event[data-accent="orange"] { --accent: var(--orange); }
.event[data-accent="red"] { --accent: var(--red); }
.event[data-accent="magenta"] { --accent: var(--magenta); }
.event[data-accent="blue"] { --accent: var(--blue); }
.event[data-accent="mauve"] { --accent: var(--mauve); }
.event[data-accent="yellow"] { --accent: #D99E00; }
.event.is-hidden { display: none; }

.event-row {
    width: 100%; display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 220px 150px 40px;
    align-items: center; gap: 20px;
    padding: 26px 0; background: none; border: 0; text-align: left;
    position: relative;
}
.event-row::before {
    content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: 0;
    background: var(--accent); transition: width .35s ease;
}
.event-row:hover::before, .event.is-open .event-row::before { width: 100%; }
.event-no { font-family: var(--f-mono); font-size: 14px; color: var(--accent); font-weight: 600; }
.event-name {
    font-family: var(--f-display); font-weight: 800; font-stretch: 78%;
    font-size: clamp(26px, 3.4vw, 44px); line-height: 1; text-transform: uppercase;
    display: flex; flex-direction: column; gap: 8px;
}
.event-name em {
    font-style: normal; font-family: var(--f-mono); font-weight: 500; font-size: 12.5px;
    letter-spacing: .06em; color: var(--accent); text-transform: uppercase; font-stretch: normal;
}
.event-cat { font-size: 14px; color: var(--muted); }
.event-size {
    font-family: var(--f-mono); font-size: 13px; font-weight: 500;
    justify-self: start; padding: 5px 10px; border-radius: 2px;
    background: var(--paper); color: var(--ink);
}
.event-toggle {
    font-size: 26px; width: 40px; height: 40px; display: grid; place-items: center;
    border: 1px solid var(--line-strong); border-radius: 50%;
    transition: transform .3s, background-color .2s, color .2s, border-color .2s;
}
.event-row:hover .event-toggle { border-color: var(--ink); }
.event.is-open .event-toggle { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }

.event-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.event.is-open .event-panel { grid-template-rows: 1fr; }
.event-panel > .event-panel-inner { overflow: hidden; }
.event-panel-inner {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: clamp(24px, 4vw, 56px); padding-left: 84px;
}
.event-text { padding-bottom: 36px; }
.event-img { padding-bottom: 36px; }
.event-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.event-desc { font-size: 19px; line-height: 1.5; max-width: 32em; }
.rules { list-style: none; margin: 0 0 24px; }
.rules li { position: relative; padding: 9px 0 9px 22px; border-top: 1px solid var(--line); font-size: 15.5px; color: #3A3858; }
.rules li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 8px; height: 2px; background: var(--accent); }
.rules a { color: var(--ink); font-weight: 600; }
.conveners { background: var(--paper); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 24px; font-size: 15px; }
.conveners p { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 4px 0; }
.conveners span { font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); min-width: 130px; }
.conveners a { margin-left: auto; font-family: var(--f-mono); font-size: 14px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line-strong); }
.conveners a:hover { border-color: var(--ink); }

@media (max-width: 1000px) {
    .event-row { grid-template-columns: 44px minmax(0, 1fr) auto 40px; }
    .event-cat { display: none; }
    .event-panel-inner { padding-left: 64px; grid-template-columns: 1fr; }
    .event-img { order: -1; padding-bottom: 20px; max-width: 560px; }
}
@media (max-width: 600px) {
    .event-row { grid-template-columns: 30px minmax(0, 1fr) 36px; gap: 12px; padding: 20px 0; }
    .event-size { grid-column: 2; grid-row: 2; margin-top: -4px; }
    .event-toggle { grid-column: 3; grid-row: 1 / span 2; width: 36px; height: 36px; font-size: 22px; }
    .event-panel-inner { padding-left: 0; }
    .event-desc { font-size: 17px; }
    .conveners a { margin-left: 0; }
    .conveners span { min-width: 0; width: 100%; }
    .event-text .btn { width: 100%; white-space: normal; }
}

/* ---------- Prizes ---------- */
.podium { display: grid; grid-template-columns: 1.25fr 1fr 1fr; border-top: 1px solid rgba(255,255,255,.2); }
.podium-col { padding: 32px 32px 36px 0; }
.podium-col + .podium-col { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.14); }
.podium-rank { font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); }
.podium-amt {
    margin: 10px 0 8px; font-family: var(--f-display); font-weight: 800; font-stretch: 72%;
    font-size: clamp(56px, 7vw, 100px); line-height: .9; letter-spacing: -.01em;
}
.podium-amt span { font-size: .5em; vertical-align: .6em; margin-right: 4px; color: rgba(255,255,255,.55); }
.is-first .podium-amt { color: var(--yellow); }
.is-first .podium-amt span { color: var(--yellow); opacity: .7; }
.podium-plus { color: rgba(255,255,255,.72); font-size: 15px; margin: 0; }
.podium-note { display: flex; gap: 10px; align-items: flex-start; margin: 24px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.72); font-size: 15px; max-width: 60em; }
.podium-note i { font-size: 20px; color: var(--yellow); margin-top: 1px; }
@media (max-width: 760px) {
    .podium { grid-template-columns: 1fr; }
    .podium-col, .podium-col + .podium-col { padding: 24px 0; border-left: 0; }
    .podium-col + .podium-col { border-top: 1px solid rgba(255,255,255,.14); }
    .podium-col:not(.is-first) { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
    .podium-col:not(.is-first) .podium-amt { font-size: 48px; margin: 0; }
}

/* ---------- Timeline ---------- */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 2px solid var(--ink); }
.timeline li { padding: 24px 20px 0 0; position: relative; }
.timeline li::before {
    content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px;
    border-radius: 50%; background: var(--paper); border: 2px solid var(--ink);
}
.timeline li.is-day::before { background: var(--yellow); }
.timeline time { display: block; font-family: var(--f-mono); font-size: 13px; font-weight: 600; color: var(--indigo); margin-bottom: 10px; }
.timeline h3 { font-size: 19px; font-weight: 700; font-stretch: 90%; margin-bottom: 8px; }
.timeline p { font-size: 14.5px; color: var(--muted); margin: 0; }
@media (max-width: 1000px) {
    .timeline { grid-template-columns: 1fr 1fr 1fr; row-gap: 40px; border-top: 0; }
    .timeline li { border-top: 2px solid var(--ink); }
}
@media (max-width: 600px) {
    .timeline { grid-template-columns: 1fr; row-gap: 0; border-left: 2px solid var(--ink); margin-left: 6px; }
    .timeline li { border-top: 0; padding: 0 0 28px 26px; }
    .timeline li::before { top: 2px; left: -7px; }
}

/* ---------- Rules ---------- */
.rules-list { columns: 2; column-gap: clamp(32px, 5vw, 72px); counter-reset: r; list-style: none; }
.rules-list li {
    break-inside: avoid; counter-increment: r; position: relative;
    padding: 14px 0 14px 48px; border-top: 1px solid var(--line-strong); font-size: 16px;
}
.rules-list li::before {
    content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: 16px;
    font-family: var(--f-mono); font-size: 13px; font-weight: 600; color: var(--indigo);
}
@media (max-width: 760px) { .rules-list { columns: 1; } }

/* ---------- Register ---------- */
.section-register { background: var(--ink); color: #fff; position: relative; }
.register-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.register-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.register-aside .section-no { display: inline-block; margin: 0 0 18px; }
.register-aside .section-title { margin-bottom: 24px; }
.register-intro { color: rgba(255,255,255,.78); font-size: 17px; }
.register-intro strong { color: #fff; }
.steps { list-style: none; margin: 28px 0; border-top: 1px solid rgba(255,255,255,.16); }
.steps li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.85); font-size: 15.5px; }
.steps span { font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--ink); background: var(--yellow); width: 22px; height: 22px; display: grid; place-items: center; border-radius: 2px; flex: none; }
.wa-card { display: flex; gap: 16px; background: rgba(31,175,84,.12); border: 1px solid rgba(31,175,84,.4); border-radius: var(--radius); padding: 18px; margin-bottom: 24px; }
.wa-card > i { font-size: 32px; color: var(--wa); }
.wa-card p { font-size: 15px; color: rgba(255,255,255,.85); margin-bottom: 12px; }
.wa-card strong { color: #fff; }
.deadline { font-family: var(--f-mono); font-size: 13.5px; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 8px; }
.deadline i { color: var(--yellow); font-size: 18px; }
.deadline strong { color: var(--yellow); font-weight: 600; }

.form-card { background: var(--paper); color: var(--text); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
fieldset { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
legend {
    display: flex; align-items: center; gap: 10px; width: 100%;
    font-family: var(--f-display); font-weight: 800; font-stretch: 80%; font-size: 22px; text-transform: uppercase;
    padding-bottom: 12px; margin-bottom: 18px; border-bottom: 2px solid var(--ink);
}
legend span { font-family: var(--f-mono); font-size: 12px; font-weight: 600; width: 24px; height: 24px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 2px; }
legend em { margin-left: auto; font-style: normal; font-family: var(--f-mono); font-weight: 500; font-size: 12.5px; text-transform: none; color: var(--muted); font-stretch: normal; }

.field { margin-bottom: 18px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field label .opt { font-family: var(--f-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-left: 4px; }
.field label b, .check b { color: var(--red); font-weight: 600; }
.field input, .field select {
    width: 100%; height: 50px; padding: 0 14px;
    background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
    font-size: 16px; transition: border-color .15s, box-shadow .15s;
    appearance: none; -webkit-appearance: none;
}
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%231A1745' stroke-width='1.8'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.field input::placeholder { color: #9A97AE; }
.field input:focus, .field select:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(58,50,137,.15); }
.field.has-error input, .field.has-error select, .p-row.has-error input { border-color: var(--red); }
.field .err, .p-row .err { display: block; color: var(--red); font-size: 13px; margin-top: 5px; }
.hint { font-size: 13.5px; color: var(--muted); margin: 8px 0 0; }
.hint:empty { display: none; }
.hint strong { color: var(--ink); }

.participants { counter-reset: p; }
.empty-state { font-size: 14.5px; color: var(--muted); padding: 16px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); text-align: center; }
.p-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 40px; gap: 10px; align-items: center; margin-bottom: 10px; counter-increment: p; }
.p-row::before { content: counter(p, decimal-leading-zero); font-family: var(--f-mono); font-size: 13px; color: var(--muted); text-align: right; }
.p-row input { width: 100%; height: 46px; padding: 0 14px; background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--radius); font-size: 16px; }
.p-row input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(58,50,137,.15); }
.p-row .err { grid-column: 2; margin-top: -4px; }
.p-row.is-lead input { border-color: var(--ink); }
.p-row.has-error input { border-color: var(--red); }
.check .err { display: none; }
.p-remove { width: 40px; height: 40px; border: 0; background: none; color: var(--muted); font-size: 22px; border-radius: 50%; }
.p-remove:hover { background: var(--paper-2); color: var(--red); }
.p-remove:disabled { visibility: hidden; }
.btn-add { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 22px 44px; background: none; border: 0; font-weight: 600; font-size: 14.5px; color: var(--indigo); padding: 6px 0; }
.btn-add:hover { color: var(--ink); text-decoration: underline; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; margin-bottom: 24px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.check.has-error span { color: var(--red); }

.form-status { padding: 12px 16px; border-radius: var(--radius); font-size: 14.5px; margin-bottom: 20px; background: #FDECEC; color: #8E1418; border-left: 3px solid var(--red); }
.form-status.is-info { background: #EEF0FA; color: var(--ink); border-left-color: var(--indigo); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-actions .btn[disabled] { opacity: .6; pointer-events: none; }

.form-success { text-align: left; }
.form-success > i { font-size: 48px; color: var(--green); }
.form-success h3 { font-size: 32px; font-weight: 800; font-stretch: 80%; text-transform: uppercase; margin: 10px 0 12px; }
.form-success p { color: var(--muted); margin-bottom: 24px; }
.form-success strong { color: var(--ink); }

@media (max-width: 960px) {
    .register-grid { grid-template-columns: 1fr; }
    .register-aside { position: static; }
}
@media (max-width: 560px) {
    .field-row { flex-direction: column; gap: 0; }
    .form-actions .btn { width: 100%; }
    .p-row { grid-template-columns: 26px minmax(0, 1fr) 36px; gap: 8px; }
    .btn-add { margin-left: 34px; }
}

/* ---------- Legacy (SCS@125) ---------- */
.legacy { background: var(--paper-2); padding: clamp(56px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }
.legacy-grid { display: grid; grid-template-columns: 180px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 1040px; }
.legacy-photo { width: 180px; height: 180px; border-radius: 50%; overflow: hidden; background: var(--indigo); box-shadow: 0 0 0 6px var(--paper-2), 0 0 0 8px var(--indigo); }
.legacy-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.legacy h2 { font-weight: 700; font-stretch: 90%; font-size: clamp(26px, 3vw, 38px); margin-bottom: 14px; }
.legacy p:last-child { color: var(--muted); margin: 0; max-width: 42em; }
.legacy .eyebrow { margin-bottom: 10px; color: var(--magenta); }
@media (max-width: 600px) {
    .legacy-grid { grid-template-columns: 1fr; }
    .legacy-photo { width: 128px; height: 128px; }
}

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.people-group h3 { font-family: var(--f-mono); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.people-group ul { list-style: none; }
.people-group li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.people-group li strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 18px; }
.people-group li span { font-size: 14.5px; color: var(--muted); }
.people-help { background: var(--white); border-radius: var(--radius); padding: 24px; align-self: start; }
.people-help h3 { color: var(--ink); }
.people-help p { font-size: 15.5px; color: var(--muted); margin: 16px 0 20px; }
.people-help a:not(.btn) { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .people { grid-template-columns: 1fr 1fr; } .people-help { grid-column: 1 / -1; } }
@media (max-width: 600px) { .people { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1.2fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand img { width: 220px; margin-bottom: 18px; }
.site-footer h4 { font-family: var(--f-mono); font-weight: 500; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.site-footer address { margin-bottom: 14px; line-height: 1.7; }
.footer-link, .footer-links a { color: #fff; text-decoration: none; }
.footer-link { display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(255,255,255,.3); }
.footer-links { list-style: none; }
.footer-links li { padding: 4px 0; }
.footer-links a:hover, .footer-link:hover { color: var(--yellow); }
.footer-inst img { width: 56px; margin-bottom: 14px; background: #fff; border-radius: 50%; padding: 3px; }
.footer-inst p { font-size: 14px; line-height: 1.6; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; padding-bottom: 96px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { margin: 0; font-size: 13.5px; }
.footer-marks { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-marks img { height: 40px; width: auto; background: #fff; padding: 5px 8px; border-radius: 3px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- SCS@125 side tab ---------- */
.side-stick {
    position: fixed; right: 0; top: 50%; z-index: 60; transform: translateY(-50%);
    writing-mode: vertical-rl; display: flex; align-items: center; gap: 8px;
    padding: 18px 12px; background: #F28C1E; color: #fff;
    font: 700 15px/1 var(--f-display, sans-serif); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
    border-radius: 12px 0 0 12px; box-shadow: -6px 8px 24px -8px rgba(0,0,0,.45);
    transition: padding .2s, background .2s;
}
.side-stick:hover { background: #d97706; padding-right: 18px; }
@media (max-width: 600px) { .side-stick { font-size: 13px; padding: 14px 9px; } }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
    position: fixed; right: 20px; bottom: 20px; z-index: 60;
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--wa); color: #fff; text-decoration: none;
    padding: 12px 18px 12px 14px; border-radius: 999px;
    font-family: var(--f-display); font-weight: 700; font-size: 15px;
    box-shadow: 0 12px 28px -8px rgba(18,140,74,.6), 0 2px 6px rgba(0,0,0,.12);
    transition: transform .2s, background-color .2s;
}
.wa-fab i { font-size: 26px; }
.wa-fab:hover { background: var(--wa-dark); transform: translateY(-2px); }
.wa-fab::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    border: 2px solid var(--wa); animation: ring 2.4s ease-out infinite; pointer-events: none;
}
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.18, 1.35); opacity: 0; } }
@media (max-width: 560px) {
    .wa-fab { right: 12px; bottom: 12px; padding: 10px 16px 10px 12px; font-size: 14px; gap: 6px; }
    .wa-fab i { font-size: 22px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Prize callouts (top of page) ---------- */
.utility-prize { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.utility-prize:hover { color: var(--yellow); }
.utility-prize i { color: var(--yellow); font-size: 15px; }

.prize-stamp {
    position: absolute; top: -34px; right: -34px; z-index: 2;
    width: 168px; height: 168px; border-radius: 50%;
    background: var(--yellow); color: var(--ink); text-decoration: none;
    display: grid; place-items: center;
    box-shadow: 0 18px 40px -16px rgba(26,23,69,.55);
    transition: transform .25s ease;
}
.prize-stamp:hover { transform: rotate(-6deg) scale(1.04); }
.prize-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.prize-ring text { font-family: var(--f-mono); font-size: 13.5px; font-weight: 600; letter-spacing: .06em; fill: var(--ink); }
.prize-core {
    position: relative; width: 104px; height: 104px; border-radius: 50%;
    background: var(--ink); color: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.prize-core small { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.7); }
.prize-core strong { font-family: var(--f-display); font-weight: 800; font-stretch: 75%; font-size: 30px; line-height: 1; color: var(--yellow); margin-top: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1320px) { .prize-stamp { right: -16px; } }
@media (max-width: 900px) { .prize-stamp { top: 14px; right: 14px; width: 136px; height: 136px; } .prize-core { width: 84px; height: 84px; } .prize-core strong { font-size: 24px; } }
@media (max-width: 560px) { .prize-stamp { top: 12px; right: 12px; width: 112px; height: 112px; } .prize-ring text { font-size: 14.5px; } .prize-core { width: 72px; height: 72px; } .prize-core strong { font-size: 20px; } .prize-core small { font-size: 9px; } }

/* ---------- Brochure card ---------- */
.fest-lead { display: flex; flex-direction: column; gap: 48px; }
.brochure-card {
    display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center;
    max-width: 480px; padding: 16px 24px 16px 16px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    text-decoration: none; color: var(--ink);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.brochure-card:hover { border-color: var(--ink); box-shadow: 0 20px 40px -24px rgba(26,23,69,.45); transform: translateY(-2px); }
.brochure-thumb { display: block; position: relative; transform: rotate(-3deg); transition: transform .3s; }
.brochure-card:hover .brochure-thumb { transform: rotate(0) scale(1.03); }
.brochure-thumb img { border-radius: 2px; box-shadow: 0 10px 24px -8px rgba(26,23,69,.4); }
.brochure-thumb::after {
    content: ""; position: absolute; inset: 6px -6px -6px 6px; z-index: -1;
    background: var(--paper-2); border-radius: 2px;
}
.brochure-info { display: flex; flex-direction: column; gap: 6px; }
.brochure-kicker { font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--magenta); }
.brochure-info strong { font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.2; }
.brochure-meta { font-size: 13.5px; color: var(--muted); }
.brochure-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--f-display); font-weight: 700; font-size: 15px; border-bottom: 2px solid var(--yellow); align-self: flex-start; padding-bottom: 2px; }
@media (max-width: 480px) {
    .brochure-card { grid-template-columns: 84px 1fr; gap: 16px; padding: 14px; }
    .brochure-info strong { font-size: 17px; }
}

.eyebrow-strong { font-weight: 600; color: var(--ink); font-size: clamp(15px, 1.5vw, 18px); }

legend b { font-weight: inherit; }

.credit { margin-left: 14px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.2); }
.credit a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.credit a:hover { color: var(--yellow); border-color: var(--yellow); }
@media (max-width: 560px) { .credit { display: block; margin: 6px 0 0; padding: 0; border: 0; } }

.prize-core strong { font-size: 19px; white-space: nowrap; letter-spacing: -.01em; }
@media (max-width: 900px) { .prize-core strong { font-size: 15px; } }
@media (max-width: 560px) { .prize-core strong { font-size: 12.5px; } }

/* ---------- Spot registration highlight ---------- */
.utility-spot { color: var(--yellow); font-weight: 600; }
.spot-badge {
    display: inline-flex; align-items: center; gap: 10px;
    margin: 0 0 18px; padding: 10px 16px;
    background: var(--magenta); color: #fff;
    border-radius: var(--radius);
    font-family: var(--f-display); font-weight: 800; font-stretch: 85%;
    font-size: clamp(15px, 1.6vw, 18px); text-transform: uppercase; letter-spacing: .02em;
    box-shadow: 0 10px 24px -12px rgba(162, 33, 127, .7);
}
.spot-card {
    display: flex; gap: 14px; align-items: center;
    background: var(--yellow); color: var(--ink);
    border-radius: var(--radius); padding: 14px 18px; margin: 0 0 24px;
}
.spot-card > i { font-size: 30px; flex: none; }
.spot-card p { margin: 0; font-size: 15px; line-height: 1.45; }
.spot-card strong { display: block; font-family: var(--f-display); font-weight: 800; font-stretch: 85%; font-size: 18px; text-transform: uppercase; margin-bottom: 2px; }
