/* ============================================================
   Springfield Soccer Center — homepage
   Palette: deep navy / near-black + SYC orange energy accent
   Display: Oswald (condensed) · Body: Inter
   ============================================================ */

:root {
  /* surfaces */
  --ink:      #0a1422;   /* primary navy base */
  --ink-2:    #060b13;   /* near-black alt sections */
  --ink-3:    #0d1b2a;   /* navy (logo) */
  --card:     #0b1119;   /* card surface */
  --card-hi:  #111a26;   /* card hover */

  /* accent */
  --accent:        #f26200;  /* SYC orange */
  --accent-bright: #ff7d1f;
  --accent-deep:   #c44e00;

  /* ink lines + text */
  --line:    rgba(255,255,255,0.09);
  --line-2:  rgba(255,255,255,0.16);
  --text:    #ffffff;
  --muted:   #9aa7b6;
  --muted-2: #6c7886;

  --font-oswald: 'Oswald', system-ui, sans-serif;
  --font-inter: 'Inter', system-ui, sans-serif;
  --font-display: var(--font-oswald);
  --font-body: var(--font-inter);

  --maxw: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --grain: 0.5;   /* atmosphere intensity, set by tweaks */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* ---- Brand scrollbars (navy track · orange-accent thumb) ---- */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-deep) var(--ink-2);
}
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track {
  background: var(--ink-2);
  border-left: 1px solid var(--line);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--accent-deep), var(--accent));
  border: 3px solid var(--ink-2);
  border-radius: 10px;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--accent), var(--accent-bright));
  background-clip: content-box;
}
::-webkit-scrollbar-corner { background: var(--ink-2); }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* film grain overlay across the whole page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: calc(0.06 * var(--grain));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

/* shared type roles ----------------------------------------- */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}
.display {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.92;
  color: var(--text);
}
.display .o { color: var(--accent); }

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  max-width: 56ch;
}

/* buttons --------------------------------------------------- */
.btn {
  --pad: 17px 30px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: var(--pad);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 0;
  border-radius: 2px;
  transition: transform .25s var(--ease), background .2s var(--ease),
              box-shadow .25s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(242,98,0,.7);
}
.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -10px rgba(242,98,0,.85);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--line-2);
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,.04);
  transform: translateY(-2px);
}
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background .3s var(--ease), backdrop-filter .3s var(--ease),
              border-color .3s var(--ease), padding .3s var(--ease);
  border-bottom: 1px solid transparent;
  padding: 22px 0;
}
.nav.scrolled {
  background: rgba(6,11,19,.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
  padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.brand .mark {
  width: 44px; height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.45));
  flex-shrink: 0;
}
.nav-wordmark {
  height: 40px;
  width: auto;
  display: block;
}
.brand .o { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s var(--ease);
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -7px;
  height: 2px; background: var(--accent); transition: right .25s var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: #fff; }
.nav-links a:not(.nav-cta):hover::after { right: 0; }
.nav-cta {
  color: #fff !important;
  background: var(--accent);
  padding: 11px 22px;
  border-radius: 2px;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.nav-cta:hover { background: var(--accent-bright); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg image-slot { width: 100%; height: 100%; }
/* default cinematic backdrop behind/around any dropped photo */
.hero-fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, #16324d 0%, #0a1726 45%, #060b13 100%);
}
/* sweeping stadium light */
.hero-fallback::before {
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(40% 50% at 50% -5%, rgba(120,180,255,.18), transparent 70%);
  animation: sweep 9s ease-in-out infinite alternate;
}
@keyframes sweep {
  from { transform: translateX(-8%) }
  to   { transform: translateX(8%) }
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,11,19,.55) 0%, rgba(6,11,19,.1) 28%, rgba(6,11,19,.35) 58%, rgba(6,11,19,.96) 100%),
    linear-gradient(90deg, rgba(6,11,19,.7) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw);
  margin: 0 auto; padding: 0 40px 9vh;
}
.hero h1 {
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.98;
}
.hero h1 .line { display: block; }
.hero h1 .line span { display: block; }
.hero .lead { margin-top: 30px; font-size: clamp(17px, 1.7vw, 22px); }
.hero-cta { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }

/* ============================================================
   LEAGUE AFFILIATIONS
   ============================================================ */
.affil {
  position: relative;
  padding: clamp(56px, 8vw, 100px) 0 0;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: none;
  overflow: hidden;
}
.affil::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 60% at 50% -10%, rgba(242,98,0,0.09), transparent 55%);
}
.affil-head {
  position: relative; text-align: center;
  max-width: 780px; margin: 0 auto clamp(24px, 3vw, 36px);
}
.affil-title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.02em; line-height: 1.02;
  font-size: clamp(26px, 3.5vw, 44px);
  margin-top: 16px; text-wrap: balance;
}
.affil-title .o { color: var(--accent); }

