/* ==========================================================================
   Dr. Mahboob Ahmad — drmahboobahmad.com
   Design system v8 — "HERITAGE LIGHT" (final, client-directed).

   Direction: the client pointed at the previous drmahboobahmad.com as the
   design reference: light, calm, clinical-warm. This system takes that
   site's visual DNA (white page, deep slate headings, single teal accent
   word, soft mint washes, pill buttons, portrait in a soft mint card with
   a floating name pill) and executes it at a higher level, on the same
   component contracts as before: nothing structural changed, every class
   keeps its meaning.

   Clinical range colours (green/amber/red) remain reserved for data.
   WhatsApp keeps its bright green. enhance.js remains progressive only.
   ========================================================================== */

/* --- 1. Tokens: "Sehatnama" ---------------------------------------------
   Warm ivory paper, forest-green ink, clay and honey-gold accents. The
   feeling of a beautifully printed health journal from a senior physician.
   Token NAMES are kept from the previous theme so every selector still
   resolves; only the values changed. --teal* now carry the forest greens,
   --mint* carry the warm cream washes, --navy* carry the forest slabs. */
:root {
  /* White + dark blue: crisp white canvas, deep navy ink, royal-blue accents.
     Legacy token names retained so every selector still resolves. */
  --head:    #0E2A54;
  --text:    #33415E;
  --muted:   #57688A;
  --muted-2: #8090AD;

  /* the navy-blue identity */
  --teal:      #2563EB;   /* icons, marks, highlights */
  --teal-deep: #163E8F;   /* primary buttons */
  --star: #E0A226;        /* review stars, gold */
  --teal-dark: #102E6B;
  --mint:      #EAF1FB;   /* soft blue washes and icon chips */
  --mint-2:    #D9E6F8;
  --mint-tint: #F5F9FF;

  /* accent voices */
  --clay:      #2563EB;   /* accent phrases, markers, focus */
  --clay-deep: #1D4ED8;
  --clay-soft: #EAF1FB;
  --gold:      #C79A3B;   /* gold flourishes on navy slabs */
  --gold-soft: #E9B44C;
  --apricot:   #9DB8F5;   /* links on navy slabs */

  /* page + surfaces: crisp white with cool blue-grey tints */
  --page:    #FFFFFF;
  --page-2:  #F4F7FC;
  --page-3:  #E7EDF7;
  --surface: #FFFFFF;
  --line:    #E4EAF4;
  --line-2:  #D2DCEC;
  --line-3:  #B4C3DC;

  /* the deep navy of topbar/footer/feature slabs */
  --navy:      #13315F;
  --navy-deep: #0A1F42;

  /* clinical data colours */
  --ok:        #178A50;
  --ok-soft:   #DFF3E8;
  --ok-border: #BBDFCB;
  --warn:        #B27214;
  --warn-soft:   #FBEED5;
  --warn-border: #EFD7A6;
  --high:        #C03B27;
  --high-soft:   #FAE5E0;
  --high-border: #F0C6BC;

  --wa:      #22C55E;
  --wa-dark: #16A34A;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, Arial, sans-serif;

  --t-2xs:  0.7rem;
  --t-xs:   0.79rem;
  --t-sm:   0.89rem;
  --t-base: 1rem;
  --t-md:   clamp(1.06rem, 1rem + 0.28vw, 1.19rem);
  --t-lg:   clamp(1.28rem, 1.14rem + 0.6vw, 1.6rem);
  --t-xl:   clamp(1.55rem, 1.3rem + 1.1vw, 2.2rem);
  --t-2xl:  clamp(2rem, 1.48rem + 2.3vw, 3.2rem);
  --t-3xl:  clamp(2.4rem, 1.58rem + 3.7vw, 4.4rem);

  --s-1: 0.25rem; --s-2: 0.5rem;  --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;    --s-7: 3rem;    --s-8: 4rem;
  --s-9: 5.5rem;  --s-10: 7rem;

  --wrap: 1240px;
  --wrap-narrow: 784px;

  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* navy-tinted shadows */
  --sh-1: 0 1px 2px rgba(10,31,66,.04), 0 3px 12px -4px rgba(10,31,66,.07);
  --sh-2: 0 2px 4px rgba(10,31,66,.05), 0 12px 28px -10px rgba(10,31,66,.12);
  --sh-3: 0 4px 10px rgba(10,31,66,.06), 0 24px 48px -16px rgba(10,31,66,.16);
  --sh-teal: 0 10px 26px -10px rgba(22,62,143,.45);

  --grad: linear-gradient(100deg, var(--teal-deep), var(--teal));

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --pulse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24' viewBox='0 0 120 24'%3E%3Cpath d='M0 12h28l6-8 8 16 8-16 6 8h64' fill='none' stroke='%232563EB' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* --- 2. Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; color-scheme: light; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--body);
  font-size: var(--t-base);
  line-height: 1.7;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  font-variation-settings: "opsz" 90;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--head);
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}
h1 { font-size: var(--t-3xl); letter-spacing: -0.015em; line-height: 1.06; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-lg); letter-spacing: -0.006em; line-height: 1.24; }
h4 { font-size: var(--t-md); letter-spacing: 0; line-height: 1.35; font-weight: 640; }

/* The accent phrase: Fraunces italic in warm clay, the one flourish per
   heading. The book-hand feel of the whole Sehatnama direction. */
h1 em, h2 em {
  font-style: italic;
  font-weight: 560;
  color: var(--clay);
}

p  { margin: 0 0 var(--s-4); text-wrap: pretty; }
a  { color: var(--clay-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .18s var(--ease); }
a:hover { color: var(--head); }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.15rem; }
li { margin-bottom: var(--s-2); }
strong { font-weight: 700; color: var(--head); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-6) 0; }
table { border-collapse: collapse; width: 100%; }
figure { margin: 0; }
blockquote { margin: 0; }

:focus-visible { outline: 2.5px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-deep); color: #fff; padding: var(--s-3) var(--s-5);
  border-radius: 0 0 var(--r) 0; font-weight: 700;
}
.skip:focus { left: 0; }

/* --- 3. Layout ----------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--paper { background: var(--page-2); }
.section--surface { background: var(--surface); }

/* Feature slabs: deep forest passages on the ivory page, like full-bleed
   plates in a printed volume. Used sparingly for data-story moments. */
.section--ink {
  width: min(100% - clamp(1.5rem, 4vw, 3rem), 1400px);
  margin-inline: auto;
  border-radius: var(--r-xl);
  background:
    radial-gradient(110% 90% at 85% -10%, rgba(64,120,255,.22) 0%, transparent 52%),
    linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: #C7D5EC;
  position: relative; isolation: isolate;
  box-shadow: var(--sh-3);
  overflow: clip;
}
.section--ink::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  border-radius: inherit; border: 1px solid rgba(255,255,255,.09);
}
.section--ink > * { position: relative; z-index: 1; }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #FFFFFF; }
.section--ink h1 em, .section--ink h2 em { color: var(--gold-soft); }
/* Text links only: buttons manage their own colors, and letting these
   rules reach them made button labels white-on-white on hover. */
