/* ==========================================================================
   MSAR design system
   Navy (#1E3A66) identity · warm paper neutrals · one amber signal colour.
   Motifs: plotted underlines, coordinate dot-grids, bar-chart impact.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-950: #0a1630;
  --navy-900: #10234a;
  --navy-800: #172e57;
  --navy: #1e3a66;          /* brand primary */
  --navy-600: #2a4c80;
  --navy-500: #4669a0;
  --navy-300: #9db1d3;
  --navy-200: #c9d5ea;
  --navy-100: #e4eaf4;
  --navy-50: #f2f5fa;

  --paper: #f6f3ec;         /* warm page background */
  --paper-2: #ede8dc;
  --white: #ffffff;

  --ink: #121e35;
  --ink-2: #3f4c64;
  --ink-3: #5d6880;
  --line: rgba(18, 30, 53, 0.12);
  --line-strong: rgba(18, 30, 53, 0.22);

  --amber: #f2b33d;         /* signal accent */
  --amber-600: #d8941c;
  --amber-100: #fcefd1;
  --amber-700: #8f5a00;   /* amber for small text on light backgrounds (AA) */
  --sky: #86b6e8;
  --green: #2e8b57;
  --red: #c2413b;

  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-display: clamp(2.75rem, 1.6rem + 5.2vw, 6rem);
  --fs-h1: clamp(2.35rem, 1.6rem + 3.4vw, 4.5rem);
  --fs-h2: clamp(1.95rem, 1.4rem + 2.3vw, 3.4rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  --fs-lede: clamp(1.06rem, 1rem + 0.35vw, 1.3rem);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 136px);

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(10, 22, 48, 0.06), 0 2px 8px rgba(10, 22, 48, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(10, 22, 48, 0.22);
  --shadow-lg: 0 30px 60px -24px rgba(10, 22, 48, 0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --header-h: 76px;
  color-scheme: light;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: -0.025em; color: var(--navy-900); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--amber); color: var(--navy-950); }
[hidden] { display: none !important; }

.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; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--amber); color: var(--navy-950); padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; animation-timing-function: var(--ease); }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.container--wide { max-width: calc(1440px + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--white { background: var(--white); }
.section--paper { background: var(--paper); }
.section--paper-2 { background: var(--paper-2); }
.section--tint { background: var(--navy-50); }
.section--navy { background: var(--navy-900); color: var(--navy-100); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--rounded { margin-inline: clamp(8px, 1.4vw, 20px); border-radius: var(--r-xl); }

.grid { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.stack > * + * { margin-top: var(--stack, 1rem); }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 1rem; }
.mt-m { margin-top: 2rem; }
.mt-l { margin-top: 3.5rem; }

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ---------- 4. Typography ---------- */
.display { font-size: var(--fs-display); line-height: 0.98; letter-spacing: -0.035em; font-weight: 750; }
.h1 { font-size: var(--fs-h1); letter-spacing: -0.032em; }
.h2 { font-size: var(--fs-h2); letter-spacing: -0.03em; }
.h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.15; }
.h4 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.25; }
.lede { font-size: var(--fs-lede); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.section--navy .lede, .on-dark .lede { color: var(--navy-200); }
.muted { color: var(--ink-3); }
.small { font-size: 0.9rem; }
em.serif, .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h1 em, h2 em, .display em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--amber); border-radius: 2px; }
.eyebrow--plain::before { display: none; }
.section--navy .eyebrow, .on-dark .eyebrow, .panel-navy .eyebrow, .page-hero .eyebrow, .event-hero .eyebrow { color: var(--amber); }

/* Plotted underline: an amber curve drawn beneath key words */
.mark { position: relative; white-space: nowrap; display: inline-block; }
.mark svg { position: absolute; left: -2%; bottom: -0.16em; width: 104%; height: 0.38em; overflow: visible; pointer-events: none; }
.mark svg path { fill: none; stroke: var(--amber); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 0; }
.js .mark svg path { stroke-dashoffset: 320; transition: stroke-dashoffset 1.1s var(--ease) 0.35s; }
.js .is-in .mark svg path, .js .mark.is-in svg path { stroke-dashoffset: 0; }

