/* Ar-Roziy — MYDNA-style scroll story.
   Tokens: .design/build-brief-mydna.md. One neo-grotesk (Golos Text 400/500), white framed sheet,
   lavender for half-tones and markers, indigo only for the filled booking action, green only for live dots.
   Every enhanced state (pinning, active steps, muted timeline) is behind a class that site.js adds,
   so without JS or with reduced motion the page is complete and in order. */

:root {
  --bg: #EDEEF0;          /* frame around the sheet */
  --sheet: #FFFFFF;
  --soft: #F4F4F6;        /* cards, fields */
  --ink: #111217;
  --ink-2: #33353D;
  --muted: #8A8D95;       /* half-tone words — large text only (3.3:1) */
  --muted-2: #62656D;     /* small secondary text (5.8:1) */
  --fill-from: #C9CBD1;   /* word-fill start colour */
  --line: #E6E7EB;
  --lav: #2E9C7E;         /* large text, markers, dots */
  --lav-ink: #1F7562;     /* lavender at small sizes (5.0:1) */
  --lav-50: #EDF6F3;
  --indigo: #1F7562;      /* filled booking action, focus */
  --indigo-600: #185C4D;
  --green: #11A86A;       /* live dots only */
  --green-700: #0B7A4D;
  --red: #B42318;

  --frame: 24px;
  --gutter: clamp(20px, 3.3vw, 52px);
  --pad: calc(var(--frame) + var(--gutter));
  --bar-h: 88px;
  --bar-b: calc(var(--frame) + var(--bar-h));   /* bottom edge of the top bar */

  --r-sheet: 28px;
  --r-card: 24px;
  --r-media: 20px;

  --fs-mq: clamp(50px, 7.6vw, 120px);
  --fs-h1: clamp(40px, 4.4vw, 68px);
  --fs-h2: clamp(38px, 4.8vw, 76px);
  --fs-lead: clamp(23px, 2.35vw, 36px);
  --fs-body: 17px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgb(17 18 23 / .04), 0 24px 48px -28px rgb(17 18 23 / .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); overflow-x: clip; scrollbar-color: #C9CBD1 transparent; }
input, textarea { caret-color: var(--indigo); }
body {
  margin: 0; background: var(--sheet); color: var(--ink);
  font: 400 var(--fs-body)/1.55 "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-kerning: normal; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
/* 3D renders: <picture> only swaps the source (animated loop vs. reduced-motion still); layout belongs to the img */
picture { display: contents; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: #D3ECE3; color: var(--ink); }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lav { color: var(--lav); }
.half { color: var(--muted); }
.ulink { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .2em; text-decoration-thickness: 1px; transition: text-decoration-color .2s; }
.ulink:hover { text-decoration-color: currentColor; }

.wrap { padding-inline: max(var(--pad), calc((100% - 1560px) / 2)); }

.skip { position: fixed; left: 40px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; }
.skip:focus { top: 40px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- frame: the white sheet inside a grey margin (fixed, so content scrolls under it) ---------- */
.frame {
  position: fixed; inset: var(--frame); z-index: 40; pointer-events: none;
  border-radius: var(--r-sheet); box-shadow: 0 0 0 240px var(--bg);
}

/* ---------- buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border: 1px solid var(--ink); border-radius: 999px; background: transparent;
  font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.pill:hover { background: var(--ink); color: #fff; }
.pill svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
.pill-dark { background: var(--ink); color: #fff; }
.pill-dark:hover { background: #2B2D35; border-color: #2B2D35; }
.pill-sm { min-height: 44px; padding: 0 18px; font-size: 13px; }
.pill-glass { border-color: transparent; background: rgb(255 255 255 / .8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--ink); }
.pill-glass:hover { background: #fff; color: var(--ink); }
.pill-indigo { min-height: 56px; padding: 0 30px; background: var(--indigo); border-color: var(--indigo); color: #fff; }
.pill-indigo:hover { background: var(--indigo-600); border-color: var(--indigo-600); }
.pill-indigo:hover svg { transform: translateX(4px); }
.pill-indigo:disabled { opacity: .7; cursor: progress; }
.small-label { display: block; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--ink); }

/* ---------- top bar ---------- */
.bar {
  position: fixed; z-index: 45; top: var(--frame); left: var(--frame); right: var(--frame);
  height: var(--bar-h); padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  border-radius: var(--r-sheet) var(--r-sheet) 0 0; transition: background-color .3s;
}
/* solid state: a white, blurred layer that fades out below the bar instead of ending in a hard line */
.bar::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 -36px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgb(255 255 255 / .96) 0%, rgb(255 255 255 / .9) 58%, rgb(255 255 255 / 0) 100%);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  opacity: 0; transition: opacity .3s;
}
.bar.is-solid::before { opacity: 1; }
.bar-l, .bar-r { display: flex; align-items: center; }
.bar-l { gap: clamp(20px, 4.4vw, 72px); }
.bar-r { gap: 12px; }
.logo { display: inline-flex; min-height: 44px; align-items: center; }
.logo img { width: 190px; height: auto; }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 6px; border: 0; background: none; font-size: 15px; }
.menu-btn svg { width: 28px; height: 12px; stroke-width: 1.2; }
.menu-top .menu-btn svg { width: 22px; height: 22px; }
.icon-ring { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%; transition: background-color .2s, color .2s; }
.icon-ring:hover { background: var(--ink); color: #fff; }
.icon-ring svg { width: 18px; height: 18px; }
.lang { display: inline-grid; place-items: center; height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: .06em; }

/* ---------- full-sheet menu ---------- */
.menu {
  position: fixed; z-index: 60; inset: var(--frame); border-radius: var(--r-sheet); background: var(--sheet);
  display: flex; flex-direction: column; padding: 0 var(--gutter) var(--gutter); overflow-y: auto;
  opacity: 0; transform: translateY(-12px); transition: opacity .3s var(--ease), transform .45s var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; transform: none; }
.menu-top { height: var(--bar-h); flex: none; display: flex; align-items: center; justify-content: space-between; }
.menu-top img { width: 190px; height: auto; }
.menu-nav { display: flex; flex-direction: column; margin-top: clamp(16px, 5vh, 56px); }
.menu-nav a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(34px, 5vw, 76px); line-height: 1.02; letter-spacing: -.035em; transition: color .2s;
}
.menu-nav a:hover { color: var(--lav-ink); }
.menu-foot { margin-top: auto; padding-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: 15px; }
.menu-foot p { color: var(--muted-2); }

/* ---------- 1 · hero ---------- */
.hero { position: relative; min-height: max(620px, calc(100svh - 150px)); display: flex; }
.dna-host {
  position: absolute; z-index: 0; top: 0; left: 35%; width: min(46%, 860px); height: calc(100% + 260px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 97%); mask-image: linear-gradient(180deg, #000 72%, transparent 97%);
}
.dna-host > img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 0; }
.dna-host canvas { pointer-events: auto; }
.hero-in {
  position: relative; z-index: 1; width: 100%;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding-top: calc(var(--bar-b) + clamp(40px, 14vh, 150px)); padding-bottom: clamp(40px, 7vh, 72px);
}
.hero-copy { max-width: 640px; }
.h1 { margin: 0 0 26px; font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.035em; font-weight: 400; }
.hero-sub { max-width: 25em; margin-bottom: 44px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.scroll-cue { flex: none; }
.scroll-cue svg { width: 15px; height: 15px; }

.hero-card-wrap { position: relative; z-index: 3; }
.hero-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(20px, 3vw, 56px);
  padding: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 44px) clamp(36px, 4vw, 64px);
  border: 1px solid rgb(230 231 235 / .9); border-radius: var(--r-sheet);
  background: linear-gradient(180deg, rgb(248 248 250 / .82), rgb(255 255 255 / .6));
  -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
}
.hc-meta { margin-top: 10px; font-size: 14px; color: var(--muted-2); }
.hc-title { font-size: clamp(24px, 2.1vw, 32px); line-height: 1.12; letter-spacing: -.025em; font-weight: 400; max-width: 11em; }
.hc-text { font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 30em; padding-top: 4px; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; font-size: var(--fs-mq); line-height: 1.12; letter-spacing: -.045em; padding-block: .1em; user-select: none; }
.mq-track { display: inline-flex; will-change: transform; }
.mq-set { display: inline-flex; align-items: center; gap: .32em; padding-right: .32em; }
.mq-set b { font-weight: 400; font-size: .6em; color: var(--ink); }
.marquee-lav, .marquee-lav .mq-set b { color: var(--lav); }
.cp { display: inline-flex; width: .3em; height: .3em; align-self: flex-start; margin-top: .14em; font-style: normal; }
.cp svg { width: 100%; height: 100%; stroke-width: 1.1; }

