/* ==========================================================================
   Traditional TaeKwon-Do Center of South Tampa
   Design system — v1
   Palette : dobok white / warm paper / one orange accent / warm near-black
   Type    : Archivo Black (display) · Libre Franklin (body) · IBM Plex Mono (utility)
   ========================================================================== */

/* ---------- Tokens: light (default) ---------- */
:root {
  --paper:        #F7F4F1;
  --surface:      #FFFFFF;
  --surface-2:    #FBF8F5;
  --ink:          #17120D;
  --ink-2:        #4B4238;
  --ink-3:        #82776B;
  --line:         #E6DFD8;
  --line-soft:    #F0EAE4;

  --accent:         #DD4F05;
  --accent-hot:     #F4660E;
  --accent-soft:    #FFF0E6;
  --accent-bright:  #FF8A3D;

  --dark:         #17120D;
  --on-dark:      #FBF8F5;
  --on-dark-2:    #B5A99C;

  /* belt spectrum — the school's actual rank progression */
  --belt-white:   #FFFFFF;
  --rail-white:   #C6CDDA;
  --belt-yellow:  #F2C230;
  --belt-green:   #2F8F52;
  --belt-blue:    #2255C4;
  --belt-red:     #C8102E;
  --belt-black:   #12141C;

  --shadow-sm: 0 1px 2px rgba(35, 22, 12, .06), 0 2px 8px rgba(35, 22, 12, .05);
  --shadow-md: 0 2px 6px rgba(35, 22, 12, .07), 0 12px 32px rgba(35, 22, 12, .09);
  --shadow-lg: 0 4px 12px rgba(35, 22, 12, .09), 0 28px 60px rgba(35, 22, 12, .16);

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);

  --ff-display: "Archivo Black", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ff-body: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  color-scheme: light;
}

