/* ==========================================================================
   Abanoub Fathy — Healthcare Marketer
   Design system built on Visual Brand Guidelines V2.0
   Colours and logo per brand book. Layout, structure and composition custom.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette — V2.0, exact values */
  --patient-teal: #246563;
  --system-teal: #123F3E;
  --warm-sand: #CEB29A;
  --human-taupe: #A58A70;
  --clear-ivory: #F5F0E8;
  --ink: #313B32;

  /* Derived surfaces (tints only — no new hues introduced) */
  --ivory-pure: #FFFFFF;
  --ivory-deep: #EBE4D8;
  --teal-wash: rgba(36, 101, 99, 0.06);
  --teal-line: rgba(36, 101, 99, 0.16);
  --sand-wash: rgba(206, 178, 154, 0.22);
  --ink-muted: rgba(49, 59, 50, 0.68);
  --ivory-muted: rgba(245, 240, 232, 0.72);

  /* Type */
  --display: "Anton", "Oswald", "Haettenschweiler", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale */
  --step-h1: clamp(2.4rem, 5.4vw, 4rem);
  --step-h2: clamp(1.75rem, 3.4vw, 2.5rem);
  --step-h3: clamp(1.15rem, 1.8vw, 1.4rem);
  --step-body: clamp(1rem, 1.05vw, 1.125rem);
  --step-lede: clamp(1.1rem, 1.5vw, 1.3rem);
  --step-label: 0.78rem;

  /* Rhythm */
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --band: clamp(4rem, 9vw, 7.5rem);
  --shell: 1240px;
  --radius: 14px;
  --radius-lg: 26px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--clear-ivory); }

body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--step-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--clear-ivory);
  -webkit-font-smoothing: antialiased;
}

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

.site-photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
}
.site-photo--portrait { aspect-ratio: 4 / 5; }
.site-photo--square { aspect-ratio: 1 / 1; }

