/* ============================================================
   Kaleo Arts — Shared v3 stylesheet
   The "stage-lit editorial" system extracted from index-v3.html
   ============================================================ */

:root {
  /* Stage-dark palette pulled from the photos */
  --stage: oklch(11% 0.018 260);
  --stage-2: oklch(15% 0.02 260);
  --stage-3: oklch(19% 0.022 260);
  --rule: oklch(28% 0.02 260);
  --cream: oklch(96% 0.015 82);
  --cream-mute: oklch(82% 0.02 78);
  --cream-fade: oklch(62% 0.02 260);
  --amber: oklch(75% 0.15 68);
  --amber-hot: oklch(68% 0.18 55);
  --bright: oklch(94% 0.028 82);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  background: var(--stage);
  /* Belt-and-suspenders horizontal overflow lock. body: overflow-x
     hidden alone lets some browsers still report scrollWidth > innerW
     on the <html> element (from transformed/scaled descendants like
     .hero-img with hero-drift, or the ticker's duplicated content),
     which causes iOS momentum touch to rubber-band horizontally —
     the "slight pan left/right as I scroll" the user described.
     Clamping <html> too eliminates the horizontal scroll region
     entirely. */
  overflow-x: hidden;
  /* Also lock the width so no descendant can push the html box wider. */
  max-width: 100%;
}
body {
  background: var(--stage);
  color: var(--cream);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
  font-weight: 400;
}
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 40px; position: relative; }
.wrap-lg { max-width: 1600px; margin: 0 auto; padding: 0 40px; position: relative; }

/* ==================== NAV ==================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 0;
  background: oklch(11% 0.018 260 / 0.7);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid oklch(28% 0.02 260 / 0.6);
  transition: padding .3s, background .3s;
}
.nav.compact { padding: 12px 0; }
.nav-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.025em;
  color: var(--cream);
  display: inline-flex; align-items: center; gap: 10px;
  line-height: 1;
}
.nav-logo em { font-style: italic; color: var(--amber); font-weight: 400; }
.nav-logo .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
  margin-right: 4px;
  box-shadow: 0 0 12px var(--amber);
}
.nav-logo-mark {
  display: block;
  height: 32px;
  width: auto;
  filter: drop-shadow(0 2px 12px oklch(75% 0.15 68 / 0.25));
  transition: height .3s, transform .3s;
}
.nav.compact .nav-logo-mark { height: 26px; }
.nav-links {
  display: flex;
  gap: 26px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--cream-mute);
  align-items: center;
}
.nav-links a { transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--amber); }
.nav-links a.current { color: var(--cream); }
/* Underline: grows L→R on enter, exits L→R on leave
   (origin flips from right → left on hover). Skip the Enroll CTA. */
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a.current:not(.nav-cta)::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-cta {
  padding: 10px 18px;
  background: var(--amber);
  color: var(--stage) !important;
  border-radius: 100px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: all .2s;
}
.nav-cta:hover { background: var(--cream); }
.nav-cta.current::after { display: none; }

/* ---------- Mobile hamburger + drawer ---------- */
.nav-burger {
  display: none; /* hidden on desktop; shown below 960px */
  background: transparent;
  border: 0;
  padding: 12px;
  cursor: pointer;
  width: 48px;
  height: 48px;
  /* Fixed positioning so it can sit above the drawer (z:70) while the
     drawer covers the full viewport. The burger lives as a sibling of
     <nav> (not inside it) because .nav's backdrop-filter would trap any
     fixed descendant to the nav's 80px containing block. */
  position: fixed;
  top: 16px;
  right: 12px;
  z-index: 80;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  margin: 5px auto;
  transition: transform .3s, opacity .2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  /* Above .nav (z:50) so the drawer covers the whole viewport including
     the header bar. The burger button is z:80 so it stays tappable. */
  z-index: 70;
  background: oklch(11% 0.018 260 / 0.97);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  overflow-y: auto;
  padding: 100px 32px 60px;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 480px;
  margin: 0 auto;
}
.mobile-menu-eye {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 24px 0 8px;
}
.mobile-menu-inner > .mobile-menu-eye:first-child { margin-top: 0; }
.mobile-menu a {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  line-height: 1.2;
  color: var(--cream);
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  min-height: 52px;
  display: flex;
  align-items: center;
  transition: color .2s;
}
.mobile-menu a:hover,
.mobile-menu a.current { color: var(--amber); }
.mobile-menu a.current::before {
  content: "\203A\00a0";
  color: var(--amber);
}
.mobile-menu-cta {
  margin-top: 28px;
  background: var(--amber);
  color: var(--stage) !important;
  padding: 18px 24px !important;
  border-radius: 100px;
  justify-content: center;
  font-size: 18px !important;
  border-bottom: 0 !important;
  font-family: 'Space Grotesk', sans-serif !important;
  letter-spacing: 0.02em;
}
.mobile-menu-cta:hover { color: var(--stage) !important; background: var(--cream); }

/* ==================== HERO — FULL-BLEED CINEMATIC ==================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--stage);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  will-change: transform;
  animation: hero-drift 22s ease-in-out infinite alternate;
  transform-origin: center 40%;
}
@keyframes hero-drift {
  0%   { transform: scale(1.08) translate3d(0, 0, 0); }
  100% { transform: scale(1.14) translate3d(-1%, -2%, 0); }
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, oklch(11% 0.018 260 / 0.35) 0%, oklch(11% 0.018 260 / 0.05) 30%, oklch(11% 0.018 260 / 0.45) 65%, oklch(11% 0.018 260 / 0.95) 100%);
  z-index: 2;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 45%, transparent 0%, oklch(11% 0.018 260 / 0.35) 100%);
  z-index: 2;
  pointer-events: none;
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 130px 0 60px;
}
/* .wrap-lg uses margin: 0 auto. As a flex child that collapses to
   content width and centers — so the invite caption / CTAs drift off
   the headline's left rail, and buttons no longer share a right edge
   with .hero-photo-caption (absolute right: 40px). Force full width
   on every wrap in the hero stack (including the one nested in
   .hero-center). */
