/* ==========================================================================
   USMLEPro — styles.css
   Warm, calm, premium. Built for medical students deciding who to trust.
   Zero dependencies. See BUILD-SPEC.md.
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, figure, blockquote, dl, dt, dd, ol, ul { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
/* height:auto is required — without it the width/height HTML attributes act as
   presentational hints, override aspect-ratio, and stretch images vertically */
img, picture, svg { max-width: 100%; height: auto; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------- 2. Tokens ---------- */
:root {
  /* warm neutrals */
  --paper:  #FCFAF7;
  --card:   #FFFFFF;
  --sand:   #F5F1EA;
  --sand-2: #EFEAE1;
  --edge:   #E4DED3;

  /* ink */
  --ink:    #1A2320;
  --body:   #46544F;
  --muted:  #5A6862;  /* passes 4.5:1 on paper, card, sand, sand-2 and teal-soft */

  /* clinical accent */
  --teal:      #0E5C54;
  --teal-deep: #0A4640;
  --teal-soft: #E7F0EE;

  /* warm secondary, used sparingly */
  --clay:      #9E5228;
  --clay-soft: #FBEADE;

  --focus: #1746C9;

  /* type */
  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-script:  'Caveat', 'Segoe Script', cursive;

  --fs-hero:  clamp(2.375rem, 5.4vw, 4.5rem);
  --fs-h2:    clamp(1.75rem, 3.4vw, 2.75rem);
  --fs-h3:    clamp(1.0625rem, 1.5vw, 1.3125rem);
  --fs-lede:  clamp(1.0625rem, 1.35vw, 1.25rem);
  --fs-body:  1rem;
  --fs-sm:    0.9375rem;
  --fs-label: 0.75rem;

  /* space */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 48px; --s6: 64px; --s7: 88px; --s8: 120px;

  --shell: 1180px;
  --gut: clamp(20px, 5vw, 56px);

  --r-s: 12px;
  --r:   20px;
  --r-l: 32px;
  --pill: 999px;

  /* soft, warm elevation */
  --sh-1: 0 1px 2px rgba(26, 35, 32, 0.04), 0 10px 24px -14px rgba(26, 35, 32, 0.12);
  --sh-2: 0 2px 6px rgba(26, 35, 32, 0.05), 0 26px 50px -24px rgba(26, 35, 32, 0.18);

  --hdr-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 200ms;
  --t: 520ms;
  --t-slow: 900ms;
}

/* ---------- 3. Base ---------- */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* anchors never land under the sticky header */
  scroll-padding-top: calc(var(--hdr-h) + var(--s4));
}

body {
  min-height: 100vh;
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-variation-settings: 'SOFT' 30, 'WONK' 0;
}

p { max-width: 68ch; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.vh {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.lede {
  font-size: var(--fs-lede);
  color: var(--body);
  max-width: 52ch;
}

.note {
  font-size: var(--fs-sm);
  color: var(--muted);
  max-width: 62ch;
}

.link { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { color: var(--teal-deep); }

/* small caps section label */
.label {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--f-sans);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.label__num {
  font-family: var(--f-display);
  font-size: 0.875rem;
  letter-spacing: 0;
  color: var(--teal);
}
.label--center { justify-content: center; }

.h2 { font-size: var(--fs-h2); margin-bottom: var(--s5); text-wrap: balance; }

/* highlighter swipe behind key words */
.hl {
  position: relative;
  isolation: isolate;
  white-space: nowrap;
}
.hl::before {
  content: '';
  position: absolute;
  left: -0.08em; right: -0.08em;
  bottom: 0.08em;
  height: 0.38em;
  background: var(--clay-soft);
  border-radius: 3px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-slow) var(--ease) 260ms;
}
.hl.is-in::before { transform: scaleX(1); }

/* ---------- 4. Focus + skip ---------- */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: fixed;
  top: -60px; left: var(--s2);
  z-index: 3000;
  padding: 12px 20px;
  background: var(--teal);
  color: #fff;
  border-radius: var(--pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: top var(--t-fast) var(--ease);
}
.skip:focus-visible { top: var(--s2); }

/* reading progress — quiet hairline */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 2000;
  background: transparent;
}
.progress__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--teal);
  opacity: 0.85;
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  padding: 13px 24px;
  border-radius: var(--pill);
  font-family: var(--f-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-align: center;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}