/* ---------- Tokens: dark ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:      #14110E;
    --surface:    #1C1815;
    --surface-2:  #232019;
    --ink:        #F6F1EC;
    --ink-2:      #CFC4B8;
    --ink-3:      #9A8D80;
    --line:       #352F28;
    --line-soft:  #2A2520;

    --accent:         #FF7A33;
    --accent-hot:     #FF9153;
    --accent-soft:    #2C1A0D;
    --accent-bright:  #FF9A5C;

    --dark:       #0E0B09;
    --on-dark:    #FBF8F5;
    --on-dark-2:  #B5A99C;

    --belt-white: #E8EAF0;
    --rail-white: #3B4566;
    --belt-black: #05070E;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, .5), 0 16px 40px rgba(0, 0, 0, .45);
    --shadow-lg: 0 4px 14px rgba(0, 0, 0, .55), 0 32px 70px rgba(0, 0, 0, .55);

    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper:      #14110E;
  --surface:    #1C1815;
  --surface-2:  #232019;
  --ink:        #F6F1EC;
  --ink-2:      #CFC4B8;
  --ink-3:      #9A8D80;
  --line:       #352F28;
  --line-soft:  #2A2520;

  --accent:         #FF7A33;
  --accent-hot:     #FF9153;
  --accent-soft:    #2C1A0D;
  --accent-bright:  #FF9A5C;

  --dark:       #0E0B09;
  --on-dark:    #FBF8F5;
  --on-dark-2:  #B5A99C;

  --belt-white: #E8EAF0;
  --rail-white: #3B4566;
  --belt-black: #05070E;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, .5), 0 16px 40px rgba(0, 0, 0, .45);
  --shadow-lg: 0 4px 14px rgba(0, 0, 0, .55), 0 32px 70px rgba(0, 0, 0, .55);

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
  text-wrap: balance;
  margin: 0;
  text-transform: uppercase;
}

p { margin: 0; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 16px;
  border-radius: var(--r-sm); font-weight: 700; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 820px; }

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--paper { background: var(--paper); }
.section--surface { background: var(--surface); }

.section--dark {
  background: var(--dark);
  color: var(--on-dark);
}
.section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section--dark .eyebrow { color: var(--accent-bright); }
.section--dark .lede { color: var(--on-dark-2); }
.section--dark .prose { color: var(--on-dark-2); }
.section--dark .prose strong { color: #fff; }
.section--dark .prose a { color: var(--accent-bright); }
.section--dark .framed { border-color: rgba(255,255,255,.14); }

/* ---------- Her "Hurry up! Only [11] Passes Remaining" line ---------- */
.scarcity-band {
  background: var(--accent-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.scarcity-band p {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0;
  font-family: var(--ff-display);
  font-size: clamp(16px, 2.4vw, 22px);
  letter-spacing: .01em;
  color: var(--accent);
  text-align: center;
}
.scarcity-band svg { flex: none; }
.scarcity-band b { font-variant-numeric: tabular-nums; }

/* ---------- "Do you Love Our Martial Arts Classes?" — her review ask ---------- */
.review-ask {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.16);
  border-left: 3px solid var(--accent-bright);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 26px 26px 28px;
  align-self: start;
}
.review-ask h3 { color: #fff; margin: 0 0 10px; }
.review-ask p { color: var(--on-dark-2); margin: 0 0 12px; }
.review-ask__label {
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-bright); margin-top: 18px !important;
}
.review-ask .check-list { margin-top: 0; }
.review-ask__thanks {
  font-family: var(--ff-display);
  color: #fff !important;
  margin-top: 20px !important;
}


/* ---------- The owner's statement lines, and the after-school benefit list ---------- */
.pull {
  font-family: var(--ff-display);
  font-size: clamp(19px, 2.1vw, 27px);
  line-height: 1.25;
  color: var(--ink);
  margin: 28px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
  max-width: 62ch;
}
.center .pull { margin-inline: auto; text-align: left; }
.pull--dark, .section--dark .pull { color: #fff; border-left-color: var(--accent-bright); }
.prose .pull { margin-top: 24px; }

/* The "What Is Traditional ITF Taekwondo?" section on the home page: the split
   carries the opening, then the measure opens up for the tenets and the rest. */
/* ---------------------------------------------------------------- student
   resources: the creed, the tenets, the belt colours, the hyongs and the
   terminology, all of which come from the school's own documents. */
.creed { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.creed li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--rule, rgba(0,0,0,.1));
  font-size: clamp(16px, 1.8vw, 19px); line-height: 1.55; color: var(--ink);
}
.creed li:last-child { border-bottom: 0; }
.creed__n {
  flex: 0 0 auto; font-family: var(--ff-display);
  font-size: 22px; line-height: 1; color: var(--accent); min-width: 24px;
}

.tenet-cards {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}
.tenet-card {
  background: var(--surface, #fff); border: 1px solid var(--rule, rgba(0,0,0,.1));
  border-radius: 14px; padding: 22px 22px 24px;
}
.tenet-card__name {
  font-family: var(--ff-display); font-size: 19px; margin: 0 0 10px; color: var(--ink);
}
.tenet-card__ko {
  display: block; font-family: var(--ff-mono, inherit); font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
  margin-top: 5px;
}
.tenet-card p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }

.belt-list { display: grid; gap: 2px; }
.belt-row {
  display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 20px;
  align-items: start; padding: 16px 0;
  border-bottom: 1px solid var(--rule, rgba(0,0,0,.1));
}
.belt-row:last-child { border-bottom: 0; }
.belt-row p { margin: 0; color: var(--ink-2); line-height: 1.6; }
.belt-chip {
  display: inline-block; padding: 7px 0; width: 100%; text-align: center;
  border-radius: 999px; font-family: var(--ff-mono, inherit); font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  border: 1px solid rgba(0,0,0,.18); color: #17120D; background: #fff;
}
.belt-chip--yellow { background: #F6D04B; border-color: #D9B02A; }
.belt-chip--green  { background: #3E9B57; border-color: #2E7A42; color: #fff; }
.belt-chip--blue   { background: #2E6FB7; border-color: #245892; color: #fff; }
.belt-chip--red    { background: #C8302A; border-color: #A32520; color: #fff; }
.belt-chip--black  { background: #1A1512; border-color: #1A1512; color: #fff; }

.hyong-list {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}
.hyong { border-top: 2px solid var(--accent); padding-top: 14px; }
.hyong__head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 8px;
}
.hyong__name { font-family: var(--ff-display); font-size: 20px; margin: 0; color: var(--ink); }
.hyong__moves {
  font-family: var(--ff-mono, inherit); font-size: 11.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-2);
}
.hyong p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }

.term-grid {
  display: grid; gap: 30px 36px;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}
.term-group__title {
  font-family: var(--ff-mono, inherit); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-bright); margin: 0 0 12px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.18);
}
.term-grid dl { margin: 0; }
.term-grid dl > div {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 14px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.term-grid dl > div:last-child { border-bottom: 0; }
.term-grid dt { font-weight: 700; color: #fff; font-size: 15px; }
.term-grid dd { margin: 0; color: rgba(255,255,255,.72); font-size: 15px; }
/* Counting runs to twenty, which is far too tall for one column — it spans the
   grid and breaks itself into however many columns fit. */
.term-group--count { grid-column: 1 / -1; }
.term-count { columns: 4 190px; column-gap: 36px; }
.term-count > div {
  grid-template-columns: minmax(0, 1fr);
  break-inside: avoid; -webkit-column-break-inside: avoid;
}
/* flex, so a two-word number never leaves its digit stranded on its own line */
.term-count dt { display: flex; align-items: baseline; gap: 4px; }
.term-count dt > span:last-child { white-space: nowrap; }
.term-n {
  display: inline-block; min-width: 26px; color: var(--accent-bright);
  font-weight: 400; font-family: var(--ff-mono, inherit); font-size: 12.5px;
}

/* A sub-heading immediately under a section's h2 ("Every Day Is a New
   Adventure!"), and the closing line that ends a block on a lift. Both are
   spans inside .prose paragraphs so copy_blocks can carry them. */
.prose .split-sub {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(17px, 1.9vw, 22px);
  line-height: 1.25;
  color: var(--ink);
}
.section--dark .prose .split-sub { color: #fff; }
.prose .pull-inline {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(17px, 1.9vw, 22px);
  line-height: 1.3;
  color: var(--ink);
  padding-left: 18px;
  border-left: 3px solid var(--accent);
}
.section--dark .prose .pull-inline {
  color: #fff; border-left-color: var(--accent-bright);
}

/* The closing kicker under the adult page's "Journey to Black Belt" copy. */
.cta-split__kicker {
  margin-top: 18px;
  font-family: var(--ff-mono, var(--ff-display));
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-bright);
}

/* The home page's "What Is Traditional ITF Taekwondo?" section. It ran as a
   split beside a portrait until Austin removed the photograph on 30 Oct 2026;
   it is now a single centred column of body width, which is what long-form
   prose wants anyway. */
.itf-body { max-width: 74ch; margin-inline: auto; }
.itf-body .prose { max-width: none; }
.itf-lead { color: var(--ink-2); margin: clamp(26px, 3vw, 36px) 0 0; }
.tenet-line--ink { color: var(--accent); }

.tenet-line {
  font-family: var(--ff-display);
  font-size: clamp(15px, 1.7vw, 22px);
  color: var(--accent-bright);
  margin: 10px 0 0;
  line-height: 1.4;
}

.benefit-lead {
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 4px;
}
.benefit-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  column-gap: 32px;
}

/* ---------- The belt rail — rank progression as a structural device ---------- */
.belt-rail {
  height: 4px;
  width: 100%;
  background: var(--accent);
  border: 0;
  margin: 0;
}

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: currentColor;
  flex: none;
}

.h1 { font-size: clamp(36px, 5.6vw, 66px); }
.h2 { font-size: clamp(29px, 4.2vw, 46px); }
.h3 { font-size: clamp(20px, 2.2vw, 26px); }
.h4 { font-size: clamp(16px, 1.6vw, 19px); letter-spacing: 0; }

.lede {
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 62ch;
}

.prose p + p { margin-top: 1.05em; }
.prose { max-width: 66ch; color: var(--ink-2); }
.prose strong { color: var(--ink); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head .lede { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .14s ease, background-color .14s ease, border-color .14s ease, color .14s ease;
  line-height: 1.1;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-hot); border-color: var(--accent-hot); }

.btn--dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn--dark:hover { background: #16264f; border-color: #16264f; }

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

.btn--on-dark { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,.34); }
.btn--on-dark:hover { border-color: var(--on-dark); background: rgba(255,255,255,.07); }

.btn--lg { padding: 18px 32px; font-size: 16px; }
.btn--block { width: 100%; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding-block: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  flex: 1 1 auto;
  min-width: 0;
  margin-right: auto;
}
.brand > span { min-width: 0; }

/* Above the mobile-menu breakpoint the wordmark sizes to its own content, so a
   long school name can never slide under the nav. Below it the brand must be
   allowed to shrink or the page scrolls sideways on a phone. */
@media (min-width: 1300px) {
  .brand { flex: 0 0 auto; min-width: auto; }
  .brand > span { min-width: auto; }
}
@media (min-width: 1300px) and (max-width: 1420px) {
  .brand__name { font-size: 12.5px; }
  .brand__sub { display: none; }
  .nav { gap: 0; }
  .nav a, .nav-drop__toggle { padding-inline: 8px; }
}
.brand__mark { height: 42px; width: auto; flex: none; }
.brand__name {
  font-family: var(--ff-display);
  font-size: 13.5px;
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand__sub {
  display: block;
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: .13em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-top: 4px;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; white-space: nowrap; }
.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--accent); }

