/* ==========================================================================
   Dr Afzal A. M. Laskar · Consultant Physician, Internal Medicine
   White clinical base · deep navy ink · clinical blue brand · coral accent.
   Each organ system (and each medicine in the animations) has its own colour.
   ========================================================================== */

@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk.woff2") format("woff2"); font-weight: 500 850; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../fonts/atkinson-hyperlegible-next.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; src: url("../fonts/atkinson-hyperlegible-mono.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }

:root {
  --bg: #FFFFFF;
  --mist: #FAF5F4;
  --mist-2: #F3E8E6;
  --sand: #F8F4EF;
  --ink: #1F1416;
  --ink-2: #4A3A3D;
  --ink-3: #7B6A6D;
  --line: #EFE4E2;
  --line-2: #DFCFCC;
  --brand: #8C1C2C;
  --brand-deep: #6B1320;
  --brand-soft: #FBEDEE;
  --hot: #D4912A;
  --hot-deep: #9A5F0A;
  --hot-soft: #FDF3E2;
  --ok: #0F8A5F;
  --ok-soft: #E2F5EC;
  --navy: #2A1217;
  --navy-2: #3B1B22;
  --on-dark-2: #E6D3D6;
  --on-dark-3: #B99FA4;
  --on-dark-accent: #F2C27D;
  --shade: 74, 20, 30;
  --wa: #1FAF5A;

  /* one colour per organ system, also used for the medicines in the animations */
  --m-sugar: #E39A00;
  --m-heart: #E5484D;
  --m-thyroid: #7A5AF8;
  --m-lung: #1597D4;
  --m-fever: #F2711C;
  --m-gut: #1F9D5C;
  --m-kidney: #0E9F9A;
  --m-brain: #3B5BDB;
  --m-blood: #C81E4B;
  --m-all: var(--brand);
  --c-metro: var(--brand);
  --c-doboka: var(--hot);

  --fs-label: clamp(.94rem, .86rem + .26vw, 1.08rem);
  --fs-h5: clamp(1.12rem, 1.06rem + .2vw, 1.25rem);
  --fs-h4: clamp(1.32rem, 1.2rem + .4vw, 1.56rem);
  --fs-h3: clamp(1.6rem, 1.38rem + .75vw, 1.95rem);
  --fs-h2: clamp(2.4rem, 1.7rem + 2.4vw, 3.9rem);
  --fs-h1: clamp(3rem, 2rem + 4.4vw, 6.2rem);
  --f-display: "Schibsted Grotesk", "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --f: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, Consolas, monospace;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --r1: 10px; --r2: 16px; --r3: 26px;
  --hdr: 80px;
  --wrap: 1260px;
  --gut: clamp(16px, 4vw, 44px);
  --shadow: 0 1px 2px rgba(var(--shade), .05), 0 12px 32px -14px rgba(var(--shade), .22);
  --shadow-lg: 0 2px 6px rgba(var(--shade), .05), 0 30px 70px -28px rgba(var(--shade), .35);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: clamp(1.0625rem, 1rem + .15vw, 1.125rem); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }
input, select, textarea { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--r1); font-weight: 700; transition: top .2s var(--ease-out); }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 18px; height: 18px; flex: none; }
.mono { font-family: var(--mono); }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-label); font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 32px; height: 3px; border-radius: 2px; background: var(--hot); flex: none; }
.h1, .h2, .h3 { font-family: var(--f-display); text-wrap: balance; }
.h1 { font-size: var(--fs-h1); font-weight: 800; line-height: .98; letter-spacing: -.045em; margin-top: 18px; }
.h2 { font-size: var(--fs-h2); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; margin-top: 14px; }
.h3 { font-size: var(--fs-h3); font-weight: 750; line-height: 1.08; letter-spacing: -.03em; }
.h1 em, .h2 em, .h3 em { font-style: normal; color: var(--brand); }
.lede { font-size: clamp(1.08rem, 1rem + .35vw, 1.26rem); color: var(--ink-2); line-height: 1.55; max-width: 44em; }
.muted { color: var(--ink-3); }
.small { font-size: .92rem; }

/* hand-drawn underline that draws itself under a key word */
.hl { position: relative; white-space: nowrap; display: inline-block; }
.hl svg { position: absolute; left: -2%; bottom: -.14em; width: 104%; height: .32em; overflow: visible; pointer-events: none; }
.hl path { fill: none; stroke: var(--hot); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-in .hl path, .hero .hl path { animation: drawline .9s var(--ease-out) .8s forwards; }
@keyframes drawline { to { stroke-dashoffset: 0; } }

.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--brand); }
.tlink .i { transition: transform .25s var(--ease-out); }
.tlink:hover .i { transform: translateX(4px); }
.tlink span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease-out); padding-bottom: 2px; }
.tlink:hover span { background-size: 100% 2px; }