.btn--solid {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(14, 92, 84, 0.55);
}
.btn--solid:hover {
  background: var(--teal-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -12px rgba(14, 92, 84, 0.6);
}

.btn--quiet {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--edge);
}
.btn--quiet:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

.btn:active { transform: translateY(0); }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--sm { padding: 10px 18px; font-size: 0.875rem; }

/* ---------- 6. Motion primitives ---------- */
[data-reveal] > * {
  opacity: 0;
  transform: translateY(16px);
}
[data-reveal].is-in > * {
  opacity: 1;
  transform: none;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* NOTE: images are never hidden by CSS and never depend on JS to appear.
   A clip-path reveal used to live here; it was removed because any script
   delay, error, or load-at-anchor left photos permanently invisible. The
   parent [data-reveal] container already fades images in gently. */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] > * { opacity: 1; transform: none; }
  .hl::before { transform: scaleX(1); }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- 7. Header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 1200;
  border-bottom: 1px solid transparent;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.hdr.is-stuck {
  background: rgba(252, 250, 247, 0.88);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border-bottom-color: var(--edge);
}

.hdr__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  height: var(--hdr-h);
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
}
.brand__name {
  font-family: var(--f-display);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav { display: none; }
.nav__list { display: flex; gap: var(--s5); }
.nav__list a {
  position: relative;
  font-size: var(--fs-sm);
  color: var(--body);
  transition: color var(--t-fast) var(--ease);
}
.nav__list a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1.5px;
  background: var(--teal);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast) var(--ease);
}
.nav__list a:hover { color: var(--teal); }
.nav__list a:hover::after { transform: scaleX(1); }

.hdr__right { display: flex; align-items: center; gap: var(--s2); }

.burger {
  width: 42px; height: 42px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--edge);
  border-radius: var(--r-s);
  background: var(--card);
}
.burger__bar {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.burger[aria-expanded="true"] .burger__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 1000px) {
  .nav { display: block; }
  .burger { display: none; }
}

/* ---------- 8. Drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s4);
  padding: calc(var(--hdr-h) + var(--s5)) var(--gut) var(--s6);
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }

.drawer__list { display: flex; flex-direction: column; }
.drawer__list a {
  display: block;
  padding-block: var(--s3);
  border-bottom: 1px solid var(--edge);
  font-family: var(--f-display);
  font-size: clamp(1.375rem, 6vw, 1.875rem);
  color: var(--ink);
}
.drawer .btn { align-self: flex-start; }
.drawer__note { font-size: var(--fs-sm); color: var(--muted); }

@media (min-width: 1000px) { .drawer { display: none; } }

/* ---------- 9. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--s6) var(--s6);
}
@media (min-width: 900px) { .hero { padding-block: var(--s7) var(--s6); } }

.hero__wash {
  position: absolute;
  top: -28%; right: -14%;
  width: 62vw; height: 62vw;
  max-width: 820px; max-height: 820px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal-soft) 0%, rgba(231, 240, 238, 0) 68%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: var(--s5);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: var(--s6);
  }
}

.hero__title {
  font-size: var(--fs-hero);
  margin-block: var(--s3) var(--s3);
  max-width: 24ch;
  text-wrap: balance;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s5);
}

/* reassurance row under the CTAs */
.assure {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1) var(--s3);
  margin-top: var(--s3);
}
.assure li {
  position: relative;
  padding-left: 24px;
  font-size: 0.875rem;
  color: var(--muted);
}
.assure li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.45em;
  width: 9px; height: 5px;
  border-left: 1.5px solid var(--teal);
  border-bottom: 1.5px solid var(--teal);
  transform: rotate(-45deg);
}