/* dropdown */
.nav-drop { position: relative; }
.nav-drop__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
}
.nav-drop[data-open="true"] .nav-drop__panel,
.nav-drop:hover .nav-drop__panel,
.nav-drop:focus-within .nav-drop__panel { display: flex; }
.nav-drop__panel a { padding: 10px 12px; font-weight: 600; }
.nav-drop__toggle {
  background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 14.5px; font-weight: 600;
  color: var(--ink-2); padding: 9px 12px; border-radius: var(--r-sm);
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-body);
}
.nav-drop__toggle:hover { color: var(--ink); background: var(--surface-2); }
.nav-drop__toggle svg { transition: transform .15s ease; }
.nav-drop[data-open="true"] .nav-drop__toggle svg,
.nav-drop:hover .nav-drop__toggle svg { transform: rotate(180deg); }

.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-weight: 500; font-size: 14px;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  padding: 8px 10px; border-radius: var(--r-sm);
}
.header-phone:hover { background: var(--surface-2); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 10px;
  cursor: pointer; color: var(--ink);
}

/* The nav carries eleven destinations and the school name is long, so the
   hamburger has to take over earlier than a typical site. */
@media (max-width: 1299px) {
  .nav, .header-cta .btn, .header-phone span { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-phone { display: inline-flex; padding: 10px; border: 1px solid var(--line); }
}

@media (max-width: 1180px) { .brand__sub { display: none; } }

@media (max-width: 430px) {
  .brand__name { font-size: 12px; }
  .brand__mark { height: 34px; width: auto; }
  .header-bar { gap: 10px; }
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line-soft);
  padding: 14px var(--gutter) 22px;
  background: var(--surface);
  max-height: 72vh;
  overflow-y: auto;
}
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav a {
  display: block; padding: 13px 4px; color: var(--ink);
  text-decoration: none; font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a.is-sub { padding-left: 20px; font-weight: 500; color: var(--ink-2); font-size: 15px; }
.mobile-nav .mobile-nav__label {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3); padding: 18px 4px 6px;
}
.mobile-nav .btn { margin-top: 18px; }

/* ---------- Offer ticker ---------- */
.ticker {
  background: var(--accent);
  color: var(--on-dark);
  font-family: var(--ff-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
}
.ticker__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 6px 18px; flex-wrap: wrap; padding: 9px 0; text-align: center;
}
@media (max-width: 560px) {
  .ticker { font-size: 11.5px; }
  .ticker__inner { gap: 4px 10px; }
  .ticker .ticker__dot { display: none; }
}
.ticker { color: #fff; }
.ticker strong { color: #fff; font-weight: 700; }
.ticker .ticker__dot { color: rgba(255,255,255,.5); }
.ticker a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Social icons in the top offer bar */
.ticker__social { display: inline-flex; align-items: center; gap: 4px; }
.ticker .ticker__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  color: #fff; text-decoration: none; transition: background-color .2s ease;
}
.ticker .ticker__social a:hover,
.ticker .ticker__social a:focus-visible { background: rgba(255,255,255,.2); }
.ticker .ticker__social a:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.ticker__inner { padding-block: 6px; }
@media (min-width: 1280px) {
  /* Wide screens: pin icons to the far right of the bar so the offer line stays on one row */
  .ticker { position: relative; }
  .ticker__social { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); }
}
@media print { .ticker__social { display: none; } }

/* Social links inside the mobile menu */
.mobile-nav .mobile-nav__social { display: flex; gap: 10px; margin-top: 14px; }
.mobile-nav .mobile-nav__social a {
  flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 10px; border: 1px solid var(--line); border-radius: var(--r-sm);
  border-bottom: 1px solid var(--line); font-weight: 600;
}
.mobile-nav .mobile-nav__social a:hover { background: var(--surface-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #0E0A08;
  color: #FFFFFF;
  overflow: hidden;
  isolation: isolate;
}

/* The photograph is content, not decoration — it ships as an <img> so it loads early. */
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

/* Scrim: heavy where the words sit, light where the students do. */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    /* Lightened 31 Oct 2026 so more of the beach photograph shows through.
       The left end still carries enough weight to hold white display type;
       drop it much below .78 and the headline starts to fray against the
       bright sand. */
    linear-gradient(100deg,
      rgba(14, 10, 8, .78) 0%,
      rgba(14, 10, 8, .64) 34%,
      rgba(14, 10, 8, .30) 60%,
      rgba(14, 10, 8, .12) 100%),
    linear-gradient(to top, rgba(14, 10, 8, .42) 0%, rgba(14, 10, 8, 0) 42%);
}
@media (max-width: 940px) {
  .hero__scrim {
    background:
      linear-gradient(to bottom,
        rgba(14, 10, 8, .82) 0%,
        rgba(14, 10, 8, .60) 45%,
        rgba(14, 10, 8, .86) 100%);
  }
  .hero__media img { object-position: center 45%; }
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
  padding-block: clamp(44px, 4.6vw, 76px);
}
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; }
}