.prose { font-size: 1.08rem; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { color: var(--navy-900); margin-top: 1.8em; }
.prose h2 { font-size: 1.7rem; }
.prose h3 { font-size: 1.3rem; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose ul li::marker { color: var(--amber-600); }
.prose a { color: var(--navy); font-weight: 600; text-decoration-color: var(--amber); text-decoration-thickness: 2px; }
.prose a:hover { text-decoration-color: var(--navy); }

/* ---------- 5. Buttons & links ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: var(--white); --btn-bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 650; font-size: 0.98rem; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, box-shadow 0.3s var(--ease), border-color 0.25s;
  isolation: isolate; overflow: hidden;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,0.14); transform: translateX(-101%); transition: transform 0.5s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:hover::after { transform: translateX(0); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--amber { --btn-bg: var(--amber); --btn-fg: var(--navy-950); }
.btn--amber::after { background: rgba(255,255,255,0.3); }
.btn--white { --btn-bg: var(--white); --btn-fg: var(--navy-900); }
.btn--white::after { background: var(--navy-50); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--line-strong); }
.btn--outline:hover { --btn-bd: var(--navy); }
.btn--outline::after { background: var(--navy-50); }
.btn--ghost { --btn-bg: rgba(255,255,255,0.06); --btn-fg: var(--white); --btn-bd: rgba(255,255,255,0.35); backdrop-filter: blur(6px); }
.btn--ghost:hover { --btn-bd: var(--white); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--navy);
  text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.4s var(--ease); padding-bottom: 2px;
}
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.on-dark .link-arrow, .section--navy .link-arrow { color: var(--amber); }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- 6. Announcement bar ---------- */
.announce { position: relative; z-index: 60; background: var(--navy-950); color: var(--navy-100); font-size: 0.88rem; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; padding-block: 8px; text-align: center; }
.announce a { color: var(--white); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.announce a:hover span:last-child { text-decoration: underline; }
.announce .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(242,179,61,0.6); animation: pulse 2.2s infinite; flex: none; }
.announce .announce-tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242,179,61,0.6); } 70% { box-shadow: 0 0 0 10px rgba(242,179,61,0); } 100% { box-shadow: 0 0 0 0 rgba(242,179,61,0); } }
.announce a > span:last-of-type { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announce .container { height: 42px; padding-block: 0; }
.announce a { max-width: 100%; min-width: 0; }
@media (max-width: 640px) { .announce .announce-tag { display: none; } .announce { font-size: 0.82rem; } }

/* ---------- 7. Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(246, 243, 236, 0.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: background-color 0.35s, border-color 0.35s, transform 0.4s var(--ease), box-shadow 0.35s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10,22,48,0.35); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }

/* Transparent header over the home hero */
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--white); }
.has-hero .site-header.is-scrolled { background: rgba(246, 243, 236, 0.9); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); color: var(--ink); }
.has-hero.has-announce .site-header { top: 42px; }
.has-hero.has-announce .site-header.is-scrolled { top: 0; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,0.75); background: var(--white); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.03em; color: var(--navy-900); }
.brand-sub { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin-top: 4px; }
.has-hero .site-header:not(.is-scrolled) .brand-name { color: var(--white); }
.has-hero .site-header:not(.is-scrolled) .brand-sub { color: rgba(255,255,255,0.75); }

.nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 13px; border-radius: 999px;
  font-size: 0.95rem; font-weight: 550; text-decoration: none; color: inherit; background: none; border: 0;
  transition: background-color 0.2s;
}
.nav-link:hover, .nav-item:focus-within > .nav-link { background: rgba(30, 58, 102, 0.08); }
.has-hero .site-header:not(.is-scrolled) .nav-link:hover { background: rgba(255,255,255,0.12); }
.nav-link[aria-current="page"], .nav-link.is-current { position: relative; }
.nav-link[aria-current="page"]::after, .nav-link.is-current::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--amber); border-radius: 2px; }
.nav-link .chev { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.nav-item[data-open="true"] .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 300px; padding: 10px;
  background: var(--white); color: var(--ink); border-radius: var(--r-md); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity 0.22s, transform 0.3s var(--ease), visibility 0.22s;
}
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-item[data-open="true"] .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) { .nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); } }
.dropdown a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--navy-50); }
.dropdown strong { display: block; font-weight: 650; color: var(--navy-900); font-size: 0.97rem; }
.dropdown span { display: block; font-size: 0.85rem; color: var(--ink-3); margin-top: 2px; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: transparent;
  align-items: center; justify-content: center; color: inherit;
}
.has-hero .site-header:not(.is-scrolled) .menu-toggle { border-color: rgba(255,255,255,0.45); }
.menu-toggle .bars { position: relative; width: 20px; height: 12px; }
.menu-toggle .bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.35s var(--ease), top 0.35s var(--ease), opacity 0.2s; }
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 10px; }
.menu-open .menu-toggle .bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars span:nth-child(2) { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  .nav, .header-cta .btn--desktop { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 45; background: var(--navy-950); color: var(--white);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px; overflow-y: auto;
  clip-path: circle(0% at calc(100% - 44px) 38px); visibility: hidden;
  transition: clip-path 0.6s var(--ease-in-out), visibility 0s linear 0.6s;
}
.drawer::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(157,177,211,0.18) 1px, transparent 1.2px); background-size: 26px 26px; pointer-events: none; }
.menu-open .drawer { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; transition: clip-path 0.7s var(--ease-in-out), visibility 0s; }
.menu-open .site-header { color: var(--white) !important; background: transparent !important; backdrop-filter: none !important; border-color: transparent !important; box-shadow: none !important; }
.menu-open .site-header .brand-name { color: var(--white); }
.menu-open .site-header .brand-sub { color: rgba(255,255,255,0.7); }
.menu-open .site-header .menu-toggle { border-color: rgba(255,255,255,0.45); }
.menu-open { overflow: hidden; }
.drawer-inner { position: relative; max-width: 640px; margin-inline: auto; }
.drawer-list { list-style: none; }
.drawer-list > li { border-bottom: 1px solid rgba(255,255,255,0.1); opacity: 0; transform: translateY(16px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.menu-open .drawer-list > li { opacity: 1; transform: none; }
.menu-open .drawer-list > li:nth-child(1) { transition-delay: 0.18s; }
.menu-open .drawer-list > li:nth-child(2) { transition-delay: 0.22s; }
.menu-open .drawer-list > li:nth-child(3) { transition-delay: 0.26s; }
.menu-open .drawer-list > li:nth-child(4) { transition-delay: 0.30s; }
.menu-open .drawer-list > li:nth-child(5) { transition-delay: 0.34s; }
.menu-open .drawer-list > li:nth-child(6) { transition-delay: 0.38s; }
.menu-open .drawer-list > li:nth-child(7) { transition-delay: 0.42s; }
.drawer-list a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-family: var(--font-display); font-size: clamp(1.6rem, 6vw, 2.2rem); font-weight: 650; letter-spacing: -0.02em; text-decoration: none; color: var(--white); }
.drawer-list a .icon { color: var(--amber); }
.drawer-sub { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 16px; }
.drawer-sub a { font-family: var(--font-body); font-size: 0.95rem; font-weight: 550; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.07); color: var(--navy-100); }
.drawer-foot { margin-top: 32px; display: grid; gap: 16px; }
.drawer-foot p { color: var(--navy-300); font-size: 0.9rem; }

