/* ==========================================================================
   CSChE U of T — site stylesheet
   Dark, large-scale, high-contrast. Sections:
     1. Tokens        6. Home hero        11. Articles
     2. Base          7. Home sections    12. Events
     3. Layout        8. Cards            13. Page components
     4. Components    9. Page hero        14. Motion & utilities
     5. Header/footer 10. Feature rows    15. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --bg: #06070a;
  --bg-alt: #0a0c11;
  --surface: #0f1218;
  --surface-2: #151922;
  --surface-3: #1b202b;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-3: rgba(255, 255, 255, 0.24);
  --text: #f3f5f9;
  --text-2: #b4bac7;
  --text-3: #7c8394;
  --red: #ff2a46;
  --red-deep: #d80621;
  --red-soft: rgba(255, 42, 70, 0.14);
  --red-glow: rgba(255, 42, 70, 0.45);
  --navy: #0b2b5e;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1360px;
  --narrow: 760px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --header-h: 76px;
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --slide-ms: 8000ms;

  color-scheme: dark;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}
main { flex: 1; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul[class], ol[class] { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--red); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.mono { font-family: var(--font-mono); }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 10vw, 9rem); position: relative; }
.section-tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-flush-top { padding-top: clamp(2.5rem, 5vw, 4rem); }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0.75rem 2rem;
  margin-bottom: clamp(2rem, 5vw, 3.75rem);
}
.section-head .kicker { grid-column: 1 / -1; }
.section-head-sm { margin-bottom: 1.5rem; }
.section-title { font-size: clamp(2.25rem, 5.2vw, 4.75rem); line-height: 1; letter-spacing: -0.035em; }
.section-title-sm { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.03em; }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

/* 4. Components ------------------------------------------------------------ */
.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 1.5rem; height: 1px; background: var(--red); }
.kicker:has(.live-dot)::before { display: none; }

.meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.9rem;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-3);
}
.meta-row > * + *:not(.tag)::before { content: "/"; margin-right: 0.9rem; color: var(--line-3); }
.meta-row .tag + *::before { display: none; }

.tag {
  display: inline-flex; align-items: center;
  padding: 0.3rem 0.65rem; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--text-2);
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1;
}
.tag-solid { background: var(--red); border-color: var(--red); color: #fff; }

.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none;
  box-shadow: 0 0 0 0 var(--red-glow);
  animation: pulse 2s infinite;
}

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--text-2); }