html[dir="rtl"] body {
  direction: rtl;
  font-family: "Cairo", "Tahoma", sans-serif;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2 {
  font-family: "Cairo", "Tahoma", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .kicker {
  letter-spacing: 0;
}
.hero-positioning-ar {
  margin-top: 0.75rem;
  color: var(--warm-sand);
  font-weight: 700;
}
html[dir="rtl"] .link-arrow svg,
html[dir="rtl"] .btn svg {
  transform: scaleX(-1);
}
html[dir="rtl"] .price-tag {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3em;
}
html[dir="rtl"] .price-tag [data-cohort],
html[dir="rtl"] .price-was {
  direction: ltr;
  unicode-bidi: isolate;
}
html[dir="rtl"] .price-was { margin-inline-start: 0; }

a { color: var(--patient-teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3, h4 { margin: 0; }

h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

h1 { font-size: var(--step-h1); line-height: 1.04; }
h2 { font-size: var(--step-h2); line-height: 1.12; }

h3 {
  font-family: var(--body);
  font-size: var(--step-h3);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--warm-sand); color: var(--system-teal); }

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

.skip-link {
  position: absolute; top: 0; left: 0;
  width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
  background: var(--system-teal); color: var(--clear-ivory);
  padding: 0.75rem 1.25rem; z-index: 200; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { width: auto; height: auto; clip-path: none; }

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band { padding-block: var(--band); }
.band--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.band--ivory { background: var(--clear-ivory); }
.band--white { background: var(--ivory-pure); }
.band--deep  { background: var(--system-teal); color: var(--clear-ivory); }
.band--teal  { background: var(--patient-teal); color: var(--clear-ivory); }
.band--sand  { background: var(--warm-sand); color: var(--system-teal); }

.band--deep h1, .band--deep h2,
.band--teal h1, .band--teal h2,
.hero h1, .hero h2 { color: var(--clear-ivory); }
.band--deep a, .band--teal a, .hero a:not(.btn) { color: var(--warm-sand); }

.measure { max-width: 62ch; }
.measure-wide { max-width: 78ch; }
.center { text-align: center; margin-inline: auto; }

/* --------------------------------------------------------------------------
   4. SHARED TYPE PATTERNS
   -------------------------------------------------------------------------- */
.eyebrow {
  font-size: var(--step-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--patient-teal);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--warm-sand);
  flex: none;
}
.band--deep .eyebrow, .band--teal .eyebrow, .hero .eyebrow { color: var(--warm-sand); }
.band--deep .eyebrow::before, .band--teal .eyebrow::before, .hero .eyebrow::before { background: var(--warm-sand); }
.band--sand .eyebrow { color: var(--system-teal); }
.band--sand .eyebrow::before { background: var(--system-teal); }

.lede {
  font-size: var(--step-lede);
  line-height: 1.5;
  color: var(--ink-muted);
}
.band--deep .lede, .band--teal .lede, .hero .lede { color: var(--ivory-muted); }

.section-head { margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head h2 { margin-bottom: 0.9rem; }

/* One highlighted strategic word — brand rule: highlight one word, never every word */
.hl { color: var(--warm-sand); }
.band--ivory .hl, .band--white .hl { color: var(--patient-teal); }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
              color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--patient-teal); color: var(--clear-ivory); }
.btn--primary:hover { background: var(--system-teal); color: var(--clear-ivory); }

.btn--sand { background: var(--warm-sand); color: var(--system-teal); }
.btn--sand:hover { background: var(--ivory-pure); }

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

.band--deep .btn--ghost, .band--teal .btn--ghost, .hero .btn--ghost {
  border-color: rgba(245, 240, 232, 0.35); color: var(--clear-ivory);
}
.band--deep .btn--ghost:hover, .band--teal .btn--ghost:hover, .hero .btn--ghost:hover {
  border-color: var(--warm-sand); background: rgba(245, 240, 232, 0.08); color: var(--clear-ivory);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* Text link with a moving rule underneath */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.95rem;
  text-decoration: none; color: var(--patient-teal);
}
.link-arrow svg { transition: transform 0.25s var(--ease); flex: none; }
.link-arrow:hover svg { transform: translateX(5px); }
.band--deep .link-arrow, .band--teal .link-arrow, .hero .link-arrow { color: var(--warm-sand); }

/* --------------------------------------------------------------------------
   6. HEADER / NAV
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; isolation: isolate;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--teal-line);
}

.nav {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 76px;
}

.brand-lockup {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: var(--system-teal);
  margin-inline-end: auto;
}
.brand-lockup .mark { width: 48px; height: 30px; flex: none; }
.brand-lockup .brand-name {
  font-family: var(--body); font-weight: 700; font-size: 1rem;
  line-height: 1.1; letter-spacing: -0.01em;
}
.brand-lockup .brand-role {
  display: block; font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--human-taupe); margin-top: 2px;
}

.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--ink);
  font-weight: 500; font-size: 0.95rem;
  padding: 0.4rem 0; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--warm-sand);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--patient-teal); font-weight: 700; }

.nav-tail { display: flex; align-items: center; gap: 1rem; }
.nav-cta-mobile { display: none; }

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
}
.brand-logo--header { height: 52px; }
.brand-logo--footer { height: 68px; max-width: 100%; }

@media (max-width: 520px) {
  .brand-logo--header { height: 42px; }
  .brand-logo--footer { height: 58px; }
}

.lang-switch {
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  color: var(--human-taupe); padding: 0.4rem 0.7rem;
  border: 1px solid var(--teal-line); border-radius: 999px;
}
.lang-switch:hover { color: var(--patient-teal); border-color: var(--patient-teal); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 0.5rem; color: var(--system-teal);
}

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav { flex-wrap: nowrap; gap: 0.75rem; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--clear-ivory);
    border-bottom: 1px solid var(--teal-line);
    flex-direction: column; align-items: flex-start;
    gap: 0; padding: 0 var(--gutter);
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s var(--ease), padding-block 0.3s var(--ease);
  }
  .nav-links.is-open { max-height: 70vh; overflow-y: auto; padding-block: 0.5rem 2rem; }
  .brand-lockup .brand-name { font-size: 0.95rem; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--teal-line); }
  .nav-links a { display: block; padding: 0.95rem 0; font-size: 1.05rem; }
  .nav-tail .btn { display: none; }
  .nav-cta-mobile { display: block; border-bottom: 0 !important; padding-top: 1.25rem; }
  .nav-cta-mobile a { display: inline-flex !important; padding: 0.95rem 1.6rem !important; font-size: 0.95rem !important; }
}

@media (max-width: 480px) {
  .brand-lockup .brand-role { display: none; }
  .brand-lockup .mark { width: 40px; height: 26px; }
}

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--system-teal);
  color: var(--clear-ivory);
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(5.5rem, 10vw, 8rem);
}

/* The continuous stroke — brand mark logic scaled up as page atmosphere */
.hero-stroke {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.5; pointer-events: none;
}

.hero .shell { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 { margin-bottom: 1.4rem; }
.hero h1 .hl { display: block; }
.hero .lede { margin-bottom: 2rem; max-width: 46ch; }

.hero-credibility {
  margin-top: 2rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(245, 240, 232, 0.2);
  font-size: 0.92rem; color: var(--ivory-muted);
  line-height: 1.7;
}
.hero-credibility {
  display: block;
}
.hero-credibility span:not(:last-child)::after {
  content: "·";
  color: var(--warm-sand);
  font-weight: 700;
  margin-inline: 0.6rem;
}

.hero-visual { position: relative; }

/* Floating data chips, adapted from the reference layout */
.chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--clear-ivory); color: var(--system-teal);
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(18, 63, 62, 0.28);
}
.chip-icon {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--patient-teal); color: var(--clear-ivory);
}
.chip-icon svg { width: 17px; height: 17px; }
.chip strong { display: block; font-size: 1rem; line-height: 1.1; }
.chip small { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--human-taupe); }