.section--ink a:not(.btn) { color: var(--apricot); }
.section--ink a:not(.btn):hover { color: #fff; }
.section--ink .lede { color: #A9BCDC; }

.center { text-align: center; }
.lede { font-size: var(--t-md); color: var(--muted); max-width: 62ch; line-height: 1.65; }
.center .lede { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-family: var(--body); font-size: var(--t-2xs); font-weight: 700;
  letter-spacing: 0.17em; text-transform: uppercase; color: var(--clay-deep);
  margin: 0 0 var(--s-4);
}
.eyebrow::before {
  content: ""; width: 46px; height: 13px; display: block;
  background-image: var(--pulse); background-size: contain;
  background-repeat: no-repeat; background-position: left center;
}
.section--ink .eyebrow, .pagehead--ink .eyebrow { color: var(--gold-soft); }
.center .eyebrow { justify-content: center; }

.grid { display: grid; gap: var(--s-5); }
/* Grid items default to min-width:auto, which lets a wide table blow the
   column out past the viewport on mobile instead of scrolling internally. */
.grid > * { min-width: 0; }

/* The single credential line under the hero CTAs (replaces the old stacked
   chip pills, which read poorly on mobile). */
.credline {
  margin: var(--s-5) 0 0; font-size: var(--t-xs); font-weight: 600;
  letter-spacing: .06em; color: var(--muted-2); text-transform: uppercase;
}
.credline i { font-style: normal; color: var(--teal); padding-inline: var(--s-2); }
@media (max-width: 560px) { .credline { line-height: 1.9; } }

/* Homepage review carousel (the full-wall grid on /reviews/ keeps
   [data-rev-limit] and is exempt). */
.revlist:not([data-rev-limit]) {
  display: grid; grid-template-columns: none; grid-auto-flow: column;
  grid-auto-columns: clamp(270px, 30vw, 340px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: var(--s-3); scrollbar-width: none;
}
.revlist:not([data-rev-limit])::-webkit-scrollbar { display: none; }
.revlist:not([data-rev-limit]) .rev { scroll-snap-align: start; }
.revnav { display: flex; justify-content: center; gap: var(--s-3); margin-top: var(--s-4); }
.revnav button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--head); font-size: 1.1rem; cursor: pointer;
  box-shadow: var(--sh-1);
  transition: background-color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.revnav button:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; transform: translateY(-2px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

/* --- 4. Motion ------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .lift { animation: lift-in .8s var(--ease-out) backwards; }
  .lift-1 { animation-delay: .04s; } .lift-2 { animation-delay: .1s; }
  .lift-3 { animation-delay: .16s; } .lift-4 { animation-delay: .22s; }
  .lift-5 { animation-delay: .28s; }
  @keyframes lift-in { from { transform: translate3d(0,18px,0); } to { transform: none; } }

  .hero__stage.lift { animation: lift-fade 1s var(--ease-out) backwards; animation-delay: .12s; }
  @keyframes lift-fade { from { opacity: 0; transform: translate3d(0,24px,0); } to { opacity: 1; transform: none; } }

}

/* JS reveal choreography: hidden only under html.js-anim (enhance.js
   removes the flag when it cannot run, so content is never lost). */
@media (prefers-reduced-motion: no-preference) {
  html.js-anim :is(.grid > .card, .grid > .clinic, .tool, .fstep, .statrow, .strip,
    .compare__col, .stories > .story, .videos > .video, .steps > li, .pathcard,
    .faq details, .svc) {
    opacity: 0; transform: translateY(24px);
    transition: opacity .65s var(--ease), transform .65s var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
  html.js-anim :is(.grid > .card, .grid > .clinic, .tool, .fstep, .statrow, .strip,
    .compare__col, .stories > .story, .videos > .video, .steps > li, .pathcard,
    .faq details, .svc).in {
    opacity: 1; transform: none;
  }
}

/* --- 5. Buttons: full pills, reference style ------------------------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
  font-family: var(--body); font-size: 0.97rem; font-weight: 700; letter-spacing: 0.01em;
  padding: 0.72rem 0.72rem 0.72rem 1.5rem;
  border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn::after {
  content: "→";
  display: grid; place-items: center;
  width: 2em; height: 2em; border-radius: 50%;
  font-size: .95em; line-height: 1;
  background: rgba(255,255,255,.2); color: currentColor;
  transition: transform .25s var(--ease-out), background-color .25s var(--ease);
}
.btn:hover::after { transform: translateX(3px); }

.btn--primary {
  background: var(--teal-deep); color: #fff;
  box-shadow: var(--sh-teal); border-color: rgba(0,0,0,.04);
}
.btn--primary:hover { background: var(--teal-dark); color: #fff; }

.btn--wa {
  background: var(--wa); color: #fff;
  box-shadow: 0 10px 26px -10px rgba(34,197,94,.45); border-color: rgba(0,0,0,.04);
}
.btn--wa:hover { background: var(--wa-dark); color: #fff; }

.btn--ghost { border-color: var(--line-2); color: var(--head); background: var(--surface); box-shadow: var(--sh-1); }
.btn--ghost:hover { border-color: var(--teal-deep); color: var(--head); box-shadow: var(--sh-2); }
.btn--ghost::after { background: var(--mint); }

.btn--onink { border-color: rgba(255,255,255,.32); color: #fff; background: rgba(255,255,255,.08); }
.btn--onink:hover { background: #fff; color: var(--navy-deep); border-color: #fff; }
.btn--onink::after { background: rgba(255,255,255,.16); }
.btn--onink:hover::after { background: var(--mint); }

.btn--sm { padding: 0.45rem 0.45rem 0.45rem 1.05rem; font-size: var(--t-xs); }
.btn--bare { padding: 0.72rem 1.5rem; }
.btn--bare::after { content: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.center .btn-row { justify-content: center; }

.ico { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

/* Chips: soft outline check-chips, straight from the reference. */
.chip {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--t-xs); font-weight: 600; color: var(--head);
  padding: 0.45rem 0.95rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2);
  box-shadow: var(--sh-1);
}
.chip::before { content: "✓"; display: grid; place-items: center; width: 1rem; height: 1rem; border-radius: 50%; font-size: .6rem; font-weight: 700; color: #fff; background: var(--teal-deep); }
.chip__dot { display: none; }

/* --- 6. Header ------------------------------------------------------------- */
.topbar {
  background: var(--navy-deep); color: #9FB2D4;
  font-size: var(--t-2xs); letter-spacing: .015em;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); align-items: center; justify-content: space-between; padding-block: 0.3rem; }
.topbar a { color: #FFFFFF; text-decoration: none; font-weight: 700; }
.topbar a:hover { color: var(--apricot); }
.topbar__item { display: inline-flex; align-items: center; gap: var(--s-2); }

.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.masthead.scrolled { box-shadow: var(--sh-2); }
.masthead .wrap { display: flex; align-items: center; gap: var(--s-5); min-height: 58px; }

.brand { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; margin-right: auto; }
.brand__mark {
  width: 36px; height: 36px; flex: none; border-radius: 11px;
  background: linear-gradient(140deg, var(--navy), var(--navy-deep));
  color: #fff; display: grid; place-items: center;
  font-family: var(--display); font-size: 0.88rem; font-weight: 800; letter-spacing: -0.02em;
  box-shadow: var(--sh-2);
  position: relative;
}
.brand__mark::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(37,99,235,.45); }
.brand__name { font-family: var(--display); font-size: 1.02rem; font-weight: 700; color: var(--head); line-height: 1.08; letter-spacing: -0.02em; display: block; }
.brand__sub { display: block; font-family: var(--body); font-size: 0.58rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-top: 2px; }

.nav ul { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; font-family: var(--display); font-size: var(--t-sm); font-weight: 600; color: var(--text); text-decoration: none; padding-block: 0.5rem; white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.5px; border-radius: 2px;
  background: var(--clay); transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease-out);
}
.nav a:hover { color: var(--head); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--head); }

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