.btn {
  --btn-bg: transparent; --btn-fg: var(--text); --btn-border: var(--line-3);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.8rem 1.4rem;
  border-radius: 999px; border: 1px solid var(--btn-border);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 0.95rem; line-height: 1; white-space: nowrap;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { --btn-bg: var(--red); --btn-border: var(--red); --btn-fg: #fff; box-shadow: 0 10px 30px -10px var(--red-glow); }
.btn-primary:hover { --btn-bg: #ff4760; box-shadow: 0 16px 40px -10px var(--red-glow); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { --btn-border: var(--text); background: rgba(255, 255, 255, 0.08); }
.btn-sm { min-height: 40px; padding: 0.6rem 1.1rem; font-size: 0.875rem; }
.btn-lg { min-height: 56px; padding: 1rem 1.75rem; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.95rem; color: var(--text);
  border-bottom: 1px solid var(--line-3); padding-bottom: 0.2rem;
  transition: border-color 0.25s, color 0.25s, gap 0.25s var(--ease);
  white-space: nowrap;
}
.arrow-link:hover { color: var(--red); border-color: var(--red); gap: 0.8rem; }

.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text-2);
  transition: 0.25s var(--ease);
}
.icon-btn:hover { color: #fff; border-color: var(--red); background: var(--red-soft); }
.icon-btn svg, .social-links svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn.is-copied { border-color: var(--red); color: var(--red); }

.status-pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.3rem 0.65rem; border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1;
  background: var(--red-soft); color: #ff8595; border: 1px solid rgba(255, 42, 70, 0.3);
}
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill[data-state="open"] { background: rgba(52, 211, 153, 0.12); color: #6ee7b7; border-color: rgba(52, 211, 153, 0.3); }
.status-pill[data-state="live"] { background: var(--red); color: #fff; border-color: var(--red); }
.status-pill[data-state="past"], .status-pill[data-state="closed"] { background: rgba(255, 255, 255, 0.05); color: var(--text-3); border-color: var(--line-2); }

.social-links { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.social-links a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--text-2); transition: 0.25s var(--ease);
}
.social-links a:hover { color: #fff; border-color: var(--red); background: var(--red-soft); transform: translateY(-2px); }

.empty-state {
  border: 1px dashed var(--line-2); border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 4rem); text-align: center;
}
.empty-state h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 0.75rem; }
.empty-state p { color: var(--text-2); max-width: 46ch; margin-inline: auto; }
.empty-state .btn { margin-top: 1.75rem; }

/* Decorative hexagon line art (echoes the logo) */
.hex-art { position: absolute; color: rgba(255, 255, 255, 0.07); pointer-events: none; z-index: 0; }
.hex-art .hex-dash { stroke-dasharray: 3 9; }
.hex-art .hex-accent { stroke: var(--red); opacity: 0.55; }
.hex-art .hex-core { stroke: var(--red); stroke-width: 1.5; opacity: 0.85; }
.hex-art .hex-nodes { color: var(--red); opacity: 0.8; }

/* 5. Header & footer ------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  height: var(--header-h);
  transition: border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
/* The glass effect lives on a pseudo-element: a backdrop-filter on the header itself
   would become the containing block for the fixed mobile menu and clip it. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(6, 7, 10, 0.78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.site-header.is-scrolled::before, .site-header.is-open::before { opacity: 1; }
.site-header.is-scrolled, .site-header.is-open { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; flex: none; }
.brand-logo { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 0 14px rgba(255, 0, 0, 0.35)); transition: transform 0.5s var(--ease); }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.05); }
.brand-text { display: grid; gap: 0.15rem; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1; letter-spacing: -0.02em; }
.brand-full { font-size: 0.74rem; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.brand-sub { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); white-space: nowrap; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap;
  padding: 0.55rem 0.85rem; border-radius: 999px;
  font-size: 0.925rem; font-weight: 500; color: var(--text-2);
  background: none; border: 0;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link[aria-expanded="true"] { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-link.is-active { color: var(--text); }
.nav-link.is-active::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red); margin-left: 0.15rem;
  box-shadow: 0 0 10px var(--red);
}
.chev { width: 12px; height: 12px; transition: transform 0.25s var(--ease); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }

.nav-sub {
  position: absolute; top: calc(100% + 0.5rem); left: 50%;
  min-width: 250px; padding: 0.5rem;
  background: rgba(15, 18, 24, 0.96);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s 0.2s;
}
.nav-sub::before { content: ""; position: absolute; inset: -0.75rem 0 auto; height: 0.75rem; }
.has-sub:hover .nav-sub, .has-sub:focus-within .nav-sub, .nav-sub-toggle[aria-expanded="true"] + .nav-sub {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s;
}
.nav-sub-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0.9rem; border-radius: 10px;
  font-size: 0.925rem; color: var(--text-2); transition: 0.2s;
}
.nav-sub-link::after { content: "→"; opacity: 0; transform: translateX(-6px); transition: 0.2s var(--ease); color: var(--red); }
.nav-sub-link:hover, .nav-sub-link[aria-current="page"] { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.nav-sub-link:hover::after, .nav-sub-link[aria-current="page"]::after { opacity: 1; transform: none; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04);
  position: relative;
}
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text); transition: 0.3s var(--ease); }
.nav-toggle span:first-child { top: 19px; }
.nav-toggle span:last-child { bottom: 19px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { bottom: 23px; transform: rotate(-45deg); }

.site-footer {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line);
  background: radial-gradient(90% 60% at 50% 120%, rgba(255, 42, 70, 0.16), transparent 70%), var(--bg);
  padding-top: clamp(4rem, 8vw, 6rem);
}
.footer-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: clamp(2.5rem, 6vw, 6rem); }
.footer-statement { margin-top: 1.5rem; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.3; letter-spacing: -0.02em; max-width: 22ch; color: var(--text); }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.footer-heading { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.6rem; list-style: none; padding: 0; }
.footer-col a { color: var(--text-2); font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-col address { font-style: normal; color: var(--text-2); font-size: 0.95rem; line-height: 1.7; }
.footer-col address a { color: var(--text); border-bottom: 1px solid var(--line-3); }
.footer-wordmark {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(4.5rem, 19vw, 17rem); line-height: 0.8; letter-spacing: -0.06em;
  margin-top: clamp(3rem, 7vw, 6rem);
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
  display: flex; align-items: baseline; gap: 0.12em; white-space: nowrap;
  user-select: none;
}
.footer-wordmark span { font-size: 0.32em; letter-spacing: -0.03em; -webkit-text-stroke: 1px rgba(255, 42, 70, 0.6); }
.footer-meta { display: inline-flex; align-items: center; gap: 1.5rem; }
.footer-meta a { color: var(--text-3); border-bottom: 1px solid var(--line-2); transition: color 0.2s, border-color 0.2s; }
.footer-meta a:hover { color: var(--text); border-color: var(--red); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem;
  padding-block: 1.75rem; margin-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: 0.8rem; color: var(--text-3);
}

/* 6. Home hero ------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; /* slides share one cell, so the hero grows to fit the tallest story */
  min-height: max(680px, 100svh);
  background: #000;
}
.hero-top {
  position: absolute; left: 0; right: 0; top: calc(var(--header-h) + 1.25rem); z-index: 3;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin-inline: auto;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-2);
}
.hero-counter { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--text-3); }
.hero-counter span { color: var(--text); }