.hero-content > .wrap-lg,
.hero-content > .hero-center,
.hero-center > .wrap-lg {
  width: 100%;
  align-self: stretch;
}
.hero-top-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--cream);
  text-transform: uppercase;
  opacity: 0;
  animation: fade-in 1s ease 0.4s forwards;
}
.hero-top-meta .l::before {
  content: "";
  display: inline-block;
  width: 40px; height: 1px;
  background: var(--amber);
  vertical-align: middle;
  margin-right: 14px;
}
.hero-top-meta .r { color: var(--cream-mute); }
.hero-center {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 40px 0;
}
.hero-title {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(60px, 10vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--cream);
  max-width: 18ch;
}
.hero-title .line {
  display: block;
  /* overflow: hidden masks the pre-animation state of .word
     (translateY(110%)). Because line-height is 0.9 — tighter than
     the font's em box — descenders on j / p / g / y would poke
     below the line box and get chopped. Padding pushes the clip
     line down so the descender zone sits inside the visible area,
     and matching negative margin keeps line-to-line rhythm intact. */
  overflow: hidden;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  animation: word-rise 1.1s cubic-bezier(.22,.61,.36,1) forwards;
}
.hero-title .italic {
  font-style: italic;
  color: var(--amber);
  font-weight: 400;
}
.hero-title .amp {
  font-style: italic;
  font-weight: 400;
  color: var(--cream-mute);
  padding: 0 0.1em;
}
@keyframes word-rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  to { opacity: 1; }
}
.hero-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
  opacity: 0;
  animation: fade-in 1s ease 1.4s forwards;
}
.hero-caption {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.5;
  color: var(--cream);
  max-width: 40ch;
  border-left: 2px solid var(--amber);
  padding: 4px 0 4px 20px;
}
.hero-caption strong {
  font-family: 'JetBrains Mono', monospace;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-transform: uppercase;
  display: block;
  margin-top: 12px;
}
.hero-cta-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: flex-end;
  align-items: end;
}
.hero-photo-caption {
  position: absolute;
  bottom: 28px; right: 40px;
  z-index: 4;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--cream-mute);
  text-transform: uppercase;
  opacity: 0;
  animation: fade-in 1s ease 1.8s forwards;
}
.hero-photo-caption::before {
  content: "";
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--cream-mute);
  vertical-align: middle;
  margin-right: 12px;
}

/* ---------- Typographic hero (no photo) ---------- */
.hero.hero-typo {
  height: auto;
  /* Short-title heroes (FAQ has only 2 lines) were collapsing to
     ~940px tall, letting the next section's sidebar/TOC peek
     above the fold on standard laptop viewports. Give the block
     a viewport-relative floor so it always occupies most of the
     screen and the section boundary lands below the fold — the
     About hero (5 lines) grows naturally past this floor. */
  min-height: 92vh;
  /* Trimmed headroom above § Prologue — the desktop nav is only
     ~72px tall, so 200px of top padding read as dead air and
     shoved the last headline line + lede below the fold on
     laptop viewports. 112px keeps clear separation from the
     fixed nav without wasting a quarter of the screen. */
  padding: 112px 0 96px;
  border-bottom: 1px solid var(--rule);
}
.hero.hero-typo::before, .hero.hero-typo::after { display: none; }
.hero.hero-typo .hero-content {
  position: relative;
  inset: auto;
  /* Base .hero-content zeroes horizontal padding for photo heroes;
     restore the wrap-lg gutter so the huge typographic headline
     doesn't run into the viewport edge. */
  padding-left: 40px;
  padding-right: 40px;
}
.hero.hero-typo .hero-title {
  font-size: clamp(56px, 8.5vw, 148px);
  max-width: 18ch;
  /* Descender clipping is handled on the base .hero-title .line
     rule (pad + negative margin). The typographic hero stacks 5
     lines, so we open the leading a touch — 0.9 was tight enough
     that descenders on line 3 ("community,") kissed the ascenders
     of "one relationship" on line 4. */
  line-height: 1.02;
}
.hero.hero-typo .hero-lede {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.45;
  color: var(--cream-mute);
  max-width: 44ch;
  margin-top: 40px;
  opacity: 0;
  animation: fade-in 1s ease 1s forwards;
}
/* Faint spotlight beams for typographic heroes */
.hero.hero-typo .spot {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.hero.hero-typo .spot.a {
  top: -100px; left: 10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--amber) 0%, transparent 70%);
  opacity: 0.28;
}
.hero.hero-typo .spot.b {
  top: 100px; right: -80px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, oklch(50% 0.15 250) 0%, transparent 70%);
  opacity: 0.30;
}
.hero.hero-typo > * { position: relative; z-index: 3; }

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 16px 26px;
  border-radius: 100px;
  transition: all .3s cubic-bezier(.22,.61,.36,1);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary { background: var(--amber); color: var(--stage); }
.btn-primary:hover { background: var(--cream); }
.btn-secondary {
  border-color: oklch(85% 0.02 78 / 0.4);
  color: var(--cream);
  background: oklch(11% 0.018 260 / 0.4);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: var(--cream); color: var(--stage); border-color: var(--cream); }
.btn svg { width: 14px; height: 10px; transition: transform .3s; }
.btn:hover svg { transform: translateX(4px); }