@media (max-width: 1080px) {
  .masthead .wrap { flex-wrap: wrap; min-height: 52px; }
  .nav-toggle-label {
    display: inline-flex; align-items: center; gap: var(--s-2); cursor: pointer;
    font-family: var(--display); font-size: var(--t-sm); font-weight: 700; color: var(--head);
    border: 1px solid var(--line-2); border-radius: 999px; padding: 0.55rem 1rem;
    background: var(--surface); box-shadow: var(--sh-1);
  }
  .nav-toggle:focus-visible + .nav-toggle-label { outline: 2.5px solid var(--teal-deep); outline-offset: 3px; }
  .nav-toggle-label .bars { display: grid; gap: 3px; }
  .nav-toggle-label .bars i { display: block; width: 15px; height: 2px; border-radius: 2px; background: var(--head); }
  .masthead .btn--wa { display: none; }
  .nav { flex-basis: 100%; display: none; }
  .nav-toggle:checked ~ .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: var(--s-4); }
  .nav li { margin: 0; border-top: 1px solid var(--line); }
  .nav a { display: block; padding: 0.9rem 0; }
  .nav a::after { display: none; }
}

@media (max-width: 560px) {
  /* One thin announcement line: the marketing sentence goes, the number stays. */
  .topbar__item:first-child { display: none; }
  .topbar .wrap { justify-content: center; }
  /* Brand and Menu share a single row: tighter sub line, icon-only menu
     button (its "Menu" text stays for screen readers). */
  .brand__sub { font-size: 0.5rem; letter-spacing: .08em; }
  .nav-toggle-label { padding: 0.55rem 0.7rem; }
  .nav-toggle-label .txt { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* --- 7. Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(55% 60% at 88% 12%, rgba(37,99,235,.08) 0%, transparent 62%),
    radial-gradient(40% 40% at 4% 90%, rgba(19,49,95,.05) 0%, transparent 62%),
    var(--page);
  overflow: clip;
}
.hero .wrap {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 4vw, 4rem);
  align-items: center; padding-block: clamp(2.8rem, 5.5vw, 4.8rem) 0;
}
.hero__copy { padding-bottom: clamp(2.8rem, 5.5vw, 4.8rem); }
.hero h1 { font-size: clamp(2.4rem, 1.55rem + 3.4vw, 4.3rem); margin-bottom: var(--s-4); max-width: 15ch; }
.hero__lede { font-size: var(--t-md); color: var(--muted); max-width: 46ch; margin-bottom: var(--s-5); }
.hero__chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-5); padding: 0; list-style: none; }
.hero__chips li { margin: 0; }

/* Portrait stage: a shallow clay-wash arch behind the doctor, a quiet
   Indo-Islamic architectural nod. The navy suit pops against the warm
   wash; a thin gold ring echoes the arch inside. */
.hero__stage { position: relative; align-self: end; }
.hero__frame {
  position: absolute; inset: clamp(22px, 7%, 46px) 4% 0 4%;
  border-radius: 999px 999px var(--r-xl) var(--r-xl);
  background:
    radial-gradient(85% 70% at 70% 16%, var(--surface) 0%, transparent 55%),
    linear-gradient(172deg, var(--clay-soft), var(--mint-2));
  border: 1px solid var(--line-2);
  box-shadow: var(--sh-2);
  overflow: hidden;
}
.hero__rings {
  display: block; position: absolute; left: 50%; top: 40%; width: 82%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  border: 1.5px solid rgba(37,99,235,.28); pointer-events: none;
}
.hero__rings::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; border: 1.5px solid rgba(37,99,235,.14); }
/* Client direction: nothing animates over the portrait. The ECG line and
   chip bobbing were removed; chips sit still on the photo. */

.hero__photo {
  position: relative; z-index: 2; display: block; margin: 0 auto;
  max-height: 430px; width: auto;
  filter: drop-shadow(0 20px 34px rgba(10,31,66,.25));
}

.gchip {
  position: absolute; z-index: 3;
  display: grid; gap: 2px;
  padding: 0.7rem 1rem; border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--sh-2);
  font-size: var(--t-2xs); color: var(--muted); font-weight: 600; letter-spacing: .04em;
}
.gchip b { font-family: var(--display); font-size: 1.08rem; font-weight: 700; letter-spacing: -0.02em; color: var(--head); font-variant-numeric: tabular-nums; }
.gchip .up { color: var(--ok); } .gchip .down { color: var(--high); }
.gchip--tl { left: -5%; top: 18%; }
.gchip--tr { right: -4%; top: auto; bottom: 34%; }
.gchip--bl { left: -3%; bottom: 12%; }

/* The floating credential pill, echoing the reference's name pill. */
.credbar {
  position: relative; z-index: 4; margin: -26px auto 26px;
  display: flex; flex-wrap: nowrap; justify-content: center; align-items: center;
  width: max-content; max-width: 100%;
  padding: 0.8rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px; box-shadow: var(--sh-3);
}
.credbar::before { content: none; }
.credbar span { font-size: 0.62rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); white-space: nowrap; padding-inline: var(--s-3); }
.credbar span + span { border-left: 1px solid var(--line); }
.credbar b { color: var(--head); font-weight: 800; }
@media (max-width: 560px) {
  .credbar { flex-wrap: wrap; width: auto; border-radius: var(--r-lg); gap: var(--s-1) 0; }
  .credbar span + span { border-left: 0; }
  /* Stacked hero controls share one exact left and right edge: full-width
     buttons with the arrow pushed to the far edge, chips in a single
     matching column. */
  .hero .btn-row { flex-direction: column; align-items: stretch; gap: var(--s-2); }
  .hero .btn-row .btn { width: 100%; justify-content: space-between; }
  .hero__chips { display: grid; grid-template-columns: 1fr; gap: var(--s-2); }
  .hero__chips .chip { width: 100%; justify-content: flex-start; }
}

@media (max-width: 940px) {
  .hero .wrap { grid-template-columns: 1fr; gap: var(--s-6); padding-block: var(--s-5) 0; }
  .hero__copy { padding-bottom: 0; }
  .hero h1 { max-width: none; }
  .hero__photo { max-height: 350px; }
  .gchip--tl { left: 0; top: 12%; } .gchip--tr { right: 0; top: auto; bottom: 28%; }
  .gchip--bl { display: none; }
}

/* --- 8. Marquee -------------------------------------------------------------- */
.marquee {
  overflow: hidden; position: relative;
  border-block: 1px solid var(--line);
  background: var(--page-2);
  padding-block: 0.85rem;
  --gap: 3rem;
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--page-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--page-2), transparent); }
.marquee__track { display: flex; gap: var(--gap); width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
.marquee__item {
  display: inline-flex; align-items: center; gap: var(--s-4); white-space: nowrap;
  font-family: var(--display); font-weight: 700; font-size: var(--t-xs);
  text-transform: uppercase; letter-spacing: .18em; color: var(--muted-2);
}
.marquee__item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); opacity: .55; }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; width: auto; } }