.hero-slide {
  grid-area: 1 / 1; position: relative;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 6rem) 0 clamp(11rem, 22vh, 14rem);
  opacity: 0; visibility: hidden;
  transition: opacity 1s var(--ease), visibility 0s 1s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--ease), visibility 0s; z-index: 1; }
.hero-static .hero-slide { padding-bottom: clamp(5rem, 12vh, 8rem); }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--surface); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero-slide.is-active .hero-media img { animation: kenburns 16s ease-out both; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 7, 10, 0.7) 0%, rgba(6, 7, 10, 0.1) 26%, rgba(6, 7, 10, 0.35) 55%, rgba(6, 7, 10, 0.92) 82%, var(--bg) 100%),
    linear-gradient(90deg, rgba(6, 7, 10, 0.85) 0%, rgba(6, 7, 10, 0.35) 55%, rgba(6, 7, 10, 0) 100%);
}
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 4px 4px; mix-blend-mode: overlay; opacity: 0.5;
}
.hero-copy { position: relative; }
.hero-copy > * { max-width: 1100px; }
.hero-meta { margin-bottom: 1.5rem; color: var(--text-2); }
.hero-title {
  font-size: clamp(2.2rem, 5vw, 5rem); line-height: 1; letter-spacing: -0.04em; font-weight: 600;
  max-width: 18ch;
}
.hero-title.is-long { font-size: clamp(2rem, 4vw, 4rem); max-width: 22ch; }
.hero-title.is-xlong { font-size: clamp(1.85rem, 3.4vw, 3.4rem); max-width: 26ch; }
.hero-title a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.5s var(--ease); }
.hero-title a:hover { background-size: 100% 2px; }
.hero-dek { margin-top: 1.5rem; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--text-2); max-width: 56ch; line-height: 1.55; }
.hero-slide.is-active .hero-copy > * { animation: rise 0.9s var(--ease) both; }
.hero-slide.is-active .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-slide.is-active .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-slide.is-active .hero-copy > :nth-child(4) { animation-delay: 0.24s; }