/* ---------- 8. Home hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 980px); display: flex; align-items: flex-end;
  color: var(--white); background: var(--navy-950); overflow: hidden; isolation: isolate;
  padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(150px, 16vw, 210px);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform: scale(1.08); animation: heroZoom 2.4s var(--ease) forwards; will-change: transform; }
@keyframes heroZoom { to { transform: scale(1.0); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,22,48,0.92) 0%, rgba(10,22,48,0.72) 38%, rgba(10,22,48,0.18) 72%, rgba(10,22,48,0.08) 100%),
    linear-gradient(0deg, rgba(10,22,48,0.85) 0%, rgba(10,22,48,0) 45%),
    linear-gradient(180deg, rgba(10,22,48,0.55) 0%, rgba(10,22,48,0) 22%);
}
.hero::after { /* coordinate grid */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(90deg, #000 0%, transparent 55%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
}
.hero-content { max-width: 780px; }
.hero .eyebrow { color: var(--amber); }
.hero h1 { color: var(--white); }
.hero-title { display: block; }
.hero-title .eyebrow { display: inline-flex; font-weight: 500; letter-spacing: 0.08em; line-height: 1.5; }
.hero-title .display { display: block; margin-top: 22px; color: var(--white); }
.hero h1 em { color: var(--amber); }
.hero .lede { color: rgba(255,255,255,0.86); margin-top: 24px; max-width: 58ch; }
.hero .btn-row { margin-top: 34px; }
.hero-meta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.hero-word { display: inline-block; }
@media (max-width: 760px) {
  .hero { padding-top: calc(var(--header-h) + 64px); }
  .hero::before { background: linear-gradient(0deg, rgba(10,22,48,0.95) 0%, rgba(10,22,48,0.78) 50%, rgba(10,22,48,0.5) 100%); }
  .hero-media img { object-position: 62% 30% !important; }
}

/* Entrance choreography */
.js .hero [data-enter] { opacity: 0; transform: translateY(26px); animation: enter 1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 1ms + 200ms); }
@keyframes enter { to { opacity: 1; transform: none; } }