/* ---------- 2 · mission ---------- */
.mission { padding-top: clamp(80px, 13vh, 160px); padding-bottom: clamp(88px, 14vh, 180px); }
.mission-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; margin-top: clamp(56px, 10vh, 120px); }
.fill-text { max-width: 17em; font-size: var(--fs-lead); line-height: 1.2; letter-spacing: -.025em; }
.fill-text .w { transition: none; }
.orbit-col { display: flex; flex-direction: column; gap: clamp(40px, 7vh, 80px); padding-left: 8%; }
.orbit { position: relative; width: min(360px, 100%); aspect-ratio: 1; margin-left: auto; }
.orbit-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit-ring circle { stroke: var(--line); stroke-width: .6; vector-effect: non-scaling-stroke; }
.orbit-mol { position: absolute; left: 50%; top: 50%; width: 64%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, #E4F3EE 0%, rgb(228 243 238 / 0) 70%); }
.orbit-mol img { width: 100%; height: 100%; object-fit: contain; }
.orbit-blob { position: absolute; width: 22%; aspect-ratio: 1; right: 6%; top: 4%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #ECECEF 70%); box-shadow: 0 10px 30px -10px rgb(17 18 23 / .18); }
.orbit-arm { position: absolute; inset: 0; transform: rotate(225deg); }
.orbit-dot {
  position: absolute; left: 50%; top: 0; width: 12px; height: 12px; border-radius: 50%;
  background: var(--lav); box-shadow: 0 0 0 6px rgb(46 156 126 / .18);
  translate: -50% -50%; transform: rotate(-225deg);
}
/* label sits outside the ring, left of the dot; the dot only travels the left arc (site.js) */
.orbit-label { position: absolute; right: 22px; top: -4px; width: 11em; text-align: right; font-size: 14px; line-height: 1.35; color: var(--ink); }

/* ---------- 3 · facts ---------- */
.facts { padding-bottom: clamp(96px, 15vh, 190px); }
.figures { display: flex; flex-wrap: wrap; gap: 32px clamp(48px, 9vw, 150px); }
.fig { min-width: 210px; display: flex; flex-direction: column; }
.fig-n { order: 0; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: clamp(72px, 8.4vw, 132px); line-height: .9; letter-spacing: -.055em; }
.fig dd { order: 1; margin-top: 18px; font-size: 16px; }
.facts-stage { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 3fr); gap: 32px; align-items: center; margin-top: clamp(48px, 9vh, 110px); }
.tile { position: relative; overflow: hidden; border-radius: var(--r-sheet); aspect-ratio: 1 / 1.08; background: radial-gradient(90% 80% at 30% 20%, #FBFDFC 0%, #E2F2EC 48%, #CBE6DB 100%); }
.tile img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.tile-b { aspect-ratio: 1; width: 78%; justify-self: end; align-self: start; background: radial-gradient(90% 80% at 60% 25%, #FBFCFC 0%, #E8EFED 55%, #D6E2DE 100%); }
.facts-line .lav { color: var(--lav-ink); }
.facts-line { text-align: center; font-size: clamp(22px, 2vw, 30px); line-height: 1.25; letter-spacing: -.02em; font-weight: 400; max-width: 12em; justify-self: center; }
img.is-missing { visibility: hidden; }

/* ---------- 4 · services ---------- */
.services { position: relative; }
.svc-stage { position: relative; padding-block: clamp(80px, 12vh, 140px); }
.svc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; position: relative; z-index: 2; }
.h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.04em; font-weight: 400; }
.svc-head .h2 { font-size: clamp(36px, 4.2vw, 64px); }
.svc-hint { max-width: 17em; font-size: 15px; color: var(--muted-2); padding-bottom: 6px; }
.services > .svc-stage > .marquee { margin-top: clamp(24px, 4vh, 48px); }
.svc-viewport { position: relative; z-index: 1; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.svc-viewport::-webkit-scrollbar { display: none; }
.svc-track { display: flex; gap: clamp(20px, 2.6vw, 40px); width: max-content; padding: 24px var(--pad) 32px; }
.svc {
  flex: none; width: clamp(262px, 22vw, 330px); padding: 12px; border-radius: var(--r-sheet); background: var(--soft);
  scroll-snap-align: start; scroll-margin-left: var(--pad); display: flex; flex-direction: column;
}
.svc-media { position: relative; overflow: hidden; border-radius: var(--r-media); aspect-ratio: 1 / .9; background: radial-gradient(90% 80% at 30% 20%, #FBFDFC 0%, #E2F2EC 50%, #C8E4D9 100%); }
.svc-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.svc-media.still { background: radial-gradient(90% 80% at 30% 20%, #FBFDFC 0%, #E2F2EC 50%, #C8E4D9 100%); }
.svc-media.s-rose { background: radial-gradient(90% 80% at 70% 20%, #FDFEFB 0%, #EEF4E6 50%, #DCE7CD 100%); }
.svc-media.s-mist { background: radial-gradient(90% 80% at 30% 30%, #FBFDFD 0%, #E4F0F1 55%, #CDE2E4 100%); }
.chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; background: rgb(255 255 255 / .9); font-size: 13px; font-weight: 500; }
.live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--green); opacity: .5; animation: live 2.4s var(--ease) infinite; }
@keyframes live { from { transform: scale(.6); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.svc-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 20px 10px 8px; }
.svc-body h3 { font-size: clamp(21px, 1.6vw, 25px); line-height: 1.15; letter-spacing: -.02em; font-weight: 400; }
.svc-body p { margin: 8px 0 20px; font-size: 15px; line-height: 1.45; color: var(--muted-2); }
.svc-body .pill { margin-top: auto; }
.svc-progress { display: none; }

/* pinned horizontal track (desktop, motion on) — class added by site.js */
.services.js-track .svc-stage { height: 100svh; min-height: 640px; display: flex; flex-direction: column; padding-top: calc(var(--bar-b) + clamp(8px, 3vh, 32px)); padding-bottom: calc(var(--frame) + 28px); overflow: hidden; }
.services.js-track .marquee { position: absolute; left: 0; right: 0; top: 58%; translate: 0 -50%; margin: 0; z-index: 0; }
.services.js-track .svc-viewport { flex: 1; overflow: visible; display: flex; align-items: center; scroll-snap-type: none; }
.services.js-track .svc-track { padding: 0 var(--pad) 0 54%; will-change: transform; }
.services.js-track .svc { box-shadow: var(--shadow); }
.services.js-track .svc-media { max-height: 31svh; aspect-ratio: auto; height: min(31svh, 290px); }
.services.js-track .svc-progress { display: block; position: relative; height: 1px; background: var(--line); margin-inline: max(var(--pad), calc((100% - 1560px) / 2)); padding: 0; }
.svc-progress span { position: absolute; inset: 0; background: var(--lav); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- 5 · tests timeline ---------- */
.tests { padding-block: clamp(88px, 13vh, 160px); }
.tests-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.tests-head .h2 { max-width: 11.5em; font-size: clamp(36px, 4.4vw, 70px); }
.tests-head .pill { flex: none; margin-top: 10px; }
.tests-mid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: clamp(28px, 5vh, 64px); }
.tests-plate { position: relative; overflow: hidden; aspect-ratio: 4 / 3; max-height: 30svh; border-radius: var(--r-card); background: radial-gradient(90% 80% at 30% 20%, #FBFDFC 0%, #E2F2EC 50%, #C8E4D9 100%); }
.plate { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
.plate.is-active { opacity: 1; }
.plate img { width: 100%; height: 100%; object-fit: contain; padding: 7%; }
.tests-lead { max-width: 21em; margin: 0 0 0 auto; width: 100%; font-size: clamp(24px, 2vw, 30px); line-height: 1.25; letter-spacing: -.02em; color: var(--muted); }
.tests-lead b { font-weight: 400; color: var(--ink); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin-top: clamp(56px, 9vh, 110px); --p: 1; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 7px; right: 0; top: 7px; height: 1px; background: var(--line); }
.timeline::after { background: var(--lav); right: auto; width: calc(100% - 7px); transform-origin: 0 50%; transform: scaleX(var(--p)); transition: transform .6s var(--ease); }
.timeline li { position: relative; z-index: 1; padding-right: 12px; }
.tl-dot { display: block; width: 15px; height: 15px; margin-bottom: 26px; border-radius: 50%; background: var(--lav); box-shadow: 0 0 0 7px rgb(46 156 126 / .2); transition: background-color .35s, box-shadow .35s; }
.timeline h3 { font-size: 17px; font-weight: 500; letter-spacing: -.01em; transition: color .35s; }
.tl-img { display: none; }
.timeline p { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--ink-2); transition: color .35s; max-width: 15em; }

/* active-step mode (desktop, motion on) */
.tests.js-tl { height: 100svh; min-height: 640px; padding-top: calc(var(--bar-b) + clamp(16px, 5vh, 56px)); padding-bottom: calc(var(--frame) + clamp(28px, 6vh, 64px)); display: flex; }
.tests.js-tl .tests-in { display: flex; flex-direction: column; width: 100%; }
.tests.js-tl .timeline { margin-top: auto; }
.tests.js-tl .tl-dot { background: #D6D7DC; box-shadow: 0 0 0 0 rgb(46 156 126 / 0); }
.tests.js-tl h3, .tests.js-tl .timeline p { color: var(--muted-2); }
.tests.js-tl .is-active .tl-dot { background: var(--lav); box-shadow: 0 0 0 7px rgb(46 156 126 / .22); }
.tests.js-tl .is-active h3, .tests.js-tl .is-active p { color: var(--ink); }

/* ---------- 6 · photo + glass ---------- */
.photo { padding-top: clamp(40px, 6vh, 80px); padding-bottom: clamp(160px, 22vh, 260px); }
.photo-in { position: relative; }
.photo-card { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-sheet); height: clamp(440px, 74svh, 760px); background: radial-gradient(70% 90% at 72% 45%, #CBE6DB 0%, #E5F3EE 38%, #F5FAF8 66%, #FFFFFF 100%); transform-origin: 50% 30%; }
/* big probe render, off-centre right */
.photo-img { position: absolute; right: 6%; top: 50%; height: 104%; width: auto; aspect-ratio: 1; translate: 0 -50%; object-fit: contain; }
.photo-pills { position: absolute; top: 24px; right: 24px; display: flex; gap: 10px; }
.glass {
  position: absolute; left: 24px; bottom: 24px; width: min(390px, calc(100% - 48px));
  padding: 24px 24px 20px; border-radius: var(--r-card);
  background: rgb(255 255 255 / .55); border: 1px solid rgb(255 255 255 / .7);
  -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .hero-card { background: rgb(255 255 255 / .94); }
  .pill-glass { background: #fff; }
}
.glass-t { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; letter-spacing: -.02em; font-weight: 400; }
.glass-s { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.glass-wave { display: block; width: 100%; height: auto; margin-top: 18px; overflow: visible; }
.wave-base { stroke: rgb(17 18 23 / .12); stroke-width: 1; }
.wave { stroke: var(--lav-ink); stroke-width: 1.6; }
.wave-dot { fill: #fff; stroke: var(--lav-ink); stroke-width: 2; }
.photo-small {
  position: absolute; z-index: 2; right: calc(max(var(--pad), calc((100% - 1560px) / 2)) + 5%); bottom: -120px;
  width: clamp(220px, 23vw, 350px); aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-card);
  border: 6px solid #fff; box-shadow: 0 30px 60px -30px rgb(17 18 23 / .4);
}
.photo-small { background: radial-gradient(90% 80% at 30% 20%, #FBFDFC 0%, #E2F2EC 50%, #C8E4D9 100%); }
.photo-small img { width: 100%; height: 100%; object-fit: contain; padding: 8% 8% 18%; }
/* real clinic footage (Instagram reels): fills the frame instead of floating like the 3D renders */
.photo-video { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.photo-small.is-photo img { object-fit: cover; padding: 0; }
.plate.plate-photo img { object-fit: cover; padding: 0; }
.photo-small figcaption { position: absolute; left: 12px; bottom: 12px; min-height: 36px; padding: 0 14px; pointer-events: none; }

/* ---------- 7 · advantages ---------- */
.adv { padding-bottom: clamp(96px, 15vh, 190px); }
.adv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.adv-head .small-label { padding-bottom: 12px; max-width: 16em; }
.adv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vh, 64px); }
.adv-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: clamp(380px, 50svh, 470px); padding: clamp(24px, 2.4vw, 36px) clamp(24px, 2.4vw, 36px) 0; border-radius: var(--r-card); background: var(--soft); }
.adv-card h3 { max-width: 10em; margin-top: clamp(24px, 6vh, 64px); font-size: clamp(24px, 2vw, 30px); line-height: 1.12; letter-spacing: -.025em; font-weight: 400; }
.adv-card p { max-width: 21em; margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--muted-2); }
/* MYDNA crop: only the upper ~60% of the numeral shows above the card's bottom edge */
.adv-n { display: block; margin-top: auto; padding-top: 24px; margin-bottom: -.24em; font-size: clamp(120px, 12vw, 190px); line-height: .78; letter-spacing: -.07em; }
.adv-n span { display: inline-block; }

/* ---------- 8 · visit stepper ---------- */
.visit { padding-top: clamp(40px, 6vh, 80px); padding-bottom: clamp(96px, 14vh, 180px); }
.visit-in { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 40px; margin-top: clamp(48px, 8vh, 96px); }
.visit-side { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.ask { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.35; min-height: 44px; }
.ask-ic { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #9AD3C0, var(--lav)); color: #fff; }
.ask-ic svg { width: 20px; height: 20px; }
.ask .num { color: var(--muted-2); }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
.step-t { display: flex; align-items: baseline; gap: 12px; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -.03em; }
.step-n { font-size: 14px; letter-spacing: 0; color: var(--lav-ink); font-variant-numeric: tabular-nums; }
.step-fig { margin-top: 18px; }
.step-fig figcaption { font-size: 15px; color: var(--ink-2); margin-bottom: 14px; max-width: 22em; }
.step-plate { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-media); background: radial-gradient(90% 80% at 30% 20%, #FBFDFC 0%, #E2F2EC 50%, #C8E4D9 100%); }
.step-plate img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }

/* pinned stepper (desktop, motion on) */
.visit.js-stepper { height: 100svh; min-height: 680px; display: flex; flex-direction: column; padding-top: calc(var(--bar-b) + 8px); padding-bottom: calc(var(--frame) + 32px); }
.visit.js-stepper .visit-in { position: relative; flex: 1; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); margin-top: clamp(16px, 4vh, 48px); }
.visit.js-stepper .visit-side { grid-column: 1; }
.visit.js-stepper .steps { grid-column: 2; display: flex; flex-direction: column; align-self: center; gap: 0; }
.visit.js-stepper .step { height: 46px; display: flex; align-items: center; justify-content: flex-end; transition: height .6s var(--ease); }
.visit.js-stepper .step.is-active { height: clamp(96px, 14vh, 130px); }
.visit.js-stepper .step-t { justify-content: flex-end; font-size: clamp(48px, 5vw, 80px); line-height: 1; letter-spacing: -.045em; color: var(--muted-2); transform: scale(.3); transform-origin: 100% 50%; white-space: nowrap; transition: transform .6s var(--ease), color .4s; }
.visit.js-stepper .step.is-active .step-t { transform: none; color: var(--ink); }
.visit.js-stepper .step-n { font-size: .3em; align-self: flex-start; }
.visit.js-stepper .step-fig { position: absolute; right: max(var(--pad), calc((100% - 1560px) / 2)); top: 50%; width: 36%; margin: 0; translate: 0 -50%; opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; }
.visit.js-stepper .step.is-active .step-fig { opacity: 1; transform: none; }
.visit.js-stepper .step-fig::before { content: ""; position: absolute; z-index: -1; left: 4%; right: -3%; bottom: -12px; height: 60%; border-radius: var(--r-card); background: #EAF2EF; }
.visit.js-stepper .step-plate { aspect-ratio: 16 / 11; max-height: 46svh; }

/* ---------- 9 · FAQ ---------- */
.faq { padding-bottom: clamp(96px, 15vh, 190px); }
.faq-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.faq-in .h2 { font-size: clamp(36px, 4vw, 62px); max-width: 8em; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding: 26px 0; cursor: pointer; list-style: none; font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -.015em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover .plus { border-color: var(--ink); }
.plus { position: relative; flex: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; transition: transform .45s var(--ease), border-color .2s, background-color .2s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; border-radius: 2px; }
.plus::after { transform: rotate(90deg); }
details.is-open .plus, details[open]:not(.js-acc) .plus { transform: rotate(45deg); background: var(--lav-50); border-color: var(--lav-50); }
.faq-a { overflow: hidden; }
.faq-a p { max-width: 38em; padding-bottom: 28px; font-size: 17px; color: var(--muted-2); }

/* ---------- 10 · finale ---------- */
.fin-stage { position: relative; display: grid; place-items: center; height: 100svh; min-height: 560px; overflow: hidden; padding-inline: var(--frame); }
.fin-word { position: relative; z-index: 1; font-size: clamp(50px, 12.6vw, 204px); line-height: .9; letter-spacing: -.055em; font-weight: 400; text-transform: uppercase; white-space: nowrap; }
.fin-card {
  position: absolute; left: 50%; top: 50%; z-index: 2; translate: -50% -50%; transform: rotate(-3deg);
  display: grid; gap: 6px; width: clamp(286px, 27vw, 400px); padding: 26px 28px; border-radius: 20px;
  background: linear-gradient(140deg, #2A8A71 0%, #1A5E4F 100%); color: #fff;
  font-size: 16px; line-height: 1.4; letter-spacing: .01em;
  box-shadow: 0 50px 90px -40px rgb(31 117 98 / .6), inset 0 1px 0 rgb(255 255 255 / .25);
}
.fin-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(120% 90% at 15% 0%, rgb(255 255 255 / .22), transparent 55%); pointer-events: none; }
.fin-card a { position: relative; display: block; padding-block: 6px; text-decoration: underline; text-decoration-color: rgb(255 255 255 / .35); text-underline-offset: .22em; }
.fin-card a:hover { text-decoration-color: #fff; }
.fin-card p { position: relative; margin-top: 6px; }
.fin-note { font-size: 14px; }
.fin-card :focus-visible { outline-color: #fff; }

.book { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); padding-block: clamp(72px, 11vh, 140px); scroll-margin-top: 40px; }
.h2-sm { font-size: clamp(34px, 3.6vw, 56px); max-width: 10em; }
.book-lead { margin-top: 20px; max-width: 24em; font-size: 18px; color: var(--muted-2); }
.quick { margin-top: 40px; border-top: 1px solid var(--line); }
.quick a { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0; min-height: 44px; border-bottom: 1px solid var(--line); font-size: 17px; transition: color .2s; }
.quick a span + span { color: var(--muted-2); }
.quick a:hover, .quick a:hover span + span { color: var(--lav-ink); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; align-content: start; }
.field.full, .status, .form-end { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.field small { font-weight: 400; color: var(--muted-2); font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 56px; padding: 0 18px; border: 1px solid transparent; border-radius: 16px; background: var(--soft);
  font-size: 17px; outline: none; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { padding: 16px 18px; resize: vertical; min-height: 112px; }
.field input::placeholder, .field textarea::placeholder { color: #8A8D95; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { background: #fff; border-color: var(--indigo); box-shadow: 0 0 0 4px rgb(31 117 98 / .14); }
.field [aria-invalid="true"] { border-color: var(--red); background: #fff; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer; }
.select svg { position: absolute; right: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; pointer-events: none; }
.err { min-height: 22px; margin-top: 6px; font-size: 14px; color: var(--red); }
.status { font-size: 16px; }
.status:empty { display: none; }
.status.ok { color: var(--green-700); padding: 14px 18px; border-radius: 16px; background: #EAF7F1; }
.status.bad { color: var(--red); padding: 14px 18px; border-radius: 16px; background: #FDEEEC; }
.form-end { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 8px; }
.form-end small { font-size: 14px; color: var(--muted-2); max-width: 22em; }

.map-wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 16px; padding-bottom: clamp(80px, 12vh, 140px); }
.map { overflow: hidden; height: clamp(320px, 46svh, 460px); border-radius: var(--r-card); background: var(--soft); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-info { display: flex; flex-direction: column; gap: 24px; padding: 28px; border-radius: var(--r-card); background: var(--soft); font-size: 17px; }
.map-info .small-label { margin-bottom: 6px; font-size: 14px; color: var(--muted-2); }
.map-info .pill { margin-top: auto; align-self: flex-start; }

/* ---------- footer ---------- */
.foot { padding-bottom: calc(var(--frame) + 32px); }
.foot > .wrap > * { border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr)); gap: 40px; padding-top: 56px; }
.foot-brand img { width: 220px; height: auto; }
.foot-brand p { margin-top: 18px; max-width: 18em; color: var(--ink-2); }
.foot .small-label { margin-bottom: 14px; font-size: 14px; color: var(--muted-2); }
.foot ul { display: grid; gap: 4px; }
.foot ul a { display: inline-flex; align-items: center; min-height: 44px; transition: color .2s; }
.foot ul a:hover { color: var(--lav-ink); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 56px; padding-top: 24px; font-size: 14px; color: var(--muted-2); }
.foot-credit { color: var(--ink); text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .2s; }
.foot-credit { display: inline-flex; align-items: center; min-height: 44px; }
.foot-credit:hover { color: var(--indigo); }

.call-fab { display: none; }

/* ---------- tablet / phone ---------- */
@media (max-width: 1100px) {
  .timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --frame: 0px; --bar-h: 68px; --gutter: 20px; --fs-lead: clamp(23px, 6vw, 30px); }
  .frame { display: none; }
  /* phones: the bar is always over content, so the soft fade layer is always on (no hard line) */
  .bar { border-radius: 0; }
  .bar::before { opacity: 1; }
  .bar-l { gap: 12px; }
  .logo img { width: 150px; }
  .menu-top img { width: 150px; }
  /* phones: icon-only menu button (label stays for screen readers) so the lockup fits at 360px */
  #menu-open { width: 44px; justify-content: center; padding: 0; }
  #menu-open .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu { border-radius: 0; }

  .hero { flex-direction: column; min-height: 0; }
  .hero-in { padding-top: calc(var(--bar-h) + 44px); padding-bottom: 8px; }
  .hero-copy { max-width: 34em; }
  .scroll-cue { display: none; }
  .dna-host { position: relative; order: 2; left: auto; top: auto; width: 100%; height: 60svh; min-height: 380px; }
  /* in flow on phones: fade both ends so the helix has no hard top or bottom edge */
  .dna-host { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%); }
  .hero-card-wrap { margin-top: -96px; }
  .hero-card { grid-template-columns: 1fr; gap: 16px; }

  .mission-in { grid-template-columns: 1fr; }
  .orbit-col { padding-left: 0; gap: 24px; }
  .orbit { width: min(210px, 56%); }

  .facts-stage { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .facts-line { grid-column: 1 / -1; order: -1; text-align: left; justify-self: start; }
  .tile-b { width: 100%; align-self: end; }

  .svc-head { flex-direction: column; align-items: flex-start; gap: 16px; }

  .tests-head { flex-direction: column; }
  .tests-head .pill { margin-top: 0; }
  .tests-mid { grid-template-columns: 1fr; margin-top: 32px; }
  .tests-plate { display: none; }
  .tests-lead { margin-left: 0; }
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .timeline::after { display: none; }
  .timeline li { display: grid; grid-template-columns: 15px 1fr; column-gap: 22px; padding-right: 0; }
  .tl-dot { grid-row: 1 / 4; margin: 3px 0 0; }
  /* phones have no plate panel: each step carries its own still */
  .tl-img { display: block; grid-column: 2; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 14px; border-radius: var(--r-media); }

  .photo { padding-bottom: clamp(80px, 12vh, 140px); }
  .photo-card { height: clamp(460px, 78svh, 640px); }
  .photo-img { right: 50%; top: 34%; height: 56%; translate: 50% -50%; }
  .photo-pills { top: 16px; right: 16px; left: 16px; flex-wrap: wrap; justify-content: flex-end; }
  .glass { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 20px; }
  .photo-small { position: relative; right: auto; bottom: auto; width: 72%; margin: 16px 0 0 auto; border-width: 0; }

  .adv-head { flex-direction: column-reverse; align-items: flex-start; gap: 12px; }
  .adv-grid { grid-template-columns: 1fr; }
  .adv-card { min-height: 300px; }

  .visit-in { grid-template-columns: 1fr; }
  .visit-side { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .steps { grid-template-columns: 1fr; gap: 40px; }

  .faq-in { grid-template-columns: 1fr; gap: 32px; }

  .fin-stage { height: auto; min-height: 0; }
  .fin-stage { padding-block: 96px 72px; }
  .fin-card { position: relative; left: auto; top: auto; translate: none; width: min(320px, calc(100% - 8px)); margin-top: 16px; padding: 22px; }

  .book { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .map-wrap { grid-template-columns: 1fr; }
  .map { height: 320px; }

  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot { padding-bottom: 96px; }

  .call-fab {
    display: grid; place-items: center; position: fixed; z-index: 45; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
    width: 58px; height: 58px; border-radius: 50%; background: var(--indigo); color: #fff;
    box-shadow: 0 14px 30px -12px rgb(31 117 98 / .7); transition: opacity .3s, transform .3s var(--ease);
  }
  .call-fab svg { width: 22px; height: 22px; }
  .call-fab.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
}

@media (max-width: 400px) {
  .lang { display: none; }
  .bar-r { gap: 8px; }
}

@media (max-width: 520px) {
  .h1 { font-size: min(40px, 10.6vw); }
  .hero-card { padding: 24px 22px 32px; }
  .figures { gap: 28px; }
  .fig { min-width: 0; flex: 1 1 40%; }
  .fig-n { font-size: clamp(48px, 14vw, 80px); }
  .foot-top { grid-template-columns: 1fr; }
  .form-end .pill-indigo { width: 100%; }
  .photo-pills .pill:first-child { display: none; }
}

/* Reduced motion on wide screens: services as a readable grid instead of a scroller */
@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
  .svc-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); width: auto; }
  .svc { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* 3D renders: gentle float + sway so the stills feel alive (off for reduced motion) */
@keyframes r3d-float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-3.5%) rotate(2.5deg); } }
.r3d { animation: r3d-float 6.5s ease-in-out infinite; will-change: transform; }
.r3d:nth-of-type(odd) { animation-duration: 7.8s; animation-delay: -2s; }
@media (prefers-reduced-motion: reduce) { .r3d { animation: none; } }

/* Fluent 3D icons are 256px: never upscale them past their native size */
.svc-media img, .plate img, .tile img { padding: max(8%, calc(50% - 118px)); }
.photo-img { height: min(66%, 260px); }
.photo-img-2 { right: calc(6% + min(24%, 250px)); }
/* advantages: the whole numeral, sitting at the bottom-left inside the card */
.adv-card { padding-bottom: clamp(24px, 2.4vw, 36px); }
.adv-n { margin-bottom: 0; padding-top: 32px; font-size: clamp(80px, 7.4vw, 120px); line-height: .9; letter-spacing: -.05em; }
@media (max-width: 900px) {
  .photo-img { right: 27%; height: min(40%, 200px); }
  .photo-img-2 { right: 73%; }
  .adv-n { font-size: 84px; }
}

/* UZ / RU switch: two equal cells, a black thumb slides under the active one */
.lang-sw { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center; height: 44px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--sheet); isolation: isolate; }
.lang-sw::before { content: ""; position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--ink); box-shadow: 0 2px 6px -2px rgb(17 18 23 / .35); transition: transform .45s cubic-bezier(.34, 1.36, .5, 1); }
.lang-sw[data-active="ru"]::before { transform: translateX(100%); }
.lang-sw a { display: grid; place-items: center; width: 40px; height: 100%; border-radius: 999px; font-size: 12.5px; font-weight: 500; letter-spacing: .08em; line-height: 1; color: var(--muted-2); transition: color .3s var(--ease); }
.lang-sw a:hover { color: var(--ink); }
.lang-sw a[aria-current="true"] { color: #fff; }
.lang-sw a:focus-visible { outline-offset: 1px; }
.lang-sw-menu { justify-self: start; align-self: flex-start; }
@media (prefers-reduced-motion: reduce) { .lang-sw::before, .lang-sw a { transition: none; } }
/* Russian lines run ~25% longer: keep the headline to two lines without pushing into the helix */
html[lang="ru"] .h1 { font-size: clamp(34px, 3.55vw, 56px); }
html[lang="ru"] .hero-copy { max-width: 660px; }