.hero-tabs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }
.hero-tabs-inner {
  display: grid; grid-template-columns: repeat(var(--count, 3), minmax(0, 1fr)); gap: clamp(0.75rem, 2.5vw, 2.5rem);
  padding-bottom: clamp(1.5rem, 4vh, 2.75rem);
}
.hero-tab {
  display: grid; gap: 0.7rem; align-content: start; text-align: left;
  background: none; border: 0; padding: 0; color: var(--text-3);
  transition: color 0.3s;
}
.hero-tab:hover { color: var(--text-2); }
.hero-tab-bar { position: relative; height: 2px; background: var(--line-2); overflow: hidden; border-radius: 2px; }
.hero-tab-bar i { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 12px var(--red); }
.hero-tab.is-active .hero-tab-bar i { animation: progress var(--slide-ms) linear both; }
.hero.is-paused .hero-tab.is-active .hero-tab-bar i { animation-play-state: paused; }
.hero-tab-meta { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-tab.is-active .hero-tab-meta { color: var(--red); }
.hero-tab-title {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(0.95rem, 1.2vw, 1.1rem); line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-tab.is-active .hero-tab-title { color: var(--text); }

/* 7. Home sections --------------------------------------------------------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  background: var(--bg-alt); padding-block: 1.1rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee span {
  display: inline-flex; align-items: center; gap: 2.25rem; padding-right: 2.25rem;
  font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -0.01em;
  color: var(--text-2); white-space: nowrap;
}
.marquee span::after {
  content: ""; width: 12px; height: 14px; flex: none;
  background: var(--red); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.intro-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); align-items: end; }
.statement { font-size: clamp(2.25rem, 5vw, 4.75rem); line-height: 1.02; letter-spacing: -0.04em; }
.statement em {
  font-style: normal;
  background: linear-gradient(90deg, #ff2a46, #ff7a59);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.intro-copy .lead + .lead { margin-top: 1rem; }
.intro-copy .lead strong { color: var(--text); font-weight: 600; }
.intro-copy .btn-row { margin-top: 2rem; }

.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(3.5rem, 8vw, 6.5rem);
  border-top: 1px solid var(--line-2);
}
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 0.75rem; padding: 2rem 1.5rem 0 0; }
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.stat dd {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(3rem, 7vw, 6rem); line-height: 0.9; letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.stat dt { font-size: 0.9rem; color: var(--text-3); max-width: 24ch; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.pillar {
  position: relative; display: flex; flex-direction: column; min-height: 520px;
  border-radius: var(--radius); overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.pillar-media { position: absolute; inset: 0; z-index: -1; }
.pillar-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6) brightness(0.75); transition: transform 0.8s var(--ease), filter 0.6s var(--ease); }
.pillar-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 7, 10, 0.1) 0%, rgba(6, 7, 10, 0.55) 45%, rgba(6, 7, 10, 0.96) 100%); }
.pillar-body { margin-top: auto; padding: clamp(1.5rem, 2.5vw, 2.25rem); }
.pillar-index { position: absolute; top: 1.5rem; left: 1.75rem; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.12em; color: var(--text-2); }
.pillar-title { font-size: clamp(1.6rem, 2.4vw, 2.25rem); margin-bottom: 0.75rem; }
.pillar p { color: var(--text-2); margin-bottom: 1.5rem; }
.pillar:hover { border-color: rgba(255, 42, 70, 0.5); transform: translateY(-6px); box-shadow: 0 40px 80px -40px var(--red-glow); }
.pillar:hover .pillar-media img { transform: scale(1.06); filter: saturate(1) brightness(0.85); }
.pillar:hover .arrow-link { color: var(--red); border-color: var(--red); gap: 0.8rem; }

.opp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.opp-card {
  position: relative; display: flex; flex-direction: column; gap: 0.75rem; min-height: 300px;
  padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
  overflow: hidden; transition: 0.4s var(--ease);
}
.opp-card::before {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 80%; aspect-ratio: 1;
  background: radial-gradient(circle, var(--red-soft), transparent 65%); opacity: 0; transition: opacity 0.5s var(--ease);
}
.opp-card:hover { border-color: rgba(255, 42, 70, 0.45); transform: translateY(-4px); }
.opp-card:hover::before { opacity: 1; }
.opp-stat { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--red); }
.opp-title { font-size: clamp(1.75rem, 2.6vw, 2.5rem); margin-top: auto; }
.opp-card p { color: var(--text-2); max-width: 36ch; }
.opp-arrow {
  position: absolute; top: 1.75rem; right: 1.75rem; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line-2); font-size: 1.1rem; transition: 0.4s var(--ease);
}
.opp-card:hover .opp-arrow { background: var(--red); border-color: var(--red); transform: rotate(45deg); }

.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(5rem, 11vw, 9rem);
  background: radial-gradient(70% 120% at 100% 50%, rgba(255, 42, 70, 0.22), transparent 60%), var(--bg-alt);
  border-top: 1px solid var(--line);
}
.cta-band .hex-art { width: min(560px, 60vw); right: -4%; top: 50%; transform: translateY(-50%); }
.cta-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.cta-title { font-size: clamp(2.4rem, 6vw, 5.5rem); line-height: 0.98; letter-spacing: -0.045em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* 8. Cards ----------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.25rem; }
.news-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.25rem; }
.news-grid > .is-large { grid-row: span 2; }
.news-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.news-index > .is-large { grid-column: 1 / -1; }

.news-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.news-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.5s; filter: saturate(0.85); }
.news-card-body { display: flex; flex-direction: column; gap: 0.85rem; padding: clamp(1.25rem, 2.2vw, 1.75rem); flex: 1; }
.news-card-title { font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.15; transition: color 0.3s; }
.news-card-dek { color: var(--text-2); font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .arrow-link { margin-top: auto; align-self: flex-start; }
.news-card:hover { border-color: rgba(255, 42, 70, 0.45); transform: translateY(-4px); box-shadow: 0 30px 60px -35px var(--red-glow); }
.news-card:hover .news-card-media img { transform: scale(1.05); filter: saturate(1); }
.news-card:hover .arrow-link { color: var(--red); border-color: var(--red); gap: 0.8rem; }

.news-card.is-large .news-card-title { font-size: clamp(1.75rem, 3.2vw, 2.75rem); letter-spacing: -0.035em; }
.news-card.is-large .news-card-dek { font-size: 1.05rem; -webkit-line-clamp: 4; }
.news-grid > .is-large .news-card-media { aspect-ratio: auto; flex: 1; min-height: 320px; }
.news-grid > .is-large .news-card-body { flex: none; }
.news-index > .is-large { flex-direction: row; }
.news-index > .is-large .news-card-media { aspect-ratio: auto; flex: 1.35; min-height: 440px; }
.news-index > .is-large .news-card-body { flex: 1; padding: clamp(1.75rem, 4vw, 3.5rem); justify-content: center; }

.media-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 70% 30%, var(--red-soft), transparent 60%), var(--surface-2); }
.media-fallback .hex-art { position: static; width: 70%; color: rgba(255, 255, 255, 0.12); }

.event-list { display: grid; gap: 1rem; }
.event-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center;
  padding: clamp(1.25rem, 2.5vw, 2rem); border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  transition: 0.4s var(--ease);
}
.event-card:hover { border-color: rgba(255, 42, 70, 0.45); transform: translateX(6px); }
.event-date {
  display: grid; justify-items: center; align-content: center; width: clamp(88px, 10vw, 120px); aspect-ratio: 1;
  border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line-2);
  font-family: var(--font-mono); text-transform: uppercase;
}
.event-month { font-size: 0.72rem; letter-spacing: 0.16em; color: var(--red); }
.event-day { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.event-dow { font-size: 0.68rem; letter-spacing: 0.14em; color: var(--text-3); }
.event-card-body { display: grid; gap: 0.6rem; justify-items: start; }
.event-card-title { font-size: clamp(1.35rem, 2.4vw, 2rem); }
.event-card-dek { color: var(--text-2); max-width: 70ch; }
.event-card:hover .arrow-link { color: var(--red); border-color: var(--red); gap: 0.8rem; }
.event-list.is-past .event-card { opacity: 0.7; }
.event-list.is-past .event-card:hover { opacity: 1; }
.past-events { margin-top: clamp(3rem, 6vw, 5rem); }

/* 9. Page hero ------------------------------------------------------------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(4rem, 10vw, 8rem)) 0 clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(255, 42, 70, 0.16), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(11, 43, 94, 0.35), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 90% at 70% 20%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 70% 20%, #000 10%, transparent 75%);
}
.page-hero .hex-art { width: min(620px, 70vw); right: -6%; top: 52%; transform: translateY(-50%); }
.page-hero.has-media .hex-art { display: none; }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.5); opacity: 0.45; }
.page-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 7, 10, 0.75) 0%, rgba(6, 7, 10, 0.55) 40%, var(--bg) 100%), linear-gradient(90deg, rgba(6, 7, 10, 0.8), transparent 70%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-title { font-size: clamp(3rem, 9vw, 8.5rem); line-height: 0.92; letter-spacing: -0.05em; max-width: 14ch; }
.page-lead { margin-top: 1.75rem; max-width: 58ch; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--text-2); }
.not-found { min-height: 80vh; display: flex; align-items: center; }

/* 10. Feature rows (program pages) --------------------------------------- */
.feature-list { display: grid; gap: clamp(3rem, 7vw, 6.5rem); }
.feature-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.feature-row:nth-child(even) .feature-media { order: 2; }
.feature-media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--surface); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature-row:hover .feature-media img { transform: scale(1.03); }
.feature-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04); border-radius: inherit; pointer-events: none; }
.feature-index { display: block; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.14em; color: var(--red); margin-bottom: 1.25rem; }
.feature-title { font-size: clamp(2rem, 3.8vw, 3.25rem); letter-spacing: -0.035em; margin-bottom: 1.25rem; }
.feature-copy p { color: var(--text-2); font-size: 1.05rem; }
.feature-copy p + p { margin-top: 1rem; }
.feature-note { padding: 1rem 1.25rem; border-left: 2px solid var(--red); background: rgba(255, 255, 255, 0.025); border-radius: 0 10px 10px 0; font-size: 0.975rem !important; }
.feature-note strong { color: var(--text); }
.feature-copy .arrow-link { margin-top: 1.75rem; }