/* ---------- Buttons ---------- */
.btn { --h: 54px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 26px; border-radius: 999px; font-weight: 800; font-size: 1.02rem; white-space: nowrap; transition: transform .2s var(--ease-out), background-color .2s ease, box-shadow .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn .i { transition: transform .2s var(--ease-out); }
.btn:hover .i--go { transform: translateX(3px); }
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--brand) 75%, transparent); }
.btn--brand:hover { background: var(--brand-deep); }
.btn--hot { background: var(--hot); color: #fff; box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--hot) 80%, transparent); }
.btn--hot:hover { background: var(--hot-deep); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 12px 26px -12px rgba(31, 175, 90, .8); }
.btn--wa:hover { background: #17924A; }
.btn--line { border: 1.5px solid var(--line-2); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--brand-deep); }
.btn--line-light { border: 1.5px solid rgba(255, 255, 255, .4); color: #fff; }
.btn--line-light:hover { border-color: #fff; }
.btn--sm { --h: 44px; padding: 0 18px; font-size: .94rem; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; transition: background-color .25s ease, transform .35s var(--ease-out), box-shadow .25s ease; }
.hdr.is-solid { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.hdr.is-up { transform: translateY(-100%); }
.hdr.is-open { background: #fff; transform: none; box-shadow: 0 1px 0 var(--line); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: var(--hdr); }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; margin-right: auto; }
.mark { width: 46px; height: 46px; flex: none; overflow: visible; }
.mark .mk-bg { fill: var(--brand); }
.mark .mk-a, .mark .mk-l { fill: none; stroke: #fff; stroke-width: 4.4; stroke-linecap: round; stroke-linejoin: round; }
.mark .mk-beat { fill: none; stroke: var(--hot); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.logo:hover .mk-beat { stroke-dasharray: 1; animation: redraw .9s var(--ease-out); }
@keyframes redraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.logo__txt { display: flex; flex-direction: column; line-height: 1.02; }
.logo__txt b { font-family: var(--f-display); font-size: clamp(1.22rem, 1.05rem + .5vw, 1.5rem); font-weight: 800; letter-spacing: -.035em; white-space: nowrap; }
.logo__txt small { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 5px; white-space: nowrap; }
.nav { display: flex; gap: 2px; }
.nav a { position: relative; padding: 10px 14px; font-weight: 700; font-size: 1rem; color: var(--ink-2); border-radius: 999px; transition: color .2s ease, background-color .2s ease; }
.nav a:hover { color: var(--ink); background: var(--mist); }
.nav a[aria-current="page"] { color: var(--brand); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--hot); }
.burger { display: none; position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease-out), top .3s var(--ease-out); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22.5px; transform: rotate(-45deg); }
.menu { background: #fff; border-top: 1px solid var(--line); max-height: calc(100vh - var(--hdr)); max-height: calc(100dvh - var(--hdr)); overflow-y: auto; }
.menu__in { display: grid; padding-block: 8px 28px; }
.menu a:not(.btn) { display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: 1.7rem; font-weight: 750; letter-spacing: -.03em; }
.menu a:not(.btn)::after { content: "→"; color: var(--ink-3); font-size: 1.2rem; }
.menu a[aria-current="page"] { color: var(--brand); }
.menu .btn { margin-top: 20px; }
@media (max-width: 1060px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr__cta span { display: none; }
  .hdr__cta { width: 48px; padding: 0; --h: 48px; }
}
.burger, .hdr__cta { flex: none; }
@media (max-width: 560px) {
  .hdr__in { gap: 8px; }
  .logo { gap: 8px; min-width: 0; }
  .logo__txt { min-width: 0; }
  .logo__txt b { font-size: 1.12rem; }
  .logo__txt small { font-size: .6rem; letter-spacing: .06em; }
  .hdr .mark { width: 36px; height: 36px; }
  .hdr__cta, .burger { width: 44px; height: 44px; --h: 44px; }
  .burger span { left: 13px; right: 13px; }
  .burger span:first-child { top: 17px; }
  .burger span:last-child { top: 24px; }
  .burger[aria-expanded="true"] span:first-child, .burger[aria-expanded="true"] span:last-child { top: 20.5px; }
}
@media (max-width: 360px) { .logo__txt small { display: none; } }
/* the smallest phones (320 px: iPhone SE 1st gen, older Galaxies): everything a little tighter so the menu button stays on screen */
@media (max-width: 350px) {
  .hdr__in { gap: 6px; }
  .logo { gap: 7px; flex: 0 1 auto; }
  .logo__txt b { font-size: 1rem; letter-spacing: -.04em; }
  .hdr .mark { width: 32px; height: 32px; }
  .hdr__cta, .burger { width: 42px; height: 42px; --h: 42px; }
  .burger span { left: 12px; right: 12px; }
  .burger span:first-child { top: 16px; }
  .burger span:last-child { top: 23px; }
  .burger[aria-expanded="true"] span:first-child, .burger[aria-expanded="true"] span:last-child { top: 19.5px; }
}

/* ---------- Loader (first visit): the stethoscope draws itself and flies into the logo ---------- */
.loader { display: none; }
.intro .loader { display: grid; position: fixed; inset: 0; z-index: 200; place-items: center; transition: opacity .35s ease; }
.loader.is-fading { opacity: 0; }
.loader__bg { position: absolute; inset: 0; background: #fff; transition: opacity .5s ease; }
.loader__bg::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(color-mix(in srgb, var(--brand) 7%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--brand) 7%, transparent) 1px, transparent 1px); background-size: 32px 32px; background-position: center; -webkit-mask-image: radial-gradient(70vmin 70vmin at 50% 46%, #000, transparent); mask-image: radial-gradient(70vmin 70vmin at 50% 46%, #000, transparent); }
.loader__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(48vmin 48vmin at 50% 42%, color-mix(in srgb, var(--brand) 10%, transparent), color-mix(in srgb, var(--brand) 0%, transparent)); }
.loader.is-leaving .loader__bg, .loader.is-leaving .loader__txt { opacity: 0; }
.loader__in { position: relative; display: grid; justify-items: center; gap: 22px; padding: var(--gut); text-align: center; }
.loader__mark { width: clamp(104px, 26vw, 136px); height: auto; overflow: visible; }
.loader__mark .mk-bg { transform-box: fill-box; transform-origin: center; transform: scale(0) rotate(-12deg); animation: bloomR .55s var(--spring) .05s forwards; }
.loader__mark .mk-a, .loader__mark .mk-l, .loader__mark .mk-beat { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawline .55s var(--ease-out) forwards; }
.loader__mark .mk-a { animation-delay: .3s; animation-duration: .45s; }
.loader__mark .mk-l { animation-delay: .55s; animation-duration: .35s; }
.loader__mark .mk-beat { animation-delay: .8s; animation-duration: .5s; }
@keyframes bloomR { to { transform: none; } }
.loader__txt { display: grid; gap: 6px; transition: opacity .25s ease; }
.loader__txt b { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.loader__txt small { font-size: .84rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.loader__txt > * { opacity: 0; transform: translateY(10px); animation: inUp .5s var(--ease-out) .35s forwards; }
.loader__txt small { animation-delay: .45s; }
@keyframes bloom { to { transform: scale(1); } }
@keyframes inUp { to { opacity: 1; transform: none; } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.1); } }

/* ---------- Sections ---------- */
.sec { padding: clamp(80px, 10vw, 136px) 0; }
.sec--mist { background: var(--mist); }
.sec--sand { background: var(--sand); }
.sec--tight { padding-block: clamp(48px, 6vw, 80px); }
.sec--flush-top { padding-top: 0; }
.sec--navy { background: var(--navy); color: #fff; }
.sec--navy .eyebrow { color: var(--on-dark-accent); }
.sec--navy .h2 em { color: var(--on-dark-accent); }
.sec--navy .lede, .sec--navy .muted { color: var(--on-dark-2); }
.sec__head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.sec__head .lede { margin: 0; }
@media (max-width: 880px) { .sec__head { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-group] > * { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), box-shadow .35s ease, border-color .35s ease; transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal-group].is-in > * { opacity: 1; transform: none; }
.js [data-reveal-group].is-in > *:hover { transition-delay: 0s; }
/* headings rise word by word */
.js .split-words .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.js .split-words .w > span { display: inline-block; transform: translateY(110%); transition: transform .85s var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms + var(--d, 0s)); }
.js .split-words.is-in .w > span { transform: none; }
.hero-in { opacity: 0; transform: translateY(18px); animation: inUp .8s var(--ease-out) forwards; animation-delay: calc(.1s + var(--d, 0s)); }
.intro:not(.intro--out) .hero-in, .intro:not(.intro--out) .hero .hl path { animation-play-state: paused; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: calc(var(--hdr) + clamp(28px, 4vw, 56px)) 0 clamp(64px, 7vw, 100px); overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 72vw; height: 72vw; right: -26vw; top: -28vw; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 11%, transparent), color-mix(in srgb, var(--brand) 0%, transparent)); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 40vw; height: 40vw; left: -18vw; bottom: -20vw; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--hot) 8%, transparent), color-mix(in srgb, var(--hot) 0%, transparent)); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(0, .76fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__title { font-family: var(--f-display); font-size: clamp(2.7rem, 4.9vw, 5rem); font-weight: 800; line-height: .96; letter-spacing: -.05em; margin: 20px 0 26px; }
.hero__title .ln { display: block; }
.hero__title .c2 { color: var(--brand); }
.hero__who { font-size: 1.12rem; color: var(--ink-2); }
.hero__who b { color: var(--ink); font-weight: 800; }
.hero__lede { margin-top: 10px; font-size: 1.1rem; color: var(--ink-2); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 46px; border-top: 1px solid var(--line); max-width: 680px; }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 18px 16px 0 0; }
.stats > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.stats dt { font-size: .86rem; color: var(--ink-3); line-height: 1.3; margin-top: 6px; }
.stats dd { font-family: var(--f-display); font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats dd small { font-size: .5em; margin-left: 2px; color: var(--ink-3); letter-spacing: 0; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(3) { padding-left: 0; border-left: 0; } .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 18px; } }

/* his portrait, cut out and unframed, with medicines floating around it */
.hero__visual { position: relative; justify-self: center; width: min(100%, 470px); aspect-ratio: 470 / 600; }
.capsule { position: absolute; inset: 0; }
/* fades out at the edges (softly at the top, where the photo cuts his hair); multiply lets a white photo background melt into the page */
.capsule img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 62%, transparent 97%), linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 62%, transparent 97%), linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect; }
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.floater { position: absolute; width: var(--s, 56px); filter: drop-shadow(0 10px 14px rgba(var(--shade), .22)); animation: bob var(--t, 6s) ease-in-out infinite; animation-delay: var(--dl, 0s); }
.floater svg { width: 100%; height: auto; transform: rotate(var(--r, 0deg)); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.hero__chip { position: absolute; z-index: 4; left: -6%; bottom: 3%; display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px 14px 16px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); max-width: 310px; transition: transform .2s var(--ease-out); }
.hero__chip:hover { transform: translateY(-3px); }
.hero__chip b { display: block; font-size: 1rem; font-weight: 800; line-height: 1.25; }
.hero__chip small { display: block; font-size: .84rem; color: var(--ink-3); line-height: 1.3; }
/* the badges sit on his shoulders and chest, never on his face */
.hero__ecg { position: absolute; z-index: 4; right: -6%; bottom: 20%; display: grid; gap: 2px; padding: 12px 16px 10px; border-radius: 16px; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.hero__ecg small { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; color: var(--on-dark-3); text-transform: uppercase; }
.hero__ecg svg { width: 130px; height: 34px; overflow: hidden; }
.hero__ecg path { fill: none; stroke: #3DDC97; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; animation: ecgScroll 1.4s linear infinite; }
.hero__ecg b { font-family: var(--f-display); font-size: 1rem; font-weight: 800; letter-spacing: -.02em; }
@keyframes ecgScroll { to { transform: translateX(-60px); } }
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); flex: none; position: relative; }
.dot.is-live { background: var(--ok); }
.dot.is-live::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--ok); animation: ping 2s var(--ease-out) infinite; }
.dot.is-later { background: var(--brand); }
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { width: min(100%, 420px); margin-top: 8px; }
  .hero__chip { left: 0; bottom: -5%; }
  .hero__ecg { right: 0; bottom: 13%; padding: 10px 13px 8px; }
  .hero__ecg svg { width: 104px; height: 28px; }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--brand); color: #fff; overflow: hidden; padding: 20px 0; }