/* Dock: two panels overlapping the hero edge */
.hero-dock { position: relative; z-index: 3; margin-top: clamp(-130px, -11vw, -96px); }
.dock { display: grid; grid-template-columns: 1.25fr 1fr; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.dock-panel { padding: clamp(24px, 3vw, 36px); display: flex; gap: 22px; align-items: center; }
.dock-event { background: var(--amber); color: var(--navy-950); }
.dock-event .dock-thumb { width: 96px; flex: none; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); transform: rotate(-3deg); transition: transform 0.4s var(--ease); background: var(--white); }
.dock-event:hover .dock-thumb { transform: rotate(0deg) scale(1.03); }
.dock-event .dock-thumb img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.dock-event .dock-thumb--square img { aspect-ratio: 1; }
.dock-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.dock-event h2 { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem); color: var(--navy-950); margin-top: 6px; line-height: 1.12; }
.dock-event .dock-when { margin-top: 8px; font-weight: 600; font-size: 0.95rem; }
.dock-event .btn-row { margin-top: 14px; }
.dock-join { background: var(--white); flex-direction: column; align-items: flex-start; justify-content: center; }
.dock-join h2 { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem); line-height: 1.12; }
.dock-join p { color: var(--ink-2); font-size: 0.97rem; }
.dock-event .countdown b { background: rgba(10,22,48,0.12); color: var(--navy-950); }
.avatars { display: flex; }
.avatars img, .avatars span { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--white); margin-left: -10px; background: var(--navy-100); }
.avatars > :first-child { margin-left: 0; }
.avatars span { display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; color: var(--navy); }
.countdown { display: inline-flex; gap: 6px; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500; }
.countdown b { display: inline-grid; place-items: center; min-width: 38px; padding: 4px 6px; border-radius: 8px; background: rgba(10,22,48,0.1); font-weight: 600; }
@media (max-width: 860px) {
  .dock { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .dock-event { flex-direction: column; align-items: flex-start; }
  .dock-event .dock-thumb { width: 84px; }
}

/* ---------- 9. Page hero (internal pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; background: var(--navy-900); color: var(--white);
  padding: clamp(56px, 8vw, 110px) 0 clamp(56px, 7vw, 96px);
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(157,177,211,0.22) 1px, transparent 1.3px); background-size: 28px 28px; mask-image: radial-gradient(ellipse at 85% 20%, #000 0%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 85% 20%, #000 0%, transparent 65%); }
.page-hero::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(70,105,160,0.45), transparent 65%); }
.page-hero h1 { color: var(--white); margin-top: 18px; max-width: 18ch; }
.page-hero h1 em { color: var(--amber); }
.page-hero .lede { color: var(--navy-200); margin-top: 20px; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero--image { padding-bottom: 0; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.page-hero-media { border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; aspect-ratio: 4 / 3.2; align-self: end; transform: translateY(1px); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image .page-hero-copy { padding-bottom: clamp(48px, 6vw, 88px); }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-media { aspect-ratio: 16 / 10; } }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-300); }
.breadcrumb a { color: var(--navy-200); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }

/* ---------- 10. Section heads ---------- */
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head--split { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; }
.section-head--split > :not(.head-action) { grid-column: 1; }
.section-head--split > .head-action { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
@media (max-width: 760px) { .section-head--split { grid-template-columns: 1fr; } .section-head--split > .head-action { grid-column: 1; grid-row: auto; } }

/* ---------- 11. Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--line); overflow: hidden; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-100); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.2vw, 28px); flex: 1; }
.card-title { font-size: 1.28rem; line-height: 1.15; letter-spacing: -0.02em; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.card-text { color: var(--ink-2); font-size: 0.98rem; line-height: 1.6; }
.card-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card .link-arrow { position: relative; z-index: 2; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--navy-50); color: var(--navy-600); border: 1px solid var(--navy-100); white-space: nowrap;
}
.chip--amber { background: var(--amber-100); color: #7a4e05; border-color: #f6dda4; }
.chip--solid { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chip--glass { background: rgba(10,22,48,0.55); color: var(--white); border-color: rgba(255,255,255,0.2); backdrop-filter: blur(8px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 0.82rem; font-weight: 600; color: var(--navy-600); background: var(--navy-50); padding: 4px 10px; border-radius: 8px; }

.status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 9px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em; background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.status--upcoming::before { background: var(--amber); box-shadow: 0 0 0 3px rgba(242,179,61,0.25); }
.status--ongoing::before { background: var(--green); animation: blink 1.6s infinite; }
.status--completed::before { background: var(--navy-300); }
.status--postponed::before, .status--cancelled::before { background: var(--red); }
@keyframes blink { 50% { opacity: 0.35; } }

/* Program card */
.program-card .card-media { aspect-ratio: 16 / 11; }
.program-icon { position: absolute; left: 18px; bottom: -22px; z-index: 2; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--amber); box-shadow: var(--shadow-md); transition: transform 0.4s var(--ease); }
.program-card:hover .program-icon { transform: rotate(-8deg) scale(1.06); }
.program-card .card-media { overflow: visible; }
.program-card .card-media .media-clip { position: absolute; inset: 0; overflow: hidden; }
.program-card .card-body { padding-top: 38px; }
.program-kicker { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-700); font-weight: 500; }

/* Event card */
.event-card .card-media { aspect-ratio: 16 / 11; }
.event-card .media-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; z-index: 2; }
.date-badge { display: grid; place-items: center; min-width: 62px; padding: 8px 10px; border-radius: 14px; background: var(--white); color: var(--navy-900); text-align: center; box-shadow: var(--shadow-md); line-height: 1; }
.date-badge b { font-family: var(--font-display); font-size: 1.6rem; font-weight: 750; letter-spacing: -0.03em; }
.date-badge span { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; color: var(--ink-3); }
.date-badge--text b { font-size: 0.95rem; letter-spacing: 0; }
.event-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.88rem; color: var(--ink-3); }
.event-meta span { display: inline-flex; align-items: center; gap: 6px; }
.event-meta .icon { width: 16px; height: 16px; color: var(--navy-500); }