.framed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.framed img { width: 100%; }

/* 11. Articles ------------------------------------------------------------- */
.read-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 1100; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 10px var(--red); }

.article-hero, .event-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(88vh, 900px); display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 4rem) 0 clamp(3rem, 7vw, 5rem);
  background: radial-gradient(60% 80% at 85% 0%, rgba(255, 42, 70, 0.16), transparent 60%), var(--bg);
}
.article-hero:not(.has-media), .event-hero:not(.has-media) { min-height: 0; padding-top: calc(var(--header-h) + clamp(4rem, 10vw, 8rem)); }
.article-hero .hex-art, .event-hero .hex-art { width: min(620px, 70vw); right: -6%; top: 50%; transform: translateY(-50%); }
.event-hero.has-media .hex-art { display: none; }
.article-hero-media, .event-hero-media { position: absolute; inset: 0; z-index: -1; }
.article-hero-media img, .event-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.article-hero-media::after, .event-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 7, 10, 0.65) 0%, rgba(6, 7, 10, 0.15) 30%, rgba(6, 7, 10, 0.7) 65%, var(--bg) 100%), linear-gradient(90deg, rgba(6, 7, 10, 0.75), transparent 70%);
}
.article-hero-inner, .event-hero-inner { position: relative; z-index: 1; }
.back-link { display: inline-flex; gap: 0.5rem; margin-bottom: 2rem; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); transition: color 0.2s, gap 0.2s var(--ease); }
.back-link:hover { color: var(--text); gap: 0.8rem; }
.article-title, .event-title { font-size: clamp(2.4rem, 6vw, 5.75rem); line-height: 0.98; letter-spacing: -0.045em; max-width: 20ch; }
.article-dek, .event-dek { margin-top: 1.5rem; max-width: 62ch; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--text-2); }
.article-hero .meta-row, .event-hero .meta-row { margin-bottom: 1.5rem; }