.ticker__track { display: flex; width: max-content; animation: tick 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker ul { display: flex; flex: none; }
.ticker li { display: flex; align-items: center; font-family: var(--f-display); font-size: clamp(1.25rem, 2.2vw, 1.85rem); font-weight: 700; letter-spacing: -.025em; white-space: nowrap; }
.ticker li svg { width: 40px; height: 20px; margin: 0 26px; flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Today card + weekly timeline ---------- */
.today { background: #fff; border: 1px solid var(--line); border-radius: var(--r3); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-lg); }
.today__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.today__k { font-size: .84rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.today__h { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin-top: 6px; }
.today__clock { text-align: right; }
.today__clock b { display: block; white-space: nowrap; font-family: var(--mono); font-size: 1.2rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.today__clock span { font-size: .8rem; color: var(--ink-3); }
.today__list { display: grid; }
.today__list li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.today__dot { width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.today__list b { display: block; font-size: 1.12rem; font-weight: 800; }
.today__list div > span { display: block; font-size: .92rem; color: var(--ink-3); margin-bottom: 8px; }
.today__time { font-family: var(--mono); font-size: .95rem; font-weight: 700; white-space: nowrap; padding-top: 3px; }
.today__list li.is-done { opacity: .6; }
.today__none { color: var(--ink-3); display: block !important; padding: 18px 0; }
.today__next { padding: 16px 0 0; font-weight: 700; }
.today__next span { color: var(--brand); }
.today__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-2); font-size: .94rem; color: var(--ink-3); }
.pill { font-style: normal; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .02em; }
.pill--now { background: var(--ok-soft); color: var(--ok); }
.pill--now::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.4s ease-in-out infinite; }
.pill--later { background: var(--brand-soft); color: var(--brand); }
.pill--done { background: var(--mist-2); color: var(--ink-3); }
@keyframes blink { 50% { opacity: .25; } }


/* ---------- Scroll story: from first visit to feeling better ---------- */
.story { position: relative; height: 640vh; background: linear-gradient(180deg, #fff 0%, var(--mist) 10%, var(--mist) 100%); }
.story__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; }
.story__sticky::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(color-mix(in srgb, var(--brand) 6%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--brand) 6%, transparent) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); }
.story__ui { position: relative; height: 100%; display: grid; grid-template-columns: minmax(300px, 410px) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); padding-top: calc(var(--hdr) + 8px); padding-bottom: 36px; }
.story__text { display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.story__title { font-family: var(--f-display); font-size: clamp(2.2rem, 1.5rem + 2.1vw, 3.6rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin-top: 10px; }
.story__title em { font-style: normal; color: var(--brand); }
.story__sub { color: var(--ink-3); font-weight: 700; margin-top: 10px; }
.story__steps { display: grid; gap: 8px; counter-reset: st; }
.story__steps li { counter-increment: st; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(255, 255, 255, .6); border: 1px solid transparent; opacity: .5; transition: background-color .3s ease, border-color .3s ease, opacity .3s ease, transform .3s var(--ease-out), box-shadow .3s ease; }
.story__steps li::before { content: attr(data-n); grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: .8rem; font-weight: 700; background: var(--mist-2); color: var(--ink-3); transition: background-color .3s ease, color .3s ease; }
.story__steps b { font-family: var(--f-display); font-size: var(--fs-h5); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.story__steps span { font-size: .9rem; color: var(--ink-3); line-height: 1.35; }
.story__steps li.is-done { opacity: .8; }
.story__steps li.is-done::before { background: var(--brand-soft); color: var(--brand); }
.story__steps li.is-on { opacity: 1; background: #fff; border-color: var(--line); box-shadow: var(--shadow); transform: translateX(6px); }
.story__steps li.is-on::before { background: var(--brand); color: #fff; }
.story__steps li.is-on span { color: var(--ink-2); }
.story__stage { position: relative; display: grid; place-items: center; min-height: 0; }
.story__svg { width: 100%; height: 100%; max-height: calc(100svh - var(--hdr) - 60px); overflow: visible; }
.story__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: color-mix(in srgb, var(--brand) 10%, transparent); }
.story__bar span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand), var(--hot)); }
.story__hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 700; color: var(--ink-3); transition: opacity .3s ease; }
.story__hint i { width: 18px; height: 28px; border: 2px solid currentColor; border-radius: 10px; position: relative; }
.story__hint i::after { content: ""; position: absolute; left: 50%; top: 5px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(9px); opacity: 0; } }
/* Skip: one tap jumps past the whole scroll drawing */
.story__skip { position: absolute; right: 0; bottom: 0; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 20px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line-2); color: var(--brand); font-weight: 800; font-size: .95rem; white-space: nowrap; box-shadow: var(--shadow); transition: opacity .3s ease, transform .3s var(--ease-out), border-color .2s ease; }
.story__skip:hover { border-color: var(--brand); }
.story__skip .i { width: 18px; height: 18px; transform: rotate(90deg); }
.story__skip.is-gone { opacity: 0; transform: translateY(8px); pointer-events: none; }
.story svg text { font-family: var(--f); }
.story .t-mono { font-family: var(--mono); font-weight: 700; letter-spacing: .08em; }
.story .t-disp { font-family: var(--f-display); font-weight: 800; }
@media (max-width: 900px) {
  .story { height: 600vh; }
  .story__ui { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) auto; gap: 6px; padding-bottom: 96px; }
  .story__text { display: contents; }
  .story__title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .story__sub { display: none; }
  .story__stage { grid-row: 2; }
  .story__steps { grid-row: 3; }
  .story__steps li { display: none; }
  .story__steps li.is-on { display: grid; transform: none; }
  .story__svg { max-height: none; }
  .story__hint { display: none; }
}

/* phones held sideways: the drawing beside the words, so all of it fits on the short screen */
@media (max-width: 1000px) and (max-height: 520px) and (orientation: landscape) {
  .story__sticky { min-height: 0; }
  .story__ui { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); grid-template-rows: none; gap: 20px; padding-top: calc(var(--hdr) + 4px); padding-bottom: 14px; }
  .story__text { display: flex; justify-content: center; gap: 12px; }
  .story__title { font-size: clamp(1.4rem, 3.4vw, 1.9rem); }
  .story__stage, .story__steps { grid-row: auto; }
  .story__steps li { padding: 8px 12px 8px 8px; }
  .story__svg { max-height: 100%; }
  html .actbar { left: auto; width: min(340px, 46vw); }
  .story__skip { top: 0; bottom: auto; } /* the Call/Book bar sits at the bottom right */
}