/* ==================== VIDEO — WELCOME REEL ==================== */
.video-section {
  padding: 120px 0 100px;
  background: var(--stage);
  border-bottom: 1px solid var(--rule);
}
.video-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.video-head .l { max-width: 600px; }
.video-head .plate-label { margin-bottom: 24px; }
.video-head h2 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin: 0;
}
.video-head h2 em { font-style: italic; color: var(--amber); }
.video-head .r {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  color: var(--cream-mute);
  max-width: 34ch;
  padding-bottom: 10px;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--stage-2);
  border: 1px solid var(--rule);
  overflow: hidden;
  cursor: pointer;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-poster {
  position: absolute;
  inset: 0;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 55%, transparent 0%, oklch(11% 0.018 260 / 0.35) 65%),
    linear-gradient(180deg, oklch(11% 0.018 260 / 0.25) 0%, oklch(11% 0.018 260 / 0.45) 100%);
  z-index: 1;
  transition: background .3s;
}
.video-poster:hover::after {
  background:
    radial-gradient(ellipse at 50% 55%, transparent 0%, oklch(11% 0.018 260 / 0.25) 65%),
    linear-gradient(180deg, oklch(11% 0.018 260 / 0.15) 0%, oklch(11% 0.018 260 / 0.35) 100%);
}
.video-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.22,.61,.36,1);
}
.video-poster:hover img { transform: scale(1.04); }
.video-poster .play-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px oklch(75% 0.15 68 / 0.2), 0 20px 40px oklch(0% 0 0 / 0.4);
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}
.video-poster:hover .play-badge {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--cream);
  box-shadow: 0 0 0 12px oklch(96% 0.015 82 / 0.2), 0 24px 50px oklch(0% 0 0 / 0.5);
}
.video-poster .play-badge svg {
  width: 28px;
  height: 28px;
  fill: var(--stage);
  margin-left: 4px;
}
.video-poster .poster-meta {
  position: absolute;
  bottom: 20px; left: 24px;
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--cream);
  text-transform: uppercase;
  background: oklch(11% 0.018 260 / 0.55);
  backdrop-filter: blur(8px);
  padding: 8px 12px;
  border: 1px solid oklch(85% 0.02 78 / 0.2);
}
.video-poster .poster-meta.r {
  left: auto;
  right: 24px;
}

/* ==================== TICKER ==================== */
.ticker {
  background: var(--stage);
  color: var(--cream);
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.ticker-track {
  display: flex; gap: 48px;
  white-space: nowrap;
  animation: scrollX 50s linear infinite;
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.015em;
}
.ticker-track .sep {
  color: var(--amber);
  font-style: normal;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
}
@keyframes scrollX {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==================== SECTION SCAFFOLD ==================== */
section.spread { padding: 140px 0; position: relative; }
section.spread.tight { padding: 100px 0; }

.plate-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 40px;
}
.plate-label::before {
  content: "";
  width: 40px; height: 1px;
  background: var(--amber);
}

.section-h {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 108px);
  line-height: 0.94;
  letter-spacing: -0.038em;
  color: var(--cream);
  max-width: 20ch;
  margin-bottom: 60px;
}
.section-h em { font-style: italic; color: var(--amber); font-weight: 400; }

.section-lede {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--cream-mute);
  max-width: 60ch;
  margin-bottom: 60px;
}

/* ==================== 3-COL COMMITMENTS / FEATURES ==================== */
.commits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
}
.commit {
  padding: 50px 32px;
  border-right: 1px solid var(--rule);
  position: relative;
}
.commit:last-child { border-right: 0; }
.commit .no {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.commit h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--cream);
}
.commit h3 em { color: var(--amber); font-style: italic; font-weight: 400; }
.commit h3 .strike {
  text-decoration: line-through;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 3px;
  color: var(--cream-fade);
  font-style: normal;
}
.commit p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--cream-mute);
  max-width: 32ch;
}

/* Four-across variant */
.commits.four { grid-template-columns: repeat(4, 1fr); }
.commits.four .commit h3 { font-size: 40px; }

/* ==================== APPROACH / TWO-COL EDITORIAL ==================== */
.approach {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: stretch;
}
.approach.reverse { grid-template-columns: 1fr 1.05fr; }
.approach.reverse .approach-body { order: -1; }

.approach-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--stage-2);
}
.approach-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.approach-img-wrap:hover .approach-img { transform: scale(1.04); }
.approach-img-wrap .img-caption {
  position: absolute;
  bottom: 20px; left: 20px;
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cream);
  text-transform: uppercase;
  background: oklch(11% 0.018 260 / 0.55);
  backdrop-filter: blur(8px);
  padding: 8px 12px;
  border: 1px solid oklch(85% 0.02 78 / 0.2);
}
.approach-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.approach-title {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(44px, 5.5vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin-bottom: 40px;
}
.approach-title em { font-style: italic; color: var(--amber); }
.approach-body p {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.55;
  color: var(--cream);
  margin-bottom: 24px;
  max-width: 44ch;
}
.approach-body p.secondary {
  font-size: 18px;
  color: var(--cream-mute);
}
.approach-signature {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--cream-mute);
  text-transform: uppercase;
}
.approach-signature strong { color: var(--cream); font-weight: 500; }

/* ==================== PULL-QUOTE ==================== */
.pullq {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: stretch;
  min-height: 620px;
}
.pullq-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--stage-2);
}
.pullq-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  will-change: transform;
}
.pullq-caption {
  position: absolute;
  bottom: 20px; left: 20px;
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cream);
  text-transform: uppercase;
  background: oklch(11% 0.018 260 / 0.55);
  backdrop-filter: blur(8px);
  padding: 8px 12px;
  border: 1px solid oklch(85% 0.02 78 / 0.2);
}
.pullq-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}
.pullq-mark {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 120px;
  line-height: 0.5;
  color: var(--amber);
  margin-bottom: 20px;
  opacity: 0.7;
}
.pullq-text {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 40px;
}
.pullq-text em { color: var(--amber); font-style: italic; }
.pullq-cite {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-mute);
  font-style: normal;
  display: inline-flex; align-items: center; gap: 14px;
}
.pullq-cite::before {
  content: "";
  display: inline-block;
  width: 30px; height: 1px;
  background: var(--cream-mute);
}