.article-layout { display: grid; grid-template-columns: 220px minmax(0, var(--narrow)); justify-content: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem); }
.article-aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; display: grid; gap: 2rem; }
.article-facts { display: grid; gap: 1.25rem; }
.article-facts dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.25rem; }
.article-facts dd { color: var(--text-2); font-size: 0.925rem; }
.article-facts a { border-bottom: 1px solid var(--line-3); }
.article-facts a:hover { color: var(--text); border-color: var(--red); }
.share { display: flex; align-items: center; gap: 0.5rem; }
.share-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-right: 0.35rem; }

.prose { font-size: clamp(1.05rem, 1.25vw, 1.15rem); line-height: 1.8; color: #d9dde6; }
.prose > * + * { margin-top: 1.4em; }
.prose h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.12; letter-spacing: -0.03em; color: var(--text); margin-top: 2.4em; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.prose h2::before { content: ""; display: block; width: 2.5rem; height: 2px; background: var(--red); margin-bottom: 1.25rem; }
.prose h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); color: var(--text); margin-top: 2em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 0.2em; text-decoration-thickness: 1px; transition: text-decoration-thickness 0.2s; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--red); }
.prose hr { border: 0; height: 1px; background: var(--line-2); margin-block: 3em; }
.prose figure { margin-block: 2.5em; }
.prose figure img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.prose figcaption { margin-top: 0.85rem; font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.6; color: var(--text-3); padding-left: 1rem; border-left: 1px solid var(--red); }
.prose blockquote {
  position: relative; margin-block: 2.5em; padding: 0.25rem 0 0.25rem clamp(1.25rem, 3vw, 2rem);
  border-left: 2px solid var(--red);
  font-family: var(--font-display); font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.35; letter-spacing: -0.02em; color: var(--text);
}
.prose blockquote p + p { margin-top: 1rem; }
.prose blockquote cite { display: block; font-family: var(--font-mono); font-style: normal; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.prose blockquote cite::before { content: "— "; color: var(--red); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 0.75rem; border-bottom: 1px solid var(--line); }
.prose code { font-family: var(--font-mono); font-size: 0.88em; background: var(--surface-2); padding: 0.15em 0.4em; border-radius: 6px; }
.article-source { margin-top: 3.5rem !important; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--text-3); }

.winners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.winner-group { padding: 1.5rem 1.75rem; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.winner-group:first-child { border-color: rgba(255, 42, 70, 0.45); background: linear-gradient(160deg, rgba(255, 42, 70, 0.14), var(--surface)); }
.winner-place { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.winner-names { margin-top: 0.75rem !important; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.25; color: var(--text); letter-spacing: -0.02em; }

/* 12. Events --------------------------------------------------------------- */
.event-facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 2.25rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: rgba(6, 7, 10, 0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); width: fit-content; max-width: 100%; }
.event-facts .fact { padding: 1rem 1.5rem; }
.event-facts .fact + .fact { border-left: 1px solid var(--line-2); }
.event-facts dt { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.3rem; }
.event-facts dd { font-weight: 500; }
.event-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 700px); gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem); }
.event-layout.no-form { grid-template-columns: minmax(0, var(--narrow)); justify-content: center; }
.event-body:empty { display: none; }
.register-card {
  position: sticky; top: calc(var(--header-h) + 1.5rem);
  border-radius: var(--radius); border: 1px solid var(--line-2); overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 40px 100px -50px var(--red-glow);
}
.register-head { padding: clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px solid var(--line); }
.register-head .kicker { margin-bottom: 0.5rem; }
.register-head h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.register-note { margin-top: 0.75rem; color: var(--text-2); font-size: 0.95rem; }
.form-embed { background: #fff; }
.form-embed iframe { width: 100%; border: 0; max-height: 78vh; min-height: 520px; }
.register-closed { padding: 2rem clamp(1.5rem, 3vw, 2.25rem); color: var(--text-2); }
.register-closed strong { color: var(--text); }
.small-link { display: block; padding: 1rem clamp(1.5rem, 3vw, 2.25rem); font-size: 0.875rem; color: var(--text-3); border-top: 1px solid var(--line); transition: color 0.2s; }
.small-link:hover { color: var(--text); }

/* 13. Page components ------------------------------------------------------ */
.jump-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.jump-nav a { padding: 0.6rem 1.1rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.9rem; color: var(--text-2); transition: 0.25s var(--ease); }
.jump-nav a:hover { color: var(--text); border-color: var(--red); background: var(--red-soft); }

.callout { position: relative; padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--radius); border: 1px solid rgba(255, 42, 70, 0.35); background: linear-gradient(135deg, rgba(255, 42, 70, 0.12), transparent 60%), var(--surface); }
.callout-title { font-size: clamp(1.75rem, 3.5vw, 3rem); margin-bottom: 1rem; }
.callout p { color: var(--text-2); max-width: 70ch; margin-bottom: 1.5rem; }