.hero h1 {
  color: #FFFFFF;
  text-shadow: 0 2px 30px rgba(14, 10, 8, .5);
}
.hero h1 em {
  font-style: normal;
  color: #FF8A3D;
  display: block;
}
.hero__lede {
  margin-top: 20px;
  font-size: clamp(17px, 1.8vw, 20px);
  color: #E6DDD5;
  max-width: 54ch;
  text-shadow: 0 1px 18px rgba(14, 10, 8, .55);
}
.hero .eyebrow { color: #FF8A3D; }
.hero .btn-row { margin-top: 30px; }

.hero__chips {
  display: flex; flex-wrap: wrap; gap: 10px 20px;
  margin-top: 30px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .07em;
  text-transform: uppercase; color: #D6CCC3;
}
.chip svg { color: #FF8A3D; flex: none; }

.stars { display: inline-flex; gap: 2px; color: var(--accent-bright); }

/* ---------- Offer card (the gated web special) ---------- */
.offer-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.offer-card__top {
  background: var(--accent);
  color: #fff;
  padding: 18px 24px;
  text-align: center;
}
.offer-card__top .kicker {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; opacity: .92;
}
.offer-card__price {
  font-family: var(--ff-display);
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.05;
  margin-top: 6px;
  text-transform: uppercase;
}
.offer-card__price s { opacity: .62; font-size: .46em; margin-left: 10px; font-family: var(--ff-body); font-weight: 600; }
.offer-card__what {
  font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .08em;
  text-transform: uppercase; opacity: .92; margin-top: 8px;
}
.offer-card__body { padding: 22px 24px 26px; }

.offer-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 9px; }
.offer-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 15px; color: var(--ink-2);
}
.offer-list svg { color: var(--accent); flex: none; margin-top: 4px; }

.scarcity {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-3);
  margin-top: 16px; text-align: center;
}
.scarcity b { color: var(--accent); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3);
}
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--ink);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12px; line-height: 1.5; color: var(--ink-3);
  margin: 14px 0 16px;
}
.consent input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--accent); }

.form-note {
  font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 12px;
}

.form-success {
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
  border-radius: var(--r-md);
  padding: 20px;
  text-align: center;
}
.form-success h3 { font-size: 20px; margin-bottom: 8px; color: var(--ink); }
.form-success--warn { background: var(--surface-2); border-color: var(--ink-3); }
.form-success--warn a { font-weight: 700; }
.form-success p { font-size: 15px; color: var(--ink-2); }

/* GoHighLevel embed slot */
.ghl-slot { min-height: 10px; }
.ghl-slot iframe { width: 100%; border: 0; display: block; }

/* ---------- Full-bleed photo band ---------- */
.photo-band {
  position: relative;
  height: clamp(200px, 30vw, 400px);
  overflow: hidden;
  background: var(--dark);
}
.photo-band img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.photo-band__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 44px var(--gutter) 16px;
  background: linear-gradient(transparent, rgba(23,18,13,.82));
  font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.88);
}
.photo-band__caption span { max-width: var(--container); margin-inline: auto; display: block; }


/* ---------- A row of square photographs between sections ---------- */
.photo-grid-wrap { padding-block: clamp(28px, 4vw, 52px); background: var(--surface); }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  gap: 10px;
}
.photo-grid__item {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--dark);
}
.photo-grid__item img { width: 100%; height: 100%; object-fit: cover; }


/* ---------- Consent line + honeypot ---------- */
.consent small {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-3);
}
.consent small a { color: var(--accent); }
/* Off-screen rather than display:none — bots skip hidden fields but fill this. */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* A hero with no photograph, for pages that don't warrant one. */
.page-hero--plain { background: var(--dark); color: var(--on-dark); }
.page-hero--plain .page-hero__inner { padding-block: clamp(42px, 5vw, 76px); }
.page-hero--plain .h1 { color: #fff; }
.page-hero--plain .crumbs, .page-hero--plain .crumbs a { color: var(--on-dark-2); }

/* ---------- Legal pages ---------- */
.legal { max-width: 68ch; }
.legal h2 {
  font-family: var(--ff-display);
  font-size: clamp(20px, 2.2vw, 27px);
  margin: 44px 0 12px;
  color: var(--ink);
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  font-size: 16px; font-weight: 700; margin: 24px 0 8px; color: var(--ink);
}
.legal p, .legal li { color: var(--ink-2); line-height: 1.7; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent); }
.legal strong { color: var(--ink); }
.legal__updated {
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-3);
  padding-bottom: 20px; margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.legal__callout {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 18px 20px;
  margin: 24px 0;
}
.legal__callout p:last-child { margin-bottom: 0; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--surface);
  border-block: 1px solid var(--line-soft);
}
.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border-inline: 1px solid var(--line-soft);
}
@media (max-width: 980px) { .trust-strip__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trust-strip__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.trust-strip--tenets .trust-item__num {
  font-size: clamp(15px, 1.45vw, 22px);
  line-height: 1.15;
  letter-spacing: 0;
}
.trust-strip--tenets .trust-item { padding-block: 20px; }

.trust-item {
  background: var(--surface);
  padding: 26px 22px;
  text-align: center;
}
.trust-item__num {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3.4vw, 36px);
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.trust-item__label {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3); margin-top: 10px;
}