/* ── Marquee strip ── */
.affil-marquee-wrap {
  position: relative;
  overflow: hidden;
  padding: 36px 0 48px;
  /* edge fade */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.affil-marquee-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.affil-marquee-wrap:hover .affil-marquee-track {
  animation-play-state: paused;
}
.affil-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.affil-logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  filter: brightness(1.1);
  transition: opacity .3s ease, transform .3s ease;
}
.affil-logo:hover img {
  opacity: 1;
  transform: scale(1.08);
}
/* Bump the Girls Academy badge so it reads at the same visual size as the others */
.affil-logo img[src$="girls-academy.png"] { height: 96px; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .affil-marquee-track { animation: none; }
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
section { position: relative; }
.band { padding: clamp(80px, 11vw, 150px) 0; }
.band-alt { background: var(--ink-2); }
.sec-head { max-width: 760px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head h2 { font-size: clamp(38px, 6vw, 78px); margin-top: 16px; }
.sec-head p { margin-top: 20px; }
.sec-head.center p { margin-left: auto; margin-right: auto; }

/* ============================================================
   PROGRAM FINDER
   ============================================================ */
.finder-intro .finder-panel { margin-top: clamp(34px, 4vw, 48px); }

/* ── Two-step selector: age group, then player type. Tight spacing, no box. ── */
.finder-panel {
  padding: 0; margin-bottom: clamp(46px, 6vw, 78px);
  display: flex; flex-direction: column; gap: clamp(22px, 3vw, 36px);
}
.fstep { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.finder-panel .age-tabs { margin: 0 auto; }
.finder-panel .identity { margin: 0; width: 100%; display: flex; flex-direction: column; }

/* ── Segmented pill tab bar ── */
.age-tabs {
  position: relative;
  display: flex; width: max-content; max-width: 100%;
  overflow-x: auto; scrollbar-width: none;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
}
.age-tabs::-webkit-scrollbar { display: none; }
.age-ind {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 0;
  border-radius: 999px;
  background: var(--accent);
  transition: transform .42s var(--ease), width .42s var(--ease);
  z-index: 0;
}
.age-tab {
  position: relative; z-index: 1;
  background: none; border: 0; cursor: pointer;
  padding: 11px clamp(18px, 2.6vw, 32px);
  border-radius: 999px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-family: var(--font-display);
  color: var(--muted);
  transition: color .3s var(--ease);
}
.age-tab .t-label { font-weight: 800; font-size: clamp(14px, 1.5vw, 17px); letter-spacing: .04em; text-transform: uppercase; }
.age-tab .t-sub { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--muted-2); transition: color .3s var(--ease); }
.age-tab:not(:first-child)::before {
  content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px;
  background: var(--line); transition: opacity .3s var(--ease);
}
.age-tab.active::before, .age-tab.active + .age-tab::before { opacity: 0; }
.age-tab:hover { color: #fff; }
.age-tab.active { color: #fff; }
.age-tab.active .t-sub { color: rgba(255,255,255,.82); }

.age-hint { text-align: center; color: var(--muted-2); font-size: 13px; letter-spacing: .04em; margin-bottom: 30px; }

/* ── Player-identity cards (independent filter) ── */
.identity { margin: 0 0 42px; }
.identity-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 16px;
}
.identity-label {
  font-family: var(--font-display); font-size: 11px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--muted-2);
}
.identity-clear {
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  background: none; border: 0; cursor: pointer; padding: 4px 2px;
  display: inline-flex; align-items: center; gap: 7px;
  transition: color .2s var(--ease);
}
.identity-clear span { font-size: 15px; line-height: 0; }
.identity-clear:hover { color: var(--accent-bright); }
.identity-clear[hidden] { display: none; }

/* Expanding-flex identity selector — the active card (hovered, or selected when
   nothing is hovered) grows; the rest collapse to slivers. */
.identity-cards { display: flex; gap: 12px; height: 360px; }

.ident-card {
  position: relative; overflow: hidden; cursor: pointer;
  border-radius: 14px; min-width: 0; flex: 1 1 0;
  border: 1px solid var(--line);
  transition: flex .7s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
/* active = hovered, or selected while nothing else is hovered */
.ident-card.is-selected { flex: 2.4 1 0; }
.identity-cards .ident-card:hover { flex: 2.4 1 0; }
.identity-cards:hover .ident-card.is-selected:not(:hover) { flex: 1 1 0; }

.ident-img {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center 26%;
  transition: transform .7s var(--ease);
}
/* Image zoom only on real desktop (hover-capable, wide). Never on touch widths. */
@media (min-width: 901px) {
  .ident-card:hover .ident-img,
  .ident-card.is-selected .ident-img { transform: scale(1.04); }
}

/* overlays sit above the image but never block clicks reaching the card */
.ident-scrim, .ident-glow, .ident-dot, .ident-body { pointer-events: none; }
.ident-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,10,13,.94) 6%, rgba(7,24,39,.55) 48%, rgba(7,24,39,.12) 100%);
  transition: opacity .5s var(--ease);
}
.ident-glow {
  position: absolute; left: 0; right: 0; bottom: 0; height: 50%;
  background: linear-gradient(to top, rgba(242,98,0,.32), transparent);
  opacity: 0; transition: opacity .5s var(--ease);
}
.ident-dot {
  position: absolute; top: 16px; right: 16px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 14px 1px rgba(242,98,0,.7);
  opacity: 0; transform: scale(.5); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.ident-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 22px; }
.ident-range {
  font-family: var(--font-mono, var(--font-body)); font-size: 10px; letter-spacing: .25em;
  text-transform: uppercase; color: var(--accent); opacity: .9; margin-bottom: 10px;
  white-space: nowrap;
}
.ident-title {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(18px, 1.55vw, 23px);
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.05; color: #fff;
}
/* description + CTA revealed only when the card is active */
.ident-extra {
  overflow: hidden; max-height: 0; opacity: 0; margin-top: 0;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin-top .5s var(--ease);
}
.ident-desc {
  color: var(--muted); font-size: 13px; line-height: 1.55; width: 300px; max-width: 78vw;
}
.ident-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 15px;
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent); white-space: nowrap;
}
.ident-cta .arr { transition: transform .3s var(--ease); }
.ident-card:hover .ident-cta .arr { transform: translateX(4px); }

.ident-card:hover .ident-extra,
.ident-card.is-selected .ident-extra { max-height: 170px; opacity: 1; margin-top: 13px; }
.identity-cards:hover .ident-card.is-selected:not(:hover) .ident-extra { max-height: 0; opacity: 0; margin-top: 0; }

/* selected */
.ident-card.is-selected {
  border-color: rgba(242,98,0,.55);
  box-shadow: inset 0 0 60px rgba(242,98,0,.12), 0 18px 44px -20px rgba(242,98,0,.55);
}
.ident-card.is-selected .ident-glow { opacity: 1; }
.ident-card.is-selected .ident-dot { opacity: 1; transform: scale(1); }

/* disabled (no programs for the current age group) */
.ident-card.is-disabled {
  cursor: default; opacity: .4; filter: grayscale(.6);
  pointer-events: none; flex: 1 1 0; border-color: var(--line);
}
.ident-card.is-disabled .ident-img { transform: none; }