.info-section { margin-top: clamp(3.5rem, 7vw, 6rem); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1rem; }
.info-card { display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.5rem, 2.5vw, 2rem); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: 0.35s var(--ease); }
.info-card:hover { border-color: var(--line-3); transform: translateY(-3px); }
.info-card h3 { font-size: 1.4rem; }
.info-card ul { display: grid; gap: 0.45rem; padding-left: 1.1rem; color: var(--text-2); font-size: 0.975rem; }
.info-card li::marker { color: var(--red); }
.info-card strong { color: var(--text); font-weight: 600; }
.info-card ul a { color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 0.2em; }
.info-card .arrow-link { margin-top: auto; align-self: flex-start; }

.tip-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.tip { padding: 1.5rem 1.75rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); color: var(--text-2); }
.tip .kicker { margin-bottom: 0.5rem; }
.tip a { color: var(--text); border-bottom: 1px solid var(--red); }

.accordion-list { display: grid; gap: 0.75rem; }
.accordion { border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); overflow: hidden; transition: border-color 0.3s; }
.accordion[open] { border-color: var(--line-3); }
.accordion summary {
  display: flex; align-items: center; gap: 1rem; cursor: pointer; list-style: none;
  padding: 1.35rem clamp(1.25rem, 3vw, 1.75rem);
  font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em;
  transition: background 0.2s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { background: rgba(255, 255, 255, 0.03); }
.accordion-count { margin-left: auto; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.accordion-icon { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; transition: 0.3s var(--ease); }
.accordion-icon::before, .accordion-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.3s var(--ease); }
.accordion-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion[open] .accordion-icon { background: var(--red); border-color: var(--red); }
.accordion[open] .accordion-icon::after { transform: translate(-50%, -50%) rotate(0); }
.accordion .table-wrap { border-top: 1px solid var(--line); border-radius: 0; border-inline: 0; border-bottom: 0; }

.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.table-wrap-lg { max-height: 70vh; overflow-y: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.data-table th {
  position: sticky; top: 0; z-index: 1; text-align: left; white-space: nowrap;
  padding: 0.9rem 1.25rem; background: var(--surface-2);
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3);
  border-bottom: 1px solid var(--line-2);
}
.data-table td { padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--line); color: var(--text-2); vertical-align: top; }
.data-table td:first-child { color: var(--text); font-weight: 500; }
.data-table td:nth-child(3) { font-family: var(--font-mono); font-size: 0.875rem; white-space: nowrap; color: #ff8595; }
.data-table tbody tr { transition: background 0.15s; }
.data-table tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table.is-sortable td:nth-child(3) { font-family: inherit; font-size: inherit; color: var(--text-2); white-space: normal; }
.data-table.is-sortable td:last-child { font-family: var(--font-mono); color: #ff8595; }
.data-table th button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem; }
.data-table th button::after { content: "↕"; opacity: 0.35; }
.data-table th[aria-sort="ascending"] button::after { content: "↑"; opacity: 1; color: var(--red); }
.data-table th[aria-sort="descending"] button::after { content: "↓"; opacity: 1; color: var(--red); }
.data-table th button:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 2px; }

.search-bar { position: relative; display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; padding: 0 1.25rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); transition: border-color 0.2s, box-shadow 0.2s; }
.search-bar:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.search-bar svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--text-3); stroke-width: 1.6; stroke-linecap: round; }
.search-bar input { flex: 1; min-width: 0; height: 60px; background: none; border: 0; outline: none; font-size: 1.05rem; }
.search-bar input::placeholder { color: var(--text-3); }
.search-count { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; color: var(--text-3); white-space: nowrap; }
.fine-print { margin-top: 1rem; font-size: 0.85rem; color: var(--text-3); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 1.25rem; }
.member { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: 0.4s var(--ease); }
.member-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(0.9); transition: filter 0.6s var(--ease), transform 0.8s var(--ease); }
.member-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 7, 10, 0.6)); }
.member-body { padding: 1.1rem 1.25rem 1.35rem; }
.member-name { font-size: 1.2rem; letter-spacing: -0.02em; }
.member-role { margin-top: 0.4rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); line-height: 1.5; }
.member-program { margin-top: 0.3rem; font-size: 0.875rem; color: var(--text-3); }
.member:hover { border-color: rgba(255, 42, 70, 0.45); transform: translateY(-4px); }
.member:hover .member-photo img { filter: none; transform: scale(1.04); }

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.contact-title { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.contact-card > p:not(.kicker) { color: var(--text-2); }
.contact-card .kicker { margin-bottom: 0; }
.contact-email { font-family: var(--font-mono); font-size: clamp(1rem, 1.8vw, 1.25rem); color: var(--text); padding: 0.6rem 0; border-bottom: 1px solid var(--red); margin-bottom: 0.5rem; word-break: break-all; }
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-top: clamp(3rem, 7vw, 6rem); }
.visit-copy p:not(.kicker) { color: var(--text-2); margin-top: 1rem; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(0.92) hue-rotate(180deg) saturate(0.6) contrast(0.9); }