/* ---------- Featured program (the new one gets the wide slot) ---------- */
.program-feature {
  display: grid;
  grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  margin-bottom: 22px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.program-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
@media (max-width: 720px) { .program-feature { grid-template-columns: 1fr; } }

.program-feature__media {
  position: relative;
  aspect-ratio: 16 / 11;
  max-width: 100%;
  background: var(--dark);
  overflow: hidden;
}
.program-feature__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
@media (max-width: 720px) { .program-feature__media { aspect-ratio: 16 / 10; } }
.program-feature__body {
  padding: clamp(24px, 3vw, 38px);
  display: flex; flex-direction: column; gap: 12px; justify-content: center;
}
.program-feature__body h3 { font-size: clamp(24px, 2.6vw, 32px); }
.program-feature__body p { font-size: 16px; color: var(--ink-2); max-width: 54ch; }
.program-feature__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; padding: 6px 10px; border-radius: 2px;
}
.tag--new { background: var(--accent); color: #fff; }
.tag--age { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent); }

/* ---------- Program cards ---------- */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: 22px;
}

.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.program-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  max-width: 100%;
  background: var(--dark);
  overflow: hidden;
}
.program-card__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 25%;
  transition: transform .4s ease;
}
.program-card:hover .program-card__media img { transform: scale(1.04); }
.program-card__age {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: var(--accent); color: #fff;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; padding: 6px 10px; border-radius: 2px;
}
.program-card__badge {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  background: var(--ink); color: #fff;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; padding: 6px 10px; border-radius: 2px;
}
.program-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.program-card__body h3 { font-size: 21px; }
.program-card__body p { font-size: 15px; color: var(--ink-2); }
.program-card__link {
  margin-top: auto; padding-top: 6px;
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
  display: inline-flex; align-items: center; gap: 7px;
}
.program-card:hover .program-card__link svg { transform: translateX(4px); }
.program-card__link svg { transition: transform .18s ease; }

/* image fallback pattern — keeps layout intentional if a photo is unavailable */
.media-fallback {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 16px),
    linear-gradient(150deg, var(--accent-hot) 0%, var(--dark) 78%);
  display: grid; place-items: center;
}
.media-fallback span {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255,255,255,.62);
}
.media-fallback::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--accent-bright);
}

/* ---------- Tenets (the five tenets of Taekwon-Do) ---------- */
.tenets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.tenet {
  padding: 26px 22px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tenet:last-child { border-right: 0; }
.tenet__ko {
  font-size: 26px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
  font-family: var(--ff-body);
  font-weight: 600;
}
.tenet__ko svg { width: 22px; height: 22px; }
.tenet__en {
  font-family: var(--ff-display);
  font-size: 17px;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: -0.005em;
}
/* Cells that lead with the name rather than an icon get a rule to sit under. */
.tenet--named .tenet__en { font-size: 19px; }
.tenet--named .tenet__en::before {
  content: "";
  display: block;
  width: 26px; height: 3px;
  background: var(--accent);
  margin-bottom: 14px;
}
.section--dark .tenet--named .tenet__en::before { background: var(--accent-bright); }
.tenet__romaja {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); margin-top: 6px;
}
.tenet p { font-size: 14px; color: var(--ink-2); margin-top: 12px; line-height: 1.55; }

.section--dark .tenets,
.section--dark .tenet { border-color: rgba(255,255,255,.15); }
.section--dark .tenet__ko { color: var(--accent-bright); }
.section--dark .tenet__en { color: #fff; }
.section--dark .tenet__romaja,
.section--dark .tenet p { color: var(--on-dark-2); }

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.split--reverse > *:first-child { order: 2; }
@media (max-width: 700px) { .split--reverse > *:first-child { order: 0; } }

.framed {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-width: 100%;
  background: var(--dark);
}
.framed img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.framed--tall { aspect-ratio: 3 / 4; }

.check-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.check-list svg { color: var(--accent); flex: none; margin-top: 4px; }
.section--dark .check-list li,
.offer-band .check-list li { color: var(--on-dark-2); }
.section--dark .check-list svg,
.offer-band .check-list svg { color: var(--accent-bright); }

/* ---------- Reviews ---------- */
.review-head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 20px;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.rating-block {
  display: flex; align-items: center; gap: 12px;
  flex: 0 0 auto; width: max-content; max-width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--accent-soft);
}
.section--dark .rating-block { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }
.rating-block__score {
  font-family: var(--ff-display); font-size: 44px; line-height: 1;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.rating-block__meta { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: 18px;
}
.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 22px 22px 24px;
  display: flex; flex-direction: column; gap: 12px;
  margin: 0;                     /* <figure> carries a 40px UA margin */
}
.nb { white-space: nowrap; }

.review blockquote { margin: 0; }  /* so does <blockquote> */
.review blockquote p { margin: 0; }
.review p { font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }
.review__who {
  margin-top: auto;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .11em;
  text-transform: uppercase; color: var(--ink-3);
}

/* ---------- Belt path ---------- */
.path {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  counter-reset: belt;
}
@media (max-width: 860px) { .path { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 460px) { .path { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.path__step { padding: 0 14px 0 0; }
.path__swatch {
  height: 42px; border-radius: 3px;
  border: 1px solid rgba(255,255,255,.22);
  position: relative;
}
.path__swatch::after {
  content: ""; position: absolute; right: 8px; top: 8px; bottom: 8px; width: 6px;
  border-radius: 2px; background: rgba(0,0,0,.35);
}
.path__step[data-tip="none"] .path__swatch::after { display: none; }
.path__name {
  font-family: var(--ff-display); font-size: 15px; text-transform: uppercase;
  margin-top: 14px; color: #fff;
}
.path__note { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); margin-top: 6px; }

/* ---------- Document downloads ---------- */
.doc-group + .doc-group { margin-top: clamp(32px, 4vw, 48px); }
.doc-group__title {
  font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3);
  padding-bottom: 12px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}
.doc-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.doc-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.doc-card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  color: var(--accent);
  flex: none;
}
.doc-card__title {
  display: block;
  font-weight: 700; font-size: 16.5px; color: var(--ink); line-height: 1.3;
}
.doc-card__desc {
  display: block;
  font-size: 14.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.5;
}
.doc-card__meta {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); margin-top: 12px;
  display: flex; align-items: center; gap: 8px;
}
.doc-card:hover .doc-card__meta { color: var(--accent); }