/* empty state when an identity has no programs for the chosen age */
.finder-empty {
  text-align: center; padding: clamp(40px, 6vw, 72px) 24px;
  border: 1px dashed var(--line-2); border-radius: 14px; margin-top: 8px;
}
.finder-empty p { color: var(--muted); font-size: 16px; }
.finder-empty strong { color: #fff; font-weight: 700; }
.finder-empty-btn {
  margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.finder-empty-btn:hover { color: var(--accent-bright); }

/* group-head count chip (used by the filtered identity view) */
.group-count {
  font-family: var(--font-display); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-2); white-space: nowrap; align-self: center;
}

/* ── Group headers ── */
.group-block { margin-top: 56px; }
.group-block:first-child { margin-top: 8px; }
.group-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 24px; flex-wrap: wrap; }
.group-head .glabel { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px,2.6vw,32px); text-transform: uppercase; letter-spacing: -0.01em; }
.group-head .glabel .o { color: var(--accent); }
.group-head .gtag {
  font-family: var(--font-display); font-size: 10.5px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--accent); padding: 5px 12px;
  border: 1px solid rgba(242,98,0,.35); border-radius: 2px;
}
.group-rule { flex: 1; height: 1px; background: var(--line); min-width: 40px; align-self: center; }

/* ── Editorial layout: lead (hero) + supporting grid ── */
.lead-card { margin-bottom: 18px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.pcard {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
  overflow: hidden;
}
/* top accent bar in the program's family color */
.pcard::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--fam, var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.pcard:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--fam, var(--accent)) 45%, var(--line-2));
  background: var(--card-hi);
  box-shadow: 0 24px 52px -28px rgba(0,0,0,.85);
}
.pcard:hover::after { transform: scaleX(1); }

/* banner header (now on every card) */
.pcard:not(.is-hero) > .pcard-media { position: relative; height: 152px; overflow: hidden; flex-shrink: 0; }
.pcard:not(.is-hero) > .pcard-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.pcard:not(.is-hero) > .pcard-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--card) 1%, rgba(11,17,25,.12) 46%, rgba(11,17,25,.5) 100%);
}
/* category pill — keeps the family icon */
.pcard-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase; color: #fff;
  padding: 6px 12px 6px 9px; border-radius: 999px;
  background: color-mix(in srgb, var(--fam, var(--accent)) 84%, #06101a);
  box-shadow: 0 4px 14px -4px rgba(0,0,0,.6);
}
.pcard-tag svg { width: 13px; height: 13px; flex: none; }

/* padded content area */
.pcard > .pcard-main { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard > .pcard-main > h3 { margin-bottom: 2px; }

/* family badge */
.pcard-badge {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  color: var(--fam, var(--accent));
  background: color-mix(in srgb, var(--fam, var(--accent)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--fam, var(--accent)) 35%, transparent);
  margin-bottom: 18px;
}
.pcard-badge svg { width: 22px; height: 22px; }

.pcat { font-family: var(--font-display); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fam, var(--accent)); margin-bottom: 9px; }
.pcard h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.04; color: #fff; }
.pcard > .pcard-main > h3 { font-size: 20px; }
.pcard p { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 11px; flex: 1; text-wrap: pretty; }

/* consolidated meta row with icon glyphs */
.pcard .meta {
  display: flex; flex-wrap: wrap; gap: 8px 15px;
  margin-top: 16px; margin-bottom: 18px; padding-top: 14px; border-top: 1px solid var(--line);
}
.pcard .meta .m {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 600; font-size: 11.5px;
  letter-spacing: .03em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.pcard .meta .m svg { width: 14px; height: 14px; color: var(--muted-2); flex: none; }
.pcard .meta .m-lead { color: #cdd6e0; }
.pcard .meta .m-lead svg { color: var(--fam, var(--accent)); }

.pcard-cta {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 800; font-size: 10.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  padding: 9px 15px; border-radius: 9px;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.pcard-cta .arr { transition: transform .25s var(--ease); }
.pcard:hover .pcard-cta {
  color: var(--accent-bright);
  border-color: color-mix(in srgb, var(--accent) 58%, transparent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.pcard:hover .pcard-cta .arr { transform: translateX(3px); }

/* ── Hero card (wide, photo-led) ── */
.pcard.is-hero {
  display: grid; grid-template-columns: minmax(260px, 44%) 1fr;
  padding: 0; min-height: 304px;
}
.pcard.is-hero::after { top: 0; left: 0; right: auto; bottom: 0; width: 3px; height: auto; transform: scaleY(0); transform-origin: top; }
.pcard.is-hero:hover::after { transform: scaleY(1); }
.pcard.is-hero .pcard-media { position: relative; overflow: hidden; }
.pcard.is-hero .pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.pcard.is-hero .pcard-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,17,25,0) 45%, var(--card) 99%),
              linear-gradient(to top, rgba(6,11,19,.5), transparent 50%);
}
.pcard.is-hero .pcard-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2; margin: 0;
  background: rgba(6,11,19,.5); backdrop-filter: blur(6px);
  border-color: color-mix(in srgb, var(--fam, var(--accent)) 55%, transparent);
  color: #fff;
}
.pcard-flag {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  font-family: var(--font-display); font-weight: 700; font-size: 10px;
  letter-spacing: .2em; text-transform: uppercase; color: #fff;
  background: var(--fam, var(--accent)); padding: 6px 13px; border-radius: 999px;
}
.pcard.is-hero .pcard-main { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.pcard.is-hero .pcat { font-size: 11px; margin-bottom: 12px; }
.pcard.is-hero h3 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1; }
.pcard.is-hero p { font-size: 15.5px; line-height: 1.6; max-width: 52ch; margin-top: 14px; flex: 0 1 auto; }
.pcard.is-hero .meta { margin-top: 22px; }
.pcard.is-hero .pcard-cta { margin-top: 24px; }

/* Hero card now lives inside the grid — spans the full row on desktop so the
   featured layout reads exactly as before (big card on top, grid beneath). */
.card-grid.has-hero .pcard.is-hero { grid-column: 1 / -1; }
/* show short descriptions on every program card */
.pcard:not(.is-hero) .pcard-desc {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 11px;
  flex: 1;
  text-wrap: pretty;
}

/* swipe affordance — only shown on the mobile scroll lane */
.swipe-hint { display: none; }

/* ── Tablet ── */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  /* Identity cards: two-column grid; description reveals on tap (select) only.
     Card stays a FIXED size — the body is anchored to the bottom so revealing
     the subtext simply pushes the title upward (no resizing, no image zoom). */
  .identity-cards { display: grid; grid-template-columns: 1fr 1fr; height: auto; gap: 12px; }
  .ident-card,
  .ident-card.is-selected,
  .identity-cards .ident-card:hover { flex: none; height: 256px; }
  .ident-card .ident-img,
  .ident-card:hover .ident-img,
  .ident-card.is-selected .ident-img { transform: none !important; transition: none !important; object-position: center 22%; }
  /* Subtext reveals ONLY on select (tap/click) — never on hover — at touch widths */
  .identity-cards .ident-card .ident-extra { max-height: 0 !important; opacity: 0 !important; margin-top: 0 !important; }
  .identity-cards .ident-card.is-selected .ident-extra { max-height: 150px !important; opacity: 1 !important; margin-top: 11px !important; }
  .pcard.is-hero { grid-template-columns: 1fr; min-height: 0; }
  .pcard.is-hero .pcard-media { height: 200px; }
  .pcard.is-hero .pcard-media img { object-position: center 30%; }
  .pcard.is-hero .pcard-media::after { background: linear-gradient(to top, var(--card), transparent 55%); }
  .pcard.is-hero h3 { font-size: clamp(26px, 6vw, 34px); }
  /* Culture values: 2×2 grid on tablet */
  .values { display: grid; grid-template-columns: 1fr 1fr; gap: 46px 24px; margin-top: 50px; max-width: 540px; margin-left: auto; margin-right: auto; }
  .value { max-width: none; }
}

