/* =========================================================
   PowerBank Global — styles
   Brand: royal blue (from PowerBank header) + BOF flame accents
   ========================================================= */

:root {
  /* Brand primitives */
  --navy-950: #030726;
  --navy-900: #040a33;
  --blue-800: #001a8c;
  --blue-700: #0024b3;
  --blue-600: #0033cc;
  --blue-500: #1f4fff;
  --blue-300: #8fa8ff;
  --purple-500: #7b2ff7;
  --magenta-500: #e0206f;
  --magenta-600: #c8105f;
  --flame-500: #ff7a1a;

  /* Semantic tokens (light) */
  --bg: #ffffff;
  --bg-tint: #f4f6fd;
  --surface: #ffffff;
  --surface-2: #f8f9fe;
  --text: #0b1033;
  --text-muted: #4a5272;
  --border: #e3e7f5;
  --primary: var(--blue-600);
  --primary-hover: var(--blue-700);
  --on-primary: #ffffff;
  --accent: var(--magenta-600);
  --grad: linear-gradient(95deg, var(--blue-500) 0%, var(--purple-500) 55%, var(--magenta-500) 100%);
  --grad-light: linear-gradient(95deg, #8fb0ff 0%, #c9a2ff 50%, #ff8fc0 100%);
  --brand-grad: linear-gradient(110deg, var(--navy-900) 0%, var(--blue-700) 60%, var(--blue-500) 100%);
  --shadow-sm: 0 1px 2px rgba(4, 10, 51, .06), 0 2px 8px rgba(4, 10, 51, .05);
  --shadow-md: 0 8px 30px rgba(4, 10, 51, .10);
  --shadow-lg: 0 24px 60px rgba(4, 10, 51, .18);

  /* Type */
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --header-h: 76px;

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 700ms;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #050925;
    --bg-tint: #0a1033;
    --surface: #0d1440;
    --surface-2: #111a4d;
    --text: #eef1ff;
    --text-muted: #a9b2d6;
    --border: #1e2760;
    --primary: #2f5cff;
    --primary-hover: #4a71ff;
    --accent: #ff6aa8;
    --grad: var(--grad-light);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #050925;
  --bg-tint: #0a1033;
  --surface: #0d1440;
  --surface-2: #111a4d;
  --text: #eef1ff;
  --text-muted: #a9b2d6;
  --border: #1e2760;
  --primary: #2f5cff;
  --primary-hover: #4a71ff;
  --accent: #ff6aa8;
  --grad: var(--grad-light);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color var(--dur) ease, color var(--dur) ease;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.05; letter-spacing: -0.03em; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; 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: -60px; z-index: 1000; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: top var(--dur-fast); }
.skip-link:focus { top: 12px; }

.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic-accent { color: var(--accent); width: 28px; height: 28px; }

/* ---------- Typography helpers ---------- */
.display { font-size: clamp(2.6rem, 7vw, 5.75rem); font-weight: 800; letter-spacing: -0.045em; line-height: .98; text-wrap: balance; }
.display-md { font-size: clamp(2.1rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; text-wrap: balance; }
.display-sm { font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.grad-text-light { background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: .875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px; }
.eyebrow-light { color: rgba(255, 255, 255, .82); }
.eyebrow-muted { color: var(--text-muted); }
.eyebrow-sub { margin-top: -6px; }
.eyebrow-line { width: 32px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--flame-500), var(--magenta-500)); }
.muted { color: var(--text-muted); }
.card-kicker { font-family: var(--font-display); font-weight: 700; font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; text-decoration: none; margin-bottom: 28px; }
.text-link .ic { transition: transform var(--dur-fast) var(--ease-out); }
.text-link:hover .ic { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) ease;
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; border-radius: 14px; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 6px 20px rgba(0, 51, 204, .28); }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 10px 28px rgba(0, 51, 204, .36); }
.btn-light { background: #fff; color: var(--blue-700); }
.btn-light:hover { background: #e9eeff; }
.btn-outline { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }

.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: transparent; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.icon-btn-outline { border-color: var(--border); background: var(--surface); color: var(--text); }
.icon-btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(4, 10, 51, .92);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-wordmark { height: 40px; width: auto; }
.brand-bof { height: 38px; width: auto; }
.main-nav { margin-inline: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a:not(.btn) {
  display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .86);
  transition: color var(--dur-fast), background-color var(--dur-fast);
}
.main-nav a:not(.btn):hover, .main-nav a[aria-current="true"] { color: #fff; background: rgba(255, 255, 255, .1); }
.btn-nav-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle { color: #fff; border-color: rgba(255, 255, 255, .2); }
.theme-toggle:hover { background: rgba(255, 255, 255, .1); }
.theme-toggle .ic-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .ic-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .ic-moon { display: none; }
}
.nav-toggle { display: none; color: #fff; }
.nav-toggle .ic-close { display: none; }
.nav-open .nav-toggle .ic-close { display: block; }
.nav-open .nav-toggle .ic-open { display: none; }

@media (max-width: 1180px) {
  .main-nav a:not(.btn) { padding: 10px 8px; font-size: .9rem; }
}
@media (max-width: 1060px) {
  .nav-toggle { display: inline-grid; }
  .btn-register { display: none; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: var(--navy-900); padding: 16px var(--gutter) 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; }
  .btn-nav-mobile { display: flex; margin-top: 12px; width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy-900); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(123, 47, 247, .35), transparent 60%),
    linear-gradient(100deg, rgba(3, 7, 38, .97) 0%, rgba(4, 10, 51, .88) 40%, rgba(0, 36, 179, .55) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(56px, 9vw, 120px) clamp(64px, 8vw, 110px);
}
.hero-wordmark { width: min(100%, 620px); height: auto; margin: 4px 0 28px; filter: drop-shadow(0 8px 30px rgba(31, 79, 255, .45)); }
.hero-lede { font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.6; color: rgba(255, 255, 255, .86); max-width: 38ch; margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.countdown-card {
  background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: clamp(28px, 3.4vw, 48px);
  box-shadow: var(--shadow-lg);
}
:root[data-theme="dark"] .countdown-card { background: var(--surface); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .countdown-card { background: var(--surface); } }
.countdown-card .eyebrow { color: var(--text); }
.countdown-card .eyebrow-muted { color: var(--text-muted); }
.cd-date { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 0 0 4px; }
.cd-month { display: block; font-size: clamp(2.4rem, 4.6vw, 3.75rem); }
.cd-days { display: block; font-size: clamp(2.4rem, 4.6vw, 3.75rem); }
.countdown-card hr { border: 0; border-top: 1px solid var(--border); margin: 28px 0; }
.countdown { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.cd-unit { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.cd-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-label { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
.cd-sep { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--magenta-500); line-height: 1.2; }

.hero-marquee { border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(3, 7, 38, .6); overflow: hidden; }
.marquee-track { display: flex; gap: 28px; width: max-content; padding: 16px 0; animation: marquee 38s linear infinite; font-family: var(--font-display); font-weight: 800; font-size: clamp(1rem, 1.8vw, 1.35rem); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.marquee-track span:nth-child(even) { color: var(--flame-500); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section-tint { background: var(--bg-tint); }
.section-dark { background: var(--brand-grad); color: #fff; }
.section-dark .section-intro { color: rgba(255, 255, 255, .8); }
.section-dark .grad-text { background: var(--grad-light); -webkit-background-clip: text; background-clip: text; }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; }
.section-intro { font-size: clamp(1.0625rem, 1.4vw, 1.2rem); color: var(--text-muted); max-width: 46ch; margin: 0; justify-self: end; }

/* ---------- Cards ---------- */
.card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.card-accent-top { border-top: 4px solid var(--primary); }
.card-highlight { border: 1.5px solid color-mix(in srgb, var(--primary) 45%, transparent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary) 7%, transparent); }

.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.stat { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.stat-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); flex-shrink: 0; }
.stat strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; line-height: 1.1; }
.stat span:not(.stat-icon) { font-size: .9rem; color: var(--text-muted); line-height: 1.35; display: block; }
.pull-quote { margin: 24px 0; padding-left: 20px; border-left: 4px solid var(--accent); font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.65rem); letter-spacing: -0.02em; line-height: 1.25; }
.pull-quote cite { display: block; margin-top: 12px; font-style: normal; font-size: .95rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0; }
.card-highlight .label { font-family: var(--font-display); font-weight: 700; font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 18px 0 8px; }
.vision { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.12; }
.mission { padding-left: 18px; border-left: 4px solid var(--accent); font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.35; letter-spacing: -0.01em; }
.pillars { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border); font-weight: 600; color: var(--text-muted); margin-bottom: 0; }

/* ---------- Convener ---------- */
.convener { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.convener-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-md); }
.convener-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.convener-copy > p { font-size: 1.125rem; color: var(--text-muted); max-width: 52ch; margin-top: 20px; }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.mini-card .ic-accent { width: 22px; height: 22px; }
.mini-card h3 { font-size: 1.15rem; letter-spacing: -0.02em; margin: 10px 0 8px; }
.mini-card p { color: var(--text-muted); font-size: .98rem; margin: 0; }

/* ---------- Expect ---------- */
.expect-head { display: grid; grid-template-columns: 1fr 2.2fr; gap: 32px; }
.expect-head .section-intro { justify-self: start; max-width: 62ch; margin-top: 24px; }
.expect-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.photo-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease; }
.photo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.photo-card-img { aspect-ratio: 4 / 3.3; overflow: hidden; }
.photo-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.photo-card:hover .photo-card-img img { transform: scale(1.05); }
.photo-card-body { padding: 22px 22px 26px; }
.photo-card-body h3 { font-size: 1.3rem; letter-spacing: -0.02em; margin: 12px 0 8px; }
.photo-card-body p { color: var(--text-muted); margin: 0; font-size: 1rem; }

/* ---------- Initiatives ---------- */
.init-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.init-card { background: #fff; color: var(--text); border-radius: var(--radius); overflow: hidden; transition: transform var(--dur) var(--ease-out); }
:root[data-theme="dark"] .init-card { background: var(--surface); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .init-card { background: var(--surface); } }
.init-card:hover { transform: translateY(-4px); }
.init-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.init-img img { width: 100%; height: 100%; object-fit: cover; }
.num-badge { position: absolute; top: 14px; left: 14px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(3, 7, 38, .7); border: 1.5px solid rgba(255, 255, 255, .7); color: #fff; font-family: var(--font-display); font-weight: 800; backdrop-filter: blur(4px); }
.init-body { padding: 22px 22px 26px; }
.init-body h3 { font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.init-body p:last-child { color: var(--text-muted); margin: 0; font-size: 1rem; }
.init-body .card-kicker { margin-bottom: 8px; }

/* ---------- Gallery ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); font-family: var(--font-display); font-weight: 700; font-size: .95rem; cursor: pointer; transition: all var(--dur-fast) ease; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; }
.g-item { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--bg-tint); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(3, 7, 38, .75)); }
.g-item span { position: absolute; left: 18px; bottom: 14px; z-index: 1; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: .01em; }
.g-item:hover img { transform: scale(1.06); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
.g-item[hidden] { display: none; }

/* ---------- Years ---------- */
.years-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.years-controls { display: flex; align-items: center; gap: 10px; }
.years-controls p { margin: 0 8px 0 0; }
.years-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 400px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 24px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  scrollbar-width: thin;
}
.year-card { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; scroll-snap-align: start; background: var(--navy-900); }
.year-card img { width: 100%; height: 100%; object-fit: cover; }
.year-card img.contain { object-fit: contain; background: #12062e; }
.year-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: #fff; background: linear-gradient(180deg, transparent 35%, rgba(3, 7, 38, .92)); }
.year-overlay .card-kicker { color: #ffb37a; margin-bottom: 6px; }
.year-overlay h3 { font-size: 1.5rem; }
.year-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 8vw, 6rem); letter-spacing: -0.05em; line-height: .9; margin-top: 6px; }
.year-card-next img { opacity: .55; }
.year-card-next .year-overlay { background: linear-gradient(180deg, rgba(0, 36, 179, .3), rgba(3, 7, 38, .95)); }
.year-card-next .btn { margin-top: 18px; align-self: flex-start; }

/* ---------- Testimonies ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { margin: 0; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; }
.ic-quote { width: 36px; height: 36px; color: var(--accent); fill: currentColor; stroke: none; opacity: .9; }
.testi blockquote { margin: 18px 0 24px; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.45; letter-spacing: -0.01em; flex: 1; }
.testi figcaption { display: flex; flex-direction: column; padding-top: 18px; border-top: 1px solid var(--border); }
.testi figcaption span { color: var(--text-muted); font-size: .95rem; }

/* ---------- Visit / FAQ ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: start; }
.visit-card, .faq-card { background: var(--surface); }
.faq-card { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.visit-card h3 { margin-bottom: 24px; }
.info-list { margin: 0 0 28px; border-top: 1px solid var(--border); }
.info-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.info-list dt { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-weight: 500; }
.info-list dt .ic { width: 20px; height: 20px; }
.info-list dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.visit-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: .95rem; color: var(--text-muted); margin: 18px 0 0; }
.pill { display: inline-block; padding: 8px 16px; border: 1px solid var(--border); border-radius: 10px; color: var(--accent); font-family: var(--font-display); font-weight: 700; margin-bottom: 18px; }
.faq-card h3 { margin-bottom: 18px; }
.faq details { border-top: 1px solid var(--border); }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 32px; height: 32px; padding: 6px; border: 1px solid var(--border); border-radius: 50%; color: var(--accent); transition: transform var(--dur) var(--ease-out); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { color: var(--text-muted); margin: -4px 0 20px; max-width: 60ch; }

/* ---------- Prayer + Give ---------- */
.involve-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: stretch; }
.prayer-card .display-sm, .give-card .display-sm { margin-bottom: 14px; }
.form { margin-top: 24px; display: grid; gap: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.opt { color: var(--text-muted); font-weight: 400; }
.req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text); font: inherit; font-size: 1rem;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.field [aria-invalid="true"] { border-color: #d92d4b; }
.field-error { color: #d92d4b; font-size: .92rem; margin: 6px 0 0; min-height: 0; }
:root[data-theme="dark"] .field-error { color: #ff8095; }
.form-success { color: #138a4f; font-weight: 600; margin: 0; }
:root[data-theme="dark"] .form-success { color: #5be39b; }
.form .btn { justify-self: start; }
.btn[disabled] { opacity: .5; cursor: progress; }

.give-card { background: var(--brand-grad); color: #fff; border: 0; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.give-card::before { content: ""; position: absolute; width: 320px; height: 320px; right: -110px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(224, 32, 111, .45), transparent 70%); }
.give-card > * { position: relative; }
.give-card > p { color: rgba(255, 255, 255, .86); }
.bank { margin: 12px 0 28px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: 6px 20px; }
.bank > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.bank > div:last-child { border-bottom: 0; }
.bank dt { color: rgba(255, 255, 255, .75); }
.bank dd { margin: 0; font-family: var(--font-display); font-weight: 700; text-align: right; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.give-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--navy-950); color: #fff; padding-block: clamp(64px, 8vw, 110px); position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 100% 50%, rgba(31, 79, 255, .45), transparent 70%), radial-gradient(40% 90% at 0% 100%, rgba(123, 47, 247, .3), transparent 70%); }
.final-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-sub { font-size: clamp(1.15rem, 2vw, 1.5rem); color: rgba(255, 255, 255, .82); margin: 18px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .8); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1fr; gap: 32px; }
.footer-wordmark { width: 220px; height: auto; }
.footer-partners { display: flex; gap: 14px; align-items: center; margin: 18px 0; }
.footer-partners img { height: 52px; width: auto; }
.site-footer h3 { font-size: .875rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer ul a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 6px 0; transition: color var(--dur-fast); }
.site-footer ul a:hover { color: #fff; }
.contact li { display: flex; align-items: center; gap: 10px; }
.contact a { word-break: break-word; }
.socials .ic { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(3, 7, 38, .94); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox::backdrop { background: rgba(3, 7, 38, .6); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 60px 8px; min-width: 0; }
.lightbox img { max-height: calc(100dvh - 160px); max-width: 100%; border-radius: 12px; object-fit: contain; }
.lightbox figcaption { font-family: var(--font-display); font-weight: 600; }
.lightbox .icon-btn { color: #fff; background: rgba(255, 255, 255, .1); margin: 12px; }
.lightbox .icon-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { position: absolute; top: 8px; right: 8px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 1100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--navy-900); color: #fff; padding: 14px 22px; border-radius: 12px; box-shadow: var(--shadow-lg); font-weight: 600; transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Registration page ---------- */
.page-hero .page-hero-inner { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 88px); }
.page-hero .hero-lede { max-width: 52ch; margin: 22px 0 32px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8); text-decoration: none; font-weight: 600; margin-bottom: 28px; padding: 8px 0; }
.back-link:hover { color: #fff; }
.reg-facts { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.reg-facts li { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.reg-facts .ic { color: #ffb37a; width: 22px; height: 22px; }
.reg-facts small { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); line-height: 1.2; }
.reg-facts strong { font-family: var(--font-display); font-weight: 700; }
.reg-countdown { display: flex; flex-wrap: wrap; gap: 8px 22px; color: rgba(255, 255, 255, .78); font-weight: 500; }
.reg-countdown strong { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: #fff; font-variant-numeric: tabular-nums; margin-right: 4px; }

.reg-section { padding-top: clamp(48px, 6vw, 80px); }
.reg-grid { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.reg-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.reg-aside .card { padding: 24px; border-radius: var(--radius); }
.reg-aside .eyebrow { margin-bottom: 14px; font-size: .8rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 14px; }
.step-num { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-display); font-weight: 800; }
.steps h2 { font-size: 1.05rem; letter-spacing: -0.01em; margin: 5px 0 4px; }
.steps p { margin: 0; color: var(--text-muted); font-size: .95rem; line-height: 1.5; }
.checklist, .help-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li, .help-list li { display: flex; align-items: center; gap: 10px; }
.checklist .ic { color: #138a4f; width: 20px; height: 20px; }
:root[data-theme="dark"] .checklist .ic { color: #5be39b; }
.help-list .ic { color: var(--accent); width: 20px; height: 20px; }
.help-list a { text-decoration: none; word-break: break-word; }
.help-list a:hover { color: var(--primary); }
.reg-help .text-link { margin: 16px 0 0; }

.form-card { background: var(--surface); padding: clamp(20px, 3vw, 36px); }
.form-card-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.form-card-head .card-kicker { margin-bottom: 6px; }
.form-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--border); min-height: 600px; }
.form-frame iframe { display: block; width: 100%; height: 1500px; border: 0; position: relative; z-index: 1; opacity: 0; transition: opacity var(--dur) ease; }
.form-frame.is-loaded iframe { opacity: 1; }
.form-frame.is-loaded .form-skeleton { display: none; }
.form-skeleton { position: absolute; inset: 0; padding: 32px; display: grid; gap: 18px; align-content: start; }
.form-skeleton span { display: block; height: 56px; border-radius: 12px; background: linear-gradient(90deg, #eef1fa 25%, #e1e6f6 50%, #eef1fa 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.form-skeleton span:first-child { height: 120px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.form-fallback { margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--primary) 7%, transparent); border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent); color: var(--text-muted); font-size: .98rem; }
.form-fallback a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; }
.form-fallback .ic { width: 16px; height: 16px; }

/* ---- Registration wizard ---- */
#step-heading:focus { outline: none; }
.req-note { margin: 0; color: var(--text-muted); font-size: .92rem; }
.stepper { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; counter-reset: s; }
.stepper li { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 4px solid var(--border); color: var(--text-muted); font-family: var(--font-display); font-weight: 600; font-size: .95rem; transition: border-color var(--dur), color var(--dur); }
.stepper-dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--border); font-weight: 800; font-size: .9rem; flex-shrink: 0; background: var(--surface); }
.stepper li.is-current { border-color: var(--primary); color: var(--text); }
.stepper li.is-current .stepper-dot { border-color: var(--primary); background: var(--primary); color: #fff; }
.stepper li.is-done { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); color: var(--text); }
.stepper li.is-done .stepper-dot { border-color: var(--primary); color: var(--primary); }

.reg-form .step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step-intro { color: var(--text-muted); margin: -6px 0 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field-full { grid-column: 1 / -1; }
.reg-form .field { margin: 0; min-width: 0; }
.reg-form fieldset.field { border: 0; padding: 0; }
.reg-form fieldset.choice-group { margin-bottom: 26px; }
.reg-form legend, .label-like { display: block; font-weight: 600; margin-bottom: 8px; padding: 0; }
.hint { color: var(--text-muted); font-size: .95rem; margin: -4px 0 12px; }
.reg-form .field-error:empty { display: none; }
.has-error > input, input.has-error { border-color: #d92d4b !important; }

.segmented { display: inline-flex; flex-wrap: wrap; gap: 10px; }
.chips, .swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.segmented label, .chips label, .swatches label { position: relative; cursor: pointer; }
.segmented input, .chips input, .swatches input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span, .chips span, .swatches span {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 18px;
  border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface); font-weight: 600;
  transition: border-color var(--dur-fast), background-color var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-fast);
}
.segmented span { min-width: 120px; justify-content: center; }
.chips span { border-radius: 999px; }
.segmented label:hover span, .chips label:hover span, .swatches label:hover span { border-color: var(--primary); }
.segmented input:checked + span, .chips input:checked + span, .swatches input:checked + span {
  border-color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, var(--surface)); color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}
:root[data-theme="dark"] .segmented input:checked + span,
:root[data-theme="dark"] .chips input:checked + span,
:root[data-theme="dark"] .swatches input:checked + span { color: #fff; }
.segmented input:focus-visible + span, .chips input:focus-visible + span, .swatches input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.has-error .segmented span, .has-error .chips span, .has-error .swatches span { border-color: color-mix(in srgb, #d92d4b 60%, var(--border)); }
.swatches i { width: 22px; height: 22px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.other-input { margin-top: 12px; width: 100%; max-width: 420px; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); font: inherit; }
.other-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.check-inline { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-weight: 500; padding: 12px 0; }
.check-inline input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.consent { margin-top: 8px; padding: 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); display: flex; }

.dropzone { display: grid; place-items: center; min-height: 150px; max-width: 420px; border: 2px dashed var(--border); border-radius: var(--radius); background: var(--surface-2); cursor: pointer; overflow: hidden; transition: border-color var(--dur-fast); }
.dropzone:hover { border-color: var(--primary); }
#f-photo:focus-visible + .dz-remove, .dropzone:focus-within { outline: 3px solid var(--blue-500); }
.dz-text { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 24px; text-align: center; color: var(--text-muted); }
.dz-text .ic { width: 30px; height: 30px; color: var(--primary); margin-bottom: 6px; }
.dz-text strong { color: var(--text); }
.dz-preview { width: 100%; max-height: 280px; object-fit: cover; }
.text-btn { background: none; border: 0; padding: 10px 0; color: var(--accent); font-weight: 700; cursor: pointer; }

.error-summary { margin-bottom: 24px; padding: 16px 20px; border-radius: 12px; border: 1.5px solid #d92d4b; background: color-mix(in srgb, #d92d4b 7%, var(--surface)); }
.error-summary p { margin: 0 0 6px; }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { color: #b3203d; font-weight: 600; }
:root[data-theme="dark"] .error-summary a { color: #ff8095; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-nav { display: flex; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.form-nav [data-next], .form-nav [data-submit] { margin-left: auto; }
.form-nav [data-prev]:not([hidden]) ~ .autosave-note { margin-left: 0; }
.autosave-note { margin: 0; font-size: .88rem; color: var(--text-muted); }
.form-status { margin: 14px 0 0; color: #d92d4b; font-weight: 600; }
.form-status:empty { display: none; }

.reg-success { text-align: center; padding: clamp(24px, 5vw, 56px) clamp(8px, 3vw, 32px); display: flex; flex-direction: column; align-items: center; }
.reg-success:focus { outline: none; }
.success-badge { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: color-mix(in srgb, #19a463 14%, transparent); color: #19a463; margin-bottom: 20px; }
.success-badge .ic { width: 38px; height: 38px; stroke-width: 2.5; }
.reg-success h2 { margin-bottom: 14px; }
.reg-success .muted { max-width: 46ch; margin-bottom: 26px; }
.btn-whatsapp { background: #128c4a; color: #fff; }
.btn-whatsapp:hover { background: #0e743d; }
.reg-success .fine { margin: 18px 0 8px; }
.reg-success .text-link { margin: 0; }

@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
  .stepper-label { display: none; }
  .stepper li { justify-content: center; }
  .stepper li.is-current .stepper-label { display: inline; }
  .stepper { grid-template-columns: auto auto auto; }
  .segmented { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .segmented span { min-width: 0; width: 100%; }
  .form-nav { flex-wrap: wrap; }
  .autosave-note { order: 3; width: 100%; text-align: center; }
  .form-nav .btn { flex: 1; }
}

.footer-bottom-solo { margin-top: 0; border-top: 0; padding-block: 32px; }
.footer-mini-brand { display: flex; align-items: center; gap: 14px; }
.footer-mini-brand .footer-wordmark { width: 150px; }
.footer-mini-brand img:not(.footer-wordmark) { height: 40px; width: auto; }

@media (max-width: 960px) {
  .reg-grid { grid-template-columns: 1fr; }
  .reg-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); order: 2; }
  .form-card { order: 1; }
}
@media (max-width: 640px) {
  .form-card { padding: 20px 16px; border-radius: var(--radius); }
  .form-card-head { padding: 8px 6px 0; }
  .form-card-head .btn { width: 100%; }
  .form-frame iframe { height: 1800px; }
  .reg-facts li { flex: 1 1 100%; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-grid .card-highlight { grid-column: span 2; }
  .expect-grid, .init-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .section-head.split, .expect-head { grid-template-columns: 1fr; }
  .section-intro { justify-self: start; }
  .convener, .visit-grid, .involve-grid { grid-template-columns: 1fr; }
  .convener-photo { aspect-ratio: 4 / 3.4; }
  .testi-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  body { font-size: 1rem; }
  .brand-wordmark { height: 32px; }
  .brand-bof { height: 30px; }
  .about-grid, .expect-grid, .init-grid, .mini-cards { grid-template-columns: 1fr; }
  .about-grid .card-highlight { grid-column: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { flex-direction: column; gap: 8px; padding: 14px; }
  .hero-ctas .btn { width: 100%; }
  .countdown-card { padding: 24px 20px; }
  .cd-label { font-size: .65rem; letter-spacing: .1em; }
  .gallery-grid { grid-auto-rows: 150px; gap: 10px; }
  .g-wide { grid-column: span 2; }
  .g-item span { font-size: .85rem; left: 12px; bottom: 10px; }
  .info-list > div { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .years-controls p { display: none; }
  .final-inner .btn { width: 100%; }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { position: absolute; bottom: 12px; }
  .lb-prev { left: 12px; } .lb-next { right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