.chip--a { top: 0; right: -4%; transform: translateY(-45%); }
.chip--b { bottom: 12%; left: -6%; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 3.5rem; }
  .chip--a { right: 0; }
  .chip--b { left: 0; }
}
@media (max-width: 520px) {
  .chip { position: static; margin-top: 0.75rem; box-shadow: none; border: 1px solid var(--teal-line); transform: none; }
  .hero-visual { display: flex; flex-direction: column; }
}

/* Compact hero for interior pages */
.hero--page { padding-block: clamp(3rem, 6vw, 5rem); }
.hero--page .hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero--page h1 { max-width: 20ch; }

/* --------------------------------------------------------------------------
   8. IMAGE PLACEHOLDERS
   Swap the whole .ph block for <img>. Dimensions and alt text are noted
   inside each placeholder in the HTML.
   -------------------------------------------------------------------------- */
.ph {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--patient-teal);
  display: grid; place-items: center;
  isolation: isolate;
}
.ph::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245, 240, 232, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 240, 232, 0.09) 1px, transparent 1px);
  background-size: 44px 44px;
  z-index: 1;
}
.ph--sand { background: var(--warm-sand); }
.ph--deep { background: var(--system-teal); }
.ph--ivory { background: var(--ivory-deep); }

.ph-note {
  position: relative; z-index: 2;
  text-align: center; padding: 1.5rem;
  font-size: 0.78rem; line-height: 1.5;
  letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 700;
  color: rgba(245, 240, 232, 0.85);
}
.ph--sand .ph-note, .ph--ivory .ph-note { color: rgba(18, 63, 62, 0.7); }
.ph-note em {
  display: block; font-style: normal; font-weight: 500;
  text-transform: none; letter-spacing: 0; margin-top: 0.5rem;
  opacity: 0.8; font-size: 0.76rem;
}

.ph--portrait { aspect-ratio: 4 / 5; }
.ph--square { aspect-ratio: 1 / 1; }
.ph--wide { aspect-ratio: 16 / 10; }
.ph--banner { aspect-ratio: 21 / 9; }

/* --------------------------------------------------------------------------
   9. VALUE CARD STRIP (sits under the hero, overlapping it)
   -------------------------------------------------------------------------- */
.strip { margin-top: calc(-1 * clamp(2rem, 5vw, 4rem)); position: relative; z-index: 5; }

.strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.strip-card {
  background: var(--ivory-pure);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  box-shadow: 0 20px 50px rgba(18, 63, 62, 0.1);
  border: 1px solid var(--teal-line);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.strip-card:hover { transform: translateY(-5px); box-shadow: 0 26px 60px rgba(18, 63, 62, 0.16); }

.strip-card .num {
  font-family: var(--display); font-size: 1.5rem;
  color: var(--warm-sand); line-height: 1; display: block; margin-bottom: 0.9rem;
}
.strip-card h3 { margin-bottom: 0.55rem; }
.strip-card p { font-size: 0.95rem; color: var(--ink-muted); }

/* One dominant card — reference layout uses a single filled card in the row */
.strip-card--feature { background: var(--patient-teal); border-color: var(--patient-teal); color: var(--clear-ivory); }
.strip-card--feature h3 { color: var(--clear-ivory); }
.strip-card--feature p { color: var(--ivory-muted); }
.strip-card--feature .num { color: var(--warm-sand); }

/* --------------------------------------------------------------------------
   10. SPLIT SECTION (text one side, visual the other)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}
.split--top { align-items: start; }
.split--visual-first .split-text { order: 2; }

@media (max-width: 760px) {
  .split--visual-first .split-text { order: 0; }
}

/* --------------------------------------------------------------------------
   11. SIGNATURE — THE LEAK DIAGRAM
   The one visual argument the whole brand rests on: leads enter, bookings
   don't arrive. Built as a stroke that thins at each drop-off point.
   -------------------------------------------------------------------------- */
.leak {
  background: var(--ivory-pure);
  border: 1px solid var(--teal-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.leak svg { width: 100%; height: auto; }
.leak-caption {
  margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid var(--teal-line);
  font-size: 0.9rem; color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   12. COMPARISON TABLE (Before / After)
   -------------------------------------------------------------------------- */
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: start;
  font-size: 0.98rem;
  background: var(--ivory-pure);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--teal-line);
}
.compare th {
  background: var(--system-teal); color: var(--clear-ivory);
  font-family: var(--body); font-size: var(--step-label);
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 1rem 1.35rem; text-align: start;
}
.compare td {
  padding: 1.05rem 1.35rem;
  border-top: 1px solid var(--teal-line);
  vertical-align: top;
}
.compare tbody tr td:first-child { color: var(--ink-muted); width: 46%; }
.compare tbody tr td:last-child { font-weight: 600; color: var(--system-teal); }
.compare tbody tr:nth-child(even) { background: var(--teal-wash); }

.compare-note {
  margin-top: 1.5rem; font-size: var(--step-lede);
  font-weight: 600; color: var(--system-teal); max-width: 56ch;
}
.band--deep .compare-note, .band--teal .compare-note { color: var(--warm-sand); }

@media (max-width: 620px) {
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tbody tr { border-top: 1px solid var(--teal-line); }
  .compare tbody tr td:first-child { width: 100%; padding-bottom: 0.35rem; border-top: 0; }
  .compare tbody tr td:first-child::before {
    content: "Before — "; font-weight: 700; color: var(--human-taupe);
  }
  .compare tbody tr td:last-child { padding-top: 0; border-top: 0; }
  .compare tbody tr td:last-child::before {
    content: "After — "; font-weight: 700; color: var(--patient-teal);
  }
}

/* --------------------------------------------------------------------------
   13. TOPIC CARDS (the four content areas)
   -------------------------------------------------------------------------- */
.topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.topic {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--ivory-pure);
  border: 1px solid var(--teal-line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-decoration: none; color: inherit;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.topic::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0;
  width: 5px; background: var(--cat, var(--patient-teal));
  transition: width 0.25s var(--ease);
}
.topic:hover { transform: translateY(-5px); box-shadow: 0 24px 55px rgba(18, 63, 62, 0.14); }
.topic:hover::before { width: 9px; }

.topic .series {
  font-size: var(--step-label); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--human-taupe); margin-bottom: 0.85rem;
}
.topic h3 { margin-bottom: 0.7rem; color: var(--system-teal); }
.topic p { font-size: 0.95rem; color: var(--ink-muted); margin-bottom: 1.5rem; }
.topic .link-arrow { margin-top: auto; }

/* Category colours — from the four approved content families */
.cat-case      { --cat: var(--warm-sand); }
.cat-journey   { --cat: var(--clear-ivory); }
.cat-framework { --cat: var(--patient-teal); }
.cat-career    { --cat: var(--system-teal); }
.cat-journey.topic::before { background: var(--human-taupe); }

/* --------------------------------------------------------------------------
   14. BELIEFS / FEATURE LIST
   -------------------------------------------------------------------------- */
.beliefs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem 2.5rem;
  counter-reset: belief;
}
.belief { position: relative; padding-top: 1.4rem; border-top: 2px solid var(--warm-sand); }
.belief h3 { margin-bottom: 0.5rem; color: var(--system-teal); }
.belief p { font-size: 0.95rem; color: var(--ink-muted); }
.band--deep .belief h3, .band--teal .belief h3 { color: var(--clear-ivory); }
.band--deep .belief p, .band--teal .belief p { color: var(--ivory-muted); }