/* ── Mobile: program cards become a hero-style swipe lane ── */
@media (max-width: 640px) {
  .card-grid,
  .card-grid.has-hero {
    display: flex; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -22px; padding: 6px 22px 14px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    /* fade the right edge so it's obvious more cards continue off-screen */
    -webkit-mask-image: linear-gradient(to right, #000 86%, transparent 100%);
    mask-image: linear-gradient(to right, #000 86%, transparent 100%);
  }
  .card-grid::-webkit-scrollbar { display: none; }
  .card-grid .pcard { flex: 0 0 84%; scroll-snap-align: start; }
  /* every card shows its description — uniform, rich "hero-style" cards */
  .pcard:not(.is-hero) .pcard-desc { display: block; }
  .pcard .pcard-desc { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin-top: 10px; text-wrap: pretty; }
  /* description sits at the TOP under the title; the age/schedule meta divider
     stays pinned to the bottom of the card */
  .pcard.is-hero .pcard-main { justify-content: flex-start; padding: 20px; }
  .pcard.is-hero p { flex: 0 0 auto; margin-top: 9px; }
  .pcard.is-hero .meta { margin-top: auto; margin-bottom: 16px; }
  .pcard.is-hero .pcard-cta { margin-top: 0; }

  /* swipe affordance under each lane */
  .swipe-hint {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    margin-top: 4px;
    font-family: var(--font-display); font-weight: 700; font-size: 11px;
    letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2);
  }
  .swipe-hint .sh-track { display: inline-flex; color: var(--accent); animation: swipeNudge 1.6s var(--ease) infinite; }
  .swipe-hint svg { width: 22px; height: 22px; }

  /* identity cards a touch shorter on phones */
  .ident-card,
  .ident-card.is-selected { height: 244px; }
  .ident-title { font-size: 17px; }
  .ident-desc { width: auto; font-size: 12.5px; }

  /* ── Reimagined mobile age selector: tappable chips, no cramped slider ── */
  .age-tabs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 9px;
    width: 100%; max-width: 100%; overflow: visible;
    background: none; border: 0; padding: 0; border-radius: 0;
  }
  .age-ind { display: none; }
  .age-tab {
    border: 1px solid var(--line-2); border-radius: 13px;
    background: var(--card); padding: 15px 12px; min-height: 52px;
    justify-content: center;
    transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  }
  .age-tab:first-of-type { order: 9; grid-column: 1 / -1; justify-self: center; padding-left: 28px; padding-right: 28px; }
  .age-tab:not(:first-child)::before { display: none; }
  .age-tab .t-label { font-size: 15px; }
  .age-tab.active {
    background: var(--accent); border-color: var(--accent); color: #fff;
    box-shadow: 0 10px 24px -12px rgba(242,98,0,.8);
  }
}
@keyframes swipeNudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(5px); } }

/* ============================================================
   YEAR-ROUND DEVELOPMENT (About anchor)
   ============================================================ */
.dev-grid { display: grid; grid-template-columns: minmax(300px, 430px) 1fr; gap: clamp(56px, 7vw, 112px); align-items: center; }

/* --- Reel coverflow (3 overlapping reels) --- */
.reel-carousel { position: relative; width: 100%; }
.reel-coverflow {
  position: relative; width: 100%;
  aspect-ratio: 78 / 100;     /* tall enough for the front 9:16 reel */
  perspective: 1500px;
  touch-action: pan-y;
}
.reel-slide {
  position: absolute; top: 50%; left: 50%;
  width: 70%; aspect-ratio: 9 / 16;
  border-radius: 14px; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #16324d, #07101c 70%);
  box-shadow: 0 40px 90px -34px rgba(0,0,0,.85), 0 0 0 1px var(--line);
  transform-origin: center center;
  transform: translate(-50%, -50%);
  transition: transform .55s var(--ease), opacity .55s var(--ease), filter .55s var(--ease);
  cursor: pointer;
}
.reel-slide.is-center { cursor: default; }
.reel-slide::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 110px rgba(0,0,0,.5); pointer-events: none; z-index: 2; }
.reel-slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-slide:not(.is-center) .reel-tag { opacity: 0; }
.reel-slide:not(.is-center) .reel-drop { pointer-events: none; }
/* declutter peeking reels: keep only the play icon, hide the instructions */
.reel-slide:not(.is-center) .reel-drop b,
.reel-slide:not(.is-center) .reel-drop span:not(.ico),
.reel-slide:not(.is-center) .reel-drop code { opacity: 0; }
.reel-tag { transition: opacity .4s var(--ease); }

/* play overlay + mute toggle — only on the loaded, centered reel */
.reel-play, .reel-mute {
  position: absolute; z-index: 6; cursor: pointer; color: #fff;
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), background .2s var(--ease),
              transform .2s var(--ease), border-color .2s var(--ease);
}
.reel-play {
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(6,11,19,.5); border: 1.5px solid rgba(255,255,255,.6);
  backdrop-filter: blur(6px); padding-left: 4px;
}
.reel-play:hover { background: var(--accent); border-color: var(--accent); transform: translate(-50%, -50%) scale(1.06); }
.reel-mute {
  bottom: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(6,11,19,.55); border: 1px solid var(--line-2); backdrop-filter: blur(6px);
}
.reel-mute:hover { background: var(--accent); border-color: var(--accent); }
/* visibility: video loaded + this slide is the centered one */
.reel-slide.has-video.is-center:not(.is-playing) .reel-play { opacity: 1; pointer-events: auto; }
.reel-slide.has-video.is-center .reel-mute { opacity: 1; pointer-events: auto; }
/* mute/unmute icon swap driven by the carousel's sound state */
.reel-mute .ic-unmuted { display: none; }
#reelCarousel.sound-on .reel-mute .ic-muted { display: none; }
#reelCarousel.sound-on .reel-mute .ic-unmuted { display: block; }