.doc-empty {
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  background: var(--surface);
}
.doc-empty .lede { margin-inline: auto; }

/* ---------- Glossary ---------- */
.glossary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 10px 28px;
}
.glossary dl { margin: 0; display: grid; gap: 9px; }
.glossary > div { display: block; }
.glossary dl > div {
  display: flex; justify-content: space-between; gap: 14px;
  align-items: baseline;
  border-bottom: 1px dotted var(--line);
  padding-bottom: 7px;
}
.glossary dt {
  font-weight: 700; color: var(--ink); font-size: 15.5px;
}
.glossary dd {
  margin: 0; color: var(--ink-3); font-size: 14px; text-align: right;
  font-family: var(--ff-mono); letter-spacing: .02em;
}
.section--dark .glossary dt { color: #fff; }
.section--dark .glossary dd { color: var(--on-dark-2); }
.section--dark .glossary dl > div { border-bottom-color: rgba(255,255,255,.16); }

/* ---------- Creed ---------- */
.creed {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 26px;
  max-width: 62ch;
}
.creed p {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  color: var(--ink);
}
.creed p + p { margin-top: .7em; }

/* ---------- Dated list (closures, testing) ---------- */
.dates { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 760px; }
.dates__row {
  display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 18px; padding-block: 16px; border-bottom: 1px solid var(--line);
}
@media (max-width: 560px) { .dates__row { grid-template-columns: 1fr; gap: 4px; } }
.dates__when {
  font-family: var(--ff-mono); font-size: 12.5px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent);
}
.dates__what { color: var(--ink-2); font-size: 15.5px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq details[open] { background: transparent; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 44px 20px 0;
  font-weight: 700;
  font-size: 17.5px;
  color: var(--ink);
  position: relative;
  display: block;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 8px; top: 50%;
  width: 13px; height: 13px;
  margin-top: -9px;
  border-right: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -4px; }
.faq details > div { padding: 0 44px 22px 0; color: var(--ink-2); font-size: 16px; }
.faq details > div p + p,
.faq details > div ol + p,
.faq details > div ul + p { margin-top: .9em; }
/* The ADHD / developmental-differences answer is long enough to need real
   structure inside the accordion: a sub-heading, a numbered list of benefits
   and a short reference list. */
.faq details > div h4 {
  font-family: var(--font-display, inherit);
  font-size: 17px; font-weight: 700; color: var(--ink);
  margin: 1.4em 0 .5em; letter-spacing: .01em;
}
.faq details > div ol { margin: .9em 0 0; padding-left: 1.3em; }
.faq details > div ol > li { margin-top: .9em; }
.faq details > div ol > li::marker { color: var(--accent); font-weight: 700; }
.faq details > div ol > li > strong { display: block; color: var(--ink); }
.faq details > div .faq__refs { margin-top: 1em; font-size: 15px; }
.faq details > div .faq__refs li { margin-top: .6em; }
.faq details > div .faq__note {
  margin-top: 1.2em; padding-top: 1em;
  border-top: 1px solid var(--rule, rgba(0,0,0,.12));
  font-size: 15px;
}

/* ---------- Offer band ---------- */
.offer-band {
  background:
    radial-gradient(900px 480px at 88% 0%, rgba(221,79,5,.38), transparent 60%),
    var(--dark);
  color: var(--on-dark);
}
.offer-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
@media (max-width: 900px) { .offer-band__inner { grid-template-columns: 1fr; } }
.offer-band h2 { color: #fff; }
/* Her offer headline is a long sentence, not three words — step it down so it
   doesn't swallow the band. */
.offer-band .h2 { font-size: clamp(25px, 2.9vw, 38px); }

/* ---------- Location ---------- */
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
@media (max-width: 820px) { .location-grid { grid-template-columns: minmax(0, 1fr); } }

.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
/* An email address or a long school name has no break opportunity, and a grid
   track sized auto will widen to fit it rather than wrap. */
.info-list li, .info-list div { min-width: 0; }
.info-list a, .info-list dt, .info-list dd { overflow-wrap: anywhere; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list svg { color: var(--accent); flex: none; margin-top: 3px; }
.info-list dt {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px;
}
.info-list dd { margin: 0; font-size: 16.5px; color: var(--ink); font-weight: 600; }
.info-list dd a { color: var(--ink); text-decoration: none; }
.info-list dd a:hover { color: var(--accent); }
.info-list dd small { display: block; font-weight: 400; font-size: 14px; color: var(--ink-3); margin-top: 2px; }

.map-frame {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  max-width: 100%;
  background: var(--surface-2);
}
.map-frame iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; display: block; }
.map-fallback {
  position: absolute; inset: 0; z-index: 0;
  display: grid; place-items: center; align-content: center; gap: 10px;
  text-align: center; padding: 24px;
  background:
    repeating-linear-gradient(0deg, var(--line-soft) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, var(--line-soft) 0 1px, transparent 1px 44px),
    var(--surface-2);
}
.map-fallback strong { font-family: var(--ff-display); font-size: 18px; text-transform: uppercase; color: var(--ink); }
.map-fallback span { font-size: 14px; color: var(--ink-3); }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  gap: 16px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  border-top: 3px solid var(--accent);
}
.team-card h3 { font-size: 16px; letter-spacing: 0; }
.team-card .role {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-top: 8px;
}
.team-card p { font-size: 14px; color: var(--ink-2); margin-top: 10px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  background: #0E0A08;
  color: #FFFFFF;
  overflow: hidden;
  isolation: isolate;
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.page-hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg,
      rgba(14, 10, 8, .92) 0%,
      rgba(14, 10, 8, .80) 40%,
      rgba(14, 10, 8, .44) 70%,
      rgba(14, 10, 8, .22) 100%),
    linear-gradient(to top, rgba(14, 10, 8, .5) 0%, rgba(14, 10, 8, 0) 40%);
}
@media (max-width: 860px) {
  .page-hero__scrim {
    background: linear-gradient(to bottom,
      rgba(14, 10, 8, .86) 0%,
      rgba(14, 10, 8, .68) 50%,
      rgba(14, 10, 8, .88) 100%);
  }
}
/* Lighter overlay for photos that are already on the dark side
   (used on the Young Children page). */