/* --------------------------------------------------------------------------
   15. TICK / CROSS LISTS
   -------------------------------------------------------------------------- */
.marklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.marklist li {
  position: relative; padding-inline-start: 2.1rem;
  font-size: 0.98rem; line-height: 1.5;
}
.marklist li::before {
  position: absolute; inset-inline-start: 0; top: 0.1rem;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.7rem; font-weight: 700;
}
.marklist--do li::before {
  content: "✓"; background: var(--patient-teal); color: var(--clear-ivory);
}
.marklist--dont li::before {
  content: "✕"; background: var(--sand-wash); color: var(--human-taupe);
}
.band--deep .marklist--do li::before, .hero .marklist--do li::before { background: var(--warm-sand); color: var(--system-teal); }
.band--deep .marklist--dont li::before { background: rgba(245,240,232,0.14); color: var(--warm-sand); }

.dual-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.marklist.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  column-gap: 3rem;
}
.dual-list h3 { margin-bottom: 1.25rem; }
.band--deep .dual-list h3 { color: var(--clear-ivory); }

/* --------------------------------------------------------------------------
   16. ACCORDION (modules, FAQ)
   -------------------------------------------------------------------------- */
.accordion { display: grid; gap: 0.75rem; }

.acc-item {
  background: var(--ivory-pure);
  border: 1px solid var(--teal-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.acc-item[open] { border-color: var(--patient-teal); }

.acc-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-weight: 700; font-size: 1.03rem; line-height: 1.35;
  color: var(--system-teal);
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary:hover { background: var(--teal-wash); }

.acc-num {
  font-family: var(--display); font-size: 1.1rem;
  color: var(--warm-sand); flex: none; min-width: 2ch;
}
.acc-title { flex: 1; }
.acc-chevron { flex: none; transition: transform 0.25s var(--ease); color: var(--patient-teal); }
.acc-item[open] .acc-chevron { transform: rotate(180deg); }

.acc-body { padding: 0 1.5rem 1.5rem; }
.acc-body p { font-size: 0.97rem; color: var(--ink-muted); }
.acc-out {
  margin-top: 1rem; padding: 0.85rem 1.1rem;
  background: var(--sand-wash); border-radius: 10px;
  font-size: 0.93rem; color: var(--system-teal);
}
.acc-out strong { font-weight: 700; }

/* --------------------------------------------------------------------------
   17. FACTS STRIP
   -------------------------------------------------------------------------- */
.facts {
  display: flex; flex-wrap: wrap;
  gap: 0.5rem 2.5rem;
  padding: 1.1rem 1.5rem;
  background: rgba(245, 240, 232, 0.1);
  border: 1px solid rgba(245, 240, 232, 0.22);
  border-radius: 999px;
  width: fit-content;
  font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.03em;
}
.facts span { display: inline-flex; align-items: center; gap: 0.7rem; }
.facts span + span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--warm-sand); flex: none; margin-inline-end: 0.2rem;
}
@media (max-width: 640px) { .facts { border-radius: var(--radius); width: 100%; } }

/* --------------------------------------------------------------------------
   18. DETAILS TABLE (program details, generic key/value)
   -------------------------------------------------------------------------- */
.kv {
  width: 100%; border-collapse: collapse;
  background: var(--ivory-pure);
  border: 1px solid var(--teal-line);
  border-radius: var(--radius); overflow: hidden;
}
.kv th, .kv td { padding: 1rem 1.35rem; text-align: start; border-top: 1px solid var(--teal-line); }
.kv tr:first-child th, .kv tr:first-child td { border-top: 0; }
.kv th {
  width: 34%; font-size: var(--step-label); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--patient-teal);
  background: var(--teal-wash); vertical-align: top;
}
.kv td { font-size: 0.98rem; }
@media (max-width: 620px) {
  .kv, .kv tbody, .kv tr, .kv th, .kv td { display: block; width: 100%; }
  .kv th { border-top: 1px solid var(--teal-line); }
  .kv td { border-top: 0; padding-top: 0.4rem; }
}