.reel-count {
  position: absolute; top: 14px; right: 14px; z-index: 20;
  font-family: var(--font-display); font-size: 12px; letter-spacing: 0.14em;
  color: rgba(255,255,255,.75); background: rgba(0,0,0,.42); backdrop-filter: blur(6px);
  padding: 6px 11px; border-radius: 40px; pointer-events: none;
}
.reel-count .cur { color: #fff; }

.reel-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 15;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: #fff;
  background: rgba(6,11,19,.55); border: 1px solid var(--line-2); backdrop-filter: blur(6px);
  transition: background .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.reel-nav.prev { left: -4px; }
.reel-nav.next { right: -4px; }
.reel-nav:hover { background: var(--accent); border-color: var(--accent); }
.reel-nav.prev:hover { transform: translateY(-50%) translateX(-2px); }
.reel-nav.next:hover { transform: translateY(-50%) translateX(2px); }

.reel-dots { display: flex; justify-content: center; gap: 9px; margin-top: 22px; }
.reel-dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0; cursor: pointer;
  background: var(--line-2); border: 0;
  transition: background .25s var(--ease), width .3s var(--ease), border-radius .3s var(--ease);
}
.reel-dot:hover { background: var(--muted); }
.reel-dot.active { background: var(--accent); width: 24px; border-radius: 5px; }

.reel-tag {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(0,0,0,.4); backdrop-filter: blur(6px); padding: 7px 12px; border-radius: 40px;
  color: #fff;
}
.reel-tag .live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(242,98,0,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(242,98,0,.6)} 70%{box-shadow:0 0 0 10px rgba(242,98,0,0)} 100%{box-shadow:0 0 0 0 rgba(242,98,0,0)} }
.reel-drop {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; padding: 24px; cursor: pointer;
  color: var(--muted); font-size: 13px; line-height: 1.5;
}
.reel-drop.hide { display: none; }
.reel-drop .ico { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--accent); }
.reel-drop b { color: #fff; font-family: var(--font-display); letter-spacing: .1em; text-transform: uppercase; font-size: 14px; }
.reel-drop.dragover { background: rgba(242,98,0,.08); }
.reel-drop code { font-family: var(--font-body); font-size: 11.5px; color: var(--muted-2); }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; margin-top: 40px; }
.pillar h4 { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 8px; }
.pillar h4 .num { color: var(--accent); margin-right: 10px; font-size: 13px; }
.pillar p { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ============================================================
   CULTURE / ATMOSPHERE BAND
   ============================================================ */
.culture { text-align: center; }
.crest-mark {
  width: clamp(96px, 13vw, 138px);
  height: auto;
  margin: 0 auto 26px;
  filter: drop-shadow(0 8px 28px rgba(0,0,0,.5));
}
.values { display: flex; justify-content: center; gap: clamp(30px, 7vw, 90px); margin-top: 60px; flex-wrap: wrap; }
.value { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 180px; }
.value .ring {
  width: 70px; height: 70px; border-radius: 50%;
  display: grid; place-items: center; color: var(--accent);
  border: 1px solid rgba(242,98,0,.4); background: rgba(242,98,0,.06);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.value:hover .ring { transform: translateY(-4px); background: rgba(242,98,0,.14); }
.value h5 { font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; }
.value p { color: var(--muted); font-size: 13px; line-height: 1.5; }

/* ============================================================
   RENTALS
   ============================================================ */
.rentals-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px,5vw,72px); align-items: center; }
.rent-card {
  position: relative; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #16324d, #07101c 75%);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.8), 0 0 0 1px var(--line);
}
.rent-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.rent-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 15px; line-height: 1.5; }
.rent-list svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.rent-cta { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { text-align: center; background:
   radial-gradient(110% 120% at 50% 0%, #12283d 0%, #0a1422 45%, #060b13 100%); }
.final h2 { font-size: clamp(42px, 7vw, 92px); }
.final p { margin: 22px auto 40px; }
.final-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink-2); border-top: 1px solid var(--line); padding: 70px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { font-size: 20px; margin-bottom: 18px; }
.footer .foot-wordmark { width: 220px; max-width: 100%; height: auto; margin-bottom: 20px; }
.footer .tag { color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 30ch; }
.footer h6 { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 20px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { color: var(--muted); font-size: 14.5px; transition: color .2s var(--ease); }
.footer ul a:hover { color: var(--accent); }
/* Footer partners */
.footer .foot-partners {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Make sponsorship link match the other footer links */
.footer .foot-partners ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer .foot-partners li {
  margin: 0 0 10px;
}

.footer .foot-partners a {
  color: var(--muted);
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
}

.footer .foot-partners a:hover {
  color: #fff;
}

/* Larger partner logo placeholder */
.footer .partners {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  width: 100%;
}

.footer .partner-slot {
  width: 150px !important;
  height: 54px !important;
  max-width: 100%;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: .5;
  transition: opacity .3s var(--ease);
}

.footer .partner-slot:hover {
  opacity: .95;
}
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.foot-bottom span { color: var(--muted-2); font-size: 12.5px; letter-spacing: 0.04em; }
.footer .foot-brand .tag {
  max-width: 260px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.footer .foot-address {
  margin-top: 10px;
  max-width: 260px;
  color: var(--muted-2);
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 400;
}

.footer .foot-address a {
  color: inherit;
  text-decoration: none;
}

.footer .foot-address a:hover {
  color: var(--accent);
}


/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
/* Reveals are PURELY ADDITIVE: content is visible by default (opacity 1).
   The .in / .ready classes play a one-shot keyframe that animates FROM a
   hidden state up to the natural state. If JS never runs, content shows. */
/* Reveals are visible by default (opacity 1) so content shows even without JS.
   The instant JS runs it adds `.anim` to <html>, which pre-hides not-yet-
   revealed elements — this prevents the flash of a visible element snapping to
   hidden right as its entrance animation begins. */
.reveal { opacity: 1; }
html.anim .reveal:not(.in) { opacity: 0; }
html.anim .hero h1 .line span { opacity: 0; }
.reveal.in { animation: revealIn .8s var(--ease) both; }
.reveal.in[data-d="1"] { animation-delay: .08s; }
.reveal.in[data-d="2"] { animation-delay: .16s; }
.reveal.in[data-d="3"] { animation-delay: .24s; }
.reveal.in[data-d="4"] { animation-delay: .32s; }
@keyframes revealIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* Our Approach — two columns slide in from opposite sides, once on scroll */
.reveal.slide-l.in { animation: slideInLeft .85s var(--ease) both; }
.reveal.slide-r.in { animation: slideInRight .85s var(--ease) both; }
@keyframes slideInLeft  { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); }  to { opacity: 1; transform: none; } }

/* Culture values — each pillar staggers 100ms after the last */
.reveal.stagger.in { animation-delay: calc(var(--i, 0) * 100ms); }

/* Rentals — feature bullets slide in small from the right, 80ms stagger after 200ms */
.reveal.slide-rs.in { animation: slideInRightSm .6s var(--ease) both; }
@keyframes slideInRightSm { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.reveal.stagger-rent.in { animation-delay: calc(200ms + var(--i, 0) * 80ms); }

.hero h1 .line { display: block; overflow: visible; }
.hero h1 .line span { display: block; opacity: 1; }
.hero.ready h1 .line span { animation: heroIn 1s var(--ease) both; }
.hero.ready h1 .line span { animation-delay: .3s; }
.hero.ready h1 .line span.l2 { animation-delay: .42s; }
.hero.ready .reveal.in { animation-delay: .6s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: none; }
}

body.nomotion .reveal,
body.nomotion .hero h1 .line span { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
body.nomotion .hero-fallback::before { animation: none; }

@media (prefers-reduced-motion: reduce) {
  html.anim .reveal:not(.in),
  html.anim .hero h1 .line span { opacity: 1; }
  .reveal.in, .hero.ready h1 .line span { animation: none; opacity: 1; transform: none; filter: none; }
  .hero-fallback::before { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ============================================================
   PROGRAM CARD — clickable affordance
   ============================================================ */
.pcard { cursor: pointer; }
.pcard:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.pcard-more {
  margin-top: 18px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted-2);
  transition: color .25s var(--ease);
}
.pcard-more .arr { transition: transform .25s var(--ease); }
.pcard:hover .pcard-more { color: var(--accent); }
.pcard:hover .pcard-more .arr { transform: translateX(4px); }

/* ============================================================
   PROGRAM DETAIL LIGHTBOX
   ============================================================ */
.pmodal {
  position: fixed; inset: 0; z-index: 5000;
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.pmodal.open { opacity: 1; visibility: visible; }
.pmodal-backdrop {
  position: absolute; inset: 0;
  background: rgba(3,7,12,.72);
  backdrop-filter: blur(8px) saturate(1.1);
}
.pmodal-dialog {
  position: relative;
  width: min(880px, 100%);
  max-height: calc(100vh - 56px);
  background: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  overflow: hidden auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-deep) var(--card);
  box-shadow: 0 50px 120px -30px rgba(0,0,0,.9);
  transform: translateY(22px) scale(.98);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
  -webkit-overflow-scrolling: touch;
}
.pmodal.open .pmodal-dialog { transform: none; opacity: 1; }
.pmodal-dialog::-webkit-scrollbar { width: 10px; }
.pmodal-dialog::-webkit-scrollbar-track { background: var(--card); border-left: 1px solid var(--line); }
.pmodal-dialog::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--accent-deep), var(--accent));
  border: 3px solid var(--card);
  border-radius: 10px;
  background-clip: content-box;
}
.pmodal-dialog::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--accent), var(--accent-bright));
  background-clip: content-box;
}