/* --- 9. Proof band: light counters, teal numerals ------------------------------ */
.proofband { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: var(--s-7); }
.statrow {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--sh-2);
}
.stat { background: transparent; padding: var(--s-7) var(--s-5); text-align: center; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px;
  background: var(--line);
}
.stat b {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(2.2rem, 1.55rem + 2.1vw, 3.2rem);
  line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.03em;
  color: var(--teal-deep);
}
.stat > span { display: block; font-size: var(--t-2xs); color: var(--muted); margin-top: var(--s-3); letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
@media (max-width: 760px) {
  .statrow { grid-template-columns: 1fr 1fr; }
  .stat { padding: var(--s-5) var(--s-3); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* --- 10. Reading strip --------------------------------------------------------- */
.strip {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-6);
  position: relative; overflow: clip; box-shadow: var(--sh-1);
}
.strip::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--ok), var(--warn) 62%, var(--high));
  opacity: .6;
}
.strip__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s-3); margin-bottom: var(--s-5); }
.strip__title { font-family: var(--display); font-size: var(--t-2xs); font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted-2); margin: 0; }
.strip__unit { font-size: var(--t-xs); color: var(--muted-2); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.strip__track { display: flex; height: 18px; border-radius: 999px; overflow: hidden; background: var(--page-3); box-shadow: inset 0 1px 3px rgba(10,31,66,.15); }
.strip__band { flex: var(--w, 1); }
.strip__band--good { background: linear-gradient(180deg, #23A465, var(--ok)); }
.strip__band--warn { background: linear-gradient(180deg, #D2942A, var(--warn)); }
.strip__band--high { background: linear-gradient(180deg, #D8532F, var(--high)); }
.strip__keys { display: flex; margin-top: var(--s-4); }
.strip__key { flex: var(--w, 1); padding-right: var(--s-4); }
.strip__key b { display: block; font-family: var(--display); font-size: var(--t-sm); color: var(--head); font-variant-numeric: tabular-nums; font-weight: 700; }
.strip__key span { display: block; font-size: var(--t-xs); color: var(--muted); margin-top: 2px; }
.strip__key::before { content: ""; display: block; width: 24px; height: 4px; border-radius: 2px; margin-bottom: 8px; }
.strip__key--good::before { background: var(--ok); }
.strip__key--warn::before { background: var(--warn); }
.strip__key--high::before { background: var(--high); }
.strip__foot { margin: var(--s-5) 0 0; padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: var(--t-sm); color: var(--muted); }

.section--ink .strip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow: none; }
.section--ink .strip__title, .section--ink .strip__unit { color: #93A7C9; }
.section--ink .strip__key b { color: #fff; }
.section--ink .strip__key span { color: #A9BCDC; }
.section--ink .strip__track { background: rgba(10,30,42,.6); box-shadow: inset 0 1px 3px rgba(0,0,0,.35); }
.section--ink .strip__foot { color: #93A7C9; border-top-color: rgba(255,255,255,.14); }

@media (max-width: 620px) {
  .strip { padding: var(--s-5); }
  .strip__keys { flex-direction: column; gap: var(--s-4); }
  .strip__key { flex: none; padding-right: 0; }
}

.readings { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s-4); align-items: center; }
.reading { text-align: center; padding: var(--s-5) var(--s-4); border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.reading b { display: block; font-family: var(--display); font-weight: 800; font-size: var(--t-xl); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.025em; }
.reading span { display: block; font-size: var(--t-2xs); text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); margin-top: var(--s-2); font-weight: 700; }
.reading--high { background: var(--high-soft); border-color: var(--high-border); } .reading--high b { color: var(--high); }
.reading--warn { background: var(--warn-soft); border-color: var(--warn-border); } .reading--warn b { color: var(--warn); }
.reading--good { background: var(--ok-soft); border-color: var(--ok-border); } .reading--good b { color: var(--ok); }
.readings__arrow { color: var(--line-3); font-size: 1.35rem; }
.readings--sm { gap: var(--s-2); }
.readings--sm .reading { padding: var(--s-3) var(--s-2); }
.readings--sm .reading b { font-size: var(--t-md); }
.readings--sm .reading span { font-size: 0.6rem; letter-spacing: .05em; margin-top: 2px; }
.readings--sm .readings__arrow { font-size: .95rem; }

/* --- 11. Cards ------------------------------------------------------------------ */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-6); display: flex; flex-direction: column;
  box-shadow: var(--sh-1);
  transition: border-color .22s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: var(--s-3); }
.card p { color: var(--muted); font-size: var(--t-sm); }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--teal); box-shadow: var(--sh-2); transform: translateY(-3px); }
.card__more { margin-top: auto; padding-top: var(--s-5); font-family: var(--display); font-size: var(--t-sm); font-weight: 700; color: var(--teal-deep); display: inline-flex; align-items: center; gap: var(--s-2); }
.card__more::after {
  content: "→"; display: grid; place-items: center;
  width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--mint);
  transition: transform .25s var(--ease-out), background-color .25s var(--ease), color .25s var(--ease);
}
a.card:hover .card__more::after { transform: translateX(4px); background: var(--teal-deep); color: #fff; }
.card__tag { font-family: var(--display); font-size: var(--t-2xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: var(--s-3); }
.card--soft { background: var(--mint-tint); border-color: var(--mint-2); box-shadow: none; }

/* --- 12. Service cards: a 2-up grid with the flagship spanning full width.
   (Was a flat bordered list; cards give the section real structure.) */
.svclist { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.svc {
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-4);
  align-items: start;
  padding: var(--s-5) var(--s-5);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-1);
  text-decoration: none; color: inherit;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.svc:hover { box-shadow: var(--sh-2); transform: translateY(-3px); border-color: var(--teal); }
.svc__body h3 { margin: 0 0 var(--s-1); }
.svc__body p { margin: 0; color: var(--muted); font-size: var(--t-sm); max-width: 64ch; }
.svc__kicker {
  display: block; font-family: var(--body); font-size: var(--t-2xs); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--teal);
  margin-bottom: var(--s-2);
}
.svc__go {
  width: 44px; height: 44px; border-radius: 50%; align-self: center;
  background: var(--teal-deep); color: #fff; box-shadow: var(--sh-teal);
  display: grid; place-items: center; font-size: 1rem;
  transition: background-color .25s var(--ease), transform .25s var(--ease-out);
}
.svc:hover .svc__go { background: var(--navy); transform: translateX(4px); }
.svc--featured {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, var(--mint-tint), var(--surface) 65%);
  border-color: var(--mint-2);
}
@media (max-width: 900px) {
  .svclist { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .svc { grid-template-columns: auto 1fr; }
  .svc__go { display: none; }
}

/* Icons: soft mint discs with teal strokes, the reference's icon chips. */
.icon {
  width: 54px; height: 54px; flex: none; border-radius: 50%;
  display: grid; place-items: center; color: var(--teal-deep);
  background: var(--mint);
  border: 1px solid var(--mint-2);
  box-shadow: none;
  margin-bottom: var(--s-4);
  position: static; isolation: auto; padding: 0;
}
.icon::before { content: none; }
.icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--mint { background: var(--mint); border-color: var(--mint-2); color: var(--teal); }
.icon--sm { width: 44px; height: 44px; }
.icon--sm svg { width: 22px; height: 22px; }
.svc .icon { margin-bottom: 0; }
.fstep .icon { margin-bottom: 0; }
.tool__head { display: flex; align-items: center; gap: var(--s-4); }
.tool__head .icon { margin-bottom: 0; }
.tool__head h3 { margin: 0; }

/* --- 13. Sticky how-it-works -------------------------------------------------------- */
.flow { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.flow__pin { position: sticky; top: 120px; }
.flow__pin h2 { margin-bottom: var(--s-4); }
.flow__steps { display: grid; gap: var(--s-4); }
.fstep {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-5); align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-6); box-shadow: var(--sh-1);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.fstep:hover { box-shadow: var(--sh-2); transform: translateY(-3px); border-color: var(--teal); }
.fstep__n {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-size: 1.05rem; font-weight: 800; color: var(--teal-deep);
  background: var(--mint); border: 1px solid var(--mint-2);
  font-variant-numeric: tabular-nums;
}
.fstep h3 { margin-bottom: var(--s-2); }
.fstep p { margin: 0; color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; }
  .flow__pin { position: static; }
}

/* --- 14. Numbered steps --------------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; margin: 0; display: grid; grid-template-columns: 5rem 1fr; gap: var(--s-5); padding: var(--s-6) 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-size: var(--t-xl); line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -0.03em; font-weight: 800;
  color: var(--teal);
}
.section--ink .steps li { border-color: rgba(255,255,255,.14); }
.section--ink .steps li::before { color: var(--gold-soft); }
.steps h3 { margin-bottom: var(--s-2); }
.steps p { margin-bottom: 0; color: var(--muted); font-size: var(--t-sm); }
.section--ink .steps p { color: #A9BCDC; }
@media (max-width: 620px) { .steps li { grid-template-columns: 1fr; gap: var(--s-3); } .steps li::before { font-size: var(--t-lg); } }

/* --- 15. Tools -------------------------------------------------------------------------- */
.tool {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-6); box-shadow: var(--sh-1); display: grid; gap: var(--s-5);
}
.tool h3 { margin: 0; }
.tool__row { display: grid; gap: var(--s-2); }
.tool__row label { display: flex; justify-content: space-between; font-size: var(--t-sm); font-weight: 600; color: var(--head); }
.tool__row output { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--teal-deep); }
.tool input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--page-3); outline-offset: 6px; }
.tool input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal-deep);
  border: 3px solid #fff; box-shadow: var(--sh-2); cursor: grab;
}
.tool input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal-deep);
  border: 3px solid #fff; box-shadow: var(--sh-2); cursor: grab;
}
.tool__result {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-4) var(--s-5); border-radius: var(--r);
  background: var(--page-2); border: 1px solid var(--line);
}
.tool__result b { font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: -0.03em; color: var(--head); font-variant-numeric: tabular-nums; }
.tool__result span { font-size: var(--t-sm); font-weight: 700; }
.tool__result[data-zone="good"] { background: var(--ok-soft); border-color: var(--ok-border); } .tool__result[data-zone="good"] span { color: var(--ok); }
.tool__result[data-zone="warn"] { background: var(--warn-soft); border-color: var(--warn-border); } .tool__result[data-zone="warn"] span { color: var(--warn); }
.tool__result[data-zone="high"] { background: var(--high-soft); border-color: var(--high-border); } .tool__result[data-zone="high"] span { color: var(--high); }
.tool__note { font-size: var(--t-xs); color: var(--muted-2); margin: 0; }
.tool--static .tool__js { display: none; }
.no-js-note { font-size: var(--t-xs); color: var(--muted-2); }