/* ==================== HEART / VALUES ==================== */
.heart-banner {
  position: relative;
  aspect-ratio: 21 / 8;
  overflow: hidden;
  margin-bottom: 80px;
}
.heart-banner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.heart-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, oklch(11% 0.018 260 / 0.4) 0%, oklch(11% 0.018 260 / 0.75) 100%);
}
.heart-banner .caption {
  position: absolute;
  top: 24px; right: 30px;
  z-index: 3;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cream);
  text-transform: uppercase;
  background: oklch(11% 0.018 260 / 0.55);
  backdrop-filter: blur(8px);
  padding: 8px 12px;
  border: 1px solid oklch(85% 0.02 78 / 0.2);
}
.heart-banner .quote {
  position: absolute;
  bottom: 30px; left: 40px;
  z-index: 3;
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.2;
  color: var(--cream);
  max-width: 30ch;
}
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  counter-reset: v;
}
.values.four { grid-template-columns: repeat(4, 1fr); gap: 40px; }
.value {
  counter-increment: v;
  padding-top: 40px;
  border-top: 2px solid var(--amber);
}
.value::before {
  content: counter(v, decimal-leading-zero);
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--amber);
  margin-bottom: 24px;
}
.value h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 54px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--cream);
}
.values.four .value h3 { font-size: 42px; }
.value p {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: var(--cream-mute);
  max-width: 32ch;
}

/* ==================== PROGRAM ROWS ==================== */
.programs { position: relative; }
.program-row {
  display: grid;
  grid-template-columns: 60px 1.2fr 2fr 140px 140px 40px;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--rule);
  transition: border-top-color .35s cubic-bezier(.22,.61,.36,1);
  position: relative;
  /* Keep the amber hover wash inside this row — without isolation,
     ::before at z-index below content can paint behind the page stage
     and the gradient flickers out after .reveal settles. */
  isolation: isolate;
  color: var(--cream);
}
.program-row:last-of-type { border-bottom: 1px solid var(--rule); }
.program-row::before {
  content: "";
  position: absolute;
  left: -40px; right: -40px; top: 0; bottom: 0;
  background: linear-gradient(
    90deg,
    oklch(75% 0.15 68 / 0.28) 0%,
    oklch(78% 0.14 72 / 0.14) 42%,
    oklch(75% 0.15 68 / 0) 100%
  );
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 0;
  pointer-events: none;
}
.program-row > * { position: relative; z-index: 1; }
.program-row:hover::before { opacity: 1; }
.program-row:hover .p-name em { color: var(--amber); }
.program-row:hover .p-arrow { transform: translate(6px, -6px); color: var(--amber); }
.program-row:hover { border-top-color: var(--amber); }
.p-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--cream-fade);
  text-transform: uppercase;
}
.p-name {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.p-name em { color: var(--cream); font-style: italic; font-weight: 400; transition: color .3s; }
.p-desc {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--cream-mute);
  padding-right: 24px;
}
.p-grade, .p-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--cream-mute);
  text-transform: uppercase;
}
.p-price { color: var(--amber); }
.p-arrow {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 28px;
  color: var(--cream-fade);
  text-align: right;
  transition: transform .3s, color .3s;
}

/* ==================== TESTIMONIALS ==================== */
.voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.voice {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--stage-2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
  padding: 40px 32px 36px;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.voice:hover { transform: translateY(-6px); }
.voice img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 1s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.voice:hover img { transform: scale(1.06); }
.voice::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, oklch(11% 0.018 260 / 0.2) 0%, oklch(11% 0.018 260 / 0.5) 40%, oklch(11% 0.018 260 / 0.92) 100%);
  z-index: 1;
}
.voice .num {
  position: relative; z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.voice blockquote {
  position: relative; z-index: 2;
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin-bottom: 20px;
}
.voice cite {
  position: relative; z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-mute);
  font-style: normal;
  display: block;
  padding-top: 16px;
  border-top: 1px solid oklch(85% 0.02 78 / 0.25);
}

/* ==================== STATS STRIP ==================== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat {
  padding: 60px 32px;
  border-right: 1px solid var(--rule);
}
.stat:last-child { border-right: 0; }
.stat .n {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(72px, 8vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--amber);
  margin-bottom: 18px;
}
.stat .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--cream-mute);
  text-transform: uppercase;
  max-width: 24ch;
}

/* ==================== ENROLL / PRICE PANEL ==================== */
.price-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  padding: 60px;
  background: var(--stage-2);
  border: 1px solid var(--rule);
  align-items: center;
}
.price-panel .price-eye {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.price-panel .price-big {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(80px, 10vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--cream);
  margin-bottom: 8px;
}
.price-panel .price-big .unit {
  font-size: 0.28em;
  color: var(--cream-mute);
  font-style: italic;
}
.price-panel .price-note {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--cream-mute);
  margin-bottom: 30px;
  max-width: 30ch;
}
.price-panel h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 30px;
}
.price-panel h3 em { font-style: italic; color: var(--amber); }
.includes {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.includes li {
  padding: 14px 0 14px 32px;
  border-top: 1px solid var(--rule);
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  color: var(--cream);
  line-height: 1.5;
  position: relative;
}
.includes li:last-child { border-bottom: 1px solid var(--rule); }
.includes li::before {
  content: "✦";
  position: absolute;
  left: 0; top: 14px;
  color: var(--amber);
  font-family: 'DM Serif Display', serif;
  font-size: 14px;
}

/* ==================== LOCATION ==================== */
.loc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.loc-map {
  aspect-ratio: 4 / 5;
  background: var(--stage-2);
  border: 1px solid var(--rule);
  overflow: hidden;
  position: relative;
}
.loc-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.85) hue-rotate(180deg) saturate(0.4) brightness(0.9);
}
.loc-body h2 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(44px, 5.5vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin-bottom: 30px;
  color: var(--cream);
}
.loc-body h2 em { font-style: italic; color: var(--amber); }
.loc-body p {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.55;
  color: var(--cream-mute);
  margin-bottom: 40px;
  max-width: 44ch;
}
.loc-details {
  display: grid;
  gap: 18px;
  padding: 30px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}
.loc-details div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.loc-details div span:first-child { color: var(--cream-fade); }
.loc-details div span:last-child { color: var(--cream); font-weight: 500; }

