/* ============================================================
   CIRCLE CLUB — Design System  (Editorial Luxury)
   Ground: warm paper · Ink: espresso · Accent: brand brown #4C1512 + cream
   Type:  Cormorant Garamond (display serif) · Tenor Sans (labels) · DM Sans (body)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --brown: #4C1512;          /* accent only */
  --brown-deep: #3A0F0D;
  --cream: #FFEDBB;          /* warm gold accent (on dark) */

  /* Neutral ground (dominant) */
  --paper: #F7F3EA;          /* page background */
  --paper-2: #FFFFFF;        /* lifted surface */
  --paper-3: #EFE9DB;        /* alt section */
  --espresso: #241B16;       /* warm near-black for rare dark bands / footer */
  --espresso-2: #1A130F;

  /* Lines */
  --line: #E2D9C7;
  --line-strong: #C9BCA3;
  --line-dark: rgba(255, 237, 187, 0.16);

  /* Text */
  --ink: #221A15;            /* primary text on light */
  --ink-soft: #6E6258;       /* secondary */
  --ink-faint: #A99E8E;      /* tertiary / index numbers */
  --on-dark: #F4EEDF;        /* primary on espresso */
  --on-dark-soft: rgba(244, 238, 223, 0.64);

  /* Type */
  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-label: "Tenor Sans", "DM Sans", sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, sans-serif;

  /* Spacing (8pt) */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 128px; --s-9: 160px;

  --container: 1280px;
  --radius: 0px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: light; }
a, button, .btn, .link, .nav-link, .chip, input, select, textarea, summary {
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}

/* skip link */
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 1000;
  background: var(--ink); color: var(--paper);
  font-family: var(--f-label); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 12px 20px; transition: top .25s var(--ease);
}
.skip-link:focus-visible { top: 16px; }

/* film-grain texture overlay — tactile editorial depth */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: 0.04; mix-blend-mode: multiply;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body {
  font-family: var(--f-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
/* content images fill their reserved aspect-ratio box without distortion */
img[data-src], img.loaded { width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto;
  padding-left: max(clamp(22px, 5vw, 64px), env(safe-area-inset-left));
  padding-right: max(clamp(22px, 5vw, 64px), env(safe-area-inset-right)); }
.section { padding-block: clamp(72px, 12vw, var(--s-9)); }
.section--tight { padding-block: clamp(48px, 8vw, var(--s-7)); }
.alt { background: var(--paper-3); }
.dark { background: var(--espresso); color: var(--on-dark); }
.dark .lead, .dark .body-muted { color: var(--on-dark-soft); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--f-label);
  font-size: 11.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 14px;
}
.dark .eyebrow { color: var(--cream); }
.eyebrow .idx { color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.dark .eyebrow .idx { color: rgba(255,237,187,0.5); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--brown); display: inline-block; }
.dark .eyebrow::before { background: var(--cream); }

h1, h2, h3, .display {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.h-xl { font-size: clamp(3.2rem, 9.5vw, 8rem); font-weight: 500; letter-spacing: -0.02em; }
.h-lg { font-size: clamp(2.6rem, 6.5vw, 5.2rem); font-weight: 500; }
.h-md { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.h-sm { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.italic { font-style: italic; }
.accent { color: var(--brown); font-style: italic; }
.dark .accent { color: var(--cream); }

.lead {
  font-family: var(--f-body);
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  line-height: 1.65; color: var(--ink-soft); max-width: 56ch; font-weight: 400;
  text-wrap: pretty;
}
.body-muted { color: var(--ink-soft); }
.measure { max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-label);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 17px 32px; min-height: 50px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  border-radius: var(--radius);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--brown); border-color: var(--brown); color: var(--cream); }
.btn:active { transform: translateY(1px); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.dark .btn { background: var(--cream); color: var(--espresso); border-color: var(--cream); }
.dark .btn:hover { background: transparent; color: var(--cream); }
.dark .btn--ghost { background: transparent; color: var(--cream); border-color: var(--line-dark); }
.dark .btn--ghost:hover { background: var(--cream); color: var(--espresso); border-color: var(--cream); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* text link */
.link {
  font-family: var(--f-label);
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); display: inline-flex; gap: 9px; align-items: center;
  padding-bottom: 5px; border-bottom: 1px solid var(--line-strong);
  transition: border-color .3s var(--ease), gap .3s var(--ease), color .3s var(--ease);
}
.link:hover { border-color: var(--brown); color: var(--brown); gap: 14px; }
.dark .link { color: var(--cream); border-color: var(--line-dark); }
.dark .link:hover { border-color: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .45s var(--ease), border-color .45s var(--ease), height .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.scrolled { background: rgba(247,243,234,0.9); backdrop-filter: blur(14px); border-bottom-color: var(--line); height: 70px; }
.site-header.on-dark { color: var(--cream); }
.site-header.on-dark .nav-link { color: var(--on-dark-soft); }
.site-header.on-dark .nav-link:hover, .site-header.on-dark .nav-link.active { color: var(--cream); }
.site-header.on-dark.scrolled { background: rgba(26,19,15,0.88); border-bottom-color: var(--line-dark); }

.brand { display: inline-flex; align-items: center; }
.brand img { height: 24px; width: auto; }
.brand .logo-cream { display: none; }
.site-header.on-dark .logo-brown { display: none; }
.site-header.on-dark .logo-cream { display: block; }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.2vw, 38px); }
.nav-link {
  font-family: var(--f-label); font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-soft);
  transition: color .25s var(--ease); position: relative; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px; background: var(--brown); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.site-header.on-dark .nav-link::after { background: var(--cream); }
.nav > .btn { display: none; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-cta .btn { padding: 12px 22px; min-height: 42px; }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; color: inherit; }
.menu-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero (editorial, full-bleed media) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--on-dark); background: var(--espresso-2); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media .ph, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(95deg, rgba(20,15,12,.82) 0%, rgba(20,15,12,.5) 32%, rgba(20,15,12,.08) 62%, rgba(20,15,12,0) 80%),
    linear-gradient(180deg, rgba(20,15,12,.42) 0%, rgba(20,15,12,.05) 34%, rgba(20,15,12,.88) 100%); }
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(54px, 8vw, 120px); padding-top: calc(var(--header-h) + 40px); }
.hero h1 { color: var(--cream); }
.hero .lead { color: var(--on-dark-soft); margin-top: 30px; }
.hero .btn-row { margin-top: 44px; }
.hero .accent { color: var(--cream); }
/* hero sits on a dark image → buttons need dark-context treatment */
.hero .btn { background: var(--cream); color: var(--espresso); border-color: var(--cream); }
.hero .btn:hover { background: transparent; color: var(--cream); }
.hero .btn--ghost { background: transparent; color: var(--cream); border-color: rgba(255,237,187,.55); }
.hero .btn--ghost:hover { background: var(--cream); color: var(--espresso); border-color: var(--cream); }