/* --- 16. Carousel rail -------------------------------------------------------------------- */
.railhead { display: flex; align-items: end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-6); }
.rail__nav { display: flex; gap: var(--s-2); }
.rail__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--head); font-size: 1rem; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--sh-1);
  transition: background-color .22s var(--ease), color .22s var(--ease), transform .22s var(--ease), border-color .22s var(--ease);
}
.rail__btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; transform: translateY(-2px); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 78vw);
  gap: var(--s-4); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: var(--s-2) var(--s-2) var(--s-5);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail__item { scroll-snap-align: start; }

/* --- 17. Stories & videos ------------------------------------------------------------------- */
.stories { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
@media (max-width: 900px) { .stories { grid-template-columns: repeat(2, 1fr); } }
.story {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  background: var(--surface); display: flex; flex-direction: column;
  box-shadow: var(--sh-1); transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.story:hover { box-shadow: var(--sh-2); transform: translateY(-3px); border-color: var(--teal); }
.story img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; cursor: zoom-in; }
.story figcaption { padding: var(--s-4) var(--s-4) var(--s-5); text-align: center; display: grid; gap: var(--s-2); }
.story__name { font-family: var(--display); font-size: var(--t-md); font-weight: 700; color: var(--head); line-height: 1.2; letter-spacing: -0.02em; }
.story__meta { font-size: var(--t-xs); color: var(--muted); }
.story__extra { margin: 0; font-size: var(--t-xs); font-weight: 700; color: var(--teal-deep); }
.story__note { margin: 0; font-size: 0.64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.story .readings { margin-top: var(--s-1); }

.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
@media (max-width: 900px) { .videos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .videos { grid-template-columns: 1fr; } }
.video {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column;
  box-shadow: var(--sh-1);
  transition: border-color .22s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.video:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--sh-2); }
.video__thumb { position: relative; background: var(--navy-deep); overflow: hidden; }
.video__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s var(--ease-out); }
.video:hover .video__thumb img { transform: scale(1.05); }
.video__play { position: absolute; inset: 0; display: grid; place-items: center; }
.video__play span {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(14,42,60,.72);
  border: 1px solid rgba(255,255,255,.35);
  display: grid; place-items: center; color: #fff; font-size: .85rem; padding-left: 3px;
  transition: background-color .25s var(--ease), transform .25s var(--ease-out);
}
.video:hover .video__play span { background: var(--teal-deep); transform: scale(1.1); }
.video__body { padding: var(--s-5); display: grid; gap: var(--s-2); }
.video__body h3 { font-family: var(--body); font-size: var(--t-sm); font-weight: 700; line-height: 1.45; letter-spacing: 0; margin: 0; color: var(--head); }
.video__name { font-family: var(--display); font-size: var(--t-md); font-weight: 700; color: var(--head); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
.video__meta { font-size: var(--t-xs); color: var(--muted); margin: 0; }
.video__outcome {
  display: inline-flex; align-self: start; align-items: center; gap: var(--s-2);
  font-size: 0.64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 0.32rem 0.65rem; border-radius: 999px;
  background: var(--ok-soft); color: var(--ok); border: 1px solid var(--ok-border);
}
.video__outcome--num { background: var(--mint); color: var(--teal-deep); border-color: var(--mint-2); font-variant-numeric: tabular-nums; }
.video__outcome--time { background: var(--warn-soft); color: var(--warn); border-color: var(--warn-border); }

/* --- 18. Compare ------------------------------------------------------------------------------ */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.compare__col { border-radius: var(--r-lg); padding: var(--s-6); border: 1px solid var(--line); background: var(--surface); }
.compare__col--bad { background: rgba(192,59,39,.12); border-color: rgba(192,59,39,.28); }
.compare__col--good { background: rgba(157,184,245,.16); border-color: rgba(157,184,245,.45); }
.compare__col ul { list-style: none; padding: 0; margin: 0; }
.compare__col li { display: grid; grid-template-columns: 1.4rem 1fr; gap: var(--s-3); font-size: var(--t-sm); align-items: start; }
.compare__col li::before { content: "✕"; color: #F0A192; font-weight: 700; }
.compare__col--good li::before { content: "✓"; color: var(--gold-soft); font-weight: 700; }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }

/* --- 19. Info cards ----------------------------------------------------------------------------- */
.clinic { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--sh-1); }
.clinic h3 { margin-bottom: var(--s-3); }
.clinic address { font-style: normal; color: var(--muted); font-size: var(--t-sm); margin-bottom: var(--s-4); }
.deflist { margin: 0 0 var(--s-4); display: grid; gap: var(--s-3); font-size: var(--t-sm); }
.deflist div { display: grid; grid-template-columns: 8rem 1fr; gap: var(--s-3); }
.deflist dt { color: var(--muted-2); font-weight: 600; }
.deflist dd { margin: 0; color: var(--head); font-weight: 700; }