/* ==================== FAQ / ACCORDION ==================== */
.faq-group { margin-bottom: 80px; }
.faq-group-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding-bottom: 26px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.faq-group-head .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--amber);
  text-transform: uppercase;
}
.faq-group-head h2 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-item summary {
  padding: 30px 60px 30px 0;
  cursor: pointer;
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.3;
  color: var(--cream);
  list-style: none;
  position: relative;
  transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  color: var(--amber);
  transition: transform .3s;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: "×";
  transform: translateY(-50%) rotate(0deg);
}
.faq-item summary:hover { color: var(--amber); }
.faq-item .a {
  padding: 0 60px 32px 0;
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.55;
  color: var(--cream-mute);
  max-width: 68ch;
}

/* ==================== FORM ==================== */
.form-panel {
  background: var(--stage-2);
  border: 1px solid var(--rule);
  padding: 50px;
}
.form-panel .form-eye {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 14px;
}
.form-panel .form-eye::before {
  content: ""; display: inline-block; width: 30px; height: 1px; background: var(--amber);
}
.form-panel h2 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 40px;
}
.form-panel h2 em { font-style: italic; color: var(--amber); }
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-mute);
  margin-bottom: 10px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 16px 18px;
  background: var(--stage);
  border: 1px solid var(--rule);
  color: var(--cream);
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  transition: border-color .2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--amber);
}
.form-row input::placeholder {
  color: var(--cream-fade);
  font-style: italic;
}

/* ==================== iCLASSPRO REGISTRATION CARD ==================== */
.iclass-card {
  padding: 60px;
  background: linear-gradient(180deg, oklch(75% 0.15 68 / 0.08), oklch(75% 0.15 68 / 0.02));
  border: 1px solid var(--amber);
  position: relative;
  overflow: hidden;
}
.iclass-card::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(75% 0.15 68 / 0.18), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.iclass-card > * { position: relative; z-index: 1; }
.iclass-card .ic-eye {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 14px;
}
.iclass-card .ic-eye::before {
  content: "◆";
  color: var(--amber);
}
.iclass-card h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 18px;
}
.iclass-card h3 em { font-style: italic; color: var(--amber); }
.iclass-card p {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--cream-mute);
  margin-bottom: 32px;
  max-width: 56ch;
}
.iclass-card .iclass-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}
.iclass-card .iclass-cta a.iclass-btn {
  display: inline-block;
  padding: 4px;
  border-radius: 6px;
  transition: transform .3s, box-shadow .3s;
  line-height: 0;
}
.iclass-card .iclass-cta a.iclass-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px oklch(0% 0 0 / 0.5);
}
.iclass-card .iclass-cta a.iclass-btn img {
  display: block;
  border: 0;
  border-radius: 4px;
  width: 173px;
  height: 35px;
}
.iclass-card .iclass-hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cream-fade);
  text-transform: uppercase;
  margin-top: 8px;
}
@media (max-width: 960px) {
  .iclass-card { padding: 40px 28px; }
}

/* ==================== CONTACT CARD (phone + email) ==================== */
.contact-card {
  background: var(--stage-2);
  border: 1px solid var(--rule);
  padding: 50px;
  position: relative;
  overflow: hidden;
}
.contact-card .cc-eye {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 14px;
}
.contact-card .cc-eye::before {
  content: ""; display: inline-block; width: 30px; height: 1px; background: var(--amber);
}
.contact-card h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 16px;
}
.contact-card h3 em { font-style: italic; color: var(--amber); }
.contact-card .cc-lede {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--cream-mute);
  margin-bottom: 32px;
  max-width: 38ch;
}
.contact-card .cc-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  transition: padding .3s cubic-bezier(.22,.61,.36,1);
  color: var(--cream);
  text-decoration: none;
}
.contact-card .cc-row:last-of-type { border-bottom: 1px solid var(--rule); margin-bottom: 24px; }
.contact-card .cc-row:hover { padding-left: 8px; }
.contact-card .cc-row:hover .cc-value { color: var(--amber); }
.contact-card .cc-row:hover .cc-arrow { transform: translate(4px, 0); color: var(--amber); }
.contact-card .cc-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: oklch(75% 0.15 68 / 0.15);
  border: 1px solid var(--amber);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .3s;
}
.contact-card .cc-row:hover .cc-icon {
  background: var(--amber);
  color: var(--stage);
}
.contact-card .cc-body { flex: 1; min-width: 0; }
.contact-card .cc-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-fade);
  margin-bottom: 6px;
}
.contact-card .cc-value {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cream);
  transition: color .3s;
  word-break: break-word;
}
.contact-card .cc-arrow {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--cream-fade);
  transition: transform .3s, color .3s;
  flex-shrink: 0;
}
.contact-card .cc-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-fade);
}
@media (max-width: 960px) {
  .contact-card { padding: 32px 24px; }
}

/* ==================== FINAL / INVITATION ==================== */
.final {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 40px;
  overflow: hidden;
}
.final img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  will-change: transform;
}
.final::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, oklch(11% 0.018 260 / 0.4) 0%, oklch(11% 0.018 260 / 0.85) 65%),
    linear-gradient(180deg, oklch(11% 0.018 260 / 0.5) 0%, oklch(11% 0.018 260 / 0.65) 100%);
  z-index: 1;
}
.final-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.rsvp-eye {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.36em;
  color: var(--amber);
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--amber);
  margin-bottom: 50px;
}
.final h2 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(80px, 15vw, 260px);
  line-height: 0.88;
  letter-spacing: -0.045em;
  margin-bottom: 50px;
  color: var(--cream);
}
.final h2 em { font-style: italic; color: var(--amber); }
.final p {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  max-width: 40ch;
  margin: 0 auto 60px;
  color: var(--cream);
}
.final .cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==================== FOOTER ==================== */
footer {
  background: var(--stage);
  color: var(--cream);
  padding: 100px 0 40px;
  border-top: 1px solid var(--rule);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--rule);
}
/* Address in Visit & Contact — matches other footer links; the <br/>
   lets it span two lines while keeping the same font system. */