/* portrait with offset frame and overlapping name card */
.portrait {
  position: relative;
  margin: 0;
  justify-self: center;
  width: min(500px, 100%);
}
.portrait__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-l);
  box-shadow: var(--sh-2);
  background: var(--sand);
}
/* hero image is the session photo — shown close to its native ratio */
.portrait__frame img {
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  object-position: center;
}

/* stats */
.stats {
  display: grid;
  gap: var(--s4);
  margin-top: var(--s6);
  padding-top: var(--s4);
  border-top: 1px solid var(--edge);
}
@media (min-width: 700px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
  .stat + .stat { border-left: 1px solid var(--edge); padding-left: var(--s5); }
}
.stat__num {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.6vw, 2.875rem);
  font-weight: 500;
  color: var(--teal);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  margin-top: var(--s1);
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* ---------- 10. Trust row ---------- */
.trust {
  background: var(--sand);
  border-block: 1px solid var(--edge);
  padding-block: var(--s3);
}
.trust__list {
  display: grid;
  gap: var(--s2) var(--s5);
}
@media (min-width: 760px) {
  .trust__list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1060px) {
  .trust__list { grid-template-columns: repeat(4, 1fr); }
}
.trust__list li {
  position: relative;
  padding-left: 28px;
  font-size: var(--fs-sm);
  color: var(--body);
}
.trust__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.5em;
  width: 9px; height: 5px;
  border-left: 1.5px solid var(--teal);
  border-bottom: 1.5px solid var(--teal);
  transform: rotate(-45deg);
}

/* ---------- 11. Section frame ---------- */
.sec {
  padding-block: var(--s7);
  /* clear the sticky header plus breathing room when jumping to an anchor */
  scroll-margin-top: calc(var(--hdr-h) + var(--s4));
}
@media (min-width: 900px) { .sec { padding-block: var(--s8); } }

.sec__grid { display: grid; gap: var(--s4); }
@media (min-width: 1000px) {
  .sec__grid {
    /* narrower index column and tighter gutter than before, so content
       keeps a comfortable width at ~1000–1200px instead of being squeezed */
    grid-template-columns: 170px minmax(0, 1fr);
    gap: var(--s5);
    align-items: start;
  }
  .sec__side { position: sticky; top: calc(var(--hdr-h) + var(--s4)); }
}
@media (min-width: 1240px) {
  .sec__grid {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: var(--s7);
  }
}

/* ---------- 12. Section band rhythm ----------
   Sections alternate paper / sand so the page has cadence and no two
   sand blocks ever touch (the trust strip is sand, so story stays paper). */
.mission,
.results,
.faq {
  background: var(--sand);
  border-block: 1px solid var(--edge);
}

/* ---------- 12a. 01 Story ---------- */
.story__layout { display: grid; gap: var(--s5); }
@media (min-width: 780px) {
  .story__layout {
    /* narrower image column — the About photo is a square headshot,
       so the story text gets the wider share */
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: var(--s6);
    align-items: start;
  }
}

.plate {
  overflow: hidden;
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  background: var(--sand-2);
}
/* About image is the square headshot — shown uncropped */
.plate img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.plate__cap {
  margin-top: var(--s3);
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 34ch;
}

.pull {
  font-family: var(--f-display);
  font-size: clamp(1.1875rem, 2.1vw, 1.625rem);
  line-height: 1.32;
  color: var(--ink);
  padding-left: var(--s3);
  border-left: 2px solid var(--clay);
  margin-bottom: var(--s4);
  max-width: 34ch;
}
.story__text p + p { margin-top: var(--s3); }

.sig {
  margin-top: var(--s4);
  font-family: var(--f-script);
  font-size: 1.875rem;
  line-height: 1;
  color: var(--teal);
}

/* ---------- 13. 02 Mission ---------- */
.cards-2 { display: grid; gap: var(--s3); }
@media (min-width: 760px) { .cards-2 { grid-template-columns: 1fr 1fr; gap: var(--s4); } }

.card {
  padding: var(--s5) var(--s4);
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
}
.card__tag {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--s2);
}
.card__title {
  font-size: var(--fs-h3);
  line-height: 1.3;
  margin-bottom: var(--s2);
}