/* inner page hero (light) */
.page-hero { padding-top: calc(var(--header-h) + clamp(56px, 10vw, 130px)); padding-bottom: clamp(44px, 7vw, 96px); }
.page-hero .lead { margin-top: 28px; }

/* ---------- Structure ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.split--top { align-items: start; }
.section-head { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .lead { margin-top: 2px; }
.rule { height: 1px; background: var(--line); border: 0; }
.dark .rule { background: var(--line-dark); }

/* tags */
.tags { display: flex; flex-wrap: wrap; gap: 30px; }
.tag { font-family: var(--f-label); font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 12px; }
.tag::before { content: ""; width: 7px; height: 7px; border: 1px solid var(--brown); border-radius: 50%; }
.dark .tag { color: var(--cream); }
.dark .tag::before { border-color: var(--cream); }

/* ---------- Cards / tiles ---------- */
.card-grid { display: grid; gap: clamp(20px, 2.4vw, 36px); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--6 { grid-template-columns: repeat(3, 1fr); }

.card { background: var(--paper-2); border: 1px solid var(--line); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 16px; }
.card h3 { letter-spacing: -0.01em; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card .link { margin-top: auto; align-self: flex-start; }
.dark .card { background: rgba(255,255,255,0.03); border-color: var(--line-dark); }
.dark .card p { color: var(--on-dark-soft); }

.tile { display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; }
.tile .media { overflow: hidden; }
.tile .ph, .tile img { aspect-ratio: 4/3; width: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile:hover img { transform: scale(1.045); }
.tile__body { padding: clamp(20px, 2vw, 28px); display: flex; flex-direction: column; gap: 10px; }
.tile__body h3 { font-size: 1.4rem; }
.tile__body p { color: var(--ink-soft); font-size: 14.5px; }
.tile__body .link { margin-top: 8px; align-self: flex-start; }
.tile__cap { font-family: var(--f-label); font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; padding: 18px 20px; }
.dark .tile { background: rgba(255,255,255,0.03); border-color: var(--line-dark); }
.dark .tile__cap { color: var(--cream); }

/* feature list */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(28px,4vw,64px); row-gap: clamp(36px,4vw,60px); }
.feature { border-top: 1px solid var(--line); padding-top: 24px; }
.dark .feature { border-top-color: var(--line-dark); }
.feature .idx { font-family: var(--f-label); font-size: 11.5px; letter-spacing: 0.22em; color: var(--brown); }
.dark .feature .idx { color: var(--cream); }
.feature h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.01em; margin: 12px 0 10px; }
.feature p { color: var(--ink-soft); font-size: 15px; }
.dark .feature p { color: var(--on-dark-soft); }

/* checklist */
.checklist { display: grid; gap: 18px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 16px; align-items: start; color: var(--ink-soft); }
.checklist svg { width: 17px; height: 17px; margin-top: 5px; color: var(--brown); flex: none; }
.dark .checklist li { color: var(--on-dark-soft); }
.dark .checklist svg { color: var(--cream); }

/* program days */
.program { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.day { padding: 30px clamp(18px,2vw,30px) 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.day:last-child { border-right: 0; }
.day .d-idx { font-family: var(--f-label); font-size: 11px; letter-spacing: 0.24em; color: var(--ink-faint); }
.day h3 { font-size: 2rem; margin: 12px 0 2px; }
.day .d-date { font-family: var(--f-label); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.day ul { margin-top: 24px; display: grid; gap: 13px; }
.day li { font-size: 14.5px; color: var(--ink-soft); padding-left: 18px; position: relative; }
.day li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; border: 1px solid var(--brown); }
.day--race { background: var(--espresso); color: var(--on-dark); }
.day--race .d-idx, .day--race .d-date { color: rgba(255,237,187,.55); }
.day--race h3 { color: var(--cream); }
.day--race li { color: var(--on-dark-soft); }
.day--race li::before { border-color: var(--cream); }

/* pricing */
.price-list { border-top: 1px solid var(--line); }
.price-row {
  display: grid; grid-template-columns: minmax(150px, 0.6fr) 2fr auto;
  gap: 28px; align-items: center; padding: 30px 6px; border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease), padding-inline .35s var(--ease);
}
.price-row:hover { background: var(--paper-2); padding-inline: 22px; }
.price-row .price { font-family: var(--f-display); font-weight: 500; font-size: clamp(2rem, 3.4vw, 3.2rem); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.price-row .p-name { font-family: var(--f-label); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.price-row .p-desc { color: var(--ink-soft); font-size: 14px; margin-top: 5px; }
.pill { font-family: var(--f-label); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid var(--line-strong); padding: 9px 16px; color: var(--ink-soft); white-space: nowrap; }
.pill--best { background: var(--brown); color: var(--cream); border-color: var(--brown); }

.includes { display: flex; flex-wrap: wrap; gap: 16px 30px; justify-content: center; margin-top: 44px; }
.includes span { font-family: var(--f-label); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 11px; }
.includes span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brown); }
.dark .includes span { color: var(--on-dark-soft); }
.dark .includes span::before { background: var(--cream); }

/* contact chips */
.chips { display: flex; flex-wrap: wrap; gap: 14px; }
.chip { display: inline-flex; align-items: center; gap: 11px; padding: 13px 20px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; transition: border-color .3s var(--ease), color .3s var(--ease); }
.chip:hover { border-color: var(--brown); color: var(--brown); }
.chip svg { width: 16px; height: 16px; color: var(--brown); }

/* big numbered blocks */
.bignum-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px,2vw,28px); }
.bignum { background: var(--paper-2); border: 1px solid var(--line); padding: clamp(26px,3vw,40px); min-height: 250px; display: flex; flex-direction: column; }
.bignum .n { font-family: var(--f-display); font-weight: 500; font-size: 3.4rem; color: var(--brown); line-height: 1; opacity: .85; }
.bignum h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.45rem; letter-spacing: -0.01em; margin: 22px 0 12px; }
.bignum p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 4px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.field { position: relative; border-bottom: 1px solid var(--line-strong); padding-top: 24px; }
.dark .field { border-bottom-color: var(--line-dark); }
.field input, .field select, .field textarea { width: 100%; border: 0; background: transparent; color: inherit; font: inherit; padding: 13px 0; outline: none; }
.field textarea { resize: vertical; min-height: 100px; }
.field label {
  position: absolute; left: 0; top: 28px; pointer-events: none;
  font-family: var(--f-label); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-faint);
  transition: transform .25s var(--ease), font-size .25s var(--ease), color .25s var(--ease);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field.filled label {
  transform: translateY(-24px); font-size: 10.5px; color: var(--ink-soft); letter-spacing: 0.18em;
}
.field:focus-within { border-bottom-color: var(--brown); }
.dark .field:focus-within { border-bottom-color: var(--cream); }
.field select { appearance: none; cursor: pointer; }
.field .chev { position: absolute; right: 0; top: 36px; pointer-events: none; color: var(--ink-faint); }
.form .btn { margin-top: 32px; width: 100%; justify-content: center; }
.form-note { font-family: var(--f-label); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); text-align: center; margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 11px; }
.form-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brown); }