/* Generated cover for events without photographs */
.gen-cover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: var(--white); background: var(--navy); overflow: hidden; }
.gen-cover::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.18) 1px, transparent 1.3px); background-size: 22px 22px; mask-image: linear-gradient(135deg, #000 10%, transparent 75%); -webkit-mask-image: linear-gradient(135deg, #000 10%, transparent 75%); }
.gen-cover svg.curve { position: absolute; right: -8%; top: 10%; width: 85%; height: 70%; opacity: 0.85; }
.gen-cover .gen-num { position: relative; font-family: var(--font-display); font-weight: 800; font-size: clamp(3.2rem, 7vw, 5rem); line-height: 0.85; letter-spacing: -0.05em; color: var(--white); }
.gen-cover .gen-sub { position: relative; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-top: 10px; }
.gen-cover--Community { background: var(--navy-800); }
.gen-cover--Competition { background: #23406f; }
.gen-cover--CareerDevelopment { background: var(--navy-900); }

/* News card */
.news-card .card-media { aspect-ratio: 16 / 10; }
.news-card time { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- 12. About / story ---------- */
.collage { position: relative; aspect-ratio: 1 / 1.02; }
.collage .c-main { position: absolute; left: 0; top: 0; width: 78%; height: 80%; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.collage .c-sub { position: absolute; right: 0; bottom: 0; width: 52%; height: 50%; border-radius: var(--r-lg); overflow: hidden; border: 8px solid var(--paper); box-shadow: var(--shadow-lg); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .c-stat { position: absolute; left: 6%; bottom: 6%; z-index: 2; background: var(--navy); color: var(--white); padding: 18px 22px; border-radius: 20px; box-shadow: var(--shadow-lg); }
.collage .c-stat b { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; letter-spacing: -0.03em; color: var(--amber); }
.collage .c-stat span { font-size: 0.85rem; color: var(--navy-200); }
.section--white .collage .c-sub { border-color: var(--white); }

.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; color: var(--ink-2); }
.checklist li strong { color: var(--ink); display: block; }
.checklist .tick { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--amber); margin-top: 2px; }
.checklist .tick .icon { width: 16px; height: 16px; stroke-width: 2.4; }

/* Big statement (mission) */
.statement { font-family: var(--font-display); font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.3rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 600; color: var(--navy-900); text-wrap: balance; }
.statement em { font-family: var(--font-serif); font-weight: 400; font-style: italic; color: var(--navy-500); }
.js .statement .w { opacity: 0.16; transition: opacity 0.5s; }
.js .statement .w.is-lit { opacity: 1; }

.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.pillar { background: var(--white); padding: 28px 24px; }
.pillar .num { font-family: var(--font-mono); font-size: 0.78rem; color: var(--amber-700); }
.pillar h3 { font-size: 1.15rem; margin-top: 10px; }
.pillar p { color: var(--ink-2); font-size: 0.95rem; margin-top: 8px; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* Timeline */
.timeline { list-style: none; position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 112px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--navy-200), var(--navy-200)) 0 0 / 100% var(--progress, 0%) no-repeat, var(--line); }
.timeline li { display: grid; grid-template-columns: 112px 1fr; gap: 36px; padding-bottom: 36px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 106px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--navy); }
.timeline .when { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); padding-top: 3px; text-align: right; padding-right: 24px; }
.timeline h3 { font-size: 1.2rem; }
.timeline p { color: var(--ink-2); margin-top: 6px; }
@media (max-width: 600px) {
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; padding-left: 32px; }
  .timeline li::before { left: 0; }
  .timeline .when { text-align: left; padding: 0; }
}

/* ---------- 13. Impact (bar chart) ---------- */
.impact { position: relative; overflow: hidden; }
.impact::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(157,177,211,0.14) 1px, transparent 1.3px); background-size: 30px 30px; pointer-events: none; }
.impact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 88px); align-items: end; }
.chart { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); align-items: end; height: clamp(360px, 40vw, 480px); padding-bottom: 0; }
.chart::before { /* gridlines */
  content: ""; position: absolute; inset: 0 0 0 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 100% 25%;
}
.bar {
  position: relative; height: var(--h, 50%); border-radius: 22px 22px 6px 6px; padding: 22px 20px;
  display: flex; flex-direction: column; justify-content: flex-end; color: var(--navy-950);
  background: linear-gradient(180deg, #a9c6e9, var(--sky)); transform-origin: bottom;
}
.bar:nth-child(2) { background: linear-gradient(180deg, #f8cd72, var(--amber)); }
.bar:nth-child(3) { background: linear-gradient(180deg, #ffffff, #dfe7f3); }
.js .bar { transform: scaleY(0.04); transition: transform 1.4s var(--ease); }
.js .bar:nth-child(2) { transition-delay: 0.12s; }
.js .bar:nth-child(3) { transition-delay: 0.24s; }
.js .is-in .bar { transform: scaleY(1); }
.bar-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); line-height: 0.95; letter-spacing: -0.04em; }
.bar-label { font-weight: 700; font-size: 0.95rem; margin-top: 6px; line-height: 1.25; }
.bar-detail { font-size: 0.82rem; line-height: 1.4; opacity: 0.78; margin-top: 6px; }
.impact-highlights { display: grid; gap: 0; margin-top: 32px; border-top: 1px solid rgba(255,255,255,0.14); }
.impact-highlights div { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
.impact-highlights b { font-family: var(--font-display); font-size: 1.8rem; color: var(--amber); letter-spacing: -0.03em; line-height: 1; }
.impact-highlights span { color: var(--navy-200); font-size: 0.95rem; }
.impact-note { margin-top: 18px; font-size: 0.8rem; color: var(--navy-300); font-family: var(--font-mono); letter-spacing: 0.02em; }
@media (max-width: 960px) { .impact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .chart { height: auto; grid-template-columns: 1fr; gap: 12px; }
  .bar { height: auto !important; min-height: 0; border-radius: 18px; padding: 20px; }
  .js .bar { transform: scaleX(0.04); transform-origin: left; }
  .js .is-in .bar { transform: scaleX(1); }
  .bar .bar-fill-note { display: none; }
}

/* Simple stat row (internal pages) */
.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.stat { background: var(--white); padding: 28px 24px; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; letter-spacing: -0.04em; color: var(--navy); }
.stat span { display: block; margin-top: 10px; color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 860px) { .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 14. Featured event ---------- */
.feature-event { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); background: var(--white); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.feature-poster { position: relative; background: var(--navy-900); padding: clamp(20px, 3vw, 36px); display: grid; place-items: center; overflow: hidden; }
.feature-poster::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(157,177,211,0.22) 1px, transparent 1.3px); background-size: 22px 22px; }
.feature-poster img { position: relative; width: 100%; max-width: 360px; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6); transform: rotate(-2deg); transition: transform 0.6s var(--ease); }
.feature-event:hover .feature-poster img { transform: rotate(0) scale(1.02); }
.feature-body { padding: clamp(26px, 4vw, 52px); display: flex; flex-direction: column; gap: 18px; }
.feature-body h3 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); }
.feature-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fact { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; }
.fact .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); }
.fact small { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.fact strong { display: block; font-size: 0.96rem; line-height: 1.3; }
.gain-list { list-style: none; display: grid; gap: 10px; counter-reset: gain; }
.gain-list li { counter-increment: gain; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; font-weight: 550; }
.gain-list li::before { content: counter(gain, decimal-leading-zero); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.75rem; background: var(--amber-100); color: #7a4e05; }
.note { font-size: 0.9rem; color: var(--ink-3); display: flex; gap: 8px; align-items: flex-start; }
.note .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--amber-600); }
.countdown-lg { display: flex; gap: 10px; }
.countdown-lg div { min-width: 64px; padding: 10px 8px; border-radius: 14px; background: var(--navy-900); color: var(--white); text-align: center; }
.countdown-lg b { display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; letter-spacing: -0.03em; }
.countdown-lg span { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-300); }
@media (max-width: 900px) { .feature-event { grid-template-columns: 1fr; } .feature-poster img { max-width: 280px; } }
@media (max-width: 520px) { .feature-facts { grid-template-columns: 1fr; } }