/* ---------- Organ-system cards with live illustrations ---------- */
.systems { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sys { --c: var(--brand); --soft: color-mix(in srgb, var(--c) 12%, #fff); position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; border-radius: var(--r3); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.sys::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; z-index: 2; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.sys:hover { transform: translateY(-6px) !important; box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--c) 35%, var(--line)); }
.sys:hover::before { transform: none; }
.sys__art { position: relative; margin: 0 0 10px; aspect-ratio: 160 / 110; border-radius: 18px; background: var(--soft); overflow: hidden; }
.sys__art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--c) 25%, transparent) 1px, transparent 1.5px); background-size: 14px 14px; opacity: .55; }
.sys__art svg { position: relative; width: 100%; height: 100%; }
.sys__n { position: absolute; top: 10px; left: 10px; z-index: 1; font-family: var(--mono); font-size: .74rem; font-weight: 700; color: var(--c); background: #fff; padding: 3px 9px; border-radius: 999px; }
.sys h3 { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.sys p { font-size: .94rem; color: var(--ink-3); line-height: 1.4; }
.sys__go { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .92rem; color: var(--c); }
.sys__go .i { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.sys:hover .sys__go .i { transform: translateX(4px); }
.sys--wide { grid-column: span 3; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 22px; }
.sys--wide .sys__art { margin: 0; }
.sys--wide .sys__body { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 1100px) { .systems { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sys--wide { grid-column: span 3; } }
@media (max-width: 760px) { .systems { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .systems > .sys:first-child { grid-column: span 2; } .sys { padding: 10px 10px 14px; border-radius: 20px; } .sys__art { border-radius: 14px; margin-bottom: 6px; } .sys--wide { grid-column: span 2; grid-template-columns: 1fr; gap: 6px; } .sys p { display: none; } .sys h3 { font-size: 1.12rem; } .sys__go { font-size: .84rem; padding-top: 6px; } }

/* shared art strokes */
.art .k { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.art .kc { fill: none; stroke: var(--c); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.art .fc { fill: var(--c); }
.art .fs { fill: color-mix(in srgb, var(--c) 30%, #fff); }
.art .fw { fill: #fff; }
.art .fn { fill: none; }
.art .sc { stroke: var(--c); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.art .sk { stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.art .sw { stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-opacity: .8; }
.art [class*="a-"] { transform-box: fill-box; transform-origin: center; }
.sys:not(.is-live) .art *, .cond:not(.is-live) .art * { animation-play-state: paused !important; }

/* 1 diabetes: a drop lands on the strip, the meter traces a reading */
.a-drop { animation: drop 3.2s var(--ease-in-out) infinite; }
@keyframes drop { 0% { transform: translateY(-16px) scale(.6); opacity: 0; } 15% { opacity: 1; transform: translateY(-16px) scale(1); } 42% { transform: translateY(24px) scale(1); opacity: 1; } 50% { transform: translateY(28px) scale(1.3, .5); opacity: 0; } 100% { opacity: 0; transform: translateY(28px); } }
.a-trace { stroke-dasharray: 1; stroke-dashoffset: 1; animation: trace 3.2s var(--ease-out) infinite; }
@keyframes trace { 0%, 48% { stroke-dashoffset: 1; } 80%, 100% { stroke-dashoffset: 0; } }
.a-read { animation: read 3.2s ease infinite; }
@keyframes read { 0%, 72% { opacity: 0; } 82%, 100% { opacity: 1; } }

/* 2 heart: lub-dub and a travelling ECG pulse */
.a-heart { animation: lubdub 1.1s ease-in-out infinite; }
@keyframes lubdub { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.12); } 24% { transform: scale(1); } 36% { transform: scale(1.07); } 50% { transform: scale(1); } }
.a-ecg { stroke-dasharray: .3 .7; animation: pulseRun 1.1s linear infinite; }
@keyframes pulseRun { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* 3 thyroid: lobes swell gently, hormone dots rise */
.a-lobe { animation: swell 2.6s ease-in-out infinite; }
.a-lobe--r { animation-delay: .15s; }
@keyframes swell { 50% { transform: scale(1.07); } }
.a-hor { animation: rise 2.6s ease-in infinite; animation-delay: var(--dl, 0s); }
@keyframes rise { 0% { transform: translateY(8px); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(-34px); opacity: 0; } }

/* 4 lungs: breathe in, breathe out */
.a-lung { transform-box: view-box !important; transform-origin: 80px 30px !important; animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.9); } 45%, 55% { transform: scale(1.04); } }
.a-air { animation: air 4s ease-in-out infinite; animation-delay: var(--dl, 0s); }
@keyframes air { 0% { transform: translateY(-14px); opacity: 0; } 20% { opacity: 1; } 45% { transform: translateY(24px); opacity: 0; } 100% { opacity: 0; } }

/* 5 fever: the mercury climbs, germs drift */
.a-merc { transform-box: view-box !important; transform-origin: 80px 92px !important; animation: merc 3.4s var(--ease-in-out) infinite; }
@keyframes merc { 0%, 100% { transform: scaleY(.42); } 55%, 70% { transform: scaleY(1); } }
.a-germ { animation: germ 6s ease-in-out infinite; animation-delay: var(--dl, 0s); }
@keyframes germ { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(6px, -8px) rotate(120deg); } }
.a-heat { stroke-dasharray: .35 .65; animation: pulseRun 1.4s linear infinite; }

/* 6 gut: the stomach squeezes, a wave runs through the bowel */
.a-stom { animation: squeeze 2.4s ease-in-out infinite; }
@keyframes squeeze { 50% { transform: scale(.93, 1.04); } }
.a-wave { stroke-dasharray: .22 .78; animation: pulseRun 2.4s linear infinite; }

/* 7 kidneys: filtered drops travel down to the bladder */
.a-kid { animation: swell 3s ease-in-out infinite; }
.a-flow { animation: flowL 2.2s ease-in infinite; animation-delay: var(--dl, 0s); }
.a-flow--r { animation-name: flowR; }
@keyframes flowL { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translate(14px, 36px); opacity: 0; } }
@keyframes flowR { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translate(-14px, 36px); opacity: 0; } }

/* 8 brain: signals spark along the nerves */
.a-spark { stroke-dasharray: .08 .92; animation: pulseRun 2.2s linear infinite; }
.a-spark--2 { animation-duration: 2.9s; animation-direction: reverse; }
.a-node { animation: flash 2.2s ease-in-out infinite; animation-delay: var(--dl, 0s); }
@keyframes flash { 0%, 100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.5); opacity: 1; } }

/* 9 blood: red cells stream through the vessel */
.a-rbc { animation: stream 3.2s linear infinite; animation-delay: var(--dl, 0s); }
@keyframes stream { from { transform: translateX(-40px) rotate(0); } to { transform: translateX(210px) rotate(160deg); } }
.a-wbc { animation: stream 6.4s linear infinite; animation-delay: var(--dl, 0s); }

/* 10 many systems: the dots get joined up */
.a-link { stroke-dasharray: 1; stroke-dashoffset: 1; animation: link 5s var(--ease-out) infinite; animation-delay: var(--dl, 0s); }
@keyframes link { 0%, 8% { stroke-dashoffset: 1; opacity: 1; } 40%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.a-pt { animation: flash 2.5s ease-in-out infinite; animation-delay: var(--dl, 0s); }
.a-lens { animation: lens 5s var(--ease-in-out) infinite; }
@keyframes lens { 0%, 100% { transform: translate(-70px, 8px); } 50% { transform: translate(70px, -6px); } }

/* ---------- Critical care + ICU monitor ---------- */
.care { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
@media (max-width: 960px) { .care { grid-template-columns: 1fr; } }
.monitor { width: 100%; border-radius: 26px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); }
.monitor .mon-trace, .monitor .mon-pleth { animation: monScroll 1s linear infinite; }
.monitor .mon-resp { animation: monScrollLong 4s linear infinite; }
@keyframes monScroll { to { transform: translateX(-120px); } }
@keyframes monScrollLong { to { transform: translateX(-240px); } }
.monitor .mon-heart { transform-box: fill-box; transform-origin: center; animation: lubdub 1s ease-in-out infinite; }
.monitor .mon-blink { animation: blink 2s ease-in-out infinite; }
.monitor text { font-family: var(--mono); font-weight: 700; }
.monitor .mon-big { font-family: var(--f-display); font-weight: 800; }
.care__list { display: grid; margin-top: 32px; counter-reset: c; }
.care__list li { counter-increment: c; display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.care__list li::before { content: counter(c, decimal-leading-zero); grid-row: span 2; font-family: var(--mono); font-size: .84rem; font-weight: 700; color: var(--on-dark-accent); padding-top: 5px; }
.care__list b { font-family: var(--f-display); font-size: var(--fs-h5); font-weight: 800; letter-spacing: -.02em; }
.care__list span { color: var(--on-dark-2); font-size: .98rem; }
.alert { display: flex; gap: 14px; padding: 18px 20px; border-radius: 18px; background: color-mix(in srgb, var(--hot) 12%, transparent); border: 1px solid color-mix(in srgb, var(--hot) 40%, transparent); margin-top: 28px; }
.alert .i { width: 24px; height: 24px; color: var(--hot); margin-top: 2px; }
.alert p { margin: 0; }
.alert a { color: var(--on-dark-accent); text-decoration: underline; text-underline-offset: 3px; }
.alert--light { background: var(--hot-soft); border-color: color-mix(in srgb, var(--hot) 35%, transparent); }
.alert--light a { color: var(--hot-deep); }

/* ---------- Approach ---------- */
.ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.way { --c: var(--brand); position: relative; padding: 26px 24px 28px; border-radius: var(--r3); background: #fff; border: 1px solid var(--line); }
.way:hover { transform: translateY(-6px) !important; box-shadow: var(--shadow-lg); }
.way__ic { width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); margin-bottom: 22px; }
.way__ic svg { width: 34px; height: 34px; }
.way:hover .way__ic svg { animation: wiggle .6s var(--ease-out); }
@keyframes wiggle { 30% { transform: rotate(-10deg) scale(1.08); } 60% { transform: rotate(6deg); } }
.way small { font-family: var(--mono); font-weight: 700; color: var(--ink-3); font-size: .8rem; }
.way b { display: block; font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 4px 0 8px; }
.way p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 1000px) { .ways { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ways { grid-template-columns: 1fr; } }
.quote { display: grid; grid-template-columns: auto 1fr; gap: 16px 28px; margin-top: clamp(48px, 6vw, 80px); padding: clamp(28px, 4vw, 52px); border-radius: 30px; background: var(--brand); color: #fff; position: relative; overflow: hidden; }
.quote::after { content: ""; position: absolute; right: -70px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%; border: 44px solid rgba(255, 255, 255, .07); }
.quote > svg { width: 54px; height: 54px; color: var(--hot); }
.quote blockquote { font-family: var(--f-display); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; max-width: 30em; }
.quote figcaption { grid-column: 2; color: var(--on-dark-2); font-weight: 700; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.quote figcaption a { color: #fff; }
@media (max-width: 600px) { .quote { grid-template-columns: 1fr; } .quote figcaption { grid-column: 1; } }

/* ---------- Counts ---------- */
.counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.counts li { padding: 8px 24px; text-align: center; }
.counts li + li { border-left: 1px solid var(--line); }
.counts b { display: flex; justify-content: center; align-items: baseline; gap: 4px; font-family: var(--f-display); font-size: clamp(2.8rem, 2rem + 3vw, 4.8rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.counts b small { font-size: .38em; color: var(--ink-3); letter-spacing: 0; }
.counts li > span { display: block; margin-top: 8px; color: var(--ink-2); font-weight: 700; }
@media (max-width: 700px) { .counts { grid-template-columns: 1fr 1fr; row-gap: 28px; } .counts li:nth-child(3) { border-left: 0; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 920px) { .reviews { grid-template-columns: 1fr; } }
/* until there are genuine reviews to show, the invitation to leave one stands on its own */
.reviews:not(:has(.orbit)) { grid-template-columns: minmax(0, 46rem); justify-content: center; }
.give { margin-top: 28px; padding: 24px; border-radius: var(--r3); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.give b { display: block; font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 800; letter-spacing: -.03em; margin-bottom: 6px; }
.give p { color: var(--ink-2); margin-bottom: 16px; }
.gstars { display: inline-flex; gap: 3px; color: #F5B400; margin-bottom: 10px; }
.gstars svg { width: 22px; height: 22px; }
.iconbtn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; display: grid; place-items: center; }
.iconbtn:hover { border-color: var(--ink); }

/* ---------- Dialog ---------- */
.dlg { width: min(540px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 26px; background: #fff; color: var(--ink); box-shadow: 0 40px 100px -30px rgba(var(--shade), .6); }
.dlg::backdrop { background: rgba(var(--shade), .55); backdrop-filter: blur(4px); }
.dlg[open] { animation: inUp .35s var(--ease-out); }
.dlg__in { padding: 28px; display: grid; gap: 14px; }
.dlg__top { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.dlg__top h2 { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.dlg__x { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; flex: none; }
.rate { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; border: 0; padding: 0; margin: 0; }
.rate input { position: absolute; opacity: 0; pointer-events: none; }
.rate label { cursor: pointer; color: var(--line-2); transition: color .12s, transform .2s var(--spring); }
.rate label svg { width: 38px; height: 38px; }
.rate label:hover, .rate label:hover ~ label, .rate input:checked ~ label { color: #F5B400; }
.rate label:hover { transform: scale(1.15); }
.rate input:focus-visible + label { outline: 2.5px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
.rate legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Forms + WhatsApp booking ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field > label, .field > .lbl { font-weight: 800; font-size: .94rem; }
.field label small { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 15%, transparent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.form__hint { font-size: .88rem; color: var(--ink-3); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chips span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 700; font-size: .94rem; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 2.5px solid var(--brand); outline-offset: 2px; }
.chips input:disabled + span { opacity: .35; text-decoration: line-through; }
.chips i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }

.booking { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 48px); align-items: start; padding: clamp(22px, 3vw, 40px); border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
@media (max-width: 920px) { .booking { grid-template-columns: 1fr; } }
.booking__title { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.wa { position: sticky; top: calc(var(--hdr) + 20px); border-radius: 26px; overflow: hidden; background: #EFE7DD; box-shadow: var(--shadow); border: 1px solid var(--line); }
.wa__top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #0B5E4D; color: #fff; }
.wa__av { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.wa__av .mark { width: 34px; height: 34px; }
.wa__top b { display: block; font-weight: 800; line-height: 1.2; }
.wa__top small { color: #BFE7D9; font-size: .82rem; }
.wa__chat { position: relative; min-height: 360px; padding: 22px 16px 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; background-image: radial-gradient(rgba(11, 94, 77, .08) 1.2px, transparent 1.5px); background-size: 16px 16px; }
.wa__sys { align-self: center; font-size: .78rem; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .85); color: #54656F; text-align: center; }
.wa__msg { align-self: flex-end; position: relative; max-width: 94%; min-width: 60%; padding: 10px 14px 24px; border-radius: 14px 4px 14px 14px; background: #D9FDD3; color: #111B21; font-size: .95rem; line-height: 1.45; white-space: pre-wrap; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); }
.wa__msg.is-bump { animation: bump .3s var(--ease-out); }
@keyframes bump { 50% { transform: scale(1.015); } }
.wa__msg .ph { color: #8696A0; }
.wa__msg b { font-weight: 700; }
.wa__meta { position: absolute; right: 10px; bottom: 5px; font-size: .7rem; color: #667781; display: flex; gap: 4px; align-items: center; }
.wa__meta svg { width: 16px; height: 11px; color: #53BDEB; }
.wa__typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 4px 14px 14px 14px; background: #fff; }
.wa__typing i { width: 7px; height: 7px; border-radius: 50%; background: #9AA6AE; animation: typing 1.2s ease-in-out infinite; }
.wa__typing i:nth-child(2) { animation-delay: .15s; }
.wa__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.wa__sent { align-self: flex-start; max-width: 85%; padding: 10px 14px; border-radius: 4px 14px 14px 14px; background: #fff; font-size: .92rem; color: #111B21; }
/* phones: the big chat panel would come after the button, so a compact copy of the message sits just above it instead */
.wa-mini, .wa-mini__sent { display: none; }
@media (max-width: 920px) {
  .booking > .wa { display: none; }
  .wa-mini { display: grid; gap: 8px; padding: 12px; border-radius: 18px; border: 1px solid var(--line); background: #EFE7DD radial-gradient(rgba(11, 94, 77, .08) 1.2px, transparent 1.5px) 0 0 / 16px 16px; }
  .wa-mini__k { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; color: #0B5E4D; }
  .wa-mini__k .i { width: 16px; height: 16px; }
  .wa-mini .wa__msg { justify-self: end; max-width: 100%; font-size: .88rem; }
  .wa-mini__sent { display: block; }
}

/* ---------- Steps ---------- */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s3; }
.steps3 li { counter-increment: s3; position: relative; padding: 24px; border-radius: var(--r3); background: #fff; border: 1px solid var(--line); }
.steps3 li::before { content: counter(s3, decimal-leading-zero); font-family: var(--mono); font-weight: 700; font-size: .84rem; color: var(--hot-deep); }
.steps3 b { display: block; font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 800; letter-spacing: -.03em; margin: 10px 0 6px; }
.steps3 p { color: var(--ink-2); font-size: .98rem; }
.steps3 .ico { position: absolute; right: 18px; top: 16px; width: 54px; height: 54px; color: var(--brand); }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; } }
.mini-bottle .cap { transform-box: fill-box; transform-origin: 50% 100%; }
.mini-bottle .pill { transform-box: fill-box; transform-origin: center; opacity: 0; }
.is-in .mini-bottle .cap { animation: mcap 2.8s 1s var(--ease-out) infinite; }
.is-in .mini-bottle .pill { animation: mpill 2.8s 1s var(--ease-out) infinite; }
.is-in .mini-bottle .pill--2 { animation-delay: 1.3s; }
@keyframes mcap { 0%, 100% { transform: none; } 18%, 70% { transform: translate(4px, -6px) rotate(22deg); } }
@keyframes mpill { 0%, 15% { opacity: 0; transform: translateY(8px); } 30%, 62% { opacity: 1; transform: translateY(-10px) rotate(-30deg); } 78%, 100% { opacity: 0; transform: translateY(8px); } }

/* ---------- Article cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards, .cards--2 { grid-template-columns: 1fr; } }
.card { --c: var(--brand); position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px; border-radius: var(--r3); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.card:hover { transform: translateY(-6px) !important; box-shadow: var(--shadow-lg); }
.card__ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); margin-bottom: 8px; }
.card__ic svg { width: 30px; height: 30px; }
.card:hover .card__ic svg { animation: wiggle .6s var(--ease-out); }
.card__k { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.card h3 { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
.card p { color: var(--ink-2); font-size: .98rem; flex: 1; }
.card__more { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; margin-top: 6px; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 700; color: var(--ink-3); }
.card__more .i { color: var(--c); transition: transform .25s var(--ease-out); }
.card:hover .card__more .i { transform: translateX(5px); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-wrap > div:first-child { position: sticky; top: calc(var(--hdr) + 24px); }
@media (max-width: 920px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap > div:first-child { position: static; } }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: box-shadow .25s ease, border-color .25s ease; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 22px; cursor: pointer; list-style: none; font-family: var(--f-display); font-size: var(--fs-h5); font-weight: 750; letter-spacing: -.02em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 34px; height: 34px; flex: none; border-radius: 50%; background: linear-gradient(var(--brand), var(--brand)) center / 14px 2.4px no-repeat, linear-gradient(var(--brand), var(--brand)) center / 2.4px 14px no-repeat, var(--brand-soft); transition: transform .35s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(135deg); background: linear-gradient(var(--hot-deep), var(--hot-deep)) center / 14px 2.4px no-repeat, linear-gradient(var(--hot-deep), var(--hot-deep)) center / 2.4px 14px no-repeat, var(--hot-soft); }
.faq .ans { padding: 0 22px 22px; color: var(--ink-2); max-width: 48em; }
.faq details[open] .ans { animation: inUp .45s var(--ease-out); }
.faq .ans ul { padding-left: 1.2em; list-style: disc; margin: 0 0 1em; }
.faq .ans li { margin-bottom: .3em; }
.faq .ans p + p { margin-top: .8em; }
.faq .ans a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > .eyebrow { margin-bottom: 18px; }
.faq-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-toc { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 4px; }
.faq-toc a { display: block; padding: 10px 14px; border-radius: 12px; font-weight: 700; color: var(--ink-2); }
.faq-toc a:hover { background: var(--mist); color: var(--brand); }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; } .faq-toc a { border: 1.5px solid var(--line-2); border-radius: 999px; padding: 6px 14px; font-size: .92rem; } }

/* ---------- Inner page hero ---------- */
.phero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--hdr) + clamp(28px, 4vw, 56px)) 0 clamp(40px, 5vw, 64px); }
.phero::before { content: ""; position: absolute; z-index: -1; width: 60vw; height: 60vw; right: -22vw; top: -30vw; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 10%, transparent), color-mix(in srgb, var(--brand) 0%, transparent)); }
.phero .h1 { max-width: 14em; }
.phero .lede { margin-top: 22px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--ink-3); font-weight: 700; margin-bottom: 18px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a:hover { color: var(--brand); }

/* ---------- Conditions page ---------- */
.cond { --soft: color-mix(in srgb, var(--c) 12%, #fff); display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px clamp(28px, 5vw, 72px); padding-block: 44px; border-top: 1px solid var(--line); align-items: start; }
.cond .sys__art { margin: 0; }
.cond__k { font-family: var(--mono); font-size: .84rem; font-weight: 700; color: var(--c); }
.cond h2 { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin: 6px 0 14px; }
.cond p { color: var(--ink-2); margin-bottom: 14px; max-width: 46em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tags li { padding: 7px 14px; border-radius: 999px; background: color-mix(in srgb, var(--c, var(--brand)) 9%, #fff); border: 1px solid color-mix(in srgb, var(--c, var(--brand)) 22%, #fff); font-size: .92rem; font-weight: 700; color: var(--ink); }
.cond__when { font-size: .97rem; padding: 14px 16px; border-radius: 14px; background: var(--mist); color: var(--ink-2); margin: 0; }
.cond__when b { color: var(--ink); }
.cond__when a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .cond { grid-template-columns: 1fr; padding-block: 32px; } }
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.svc li { --c: var(--brand); display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-weight: 700; }
.svc li:hover { transform: translateX(4px) !important; border-color: var(--c); }
.svc li::before { content: ""; width: 28px; height: 13px; border-radius: 999px; flex: none; background: linear-gradient(90deg, var(--c) 50%, #fff 50%); box-shadow: inset 0 0 0 1.5px var(--c); }
.svc li:nth-child(5n+2) { --c: var(--hot); }
.svc li:nth-child(5n+3) { --c: var(--m-gut); }
.svc li:nth-child(5n+4) { --c: var(--m-sugar); }
.svc li:nth-child(5n+5) { --c: var(--m-thyroid); }
@media (max-width: 720px) { .svc { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-hero .hero__visual { width: min(100%, 430px); }
@media (max-width: 920px) { .about-hero { grid-template-columns: 1fr; } }
.qf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
.qf div { padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.qf dt { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.qf dd { font-weight: 700; line-height: 1.35; }
.qf a { color: var(--brand); }
@media (max-width: 1000px) { .qf { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .qf { grid-template-columns: 1fr; } }
.prose p { color: var(--ink-2); font-size: 1.08rem; }
.prose p + p { margin-top: 1em; }
.prose p:first-child { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; color: var(--ink); }
.sticky-head { position: sticky; top: calc(var(--hdr) + 32px); }
@media (max-width: 920px) { .sticky-head { position: static; } }
.timeline { position: relative; display: grid; gap: 14px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: linear-gradient(var(--brand), var(--hot)); transform-origin: top; transform: scaleY(0); transition: transform 1.6s var(--ease-out); }
.timeline.is-in::after { transform: none; }
.timeline li { position: relative; padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 26px; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.timeline li.is-now::before { background: var(--hot); border-color: var(--hot); box-shadow: 0 0 0 5px var(--hot-soft); }
.timeline small { font-family: var(--mono); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hot-deep); }
.timeline b { display: block; font-family: var(--f-display); font-size: var(--fs-h5); font-weight: 800; letter-spacing: -.02em; margin: 2px 0 4px; }
.timeline span { color: var(--ink-2); font-size: .98rem; }
.pledge { display: grid; gap: 12px; }
.pledge li { display: flex; gap: 14px; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: var(--on-dark-2); }
.pledge .i { width: 24px; height: 24px; color: var(--on-dark-accent); margin-top: 2px; }
.pledge--light li { background: #fff; border-color: var(--line); color: var(--ink-2); }
.pledge--light .i { color: var(--ok); }

/* ---------- Advice: myth cards in their topic colour, flipped by a tap anywhere ---------- */
.mythbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; width: fit-content; max-width: 100%; margin-bottom: 22px; padding: 10px 12px 10px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.mythbar__count { font-weight: 700; color: var(--ink-2); }
.mythbar__count b { display: inline-block; min-width: 1ch; font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; line-height: 1; color: var(--brand); }
.mythbar.is-bump .mythbar__count b { animation: bump .45s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.45); } }
.mythbar__dots { display: flex; gap: 7px; }
.mythbar__dots li { width: 13px; height: 13px; border-radius: 50%; border: 2.5px solid var(--c); transition: background-color .3s ease, transform .4s var(--ease-out); }
.mythbar__dots li.is-on { background: var(--c); transform: scale(1.18); }
.mythbar__all { padding: 9px 16px; border-radius: 999px; font-weight: 800; font-size: .92rem; color: #fff; background: var(--brand); transition: background-color .2s ease, transform .2s var(--ease-out); }
.mythbar__all:hover { background: var(--brand-deep); }
.mythbar__all:active { transform: scale(.96); }
.mythbar.is-done { border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); }

.myths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .myths { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
  .myths { grid-template-columns: 1fr; }
  .mythbar { border-radius: 22px; padding: 12px 14px 12px 18px; }
  .myths .myth__in { min-height: 250px; }
}
.myth { --c: var(--brand); --c-deep: color-mix(in srgb, var(--c) 55%, #1F1416); --c-soft: color-mix(in srgb, var(--c) 13%, #fff); perspective: 1200px; cursor: pointer; }
.myth__in { position: relative; display: grid; min-height: 310px; transition: transform .7s var(--ease-out); transform-style: preserve-3d; }
.myth.is-flipped .myth__in { transform: rotateY(180deg); }
.myth__in:focus-visible { outline: 2.5px solid var(--c-deep); outline-offset: 4px; border-radius: var(--r3); }
.myth__face { position: relative; overflow: hidden; grid-area: 1 / 1; display: flex; flex-direction: column; gap: 16px; padding: 22px 22px 20px; border-radius: var(--r3); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.myth__face--m { background: #fff; border: 1.5px solid color-mix(in srgb, var(--c) 30%, var(--line)); box-shadow: 0 10px 26px -14px color-mix(in srgb, var(--c) 55%, transparent); }
.myth__face--m::before { content: ""; position: absolute; right: -54px; top: -54px; width: 180px; height: 180px; border-radius: 50%; background: var(--c-soft); }
.myth__face--f { background: var(--c-deep); color: #fff; transform: rotateY(180deg); box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--c) 70%, transparent); }
.myth__face--f::before { content: ""; position: absolute; right: -30px; bottom: -40px; width: 170px; height: 170px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, .07); }
.myth__top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.myth__ic { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; background: #fff; color: var(--c-deep); box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--c) 80%, transparent); }
.myth__ic svg { width: 30px; height: 30px; }
.myth__face--f .myth__ic { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }
.myth__tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 8px; border-radius: 9px; border: 2px solid currentColor; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c-deep); transform: rotate(-4deg); }
.myth__tag .i { width: 14px; height: 14px; }
.myth__face--f .myth__tag { color: #fff; transform: rotate(3deg); }
.myth__q { position: relative; flex: 1; font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.myth__face--f p { position: relative; flex: 1; color: rgba(255, 255, 255, .9); }
.myth__hint { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-weight: 800; font-size: .92rem; color: #fff; background: var(--c-deep); box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--c) 90%, transparent); transition: transform .25s var(--ease-out); }
.myth__face--f .myth__hint { background: rgba(255, 255, 255, .16); box-shadow: none; }
.myth__hint .i { transition: transform .4s var(--ease-out); }
@media (hover: hover) {
  .myth:not(.is-flipped):hover .myth__in { transform: rotateY(-12deg) translateY(-4px); }
  .myth.is-flipped:hover .myth__in { transform: rotateY(192deg) translateY(-4px); }
  .myth:hover .myth__hint { transform: translateX(4px); }
  .myth:hover .myth__hint .i { transform: rotate(180deg); }
}
/* a one-time wiggle when the cards first come into view, to show they turn */
.myths.is-nudge .myth:not(.is-flipped) .myth__in { animation: mythNudge 1s var(--ease-out) calc(var(--i) * .12s + .3s) both; }
@keyframes mythNudge { 35% { transform: rotateY(-22deg); } 70% { transform: rotateY(7deg); } 100% { transform: none; } }

/* ---------- Articles ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 980px) { .article { grid-template-columns: minmax(0, 1fr); } }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: .94rem; color: var(--ink-3); margin-top: 26px; }
.byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.byline b { color: var(--ink); }
.keypts { padding: 26px 28px; border-radius: var(--r3); background: var(--brand-soft); margin-bottom: 40px; }
.keypts h2 { font-family: var(--f) !important; font-size: .84rem !important; font-weight: 800; letter-spacing: .12em !important; text-transform: uppercase; color: var(--brand); margin: 0 0 12px !important; }
.keypts ul { padding-left: 1.1em; list-style: disc; }
.keypts li { margin-bottom: .45em; color: var(--ink); }
.keypts li::marker { color: var(--hot); }
.rich h2 { font-family: var(--f-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin: 48px 0 14px; }
.rich p, .rich li { color: var(--ink-2); }
.rich p { margin-bottom: 1em; }
.rich ul, .rich ol { padding-left: 1.2em; margin-bottom: 1.2em; }
.rich ul { list-style: disc; }
.rich ol { list-style: decimal; }
.rich li { margin-bottom: .45em; }
.rich li::marker { color: var(--brand); font-weight: 700; }
.rich strong { color: var(--ink); }
.rich table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.rich th, .rich td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.rich th { background: var(--mist); font-weight: 800; }
.rich a { color: var(--brand); font-weight: 700; }
.tablewrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); margin-bottom: 24px; }
.side { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 16px; }
.side__box { padding: 22px; border-radius: var(--r3); background: #fff; border: 1px solid var(--line); }
.side__box h2 { font-family: var(--f); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.side__box ul { display: grid; gap: 12px; }
.side__box a:not(.btn) { font-weight: 800; line-height: 1.3; display: block; }
.side__box a:not(.btn):hover { color: var(--brand); }
.side__box p { color: var(--ink-3); font-size: .94rem; margin-bottom: 14px; }
@media (max-width: 980px) { .side { position: static; } }
.author { display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: center; margin-top: 48px; padding: 22px; border-radius: var(--r3); background: var(--mist); }
.author img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.author b { font-family: var(--f-display); font-size: 1.2rem; font-weight: 800; }
.author p { margin: 2px 0 0 !important; font-size: .95rem; color: var(--ink-2); }
.disclaim { margin-top: 24px; font-size: .88rem; color: var(--ink-3) !important; }

/* ---------- Clinics ---------- */
.clinics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .clinics { grid-template-columns: 1fr; } }
.clinic { --c: var(--brand); display: flex; flex-direction: column; border-radius: var(--r3); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.clinic__body { padding: 26px 24px; flex: 1; border-top: 5px solid var(--c); }
.clinic__k { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.clinic h3 { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 800; letter-spacing: -.035em; margin: 6px 0 8px; line-height: 1.05; }
.clinic address { font-style: normal; color: var(--ink-2); margin-bottom: 16px; }
.clinic dl { display: grid; gap: 6px; margin-bottom: 18px; }
.clinic dl div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 6px; border-bottom: 1px dashed var(--line-2); }
.clinic dt { color: var(--ink-2); }
.clinic dd { font-family: var(--mono); font-weight: 700; font-size: .94rem; text-align: right; }
.map { position: relative; aspect-ratio: 16 / 8; background: var(--mist); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map button { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 8px; width: 100%; color: var(--ink-2); font-weight: 800; background-image: linear-gradient(color-mix(in srgb, var(--brand) 8%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--brand) 8%, transparent) 1px, transparent 1px); background-size: 28px 28px; }
.map button .i { width: 36px; height: 36px; color: var(--c); animation: bob 2.4s ease-in-out infinite; }
.map button small { font-weight: 400; color: var(--ink-3); font-size: .84rem; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: clamp(28px, 4vw, 56px); border-radius: 30px; background: var(--brand); color: #fff; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.cta > * { position: relative; }
.cta h2 { font-family: var(--f-display); font-size: var(--fs-h2); font-weight: 800; letter-spacing: -.045em; line-height: 1; max-width: 12em; }
.cta p { color: var(--on-dark-2); margin-top: 12px; }
.cta__num { display: block; font-family: var(--f-display); font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; margin-top: 12px; }

/* ---------- Footer ---------- */
.ftr { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding-top: clamp(56px, 7vw, 88px); }
.ftr__big { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ftr .ftr__name { color: #fff; font-family: var(--f-display); font-size: clamp(2.4rem, 1.4rem + 4vw, 5.2rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; }
.ftr .ftr__name span { display: block; font-size: max(.9rem, .26em); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-accent); margin-top: 16px; font-weight: 800; }
.ftr__grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr 1.1fr; gap: 40px; padding-block: 44px; }
.ftr h2 { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-accent); margin-bottom: 16px; font-family: var(--f); }
.ftr ul { display: grid; gap: 10px; }
.ftr a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ftr p, .ftr li { color: var(--on-dark-2); font-size: .97rem; }
.ftr li a { color: #fff; }
.ftr__reg { display: inline-block; margin-top: 14px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; font-size: .88rem; color: #fff; font-weight: 700; }
.ftr__hours li { display: flex; justify-content: space-between; gap: 12px; }
.ftr__hours span:last-child { color: #fff; font-family: var(--mono); font-size: .9rem; text-align: right; }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 22px 30px; border-top: 1px solid rgba(255, 255, 255, .12); }
.ftr__base p { margin: 0; max-width: 54em; color: var(--on-dark-3); font-size: .88rem; }
.ftr__base a { color: #fff; font-size: .9rem; font-weight: 700; }
.ftr__wm { position: absolute; right: -60px; top: -50px; width: 380px; height: 380px; opacity: .07; pointer-events: none; transform: rotate(-8deg); }
@media (max-width: 960px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr; } }

/* ---------- Mobile action bar ---------- */
.actbar { display: none; }
@media (max-width: 760px) {
  .actbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(var(--shade), .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 16px 40px -12px rgba(var(--shade), .6); transform: translateY(150%); transition: transform .45s var(--ease-out); }
  .actbar.is-on { transform: none; }
  .actbar .btn { --h: 48px; padding: 0 12px; }
  .ftr__base { padding-bottom: 110px; }
}

/* ---------- 404 ---------- */
.nf { min-height: 76vh; display: grid; place-items: center; text-align: center; padding-top: var(--hdr); }
.nf .h1 { margin-inline: auto; }
.nf .lede { margin: 20px auto 0; }

@keyframes vring { from { transform: scale(.35); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }

/* ---------- Loop cards: pills poured into a weekly box, tests that answer a question ---------- */
.loopcard { position: relative; border-radius: 30px; background: var(--mist); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.loopcard::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(color-mix(in srgb, var(--brand) 6%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--brand) 6%, transparent) 1px, transparent 1px); background-size: 32px 32px; }
.loopcard svg { position: relative; display: block; width: 100%; height: auto; }
.loopcard__cap { position: absolute; left: 18px; top: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: .8rem; font-weight: 800; color: var(--ink-2); box-shadow: var(--shadow); }
.loopcard__cap i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: blink 1.4s ease-in-out infinite; }
.loopcard text { font-family: var(--f); }
.loopcard .t-disp { font-family: var(--f-display); font-weight: 800; }
.goodcare { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
@media (max-width: 920px) { .goodcare { grid-template-columns: 1fr; } }
.ticks { display: grid; gap: 10px; margin-top: 26px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.ticks .i { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); flex: none; }
.ticks b { display: block; font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em; }
.ticks span { color: var(--ink-3); font-size: .95rem; }

/* ---------- Testimonials: three cards orbiting, the one in front in focus ---------- */
#reviews { overflow-x: hidden; overflow-x: clip; }
.orbit { position: relative; height: 430px; outline: none; }
.orbit__stage { position: absolute; inset: 0 0 64px; }
.tcard { position: absolute; left: 50%; top: 50%; width: min(440px, 88%); padding: 28px 28px 24px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translate(-50%, -50%); will-change: transform, filter, opacity; }
.tcard .gstars { margin-bottom: 12px; }
.tcard blockquote { font-family: var(--f-display); font-size: clamp(1.12rem, 1rem + .4vw, 1.3rem); font-weight: 650; letter-spacing: -.015em; line-height: 1.35; color: var(--ink); }
.tcard footer { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.tcard footer b { display: block; font-weight: 800; }
.tcard footer small { display: block; color: var(--ink-3); font-size: .86rem; }
.tcard__av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; flex: none; }
.orbit__nav { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; gap: 14px; }
.orbit__dots { display: flex; gap: 8px; }
.orbit__dots button { position: relative; width: 10px; height: 10px; border-radius: 999px; background: var(--line-2); transition: width .3s var(--ease-out), background-color .3s ease; }
.orbit__dots button[aria-current="true"] { width: 28px; background: var(--brand); }
.orbit__dots button::after { content: ""; position: absolute; inset: -10px -4px; }
@media (max-width: 560px) { .orbit { height: 470px; } .tcard { width: 82%; padding: 22px 20px 18px; } }

/* ---------- Tip from Dr Afzal (pops up on every page) ---------- */
.tip { position: fixed; left: 20px; bottom: 20px; z-index: 58; width: min(300px, calc(100vw - 40px)); padding: 14px 14px 10px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(calc(100% + 40px)); opacity: 0; transition: transform .7s var(--spring), opacity .3s ease; }
.tip.is-on { transform: none; opacity: 1; }
.tip::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--hot); }
.tip__k { display: flex; align-items: center; gap: 8px; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.tip__k .mark { width: 24px; height: 24px; }
.tip__q { font-family: var(--f-display); font-size: 1rem; font-weight: 750; line-height: 1.28; letter-spacing: -.02em; margin: 8px 0 3px; }
.tip__n { color: var(--ink-3); font-size: .84rem; line-height: 1.4; }
.tip__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.tip__row .tlink { font-size: .88rem; }
.tip__x { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; flex: none; }
.tip__x:hover { border-color: var(--ink); }
/* phones: a slim card in the corner, just the tip itself */
@media (max-width: 760px) {
  .tip { left: 12px; width: min(270px, calc(100vw - 24px)); padding: 11px 12px 8px 14px; bottom: calc(86px + env(safe-area-inset-bottom)); }
  .tip__k { font-size: .62rem; } .tip__k .mark { width: 20px; height: 20px; }
  .tip__q { font-size: .9rem; margin: 6px 0 0; }
  .tip__n { display: none; }
  .tip__row { margin-top: 6px; } .tip__row .tlink { font-size: .82rem; }
  .tip__x { width: 26px; height: 26px; }
}

/* ---------- Conditions page: a closer look, system by system ---------- */
.cbody { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.cindex { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 4px; }
.cindex a { --c: var(--brand); display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; font-weight: 700; color: var(--ink-2); transition: background-color .2s ease, color .2s ease; }
.cindex a i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.cindex a:hover, .cindex a.is-here { background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--ink); }
.csys { --soft: color-mix(in srgb, var(--c) 12%, #fff); padding-block: 8px 48px; scroll-margin-top: calc(var(--hdr) + 16px); }
.csys + .csys { padding-top: 44px; border-top: 1px solid var(--line); }
.csys__head { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px; align-items: center; margin-bottom: 22px; }
.csys__head .sys__art { margin: 0; }
.csys__k { font-family: var(--mono); font-size: .84rem; font-weight: 700; color: var(--c); }
.csys h2 { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin: 4px 0 8px; }
.csys__head p { color: var(--ink-2); }
.ctabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ctab { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 800; font-size: .95rem; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.ctab:hover { border-color: var(--c); }
.ctab[aria-selected="true"] { background: var(--c); border-color: var(--c); color: #fff; }
.cpanel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cpanel:not([hidden]) { animation: inUp .45s var(--ease-out); }
.cbox { padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.cbox h3 { display: flex; align-items: center; gap: 8px; font-family: var(--f); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c); margin-bottom: 10px; }
.cbox h3 .i { width: 18px; height: 18px; }
.cbox p { color: var(--ink-2); font-size: .98rem; line-height: 1.55; }
.cbox ul { display: flex; flex-wrap: wrap; gap: 6px; }
.cbox li { padding: 5px 11px; border-radius: 999px; background: var(--soft); font-size: .88rem; font-weight: 700; color: var(--ink); }
.cbox--warn { background: var(--hot-soft); border-color: color-mix(in srgb, var(--hot) 30%, transparent); }
@media (max-width: 980px) { .cbody { grid-template-columns: 1fr; } .cindex { position: static; display: flex; flex-wrap: wrap; gap: 6px; } .cindex a { border: 1.5px solid var(--line-2); border-radius: 999px; padding: 6px 12px; font-size: .9rem; } }
@media (max-width: 760px) { .cpanel { grid-template-columns: 1fr; } .csys__head { grid-template-columns: 1fr; } .csys__head .sys__art { max-width: 320px; } }
.tests { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 920px) { .tests { grid-template-columns: 1fr; } }
.proc { display: grid; gap: 12px; margin-top: 8px; }
.proc li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 8px 24px; padding: 20px 22px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.proc b { font-family: var(--f-display); font-size: var(--fs-h5); font-weight: 800; letter-spacing: -.02em; }
.proc span { color: var(--on-dark-2); font-size: .97rem; }
.proc small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-accent); margin-bottom: 4px; }
@media (max-width: 820px) { .proc li { grid-template-columns: 1fr; } }

/* ---------- About: in his own words ---------- */
.words { display: grid; gap: 16px; }
.words__lead { font-family: var(--f-display); font-size: clamp(1.55rem, 1.15rem + 1.5vw, 2.35rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.18; color: var(--ink); }
.words__lead em { font-style: normal; color: var(--brand); }
.words__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.words__card { padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.words__card h3 { display: flex; align-items: center; gap: 10px; font-family: var(--f); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.words__card h3 .i { width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: var(--brand-soft); }
.words__card p { font-size: 1.06rem; line-height: 1.65; color: var(--ink-2); }
.words__card--wide { grid-column: 1 / -1; background: var(--brand); border-color: var(--brand); }
.words__card--wide p { font-family: var(--f-display); font-size: clamp(1.2rem, 1rem + .7vw, 1.55rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.35; color: #fff; }
.words__card--wide h3 { color: var(--on-dark-accent); }
.words__card--wide h3 .i { background: rgba(255, 255, 255, .14); }
.words__sign { display: flex; align-items: center; gap: 14px; margin-top: 6px; color: var(--ink-3); font-weight: 700; }
.words__sign .mark { width: 40px; height: 40px; }
@media (max-width: 700px) { .words__grid { grid-template-columns: 1fr; } }
.svc--ic li::before { display: none; }
.svc--ic li { gap: 14px; }
.svc--ic li > svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; flex: none; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); transition: transform .3s var(--spring); }
.svc--ic li:hover > svg { transform: rotate(-8deg) scale(1.08); }

/* timeline draws itself as you scroll */
.timeline--scroll::after { transform: scaleY(var(--tl, 0)); transition: none; }
.js .timeline--scroll li { opacity: .35; transform: translateX(-12px); transition: opacity .5s ease, transform .5s var(--ease-out); }
.js .timeline--scroll li.is-on { opacity: 1; transform: none; }
.timeline--scroll li::before { transition: background-color .3s ease, box-shadow .3s ease, transform .4s var(--spring); }
.timeline--scroll li.is-on::before { background: var(--brand); transform: scale(1.15); box-shadow: 0 0 0 5px var(--brand-soft); }
.timeline--scroll li.is-now.is-on::before { background: var(--hot); box-shadow: 0 0 0 5px var(--hot-soft); }


.timing-line { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.timing-line span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); font-size: .94rem; font-weight: 700; color: var(--ink-2); }
.timing-line i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }


.loopcard .lp-brand { fill: var(--brand); }

/* ---------- Visit: one line, drawn by a pen as you scroll ---------- */
.visit5 [data-layer] path { fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.visit5 .v5-tip { fill: var(--brand); }
.visit5 .v5-glow { opacity: .14; }
@media (max-width: 900px) { .visit5 [data-layer] path { stroke-width: 3.2; } }

/* ---------- Appointments: both clinics in one box ---------- */
.clinicbox { background: #fff; border: 1px solid var(--line); border-radius: var(--r3); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-lg); }
.clinicbox__k { font-size: .84rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.clinicbox ul { display: grid; margin-top: 10px; }
.clinicbox li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.clinicbox li:last-child { border-bottom: 0; }
.clinicbox li > i { width: 12px; height: 12px; margin-top: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.clinicbox b { display: block; font-family: var(--f-display); font-size: var(--fs-h5); font-weight: 800; letter-spacing: -.02em; }
.clinicbox span { display: block; margin-top: 4px; color: var(--ink-2); font-size: .97rem; line-height: 1.5; }
.clinicbox li a { font-weight: 800; font-size: .9rem; color: var(--brand); white-space: nowrap; padding-top: 4px; }
.clinicbox__foot { margin-top: 6px; padding-top: 16px; border-top: 1px dashed var(--line-2); font-size: .94rem; color: var(--ink-3); }
.clinicbox__foot a { color: var(--brand); font-weight: 800; }
.loopcard [data-s="done"] { transform-box: fill-box; transform-origin: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-reveal-group] > *, .js .split-words .w > span, .hero-in { opacity: 1 !important; transform: none !important; }
  .hl path { stroke-dashoffset: 0; }
}

/* ---------- Older browsers without color-mix(): keep text readable ---------- */
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .myth__face--f { background: var(--c); }
  .myth { --c-soft: #fff; }
  .sys, .cond, .csys { --soft: var(--mist); }
}