/* ---------- Image placeholders ---------- */
/* light elegant frame for content imagery */
.ph { position: relative; width: 100%;
  background: linear-gradient(135deg, var(--paper-3) 0%, #E6DECC 100%);
  display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ph::after {
  content: attr(data-label); font-family: var(--f-label); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint);
  padding: 0 18px; text-align: center; z-index: 1;
}
.ph::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(76,21,18,0.12); }
/* dramatic dark frame for hero / banners */
.ph.cover { background: linear-gradient(150deg, #2C211A 0%, #1A130F 100%); }
.ph.cover::after { color: rgba(255,237,187,0.5); }
.ph.cover::before { border-color: rgba(255,237,187,0.12); }

img.loaded { animation: fade .7s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Footer (Light Editorial) ---------- */
.site-footer { background: var(--paper-3); color: var(--ink); border-top: 1px solid var(--brown); padding-top: clamp(80px, 10vw, 132px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.3fr 2fr; gap: clamp(32px, 5vw, 72px); padding-bottom: 52px; }
.footer-brand { display: flex; gap: 18px; align-items: flex-start; }
.footer-brand img.footer-mono { height: 46px; width: auto; }
.footer-name { font-family: var(--f-display); font-size: 1.9rem; font-weight: 600; line-height: 1; }
.footer-tag { font-family: var(--f-label); text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; color: var(--ink-soft); margin-top: 8px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col .footer-h { font-family: var(--f-label); text-transform: uppercase; letter-spacing: 0.2em; font-size: 10.5px; color: var(--ink-faint); margin-bottom: 18px; font-weight: 400; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 14.5px; color: var(--ink); transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--brown); }
.footer-bar { border-top: 1px solid var(--line); padding: 24px 0 34px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bar small { font-family: var(--f-label); text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; color: var(--ink-faint); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .1s; }
.reveal[data-d="2"] { transition-delay: .2s; }
.reveal[data-d="3"] { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feature-grid, .card-grid--3, .card-grid--6 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--4, .bignum-grid { grid-template-columns: repeat(2, 1fr); }
  .program { grid-template-columns: repeat(2, 1fr); }
  .day:nth-child(2) { border-right: 0; }
}
@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .nav, .nav-cta .btn { display: none; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--espresso-2); padding: 14px 30px 30px;
    transform: translateY(-120%); transition: transform .4s var(--ease);
    border-bottom: 1px solid var(--line-dark); max-height: calc(100svh - var(--header-h)); overflow: auto;
    overscroll-behavior: contain;
  }
  .menu-open .nav { transform: none; display: flex; }
  .nav-link { color: var(--on-dark-soft); font-size: 13px; padding: 17px 0; width: 100%; border-bottom: 1px solid var(--line-dark); }
  .nav-link:hover, .nav-link.active { color: var(--cream); }
  .nav-link.active::after { display: none; }
  .nav > .btn { display: inline-flex; margin-top: 20px; background: var(--cream); color: var(--espresso); border-color: var(--cream); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .form-grid-2 { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 600px) {
  .card-grid--3, .card-grid--6, .card-grid--4, .feature-grid, .program, .bignum-grid { grid-template-columns: 1fr; }
  .day { border-right: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .price-row { grid-template-columns: 1fr auto; row-gap: 10px; }
  .price-row .p-info { grid-column: 1 / -1; order: 3; }
  .tags { gap: 16px 26px; }
}

/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }
.dark :focus-visible, .hero :focus-visible { outline-color: var(--cream); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