.pmodal-close {
  position: absolute; top: 16px; right: 16px; z-index: 6;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(6,11,19,.55); color: #fff;
  border: 1px solid var(--line-2); backdrop-filter: blur(6px);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.pmodal-close:hover { background: var(--accent); border-color: var(--accent); transform: rotate(90deg); }

/* banner */
.pmodal-banner {
  position: relative;
  height: clamp(190px, 30vw, 280px);
  background: radial-gradient(120% 90% at 50% 0%, #16324d, #07101c 75%);
}
.pmodal-banner image-slot,
.pmodal-banner-media { position: absolute; inset: 0; width: 100%; height: 100%; }
.pm-banner-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
}
.pmodal-banner-scrim {
  position: absolute; inset: 0;
  pointer-events: none;
  /* Two stops: a gentle overall darkening so a bright photo never blows
     out, plus a strong bottom base that the caption text sits on. */
  background:
    linear-gradient(180deg,
      rgba(6,11,19,0) 0%,
      rgba(6,11,19,.12) 38%,
      rgba(6,11,19,.62) 74%,
      var(--ink) 100%);
}
.pmodal-banner-cap .pcat { text-shadow: 0 1px 12px rgba(6,11,19,.7); }
.pmodal-banner-cap h2 { text-shadow: 0 2px 18px rgba(6,11,19,.75), 0 1px 3px rgba(6,11,19,.6); }
.pmodal-banner-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  padding: 0 clamp(28px,4vw,44px) 22px;
}
.pmodal-banner-cap .pcat {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.pmodal-banner-cap h2 {
  font-size: clamp(28px, 4.6vw, 50px); line-height: .96;
}
.pm-age {
  margin-top: 12px;
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-weight: 700;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: rgba(242,98,0,.18); border: 1px solid rgba(242,98,0,.45);
  padding: 6px 13px; border-radius: 40px;
}

/* body grid */
.pmodal-body {
  display: grid; grid-template-columns: 248px 1fr;
  gap: clamp(28px, 4vw, 48px);
  padding: clamp(28px,4vw,40px) clamp(28px,4vw,44px) 8px;
}

/* facts panel */
.pm-facts {
  align-self: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 20px;
  position: sticky; top: 24px;
}
.pm-fact {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 0;
}
.pm-fact + .pm-fact { border-top: 1px solid var(--line); }
.pm-fact-l {
  font-family: var(--font-display); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted-2);
}
.pm-fact-v {
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  letter-spacing: -0.01em; color: #fff; line-height: 1.2;
}