.page-hero--light .page-hero__scrim {
  background:
    linear-gradient(100deg,
      rgba(14, 10, 8, .74) 0%,
      rgba(14, 10, 8, .56) 40%,
      rgba(14, 10, 8, .22) 70%,
      rgba(14, 10, 8, .06) 100%),
    linear-gradient(to top, rgba(14, 10, 8, .32) 0%, rgba(14, 10, 8, 0) 40%);
}
.page-hero--light .page-hero__media img { filter: brightness(1.12); }
@media (max-width: 860px) {
  .page-hero--light .page-hero__scrim {
    background: linear-gradient(to bottom,
      rgba(14, 10, 8, .72) 0%,
      rgba(14, 10, 8, .50) 50%,
      rgba(14, 10, 8, .74) 100%);
  }
}
.page-hero__inner {
  position: relative; z-index: 2;
  padding-block: clamp(44px, 6vw, 82px);
  max-width: 760px;
}
.page-hero h1 {
  color: #FFFFFF;
  font-size: clamp(30px, 4.4vw, 52px);
  text-shadow: 0 2px 26px rgba(14, 10, 8, .5);
}
.page-hero .lede {
  color: #E6DDD5;
  margin-top: 18px;
  text-shadow: 0 1px 16px rgba(14, 10, 8, .55);
}
.page-hero .eyebrow { color: #FF8A3D; }

.crumbs {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: #BCAFA4; margin-bottom: 18px;
}
.crumbs a { color: #BCAFA4; text-decoration: none; }
.crumbs a:hover { color: #FF8A3D; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: var(--on-dark-2);
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: 36px 28px;
  padding-block: clamp(44px, 6vw, 66px);
}
@media (max-width: 1040px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 {
  font-family: var(--ff-mono); font-weight: 500; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-bright);
  margin-bottom: 14px;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links li { min-width: 0; }
.footer-links a { overflow-wrap: anywhere; }
.footer-links a { color: var(--on-dark-2); text-decoration: none; }
.footer-links a:hover { color: #fff; }

.footer-brand__name {
  font-family: var(--ff-display); font-size: 18px; color: #fff;
  text-transform: uppercase; line-height: 1.1;
}
.footer-brand p { margin-top: 14px; max-width: 34ch; font-size: 14.5px; }

/* Social icon buttons (footer) */
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  color: #fff; text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.social-link:hover, .social-link:focus-visible {
  background: var(--accent-bright); border-color: var(--accent-bright); transform: translateY(-2px);
}
.social-link:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 20px;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  justify-content: space-between;
  font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .06em;
  color: #7E8AAC;
}
.footer-bottom a { color: #7E8AAC; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Mobile sticky CTA bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  display: none;
  gap: 10px;
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 10px var(--gutter);
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}
.mobile-bar .btn { flex: 1; padding: 14px 10px; font-size: 13.5px; }
@media (max-width: 780px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 76px; }
}

/* ---------- Utilities ---------- */
.stack-sm { display: grid; gap: 10px; }
.mt-lg { margin-top: clamp(28px, 4vw, 44px); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lede { margin-inline: auto; }
.center .btn-row { justify-content: center; }


/* ==========================================================================
   Print — used for the paper review PDF, and for anyone printing a page
   ========================================================================== */
@media print {
  :root { --paper: #FFFFFF; }

  /* Keep the orange and the dark bands. Without this browsers drop every
     background and the design prints as grey text on white. */
  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  html, body { background: #FFFFFF; }

  /* A sticky header reprints on every sheet; a fixed bar covers the content. */
  .site-header { position: static !important; }
  .mobile-bar,
  .skip-link,
  .nav-toggle,
  .mobile-nav { display: none !important; }

  /* Keep components whole across a page break. */
  .program-card, .program-feature, .review, .doc-card, .tenet, .trust-item,
  .team-card, .offer-card, .dates__row, .faq details, .glossary dl > div {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .section-head { break-after: avoid; page-break-after: avoid; }
  h1, h2, h3 { break-after: avoid; page-break-after: avoid; }

  /* Heroes are taller than a sheet — forcing them whole just ejects a blank page. */
  .hero, .page-hero { break-inside: auto; page-break-inside: auto; }

  /* A hero on paper: Chrome will not paint an absolutely-positioned photo inside
     an overflow-hidden box across a page break, so the whole band printed as a
     solid black slab. Lay the photo out in the flow instead, drop the scrim, and
     set the words in ink on white — which is also the only version you can
     actually write on. */
  .hero, .page-hero {
    background: #fff !important;
    color: var(--ink) !important;
    overflow: visible !important;
    isolation: auto !important;
    min-height: 0 !important;
    display: block !important;
  }
  .hero__scrim, .page-hero__scrim { display: none !important; }
  .hero__media, .page-hero__media {
    position: static !important; inset: auto !important;
    width: 100% !important; height: 1.55in !important;
    overflow: hidden; border-radius: 6px; margin-bottom: 12px;
  }
  .hero__media img, .page-hero__media img {
    position: static !important;
    width: 100% !important; height: 1.55in !important;
    object-fit: cover !important;
  }
  /* A grid container prints as one monolithic block, so a hero that doesn't fit
     the remaining space ejects a near-blank sheet. Let it flow instead. */
  .hero__inner, .page-hero__inner {
    display: block !important;
    padding-block: 0 18px !important;
    break-inside: auto; page-break-inside: auto;
  }
  .hero__inner > * + * { margin-top: 22px; }
  .hero .offer-card { max-width: 4.6in; }
  .hero *, .page-hero * { color: var(--ink) !important; text-shadow: none !important; }
  .hero .eyebrow, .page-hero .eyebrow,
  .hero h1 em, .page-hero h1 em { color: var(--accent) !important; }
  .hero .chip { background: #fff !important; border-color: #ccc !important; }
  .btn--on-dark { background: #fff !important; border: 1px solid var(--ink) !important; }

  /* Anything that is white-on-colour by design stays white-on-colour. */
  .btn--primary, .btn--primary *,
  .offer-card__top, .offer-card__top *,
  .ticker, .ticker * { color: #fff !important; }
  .offer-card__top s { color: rgba(255,255,255,.72) !important; }

  /* The nav collides with the wordmark once the header is unstuck. */
  .nav { display: none !important; }

  /* Open every answer — a collapsed FAQ is useless on paper. */
  .faq details > div { display: block !important; }
  .faq summary::after { display: none; }

  /* Underline links so a printed page still shows where they went. */
  .prose a, .faq a, .info-list a { text-decoration: underline; }

  /* The map iframe prints as an empty box; the address is above it anyway. */
  .map-frame { display: none; }

  .section { padding-block: 28px; }
  .hero__inner, .page-hero__inner { padding-block: 30px; }
}

/* ---------- Instructor bios (About page) ---------- */
.instructor__photo { max-width: 440px; width: 100%; justify-self: center; }
.instructor__creds {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.instructor__creds li {
  font-size: 13px; font-weight: 600; line-height: 1.3;
  padding: 6px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--ink);
  border: 1px solid var(--line);
}
:root[data-theme="dark"] .instructor__creds li { color: var(--accent-bright); background: var(--surface-2); }
.instructor-photo-empty {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background:
    radial-gradient(circle at 50% 38%, rgba(221,79,5,.28), transparent 62%),
    var(--dark);
  color: var(--on-dark);
}
.instructor-photo-empty__mono {
  font-family: var(--ff-display); font-size: clamp(56px, 8vw, 92px); line-height: 1;
  letter-spacing: .02em;
}
.instructor-photo-empty__note {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-dark-2);
}
@media (max-width: 700px) {
  .instructor .instructor__photo { order: -1; max-width: 320px; }
}
.instructor__photo--wide { max-width: 560px; }


/* ---------- Footer: legal links + agency credit ---------- */
.footer-link-btn {
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  font: inherit; color: var(--on-dark-2); text-align: left;
}
.footer-link-btn:hover { color: #fff; }
.footer-link-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.footer-powered a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Map: held back until consent ---------- */
.map-fallback .map-consent { margin-top: 6px; }
.map-fallback .map-consent__note { font-size: 12.5px; color: var(--ink-3); max-width: 34ch; }
.map-fallback .map-consent__note a { color: var(--accent); }
.map-frame iframe:not([src]) { display: none; }
.map-frame[data-consent-granted] .map-consent,
.map-frame[data-consent-granted] .map-consent__note { display: none; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; z-index: 120;
  left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  max-width: 1080px; margin-inline: auto;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
  padding: 18px 22px;
}
.cookie-banner__text { flex: 1 1 380px; min-width: 0; }
.cookie-banner__text p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.cookie-banner__text a { color: var(--accent); }
.cookie-banner .cookie-banner__title {
  font-family: var(--ff-display); font-size: 15px; text-transform: uppercase;
  letter-spacing: .02em; color: var(--ink); margin-bottom: 4px;
}
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner .btn, .cookie-modal .btn { padding: 11px 18px; font-size: 14px; }
@media (max-width: 640px) {
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1 1 auto; }
  .cookie-banner__actions [data-cc="accept"] { order: -1; flex-basis: 100%; }
}

/* ---------- Cookie settings dialog ---------- */
.cookie-modal { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 16px; }
.cookie-modal[hidden] { display: none; }
.cookie-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 10, 6, .55); }
.cookie-modal__panel {
  position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--surface); color: var(--ink);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 28px 26px 24px; outline: none;
}
.cookie-modal__panel h2 {
  font-family: var(--ff-display); font-size: 22px; text-transform: uppercase; margin: 0 0 8px;
}
.cookie-modal__lede { font-size: 14.5px; color: var(--ink-2); margin: 0 0 18px; line-height: 1.55; }
.cookie-modal__lede a { color: var(--accent); }
.cookie-modal__close {
  position: absolute; top: 12px; right: 14px; width: 36px; height: 36px;
  background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink-3);
}
.cookie-modal__close:hover { color: var(--ink); }
.cookie-pref { border-top: 1px solid var(--line); padding: 14px 0; }
.cookie-pref__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cookie-pref__head label { font-weight: 700; font-size: 15px; }
.cookie-pref p { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-3); line-height: 1.5; }
.cookie-pref__always {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3);
}
.cookie-switch {
  appearance: none; -webkit-appearance: none; flex: 0 0 auto; margin: 0; cursor: pointer;
  width: 44px; height: 26px; border-radius: 999px; position: relative;
  background: var(--line); transition: background-color .2s ease;
}
.cookie-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s ease;
}
.cookie-switch:checked { background: var(--accent); }
.cookie-switch:checked::after { transform: translateX(18px); }
.cookie-switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cookie-modal__actions {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end;
  border-top: 1px solid var(--line); padding-top: 18px; margin-top: 4px;
}
html.cookie-modal-open { overflow: hidden; }

/* ---------- Legal pages: cookie table ---------- */
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 14px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.legal th { font-family: var(--ff-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.legal .table-scroll { overflow-x: auto; }
.legal .btn { margin: 4px 0 16px; }
.link-btn {
  background: none; border: 0; padding: 0; font: inherit; cursor: pointer;
  color: var(--accent); text-decoration: underline; text-underline-offset: 2px;
}
