/* ==========================================================================
   BSides Limburg — styles
   Palette: Belgian flag — black, yellow, red.
   ========================================================================== */
:root {
  --black: #0a0a0b;
  --bg: #0a0a0b;
  --surface: #131315;
  --surface-2: #1b1b1e;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --ink: #f5f3ec;
  --muted: #a4a19a;
  --yellow: #fdda24;
  --yellow-ink: #0a0a0b;
  --red: #ef3340;
  --red-soft: rgba(239, 51, 64, 0.14);
  --yellow-soft: rgba(253, 218, 36, 0.12);

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--black); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--yellow); color: var(--black); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.02; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); font-weight: 850; font-variation-settings: "wdth" 82; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 850; font-variation-settings: "wdth" 82; text-transform: uppercase; }
h3 { font-size: 1.35rem; font-weight: 750; letter-spacing: 0; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--yellow); border-radius: 2px; flex: none; }
.eyebrow.red::before { background: var(--red); }

.hl-y { color: var(--yellow); }
.hl-r { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--yellow); --c: var(--yellow-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 2px solid var(--b);
  background: var(--b); color: var(--c);
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .7); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn-red { --b: var(--red); --c: #fff; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .92rem; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
  color: var(--ink); text-decoration: none; font-weight: 600;
  background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 0 2px no-repeat;
  transition: background-size .25s var(--ease);
  padding-bottom: 2px;
}
.link:hover { background-size: 100% 2px; }
.link-arrow::after { content: " →"; }