/* 14. Motion & utilities -------------------------------------------------- */
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.02); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--red-glow); } 70% { box-shadow: 0 0 0 10px rgba(255, 42, 70, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 42, 70, 0); } }

.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
  .hero-tab.is-active .hero-tab-bar i { transform: scaleX(1); }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* 15. Responsive ----------------------------------------------------------- */
@media (max-width: 1180px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, var(--narrow)); }
  .article-aside { position: static; grid-template-columns: 1fr auto; align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 1.75rem; }
  .article-facts { grid-template-columns: repeat(3, auto); justify-content: start; gap: 1.5rem 2.5rem; }
  .event-layout { grid-template-columns: minmax(0, 1fr); }
  .event-layout .event-body { max-width: var(--narrow); }
  .register-card { position: static; }
}

/* Compact (hamburger) menu below 1180px, where the full menu no longer fits beside the name. */
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 999;
    display: flex; flex-direction: column; align-items: stretch; gap: 2rem;
    padding: 1.5rem var(--gutter) 2.5rem; overflow-y: auto;
    background: rgba(6, 7, 10, 0.97);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s 0.3s;
  }
  .site-header.is-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link {
    width: 100%; justify-content: space-between; padding: 1.1rem 0; border-radius: 0;
    font-family: var(--font-display); font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 500; letter-spacing: -0.02em; color: var(--text);
  }
  .nav-link:hover, .nav-item:hover > .nav-link, .nav-link[aria-expanded="true"] { background: none; }
  .nav-link.is-active::after { margin-left: auto; margin-right: 0.25rem; }
  .nav-sub-toggle.is-active::after { display: none; }
  .chev { width: 20px; height: 20px; }
  .nav-sub, .has-sub:hover .nav-sub, .has-sub:focus-within .nav-sub {
    position: static; transform: none; min-width: 0; padding: 0 0 1rem; margin: 0;
    background: none; border: 0; box-shadow: none; backdrop-filter: none;
    opacity: 1; visibility: visible; display: none;
  }
  .nav-sub::before { display: none; }
  .nav-sub-toggle[aria-expanded="true"] + .nav-sub { display: grid; transform: none; }
  .nav-sub-link { padding: 0.75rem 1rem; font-size: 1.05rem; }
  .nav-cta { align-self: flex-start; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }

  .intro-grid, .split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 2rem; }
  .pillars, .opp-grid, .card-grid { grid-template-columns: 1fr; }
  .pillar { min-height: 420px; }
  .opp-card { min-height: 240px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-grid > .is-large { grid-column: 1 / -1; grid-row: auto; }
  .news-grid > .is-large .news-card-media { aspect-ratio: 16 / 9; min-height: 0; }
  .news-index { grid-template-columns: 1fr 1fr; }
  .news-index > .is-large { flex-direction: column; }
  .news-index > .is-large .news-card-media { aspect-ratio: 16 / 9; min-height: 0; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) .feature-media { order: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .visit { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .arrow-link { justify-self: start; }
  .hero-top { top: calc(var(--header-h) + 0.75rem); }
  .hero-top { display: none; }
  .hero-slide { padding-top: calc(var(--header-h) + 3.5rem); }
  .header-inner { gap: 0.75rem; }
  .brand { gap: 0.6rem; }
  .brand-logo { width: 38px; height: 38px; }
  .brand-name { font-size: 1.05rem; }
  .brand-full { font-size: 0.66rem; }
  .brand-sub { font-size: 0.54rem; letter-spacing: 0.12em; }
  .nav-toggle { width: 44px; height: 44px; flex: none; }
  .nav-toggle span { left: 12px; right: 12px; }
  .nav-toggle span:first-child { top: 17px; }
  .nav-toggle span:last-child { bottom: 17px; }
  .nav-toggle[aria-expanded="true"] span:first-child { top: 21px; }
  .nav-toggle[aria-expanded="true"] span:last-child { bottom: 21px; }
  .hero-slide { padding-bottom: 8.5rem; }
  .hero-dek { -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .hero .btn-row .btn-ghost { display: none; }
  .hero-tab-title { display: none; }
  .hero-tab-meta { font-size: 0.65rem; }
  .hero-tab-cat { display: none; }
  .news-grid, .news-index, .contact-grid, .tip-row, .winners { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; }
  .event-date { width: auto; aspect-ratio: auto; grid-auto-flow: column; justify-content: start; gap: 0.75rem; padding: 0.6rem 0.9rem; align-items: baseline; }
  .event-day { font-size: 1.5rem; }
  .event-facts { flex-direction: column; width: 100%; }
  .event-facts .fact + .fact { border-left: 0; border-top: 1px solid var(--line-2); }
  .article-aside { grid-template-columns: 1fr; }
  .article-facts { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .accordion-count { display: none; }
  .accordion-icon { margin-left: auto; }
  .search-count { display: none; }
  .stat dd { font-size: 3rem; }
}

@media (max-width: 359px) {
  .brand-full { display: none; }
}