/* --------------------------------------------------------------------------
   19. STEPS (a real sequence — booking)
   -------------------------------------------------------------------------- */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem; counter-reset: step;
}
.step {
  position: relative; padding: 2rem 1.6rem 1.75rem;
  background: var(--ivory-pure); border: 1px solid var(--teal-line);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -0.9rem; inset-inline-start: 1.5rem;
  font-family: var(--display); font-size: 1.5rem; line-height: 1;
  color: var(--clear-ivory); background: var(--patient-teal);
  padding: 0.45rem 0.7rem 0.35rem; border-radius: 8px;
}
.step h3 { margin-bottom: 0.6rem; color: var(--system-teal); }
.step p { font-size: 0.95rem; color: var(--ink-muted); }

/* --------------------------------------------------------------------------
   20. PRICING
   -------------------------------------------------------------------------- */
.pricing {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; align-items: stretch;
}
.price-card {
  background: var(--ivory-pure); border: 1px solid var(--teal-line);
  border-radius: var(--radius-lg); padding: 2rem 1.85rem;
  display: flex; flex-direction: column;
}
.price-card--lead { background: var(--system-teal); border-color: var(--system-teal); color: var(--clear-ivory); }
.price-card--lead h3 { color: var(--clear-ivory); }

.price-tag {
  font-family: var(--display); font-size: clamp(2.1rem, 4vw, 2.9rem);
  line-height: 1; color: var(--patient-teal); margin: 0.75rem 0 0.4rem;
}
.price-card--lead .price-tag { color: var(--warm-sand); }
.price-was {
  display: inline-block; white-space: nowrap;
  font-family: var(--body); font-size: 0.95rem; font-weight: 500;
  text-decoration: line-through;
  color: var(--human-taupe); margin-inline-start: 0.6rem;
  vertical-align: middle;
}
.price-card--lead .price-was { color: rgba(245, 240, 232, 0.6); }
.price-card--lead .btn--ghost {
  border-color: rgba(245, 240, 232, 0.35); color: var(--clear-ivory); background: transparent;
}
.price-card--lead .btn--ghost:hover { border-color: var(--warm-sand); background: rgba(245, 240, 232, 0.08); }
.price-card--lead .marklist--do li::before { background: var(--warm-sand); color: var(--system-teal); }
.price-meta { font-size: 0.92rem; color: var(--ink-muted); margin-bottom: 1.5rem; }
.price-card--lead .price-meta { color: var(--ivory-muted); }
.price-card .btn-row { margin-top: auto; }

.seats {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: var(--step-label); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--system-teal); background: var(--warm-sand);
  padding: 0.4rem 0.85rem; border-radius: 999px;
}

/* --------------------------------------------------------------------------
   21. FORMS
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--ivory-pure);
  border: 1px solid var(--teal-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: var(--step-label); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--patient-teal);
}
.field .req { color: var(--human-taupe); }

.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: var(--clear-ivory);
  border: 1px solid var(--teal-line); border-radius: 10px;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--patient-teal);
  box-shadow: 0 0 0 3px var(--teal-wash);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23246563' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-inline-end: 2.5rem;
}
.form-honey { display: none !important; }

.form-foot { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-micro { font-size: 0.88rem; color: var(--ink-muted); max-width: 38ch; }

/* --------------------------------------------------------------------------
   22. ARTICLE LIST (category pages)
   -------------------------------------------------------------------------- */
.article-list { list-style: none; margin: 0; padding: 0; }
.article-list li { border-top: 1px solid var(--teal-line); }
.article-list li:last-child { border-bottom: 1px solid var(--teal-line); }
.article-list a {
  display: flex; align-items: baseline; gap: 1.25rem;
  padding: 1.4rem 0.5rem 1.4rem 0;
  text-decoration: none; color: var(--system-teal);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 600; line-height: 1.35;
  transition: padding 0.25s var(--ease), color 0.2s var(--ease);
}
.article-list a:hover { padding-inline-start: 0.85rem; color: var(--patient-teal); }
.article-list .idx {
  font-family: var(--display); font-size: 0.95rem;
  color: var(--warm-sand); flex: none; min-width: 2.5ch;
}
.article-list .soon {
  margin-inline-start: auto; flex: none;
  font-size: var(--step-label); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--human-taupe);
}

/* --------------------------------------------------------------------------
   23. BANNER (Academy promo)
   -------------------------------------------------------------------------- */