/* ---------- 14. 03 Method ---------- */
.method__intro { margin-top: var(--s4); }
.method__intro .h2 { margin-bottom: var(--s2); }
.method__blurb { font-size: var(--fs-sm); color: var(--muted); }

.steps { display: grid; gap: var(--s5); }

.step {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: var(--s3);
  align-items: start;
}
@media (min-width: 640px) { .step { grid-template-columns: 64px minmax(0, 1fr); gap: var(--s4); } }

/* soft connector between steps */
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 56px;
  left: 25px;
  width: 1px;
  height: calc(100% + var(--s5) - 56px);
  background: var(--edge);
}
@media (min-width: 640px) {
  .step:not(:last-child)::before { left: 31px; top: 64px; height: calc(100% + var(--s5) - 64px); }
}

.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 600;
  max-width: none;
}
@media (min-width: 640px) { .step__num { width: 64px; height: 64px; font-size: 1.5rem; } }

.step__title { font-size: var(--fs-h3); margin-bottom: var(--s1); }
.step p { margin-bottom: var(--s2); }

/* tick lists (shared) */
.ticks { display: grid; gap: var(--s1); }
.ticks li {
  position: relative;
  padding-left: 26px;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--muted);
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 9px; height: 5px;
  border-left: 1.5px solid var(--teal);
  border-bottom: 1.5px solid var(--teal);
  transform: rotate(-45deg);
}

/* ---------- 15. 04 Results ---------- */
.proofs {
  display: grid;
  gap: var(--s4);
  align-items: start;
  margin-bottom: var(--s3);
}
@media (min-width: 720px) { .proofs { grid-template-columns: 1fr 1fr; } }

.proof {
  display: block;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.proof:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: #D6CEC0;
}

.proof__shot {
  display: block;
  background: var(--sand);
  border-bottom: 1px solid var(--edge);
}
/* score reports are never cropped — nothing important gets cut off */
.proof__shot img { width: 100%; height: auto; }

.proof__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding: var(--s3);
}
.proof__title {
  font-family: var(--f-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
}
.proof__cue {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--teal);
}

.results .note { margin-bottom: var(--s7); }

.quotes { display: grid; gap: var(--s3); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

.quote {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding: var(--s4);
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--r);
}
.quote__text {
  font-size: var(--fs-sm);
  color: var(--body);
  flex: 1;
}
.quote__by {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}
.avatar {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- 16. 05 Pricing ---------- */
.tiers { display: grid; gap: var(--s3); margin-bottom: var(--s4); }
@media (min-width: 980px) { .tiers { grid-template-columns: repeat(3, 1fr); align-items: start; } }

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  /* fluid padding so three columns don't feel cramped at ~1000px */
  padding: clamp(22px, 2.4vw, 40px) clamp(20px, 2vw, 32px);
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
}

/* featured tier offsets with margin, not transform, so the reveal
   animation can never cancel the lift */
.tier--best {
  border-color: var(--teal);
  background: linear-gradient(180deg, var(--teal-soft) 0%, var(--card) 38%);
  box-shadow: var(--sh-2);
}
@media (min-width: 980px) {
  .tier--best { margin-block: -20px 0; padding-top: calc(clamp(22px, 2.4vw, 40px) + 20px); }
}