/* ---------- 15. Gallery: masonry + lightbox ---------- */
.masonry { columns: 4 260px; column-gap: 16px; }
.masonry--3 { columns: 3 260px; }
.m-item { position: relative; display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; background: var(--navy-100); break-inside: avoid; cursor: zoom-in; text-align: left; }
.m-item img { width: 100%; height: auto; transition: transform 0.8s var(--ease), filter 0.5s; }
.m-item:hover img { transform: scale(1.05); }
.m-item figcaption, .m-item .m-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: var(--white); font-size: 0.88rem; font-weight: 550; background: linear-gradient(0deg, rgba(10,22,48,0.85), transparent); opacity: 0; transform: translateY(8px); transition: opacity 0.35s, transform 0.45s var(--ease); }
.m-item .m-cap small { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber); margin-bottom: 4px; }
.m-item:hover .m-cap, .m-item:focus-visible .m-cap { opacity: 1; transform: none; }
@media (hover: none) { .m-item .m-cap { opacity: 1; transform: none; padding-top: 28px; font-size: 0.8rem; } }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto 1fr auto; background: rgba(6, 13, 30, 0.96); color: var(--white); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter); gap: 16px; }
.lb-count { font-family: var(--font-mono); font-size: 0.8rem; color: var(--navy-300); }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 clamp(8px, 7vw, 96px); min-height: 0; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: calc(100svh - 170px); width: auto; height: auto; border-radius: 10px; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,0.5); transition: opacity 0.25s, transform 0.4s var(--ease); }
.lb-stage img.is-swapping { opacity: 0; transform: scale(0.98); }
.lb-cap { padding: 14px var(--gutter) 22px; text-align: center; color: var(--navy-100); font-size: 0.95rem; }
.lb-cap a { color: var(--amber); }
.lb-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); color: var(--white); display: grid; place-items: center; transition: background-color 0.2s; }
.lb-btn:hover { background: rgba(255,255,255,0.16); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: clamp(8px, 2vw, 28px); }
.lb-next { right: clamp(8px, 2vw, 28px); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: -62px; transform: none; } .lb-prev { left: 30%; } .lb-next { right: 30%; } .lb-cap { padding-top: 70px; } }

/* Album cards */
.album-card .card-media { aspect-ratio: 4 / 3; }
.album-count { position: absolute; right: 14px; bottom: 14px; z-index: 2; }