/* --- 20. FAQ -------------------------------------------------------------------------------------- */
.faq { display: grid; gap: var(--s-3); }
.faq details {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  box-shadow: var(--sh-1); overflow: clip;
  transition: box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.faq details:hover { box-shadow: var(--sh-2); }
.faq details[open] { border-color: var(--teal); box-shadow: var(--sh-2); }
.faq summary {
  cursor: pointer; list-style: none; padding: var(--s-5) 4rem var(--s-5) var(--s-6); position: relative;
  font-family: var(--display); font-size: var(--t-md); font-weight: 700; color: var(--head); letter-spacing: -0.012em;
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: var(--s-5); top: 50%; margin-top: -1.05rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--body); font-size: 1.2rem; font-weight: 400; line-height: 1;
  color: var(--teal-deep); background: var(--mint); border: 1px solid var(--mint-2);
  transition: transform .3s var(--ease-out), background-color .25s var(--ease), color .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--teal-deep); color: #fff; border-color: var(--teal-deep); }
.faq summary:hover { color: var(--teal-deep); }
.faq .faq__a { padding: 0 var(--s-6) var(--s-5); color: var(--muted); }
.faq .faq__a > :last-child { margin-bottom: 0; }

/* --- 21. Callouts, notes ---------------------------------------------------------------------------- */
.callout {
  border: 1px solid var(--mint-2); border-left: 4px solid var(--teal-deep);
  background: linear-gradient(135deg, var(--mint-tint), var(--mint) 140%);
  padding: var(--s-5) var(--s-6); border-radius: var(--r-sm) var(--r-lg) var(--r-lg) var(--r-sm);
  margin-block: var(--s-5) var(--s-6);
  box-shadow: var(--sh-1);
}
.callout > :last-child { margin-bottom: 0; }
.callout h4 { display: flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-2); color: var(--head); }
.callout h4::before {
  content: "i"; flex: none; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: Georgia, serif; font-style: italic; font-size: .8rem; font-weight: 700;
  color: #fff; background: var(--teal-deep);
}
.callout--warn { border-color: var(--warn-border); border-left-color: var(--warn); background: var(--warn-soft); }
.callout--warn h4::before { content: "!"; font-family: var(--body); font-style: normal; background: var(--warn); }
.callout--alert { border-color: var(--high-border); border-left-color: var(--high); background: var(--high-soft); }
.callout--alert h4::before { content: "!"; font-family: var(--body); font-style: normal; background: var(--high); }
.note { font-size: var(--t-sm); color: var(--muted-2); }

/* Mid-page conversion band: a compact navy strip dropped between long
   content sections so the booking action is never a full page away. */
.midcta {
  display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6);
  align-items: center; justify-content: space-between;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(64,120,255,.26) 0%, transparent 55%),
    linear-gradient(135deg, var(--navy), var(--navy-deep));
  border-radius: var(--r-lg); padding: var(--s-6) var(--s-7);
  margin-block: var(--s-7); box-shadow: var(--sh-2);
}
.midcta__copy { flex: 1 1 30ch; }
.midcta h3 { color: #fff; font-size: var(--t-lg); margin: 0 0 var(--s-1); letter-spacing: -0.015em; }
.midcta p { color: #A9BCDC; margin: 0; font-size: var(--t-sm); line-height: 1.6; }
.midcta .btn { flex: none; }
@media (max-width: 560px) {
  .midcta { padding: var(--s-5); }
  .midcta .btn { width: 100%; justify-content: space-between; }
}

/* --- 22. Breadcrumbs & page head --------------------------------------------------------------------- */
.crumbs { background: var(--page-2); border-bottom: 1px solid var(--line); font-size: var(--t-xs); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: var(--s-3) 0; }
.crumbs li { margin: 0; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); color: var(--line-3); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--head); text-decoration: underline; }

.pagehead {
  position: relative; overflow: clip;
  background:
    radial-gradient(55% 60% at 92% 8%, rgba(37,99,235,.08) 0%, transparent 60%),
    var(--page);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(3.2rem, 6.5vw, 5rem);
}
.pagehead::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 400px; height: 400px;
  border-radius: 50%; border: 1.5px solid rgba(37,99,235,.22); pointer-events: none;
}
.pagehead h1 { margin-bottom: var(--s-4); max-width: 24ch; }
.pagehead .lede { margin-bottom: 0; }
.pagehead--ink {
  background:
    radial-gradient(90% 80% at 85% -10%, rgba(64,120,255,.28) 0%, transparent 52%),
    linear-gradient(160deg, var(--navy), var(--navy-deep));
  border-bottom: 0;
}
.pagehead--ink::after { border-color: rgba(255,255,255,.12); }
.pagehead--ink h1 { color: #fff; }
.pagehead--ink .lede { color: #A9BCDC; }

/* --- 23. Prose ----------------------------------------------------------------------------------------- */
/* Left-aligned ragged-right throughout: justified text creates uneven word
   gaps on the web and reads as less professional. */
.prose { font-size: var(--t-md); line-height: 1.78; }
.prose p { text-align: left; }
.prose h2 {
  font-size: var(--t-xl); margin-top: var(--s-8); padding-top: var(--s-4);
  position: relative;
}
.prose h2::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 44px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-deep));
}
.prose h3 { margin-top: var(--s-6); padding-left: var(--s-4); border-left: 3px solid var(--clay); }
.prose > :first-child { margin-top: 0; }
.prose > :first-child::before { content: none; }
.prose > h2:first-child { padding-top: 0; }
.prose ul, .prose ol { padding-left: 1.45rem; }
.prose li { margin-bottom: var(--s-3); }
/* The Ajrak star: a small eight-point star as the list voice, in clay. */
.prose ul li::marker { content: "✦  "; color: var(--clay); font-size: .85em; }
.prose ol li::marker { color: var(--clay); font-weight: 700; }
.prose table { margin-bottom: var(--s-5); font-size: var(--t-sm); border: 1px solid var(--mint-2); border-radius: var(--r); overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.prose th { background: var(--mint); font-weight: 700; color: var(--head); font-size: var(--t-xs); text-transform: none; letter-spacing: .01em; border-bottom-color: var(--mint-2); }
.prose tbody tr:nth-child(even) { background: var(--mint-tint); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:hover { background: var(--mint); }
.table-scroll { overflow-x: auto; margin-block: var(--s-5) var(--s-6); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.table-scroll table { font-size: var(--t-sm); border: 1px solid var(--mint-2); border-radius: var(--r-lg); overflow: hidden; min-width: 560px; background: var(--surface); }
.table-scroll th, .table-scroll td { text-align: left; padding: 0.9rem 1.05rem; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; vertical-align: top; }
.table-scroll th { background: var(--mint); font-weight: 700; color: var(--head); font-size: var(--t-xs); text-transform: none; letter-spacing: .01em; border-bottom-color: var(--mint-2); }
.table-scroll tbody tr:nth-child(even) { background: var(--mint-tint); }
.table-scroll tbody tr:last-child td { border-bottom: 0; }
.table-scroll tbody tr:hover { background: var(--mint); }
.table-scroll td:first-child { color: var(--head); font-weight: 600; min-width: 11ch; }

.byline { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); align-items: center; font-size: var(--t-sm); color: var(--muted); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); margin-bottom: var(--s-7); }
.byline strong { color: var(--head); }

.linklist { list-style: none; padding: 0; margin: 0; }
.linklist li { border-top: 1px solid var(--line); margin: 0; }
.linklist li:last-child { border-bottom: 1px solid var(--line); }
.linklist a {
  display: flex; justify-content: space-between; gap: var(--s-4); align-items: baseline;
  padding: var(--s-4) var(--s-3); text-decoration: none; color: var(--head); font-weight: 600;
  transition: background-color .2s var(--ease), padding-left .25s var(--ease-out);
}
.linklist a:hover { color: var(--teal-deep); background: var(--page-2); padding-left: var(--s-5); }
.linklist span { font-size: var(--t-sm); color: var(--muted-2); font-weight: 400; text-align: right; }

/* Absolute-positioned disc, NOT a grid column: list items often start with
   a <strong> label, and a grid would shove the trailing text into the icon
   column (the one-word-per-line bug). */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 2.35rem; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: .14rem;
  display: grid; place-items: center;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  font-size: .7rem; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  box-shadow: 0 4px 10px -4px rgba(22,62,143,.45);
}
.checklist strong { display: inline; }

