/* Dr. Mai Abdallah demo · direction "Photographs at uneven sizes" (seed 534358978).
   Colours from her clinic: white marble, blush velvet, charcoal sofas, the deep rose of the ottomans. */

:root {
  --bg: #fdfbfa;
  --surface: #f6eded;
  --ink: #1f1a1c;
  --muted: #6c6164;
  --accent: #9e3a5a;
  --accent-ink: #ffffff;
  --field: #262023;
  --field-ink: #fbf6f6;
  --field-muted: #c9bcc0;

  --font: "Newsreader", "Noto Naskh Arabic", serif;

  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --step-lead: clamp(1.3125rem, 1.05rem + 0.9vw, 1.875rem);
  --step-head: clamp(2.125rem, 1.1rem + 3vw, 3.75rem);
  --step-display: clamp(3.6rem, 1rem + 7.4vw, 7.75rem);

  --margin: clamp(1.25rem, 5.5vw, 5.5rem);
  --gutter: clamp(0.75rem, 1.6vw, 1.75rem);
  --section: clamp(7.5rem, 14vw, 13rem);
  --radius: 0px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 200ms;
  --t-reveal: 850ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.75; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, p, figure, blockquote, ul, dl, dd, fieldset { margin: 0; }
ul[class], ul[role] { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
img, video { display: block; max-width: 100%; height: auto; background: var(--surface); }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 1.5rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { max-width: 62ch; text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { padding-inline: var(--margin); }
.small { font-size: var(--step-small); line-height: 1.7; }
.muted { color: var(--muted); }
.lead { font-size: var(--step-lead); line-height: 1.55; }
.head { font-size: var(--step-head); line-height: 1.25; }
.display { font-size: var(--step-display); line-height: 1.12; }
[dir="ltr"] { unicode-bidi: isolate; }

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.5rem; background: var(--accent); color: var(--accent-ink); border-radius: 999px; text-decoration: none; white-space: nowrap; font-weight: 500; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.3em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
.link-plain { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 0.07em; transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: #86304c; }
  .link:hover { text-decoration-color: currentColor; }
  .link-plain:hover { color: var(--accent); }
}
.field { width: 100%; min-height: 3.25rem; padding: 0.6rem 1rem; background: var(--bg); border: 0; border-radius: 0; font-size: max(1rem, var(--step-body)); }

/* ---------- demo bar ---------- */
.demo-bar { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; justify-content: space-between; align-items: center; padding: 0.55rem var(--margin); background: var(--field); color: var(--field-ink); font-size: var(--step-small); line-height: 1.5; }

/* ---------- hero: stepped title, two photographs ---------- */
.hero { position: relative; }
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-block: 1rem; font-size: var(--step-small); }
.top-link { justify-self: start; font-size: var(--step-body); }
.wordmark { justify-self: center; text-decoration: none; font-size: var(--step-body); font-weight: 500; }
.top-book { justify-self: end; min-height: 2.75rem; padding: 0 1.1rem; }

.hero-stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.hero-title { display: contents; }
.hero-title .line { display: block; overflow: hidden; padding-block: 0.06em; }
.hero-title [data-line] { display: block; }
.hero-wide img, .hero-tall img { width: 100%; height: 100%; object-fit: cover; }
.hero-note p:first-child { font-size: var(--step-lead); line-height: 1.5; max-width: 26ch; }
.hero-note .button { margin-top: 1.5rem; }
.rating { margin-top: 0.9rem; }

.fade { position: relative; width: 100%; height: 100%; }
.fade img { position: absolute; inset: 0; opacity: 0; transition: opacity 1600ms ease-in-out; }
.fade img.is-on { opacity: 1; }

/* phone composition */
.hero-wide { grid-column: 7 / 13; grid-row: 1; justify-self: end; width: 100%; aspect-ratio: 16 / 10; margin-top: 0.75rem; }
.hero-title .l1 { grid-column: 1 / -1; grid-row: 2; margin-top: 1.25rem; font-size: 15vw; }
.hero-title .l2 { grid-column: 1 / -1; grid-row: 3; padding-inline-start: 22vw; font-size: 15vw; margin-top: -0.2em; }
.hero-tall { grid-column: 1 / 10; grid-row: 4; aspect-ratio: 4 / 5; margin-top: 1.25rem; }
.hero-note { grid-column: 1 / -1; grid-row: 5; margin-top: 1.75rem; }

@media (min-width: 64em) {
  .hero { height: calc(100svh - 2.6rem); min-height: 46rem; max-height: 64rem; overflow: hidden; }
  .hero-stage { grid-template-rows: auto auto auto auto; }
  .hero-title .line { min-height: max-content; line-height: 1.05; padding-block: 0.12em; }
  .hero-wide { grid-column: 10 / 13; grid-row: 1; margin: 2.5vh 0 0; }
  .hero-title .l1 { grid-column: 2 / 12; grid-row: 2; margin: 0; font-size: var(--step-display); }
  .hero-title .l2 { grid-column: 6 / 13; grid-row: 3; padding: 0; margin-top: -0.3em; font-size: var(--step-display); }
  .hero-tall { grid-column: 1 / 6; grid-row: 3 / 6; margin-top: 0.75rem; aspect-ratio: 4 / 5; }
  .hero-note { grid-column: 6 / 11; grid-row: 4; margin-top: 0.5rem; }
}

/* ---------- about: wide photo, colour tile, facts ---------- */
.about { padding-top: var(--section); }
.about-lead { margin-top: 1.5rem; max-width: 38ch; }
.about-tiles { margin-top: 3rem; display: grid; gap: 1rem; }
.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-over { margin-top: 1rem; font-size: var(--step-body); line-height: 1.7; }
.creds { background: var(--surface); padding: 1.5rem 1.25rem; display: grid; gap: 0.9rem; font-size: var(--step-lead); line-height: 1.45; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; margin-top: 1.5rem; }
.facts dt { font-size: var(--step-small); color: var(--muted); }
.facts dd { font-size: var(--step-body); line-height: 1.5; }

@media (min-width: 64em) {
  .about-lead { max-width: 46ch; }
  .about-tiles { margin-top: 4.5rem; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1rem; align-items: start; }
  .about-photo { grid-column: 1 / 9; }
  .about-photo img { aspect-ratio: 16 / 10; }
  .about-over { position: absolute; top: 0; left: 0; width: 20rem; margin: 0; padding: 1.25rem; background: var(--bg); }
  .about-side { grid-column: 9 / 13; }
  .creds { min-height: 0; padding: 1.75rem 1.5rem; }
}

/* ---------- services: statement, table pushed to one side ---------- */
.services { padding-top: var(--section); }
.services-h { max-width: 14ch; }
.services-body { margin-top: 3rem; display: grid; }
.services-photo { order: 3; width: 60%; justify-self: end; margin-top: 3rem; }
.services-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.services-word { display: none; }
.group + .group { margin-top: 2.75rem; }
.row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "kind pick" "what what"; align-items: baseline; column-gap: 1rem; padding-block: 0.8rem; }
.kind { grid-area: kind; font-size: var(--step-small); color: var(--muted); }
.what { grid-area: what; }
.what h3 { font-size: var(--step-body); font-weight: 600; line-height: 1.5; }
.what p { font-size: var(--step-small); color: var(--muted); line-height: 1.6; }
.pick { grid-area: pick; white-space: nowrap; color: var(--accent); font-weight: 500; font-size: var(--step-small); padding-block: 0.4rem; }
.pick span { display: inline-block; transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .row:hover .pick span { transform: translateX(-6px); } }

@media (min-width: 64em) {
  .services-h { max-width: none; padding-inline-start: 3vw; }
  .services-body { margin-top: 6rem; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
  .services-photo { order: 0; grid-column: 1 / 6; grid-row: 1; width: 100%; margin: 0; align-self: start; position: sticky; top: 2rem; }
  .services-word { display: block; grid-column: 7 / 8; grid-row: 1; align-self: start; padding-top: 0.9rem; }
  .rows { grid-column: 8 / 13; grid-row: 1; }
  .row { grid-template-columns: 4.5rem 1fr auto; grid-template-areas: "kind what pick"; padding-block: 0.8rem; }
}

/* ---------- booking: the live thing ---------- */
.book { margin-top: var(--section); background: var(--surface); padding-block: clamp(4rem, 9vw, 8rem); }
.book-sum { margin-top: 1rem; max-width: 22ch; min-height: 3.1em; }
.book-photo { display: none; }
.book-form { margin-top: 2rem; display: grid; gap: 2rem; }
.step legend { font-size: var(--step-small); color: var(--muted); margin-bottom: 0.6rem; padding: 0; }
.chips { display: flex; gap: 0.5rem; }
.days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.days .chip { padding-inline: 0.25rem; }
.times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chip { flex: none; min-height: 3rem; padding: 0.5rem 0.9rem; background: var(--bg); color: var(--ink); scroll-snap-align: start; text-align: center; line-height: 1.3; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.chip:active { transform: scale(0.96); }
.chip b { display: block; font-weight: 600; font-size: var(--step-body); }
.chip small { display: block; font-size: var(--step-small); color: var(--muted); }
.chip[aria-checked="true"] { background: var(--ink); color: var(--bg); }
.chip[aria-checked="true"] small { color: var(--field-muted); }
.chip:disabled { opacity: 0.35; cursor: default; }
.times .chip { padding: 0.5rem 0.25rem; font-size: var(--step-small); }
@media (hover: hover) and (pointer: fine) { .chip:not(:disabled):not([aria-checked="true"]):hover { background: #fff; color: var(--accent); } }
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reason { position: relative; display: flex; align-items: center; justify-content: flex-start; text-align: start; cursor: pointer; font-size: var(--step-small); line-height: 1.45; padding: 0.6rem 0.85rem; }
.reason:first-child { grid-column: 1 / -1; }
.reason input { position: absolute; opacity: 0; pointer-events: none; }
.reason:has(input:checked) { background: var(--ink); color: var(--bg); }
.reason:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .reason:not(:has(input:checked)):hover { background: #fff; color: var(--accent); } }
.who { display: grid; gap: 0.6rem; }
.submit { width: 100%; min-height: 3.5rem; }
.form-note { max-width: 46ch; }
.empty { font-size: var(--step-small); color: var(--muted); padding-block: 0.75rem; }

@media (min-width: 64em) {
  .book-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
  .book-head { grid-column: 1 / 5; position: sticky; top: 2rem; }
  .book-photo { display: block; width: 62%; margin-top: 3rem; }
  .book-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
  .book-form { grid-column: 6 / 13; margin-top: 0.75rem; }
  .days { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .times { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .who { grid-template-columns: 1fr 1fr; }
  .submit { width: auto; justify-self: start; padding: 0 2.25rem; }
}

/* ---------- results: frame run, one lifted ---------- */
.results { padding-top: var(--section); }
.results-h { font-size: var(--step-lead); line-height: 1.4; }
.results-side .link-plain { display: inline-block; margin-top: 0.5rem; }
.results-note { margin-top: 0.75rem; max-width: 34ch; }
.run { margin-top: 2rem; }
.run-rest { display: flex; gap: 4px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--margin) * -1); padding-inline: var(--margin); scrollbar-width: none; }
.run-rest::-webkit-scrollbar { display: none; }
.frame { flex: none; scroll-snap-align: start; }
.frame img { height: 34vw; min-height: 9rem; width: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.frame figcaption { display: flex; justify-content: space-between; gap: 0.75rem; font-size: var(--step-small); line-height: 1.5; padding-top: 0.5rem; }
.frame figcaption span + span { color: var(--muted); }
.run-rest .frame figcaption { flex-direction: column; gap: 0; }
.frame.lifted { margin-bottom: 1.5rem; }
.frame.lifted img { width: 100%; height: auto; }

@media (min-width: 64em) {
  .results { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
  .results-side { grid-column: 1 / 4; display: flex; flex-direction: column; align-items: flex-start; }
  .results-note { margin-top: auto; padding-bottom: 2.4rem; }
  .run { grid-column: 4 / 13; margin: 0 0 0 calc(var(--margin) * -1); display: flex; align-items: flex-end; gap: 6px; overflow: hidden; }
  .run-rest { margin: 0; padding: 0; gap: 6px; overflow: visible; align-items: flex-end; }
  .run-rest .frame figcaption { flex-direction: row; }
  .frame img { height: 30vh; min-height: 13rem; }
  .frame.lifted { margin: 0; }
  .frame.lifted img { height: 66vh; min-height: 28rem; width: auto; }
}

/* ---------- voice: portrait and offset quotation ---------- */
.voice { padding-top: var(--section); display: grid; }
.voice-portrait { width: 72%; }
.voice-portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.voice-text { margin-top: 2rem; }
.quote p { font-size: var(--step-lead); line-height: 1.55; max-width: 30ch; }
.who-said { margin-top: 1.5rem; font-size: var(--step-body); }
.more-voices { margin-top: 2rem; display: grid; gap: 0.75rem; max-width: 40ch; color: var(--muted); }
.voice-small { width: 44%; margin-top: 3rem; margin-inline-start: auto; }
.voice-small img { width: 100%; aspect-ratio: 1; object-fit: cover; }

@media (min-width: 64em) {
  .voice { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
  .voice-portrait { grid-column: 2 / 6; width: 100%; }
  .voice-portrait img { height: 70svh; min-height: 32rem; width: auto; max-width: 100%; }
  .voice-text { grid-column: 7 / 13; margin-top: 120px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--gutter); }
  .voice-text > * { grid-column: 1 / 6; }
  .quote p { font-size: clamp(1.5rem, 1rem + 1vw, 2.125rem); }
  .who-said { margin-top: 2rem; }
  .voice-small { grid-column: 4 / 7; width: 100%; margin: 3.5rem 0 0; }
}

/* ---------- travel: names running off both edges ---------- */
.travel { padding-top: var(--section); }
.travel-line { font-size: var(--step-body); margin-top: 1.25rem; }
.travel-band { background: var(--field); color: var(--field-ink); min-height: 34vh; display: flex; align-items: center; overflow: hidden; }
.travel-track { display: flex; align-items: center; gap: 0.5em; white-space: nowrap; font-size: max(3.5rem, 8vw); line-height: 1.3; padding-block: 0.3em; width: max-content; }
.travel-track i { display: inline-block; width: 0.22em; height: 0.22em; border-radius: 50%; background: #d98aa3; margin-inline: 0.15em; }

/* ---------- faq: wide heading, indented questions ---------- */
.faq { padding-top: var(--section); }
.faq-h { font-size: var(--step-head); line-height: 1.25; max-width: 12ch; }
.qa { margin-top: 3rem; }
.qa details { margin-inline: calc(var(--margin) * -1); padding: 0.75rem var(--margin); transition: background-color var(--t-hover) ease; }
.qa details + details { margin-top: 0.75rem; }
.qa details[open] { background: var(--surface); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: var(--step-lead); line-height: 1.5; padding-block: 0.4rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 0.55rem; height: 0.55rem; border-inline-start: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-25%); transition: transform var(--t-hover) var(--ease-out); }
.qa details[open] summary::after { transform: rotate(135deg) translateY(-25%); }
.qa details p { margin-top: 0.5rem; max-width: 48ch; padding-bottom: 0.75rem; }
.faq-note { margin-top: 2rem; }

@media (min-width: 64em) {
  .faq-h { max-width: none; font-size: clamp(3rem, 1rem + 4vw, 5rem); }
  .qa { margin-top: 5rem; margin-inline-start: calc((100% + var(--gutter)) / 12 * 4); }
  .qa details { margin-inline: -1.5rem; padding: 0.75rem 1.5rem; }
  .qa details + details { margin-top: 1.25rem; }
  .faq-note { margin-inline-start: calc((100% + var(--gutter)) / 12 * 4); }
}

/* ---------- contact: sentence, portrait, two links ---------- */
.contact { margin-top: var(--section); background: var(--surface); padding-block: clamp(4rem, 9vw, 8rem); display: grid; grid-template-columns: 6rem 1fr; column-gap: 1.25rem; row-gap: 2rem; }
.contact-sentence { grid-column: 1 / -1; font-size: var(--step-lead); line-height: 1.55; max-width: 24ch; }
.contact-photo img { width: 6rem; height: 6rem; object-fit: cover; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.contact-q { font-weight: 600; }
.contact-links .small { margin-top: 0.5rem; }

@media (min-width: 64em) {
  .contact { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
  .contact-sentence { grid-column: 1 / 6; max-width: none; }
  .contact-photo { grid-column: 8 / 10; }
  .contact-photo img { width: 10.5rem; height: 10.5rem; }
  .contact-links { grid-column: 10 / 13; }
}

/* ---------- footer: moving picture half, menu half ---------- */
.footer { display: grid; background: var(--field); color: var(--field-ink); }
.foot-media { height: 60svh; overflow: hidden; background: var(--field); }
.foot-media video { width: 100%; height: 100%; object-fit: cover; background: var(--field); }
.foot-field { padding: 2.5rem var(--margin) 7rem; display: flex; flex-direction: column; }
.foot-mark { font-size: var(--step-small); text-decoration: none; color: var(--field-muted); }
.foot-menu { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.35rem; }
.foot-menu a { font-size: clamp(1.75rem, 8vw, 2.25rem); line-height: 1.5; font-weight: 600; text-decoration: none; transition: transform var(--t-hover) var(--ease-out), color var(--t-hover) ease; }
.foot-blocks { margin-top: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.foot-blocks p { color: var(--field-ink); }
.foot-legal { margin-top: 3rem; color: var(--field-muted); }
@media (hover: hover) and (pointer: fine) {
  .foot-menu:hover a { color: var(--field-muted); }
  .foot-menu a:hover { color: var(--field-ink); transform: translateX(-12px); }
}

@media (min-width: 64em) {
  .footer { grid-template-columns: 1fr 1fr; min-height: 100svh; }
  .foot-media { height: auto; }
  .foot-field { padding: 5rem var(--margin) 2rem calc(var(--margin)); }
  .foot-menu { margin-top: 2rem; gap: 0.5rem; }
  .foot-menu a { font-size: var(--step-lead); line-height: 1.6; font-size: clamp(1.75rem, 0.6rem + 1.9vw, 2.6rem); }
  .foot-legal { margin-top: auto; }
}

/* ---------- phone dock ---------- */
.dock { position: fixed; inset-inline: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: 1fr 1.3fr; gap: 0.5rem; padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom)); background: var(--bg); transform: translateY(110%); transition: transform 380ms var(--ease-out); }
.dock.is-up { transform: none; }
.dock a { display: flex; align-items: center; justify-content: center; min-height: 3rem; text-decoration: none; font-weight: 500; border-radius: 999px; transition: transform var(--t-press) var(--ease-out); }
.dock a:active { transform: scale(0.97); }
.dock-call { background: var(--surface); }
.dock-book { background: var(--accent); color: var(--accent-ink); }
@media (min-width: 64em) { .dock { display: none; } }

/* ---------- motion (content stays visible without script) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(20px); animation: rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 200ms); }
  .js .hero-title [data-line] { transform: translateY(105%); animation: line 1000ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 120ms + 120ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 750ms var(--ease-out), transform 950ms var(--ease-out); transition-delay: calc(var(--d, 0) * 75ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .frame[data-reveal] img, .js .about-photo[data-reveal] img, .js .voice-portrait[data-reveal] img { transform: scale(1.06); transition: transform 1600ms var(--ease-soft); }
  .js .frame[data-reveal].is-in img, .js .about-photo[data-reveal].is-in img, .js .voice-portrait[data-reveal].is-in img { transform: none; }
  .travel-track { animation: drift 40s linear infinite; }
  .hero-tall .fade img.is-on { animation: breathe 7s ease-in-out infinite alternate; }
}
@media (prefers-reduced-motion: reduce) {
  .fade img { transition: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes line { to { transform: none; } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(50%); } }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.04); } }

/* =====================================================================
   Phone and tablet composition (below 64em). One column, a 20px gutter,
   and every picture either full-bleed or exactly the text column wide.
   ===================================================================== */
.hero-phone, .top-call, .clinic { display: none; }
.hero-call { display: inline-block; margin-top: 0.75rem; }
.group-h { display: none; }

@media (max-width: 63.99em) {
  :root { --margin: 20px; --section: 4.5rem; }
  .bleed { margin-inline: calc(var(--margin) * -1); }

  /* top bar: name at the start, call at the end */
  .topbar { display: flex; justify-content: space-between; padding-block: 0.85rem; }
  .top-link, .top-book { display: none; }
  .wordmark { font-size: var(--step-body); }
  .top-call { display: inline-block; font-size: var(--step-body); }

  /* hero: her portrait full-bleed, the name on one line, one action */
  .hero-stage { display: block; }
  .hero-wide, .hero-tall { display: none; }
  .hero-phone { display: block; margin-inline: calc(var(--margin) * -1); height: 55svh; min-height: 20rem; max-height: 36rem; overflow: hidden; }
  .hero-phone img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
  .hero-title { display: block; margin-top: 1rem; white-space: nowrap; word-spacing: 0; font-size: clamp(2.6rem, 15vw, 5rem); line-height: 1.15; }
  .hero-title .line { display: inline-block; vertical-align: top; }
  .hero-title .l1, .hero-title .l2 { font-size: inherit; margin: 0; padding-inline-start: 0; }
  .hero-note { margin-top: 0.4rem; }
  .hero-note p:first-child { font-size: var(--step-lead); line-height: 1.5; max-width: 24ch; }
  .hero-note .button { margin-top: 1rem; width: 100%; min-height: 3.25rem; }
  .rating { margin-top: 0.85rem; }
  .hero-call { margin-top: 0.35rem; }

  /* about: statement, credentials as a ranked list, facts, then the symposium full-bleed */
  .about-lead { margin-top: 1rem; }
  .about-tiles { margin-top: 2rem; gap: 0; }
  .about-side { order: 1; }
  .about-photo { order: 2; margin-top: 2.5rem; margin-inline: calc(var(--margin) * -1); }
  .about-photo img { aspect-ratio: 16 / 10; }
  .about-over { padding-inline: var(--margin); margin-top: 0.75rem; font-size: var(--step-small); color: var(--muted); }
  .creds { background: none; padding: 0; gap: 0.55rem; font-size: var(--step-body); line-height: 1.5; }
  .creds li:first-child { font-size: var(--step-lead); line-height: 1.4; margin-bottom: 0.35rem; }
  .facts { margin-top: 1.75rem; padding-top: 1.5rem; background: none; }

  /* inside the clinic: equal cards that snap, the next one peeking */
  .clinic { display: block; padding-top: var(--section); }
  .clinic-h { font-size: var(--step-head); line-height: 1.25; }
  .snap { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--margin); scroll-padding-inline: var(--margin); scrollbar-width: none; }
  .snap::-webkit-scrollbar { display: none; }
  .clinic-snap { margin-top: 1.5rem; }
  .card { flex: 0 0 78%; scroll-snap-align: start; }
  .card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
  .card figcaption { margin-top: 0.5rem; font-size: var(--step-small); }

  /* services: four groups, each row tappable with a chevron on its line */
  .services { padding-top: 6.5rem; }
  .services-h { max-width: none; }
  .services-body { margin-top: 1.5rem; display: block; }
  .services-photo { width: auto; margin: 0 0 2rem; }
  .services-photo img { aspect-ratio: 16 / 10; object-position: 50% 30%; }
  .group-h { display: block; margin-top: 2rem; font-size: var(--step-small); font-weight: 600; color: var(--accent); }
  .rows > .group-h:first-child { margin-top: 0; }
  .group + .group { margin-top: 0; }
  .group { margin-top: 0.35rem; }
  .row { position: relative; grid-template-columns: 1fr auto; grid-template-areas: "what pick"; align-items: center; column-gap: 1rem; padding-block: 0.7rem; }
  .kind { display: none; }
  .what h3 { font-size: var(--step-body); line-height: 1.45; }
  .what p { margin-top: 0.1rem; }
  .pick { position: static; padding: 0; }
  .pick::after { content: ""; position: absolute; inset: 0; }
  .pick-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .pick-arrow { font-size: var(--step-body); color: var(--accent); }
  .row:active { background: var(--surface); }

  /* booking stays as built; the summary sits right under its heading */
  .book-sum { max-width: none; min-height: 0; }
  .book-form { margin-top: 1.75rem; }

  /* results: equal frames that snap, captions underneath */
  .results-side { display: block; }
  .results-h { font-size: var(--step-head); line-height: 1.25; }
  .results-note { margin-top: 0.5rem; max-width: none; }
  .run { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--margin) * -1); padding-inline: var(--margin); scroll-padding-inline: var(--margin); scrollbar-width: none; margin-top: 1.5rem; }
  .run::-webkit-scrollbar { display: none; }
  .run-rest { display: contents; }
  .frame, .frame.lifted { flex: 0 0 72%; margin: 0; scroll-snap-align: start; }
  .frame img, .frame.lifted img { width: 100%; height: auto; min-height: 0; aspect-ratio: 3 / 4; object-fit: cover; }
  .frame figcaption, .run-rest .frame figcaption { flex-direction: column; gap: 0; }

  /* patient voices: words only (her portrait already opens the page) */
  .voice-portrait, .voice-small { display: none; }
  .voice-text { margin-top: 0; }
  .quote p { max-width: none; }
  .who-said { margin-top: 0.85rem; font-size: var(--step-small); color: var(--muted); }
  .more-voices { margin-top: 1.75rem; gap: 1rem; max-width: none; color: var(--ink); font-size: var(--step-body); }

  /* patients from abroad: a slimmer band */
  .travel-band { min-height: 0; padding-block: 1.25rem; }
  .travel-track { font-size: 2.75rem; }

  /* faq */
  .faq-h { max-width: none; }
  .qa { margin-top: 1.5rem; }
  .qa details + details { margin-top: 0.25rem; }
  .qa summary { font-size: var(--step-body); font-weight: 600; }

  /* contact */
  .contact { grid-template-columns: 4.5rem 1fr; row-gap: 1.5rem; padding-block: 3.5rem; }
  .contact-sentence { max-width: none; }
  .contact-photo img { width: 4.5rem; height: 4.5rem; }

  /* footer: shorter picture, menu in one wrapped line */
  .foot-media { height: 42svh; }
  .foot-field { padding: 2rem var(--margin) 2.25rem; }
  .foot-mark { font-size: var(--step-lead); color: var(--field-ink); }
  .foot-menu { margin-top: 1rem; flex-direction: row; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
  .foot-menu a { font-size: var(--step-body); font-weight: 400; line-height: 1.6; }
  .foot-blocks { margin-top: 1.75rem; }
  .foot-legal { margin-top: 1.75rem; }
}