/* content */
.pm-content { min-width: 0; }
.pm-content .pm-lead {
  font-size: 18px; line-height: 1.6; color: #d7dee6; font-weight: 500;
  text-wrap: pretty; margin-bottom: 26px;
}
.pm-content .pm-h {
  font-family: var(--font-display); font-weight: 800; font-size: 14px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
  margin: 30px 0 14px;
}
.pm-content p {
  color: var(--muted); font-size: 15.5px; line-height: 1.65;
  margin-bottom: 16px; text-wrap: pretty;
}
.pm-list { list-style: none; display: grid; gap: 11px; margin: 4px 0 20px; }
.pm-list li {
  position: relative; padding-left: 30px;
  color: #c3cdd8; font-size: 15px; line-height: 1.5;
}
.pm-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}
.pm-content .pm-tagline {
  margin-top: 34px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(22px, 2.7vw, 30px); letter-spacing: -0.01em;
  text-transform: uppercase; line-height: 1.12;
  color: #fff; padding-left: 22px; border-left: 3px solid var(--accent);
}

/* footer */
.pmodal-foot {
  position: sticky; bottom: 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  margin-top: 18px;
  padding: 20px clamp(28px,4vw,44px);
  background: rgba(6,11,19,.9); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.pm-foot-note { color: var(--muted); font-size: 13.5px; }
.pm-foot-note[hidden] { display: none; }
#pmRegister[hidden] { display: none !important; }

.foot-address {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.foot-address a {
  color: inherit;
  text-decoration: none;
}

.foot-address a:hover {
  color: var(--accent);
}

/* Notify / waitlist capture module (footer) */
.pm-notify-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px 28px; flex-wrap: wrap; width: 100%;
}
.pm-notify-wrap[hidden] { display: none; }
.pm-notify-lead { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1 1 240px; }
.pm-notify-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.pm-notify-eyebrow svg { width: 17px; height: 17px; flex-shrink: 0; }
.pm-notify-note { font-size: 13.5px; color: var(--muted); line-height: 1.45; max-width: 440px; }
.pm-notify { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.pm-notify[hidden] { display: none; }
.pm-notify input[type="email"] {
  font-family: var(--font-body); font-size: 14.5px; color: #fff;
  background: var(--card); border: 1px solid var(--line-2);
  border-radius: 8px; padding: 12px 14px; width: 230px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.pm-notify input[type="email"]::placeholder { color: var(--muted-2); }
.pm-notify input[type="email"]:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242,98,0,.16);
}
.pm-botcheck { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.pm-notify-success { display: flex; align-items: center; gap: 12px; width: 100%; font-family: var(--font-body); font-size: 14px; color: var(--muted); }
.pm-notify-success[hidden] { display: none; }
.pm-notify-check {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%;
  background: #1f9a5b; color: #fff; display: grid; place-items: center;
}
.pm-notify-check svg { width: 18px; height: 18px; }
.pm-notify-msg { max-width: 460px; line-height: 1.45; }

body.modal-open { overflow: hidden; }

@media (max-width: 720px) {
  .pmodal { padding: 0; }
  .pmodal-dialog { max-height: 100vh; height: 100%; border-radius: 0; border: 0; }
  .pmodal-body { grid-template-columns: 1fr; }
  .pm-facts { position: static; }
  .pmodal-foot { flex-direction: column; align-items: stretch; }
  .pmodal-foot .btn { justify-content: center; }
  .pm-notify-wrap { flex-direction: column; align-items: stretch; gap: 14px; }
  .pm-notify { width: 100%; }
  .pm-notify input[type="email"] { flex: 1; min-width: 0; width: 100%; }
  .pm-notify .btn { justify-content: center; }
}

/* ============================================================
   CONTACT LIGHTBOX
   ============================================================ */
.cmodal {
  position: fixed; inset: 0; z-index: 5200;
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.cmodal.open { opacity: 1; visibility: visible; }
.cmodal-backdrop {
  position: absolute; inset: 0;
  background: rgba(3,7,12,.72);
  backdrop-filter: blur(8px) saturate(1.1);
}
.cmodal-dialog {
  position: relative;
  width: min(940px, 100%);
  max-height: calc(100vh - 56px);
  background: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  overflow: hidden auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-deep) var(--card);
  box-shadow: 0 50px 120px -30px rgba(0,0,0,.9);
  transform: translateY(22px) scale(.98);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.cmodal.open .cmodal-dialog { transform: none; opacity: 1; }
.cmodal-close {
  position: absolute; top: 16px; right: 16px; z-index: 6;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.06); color: #fff;
  border: 1px solid var(--line-2);
  transition: background .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.cmodal-close:hover { background: var(--accent); border-color: var(--accent); transform: rotate(90deg); }

.cmodal-grid { display: grid; grid-template-columns: 0.86fr 1fr; }

/* brand aside */
.cmodal-aside {
  position: relative; padding: clamp(30px, 4vw, 48px);
  background:
    radial-gradient(120% 80% at 0% 0%, #14304a 0%, #0a1626 55%, #070f1a 100%);
  border-right: 1px solid var(--line);
  overflow: hidden;
}
.cmodal-aside::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 50% at 100% 100%, rgba(242,98,0,.16), transparent 60%);
}
.cmodal-crest { position: relative; width: 64px; height: auto; margin-bottom: 22px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.5)); }
.cmodal-aside .eyebrow { position: relative; font-size: 12px; }
.cmodal-aside h2 { position: relative; font-size: clamp(30px, 4vw, 46px); margin-top: 12px; }
.cmodal-sub { position: relative; color: var(--muted); font-size: 15px; line-height: 1.6; margin-top: 18px; text-wrap: pretty; }
.cmodal-contacts { position: relative; list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.cmodal-contacts li { display: flex; align-items: center; gap: 13px; color: #d2dae3; font-size: 14.5px; }
.cmodal-contacts a { color: #d2dae3; transition: color .2s var(--ease); }
.cmodal-contacts a:hover { color: var(--accent); }
.cmodal-contacts .ci {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  display: grid; place-items: center; color: var(--accent);
  background: rgba(242,98,0,.1); border: 1px solid rgba(242,98,0,.3);
}
.cmodal-contacts .ci svg { width: 18px; height: 18px; }

/* form */
.cmodal-formwrap { padding: clamp(30px, 4vw, 48px); display: flex; align-items: center; }
.cmodal-form { width: 100%; display: flex; flex-direction: column; gap: 16px; }
.cfield { display: flex; flex-direction: column; }
.cfield-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cmodal-form label {
  display: flex; flex-direction: column; gap: 7px;
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.cmodal-form input,
.cmodal-form select,
.cmodal-form textarea {
  font-family: var(--font-body); font-size: 14.5px; color: #fff;
  background: var(--card); border: 1px solid var(--line-2);
  border-radius: 8px; padding: 12px 13px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.cmodal-form textarea { resize: vertical; min-height: 92px; }
.cmodal-form select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239aa7b6' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px;
}
.cmodal-form input:focus,
.cmodal-form select:focus,
.cmodal-form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(242,98,0,.16);
}
.cmodal-form input::placeholder,
.cmodal-form textarea::placeholder { color: var(--muted-2); }
.cmodal-submit { justify-content: center; margin-top: 6px; }

.cmodal-success { width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px 0; }
.cmodal-success[hidden] { display: none; }
.cs-check {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: var(--accent); box-shadow: 0 14px 32px -12px rgba(242,98,0,.8);
}
.cs-check svg { width: 30px; height: 30px; }
.cmodal-success h3 { font-family: var(--font-display); font-weight: 800; font-size: 26px; text-transform: uppercase; letter-spacing: -0.01em; }
.cmodal-success p { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 38ch; }
.cmodal-success .btn { margin-top: 8px; }

@media (max-width: 760px) {
  .cmodal { padding: 0; }
  .cmodal-dialog { max-height: 100vh; height: 100%; border-radius: 0; border: 0; }
  .cmodal-grid { grid-template-columns: 1fr; }
  .cmodal-aside { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 30px; }
  .cmodal-contacts { margin-top: 22px; }
  .cfield-2 { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================================
   RESPONSIVE (page)
   ============================================================ */
@media (max-width: 960px) {
  .dev-grid { grid-template-columns: 1fr; gap: 50px; }
  .reel-carousel { max-width: 360px; margin: 0 auto; }
  .rentals-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .pillars { gap: 24px 30px; }
  .affil-marquee-wrap { padding: 24px 0; }
  .affil-logo img { height: 58px; }
  .affil-logo img[src$="girls-academy.png"] { height: 70px; }
}
@media (max-width: 720px) {
  .wrap, .hero-inner { padding-left: 22px; padding-right: 22px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(6,11,19,.97); backdrop-filter: blur(14px); padding: 24px 22px; gap: 20px;
    border-bottom: 1px solid var(--line); align-items: flex-start;
  }
  .nav-toggle { display: block; }
  /* Transparent at the top like desktop/tablet; solid backdrop only once
     scrolled (inherited from .nav.scrolled). Sits flush at the very top. */
  .nav { top: 0; padding: 16px 0; }
  .nav.scrolled { padding: 11px 0; }
  /* Culture values in two columns to cut the scroll roughly in half */
  .values { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 18px; margin-top: 44px; }
  .value { max-width: none; }
  .pillars { grid-template-columns: 1fr; }
  .hero { align-items: flex-end; }
  .affil-logo img { height: 48px; }
  .affil-logo img[src$="girls-academy.png"] { height: 58px; }

  /* Hero headline — impactful but no longer oversized on phones */
  .hero h1 { font-size: clamp(40px, 13vw, 62px); line-height: 0.98; }
  .hero .lead { margin-top: 22px; }
  .hero-cta { width: 100%; margin-top: 30px; }
  .hero-cta .btn { flex: 1; justify-content: center; }

  /* Footer — compact, centered layout for mobile */
  .footer { padding: 52px 0 34px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 18px; }
  .foot-brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; }
  .footer .foot-wordmark { width: 190px; margin: 0 auto 14px; }
  .footer .tag { margin: 0 auto; max-width: 34ch; }
  .footer h6 { margin-bottom: 14px; }
  .footer ul { align-items: center; gap: 11px; }
  .foot-partners { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; }
  .footer .partners { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 14px 22px; }
  .foot-bottom { flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-top: 40px; }
}


   /* ── Programs SEO index (crawlable fallback, hidden on screen) ── */
.ssc-program-index { display: none !important; }


/* ============================================================
   PROGRAMS SEO INDEX
   Crawlable fallback section — same titles/descriptions as the
   interactive card grid. Hidden on desktop (card grid shows the
   same content). Shown on mobile for crawlability.
   Handles both the current class (.ssc-program-index) and the
   legacy class (.ssc-programs-index / .ssc-prog).
   ============================================================ */
.ssc-program-index,
.ssc-programs-index {
  padding: 2.5rem 1rem;
  background: var(--ink-2, #060b13);
  color: var(--text, #fff);
  border-top: 1px solid rgba(255,255,255,.08);
}
.ssc-program-index h2,
.ssc-programs-index h2 { font-family: var(--font-display, 'Oswald', sans-serif); font-size: clamp(1.4rem, 4vw, 2rem); margin-bottom: 0.5rem; }
.ssc-program-index > p,
.ssc-programs-index > p { color: var(--muted, #9aa7b6); font-size: 0.9rem; margin-bottom: 1.5rem; max-width: 65ch; }
.ssc-program-index-item,
.ssc-prog { border-bottom: 1px solid rgba(255,255,255,.07); padding: 1.25rem 0; }
.ssc-program-index-item:last-child,
.ssc-prog:last-child { border-bottom: none; }
.ssc-program-index-item h3,
.ssc-prog h3 { font-family: var(--font-display, 'Oswald', sans-serif); font-size: 1.15rem; margin: 0 0 0.3rem; font-weight: 600; }
.ssc-program-meta,
.ssc-prog-meta { font-size: 0.8rem; color: var(--muted, #9aa7b6); margin: 0 0 0.5rem; }
.ssc-program-status { color: var(--accent, #f26200); }
.ssc-program-description,
.ssc-prog > p:last-child { font-size: 0.875rem; color: var(--muted, #9aa7b6); margin: 0; line-height: 1.55; }
@media (min-width: 768px) {
  .ssc-program-index,
  .ssc-programs-index { display: none !important; }
}