/* --- 24. Tabs -------------------------------------------------------------------------------------------- */
.tabs__radio { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); }
.tabs__bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2);
  padding: var(--s-2); border-radius: 999px;
  background: var(--page-2); border: 1px solid var(--line);
  width: fit-content; margin-inline: auto;
}
.tabs__tab {
  cursor: pointer; user-select: none;
  font-family: var(--display); font-size: var(--t-sm); font-weight: 700; color: var(--muted);
  padding: 0.6rem 1.25rem; border-radius: 999px;
  transition: background-color .22s var(--ease), color .22s var(--ease), box-shadow .22s var(--ease);
}
.tabs__tab:hover { color: var(--head); }
.tabs__radio:focus-visible + .tabs__tab { outline: 2.5px solid var(--teal-deep); outline-offset: 2px; }
.tabs__panels { display: grid; margin-top: var(--s-6); }
.tabs__panel { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease-out); }
#tab-1:checked ~ .tabs__bar label[for="tab-1"],
#tab-2:checked ~ .tabs__bar label[for="tab-2"],
#tab-3:checked ~ .tabs__bar label[for="tab-3"],
#tab-4:checked ~ .tabs__bar label[for="tab-4"] { background: var(--teal-deep); color: #fff; box-shadow: var(--sh-teal); }
#tab-1:checked ~ .tabs__panels .tabs__panel:nth-child(1),
#tab-2:checked ~ .tabs__panels .tabs__panel:nth-child(2),
#tab-3:checked ~ .tabs__panels .tabs__panel:nth-child(3),
#tab-4:checked ~ .tabs__panels .tabs__panel:nth-child(4) { visibility: visible; opacity: 1; transform: none; }
.pathcard {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-6); align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-7); box-shadow: var(--sh-1);
}
.pathcard h3 { font-size: var(--t-xl); }
.pathcard__aside { display: grid; gap: var(--s-3); }
@media (max-width: 760px) { .pathcard { grid-template-columns: 1fr; padding: var(--s-5); } }

/* --- 25. CTA band ------------------------------------------------------------------------------------------ */
.ctaband {
  width: min(100% - clamp(1.5rem, 4vw, 3rem), 1400px);
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  border-radius: var(--r-xl);
  background:
    radial-gradient(100% 90% at 85% 0%, rgba(64,120,255,.28) 0%, transparent 55%),
    linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: #A9BCDC; position: relative; isolation: isolate;
  box-shadow: var(--sh-3); overflow: clip;
}
.ctaband::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(255,255,255,.1); pointer-events: none; }
.ctaband .wrap { position: relative; z-index: 1; padding-block: clamp(3.2rem, 6.5vw, 5rem); display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--s-8); align-items: center; }
.ctaband h2 { color: #fff; margin-bottom: var(--s-3); }
.ctaband p { color: #A9BCDC; margin-bottom: 0; }
.ctaband__actions { display: grid; gap: var(--s-3); justify-items: start; }
@media (max-width: 800px) { .ctaband .wrap { grid-template-columns: 1fr; gap: var(--s-5); } }

/* --- 26. Footer -------------------------------------------------------------------------------------------- */
.footer { background: var(--navy-deep); color: #93A7C9; font-size: var(--t-sm); position: relative; overflow: clip; }
.footer a { color: #C7D5EC; text-decoration: none; transition: color .2s var(--ease); }
.footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 0.8fr 1fr; gap: var(--s-6); padding-block: var(--s-9) var(--s-7); position: relative; z-index: 1; }
.footer h4 { color: #fff; font-size: var(--t-2xs); letter-spacing: .15em; text-transform: uppercase; margin-bottom: var(--s-5); position: relative; padding-bottom: var(--s-3); }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--teal); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: var(--s-3); }
.footer__brand p { max-width: 44ch; line-height: 1.7; }
.footer__social { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4); margin-top: var(--s-4); }
.footer__legal { border-top: 1px solid rgba(255,255,255,.1); padding-block: var(--s-5) var(--s-4); display: grid; gap: var(--s-4); position: relative; z-index: 1; }
.footer__legal p { margin: 0; font-size: var(--t-xs); line-height: 1.65; }
.footer strong { color: #fff; }
.footer__row { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); justify-content: space-between; align-items: center; }
.footer__ghost {
  display: block; width: 100%; text-align: center;
  font-family: var(--display); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(2rem, 6vw, 5rem); line-height: 0.85; white-space: nowrap;
  color: rgba(255,255,255,.04);
  padding-bottom: var(--s-2); user-select: none;
}
@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* --- 27. Mobile action bar ------------------------------------------------------------------------------------ */
.actionbar { display: none; }
@media (max-width: 720px) {
  .actionbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--line);
    box-shadow: 0 -10px 28px -12px rgba(10,31,66,.3);
  }
  .actionbar a { background: var(--surface); text-align: center; padding: 1rem 0.5rem; font-family: var(--display); font-size: var(--t-sm); font-weight: 700; color: var(--head); text-decoration: none; }
  .actionbar a.is-wa { background: var(--wa); color: #fff; }
  body { padding-bottom: 60px; }
}

/* --- 28. Forms --------------------------------------------------------------------------------------------------- */
.form { display: grid; gap: var(--s-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--sh-1); }
.field { display: grid; gap: var(--s-2); }
.field label { font-size: var(--t-sm); font-weight: 600; color: var(--head); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: var(--t-base); color: var(--text);
  padding: 0.85rem 1rem; border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--page-2);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal-deep); background: #fff; outline: none;
  box-shadow: 0 0 0 3px rgba(37,99,235,.18);
}
.field--2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 560px) { .field--2 { grid-template-columns: 1fr; } }

/* --- 28b. Reviews: star input, summary, review cards ------------------------ */
.field .field__label { font-size: var(--t-sm); font-weight: 600; color: var(--head); }
.field__opt { font-weight: 400; color: var(--muted-2); }

/* Radios are ordered 5..1 in markup; row-reverse shows them 1..5, so
   `~` siblings (visually to the LEFT) light up on hover and selection. */