.promo {
  position: relative; overflow: hidden;
  background: var(--system-teal); color: var(--clear-ivory);
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 3.75rem);
}
.promo-stroke {
  position: absolute; inset-inline-end: -12%; top: 50%; transform: translateY(-50%);
  width: 46%; height: auto; opacity: 0.2; pointer-events: none;
}
.promo > *:not(.promo-stroke) { position: relative; z-index: 2; }
.promo h2 { margin-bottom: 1rem; color: var(--clear-ivory); }
.promo .lede { margin-bottom: 1.5rem; max-width: 54ch; color: var(--ivory-muted); }
.promo p { color: var(--ivory-muted); }
.promo .hl { color: var(--warm-sand); }
.promo .eyebrow { color: var(--warm-sand); }
.promo .eyebrow::before { background: var(--warm-sand); }
.promo .btn--ghost { border-color: rgba(245, 240, 232, 0.35); color: var(--clear-ivory); background: transparent; }
.promo .btn--ghost:hover { border-color: var(--warm-sand); background: rgba(245, 240, 232, 0.08); }
@media (max-width: 760px) { .promo-stroke { display: none; } }

/* --------------------------------------------------------------------------
   24. CTA TRIO
   -------------------------------------------------------------------------- */
.cta-trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.cta-box {
  background: var(--ivory-pure); border: 1px solid var(--teal-line);
  border-radius: var(--radius); padding: 1.85rem 1.6rem;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: transform 0.25s var(--ease), border-color 0.2s var(--ease);
}
.cta-box:hover { transform: translateY(-4px); border-color: var(--patient-teal); }
.cta-box .kicker {
  font-family: var(--display); font-size: 1.35rem;
  color: var(--warm-sand); margin-bottom: 0.7rem;
}
.cta-box p { font-size: 0.95rem; color: var(--ink-muted); margin-bottom: 1.35rem; }
.cta-box .link-arrow { margin-top: auto; }

/* --------------------------------------------------------------------------
   25. SECTION DIVIDER — the continuous stroke, used as a joint between bands
   -------------------------------------------------------------------------- */
.joint { display: block; width: 100%; height: auto; }
.joint--ivory { background: var(--clear-ivory); }
.joint--white { background: var(--ivory-pure); }

/* --------------------------------------------------------------------------
   26. FOOTER
   -------------------------------------------------------------------------- */
.site-footer { background: var(--system-teal); color: var(--ivory-muted); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

.site-footer h4 {
  font-size: var(--step-label); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--warm-sand); margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.site-footer a { color: var(--ivory-muted); text-decoration: none; font-size: 0.94rem; }
.site-footer a:hover { color: var(--clear-ivory); text-decoration: underline; }

.footer-brand .brand-lockup { color: var(--clear-ivory); margin-bottom: 1.1rem; }
.footer-brand .brand-lockup .brand-role { color: var(--warm-sand); }
.footer-positioning {
  font-family: var(--display); text-transform: uppercase;
  font-size: 1.05rem; line-height: 1.25; color: var(--clear-ivory);
  max-width: 22ch;
}

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 240, 232, 0.16);
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  justify-content: space-between; align-items: center;
  font-size: 0.85rem;
}

.social { display: flex; gap: 0.6rem; }
.social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(245, 240, 232, 0.24);
  color: var(--clear-ivory);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.social a:hover { background: var(--warm-sand); border-color: var(--warm-sand); color: var(--system-teal); }
.social svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   27. UTILITY / STATE PAGES
   -------------------------------------------------------------------------- */
.state {
  min-height: 62vh;
  display: grid; place-items: center; text-align: center;
  padding-block: var(--band);
}
.state .shell { max-width: 640px; }
.state .code {
  font-family: var(--display); font-size: clamp(4.5rem, 14vw, 9rem);
  line-height: 0.85; color: var(--warm-sand); margin-bottom: 1rem;
}
.state h1 { margin-bottom: 1.1rem; }
.state .btn-row { justify-content: center; margin-top: 2rem; }

.editable-note {
  font-size: 0.82rem; color: var(--human-taupe);
  border-inline-start: 3px solid var(--warm-sand);
  padding-inline-start: 0.9rem; margin-top: 1.5rem; max-width: 60ch;
}

/* --------------------------------------------------------------------------
   28. SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

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