/* ---------- Tricolour bar ---------- */
.tricolour { display: flex; height: 4px; }
.tricolour span { flex: 1; }
.tricolour span:nth-child(1) { background: #2a2a2e; }
.tricolour span:nth-child(2) { background: var(--yellow); }
.tricolour span:nth-child(3) { background: var(--red); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { height: 44px; width: auto; }
.brand-text { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.brand-text b { color: var(--ink); display: block; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav .nav-link {
  text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem;
  padding: 10px 12px; border-radius: 8px; transition: color .2s, background .2s;
}
.nav .nav-link:hover, .nav .nav-link[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,.05); }
.nav .btn { margin-left: 10px; }
button.nav-link { background: none; border: 0; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }

/* Archive dropdown */
.nav-dd { position: relative; }
.dd-caret { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.nav-dd.open .dd-caret { transform: rotate(180deg); }
.dd-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 210px; z-index: 60;
  display: grid; padding: 8px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.nav-dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1021px) {
  .nav-dd:hover .dd-menu { opacity: 1; visibility: visible; transform: none; }
  .nav-dd:hover .dd-caret { transform: rotate(180deg); }
}
.dd-link {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem;
  transition: background .15s, color .15s;
}
.dd-link:hover, .dd-link[aria-current="page"] { background: rgba(255,255,255,.06); color: var(--yellow); }
.dd-all { color: var(--muted); border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: 4px; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 10px;
  background: transparent; border: 1px solid var(--line-strong); color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .25s var(--ease), background .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    /* the header's backdrop-filter makes it the containing block, so anchor to it */
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--header-h) - 4px); z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: 16px var(--gutter) 32px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    overflow-y: auto;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav .nav-link { font-size: 1.5rem; font-weight: 800; padding: 14px 0; color: var(--ink); border-bottom: 1px solid var(--line); border-radius: 0; font-variation-settings: "wdth" 85; text-transform: uppercase; }
  .nav .nav-link:hover { background: none; color: var(--yellow); }
  button.nav-link { width: 100%; justify-content: space-between; text-align: left; }
  .dd-caret { width: 18px; height: 18px; }
  .dd-menu { position: static; min-width: 0; padding: 0 0 0 16px; background: none; border: 0; box-shadow: none; display: none; opacity: 1; visibility: visible; transform: none; }
  .dd-menu::before { display: none; }
  .nav-dd.open .dd-menu { display: grid; }
  .dd-link { font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0; }
  .dd-all { margin-top: 0; }
  .nav .btn { margin: 24px 0 0; width: 100%; min-height: 56px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 40px; }
.section-head .lead { margin: 0; }
@media (max-width: 820px) { .section-head.split { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  padding: 48px 0 64px;
  isolation: isolate;
}
.hero-arc {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(1100px, 120vw); aspect-ratio: 1; right: -18%; top: 50%;
  transform: translateY(-38%);
}
.hero-arc circle { fill: none; stroke: var(--red); stroke-width: 1.2; stroke-dasharray: 2 6; opacity: .55; }
.hero-arc circle.solid { stroke-dasharray: none; stroke-width: 2.4; opacity: .9; stroke-linecap: round; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; width: 100%; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .row { display: block; }
.hero .lead { margin-bottom: 32px; }
.hero-visual { position: relative; justify-self: center; width: 100%; max-width: 520px; aspect-ratio: 1; display: grid; place-items: center; }
.hero-logo { position: relative; width: 92%; height: auto; aspect-ratio: 631 / 455; }
.hero-ring { position: absolute; inset: -6%; width: 112%; height: 112%; pointer-events: none; }
.hero-ring circle { fill: none; stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 2 7; }
.hero-ring .solid { opacity: .5; stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 2.4s var(--ease) .3s forwards; }

.facts { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 36px; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; width: fit-content; max-width: 100%; }
.facts li { padding: 14px 20px; border-right: 1px solid var(--line); }
.facts li:last-child { border-right: 0; }
.facts .k { display: block; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts .v { font-weight: 750; font-size: 1.08rem; }

.countdown { display: flex; gap: 10px; margin-top: 36px; font-family: var(--font-mono); }
.countdown .unit { min-width: 74px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.countdown .num { display: block; font-size: 1.6rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.2; }
.countdown .lbl { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.countdown-done { font-family: var(--font-mono); color: var(--yellow); margin-top: 36px; }

@media (max-width: 900px) {
  .hero { min-height: auto; padding: 32px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 300px; justify-self: start; }
}
@media (max-width: 560px) {
  .hero-visual { max-width: 210px; margin-bottom: -8px; }
}
@media (max-width: 560px) {
  .facts { width: 100%; }
  .facts li { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--line); }
  .facts li:last-child { border-bottom: 0; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .countdown .unit { min-width: 0; flex: 1; }
}

/* Entrance (once, on load) */
[data-enter] > * { animation: enter .9s var(--ease) both; }
[data-enter] > *:nth-child(2) { animation-delay: .08s; }
[data-enter] > *:nth-child(3) { animation-delay: .16s; }
[data-enter] > *:nth-child(4) { animation-delay: .24s; }
[data-enter] > *:nth-child(5) { animation-delay: .32s; }
[data-enter] > *:nth-child(6) { animation-delay: .40s; }
@keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-logo { animation: logo-in 1.2s var(--ease) .1s both; }
@keyframes logo-in { from { opacity: 0; transform: scale(.94) rotate(-2deg); } to { opacity: 1; transform: none; } }
.hero-arc .solid { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 2.4s var(--ease) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Status strip ---------- */
.status-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.status-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; transition: transform .2s var(--ease), border-color .2s, background .2s;
  min-height: 190px;
}
a.status-card:hover { transform: translateY(-2px); border-color: var(--line-strong); background: var(--surface-2); }
.status-card .k { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.status-card .v { font-size: 1.45rem; font-weight: 800; line-height: 1.15; font-variation-settings: "wdth" 88; }
.status-card .s { color: var(--muted); font-size: .95rem; margin-top: auto; }
.status-card .go { position: absolute; top: 22px; right: 22px; color: var(--muted); transition: transform .2s var(--ease), color .2s; }
a.status-card:hover .go { transform: translate(3px, -3px); color: var(--yellow); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted);
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.live { background: var(--yellow-soft); color: var(--yellow); }
.pill.live::before { animation: pulse 2s infinite; }
.pill.closed { background: var(--red-soft); color: #ff7b85; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
@media (max-width: 1020px) { .status-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .status-grid { grid-template-columns: 1fr; } .status-card { min-height: 0; } }

/* ---------- About block ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-grid p { color: var(--muted); font-size: 1.08rem; }
.about-grid p strong { color: var(--ink); font-weight: 650; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg); padding: 28px 24px; }
.stat .n { font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 850; line-height: 1; font-variation-settings: "wdth" 78; }
.stat .n.y { color: var(--yellow); } .stat .n.r { color: var(--red); }
.stat .l { color: var(--muted); margin-top: 8px; font-size: .95rem; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Panels / embeds ---------- */
.panel { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); }
.embed-light { background: #fff; color: #111; border-radius: var(--radius); padding: clamp(12px, 2vw, 24px); overflow: hidden; }
.embed-light iframe { display: block; width: 100%; border: 0; }

.placeholder {
  display: grid; place-items: center; text-align: center; gap: 14px;
  min-height: 320px; padding: 40px 24px; border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  background:
    radial-gradient(circle at 50% 0%, var(--yellow-soft), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.018) 14px 15px),
    var(--surface);
}
.placeholder h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 850; font-variation-settings: "wdth" 85; text-transform: uppercase; }
.placeholder p { color: var(--muted); max-width: 52ch; margin: 0 auto; }
.placeholder .btn-row { justify-content: center; margin-top: 8px; }

/* ---------- Tickets ---------- */
.tickets-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.included { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.included li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.included li:last-child { border-bottom: 0; }
.included li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 2px; background: var(--yellow); }
.included li:nth-child(3n+2)::before { background: var(--red); }
.included li:nth-child(3n)::before { background: var(--ink); }
.ticket-types { display: grid; gap: 10px; margin-top: 20px; }
.ticket-type { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.ticket-type b { font-weight: 700; }
.ticket-type span { color: var(--muted); font-size: .9rem; text-align: right; }
@media (max-width: 900px) { .tickets-grid { grid-template-columns: 1fr; } }

/* ---------- CFP ---------- */
.cfp {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) * 1.5);
  background: var(--yellow); color: var(--black);
  padding: clamp(32px, 6vw, 72px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end;
}
.cfp h2 { color: var(--black); }
.cfp p { color: rgba(10,10,11,.78); font-size: 1.1rem; max-width: 52ch; }
.cfp .eyebrow { color: rgba(10,10,11,.7); }
.cfp .eyebrow::before { background: var(--red); }
.cfp .btn { --b: var(--black); --c: var(--yellow); }
.cfp .btn-ghost { background: transparent; color: var(--black); border-color: rgba(10,10,11,.35); }
.cfp .btn-ghost:hover { border-color: var(--black); }
.cfp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-weight: 600; }
.cfp-list li { display: flex; gap: 12px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid rgba(10,10,11,.15); }
.cfp-list li::before { content: "→"; font-family: var(--font-mono); color: var(--red); }
.cfp-deco { position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 3px solid var(--red); opacity: .9; pointer-events: none; }
.cfp .pill { background: rgba(10,10,11,.1); color: var(--black); }
@media (max-width: 900px) { .cfp { grid-template-columns: 1fr; } .cfp-deco { width: 200px; height: 200px; right: -70px; top: -70px; } }

/* ---------- Venue ---------- */
.venue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.venue-card h3 { margin-bottom: 8px; }
.address { font-style: normal; font-size: 1.15rem; line-height: 1.5; margin: 12px 0 24px; }
.address b { font-size: 1.6rem; font-weight: 850; font-variation-settings: "wdth" 85; text-transform: uppercase; display: block; margin-bottom: 4px; }
.directions { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.directions li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.directions li:first-child { padding-top: 0; }
.directions li:last-child { border-bottom: 0; padding-bottom: 0; }
.directions .ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--yellow); }
.directions .ico svg { width: 22px; height: 22px; }
.directions b { display: block; }
.directions span { color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .venue-grid { grid-template-columns: 1fr; } }

/* ---------- Sponsors ---------- */
.tier { margin-top: 40px; }
.tier:first-of-type { margin-top: 0; }
.tier-label { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.tier-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.logo-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.logo-grid.lg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.logo-grid.md { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.logo-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.logo-grid.five .logo-tile { padding: 18px 22px; }
@media (max-width: 900px) { .logo-grid.five { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.logo-tile {
  display: grid; place-items: center; aspect-ratio: 16 / 7; padding: 22px 28px;
  border-radius: var(--radius); background: #f5f3ec; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.logo-grid.lg .logo-tile { aspect-ratio: 16 / 6; padding: 28px 48px; }
.logo-tile:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .8); }
.logo-tile { min-width: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.logo-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .3s var(--ease); }
.logo-tile:hover img { transform: scale(1.03); }
@media (max-width: 820px) { .logo-grid, .logo-grid.md { grid-template-columns: repeat(2, minmax(0, 1fr)); } .logo-grid.lg { grid-template-columns: minmax(0, 1fr); } }

.sponsor-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.sponsor-cta h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 850; font-variation-settings: "wdth" 85; text-transform: uppercase; }
.sponsor-cta p { margin: 6px 0 0; color: var(--muted); max-width: 60ch; }

/* ---------- Editions / cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ed-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 280px;
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  text-decoration: none; overflow: hidden; transition: transform .2s var(--ease), border-color .2s;
}
.ed-card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.ed-card .yr { font-size: clamp(4rem, 8vw, 6rem); font-weight: 900; line-height: .85; font-variation-settings: "wdth" 75; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); transition: color .3s; }
.ed-card:hover .yr { color: var(--ink); }
.ed-card.y:hover .yr { color: var(--yellow); -webkit-text-stroke-color: var(--yellow); }
.ed-card.r:hover .yr { color: var(--red); -webkit-text-stroke-color: var(--red); }
.ed-card p { color: var(--muted); margin: 0; }
.ed-card .more { margin-top: auto; font-weight: 700; }
.ed-card .more::after { content: " →"; display: inline-block; transition: transform .2s var(--ease); }
.ed-card:hover .more::after { transform: translateX(4px); }
.ed-card.next { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.ed-card.next .yr { -webkit-text-stroke-color: var(--black); }
.ed-card.next:hover .yr { color: var(--black); }
.ed-card.next p { color: rgba(10,10,11,.75); }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr; } .ed-card { min-height: 0; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-weight: 700; font-size: 1.15rem; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.5rem; color: var(--yellow); transition: transform .25s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--yellow); }
.faq .a { padding: 0 0 24px; color: var(--muted); max-width: 72ch; }
.faq .a p:last-child { margin: 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Schedule tables (archive) ---------- */
.track-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.track h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-family: var(--font-mono); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.track h3::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--yellow); }
.track.r h3::before { background: var(--red); }
.slots { list-style: none; margin: 0; padding: 0; }
.slot { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.slot time { font-family: var(--font-mono); color: var(--muted); font-size: .92rem; padding-top: 2px; }
.slot .t { font-weight: 700; line-height: 1.35; display: block; }
.slot a.t { text-decoration: none; }
.slot a.t:hover { color: var(--yellow); }
.slot .p { color: var(--muted); font-size: .94rem; }
.slot.break .t { font-weight: 500; color: var(--muted); }
@media (max-width: 900px) { .track-grid { grid-template-columns: 1fr; } }

/* ---------- Prose pages ---------- */
.page-hero { padding: clamp(64px, 10vw, 120px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: 20px; }
.page-hero .hero-arc { width: 700px; right: -260px; top: -200px; transform: none; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 10px; }
.prose p, .prose li { color: #cfccc4; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 2px; background: var(--yellow); }
.prose a:not(.btn) { color: var(--yellow); text-underline-offset: 3px; }

/* Team */
.prose ul.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; }
.prose ul.team-grid li.team-card { padding: 18px; margin: 0; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); }
.prose ul.team-grid li.team-card::before { display: none; }
.team-avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--surface-2); border: 2px solid var(--yellow); }
.team-card:nth-child(even) .team-avatar { border-color: var(--red); }
.team-info { flex: 1; min-width: 0; line-height: 1.3; }
.team-info b { display: block; font-weight: 700; }
.team-info span { color: var(--muted); font-size: .92rem; }
.team-card .btn { flex: none; }
@media (max-width: 640px) { .prose ul.team-grid { grid-template-columns: minmax(0, 1fr); } }
.prose-grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 4px; }
.toc a { text-decoration: none; color: var(--muted); padding: 8px 12px; border-left: 2px solid var(--line); font-weight: 600; font-size: .95rem; min-height: 44px; display: flex; align-items: center; }
.toc a:hover { color: var(--ink); border-left-color: var(--yellow); }
@media (max-width: 900px) { .prose-grid { grid-template-columns: 1fr; } .toc { display: none; } }

.callout { border: 1px solid rgba(239, 51, 64, .35); background: var(--red-soft); padding: 20px 24px; border-radius: var(--radius-sm); margin: 28px 0; }
.callout p { margin: 0; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid img { height: 72px; width: auto; margin-bottom: 18px; }
.footer-grid p { color: var(--muted); font-size: .95rem; max-width: 36ch; }
.footer-grid h4 { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.footer-grid ul a { text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; min-height: 36px; }
.footer-grid ul a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; font-family: var(--font-mono); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 48px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-arc .solid, .hero-ring .solid { stroke-dashoffset: 0; }
}