.rate { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rate input { position: absolute; opacity: 0; pointer-events: none; }
.rate label {
  font-size: 2.1rem; line-height: 1; padding: 0 3px; cursor: pointer;
  color: var(--line-2);
  transition: color .15s var(--ease), transform .15s var(--ease);
}
.rate label:hover, .rate label:hover ~ label,
.rate input:checked ~ label { color: var(--star); }
.rate label:hover { transform: scale(1.15); }
.rate input:focus-visible + label { outline: 2.5px solid var(--teal-deep); outline-offset: 2px; border-radius: 8px; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.revmsg { margin: 0; font-size: var(--t-sm); font-weight: 600; color: var(--teal-deep); }
.revmsg.is-error { color: #B3402E; }

.revsummary {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: var(--s-2) var(--s-3); margin-top: var(--s-5);
  font-weight: 700; color: var(--head);
}
.revsummary__stars { color: var(--star); font-size: 1.4rem; letter-spacing: 3px; }

.rev {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-5); box-shadow: var(--sh-1);
  display: flex; flex-direction: column; gap: var(--s-2);
}
.rev__stars { color: var(--star); letter-spacing: 3px; font-size: 1.05rem; }
.rev__text { color: var(--muted); font-size: var(--t-sm); line-height: 1.65; margin: 0; }
.rev__who { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); font-size: var(--t-xs); color: var(--muted-2); margin-top: auto; }
.rev__who b { color: var(--head); font-weight: 700; }

/* The /reviews/ page rating board: three zones on one band. Looks complete
   at zero reviews: an invite where the score will live, empty bars, and the
   independently verified record on the right. */
.ratingboard {
  display: grid; grid-template-columns: 1fr 1.5fr 1.1fr; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl, 24px);
  box-shadow: var(--sh-2); overflow: hidden;
}
.ratingboard__score { text-align: center; padding: var(--s-7) var(--s-6); }
.ratingboard__invite { display: grid; gap: var(--s-2); justify-items: center; }
.ratingboard__ghost { font-size: 1.9rem; letter-spacing: 5px; color: var(--star); line-height: 1; }
.ratingboard__invite strong { font-family: var(--display); font-size: var(--t-lg); color: var(--head); letter-spacing: -0.01em; }
.ratingboard__invite > span:last-child { font-size: var(--t-xs); color: var(--muted-2); font-weight: 600; }
.ratingboard__num {
  font-family: var(--display); font-size: clamp(3rem, 5vw, 4rem); font-weight: 800;
  line-height: 1; color: var(--head); letter-spacing: -0.03em;
}
.ratingboard__stars { display: block; margin-top: var(--s-2); font-size: 1.3rem; }
.ratingboard__count { margin-top: var(--s-2); font-size: var(--t-xs); color: var(--muted-2); font-weight: 600; }
.ratingboard__bars { padding: var(--s-6); border-left: 1px solid var(--line); align-self: stretch; display: grid; align-content: center; }
.rbar { display: grid; grid-template-columns: 2.1rem 1fr 2rem; align-items: center; gap: var(--s-3); font-size: var(--t-xs); font-weight: 600; color: var(--muted); }
.rbar + .rbar { margin-top: var(--s-2); }
.rbar__n { text-align: right; }
.rbar__track { height: 8px; border-radius: 999px; background: var(--page-3); overflow: hidden; }
.rbar__fill { height: 100%; width: 0; border-radius: inherit; background: var(--star); transition: width .7s var(--ease-out); }
.ratingboard__aside { align-self: stretch; padding: var(--s-6); background: var(--mint-tint); border-left: 1px solid var(--line); display: grid; align-content: center; gap: var(--s-3); }
.ratingboard__aside-title { margin: 0; font-size: var(--t-2xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); }
.ratingboard__fact { display: flex; align-items: baseline; gap: var(--s-3); }
.ratingboard__fact b { font-family: var(--display); font-size: var(--t-xl); font-weight: 800; color: var(--head); letter-spacing: -0.02em; }
.ratingboard__fact span { font-size: var(--t-xs); color: var(--muted); font-weight: 600; }
.ratingboard__aside-note { margin: 0; font-size: var(--t-2xs); color: var(--muted-2); line-height: 1.55; }
@media (max-width: 900px) {
  .ratingboard { grid-template-columns: 1fr; }
  .ratingboard__bars, .ratingboard__aside { border-left: 0; border-top: 1px solid var(--line); }
}

/* Designed empty state for the review wall. */
.revempty {
  max-width: 560px; margin: var(--s-7) auto 0; text-align: center;
  background: var(--mint); border: 1px solid var(--mint-2); border-radius: var(--r-lg);
  padding: var(--s-7) var(--s-6) var(--s-6); position: relative;
}
.revempty__mark {
  position: absolute; top: -6px; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--teal-deep); color: #fff; border-radius: 50%;
  font-family: var(--display); font-size: 2rem; line-height: 0.4; padding-top: 14px;
  box-shadow: var(--sh-teal);
}
.revempty p { margin: 0; color: var(--muted); }
.revempty p + p { margin-top: var(--s-2); font-size: var(--t-sm); }
.revempty strong { color: var(--head); font-family: var(--display); font-size: var(--t-md); }

/* The form as a floating white card on the navy slab. */
.section--ink .form { border-color: rgba(255,255,255,.2); box-shadow: 0 30px 60px -25px rgba(0,0,0,.55); }

/* --- 29. JS layer ------------------------------------------------------------------------------------------------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100;
  background: var(--grad);
  transform-origin: left; transform: scaleX(0); pointer-events: none;
}
.totop {
  position: fixed; right: 18px; bottom: 76px; z-index: 70;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--head);
  font-size: 1.1rem; cursor: pointer; box-shadow: var(--sh-3);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease-out), background-color .2s var(--ease), color .2s var(--ease);
}
.totop.show { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover { background: var(--teal-deep); color: #fff; }
@media (min-width: 721px) { .totop { bottom: 22px; } }

dialog.lb { border: 0; padding: 0; background: transparent; max-width: none; }
dialog.lb::backdrop { background: rgba(14,42,60,.82); backdrop-filter: blur(6px); }
.lb__frame iframe { width: min(92vw, 980px); aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-lg); box-shadow: var(--sh-3); display: block; }
.lb--img img { max-width: min(92vw, 900px); max-height: 86vh; border-radius: var(--r-lg); box-shadow: var(--sh-3); }
.lb__x {
  position: fixed; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.14); color: #fff; font-size: 1.05rem; cursor: pointer;
}
.lb__x:hover { background: rgba(255,255,255,.32); }

.tilt { transform: perspective(1100px) rotateY(var(--tx, 0)) rotateX(var(--ty, 0)); transition: transform .18s var(--ease); transform-style: preserve-3d; }
.tilt .gchip { transform: translate(var(--px, 0), var(--py, 0)); transition: transform .25s var(--ease-out); }

/* --- 30. Reduced motion & print ------------------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
  .btn:hover, a.card:hover, .video:hover, .story:hover, .fstep:hover { transform: none; }
}
@media print {
  .topbar, .masthead, .actionbar, .ctaband, .footer__top, .hero__stage, .marquee, .progress, .totop { display: none; }
  body { background: #fff; }
  .section--ink, .pagehead--ink { background: #fff !important; color: #000; box-shadow: none; }
  .section--ink h2, .section--ink h3 { color: #000; }
  .card, .strip, .clinic { box-shadow: none; }
}
