/* =========================================================
   Private Medical · v3
   Shared by both sites: Sonography (prototype/) and Suites (suites/, copied by the build).
   One typeface (Josefin Sans), platinum greys, slats only in the hero.
   Reading rules after Apple: large body copy, near-black text,
   grey only for secondary information.
   ========================================================= */

:root {
  --f: 'Josefin Sans', system-ui, -apple-system, sans-serif;

  /* platinum palette */
  --white: #ffffff;
  --grey: #f5f5f7;
  --ink: #1d1d1f;
  --ink-1: #3a3a3c;      /* body copy that is not the main line */
  --ink-2: #6e6e73;      /* secondary information only */
  --ink-3: #86868b;
  --line: #d2d2d7;
  --black: #000000;
  --graphite: #161617;
  --on-dark: #f5f5f7;
  --on-dark-2: #a1a1a6;
  --platinum: #c9cdd3;
  --platinum-hi: #e7e9ec;
  --wall: #0d0e10;
  --wood: #3b3128;   /* Kouřový dub */
  --btn: #1d1d1f;
  /* hero sign settings (chosen in the prototype panel) */
  --sign-scale: 1.35;
  --sono-scale: .85;
  --slat-count: 40;   /* slats across a 1100 px+ wide screen; phones show proportionally fewer */
  --slat-gap-n: 4;    /* groove between slats, px */
  --pm-weight: 300;
  --sign-shadow: 1;
  --slogan-scale: 1;
  --slogan-alpha: .82;
  --btn-hover: #3a3a3c;
  --btn-ink: #ffffff;
  --chip: #e8e8ed;

  --w: 1180px;
  --w-text: 860px;
  --w-wide: 1400px;
  --gutter: clamp(24px, 6vw, 48px); /* phones: 24 px, the margin Apple uses (87.5 % content width) */
  --nav-h: 52px;
  --r-lg: 28px;
  --r-md: 20px;
  --ease: cubic-bezier(.25, .1, .25, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, .display, .title, .lede, .page-lede, .sh-title, .dd-name, .dd-quote, .b-name, .g-name, .x-name { text-wrap: balance; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #0071e3; outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section, footer { scroll-margin-top: var(--nav-h); }

.w { width: 100%; max-width: calc(var(--w) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.w-text { max-width: calc(var(--w-text) + var(--gutter) * 2); }
.w-wide { max-width: calc(var(--w-wide) + var(--gutter) * 2); }
.center { text-align: center; }
.nw { white-space: nowrap; }

.tone-grey { background: var(--grey); }
.tone-dark { background: var(--black); color: var(--on-dark); }

/* ---------- Type ---------- */
/* each sentence on its own line(s), balanced, so no word is left alone on a phone */
.display .ln { display: block; text-wrap: balance; }
.display {
  font-weight: 500;
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 1.06;
  letter-spacing: -.012em;
}
.title {
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.lede {
  font-size: clamp(20px, 1.8vw, 25px);
  line-height: 1.42;
  color: var(--ink);
  max-width: 700px;
  margin: 26px auto 0;
}
.tone-dark .lede { color: var(--on-dark); }
.kicker {
  font-size: 13px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--platinum); margin-bottom: 18px;
}
.fine { font-size: 15px; color: var(--ink-2); margin-top: 28px; }

/* links with chevron, Apple-like */
.links { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; align-items: center; margin-top: 30px; }
.lnk {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0;
  font-size: 20px; color: var(--ink);
}
.lnk::after { content: '›'; font-size: 1.15em; line-height: 1; transform: translateY(-.06em); transition: transform .3s var(--ease); }
.lnk:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lnk:hover::after { transform: translate(3px, -.06em); }
.tone-dark .lnk { color: var(--on-dark); }
.lnk-sm { font-size: inherit; }

/* pill buttons */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 3px 26px 0;
  border-radius: 999px; border: 1px solid var(--btn);
  background: var(--btn); color: var(--btn-ink);
  font-size: 17px; letter-spacing: .02em;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.pill:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.pill-sm { height: 32px; padding: 2px 16px 0; font-size: 14px; letter-spacing: .03em; }
.pill-ghost { background: transparent; color: var(--btn); }
.pill-ghost:hover { background: var(--btn); color: var(--btn-ink); }
.pill-light { background: var(--platinum-hi); border-color: var(--platinum-hi); color: var(--black); }
.pill-light:hover { background: var(--white); border-color: var(--white); }
.pill[disabled] { opacity: .3; cursor: default; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  background: color-mix(in srgb, var(--white) 80%, transparent);
  -webkit-backdrop-filter: saturate(170%) blur(14px); backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  color: var(--ink);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.nav.is-dark { background: color-mix(in srgb, var(--wall) 20%, transparent); border-bottom-color: transparent; color: var(--on-dark); }
.nav.is-dark.is-scrolled { background: color-mix(in srgb, var(--wall) 72%, transparent); }
.nav-in { height: 100%; max-width: calc(var(--w) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1; padding-top: 3px; }
.logo-pm { font-size: 13px; font-weight: 400; letter-spacing: .3em; margin-right: -.3em; text-transform: uppercase; white-space: nowrap; }
.logo-sub { font-size: 10px; font-weight: 500; letter-spacing: .38em; margin-right: -.38em; text-transform: uppercase; opacity: .7; margin-top: 4px; }
.nav-links { display: flex; gap: clamp(22px, 3vw, 40px); }
.nav-links a { font-size: 14px; letter-spacing: .04em; opacity: .82; padding-top: 2px; transition: opacity .3s; }
.nav-links a:hover { opacity: 1; }
.nav-end { display: flex; align-items: center; gap: 16px; }
.nav.is-dark .pill { background: var(--platinum-hi); border-color: var(--platinum-hi); color: var(--black); }
.nav.is-dark .pill:hover { background: var(--white); }
.nav-phone { display: inline; font-size: 14px; letter-spacing: .04em; padding-top: 2px; opacity: .9; }
.nav-phone:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.nav-call { display: none; width: 32px; height: 32px; place-items: center; }
.nav-call svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.nav-menu { display: none; position: relative; width: 32px; height: 32px; background: none; border: 0; padding: 0; }
.nav-menu span { position: absolute; left: 7px; right: 7px; height: 1.2px; background: currentColor; transition: transform .4s var(--ease); }
.nav-menu span:first-child { top: 12px; }
.nav-menu span:last-child { top: 19px; }
html.menu-open .nav-menu span:first-child { transform: translateY(3.5px) rotate(45deg); }
html.menu-open .nav-menu span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav.is-light-page { color: var(--ink); }

/* ---------- Hero: the slat wall (only place with slats) ---------- */
.hero {
  position: relative; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 560px;
  display: grid; place-items: center;
  background: var(--wood, var(--wall)); color: var(--on-dark);
}
.hero-wall {
  position: absolute; inset: 0;
  --slat-w: calc(max(100vw, 1100px) / var(--slat-count));
  --slat-gap: min(calc(var(--slat-gap-n) * 1px), calc(var(--slat-w) * .45));
  background-color: var(--wood, var(--wall));
  background-image:
    radial-gradient(ellipse 60% 46% at 50% 46%, rgba(255,255,255,.07), transparent 72%),
    radial-gradient(ellipse 90% 80% at 50% 50%, transparent 40%, rgba(0,0,0,.72) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='420' height='420'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9 0.006' numOctaves='3' seed='3'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  .1 0 0 0 -.04'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='380' height='380'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.6 0.01' numOctaves='2' seed='11'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  .42 0 0 0 -.13'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    repeating-linear-gradient(90deg,
      rgba(255,255,255,.016) 0, rgba(255,255,255,.016) calc(var(--slat-w) * 2),
      rgba(0,0,0,0) calc(var(--slat-w) * 2), rgba(0,0,0,0) calc(var(--slat-w) * 3),
      rgba(0,0,0,.08) calc(var(--slat-w) * 3), rgba(0,0,0,.08) calc(var(--slat-w) * 5)),
    repeating-linear-gradient(90deg,
      rgba(0,0,0,.92) 0, rgba(0,0,0,.92) var(--slat-gap),
      rgba(255,255,255,.15) var(--slat-gap), rgba(255,255,255,.06) calc(var(--slat-gap) + 1.5px),
      rgba(255,255,255,.04) calc(var(--slat-w) * .3),
      rgba(255,255,255,.01) calc(var(--slat-w) * .6),
      rgba(0,0,0,.3) calc(var(--slat-w) - 2.5px),
      rgba(0,0,0,.75) calc(var(--slat-w) - .5px),
      rgba(0,0,0,.92) var(--slat-w));
  background-size: 100% 100%, 100% 100%, 420px 420px, 380px 380px, auto, auto;
}
.hero-sign {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 0 var(--gutter);
  /* one size drives the whole sign: caps, Sono and the slogan stay in proportion */
  --sign-fs: min(calc(clamp(17px, 3.3vw, 44px) * var(--sign-scale)), calc((100vw - 2 * var(--gutter)) / 14.2));
}
/* sign size = base × --sign-scale, never wider than the screen (the caps line is ~14.2em wide) */
.sign { position: relative; display: inline-block; font-size: var(--sign-fs); line-height: 1; margin-bottom: calc(.3em + 1.85em * var(--sono-scale)); } /* room for Sonography, scales with both sizes */
.sign-pm {
  display: block; white-space: nowrap;
  font-weight: var(--pm-weight); text-transform: uppercase;
  letter-spacing: .32em; margin-right: -.32em;
  color: #eef0f2;
  text-shadow:
    0 1px 0 rgba(255,255,255, calc(.16 * min(var(--sign-shadow), 1))),
    0 calc(2px * var(--sign-shadow)) calc(2px * var(--sign-shadow)) rgba(0,0,0, calc(.6 * min(var(--sign-shadow), 1.4))),
    0 calc(7px * var(--sign-shadow)) calc(16px * var(--sign-shadow)) rgba(0,0,0, calc(.5 * min(var(--sign-shadow), 1.6)));
}
/* the shadow is switched on after the writing has finished: filters re-render on every frame and made it stutter */
.sign-sono-font { filter: none; transition: filter .8s var(--ease); }
.hero-sign.is-inked .sign-sono-font {
  filter: drop-shadow(0 calc(1px * var(--sign-shadow)) calc(1px * var(--sign-shadow)) rgba(0,0,0, calc(.7 * min(var(--sign-shadow), 1.3))))
          drop-shadow(0 calc(4px * var(--sign-shadow)) calc(8px * var(--sign-shadow)) rgba(0,0,0, calc(.45 * min(var(--sign-shadow), 1.6))));
}
/* "Sonography": Allura text, revealed by a mask; reaches past the end of MEDICAL like the script on the reference sign */
.sign-sono-font { position: absolute; right: -1.15em; top: 1.05em; height: calc(1.75em * var(--sono-scale)); width: auto; overflow: visible; }
.sign-sono-font text { font-family: 'Allura', cursive; font-size: 200px; fill: #d6d9de; stroke: #d6d9de; stroke-width: 0; stroke-linecap: round; stroke-linejoin: round; }
.sign-slogan {
  margin-top: max(16px, calc(var(--sign-fs) * .3));
  /* ~27 % of the caps size, never below 11 px, never wider than the screen (≈ 31 em incl. tracking) */
  font-size: min(max(11px, calc(var(--sign-fs) * .27 * var(--slogan-scale))), calc((100vw - 2 * var(--gutter)) / 31));
  font-weight: 400;
  letter-spacing: .3em; margin-right: -.3em; text-transform: uppercase;
  color: rgba(236,238,241, var(--slogan-alpha));
  text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 0 12px rgba(0,0,0,.35);
  text-align: center; white-space: nowrap;
}

/* ---------- Intro ---------- */
.intro { padding: clamp(110px, 14vw, 180px) 0 clamp(60px, 8vw, 100px); }
.photo { margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--grey); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.intro-photo { margin-top: clamp(64px, 8vw, 110px); aspect-ratio: 16 / 8; transform-origin: 50% 0; will-change: transform; }

/* ---------- Statement + proofs ---------- */
.statement { padding: clamp(60px, 8vw, 110px) 0 clamp(100px, 12vw, 160px); }
.statement-text {
  max-width: 15.5em;
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 500; line-height: 1.16; letter-spacing: -.012em;
  color: var(--ink-3);   /* quiet grey, so the highlights carry the sentence, yet readable (3.5 : 1 at this size) */
  text-wrap: balance;
}
.statement-text .hl { color: var(--ink); font-weight: 600; }
.statement-text .wd { display: inline; }
/* facts and proofs share one 3-column grid, aligned to the statement's left edge */
.facts, .proofs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 64px); }
.facts { margin-top: clamp(70px, 9vw, 120px); row-gap: 40px; }
.fact { display: flex; flex-direction: column; gap: 14px; }
.fact-big { font-size: clamp(40px, 4.4vw, 60px); font-weight: 300; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.fact-txt { font-size: 17px; line-height: 1.45; color: var(--ink-1); max-width: 28ch; text-wrap: pretty; }
.proofs { margin-top: 48px; font-size: 16px; color: var(--ink-2); }
.proofs span { padding: 14px 0 0; border-top: 1px solid var(--line); text-wrap: pretty; }

/* ---------- Head row ---------- */
/* the note sits under its heading, where the eye already is, not far off on the right */
.head-row { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: clamp(40px, 4.4vw, 60px); }
.head-note { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.4; color: var(--ink-2); max-width: 58ch; text-wrap: balance; }

/* ---------- Exams rail ---------- */
.exams { padding: clamp(90px, 11vw, 150px) 0 clamp(80px, 9vw, 120px); }
.exam-list { background: var(--white); border-radius: var(--r-lg); padding: 6px clamp(20px, 3vw, 40px); }
.xrow { display: grid; grid-template-columns: minmax(0, 1fr) 90px 150px auto; gap: 8px 32px; align-items: center; padding: 26px 0; border-bottom: 1px solid #e8e8ed; }
.xrow:last-child { border-bottom: 0; }
.x-main { display: block; }
.x-main:hover .x-name { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.x-name { font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.005em; }
.x-desc { font-size: 17px; color: var(--ink-1); margin-top: 4px; }
.x-min { font-size: 16px; color: var(--ink-2); white-space: nowrap; }
.x-price { font-size: 20px; white-space: nowrap; text-align: right; }
.x-act { display: flex; align-items: center; gap: 20px; justify-content: flex-end; }
.x-act .lnk { font-size: 17px; }
.badge { display: inline-block; vertical-align: middle; margin-left: 12px; padding: 5px 10px 3px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Doctors ---------- */
.doctors { padding: clamp(100px, 12vw, 160px) 0; }
.doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.doc { margin: 0; }
.doc-img { aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--grey); }
.doc-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%;
  filter: grayscale(1) contrast(1.04);
  transition: filter .8s var(--ease), transform 1.2s var(--ease);
}
.doc:hover .doc-img img, .doc.is-open .doc-img img { filter: grayscale(0) contrast(1); transform: scale(1.03); }
.doc-name { font-size: 20px; font-weight: 500; margin-top: 18px; }
.doc-role { font-size: 16px; color: var(--ink-2); margin-top: 4px; }
.doc-more { margin-top: 12px; font-size: 17px; }
.doc-more::after { content: '+'; font-size: 1.1em; transform: none; transition: transform .4s var(--ease); }
.doc.is-open .doc-more::after { transform: rotate(45deg); }
.doc-detail {
  grid-column: 1 / -1; overflow: hidden;
  background: var(--grey); border-radius: var(--r-lg);
}
.dd-in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 5vw, 70px); padding: clamp(30px, 4vw, 56px); }
.dd-name { font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -.01em; line-height: 1.1; }
.dd-role { font-size: 18px; color: var(--ink-2); margin-top: 8px; }
.dd-quote { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.4; margin-top: 30px; color: var(--ink); }
.dd-quote::before { content: '„'; }
.dd-quote::after { content: '“'; }
.dd-bio { font-size: 18px; color: var(--ink-1); margin-top: 22px; }
.dd-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.dd-list { margin: 0; border-top: 1px solid var(--line); }
.dd-list > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.dd-list dt { font-size: 15px; color: var(--ink-2); }
.dd-list dd { margin: 0; font-size: 17px; }
.dd-pubs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dd-pubs li { font-size: 16px; color: var(--ink-1); }
.dd-pubs small { display: block; font-size: 14px; color: var(--ink-2); }

/* two real doctors: wider cards; monogram until the portraits are photographed */
.doc-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
/* doctor without a photo yet: a text card with a small monogram, not an empty portrait */
.doc-card { background: var(--grey); border-radius: var(--r-lg); padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; }
.doc-card .doc-img { width: 64px; height: 64px; aspect-ratio: auto; border-radius: 50%; background: var(--white); }
.doc-card .monogram { font-size: 20px; letter-spacing: .12em; }
.doc-card figcaption { display: flex; flex-direction: column; flex: 1; }
.doc-card .doc-name { font-size: clamp(22px, 2vw, 26px); margin-top: 28px; }
.doc-card .doc-role { font-size: 17px; }
.doc-focus { font-size: 17px; color: var(--ink-1); margin-top: 14px; max-width: 40ch; flex: 1; }
.doc-card .doc-more { margin-top: 22px; align-self: flex-start; }
.doc-card.is-open { background: #ececf0; }
.monogram { width: 100%; height: 100%; display: grid; place-items: center;
  font-size: clamp(44px, 5vw, 72px); font-weight: 300; letter-spacing: .12em; color: var(--ink-2);
  background: linear-gradient(160deg, #f5f5f7, #e8e8ed); }
.mini-img .monogram { font-size: 32px; }

/* ---------- Patient guide ---------- */
.guides { padding: clamp(100px, 12vw, 160px) 0; }
/* articles as a list of rows on hairlines, like a newsroom index; the whole row is the link */
.guide-list { border-top: 1px solid var(--line); }
.grow { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) auto; gap: 12px clamp(28px, 4vw, 64px); align-items: baseline; padding: 30px 0 28px; border-bottom: 1px solid var(--line); }
.g-name { font-size: clamp(22px, 2vw, 27px); font-weight: 500; line-height: 1.2; letter-spacing: -.005em; }
.g-desc { font-size: 17px; color: var(--ink-1); max-width: 52ch; }
.grow .lnk { font-size: 17px; }
.grow:hover .g-name { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.related { font-size: 20px; }
.links.left { justify-content: flex-start; }

/* ---------- For doctors ---------- */
.refer { padding: clamp(90px, 11vw, 140px) 0; }
.refer-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.refer .lede { margin: 22px 0 0; text-align: left; }
.refer-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.refer-list li { padding: 16px 0 14px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 18px; color: var(--on-dark); }
.refer-links { justify-content: flex-start; }

/* ---------- Suites: facilities, team note, expertise ---------- */
.venues { padding: clamp(90px, 11vw, 150px) 0 clamp(80px, 9vw, 120px); }
.venue {
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(30px, 5vw, 70px); align-items: center;
  background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px);
}
.venue-txt { padding: clamp(4px, 1vw, 12px); }
/* the facility's lockup, as in its own header but larger: a portal to its website */
.venue-logo { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1; color: var(--ink); }
.venue-logo .logo-pm { font-size: clamp(16px, 1.6vw, 21px); }
.venue-logo .logo-sub { font-size: clamp(10px, .95vw, 12px); margin-top: 8px; }
.venue-kind { font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.005em; line-height: 1.15; margin-top: clamp(34px, 4vw, 52px); }
.venue-desc { font-size: 18px; color: var(--ink-1); margin-top: 14px; max-width: 40ch; }
.venue-addr { font-size: 16px; color: var(--ink-2); margin-top: 14px; }
.venue-links { margin-top: 32px; gap: 28px; }
.venue-photo { aspect-ratio: 4 / 3; border-radius: var(--r-md); }
.venue-note, .team-note { font-size: 17px; color: var(--ink-2); margin-top: 28px; }
.team-note { margin-top: 32px; }
.work { padding: clamp(100px, 12vw, 160px) 0; }
.work-lede { margin: 22px 0 0; max-width: 760px; }

/* ---------- Check-up (dark) ---------- */
.checkup { padding: clamp(110px, 14vw, 180px) 0 clamp(60px, 7vw, 90px); }
.price-big { font-size: clamp(30px, 3vw, 40px); font-weight: 300; letter-spacing: .02em; margin-top: 34px; color: var(--platinum-hi); }
.checkup .links { margin-top: 26px; }
.checkup-photo { margin-top: clamp(64px, 8vw, 100px); aspect-ratio: 16 / 7; background: #111; will-change: transform; }

/* ---------- Prices ---------- */

/* ---------- Booking ---------- */
.booking { padding: clamp(100px, 12vw, 160px) 0; }
/* the three ways to book: one white sheet with rows, like the price list */
.book-list { background: var(--white); border-radius: var(--r-lg); padding: 6px clamp(20px, 3vw, 40px); }
.brow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; padding: 30px 0; border-bottom: 1px solid #e8e8ed; }
.brow:last-child { border-bottom: 0; }
.b-name { font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.005em; }
.b-desc { font-size: 17px; color: var(--ink-1); margin-top: 4px; max-width: 52ch; }
.brow .pill { min-width: 190px; }
.phone { font-size: clamp(24px, 2.2vw, 30px); font-weight: 300; letter-spacing: .02em; }
.phone:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* ---------- FAQ (sub-pages) ---------- */
.faq { margin-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 24px 50px 22px 0; font-size: 21px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.4px; background: currentColor; transition: transform .4s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { font-size: 18px; color: var(--ink-1); padding: 0 50px 26px 0; max-width: 68ch; }

/* ---------- Contact ---------- */
.contact { padding: clamp(100px, 12vw, 160px) 0; }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.info { margin: 40px 0 0; }
.info div { padding: 16px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 170px 1fr; gap: 16px; }
.info div:last-child { border-bottom: 1px solid var(--line); }
.info dt { font-size: 16px; color: var(--ink-2); }
.info dd { margin: 0; font-size: 18px; }
.info a:hover { text-decoration: underline; text-underline-offset: 4px; }
.map { aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.08); }

/* ---------- Footer ---------- */
.foot { background: var(--grey); color: var(--ink-2); font-size: 14px; line-height: 1.55; padding: 22px 0 26px; }
.foot a, .foot button { color: var(--ink-1); background: none; border: 0; padding: 0; font-size: inherit; text-align: left; }
.foot a:hover, .foot button:hover { text-decoration: underline; }
.foot-group { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.foot-group .lnk { color: var(--ink); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 22px 0; }
.foot h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-legal { padding: 16px 0; border-top: 1px solid var(--line); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 14px; border-top: 1px solid var(--line); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Sheet (dialog) ---------- */
.sheet {
  width: min(720px, calc(100vw - 24px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  padding: 0; border: 0; border-radius: var(--r-lg);
  background: var(--white); color: var(--ink);
  box-shadow: 0 30px 90px rgba(0,0,0,.25);
}
.sheet::backdrop { background: rgba(0,0,0,.42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sheet[open] { animation: sheet-in .45s var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px) scale(.985); } }
.sheet-close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center; background: var(--chip); color: var(--ink);
}
.sheet-close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; }
#sheetBody { padding: clamp(36px, 5vw, 56px); }
.sh-title { font-size: clamp(30px, 4vw, 44px); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; padding-right: 40px; } /* clear of the close button */
.sh-lede { font-size: 20px; color: var(--ink); margin-top: 16px; }
.sh-list { margin: 30px 0 0; border-top: 1px solid var(--line); }
.sh-list div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.sh-list dt { color: var(--ink-2); font-size: 16px; }
.sh-list dd { margin: 0; font-size: 18px; }
.sh-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.sh-note { font-size: 15px; color: var(--ink-3); margin-top: 18px; }
.sh-proto { font-size: 16px; color: var(--ink-1); margin-top: 12px; }
.sh-note a, .form-ok a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.sh-step { font-size: 14px; color: var(--ink-2); margin: 26px 0 10px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  border: 1px solid var(--line); background: var(--white); border-radius: 12px;
  padding: 11px 14px 9px; font-size: 16px; line-height: 1.2;
  transition: border-color .2s, background-color .2s, color .2s;
}
.opt:hover { border-color: var(--ink-2); }
.opt.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt[disabled] { color: #c7c7cc; cursor: default; border-color: #ececf0; }
.opt small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 3px; }
.sh-sum { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.sh-sum p { font-size: 17px; color: var(--ink-1); }
.sh-sum p b { color: var(--ink); font-weight: 500; }
.fld { display: block; margin-top: 16px; }
.fld span { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.fld input, .fld select {
  width: 100%; height: 52px; padding: 3px 16px 0; border-radius: 12px;
  border: 1px solid var(--line); background: var(--white); outline: none; font-size: 18px;
  transition: border-color .2s, box-shadow .2s;
}
.fld input:focus, .fld select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.chk { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 15px; color: var(--ink-1); }
.chk input { margin-top: 2px; accent-color: var(--ink); }
.form-ok { font-size: 16px; color: var(--ink); margin-top: 16px; min-height: 1.2em; }

/* ---------- Sub-page (exam detail) ---------- */
.page { padding: calc(var(--nav-h) + clamp(50px, 7vw, 90px)) 0 0; }
.crumbs { font-size: 15px; color: var(--ink-2); margin-bottom: 22px; }
.crumbs a:hover { text-decoration: underline; }
.page-lede { font-size: clamp(20px, 1.8vw, 25px); line-height: 1.42; margin-top: 24px; max-width: 760px; }
.kv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 46px; border-top: 1px solid var(--line); }
.kv div { padding-top: 18px; }
.kv dt { font-size: 15px; color: var(--ink-2); }
.kv dd { margin: 4px 0 0; font-size: 22px; font-weight: 500; }
.page-actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-top: 40px; }
.p-sec { padding-top: clamp(80px, 9vw, 120px); }
.p-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(30px, 5vw, 70px); }
.p-h { font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.005em; line-height: 1.15; }
.p-body p + p { margin-top: 16px; }
.p-body p { color: var(--ink-1); }
.p-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.p-list li { padding: 15px 0 13px; border-bottom: 1px solid var(--line); }
.prep { background: var(--grey); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); }
.prep strong { display: block; font-size: 24px; font-weight: 500; }
.prep p { margin-top: 10px; color: var(--ink-1); }
.p-cta { margin-top: clamp(100px, 12vw, 160px); padding: clamp(80px, 10vw, 130px) 0; text-align: center; }
.mini-doc { display: flex; gap: 26px; align-items: center; }
.mini-img { flex: none; width: 130px; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--grey); }
.mini-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(1); transition: filter .8s var(--ease); }
.mini-doc:hover .mini-img img { filter: none; }
.mini-doc .doc-name { margin-top: 0; }
.doc-link { margin-top: 12px; font-size: 18px; }
.faq-flush { margin-top: 0; }


/* ---------- Map (loads only on click) ---------- */
.map-ph { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center;
  background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(0,0,0,.025) 14px 28px), var(--grey); }
.map-ph p { font-size: 14px; color: var(--ink-2); max-width: 30ch; }

/* ---------- Language switch ---------- */
.nav-lang { font-size: 13px; font-weight: 500; letter-spacing: .14em; padding: 2px 0 0; opacity: .8; }
.nav-lang:hover { opacity: 1; }
.nav-lang-m { display: none; }

/* ---------- Sub-page extras ---------- */
.draft-note { color: var(--ink-2); font-size: 17px; }
.p-parts li { display: flex; justify-content: space-between; gap: 20px; }
.p-parts li.sum { color: var(--ink-2); }
.p-parts li.save { font-weight: 500; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .doc-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .dd-in { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .venue { grid-template-columns: 1fr; }
  .p-grid { grid-template-columns: 1fr; gap: 24px; }
  .kv { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 18px; }
  .nav-phone { display: none; }
  .nav-call { display: grid; }
  .nav-end { gap: 8px; }
  .nav-in { gap: 12px; }
  .logo-pm { font-size: 11px; letter-spacing: .24em; margin-right: -.24em; }
  .nav .pill-sm { padding: 2px 13px 0; }
  .nav-links {
    display: none; position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px;
    background: var(--white); color: var(--ink);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
  }
  html.menu-open .nav-links { display: flex; }
  .nav-links a { font-size: 22px; padding: 14px 0; border-bottom: 1px solid #ececf0; opacity: 1; }
  .nav-menu { display: block; }
  .hero-sign { --sign-fs: min(calc(19px * var(--sign-scale)), calc((100vw - 2 * var(--gutter)) / 14.2)); }
  .sign-sono-font { right: -.3em; } /* phones: stay inside the screen */
  .sign-slogan { letter-spacing: .24em; margin-right: -.24em; }
  .intro-photo { aspect-ratio: 4 / 3.4; }
  .checkup-photo { aspect-ratio: 4 / 3; }
  .facts, .proofs { grid-template-columns: 1fr; }
  .refer-grid { grid-template-columns: 1fr; }
  .grow { grid-template-columns: 1fr; padding: 24px 0 18px; }
  .grow .lnk { margin-top: 2px; }
  .brow { grid-template-columns: 1fr; padding: 26px 0; justify-items: start; }
  .doc-grid.two { grid-template-columns: 1fr; }
  .facts { row-gap: 34px; }
  .proofs span + span { border-top: 0; padding-top: 8px; }
  .statement-text { font-size: clamp(28px, 7.6vw, 34px); }
  .xrow { grid-template-columns: 1fr auto; grid-template-areas: "main main" "min price" "act act"; row-gap: 12px; padding: 22px 0; }
  .x-main { grid-area: main; }
  .x-min { grid-area: min; }
  .x-price { grid-area: price; }
  .x-act { grid-area: act; justify-content: space-between; }
  .nav-lang { display: none; }
  .nav-lang-m { display: block; }
  .doc-grid { gap: 16px; row-gap: 32px; }
  .doc-name { font-size: 18px; }
  .doc-role { font-size: 15px; }
  .dd-list > div { grid-template-columns: 1fr; gap: 2px; }
  .info div { grid-template-columns: 1fr; gap: 2px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .sh-list div { grid-template-columns: 1fr; gap: 2px; }
  .sheet { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .kv { grid-template-columns: 1fr 1fr; }

  /* Apple HIG: every tap target at least 44 x 44 pt */
  .nav-end { gap: 2px; }
  .nav-call, .nav-menu { width: 44px; height: 44px; }
  .nav-menu { margin-right: -10px; }
  .nav-menu span { left: 13px; right: 13px; }
  .nav-menu span:first-child { top: 18px; }
  .nav-menu span:last-child { top: 25px; }
  .nav .pill-sm { position: relative; }
  .nav .pill-sm::before { content: ''; position: absolute; inset: -6px -2px; }
  .xrow .pill-sm { height: 44px; padding: 2px 20px 0; font-size: 15px; }
  .lnk { min-height: 44px; }
  .intro .links { flex-direction: column; gap: 4px; }
  .intro .links .pill { margin-bottom: 10px; }
  .phone { display: inline-flex; align-items: center; min-height: 44px; }
  .info a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .venue-logo { padding: 6px 0; margin: -6px 0; }
  .foot ul { gap: 0; }
  .foot ul a, .foot ul button { display: inline-block; padding: 11px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sheet[open] { animation: none; }
}