.footer-contact .footer-col a { display: block; }
.footer-contact br { display: block; }
.footer-follow {
  margin-top: 18px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-follow a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  color: var(--cream-mute);
  background: transparent;
  padding: 0;
  transition: color .2s, transform .2s;
}
.footer-follow a:hover {
  color: var(--amber);
  padding-left: 0;
  transform: translateY(-2px);
  background: transparent;
}
.footer-follow svg { display: block; }
.footer-brand {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand em { font-style: italic; color: var(--amber); }
.footer-brand-mark {
  display: block;
  height: 56px;
  width: auto;
  filter: drop-shadow(0 4px 20px oklch(75% 0.15 68 / 0.28));
  flex-shrink: 0;
}
.footer-tag {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--cream-mute);
  max-width: 32ch;
}
.footer-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 26px;
}
.footer-col a {
  display: block;
  padding: 8px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  color: var(--cream-mute);
  transition: color .2s, padding-left .2s;
}
.footer-col a:hover { color: var(--amber); padding-left: 4px; }
.footer-fine {
  padding-top: 40px;
  display: flex; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cream-fade);
  text-transform: uppercase;
}

/* ==================== REVEAL ==================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s cubic-bezier(.22,.61,.36,1), transform 1.1s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.r-d1 { transition-delay: .1s; }
.r-d2 { transition-delay: .2s; }
.r-d3 { transition-delay: .3s; }
.r-d4 { transition-delay: .4s; }
[data-parallax] { will-change: transform; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 960px) {
  .wrap, .wrap-lg { padding: 0 20px; }
  /* On mobile the burger is fixed at right:12px, ~48px wide (so it occupies
     the right ~60px of the viewport). The nav-inner needs extra right
     padding so the inline Enroll CTA clears the burger instead of sitting
     underneath it. */
  .nav-inner { padding: 0 68px 0 20px; }
  /* Hide the inline nav links entirely on mobile; the hamburger + drawer
     takes over. Keep .nav-cta ("Enroll") visible next to the burger so
     the primary action is always one tap away. */
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links { gap: 12px; }
  .nav-burger { display: block; }
  .hero-content { padding: 100px 0 40px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 30px; }
  .hero-cta-row { justify-content: flex-start; }
  .hero-photo-caption { right: 20px; }
  .commits, .voices, .footer-top, .values, .stats, .values.four, .commits.four {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .commit, .stat {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding: 40px 24px !important;
  }
  .commit:last-child,
  .stat:last-child { border-bottom: 0; }
  .approach, .approach.reverse, .pullq, .loc, .price-panel {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .price-panel { padding: 40px 30px; }
  .approach.reverse .approach-body { order: 0; }
  .approach-img-wrap, .pullq-img-wrap { aspect-ratio: 4 / 3; }
  .approach, .pullq { align-items: start; }
  .program-row {
    grid-template-columns: 40px 1fr 40px;
    gap: 12px;
    padding: 24px 0;
  }
  .p-desc, .p-grade, .p-price { grid-column: 2; }
  .ticker-track { font-size: 22px; }
  section.spread { padding: 80px 0; }
  .plate-label { margin-bottom: 30px; }
  .section-h { margin-bottom: 40px; }
  .voice { aspect-ratio: 4 / 5; }
  .footer-fine { flex-direction: column; gap: 12px; }
  .form-panel { padding: 32px 24px; }
  /* Mobile hero-typo — the top-meta strip is hidden on mobile
     (rule further below) so the title otherwise floats down in
     the flex column. Tightened padding + short hero-center so
     the headline sits close to the nav rather than mid-screen.
     Also unset the desktop 92vh min-height floor — on phones we
     want the hero to hug its content, not fill the screen. */
  .hero.hero-typo {
    padding: 88px 0 64px;
    min-height: 0;
  }
  .hero.hero-typo .hero-center {
    flex: 0 0 auto;
    padding: 0;
    align-items: flex-start;
  }

  /* Hero titles: the desktop clamp() floors at 60px / 56px, which is
     too big for a 390px phone with a 4- or 5-line headline. Reset the
     clamp with a smaller floor and full-width measure so the words
     wrap gracefully instead of shoving past the viewport edge.
     Scaled up from 40/60 → 48/72 for photo heroes and 40/56 → 52/76
     for typographic heroes — the tightened top padding was leaving
     too much negative space on the About / FAQ pages with the
     previous smaller type. */
  .hero-title {
    font-size: clamp(48px, 12.5vw, 72px);
    line-height: 0.98;
    max-width: 100%;
  }
  .hero.hero-typo .hero-title {
    font-size: clamp(52px, 14vw, 76px);
    line-height: 1.04;
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  /* Tighten a hair more on the smallest phones (iPhone SE ~375px)
     so long words like "community," and "one relationship" don't
     shove past the 375-px viewport edge. */
  .hero-title { font-size: 46px; }
  .hero.hero-typo .hero-title { font-size: 50px; }
}

/* ==================== MOBILE-ONLY OPTIMIZATION (<=720px) ====================
   Phone-only pass. This block ONLY runs when the viewport is 720px or narrower —
   desktop and tablet views are untouched. Two goals:
     (1) Hide decorative small text that reads as visual chrome on desktop but
         as clutter on a phone.
     (2) Fix layout/media sizing so images, headings, and rows work at 360–720px.
   Edits go here, not in the existing 960px block, so we don't affect tablet. */
@media (max-width: 720px) {
  /* --- (A) HIDE DECORATIVE SMALL TEXT ------------------------------------ */
  /* Mono eyebrow labels ("Plate 01a · Welcome") that decorate every section. */
  .plate-label { display: none !important; }
  /* Hero corner captions ("Kaleo Spark · Live performance"). */
  .hero-photo-caption { display: none !important; }
  /* Hero top-of-page meta strip ("Kaleo Arts — Oakland Township — EST. 2005"). */
  .hero-top-meta { display: none !important; }
  /* Video poster meta ("Click to watch our welcome video", runtime, etc). */
  .video-poster .poster-meta { display: none !important; }
  /* Image corner captions on approach & pull-quote photos ("Backstage", "Solo"). */
  .approach-img-wrap .img-caption,
  .pullq-caption { display: none !important; }
  /* Footer-form "R · S · V · P" mono eyebrow. */
  .rsvp-eye { display: none !important; }
  /* Marquee ticker: the scrolling italic-serif line ("Where creativity
     shines · Where every kid belongs · …") duplicates its content to
     loop seamlessly on desktop. On phone the content is wider than
     the viewport by design (that's how a marquee works), and it can
     visually feel like page overflow when combined with the surrounding
     dark rules. Simplest solution the user asked for: hide it on
     mobile entirely. */
  .ticker { display: none !important; }
  /* Neutralize .reveal on mobile. .reveal starts with `opacity: 0;
     transform: translateY(30px)` and gets `in` from IntersectionObserver
     on scroll. On phone this occasionally leaves elements hidden —
     e.g. the "Confidence, on stage" .approach-img-wrap staying at
     opacity 0 when the observer's threshold (0.12) doesn't fire on
     initial layout. Also: less motion on phone is better UX. Force
     .reveal elements visible from the start on mobile. */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  /* Small mono kickers inside cards — hide the pure-decoration ones. */
  .form-panel .form-eye,
  .iclass-card .ic-eye,
  .contact-card .cc-eye,
  .nonprofit-card .ic-eye,
  .price-panel .price-eye { display: none !important; }

  /* --- (B) TIGHTEN VERTICAL RHYTHM --------------------------------------- */
  /* Section padding shrinks so scroll feels intentional, not empty. */
  section.spread { padding: 64px 0 !important; }
  section.spread.tight { padding: 48px 0 !important; }

  /* --- (C) HEADING SIZING & WRAPPING ------------------------------------- */
  /* Prevent orphaned single-word lines on hand-held screens. */
  h1, h2, h3, .hero-title, .section-h { text-wrap: balance; }
  /* Section headings — cap at readable phone size (default was up to 108px). */
  .section-h { font-size: clamp(36px, 9vw, 52px) !important; line-height: 1.02; }

  /* --- (D) IMAGE SIZING -------------------------------------------------- */
  /* Approach + pull-quote photos: landscape 4:3 crop keeps the photo
     compact vertically — a 4:5 portrait at full mobile width is
     ~490px tall which reads as oversized on a 390-844 phone. */
  .approach-img-wrap { aspect-ratio: 4 / 3 !important; }
  .pullq-img-wrap { aspect-ratio: 4 / 5 !important; }
  /* .approach grid uses align-items: stretch on desktop; on mobile
     the 1-col collapse can stretch the img wrap to the body's
     computed height and overlap because absolute-inside-relative
     ignores the intrinsic height. Force each grid child to size
     to its own content on mobile. */
  .approach, .pullq { align-items: start !important; }
  /* Ensemble / voices photos: square works best on phone. */
  .voice { aspect-ratio: 1 / 1 !important; }
  /* Heart-banner: the 21:8 ultra-wide letterbox becomes a sliver on phone —
     and the overlay quote sits on top of the image with no room to breathe.
     Switch to a 4:5 portrait crop so faces are visible and the quote gets
     its own vertical space. */
  .heart-banner {
    aspect-ratio: 4 / 5 !important;
    margin-bottom: 48px !important;
  }
  .heart-banner .quote {
    left: 24px !important;
    right: 24px !important;
    bottom: 24px !important;
    font-size: 20px !important;
    max-width: none !important;
  }
  .heart-banner .caption { top: 18px !important; right: 20px !important; }
  /* Final / invitation section: the 100vh full-bleed photo pairs with a
     clamp(80px, 15vw, 260px) headline that runs off narrow screens.
     Let the section shrink to content, cap the headline, and pull the
     side padding in so the CTA doesn't hug the edge. */
  .final {
    min-height: 0 !important;
    padding: 100px 24px !important;
  }
  .final h2 {
    font-size: clamp(56px, 18vw, 88px) !important;
    line-height: 0.95;
    margin-bottom: 32px !important;
  }
  .final p {
    font-size: 18px !important;
    margin-bottom: 40px !important;
  }
  /* Video frame — 16:9 gets tiny on a 375px phone. Nudge to 4:3 so the
     poster + play button read at a comfortable size. */
  .video-frame { aspect-ratio: 4 / 3 !important; }

  /* --- (E) PROGRAM ROWS -------------------------------------------------- */
  /* Collapse the 40 / 1fr / 40 grid into a single stack so long program names,
     grade tags, and prices each get their own line — no cramped 3-line squish. */
  .program-row {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding: 22px 0 !important;
  }
  .p-num, .p-arrow { display: none !important; }
  .p-name, .p-desc, .p-grade, .p-price { grid-column: 1 !important; }
  .p-price { font-size: 16px; color: var(--amber); }

  /* --- (F) BODY COPY FLOOR ---------------------------------------------- */
  /* Never let paragraph copy shrink below 16px on phone. */
  p, li { font-size: 16px; line-height: 1.5; }

  /* --- (F1) HEADING FLOOR (mobile) --------------------------------------
     Defensive rule: any bare h1–h4 that isn't hit by a more specific
     component rule (e.g. .approach-title, .section-h, .iclass-card h3)
     still needs to render clearly larger than the 16px body-copy
     floor. Use :where() so specificity stays 0 and any component
     rule above continues to win. Named component headings on this
     page are all clamped 32–60px+ minimums; this only catches
     ad-hoc / future headings so nothing ever ships heading==body. */
  :where(h1) { font-size: 32px; line-height: 1.05; }
  :where(h2) { font-size: 28px; line-height: 1.1; }
  :where(h3) { font-size: 22px; line-height: 1.15; }
  :where(h4) { font-size: 20px; line-height: 1.2; }

  /* --- (F2) BUTTONS ---------------------------------------------------- */
  /* .btn is white-space: nowrap globally so pills stay clean on desktop.
     On phones, long-text buttons like "Support our community programs"
     (about page nonprofit CTA) or multi-word program CTAs blow past the
     viewport edge. Allow wrapping + cap max-width so they always sit
     inside the parent container. Keep the icon on the last line via a
     flex-wrap alignment tweak. */
  .btn {
    white-space: normal !important;
    max-width: 100% !important;
    text-align: left;
    padding: 14px 22px !important;
    line-height: 1.25;
  }
  .btn svg { flex-shrink: 0; }

  /* --- (G-pre) DISABLE PAN/SCALE ANIMATIONS ON MOBILE ------------------- */
  /* Desktop scales hero-img 1.08 → 1.14 with a 1–2% translate, and the
     parallax script (chrome-v3.js) continuously applies
     `translateY(...) scale(1.05)` to every [data-parallax] image on
     scroll. On a 390px phone these transforms produce a "panning /
     slightly zoomed as I scroll" feel — subpixel rounding + a scaled
     image wider than the viewport = visible horizontal drift, even
     with overflow:hidden. Kill both on mobile. Photos read fine at
     rest, and less scroll-linked motion is better UX on phone. */
  .hero-img {
    animation: none !important;
    transform: none !important;
  }
  [data-parallax] {
    transform: none !important;
    will-change: auto !important;
  }

  /* --- (G) HERO PHOTO SIZE ---------------------------------------------- */
  /* Match the homepage: fill the whole phone viewport on load so the
     photo hero reads as a full "poster" the moment the page opens,
     never as a partial band with content peeking above the fold.
       - 100vh   — universal fallback
       - 100lvh  — large viewport height (address bar collapsed)
       - 100dvh  — dynamic viewport height (stable while Safari's
                   address bar shows/hides; prevents mid-scroll resize)
     Keep height: auto + no max-height so tall multi-line hero titles
     (Kazoo, Songwriters, Private Lessons, Kaleo Kids, Summer Camp)
     grow the hero past 100dvh instead of clipping the CTA row. */
  .hero {
    height: auto !important;
    min-height: 100vh !important;
    min-height: 100lvh !important;
    min-height: 100dvh !important;
    max-height: none !important;
  }
  /* Un-pin hero-content from absolute-inset on mobile so the flex
     stack (top-meta → title → bottom) grows the section instead of
     overflowing the fixed-height box. The hero-img keeps its
     absolute positioning underneath. */
  .hero-content {
    position: relative !important;
    inset: auto !important;
    min-height: 100vh;
    min-height: 100lvh;
    min-height: 100dvh;
    padding: 96px 0 44px !important;
  }
  /* Make sure the CTA row itself never gets clipped and always wraps
     cleanly on narrow screens (buttons stack if needed). */
  .hero-cta-row {
    flex-wrap: wrap !important;
    row-gap: 10px !important;
  }
  .hero-cta-row .btn { flex: 0 1 auto; }
  /* Non-typo hero title — desktop clamp() has a 60px floor which is still
     tight on a 4-word / 5-line phone headline. Reset with a smaller floor. */
  .hero:not(.hero-typo) .hero-title {
    font-size: clamp(44px, 12vw, 60px) !important;
    line-height: 0.95;
    max-width: 100%;
  }
  .hero-caption { font-size: 17px !important; }

  /* --- (H) PROGRAMS-HERO ------------------------------------------------- */
  /* Kaleo Kids / classes program hero photo — 60vh + 500px floor on desktop.
     On phone the min-height forces it big; ease it down. */
  .programs-hero {
    height: 55vh !important;
    min-height: 340px !important;
    max-height: 480px !important;
    margin-bottom: 56px !important;
  }

  /* --- (I) PULL QUOTE ---------------------------------------------------- */
  /* On mobile: collapse the 2-col portrait-beside-quote into a stacked
     image-on-top layout that matches the .approach treatment used on
     songwriters/classes. Image goes edge-to-edge (bleeds past the
     wrap's 24px side padding via negative margin) so the subject
     reads at real phone scale; the quote lives directly below. */
  .pullq {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
    gap: 28px !important;
    align-items: start !important;
  }
  /* Bleed the image past the wrap's inline padding so it reads big.
     .wrap-lg on mobile has 20px side padding — pull the img wrap
     -20px on each side to snap it to the viewport edges. Aspect
     3/4 keeps the singer's face + microphone at generous scale
     without becoming an oversized 4/5 monolith. */
  .pullq-img-wrap {
    aspect-ratio: 3 / 4 !important;
    width: calc(100% + 40px) !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
  }
  .pullq-img {
    object-position: center 20% !important;
  }
  /* 120px italic curly quote overwhelms the screen; halve it. */
  .pullq-mark { font-size: 72px !important; margin-bottom: 8px !important; }
  .pullq-body { padding: 0 !important; }
  .pullq-text { font-size: 28px !important; line-height: 1.22; }

  /* --- (J) ALBUMS (songwriters) ----------------------------------------- */
  /* Album cards are aspect-ratio: 1/1. Full-width means 390px squares
     stacked — a 9-card grid becomes ~3500px of scroll. Go 2-column so
     covers read at ~185px each (still crisp) and the strip halves. */
  .albums {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .album.has-art .top,
  .album.has-art .bot { left: 14px !important; right: 14px !important; }
  .album.has-art .top { top: 14px !important; }
  .album.has-art .bot { bottom: 14px !important; }
  .album.has-art .title { font-size: 20px !important; line-height: 1.05; }
  .album.has-art .sub { font-size: 9px !important; }
  .album.has-art .listen { padding: 5px 8px !important; font-size: 9px !important; }
  .album.has-art .yr { padding: 4px 7px !important; font-size: 9px !important; }

  /* --- (K) SPARK CAMP WEEK GRID (undersized when 1-col) ------------------ */
  /* .week grid collapses to 1 col at 960; day cards are then wide + short.
     Keep 1-col but tighten padding + bottom border for scannability. */
  .day { padding: 20px 4px !important; }
}

/* Very small phones (~<=420px): fall back to a single album column so
   individual covers stay legible instead of two 165px squares with tiny type. */
@media (max-width: 480px) {
  .albums {
    grid-template-columns: 1fr !important;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .album.has-art .title { font-size: 26px !important; }
  .album.has-art .sub,
  .album.has-art .listen,
  .album.has-art .yr { font-size: 10px !important; }
}