/* Photo strip (marquee) */
.strip { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip-track { display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-track > * { width: clamp(220px, 24vw, 320px); flex: none; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; }
.strip-track img { width: 100%; height: 100%; object-fit: cover; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* ---------- 16. Filters ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; justify-content: space-between; margin-bottom: 32px; padding: 14px; background: var(--white); border-radius: 20px; border: 1px solid var(--line); }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-weight: 600; font-size: 0.9rem; color: var(--ink-2); transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.select { appearance: none; padding: 10px 40px 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231e3a66' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; font-weight: 600; font-size: 0.9rem; }
.filter-count { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-2); }
.is-filtered-out { display: none !important; }
.empty-state { text-align: center; padding: 56px 24px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--ink-3); background: rgba(255,255,255,0.5); }
.empty-state h3 { color: var(--navy-900); font-size: 1.25rem; margin-bottom: 8px; }

/* ---------- 17. Event detail ---------- */
.event-hero { position: relative; color: var(--white); background: var(--navy-950); overflow: hidden; isolation: isolate; min-height: clamp(440px, 62vh, 640px); display: flex; align-items: flex-end; padding: 120px 0 56px; }
.event-hero .bg { position: absolute; inset: 0; z-index: -2; }
.event-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.event-hero .bg .gen-cover { padding: 0; }
.event-hero .bg .gen-cover .gen-num, .event-hero .bg .gen-cover .gen-sub { display: none; }
.event-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,22,48,0.95) 5%, rgba(10,22,48,0.55) 55%, rgba(10,22,48,0.35) 100%); }
.event-hero h1 { color: var(--white); max-width: 22ch; margin-top: 16px; font-size: clamp(2.1rem, 1.4rem + 3vw, 4rem); }
.event-hero .chips { margin-top: 18px; }
.event-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.event-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.panel h2 { font-size: 1.1rem; margin-bottom: 14px; }
.panel .fact + .fact { margin-top: 14px; }
.panel-navy { background: var(--navy-900); color: var(--navy-100); border: 0; }
.panel-navy h2, .panel-navy h3 { color: var(--white); }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share a, .share button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); background: var(--white); color: var(--navy); text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.share a:hover, .share button:hover { background: var(--navy); color: var(--white); }
.event-poster-inline { max-width: 420px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
@media (max-width: 960px) { .event-layout { grid-template-columns: 1fr; } .event-aside { position: static; } }

/* ---------- 18. Team ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.founder-photo { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.quote { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); line-height: 1.2; letter-spacing: -0.01em; color: var(--navy-900); margin: 0; }
.quote::before { content: "\201C"; display: block; font-family: var(--font-display); font-style: normal; font-size: 4.5rem; line-height: 0.6; color: var(--amber); margin-bottom: 12px; }
.section--navy .quote { color: var(--white); }
.cite { margin-top: 22px; display: flex; gap: 14px; align-items: center; font-style: normal; }
.cite strong { display: block; color: var(--navy-900); }
.cite span { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.section--navy .cite strong { color: var(--white); }
.section--navy .cite span { color: var(--navy-300); }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .founder-photo { max-width: 420px; } }

.team-card { text-align: left; }
.team-card .card-media { aspect-ratio: 4 / 5; }
.team-card .card-media img { filter: grayscale(0.15); }
.team-card:hover .card-media img { filter: none; }
.team-term { position: absolute; top: 14px; left: 14px; z-index: 2; }
.team-name { font-size: 1.15rem; }
.team-role { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-700); }
.avatar-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--navy-300); background: var(--navy-50); }

/* ---------- 19. Partners ---------- */
.partner-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.partner-tile { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; min-height: 140px; padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); text-align: center; text-decoration: none; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.partner-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.partner-tile img { max-height: 56px; width: auto; filter: grayscale(1); opacity: 0.8; transition: filter 0.3s, opacity 0.3s; }
.partner-tile:hover img { filter: none; opacity: 1; }
.partner-mark { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.03em; color: var(--navy-900); line-height: 1; }
.partner-type { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.partner-card { display: grid; grid-template-columns: 140px 1fr; gap: 28px; align-items: start; padding: clamp(24px, 3vw, 36px); background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line); }
.partner-card .logo-box { aspect-ratio: 1; border-radius: 20px; background: var(--navy-50); display: grid; place-items: center; padding: 16px; text-align: center; }
.partner-card h3 { font-size: 1.4rem; }
.partner-card p { color: var(--ink-2); margin-top: 10px; }
@media (max-width: 600px) { .partner-card { grid-template-columns: 1fr; } .partner-card .logo-box { width: 110px; } }

/* ---------- 20. FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 18px; transition: box-shadow 0.3s, border-color 0.3s; }
.faq details[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 650; font-size: 1.04rem; cursor: pointer; color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); transition: transform 0.35s var(--ease), background-color 0.3s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--amber); color: var(--navy-950); }
.faq .answer { padding: 0 22px 22px; color: var(--ink-2); }

/* ---------- 21. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: var(--navy); color: var(--white); padding: clamp(40px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,0.16) 1px, transparent 1.3px); background-size: 24px 24px; mask-image: linear-gradient(270deg, #000, transparent 60%); -webkit-mask-image: linear-gradient(270deg, #000, transparent 60%); }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(242,179,61,0.16); }
.cta-band h2 { color: var(--white); }
.cta-band h2 em { color: var(--amber); }
.cta-band p { color: var(--navy-200); margin-top: 14px; max-width: 54ch; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* Join benefits */
.benefit { padding: 28px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit .b-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--amber); margin-bottom: 18px; }
.benefit h3 { font-size: 1.15rem; }
.benefit p { color: var(--ink-2); font-size: 0.97rem; margin-top: 8px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 28px; border-radius: var(--r-lg); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--amber); letter-spacing: -0.04em; line-height: 1; display: block; margin-bottom: 14px; }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--navy-200); font-size: 0.96rem; margin-top: 6px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 22. Forms ---------- */
.form-card { background: var(--white); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 650; font-size: 0.93rem; color: var(--ink); }
.field .req { color: var(--red); }
.field .hint { font-size: 0.84rem; color: var(--ink-3); }
.input, .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--paper);
  font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(30,58,102,0.12); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field .error { color: var(--red); font-size: 0.84rem; font-weight: 600; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.check-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip input { position: absolute; opacity: 0; pointer-events: none; }
.check-chip span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s; user-select: none; }
.check-chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.check-chip input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-size: 0.95rem; }
.form-status--error { background: #fdecea; color: #8a1f1a; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success .ok { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--amber-100); color: var(--amber-600); }
.form-success .ok .icon { width: 34px; height: 34px; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-item { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; padding: 18px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
a.contact-item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.contact-item .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--amber); }
.contact-item small { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.contact-item strong { font-size: 1.02rem; color: var(--navy-900); word-break: break-word; }

/* Resources */
.resource { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 20px 22px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.resource:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.resource h3 { font-size: 1.08rem; }
.resource p { color: var(--ink-2); font-size: 0.93rem; margin-top: 4px; }
.resource .go { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); transition: background-color 0.2s, color 0.2s, transform 0.3s var(--ease); }
.resource:hover .go { background: var(--navy); color: var(--white); transform: rotate(-45deg); }

/* ---------- 23. Footer ---------- */
.site-footer { position: relative; background: var(--navy-950); color: var(--navy-200); padding-top: clamp(64px, 8vw, 104px); overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(157,177,211,0.12) 1px, transparent 1.3px); background-size: 28px 28px; mask-image: linear-gradient(180deg, transparent, #000 70%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr)) minmax(0, 1.1fr); gap: 40px; padding-bottom: 56px; }
.footer-brand p { margin-top: 18px; font-size: 0.95rem; max-width: 36ch; }
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-sub { color: var(--navy-300); }
.site-footer h2 { font-family: var(--font-mono); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: var(--navy-100); text-decoration: none; font-size: 0.96rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--amber); }
.footer-contact { display: grid; gap: 10px; font-size: 0.95rem; }
.footer-contact a { color: var(--navy-100); text-decoration: none; }
.footer-contact a:hover { color: var(--white); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: var(--white); transition: background-color 0.25s, transform 0.3s var(--ease), color 0.25s; }
.socials a:hover { background: var(--amber); color: var(--navy-950); transform: translateY(-3px); }
.footer-wordmark { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 22vw, 20rem); line-height: 0.75; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px rgba(157,177,211,0.22); text-align: center; user-select: none; margin-bottom: -0.08em; white-space: nowrap; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.86rem; color: var(--navy-300); }
.footer-bottom a { color: var(--navy-200); }
@media (max-width: 1100px) { .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } .footer-cta { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: var(--white); box-shadow: 0 12px 30px -8px rgba(0,0,0,0.35); transition: transform 0.3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { width: 28px; height: 28px; }

/* ---------- 24. Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-32px); }
.js [data-reveal="right"] { transform: translateX(32px); }
.js [data-reveal="zoom"] { transform: scale(0.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(12% 12% 12% 12% round 32px); transition: clip-path 1.2s var(--ease); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round 0px); }
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .bar, .js .statement .w { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .strip-track { animation: none; }
  .hero-media img { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 25. Print ---------- */
@media print {
  .site-header, .announce, .drawer, .site-footer, .wa-float, .lightbox, .filters { display: none !important; }
  body { background: #fff; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 26. Mobile rails & density ---------- */
@media (max-width: 640px) {
  .rail-mobile { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; scrollbar-width: none; }
  .rail-mobile::-webkit-scrollbar { display: none; }
  .rail-mobile > * { flex: 0 0 84%; scroll-snap-align: start; }
  .rail-mobile > .card:hover { transform: none; }
  .masonry, .masonry--3 { columns: 2; column-gap: 10px; }
  .m-item { margin-bottom: 10px; border-radius: 12px; }
  .section-head { margin-bottom: 28px; }
  .masonry .m-item:nth-child(n+9) { display: none; }
  .masonry[data-all] .m-item:nth-child(n+9) { display: block; }
}
.rail-hint { display: none; }
@media (max-width: 640px) { .rail-hint { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin: -14px 0 14px; } }

/* ---------- 27. Event registration ---------- */
.reg-logos { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.reg-logo { display: inline-grid; place-items: center; height: 72px; padding: 10px 18px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow-md); }
.reg-logo img { max-height: 52px; width: auto; }
.reg-x { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--amber); }
.reg-title { margin-top: 22px; max-width: 24ch; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem); }
.reg-hero .chip .icon { width: 14px; height: 14px; }
.reg-card fieldset.field { padding-top: 6px; border-top: 1px solid var(--line); }
.reg-card fieldset.field legend { float: left; width: 100%; margin-bottom: 10px; padding-top: 14px; }
.reg-card fieldset.field legend + .hint, .reg-card fieldset.field legend + .check-chips { clear: both; }
.reg-card .hint { display: block; margin-bottom: 10px; }
.other-wrap { display: none; margin-top: 12px; }
.has-other:has(input[value="Other"]:checked) .other-wrap { display: block; }
.other-wrap input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--paper); font-size: 1rem; }
@media (max-width: 520px) { .reg-logo { height: 60px; padding: 8px 12px; } .reg-logo img { max-height: 40px; } }