.tier__flag {
  position: absolute;
  top: 0; left: clamp(20px, 2vw, 32px);
  transform: translateY(-50%);
  padding: 6px 14px;
  background: var(--teal);
  color: #fff;
  border-radius: var(--pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.tier__name { font-size: var(--fs-h3); margin-bottom: var(--s2); }
.tier__price {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  margin-bottom: var(--s3);
}
.tier__price span {
  font-family: var(--f-sans);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
}
.tier__fit {
  font-size: var(--fs-sm);
  padding-bottom: var(--s3);
  margin-bottom: var(--s3);
  border-bottom: 1px solid var(--edge);
}
.tier .ticks { margin-bottom: var(--s4); flex: 1; }
.tier .btn { width: 100%; }

/* ---------- 17. 06 FAQ ---------- */
.qa { border-top: 1px solid var(--edge); }
.qa__row { border-bottom: 1px solid var(--edge); }

.qa__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding-block: var(--s3);
  text-align: left;
  font-family: var(--f-display);
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  font-weight: 500;
  color: var(--ink);
}
.qa__q:hover { color: var(--teal); }

.qa__icon {
  position: relative;
  flex-shrink: 0;
  width: 26px; height: 26px;
  border: 1px solid var(--edge);
  border-radius: 50%;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.qa__icon::before,
.qa__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 1.5px;
  margin: -0.75px 0 0 -5px;
  background: var(--teal);
  border-radius: 2px;
  transition: transform var(--t-fast) var(--ease);
}
.qa__icon::after { transform: rotate(90deg); }
.qa__q[aria-expanded="true"] .qa__icon { background: var(--teal-soft); border-color: var(--teal-soft); }
.qa__q[aria-expanded="true"] .qa__icon::after { transform: rotate(0deg); }

.qa__a {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows var(--t) var(--ease);
}
.qa__a.is-open { grid-template-rows: 1fr; }
.qa__a > * { min-height: 0; }
.qa__a p { padding-bottom: var(--s4); font-size: var(--fs-sm); }
@media (prefers-reduced-motion: reduce) { .qa__a { transition: none; } }

/* ---------- 18. Booking ---------- */
.book {
  padding-block: var(--s6) var(--s8);
  scroll-margin-top: calc(var(--hdr-h) + var(--s4));
}

.book__panel {
  display: grid;
  justify-items: center;
  gap: var(--s3);
  padding: clamp(var(--s5), 7vw, var(--s8)) var(--gut);
  text-align: center;
  background: var(--teal-soft);
  border: 1px solid #D3E4E0;
  border-radius: var(--r-l);
}
.book__title {
  font-size: clamp(1.875rem, 4.4vw, 3.25rem);
  max-width: 22ch;
}
.book__sub {
  font-size: var(--fs-lede);
  color: var(--body);
  max-width: 46ch;
}
.book__panel .btn { margin-top: var(--s2); }
.book__alt {
  font-size: var(--fs-sm);
  color: var(--muted);
  max-width: 52ch;
}

/* ---------- 19. Footer ---------- */
.foot {
  background: var(--sand);
  border-top: 1px solid var(--edge);
  padding-block: var(--s5);
}
.foot__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--edge);
}
.foot__nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); }
.foot__nav a { font-size: var(--fs-sm); color: var(--body); }
.foot__nav a:hover { color: var(--teal); }
.foot__mail { font-size: var(--fs-sm); }

.foot__bottom {
  padding-top: var(--s4);
  display: grid;
  gap: var(--s2);
  font-size: 0.875rem;
  color: var(--muted);
}
.foot__legal {
  font-size: 0.8125rem;
  line-height: 1.75;
  max-width: 92ch;
}

/* ---------- 20. Lightbox ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: var(--s3);
}
.lb[hidden] { display: none; }

.lb__scrim {
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 32, 0.6);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.lb.is-open .lb__scrim { opacity: 1; }

.lb__dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: var(--s3);
  background: var(--card);
  border-radius: var(--r);
  box-shadow: var(--sh-2);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.lb.is-open .lb__dialog { opacity: 1; transform: none; }

.lb__x {
  position: absolute;
  top: var(--s2); right: var(--s2);
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--edge);
  border-radius: 50%;
  background: var(--card);
  font-size: 1.25rem;
  color: var(--ink);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.lb__x:hover { border-color: var(--teal); color: var(--teal); }

/* tall reports scale to fit instead of overflowing */
.lb__img {
  width: 100%;
  height: auto;
  max-height: 76vh;
  object-fit: contain;
  border-radius: var(--r-s);
  background: var(--sand);
}
.lb__cap {
  margin-top: var(--s3);
  font-size: var(--fs-sm);
  color: var(--muted);
  max-width: none;
}
@media (prefers-reduced-motion: reduce) {
  .lb__scrim, .lb__dialog { transition: none; }
}
