/* Spectrum Eye Care: the royal theme.
   Every background is light: cream and pale sand. Deep blue is for words and buttons, fine gold for
   lines, and the seven colours of the spectrum appear only in deep jewel tones, in small places. */

@font-face { font-family: 'Hanken Grotesk'; src: url(assets/fonts/hanken-grotesk.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* A clear hospital palette on light backgrounds: deep blue and teal lead, with green, amber and
     rose for variety. Gold is kept for the seals, stars and the dial, where it means honours. */
  --night: #0b2554;
  --ivory: #ffffff;
  --paper: #ffffff;
  --sand: #f0f7fc;
  --cream: #fbf7ec;
  --navy: #0b3d91;
  --navy-2: #1553b8;
  --teal: #0b7f86;
  --green: #15803d;
  --amber: #c2410c;
  --gold: #b78b2e;
  --gold-bright: #c9962e;
  --gold-hi: #ecd6a0;
  --gold-ink: #0b7f86;
  --ink: #10233f;
  --ink-2: #4a5b73;
  --on-navy: #10233f;
  --on-navy-2: #4a5b73;
  --serif: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --royal: var(--body);
  --body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4.6vw, 72px);
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .75, .15, 1);
  --r: 14px;
  --shadow: 0 1px 2px rgba(16, 35, 63, .06), 0 10px 26px -14px rgba(16, 35, 63, .28);
  --n: 0px;
  --plaque: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #fff; scroll-padding-top: calc(var(--nav-h) + 10px); }
html:not(.reduce) { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--ivory); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--night); color: var(--ivory); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Grounds */
.hero, .prism, .chart, .doctors, .lab, .book, .visit { background: var(--ivory); color: var(--ink); }
.voyage, .sim, .gallery, .reviews, .foot, .ribbon { background: var(--sand); color: var(--ink); }
.voyage .title, .sim .title, .gallery .title, .reviews .title, .vcard .title { color: var(--navy); }
.prism .title, .chart .title, .doctors .title, .lab .title, .book .title, .visit .title { color: var(--navy); }
.prism .stage { isolation: isolate; }
.chart, .lab, .book, .reviews, .foot, .sim { position: relative; isolation: isolate; }
.silk { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* Type */
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(2.7rem, min(6.8vw, 12.5vh), 7rem); line-height: 1.03; letter-spacing: -.012em; text-wrap: balance; color: var(--navy); max-width: 11em; }
.display em { font-style: italic; font-weight: 500; color: var(--gold-ink); }
.display, .title, .doc-name, .ribbon-row, .quote blockquote, .score-num { font-optical-sizing: none; font-variation-settings: 'opsz' 28; }
.title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.05rem, 4.1vw, 4rem); line-height: 1.08; letter-spacing: -.008em; text-wrap: balance; }
.label, .hero-where { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.14rem, 1.6vw, 1.42rem); color: var(--gold-ink); margin-bottom: 4px; }
.lede { font-size: clamp(1.04rem, 1.35vw, 1.22rem); max-width: 30em; color: var(--ink); }
.body { color: var(--ink-2); max-width: 36em; }
.voyage .body { color: var(--on-navy-2); }

/* The moving mark beside each heading: a different shape for each section */
.mark { display: block; width: min(320px, 72%); height: 34px; margin: 6px 0 12px; color: var(--gold); }

/* The moving line between sections */
.edge { position: relative; height: clamp(46px, 6.4vw, 96px); background: var(--from); margin: -1px 0; z-index: 2; }
.edge canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Headlines catch the light: each letter rises in gold and settles into its colour. */
.w { display: inline-block; white-space: nowrap; }
.split .c { display: inline-block; opacity: 0; }
.split em { opacity: 0; }
.split.lit em { animation: emIn 1.3s .9s ease both; }
@keyframes emIn { from { opacity: 0; } to { opacity: 1; } }
.split.lit .c { animation: ignite 1.2s cubic-bezier(.2,.75,.2,1) both; animation-delay: calc(var(--i) * 26ms + var(--wait, 0s)); }
.display.split { --wait: .55s; }
@keyframes ignite {
  0% { opacity: 0; transform: translateY(34%); color: #e5c98a; }
  45% { opacity: 1; color: #d1a95c; }
  100% { opacity: 1; transform: none; }
}
.reduce .split .c, .reduce .split em { opacity: 1; animation: none; }

.lids { position: fixed; inset: 0; z-index: 90; pointer-events: none; background: var(--ivory); transition: opacity .34s ease; }
.lids-open .lids { opacity: 0; }
.lid-seal { position: absolute; left: 50%; top: 50%; width: 92px; height: auto; margin: -60px 0 0 -46px; padding: 14px; background: var(--ivory); border-radius: 50%; }
html:not(.js) .lids { display: none; }

/* Moving bands of words, in gold */
.ribbon { overflow: hidden; padding: clamp(16px, 3vh, 30px) 0; position: relative; z-index: 2; }
.ribbon-row { white-space: nowrap; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(2.1rem, 6.4vw, 5.6rem); line-height: 1.16; width: max-content; will-change: transform; background: linear-gradient(90deg, #7c5d1f, #a8843f 30%, #c9a45f 50%, #a8843f 70%, #7c5d1f); background-size: 40% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: molten 14s linear infinite; }
.ribbon-row i { font-style: normal; padding: 0 .28em; }
@keyframes molten { to { background-position: 100vw 0; } }

/* Buttons: a plaque with its corners cut, and one fine line inside it */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; padding: 12px 26px; font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap; border: 0; isolation: isolate; clip-path: var(--plaque); transition: transform .25s var(--ease), filter .25s, background .25s, color .25s; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: currentColor; clip-path: polygon(evenodd, var(--n) 0, calc(100% - var(--n)) 0, 100% var(--n), 100% calc(100% - var(--n)), calc(100% - var(--n)) 100%, var(--n) 100%, 0 calc(100% - var(--n)), 0 var(--n), var(--n) 0, calc(var(--n) + .5px) 1px, calc(100% - var(--n) - .5px) 1px, calc(100% - 1px) calc(var(--n) + .5px), calc(100% - 1px) calc(100% - var(--n) - .5px), calc(100% - var(--n) - .5px) calc(100% - 1px), calc(var(--n) + .5px) calc(100% - 1px), 1px calc(100% - var(--n) - .5px), 1px calc(var(--n) + .5px), calc(var(--n) + .5px) 1px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn[disabled] { opacity: .42; cursor: not-allowed; transform: none; }
.btn-sm { min-height: 46px; padding: 8px 20px; font-size: .95rem; --n: 7px; }
.btn-main { background: var(--navy); color: #f7f3ea; }
.btn-main::before { inset: 3px; background: #d6b672; }
.btn-line { color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: var(--ivory); }
.link-ink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.link-ink svg { transition: transform .25s var(--ease); flex: none; }
.link-ink:hover svg { transform: translateX(5px); }
.reviews .link-ink { text-decoration-color: var(--gold-bright); }


/* The header: cream, with the clinic's own logo and one fine gold line. A thin line in the spectrum's
   colours grows along it as you read down the page. */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 var(--gutter); color: var(--navy); background: var(--ivory); border-bottom: 1px solid rgba(50, 100, 165, .55); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #a3333f, #bf7a2a, #b7952f, #2f7d5c, #1f7d8c, #2f5aa6, #6b4397); }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; min-width: 0; }
.brand-mark { width: auto; height: 58px; }
.brand-word { display: grid; font-family: var(--serif); font-weight: 600; font-size: 1.62rem; line-height: 1; color: var(--navy); letter-spacing: .005em; }
.brand-word i { font-family: var(--body); font-style: normal; font-weight: 600; font-size: .68rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-ink); margin-top: 5px; }
.nav-links { display: flex; gap: clamp(16px, 2.2vw, 34px); }
.nav-links a { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; text-decoration: none; padding: 8px 2px; position: relative; color: var(--navy); transition: color .25s; }
.nav-links a:hover, .nav-links a.is-here { color: var(--gold-ink); }
/* A small diamond marks where you are */
.nav-links a::after { content: ''; position: absolute; left: 50%; bottom: -1px; width: 7px; height: 7px; margin-left: -3.5px; border: 1px solid var(--gold-ink); transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.nav-links a:hover::after, .nav-links a.is-here::after { transform: rotate(45deg) scale(1); }
.nav-end { display: flex; align-items: center; gap: 16px; }
.nav-portal { font-size: .95rem; font-weight: 500; color: var(--navy); text-underline-offset: 4px; }
.nav-portal:hover { color: var(--gold-ink); }
.nav-toggle { display: none; width: 46px; height: 46px; place-items: center; background: var(--navy); color: var(--ivory); clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px); }
.sheet { position: fixed; z-index: 49; top: var(--nav-h); left: 0; right: 0; padding: 10px var(--gutter) 18px; background: var(--ivory); color: var(--navy); border-bottom: 1px solid var(--gold); display: grid; }
.sheet a { padding: 13px 0; text-decoration: none; font-size: 1.2rem; font-family: var(--serif); border-bottom: 1px solid rgba(50, 100, 165, .3); }

/* Quick contact on a phone */
.dock { display: none; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); gap: 6px; background: var(--ivory); border-top: 1px solid var(--gold); }
.dock a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--navy); }
.dock .dock-main { background: var(--navy); color: #f7f3ea; flex: 1.25; clip-path: var(--plaque); }

/* Pinned sections */
.pin { position: relative; height: calc(var(--pin) * 1svh); }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.no-pin .pin:not(.hero) { height: auto; }
.no-pin .pin:not(.hero) .stage { position: relative; height: auto; overflow: visible; }
.reduce .hero { height: 100svh; }

/* ============ THE EYE, in a turning gold dial, on the clinic's own wallpaper ============ */
.hero { background: var(--ivory); }
.hero .stage { background: linear-gradient(rgba(248, 241, 228, .72), rgba(248, 241, 228, .72)), url(assets/wall.webp) center / cover; }
#heroDial { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
/* The round frame holding the eye */
.medallion { --d: min(40vw, calc(100svh - var(--nav-h) - 210px)); position: absolute; z-index: 1; width: var(--d); height: var(--d); left: calc(70% - var(--d) / 2); top: calc(var(--nav-h) + (100svh - var(--nav-h)) / 2 - var(--d) / 2); border-radius: 50%; overflow: hidden; background: var(--ivory); box-shadow: 0 0 0 1px var(--gold), 0 0 0 5px var(--ivory), 0 0 0 6px var(--gold); will-change: transform, opacity; }
#eye { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-fallback { display: none; }
.no-webgl .hero-fallback { display: block; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, #000 12%, #9a7a3d 14%, #1d4f70 26%, #0d2c55 36%, #f2eee6 37%, #d9d3c6 62%, #070d1f 66%); }
.hero-copy { position: absolute; z-index: 2; left: var(--gutter); width: min(37vw, 620px); top: var(--nav-h); bottom: 0; display: flex; flex-direction: column; justify-content: center; will-change: transform, opacity; }
.hero-where { display: flex; align-items: center; gap: 12px; color: var(--gold-ink); margin-bottom: 8px; }
.hero-where::before { content: ''; flex: none; width: clamp(46px, 6vw, 86px); height: 1px; background: var(--gold); }
.hero .display { font-size: clamp(2.7rem, min(5.3vw, 11vh), 6rem); }
.hero-row { display: grid; gap: clamp(14px, 2.4vh, 24px); margin-top: clamp(14px, 2.4vh, 26px); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-hint { margin-top: 14px; font-size: .9rem; color: var(--ink-2); }
.hint-touch { display: none; }
/* A line with a little wit, and three plain figures */
.hero-wit, .section-wit { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.14rem, 1.55vw, 1.4rem); color: var(--gold-ink); }
.hero-wit { margin-top: clamp(8px, 1.4vh, 14px); }
.section-wit { margin: 8px 0 12px; }
.foot-wit { grid-column: 1 / -1; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.75rem); color: var(--navy); }

/* Conditions around the dial */
.conds { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.cond { position: absolute; transform: translate(-50%, -50%); pointer-events: auto; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 5px 13px; background: var(--paper); color: var(--navy); font-weight: 600; font-size: .9rem; white-space: nowrap; box-shadow: 0 0 0 1px var(--gold), 0 4px 14px -6px rgba(90, 70, 30, .4); transition: background .2s, color .2s, transform .2s var(--ease); }
.cond span { width: 8px; height: 8px; background: var(--c); transform: rotate(45deg); flex: none; animation: condCall 12.6s linear infinite; animation-delay: calc(var(--i) * 1.8s); }
@keyframes condCall { 0%, 12%, 100% { transform: rotate(45deg) scale(1); } 6% { transform: rotate(45deg) scale(1.9); } }
.cond:hover { transform: translate(-50%, -50%) scale(1.06); }
.cond.is-on { background: var(--c); color: #fffaf0; box-shadow: 0 0 0 1px var(--c), 0 5px 16px -6px rgba(60, 50, 30, .55); }
.cond.is-on span { background: #fffaf0; animation: none; }
.cond:focus-visible { outline-offset: 2px; }
.medallion { cursor: pointer; }
/* The note about the condition you chose */
.eye-note { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(14px, 3vh, 28px); width: min(310px, 86vw); padding: 15px 18px 13px; background: var(--paper); box-shadow: 0 0 0 1px var(--gold), inset 0 3px 0 var(--c, var(--gold)), 0 14px 30px -14px rgba(80, 60, 25, .5); animation: stepIn .35s var(--ease); }
.eye-note h2 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; line-height: 1.1; color: var(--navy); padding-right: 26px; }
.eye-note p { font-size: .94rem; line-height: 1.42; color: var(--ink-2); margin: 6px 0 8px; }
.eye-note a { font-weight: 600; font-size: .94rem; color: var(--navy); text-decoration-color: var(--c, var(--gold)); text-underline-offset: 4px; }
.eye-note small { display: block; margin-top: 7px; font-size: .78rem; color: var(--ink-2); }
.eye-note-x { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink-2); }
.no-pin .hero .stage { height: 100svh; min-height: 560px; overflow: hidden; }

/* ============ ONE BEAM OF LIGHT, SEVEN COLOURS ============ */
.prism .stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 0 clamp(150px, 19vw, 280px); padding: calc(var(--nav-h) + 22px) var(--gutter) 28px; }
.prism-art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.prism-copy { position: relative; align-self: start; max-width: 25em; padding-top: 2vh; }
.bands { position: relative; display: flex; flex-direction: column; }
.band { border-top: 1px solid rgba(50, 100, 165, .4); }
.band:last-child { border-bottom: 1px solid rgba(50, 100, 165, .4); }
.band-head { width: 100%; display: flex; align-items: center; gap: 14px; padding: clamp(9px, 1.45vh, 15px) 0; text-align: left; }
.band-dot { flex: none; width: 10px; height: 10px; background: var(--c); opacity: .85; transform: rotate(45deg); transition: transform .4s var(--ease), opacity .3s; }
.band-name { font-family: var(--serif); font-size: clamp(1.18rem, 1.8vw, 1.62rem); font-weight: 500; line-height: 1.15; color: var(--ink-2); transition: color .3s; }
.band.is-on .band-dot { opacity: 1; transform: rotate(45deg) scale(1.35); }
.band.is-on .band-name, .band-head:hover .band-name { color: var(--navy); }
.band-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.band-panel > div { overflow: hidden; min-height: 0; padding-left: 27px; visibility: hidden; transition: visibility .45s; }
.band.is-on .band-panel { grid-template-rows: 1fr; }
.band.is-on .band-panel > div { visibility: visible; }
.band-panel p { color: var(--ink-2); font-size: 1rem; max-width: 36em; }
.band-panel a { display: inline-block; margin: 6px 0 14px; font-weight: 600; color: var(--navy); text-decoration-color: var(--c); text-underline-offset: 4px; font-size: .96rem; }

/* ============ FOLLOW THE LIGHT: a plate from an old anatomy book ============ */
.voyage .stage { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 0 clamp(20px, 3.4vw, 54px); padding: calc(var(--nav-h) + 22px) var(--gutter) 26px; }
.voyage-art { min-width: 0; height: 100%; display: grid; place-items: center; overflow: hidden; background: var(--paper); box-shadow: inset 0 0 0 1px var(--gold), inset 0 0 0 6px var(--paper), inset 0 0 0 7px var(--gold); padding: 9px; }
#eyeSection { width: 100%; height: 100%; max-height: 100%; }
#cam { transition: transform 1.25s var(--ease); transform-origin: 0 0; }
.part { transition: opacity .6s; }
.has-focus .part { opacity: .32; }
.has-focus .part.is-on { opacity: 1; }
.part.is-on circle[fill="#ffd24a"] { animation: dotPulse 1.7s infinite; }
@keyframes dotPulse { 0%, 100% { r: 9px; } 50% { r: 13px; } }
.voyage-copy { position: relative; min-width: 0; }
.voyage-cards { position: relative; min-height: clamp(280px, 41vh, 400px); }
.vcard { position: absolute; inset: 0; opacity: 0; transform: translateY(22px); visibility: hidden; transition: opacity .55s, transform .75s var(--ease), visibility .55s; }
.vcard.is-on { opacity: 1; transform: none; visibility: visible; }
.vcard .title { font-size: clamp(1.85rem, 3vw, 2.9rem); margin-bottom: 14px; }
.vcard-care { margin-top: 16px; font-weight: 600; color: var(--gold-bright); }
.voyage-track { display: flex; flex-wrap: wrap; gap: 4px 2px; margin-top: 8px; }
.voyage-track button { flex: 1 1 auto; display: grid; gap: 7px; min-height: 44px; padding: 9px 7px 4px 0; text-align: left; }
.voyage-track span { display: block; height: 2px; background: rgba(50, 100, 165, .3); transition: background .4s; }
.voyage-track em { font-style: normal; font-size: .84rem; color: var(--on-navy-2); white-space: nowrap; }
.voyage-track .is-past span, .voyage-track .is-on span { background: var(--gold-bright); }
.voyage-track .is-on em { color: var(--on-navy); }
.no-pin .voyage .stage { display: block; padding: calc(var(--nav-h) + 26px) var(--gutter) 60px; }
.no-pin .voyage-art { height: 42vh; min-height: 240px; margin-bottom: 20px; }

/* ============ EYE CHART, framed on the palace wall ============ */
.chart-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 7vw, 110px); align-items: center; padding: clamp(72px, 13vh, 150px) var(--gutter); max-width: 1500px; margin: 0 auto; }
.snellen { background: #fff; padding: clamp(24px, 4vw, 54px) 14px; text-align: center; font-weight: 700; color: #0c1020; line-height: 1.16; margin: 11px; box-shadow: 0 0 0 1px var(--gold), 0 0 0 7px var(--paper), 0 0 0 8px var(--gold), 0 0 0 11px var(--navy); }
.snellen div { white-space: nowrap; will-change: filter; }
.snellen div:nth-child(1) { font-size: clamp(5.4rem, 11.5vw, 10.4rem); line-height: 1; }
.snellen div:nth-child(2) { font-size: clamp(3.7rem, 7.5vw, 6.8rem); letter-spacing: .14em; }
.snellen div:nth-child(3) { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: .14em; }
.snellen div:nth-child(4) { font-size: clamp(1.6rem, 3.1vw, 2.8rem); letter-spacing: .14em; }
.snellen div:nth-child(5) { font-size: clamp(1rem, 1.95vw, 1.75rem); letter-spacing: .15em; }
.chart-copy .title { margin-bottom: 18px; }
.chart-copy .btn { margin-top: 26px; }

/* ============ SEE THE DIFFERENCE ============ */
.sim { padding: clamp(72px, 12vh, 130px) var(--gutter); }
.sim-head { max-width: 980px; margin-bottom: 26px; }
.sim-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.sim-tabs button { min-height: 44px; padding: 8px 17px; border: 1px solid rgba(50, 100, 165, .55); color: var(--ink); font-weight: 500; font-size: .97rem; border-radius: 2px; transition: all .25s; }
.sim-tabs button:hover { border-color: var(--gold-bright); }
.sim-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #f7f3ea; font-weight: 600; }
.sim-frame { --split: 58%; position: relative; aspect-ratio: 12 / 6.2; max-height: 76svh; width: 100%; overflow: hidden; background: #000; touch-action: pan-y; isolation: isolate; outline: 1px solid var(--gold-bright); outline-offset: 5px; }
.sim-layer { position: absolute; inset: 0; overflow: hidden; }
.sim-affected { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.scene { position: absolute; inset: 0; }
.scene svg { display: block; }
.scene-ghost, .sim-over, .sim-over2 { display: none; }
.sim-over, .sim-over2 { position: absolute; inset: 0; pointer-events: none; }
.sim-split { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; margin-left: -1px; background: var(--ivory); pointer-events: none; }
.sim-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--ivory); display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 2px var(--navy), inset 0 0 0 3px var(--gold-bright); }
.sim-knob svg { margin: 0 -3px; }
.sim-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; touch-action: pan-y; }
.sim-tag { position: absolute; top: 14px; padding: 5px 12px; background: var(--paper); color: var(--navy); font-size: .88rem; font-weight: 600; pointer-events: none; }
.sim-tag-a { left: 14px; }
.sim-tag-b { right: 14px; }
.sim-note { margin-top: 20px; max-width: 46em; color: var(--on-navy-2); font-size: 1.06rem; min-height: 3.2em; }

[data-c="cataract"] .scene-main { filter: blur(2.8px) sepia(.72) saturate(.9) brightness(.94) contrast(.72); }
[data-c="cataract"] .sim-over { display: block; background: radial-gradient(circle at 27.5% 53%, rgba(255, 244, 205, .92) 0, rgba(255, 230, 170, .52) 16%, rgba(255, 220, 160, .14) 42%, transparent 62%); }
[data-c="glaucoma"] .sim-over { display: block; background: radial-gradient(ellipse 34% 44% at 50% 50%, transparent 0, transparent 44%, rgba(0, 0, 0, .78) 80%, #000 100%); }
[data-c="diabetic"] .scene-main { filter: blur(1.5px) saturate(.72) brightness(.9); }
[data-c="diabetic"] .sim-over { display: block; background:
  radial-gradient(circle at 38% 40%, rgba(8, 4, 8, .88) 0, rgba(8, 4, 8, .55) 4.5%, transparent 8%),
  radial-gradient(circle at 56% 62%, rgba(8, 4, 8, .92) 0, rgba(8, 4, 8, .6) 6.5%, transparent 11%),
  radial-gradient(circle at 44% 70%, rgba(8, 4, 8, .85) 0, transparent 5%),
  radial-gradient(circle at 25% 28%, rgba(8, 4, 8, .85) 0, transparent 6%),
  radial-gradient(circle at 15% 66%, rgba(8, 4, 8, .85) 0, rgba(8, 4, 8, .4) 5%, transparent 8%),
  radial-gradient(circle at 34% 15%, rgba(8, 4, 8, .7) 0, transparent 3.5%),
  radial-gradient(circle at 62% 28%, rgba(8, 4, 8, .85) 0, transparent 4%); }
[data-c="macular"] .sim-over { display: block; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0, #000 18%, transparent 40%); mask-image: radial-gradient(circle at 50% 50%, #000 0, #000 18%, transparent 40%); }
[data-c="macular"] .sim-over2 { display: block; background: radial-gradient(circle at 50% 50%, rgba(24, 20, 20, .94) 0, rgba(24, 20, 20, .72) 10%, transparent 27%); }
[data-c="refractive"] .scene-main { filter: blur(6px); }
[data-c="squint"] .scene-ghost { display: block; transform: translate(4.6%, -2.6%); opacity: .5; mix-blend-mode: multiply; }

/* ============ DOCTORS, in palace arches ============ */
.doctors { background-image: linear-gradient(rgba(248, 241, 228, .8), rgba(248, 241, 228, .8)), url(assets/wall.webp); background-size: cover; overflow: clip; padding: clamp(76px, 13vh, 150px) var(--gutter); }
.doctors-head { max-width: 860px; margin-bottom: clamp(36px, 7vh, 80px); }
.doctor-list { display: grid; gap: clamp(60px, 11vh, 130px); }
.doc { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(26px, 6vw, 96px); align-items: center; max-width: 1280px; margin: 0 auto; width: 100%; }
.doc-alt { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.doc-alt .doc-frame { order: 2; }
.doc-frame { position: relative; max-width: 470px; width: 100%; justify-self: center; padding: 11px; background: var(--ivory); box-shadow: inset 0 0 0 1px var(--gold); transition: transform .4s var(--ease); transform-style: preserve-3d; }
.doc-frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(209, 169, 92, .14), transparent 48%); }
.doc-portrait { position: relative; aspect-ratio: 4 / 5; width: 100%; background: var(--navy); overflow: hidden; }
.doc-portrait img { width: 100%; height: 100%; object-fit: cover; scale: 1.1; }
.js .doc-portrait img, .js .doc-placeholder { transform: scale(1.14) translateY(4%); transition: transform 1.8s var(--ease); }
.js .doc.in .doc-portrait img, .js .doc.in .doc-placeholder { transform: none; }
.js .doc .doc-portrait { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); }
.js .doc.in .doc-portrait { clip-path: inset(0); }
.doc-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: var(--navy); color: var(--ivory); font-family: var(--serif); font-size: 4rem; }
.doc-name { font-family: var(--serif); font-weight: 600; font-size: clamp(2.05rem, 3.7vw, 3.4rem); line-height: 1.08; color: var(--navy); }
.doc-degrees { font-size: clamp(1.06rem, 1.45vw, 1.28rem); font-weight: 600; margin-top: 10px; }
.doc-honour { color: var(--gold-ink); font-weight: 600; margin-top: 4px; }
.doc-facts { margin: 20px 0; display: grid; gap: 9px; border-top: 1px solid var(--gold); padding-top: 16px; }
.doc-facts div { display: grid; grid-template-columns: 7.2em minmax(0, 1fr); gap: 12px; }
.doc-facts dt { font-weight: 600; font-size: .95rem; }
.doc-facts dd { color: var(--ink-2); font-size: .98rem; }

/* ============ CLINIC ============ */
.gallery .stage { display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 22px) 0 24px; gap: clamp(14px, 3vh, 30px); }
.gallery-head { padding: 0 var(--gutter); }
.gallery-track { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); padding: 8px var(--gutter); flex: 1; min-height: 0; will-change: transform; width: 100%; }
.gallery { --room: calc(100svh - var(--nav-h) - 196px); }
.frame { transition: transform .25s linear; flex: none; position: relative; width: min(82vw, calc(var(--room) * 1.333)); aspect-ratio: 4 / 3; background: var(--ivory); outline: 1px solid var(--gold); outline-offset: 5px; }
.frame.is-tall { width: min(58vw, calc(var(--room) * .893)); aspect-ratio: 960 / 1075; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame figcaption { position: absolute; left: 0; bottom: 0; padding: 6px 12px; background: var(--paper); font-size: .92rem; font-weight: 500; color: var(--navy); }
.no-pin .gallery .stage { padding: 84px 0 60px; }
.no-pin .gallery-track { overflow-x: auto; height: 340px; scroll-snap-type: x mandatory; }
.no-pin .frame { scroll-snap-align: center; width: auto; height: 320px; }

/* ============ EYE LAB ============ */
.lab { padding: clamp(76px, 13vh, 150px) var(--gutter); }
.lab-head { max-width: 760px; margin-bottom: clamp(28px, 5vh, 54px); }
.lab-head .title { margin-bottom: 14px; }
.lab-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 285px), 1fr)); gap: clamp(14px, 1.8vw, 24px); max-width: 1500px; }
.lab-card { position: relative; display: grid; align-content: start; gap: 8px; text-align: left; min-height: 196px; padding: 26px 24px 24px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--gold), inset 0 0 0 5px var(--paper), inset 0 0 0 6px rgba(50, 100, 165, .5); transition: transform .3s var(--ease), background .3s, color .3s, opacity .6s; }
.lab-card:hover { background: #fff; }
.lab-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(209, 169, 92, .2), transparent 55%); }
.lab-card:hover::after { opacity: 1; }
.js .lab-card[data-reveal] { transform: translateY(30px); }
.lab-card:hover small { color: var(--on-navy-2); }
.lab-card:hover .lab-go { color: var(--navy); }
.lab-card svg.lab-ic { width: 38px; height: 38px; margin-bottom: 4px; color: var(--gold); }
.lab-card b { font-family: var(--serif); font-size: 1.34rem; line-height: 1.15; font-weight: 600; }
.lab-card small { color: var(--ink-2); font-size: .98rem; line-height: 1.4; }
.lab-go { margin-top: 6px; font-weight: 600; font-size: .95rem; color: var(--gold-ink); }

.lab-dialog { width: min(760px, calc(100% - 20px)); max-height: calc(100svh - 20px); border: 0; padding: clamp(22px, 3.4vw, 40px); background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--gold), inset 0 0 0 6px var(--paper), inset 0 0 0 7px var(--gold); overflow-y: auto; }
.lab-dialog::backdrop { background: rgba(248, 241, 228, .88); }
.lab-x { position: absolute; top: 12px; right: 12px; width: 46px; height: 46px; display: grid; place-items: center; color: var(--navy); }
.lab-dialog h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; padding-right: 40px; margin-bottom: 8px; color: var(--navy); }
.lab-dialog .lab-how { color: var(--ink-2); margin-bottom: 14px; }
.lab-dialog ol.lab-how { list-style: decimal; padding-left: 20px; }
.lab-dialog ol.lab-how li { margin-bottom: 3px; }
.lab-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.lab-result { margin-top: 16px; padding: 14px 16px; background: var(--ivory); box-shadow: inset 0 0 0 1px var(--gold); }
.lab-result b { display: block; font-family: var(--serif); font-size: 1.28rem; line-height: 1.2; margin-bottom: 3px; color: var(--navy); }
.lab-result.is-urgent { background: #fbeeec; box-shadow: inset 0 0 0 1px #9b1c31; }
.lab-result.is-urgent b { color: #8a1427; }
.lab-note { margin-top: 12px; font-size: .9rem; color: var(--ink-2); }
.lab-stage { position: relative; background: #fff; border: 1px solid var(--gold); display: grid; place-items: center; overflow: hidden; }
.lab-range { width: 100%; height: 44px; accent-color: var(--navy); margin: 8px 0 0; }
.lab-big { font-family: var(--serif); font-size: clamp(3rem, 12vw, 5.4rem); font-weight: 600; line-height: 1; color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.arrow-pad { display: grid; grid-template-columns: repeat(3, 62px); grid-template-rows: repeat(3, 62px); gap: 5px; justify-content: center; margin-top: 12px; }
.arrow-pad button { background: var(--navy); color: var(--ivory); font-size: 1.5rem; border-radius: 2px; }
.arrow-pad button:hover { background: var(--navy-2); }
.choice-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.choice { min-height: 46px; padding: 8px 16px; border: 1px solid var(--navy); border-radius: 2px; font-weight: 500; text-align: left; background: #fff; }
.choice:hover { background: var(--ivory); }
.check-list { display: grid; gap: 6px; margin-top: 8px; }
.check-list label { display: flex; gap: 10px; align-items: flex-start; padding: 9px 11px; border: 1px solid rgba(50, 100, 165, .55); background: #fff; }
.check-list input { width: 21px; height: 21px; flex: none; margin: 1px 0 0; accent-color: var(--navy); }
.lab-q { font-weight: 600; margin-top: 16px; }
.rx-grid { display: grid; grid-template-columns: 3.1em repeat(4, minmax(0, 1fr)); gap: 6px; align-items: center; font-size: .92rem; }
.rx-grid input { width: 100%; min-height: 44px; padding: 6px 8px; border: 1px solid var(--navy); background: #fff; font-size: 16px; }
.rx-head { font-weight: 600; font-size: .86rem; }
.rx-meaning { display: grid; gap: 7px; margin-top: 12px; }
.rx-meaning li { padding-left: 15px; position: relative; }
.rx-meaning li::before { content: ''; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ============ REVIEWS ============ */
.reviews { padding: clamp(60px, 11vh, 120px) var(--gutter); }
.score { position: relative; }
.score-top { position: relative; width: min(100%, 320px); aspect-ratio: 3 / 2; display: grid; place-items: center; margin-bottom: 12px; }
.laurel { position: absolute; inset: 0; width: 100%; height: 100%; }
.laurel path { fill: var(--gold-bright); }
.js .score .laurel path:not(:first-child) { transform-box: fill-box; transform-origin: 0 50%; scale: 0; transition: scale .5s var(--ease); transition-delay: calc(var(--n, 0) * 34ms); }
.js .score.in .laurel path { scale: 1; }
.sim-lead { color: var(--on-navy-2); margin-top: 8px; }
.score-num { position: relative; font-family: var(--serif); font-size: clamp(4.6rem, 7vw, 6rem); line-height: 1; font-weight: 500; color: var(--gold-bright); font-variant-numeric: lining-nums; }
.score-stars { display: flex; gap: 4px; color: var(--gold-bright); margin: 6px 0 14px; }
.score-stars svg { width: 24px; height: 24px; }
.score-sub { color: var(--on-navy-2); max-width: 22em; margin-bottom: 14px; }
.quotes { display: grid; gap: clamp(22px, 4vh, 38px); }
.quote blockquote { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.45rem, 2.5vw, 2.25rem); line-height: 1.22; }
.quote figcaption { margin-top: 7px; color: var(--on-navy-2); font-size: .94rem; }

/* Things arriving */
.js [data-reveal]:not(.doc) { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) calc(var(--d, 0) * .13s), transform 1.05s var(--ease) calc(var(--d, 0) * .13s), background .3s, color .3s; }
.js [data-reveal].in:not(.doc) { opacity: 1; transform: none; }
.reduce [data-reveal], .reduce .doc-portrait { opacity: 1 !important; transform: none !important; clip-path: none !important; }

/* ============ REQUEST ============ */
.book { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(26px, 5vw, 80px); align-items: start; padding: clamp(76px, 13vh, 140px) var(--gutter); }
.book-side { position: sticky; top: calc(var(--nav-h) + 30px); }
.book-side .title { margin-bottom: 16px; }
.book-urgent { margin-top: 20px; font-size: .98rem; color: var(--ink-2); padding: 12px 14px; max-width: 32em; background: #fbeeec; box-shadow: inset 0 0 0 1px #9b1c31; }
.book-urgent b { color: var(--ink); }
.book-urgent a, .book-portal a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.book-portal { color: var(--ink-2); font-size: .98rem; margin-top: 14px; }
.book-card { position: relative; background: var(--paper); padding: clamp(22px, 2.8vw, 40px); min-width: 0; box-shadow: inset 0 0 0 1px var(--gold), inset 0 0 0 6px var(--paper), inset 0 0 0 7px var(--gold); }
#bookBody:focus { outline: none; }
.steps { display: flex; gap: 6px; margin-bottom: 22px; }
.steps li { flex: 1; min-width: 0; font-size: .85rem; color: var(--ink-2); padding-top: 9px; border-top: 2px solid rgba(50, 100, 165, .35); transition: border-color .4s; }
.steps li.is-now { color: var(--navy); font-weight: 600; border-color: var(--navy); }
.steps li.is-done { border-color: var(--gold); }
.steps li button { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); min-height: 26px; text-align: left; }
.step-view { animation: stepIn .5s var(--ease); min-height: 300px; }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } }
.step-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2.3vw, 2.05rem); line-height: 1.16; margin-bottom: 14px; color: var(--navy); }
.step-sub { color: var(--gold-ink); margin: -6px 0 14px; font-weight: 600; }
.step-wait, .step-note { color: var(--ink-2); }
.step-note a { color: var(--navy); font-weight: 600; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }

.pick-docs { display: grid; gap: 10px; }
.pick-doc { display: flex; align-items: center; gap: 14px; padding: 11px 14px; text-align: left; width: 100%; background: #fff; border: 1px solid rgba(50, 100, 165, .6); transition: border-color .25s, background .25s, transform .25s var(--ease); }
.pick-doc:hover { border-color: var(--navy); transform: translateX(3px); }
.pick-doc[aria-pressed="true"] { border-color: var(--navy); background: var(--ivory); }
.pick-avatar { flex: none; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-family: var(--serif); font-size: 1.28rem; color: var(--ivory); background: var(--navy); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--gold); }
.pick-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pick-avatar-any { background: var(--ivory); color: var(--gold-ink); }
.pick-text { display: grid; min-width: 0; }
.pick-text b { font-weight: 600; font-size: 1.08rem; }
.pick-text small { color: var(--ink-2); font-size: .93rem; }

.cal { max-width: 460px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head b { font-weight: 600; font-family: var(--serif); font-size: 1.14rem; }
.cal-nav { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--navy); border-radius: 2px; }
.cal-nav[disabled] { opacity: .28; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; text-align: center; }
.cal-dow { font-size: .8rem; color: var(--ink-2); margin-bottom: 3px; }
.cal-day { aspect-ratio: 1; min-height: 40px; font-weight: 600; background: #fff; border: 1px solid rgba(50, 100, 165, .55); border-radius: 2px; transition: background .2s, color .2s; }
.cal-day:hover:not([disabled]), .cal-day.is-on { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.cal-day[disabled] { background: none; border-color: transparent; color: rgba(74, 82, 112, .4); font-weight: 400; cursor: default; }

.chip-label { font-size: .87rem; color: var(--ink-2); margin: 12px 0 7px; font-weight: 600; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 7px; }
.chip { min-height: 44px; padding: 8px 10px; border: 1px solid rgba(50, 100, 165, .6); background: #fff; border-radius: 2px; font-weight: 500; font-size: .97rem; transition: all .2s; }
.chip:hover, .chip.is-on { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.chip-any { margin-top: 12px; width: 100%; }

.fields { display: grid; gap: 13px; }
.field { display: grid; gap: 5px; min-width: 0; }
.field label, .seg legend { font-weight: 600; font-size: .95rem; }
.field label i { font-style: normal; color: var(--ink-2); font-weight: 400; font-size: .87rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 13px; background: #fff; border: 1px solid rgba(20, 39, 94, .5); border-radius: 2px; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 2px var(--gold-bright); }
.has-error input, .has-error textarea { border-color: #9b1c31; }
/* Purpose of Visit is a quiet, one-line, optional question. */
.field:has(#f-reason) label { font-weight: 400; font-size: .9rem; color: var(--ink-2); }
.field #f-reason { min-height: 44px; padding: 8px 12px; background: transparent; border-color: rgba(50, 100, 165, .45); }
.field-err { color: #8a1427; font-size: .9rem; font-weight: 500; }
.field-hint { color: var(--ink-2); font-size: .87rem; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.seg legend { padding: 0; margin-bottom: 6px; }
.seg label { flex: 1 1 130px; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 6px 10px; border: 1px solid rgba(20, 39, 94, .5); background: #fff; border-radius: 2px; font-size: .97rem; text-align: center; transition: all .2s; }
.seg input:checked + span { background: var(--navy); color: var(--ivory); font-weight: 600; border-color: var(--navy); }
.seg input:focus-visible + span { outline: 2.5px solid var(--gold); outline-offset: 2px; }
.consent label { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.consent input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--navy); }
.inline-link { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); font-weight: 600; font-size: inherit; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-notice { margin: 14px 0 12px; padding: 10px 13px; background: #fbeeec; box-shadow: inset 0 0 0 1px #9b1c31; }

.done { display: grid; justify-items: start; gap: 12px; animation: stepIn .6s var(--ease); }
.done-mark { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--ivory); box-shadow: inset 0 0 0 3px var(--navy), inset 0 0 0 4px var(--gold-bright); margin: 4px 0 8px; }
.done-sum { display: grid; gap: 10px; width: 100%; padding: 15px 16px; background: var(--ivory); margin: 6px 0; }
.done-sum div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 10px; }
.done-sum dt { color: var(--ink-2); font-size: .94rem; }
.done-ref { font-weight: 700; letter-spacing: .13em; color: var(--navy); }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ============ VISIT ============ */
.visit { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 5vw, 80px) clamp(30px, 6vw, 96px); padding: clamp(40px, 7vh, 80px) var(--gutter) clamp(76px, 13vh, 140px); }
.visit-info .title { margin-bottom: 18px; }
.visit-info address { font-size: 1.1rem; color: var(--ink-2); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.open-now { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 1.1rem; margin-bottom: 12px; }
.open-dot { width: 10px; height: 10px; border-radius: 50%; background: #9b1c31; }
.open-dot.is-open { background: #1f7a4d; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-top: 1px solid rgba(50, 100, 165, .5); vertical-align: top; font-weight: 400; }
.hours td { text-align: right; color: var(--ink-2); }
.hours .is-today th, .hours .is-today td { font-weight: 700; color: var(--navy); }
.hours-note { margin-top: 10px; color: var(--ink-2); font-size: .93rem; }
.visit-map { grid-column: 1 / -1; position: relative; min-height: clamp(300px, 52vh, 560px); background: var(--paper); display: grid; place-content: center; justify-items: center; gap: 8px; margin: 7px; box-shadow: 0 0 0 1px var(--gold), 0 0 0 5px var(--ivory), 0 0 0 6px var(--gold); }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-small { color: var(--ink-2); font-size: .9rem; }

/* ============ FOOT ============ */
.foot { padding: clamp(40px, 7vh, 76px) var(--gutter) clamp(26px, 5vh, 46px); }
.foot-row { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 24px clamp(30px, 6vw, 90px); align-items: start; }
.foot-logo { background: var(--ivory); padding: 12px; width: 170px; height: auto; box-shadow: 0 0 0 1px var(--gold); }
.foot-links { display: grid; gap: 7px; justify-items: start; }
.foot-links a, .foot-link-btn { text-underline-offset: 4px; text-decoration-color: var(--gold-bright); color: var(--on-navy); min-height: 28px; font-size: 1rem; }
.foot-link-btn { text-decoration: underline; text-align: left; }
.foot-small { color: var(--on-navy-2); font-size: .9rem; max-width: 40em; justify-self: end; }

.privacy { max-width: 560px; width: calc(100% - 28px); border: 0; padding: 30px 28px; background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--gold), inset 0 0 0 6px var(--paper), inset 0 0 0 7px var(--gold); }
.privacy::backdrop { background: rgba(248, 241, 228, .88); }
.privacy h2 { font-family: var(--serif); font-weight: 600; font-size: 1.8rem; margin-bottom: 12px; padding-right: 34px; color: var(--navy); }
.privacy p { margin-top: 10px; color: var(--ink-2); }
.privacy-x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; }

/* ============ TABLET ============ */
@media (max-width: 1120px) {
  .nav-links, .nav-portal { display: none; }
  .nav-toggle { display: grid; }
}

/* ============ PORTRAIT TABLET AND PHONE ============ */
@media (max-aspect-ratio: 1/1) {
  .medallion { --d: min(58vw, 38svh); left: calc(50% - var(--d) / 2); top: calc(var(--nav-h) + 12svh * .62); }
  .hero-copy { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: clamp(18px, 3.4vh, 40px); justify-content: flex-end; }
  .hero .display { font-size: clamp(2.45rem, 7.4vw, 5rem); max-width: none; }
}
@media (max-width: 899px) {
  :root { --nav-h: 76px; }
  .brand-mark { height: 50px; }
  .chart-inner, .visit { grid-template-columns: minmax(0, 1fr); }
  /* On a small screen the form comes right after the heading and the emergency line. */
  .book { display: flex; flex-direction: column; gap: 0; }
  .book-side { display: contents; }
  .book-side .label { order: 0; }
  .book-side .title { order: 1; }
  .book-side .body { order: 2; }
  .book-urgent { order: 3; margin-top: 16px; }
  .book-card { order: 4; margin-top: 22px; }
  .book-portal { order: 5; margin-top: 18px; }
  .doc, .doc-alt { grid-template-columns: minmax(0, 1fr); }
  .doc-alt .doc-frame { order: 0; }
  .doc-frame { max-width: 390px; }
  .sim-frame { aspect-ratio: 4 / 3.4; }
  .foot-row { grid-template-columns: 1fr 1fr; }
  .foot-small { grid-column: 1 / -1; justify-self: start; }
  /* Tablet portrait still pins; give it the stacked prism layout. */
  .prism .stage { display: flex; flex-direction: column; gap: 0; padding: calc(var(--nav-h) + 16px) var(--gutter) 14px; }
  .prism-copy { padding: 0; max-width: none; }
  .bands { margin-top: 108px; }
  .voyage .stage { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 12px; padding: calc(var(--nav-h) + 12px) var(--gutter) 14px; }
  .voyage-cards { min-height: clamp(200px, 30svh, 270px); }
}

/* Stacked layout: phones and short screens. Nothing here needs a whole screen to itself. */
.no-pin .prism .stage { display: block; padding: 58px var(--gutter) 54px; }
.no-pin .prism-copy { padding: 0; max-width: none; }
.no-pin .bands { margin-top: 108px; }
.no-pin .band-panel p { font-size: 1rem; line-height: 1.5; }
.no-pin .voyage .stage { display: block; padding: 0 0 40px; }
.no-pin .voyage-art { position: sticky; top: calc(var(--nav-h) + 4px); z-index: 3; height: min(44svh, 86vw); min-height: 0; margin: 0 var(--gutter) 12px; }
.no-pin .voyage-copy { padding: 0 var(--gutter); }
.no-pin .voyage-copy .label { padding-top: 36px; }
.no-pin .voyage-cards { min-height: 0; }
.no-pin .vcard { position: relative; inset: auto; visibility: visible; opacity: .42; transform: none; padding: 30px 0 36px; border-bottom: 1px solid rgba(209, 169, 92, .3); }
.no-pin .vcard.is-on { opacity: 1; }
.no-pin .vcard .title { font-size: 1.85rem; margin-bottom: 9px; }
.no-pin .voyage-track { display: none; }
.no-pin .gallery .stage { display: block; padding: 58px 0 54px; }
.no-pin .gallery-head { margin-bottom: 22px; }
.no-pin .gallery-track { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; align-items: center; padding: 12px var(--gutter) 22px; scrollbar-width: none; }
.no-pin .gallery-track::-webkit-scrollbar { display: none; }
.no-pin .frame { scroll-snap-align: center; width: 80vw; height: auto; aspect-ratio: 4 / 3; }
.no-pin .frame.is-tall { aspect-ratio: 960 / 1075; width: 70vw; }

/* ============ PHONE ============ */
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .dock { display: flex; }
  .nav .btn-main { display: none; }
  .brand-word { font-size: 1.34rem; }
  .brand-word i { font-size: .6rem; }
  .hero-copy { bottom: 74px; }
  .hero-hint { display: none; }
  .hero-where { margin-bottom: 4px; font-size: .98rem; }
  .hero-where::before { display: none; }
  .hero-row { margin-top: 8px; }
  .hero .display { font-size: clamp(2.1rem, 9.2vw, 3rem); }
  .hero-wit { display: none; }
  .lede { display: none; }
  .hero-facts { display: none; }
  .rating-pill { margin-top: 10px; font-size: .8rem; padding: 5px 10px; }
  .rp-lead { display: none; }
  /* The conditions become one strip above the dial */
  .conds { inset: var(--nav-h) 0 auto 0; height: 50px; display: flex; align-items: center; gap: 7px; overflow-x: auto; padding: 0 var(--gutter); scrollbar-width: none; pointer-events: auto; }
  .conds::-webkit-scrollbar { display: none; }
  .cond { position: static; transform: none; flex: none; min-height: 34px; padding: 4px 11px; font-size: .86rem; box-shadow: 0 0 0 1px var(--gold); }
  .cond:hover { transform: none; }
  .medallion { --d: min(50vw, 29svh); top: calc(var(--nav-h) + 50px + 54px); }
  .eye-note { left: var(--gutter); right: var(--gutter); width: auto; bottom: 74px; }
  .hero-cta { display: none; }
  .lede { font-size: .98rem; line-height: 1.38; }
  .title { font-size: clamp(1.9rem, 8.2vw, 2.5rem); }
  .mark { height: 28px; margin: 4px 0 10px; }
  .chart-inner, .sim, .doctors, .lab, .reviews, .book, .visit { padding-top: 58px; padding-bottom: 58px; }
  .chart-inner { gap: 28px; }
  .snellen div:nth-child(1) { font-size: 4.6rem; }
  .snellen div:nth-child(2) { font-size: 3.2rem; }
  .snellen div:nth-child(3) { font-size: 2.2rem; }
  .snellen div:nth-child(4) { font-size: 1.45rem; }
  .snellen div:nth-child(5) { font-size: .98rem; }
  .sim-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 14px; padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .sim-tabs::-webkit-scrollbar { display: none; }
  .sim-tabs button { flex: none; }
  .sim-note { min-height: 4.8em; font-size: 1rem; }
  .doctor-list { gap: 56px; }
  .doc { gap: 20px; }
  .doc-name { font-size: 2rem; }
  .step-view { min-height: 240px; }
  .step-nav .btn { flex: 1; min-width: 0; padding-inline: 14px; }
  .steps li { font-size: .78rem; }
  .doc-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .done-sum div { grid-template-columns: minmax(0, 1fr); gap: 1px; }
  .visit-actions .btn { flex: 1 1 100%; }
  .lab-card { min-height: 0; padding: 22px 20px; }
  .rx-grid { font-size: .86rem; grid-template-columns: 2.7em repeat(4, minmax(0, 1fr)); gap: 4px; }
  .ribbon { padding: 12px 0; }
}

@media (hover: none) {
  .hint-fine { display: none; }
  .hint-touch { display: inline; }
}

@media (max-height: 640px) {
  .hero-hint, .lede { display: none; }
  .hero .display { font-size: clamp(2rem, 8vh, 3rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}


/* ============ THE LATER SECTIONS ============ */
/* Part of a heading picked out in italic gold */
.title em { font-style: italic; font-weight: 500; color: var(--gold-ink); }

/* An icon on a small round plate */
.ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); color: var(--navy); box-shadow: 0 0 0 1px rgba(50, 100, 165, .6), 0 4px 12px -6px rgba(90, 70, 30, .35); }
.ic svg { width: 20px; height: 20px; }

/* Hero: the rating, and three facts */
.rating-pill { display: inline-flex; align-items: center; flex-wrap: wrap; align-self: flex-start; gap: 7px; margin-top: clamp(12px, 2vh, 18px); padding: 6px 14px; background: var(--paper); border-radius: 999px; box-shadow: 0 0 0 1px rgba(50, 100, 165, .6); font-size: .9rem; color: var(--ink-2); text-decoration: none; transition: box-shadow .2s; }
.rating-pill:hover { box-shadow: 0 0 0 1px var(--gold), 0 6px 16px -8px rgba(90, 70, 30, .5); }
.rating-pill b { font-size: 1rem; color: var(--navy); }
.rp-stars { display: inline-flex; gap: 2px; color: #c9962e; }
.rp-stars svg { width: 14px; height: 14px; }
.hero-facts { display: flex; gap: clamp(10px, 1.2vw, 18px); margin-top: clamp(10px, 1.8vh, 16px); font-size: .88rem; line-height: 1.25; color: var(--ink); }
.hero-facts li { display: flex; align-items: center; gap: 8px; flex: 1 1 0; min-width: 0; }
.hero-facts li + li { padding-left: clamp(10px, 1.2vw, 18px); border-left: 1px solid rgba(50, 100, 165, .45); }
.hero .hero-cta { margin-top: clamp(12px, 2vh, 18px); }
.hero .hero-row { margin-top: clamp(8px, 1.4vh, 14px); }

/* Why Spectrum */
.why { position: relative; padding: clamp(60px, 11vh, 120px) var(--gutter) clamp(50px, 8vh, 90px); background: var(--ivory); }
.why-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: clamp(22px, 4vh, 38px); }
.why-head .title { color: var(--navy); }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr); gap: clamp(12px, 1.5vw, 22px); max-width: 1560px; margin: 0 auto; }
.why-card { background: var(--paper); padding: 10px 10px 18px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(50, 100, 165, .4), 0 12px 26px -18px rgba(90, 70, 30, .55); transition: transform .3s var(--ease), box-shadow .3s; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--gold), 0 18px 32px -18px rgba(90, 70, 30, .65); }
.why-pic { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--sand); }
.why-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.why-card:hover .why-pic img { transform: scale(1.05); }
.why-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.28rem; line-height: 1.16; color: var(--navy); margin: 13px 6px 6px; }
.why-card p { margin: 0 6px; font-size: .96rem; line-height: 1.42; color: var(--ink-2); }
.why-figs { display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: clamp(16px, 2.6vh, 28px) 16px; padding: clamp(18px, 2vw, 30px); background: var(--sand); border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(50, 100, 165, .35); }
.why-fig .ic { margin-bottom: 9px; }
.why-fig b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.18rem; line-height: 1.15; color: var(--navy); }
.why-fig span.s { display: block; margin-top: 3px; font-size: .88rem; line-height: 1.3; color: var(--ink-2); }

/* Understand your eye condition */
.conditions { position: relative; background: var(--sand); padding: clamp(40px, 7vh, 80px) var(--gutter); }
.cn-head { margin-bottom: 14px; }
.cn-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: clamp(18px, 3vh, 30px); }
.cn-pill { min-height: 44px; padding: 8px 20px; border-radius: 999px; background: var(--paper); color: var(--navy); font-weight: 600; box-shadow: 0 0 0 1px rgba(50, 100, 165, .55); transition: background .2s, color .2s; }
.cn-pill:hover { background: #fff; }
.cn-pill[aria-selected="true"] { background: var(--navy); color: #f7f3ea; box-shadow: none; }
.cn-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr); gap: clamp(20px, 3vw, 44px); align-items: start; animation: stepIn .45s var(--ease); max-width: 1560px; }
.cn-side-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.cn-side-head h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.14; color: var(--navy); }
.cn-lead { color: var(--ink-2); margin-bottom: 14px; }
.cn-photo { aspect-ratio: 16 / 11; overflow: hidden; border-radius: 6px; box-shadow: 0 0 0 1px rgba(50, 100, 165, .5); background: var(--ivory); }
.cn-photo img { width: 100%; height: 100%; object-fit: cover; }
.cn-ask { margin-top: 14px; padding: 18px 20px; background: var(--paper); border-radius: 6px; box-shadow: 0 0 0 1px rgba(50, 100, 165, .45); }
.cn-ask h4 { margin: 0 0 4px; font-family: var(--serif); font-weight: 600; font-size: 1.24rem; color: var(--navy); }
.cn-ask p { font-size: .95rem; color: var(--ink-2); margin-bottom: 12px; }
.cn-ask-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cn-tabs { display: flex; gap: 0; border-bottom: 1px solid rgba(50, 100, 165, .55); overflow-x: auto; scrollbar-width: none; }
.cn-tabs::-webkit-scrollbar { display: none; }
.cn-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 10px clamp(12px, 1.6vw, 22px); font-weight: 600; color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.cn-tab svg { width: 18px; height: 18px; }
.cn-tab:hover { color: var(--navy); }
.cn-tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--gold); }
.cn-panel { padding: clamp(16px, 2vw, 26px); background: rgba(255, 250, 240, .75); box-shadow: inset 0 0 0 1px rgba(50, 100, 165, .25); border-top: 0; animation: stepIn .4s var(--ease); }
.cn-panel-head { text-align: center; margin-bottom: 16px; }
.cn-panel-head h4 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(1.2rem, 1.7vw, 1.46rem); color: var(--navy); }
.cn-panel-head p { margin-top: 3px; font-size: .95rem; color: var(--ink-2); }
.cn-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.cn-card { background: #fffdf8; padding: 9px 9px 13px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(50, 100, 165, .3), 0 8px 18px -14px rgba(90, 70, 30, .5); }
.cn-card h5 { margin: 10px 5px 0; font-weight: 600; font-size: 1rem; line-height: 1.28; color: var(--navy); }
.cn-card.is-urgent h5 { color: #8a1427; }
.cn-card.plain { padding: 16px 18px; }
.cn-card.plain h5 { margin: 0 0 4px; font-family: var(--serif); font-size: 1.16rem; }
.cn-card.plain p { font-size: .95rem; line-height: 1.42; color: var(--ink-2); }
/* The little pictures: the same street scene, as each symptom might make it look */
.sym-pic { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: #cfe0ea; isolation: isolate; }
.sym-pic .scene { position: absolute; inset: 0; }
.sym-pic .fx-over, .sym-pic .fx-over2 { position: absolute; inset: 0; pointer-events: none; }
[data-fx="cloudy"] .scene { filter: blur(2.2px) sepia(.6) brightness(.96) contrast(.74); }
[data-fx="cloudy"] .fx-over { background: rgba(255, 242, 210, .3); }
[data-fx="glare"] .scene { filter: brightness(1.05) contrast(.86); }
[data-fx="glare"] .fx-over { background: radial-gradient(circle at 27% 40%, rgba(255, 250, 225, .95) 0, rgba(255, 240, 190, .55) 14%, rgba(255, 235, 180, .12) 34%, transparent 52%); }
[data-fx="faded"] .scene { filter: sepia(.75) saturate(.5) brightness(1.02) contrast(.82); }
[data-fx="night"] .scene { filter: brightness(.42) saturate(.6) blur(.7px); }
[data-fx="night"] .fx-over { background: radial-gradient(circle at 70% 36%, rgba(255, 240, 190, .85) 0, rgba(255, 230, 170, .2) 9%, transparent 22%), radial-gradient(circle at 30% 42%, rgba(255, 240, 190, .8) 0, rgba(255, 230, 170, .16) 8%, transparent 20%); }
[data-fx="blur"] .scene { filter: blur(3.4px); }
[data-fx="near"] .scene { filter: blur(1.4px) saturate(.9); }
[data-fx="strain"] .scene { filter: blur(1px) contrast(.92); }
[data-fx="strain"] .fx-over { background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(90, 60, 40, .28) 100%); }
[data-fx="tunnel"] .fx-over { background: radial-gradient(ellipse 38% 48% at 50% 50%, transparent 0, transparent 46%, rgba(10, 10, 12, .78) 82%, #0a0a0c 100%); }
[data-fx="halo"] .scene { filter: brightness(.7) saturate(.8); }
[data-fx="halo"] .fx-over { background: radial-gradient(circle at 34% 40%, transparent 4%, rgba(255, 240, 170, .75) 7%, rgba(255, 170, 120, .3) 10%, rgba(120, 170, 255, .28) 13%, transparent 17%), radial-gradient(circle at 70% 45%, transparent 3%, rgba(255, 240, 170, .7) 6%, rgba(255, 170, 120, .28) 9%, rgba(120, 170, 255, .26) 12%, transparent 16%); }
[data-fx="spots"] .scene { filter: blur(.8px); }
[data-fx="spots"] .fx-over { background: radial-gradient(circle at 30% 34%, rgba(20, 16, 20, .78) 0, transparent 5%), radial-gradient(ellipse 6% 2.4% at 58% 56%, rgba(20, 16, 20, .7) 0, transparent 100%), radial-gradient(circle at 70% 28%, rgba(20, 16, 20, .7) 0, transparent 3.5%), radial-gradient(circle at 44% 72%, rgba(20, 16, 20, .72) 0, transparent 4.5%); }
[data-fx="wavy"] .scene { filter: url(#fxWavy) blur(.3px); }
[data-fx="curtain"] .fx-over { background: linear-gradient(195deg, rgba(10, 10, 14, .95) 0, rgba(10, 10, 14, .88) 34%, transparent 58%); }

/* Reviews */
.rv-head { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap; margin-bottom: clamp(18px, 3vh, 30px); }
.rv-head .score-top { width: clamp(170px, 18vw, 230px); margin: 0; }
.rv-head .score-num { font-size: clamp(3.4rem, 5vw, 4.6rem); }
.rv-title .score-stars { margin: 8px 0 6px; color: #c9962e; }
.rv-title .score-sub { max-width: none; margin: 0; }
.rv-wrap { position: relative; }
.rv-track { display: flex; gap: clamp(12px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 14px; scroll-behavior: smooth; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-card { position: relative; flex: 0 0 min(46%, 620px); scroll-snap-align: start; padding: clamp(18px, 2vw, 28px); background: var(--paper); border-radius: 6px; box-shadow: 0 0 0 1px rgba(50, 100, 165, .4), 0 12px 24px -18px rgba(90, 70, 30, .55); display: flex; flex-direction: column; gap: 10px; min-height: 196px; }
.rv-mark { position: absolute; top: 12px; right: 20px; font-family: var(--serif); font-size: 5.4rem; line-height: 1; color: rgba(50, 100, 165, .22); pointer-events: none; }
.rv-who { display: flex; align-items: center; gap: 12px; }
.rv-avatar { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #f7f3ea; font-family: var(--serif); font-size: 1.34rem; }
.rv-avatar svg { width: 24px; height: 24px; }
.rv-name { font-family: var(--serif); font-weight: 600; font-size: 1.22rem; color: var(--navy); line-height: 1.15; }
.rv-src { font-size: .86rem; color: var(--ink-2); }
.rv-card blockquote { font-size: 1.06rem; line-height: 1.46; color: var(--ink); }
.rv-card .rp-stars svg { width: 19px; height: 19px; }
.rv-arrow { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--navy); box-shadow: 0 0 0 1px var(--gold), 0 6px 14px -8px rgba(90, 70, 30, .5); transition: background .2s; }
.rv-arrow:hover { background: #fff; }
.rv-prev { left: -12px; }
.rv-next { right: -12px; }
.rv-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: clamp(14px, 3vh, 26px); }

/* Find us */
.find { margin-top: 18px; padding: 16px 18px; background: var(--paper); border-radius: 6px; box-shadow: 0 0 0 1px rgba(50, 100, 165, .45); }
.find label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 7px; color: var(--navy); }
.find-row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.find select { flex: 1 1 160px; min-height: 50px; padding: 8px 14px; font-size: 16px; background: #fff; border: 1px solid rgba(50, 100, 165, .6); border-radius: 4px; }
.find-me { flex: none; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: #fff; box-shadow: 0 0 0 1px var(--gold); transition: background .2s, color .2s; }
.find-me:hover { background: var(--navy); color: #f7f3ea; }
.visit-actions { margin-top: 14px; }
.eye-note-links { display: flex; gap: 14px; flex-wrap: wrap; }

/* A round call button, once you have scrolled past the top. Phones have the dock instead. */
.fab { position: fixed; z-index: 44; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 3vh, 28px); width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #f7f3ea; box-shadow: 0 0 0 3px var(--ivory), 0 0 0 4px var(--gold), 0 12px 24px -10px rgba(20, 39, 94, .6); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease); }
.past-hero .fab { opacity: 1; pointer-events: auto; transform: none; }
.fab:hover { background: var(--navy-2); }

@media (max-width: 1180px) {
  .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-figs { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cn-layout { grid-template-columns: minmax(0, 1fr); }
  .cn-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 20px; }
  .cn-side-head, .cn-lead { grid-column: 1 / -1; }
  .cn-ask { margin-top: 0; }
}
@media (max-width: 760px) {
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-figs { grid-template-columns: 1fr 1fr; }
  .cn-side { display: block; }
  .cn-ask { margin-top: 14px; }
  .rv-card { flex-basis: 86%; }
  .rv-arrow { display: none; }
  .cn-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .cn-pill { flex: none; }
  .cn-cards { gap: 9px; }
  .cn-card h5 { font-size: .92rem; margin-top: 8px; }
  .cn-card.plain h5 { font-size: 1.08rem; }
  .cn-panel { padding: 12px; }
}
@media (max-width: 640px) {
  .fab { display: none; }
  .conditions, .why { padding-top: 48px; padding-bottom: 48px; }
  .cn-cards.plain-list { grid-template-columns: minmax(0, 1fr); }
}

/* The surgery photo keeps the surgeon and his hands in view wherever it is cropped; in the condition
   panel it is shown whole. */
.why-pic img[src*="operation-theatre"] { object-position: 50% 42%; }
.cn-photo.is-tall { aspect-ratio: 960 / 1075; }

/* The figures and the gold seals */
.honours { position: relative; z-index: 2; background: var(--ivory); padding: clamp(30px, 6vh, 64px) var(--gutter) clamp(26px, 5vh, 54px); }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1320px; margin: 0 auto; }
.stat { text-align: center; padding: 6px clamp(8px, 1.6vw, 24px); }
.stat + .stat { border-left: 1px solid rgba(50, 100, 165, .5); }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-variation-settings: 'opsz' 28; font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.05; color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.stat span { display: block; margin-top: 5px; font-size: clamp(.86rem, 1.1vw, 1rem); color: var(--ink-2); }
.seal-row { display: flex; justify-content: center; gap: clamp(8px, 1.5vw, 24px); max-width: 1320px; margin: clamp(22px, 4vh, 38px) auto 0; }
.seal { flex: 1 1 0; min-width: 0; max-width: 150px; height: auto; overflow: visible; filter: drop-shadow(0 6px 8px rgba(90, 66, 20, .28)); transition: transform .35s var(--ease); }
.seal:hover { transform: translateY(-5px) scale(1.04); }
.seal-spin { transform-origin: 70px 66px; animation: sealTurn 46s linear infinite; }
.seal:nth-child(even) .seal-spin { animation-duration: 58s; }
@keyframes sealTurn { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .stat:nth-child(3) { border-left: 0; }
  .seal-row { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 12px; scrollbar-width: none; gap: 12px; }
  .seal-row::-webkit-scrollbar { display: none; }
  .seal { flex: 0 0 112px; scroll-snap-align: center; }
}


/* ============================================================================================
   THE WHOLE PAGE, PHONE FIRST. These rules come last and settle the layout: every section is an
   ordinary block that scrolls normally, and nothing is hidden waiting for an animation.
   ============================================================================================ */
body { background: #fff; color: var(--ink); }
.title { font-weight: 800; letter-spacing: -.018em; font-size: clamp(1.7rem, 3.1vw, 2.8rem); line-height: 1.12; color: var(--ink) !important; font-variation-settings: normal; }
.title em { font-style: normal; font-weight: 800; color: var(--navy-2); }
.label { display: inline-block; font-style: normal; font-weight: 700; font-size: .84rem; letter-spacing: .02em; color: var(--teal); background: #e3f4f4; padding: 4px 11px; border-radius: 999px; margin-bottom: 9px; }
.section-wit { font-family: var(--royal); font-style: italic; color: var(--gold); font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
.body { color: var(--ink-2); }
.js .doc .doc-portrait, .js .doc.in .doc-portrait { clip-path: none; transition: none; }
.js .doc-portrait img, .js .doc-placeholder { transform: none; transition: none; }
[data-reveal], .js [data-reveal], .js .lab-card[data-reveal] { opacity: 1 !important; transform: none !important; animation: none !important; }
section { scroll-margin-top: calc(var(--nav-h) + 8px); }
.chart, .sim, .doctors, .lab, .reviews, .book, .visit, .why, .conditions, .gallery, .voyage, .prism, .honours { padding: clamp(40px, 7vh, 76px) var(--gutter); }
.doctors, .why, .gallery, .book, .lab, .sim { background: #fff; background-image: none; }
.prism, .conditions, .reviews, .visit, .voyage, .chart { background: var(--sand); }
.honours { background: var(--cream); }

/* Buttons: rounded and solid */
.btn { clip-path: none; border-radius: 999px; min-height: 50px; padding: 12px 24px; font-weight: 700; }
.btn::before { display: none; }
.btn-main { background: var(--navy); color: #fff; box-shadow: 0 8px 18px -8px rgba(11, 61, 145, .6); }
.btn-main:hover:not([disabled]) { background: var(--navy-2); }
.btn-line { color: var(--navy); background: #fff; box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-sm { min-height: 44px; padding: 8px 18px; }

/* Header */
.nav { background: #fff; color: var(--ink); border-bottom: 1px solid #dfe9f3; box-shadow: 0 2px 12px -8px rgba(16, 35, 63, .3); height: var(--nav-h); }
.brand-word { color: var(--navy); font-weight: 800; font-size: 1.5rem; letter-spacing: -.01em; }
.brand-word i { color: var(--teal); letter-spacing: .28em; }
.brand-mark { height: 52px; }
.nav-links a { font-family: var(--body); font-size: 1rem; font-weight: 600; color: var(--ink); }
.nav-links a:hover, .nav-links a.is-here { color: var(--navy-2); }
.nav-links a::after { bottom: 0; width: 100%; left: 0; margin: 0; height: 3px; border: 0; background: var(--navy-2); border-radius: 3px; transform: scaleX(0); }
.nav-links a:hover::after, .nav-links a.is-here::after { transform: scaleX(1); }
.nav-portal { color: var(--navy); font-weight: 600; }
.nav-toggle { clip-path: none; border-radius: 12px; background: var(--navy); color: #fff; border: 0; }
.sheet { background: #fff; top: var(--nav-h); box-shadow: 0 16px 28px -14px rgba(16, 35, 63, .4); border: 0; }
.sheet a { font-family: var(--body); font-weight: 600; border-bottom: 1px solid #e6eef6; color: var(--ink); }
.progress { height: 3px; bottom: -1px; }
.progress span { background: linear-gradient(90deg, #0b3d91, #0fa3b1, #1fa971); }

/* Hero */
.hero { height: auto; background: linear-gradient(115deg, #fff 0, #f4f9fd 55%, #e4f1fb 100%); }
.hero .stage, .no-pin .hero .stage { position: relative; top: auto; height: auto; min-height: min(calc(100svh - 10px), 860px); overflow: hidden; background: none; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; gap: 0 clamp(16px, 2vw, 32px); padding: calc(var(--nav-h) + clamp(16px, 3vh, 34px)) var(--gutter) clamp(20px, 3vh, 36px); }
.hero-copy { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; display: block; z-index: 2; }
.hero-name { font-weight: 800; font-size: clamp(2.5rem, 5.1vw, 4.8rem); line-height: 1.02; letter-spacing: -.028em; color: var(--navy); }
.hero-name span { color: var(--teal); }
.hero-where { display: flex; align-items: center; gap: 7px; font-family: var(--body); font-style: normal; font-weight: 600; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--ink); margin: 8px 0 0; }
.hero-where::before { display: none !important; }
.hero-where svg { color: var(--amber); flex: none; }
.display, .hero .display { font-family: var(--royal); font-style: italic; font-weight: 500; font-size: clamp(1.3rem, 2.3vw, 2rem); line-height: 1.2; letter-spacing: 0; color: var(--gold); max-width: none; margin-top: clamp(8px, 1.6vh, 16px); text-shadow: none; }
.display em { font-style: italic; font-weight: 600; color: var(--gold); }
.lede { color: var(--ink-2); margin-top: clamp(8px, 1.4vh, 14px); max-width: 32em; }
.rating-pill { margin-top: clamp(12px, 1.8vh, 18px); background: #fff; box-shadow: 0 0 0 1px #dfe9f3, var(--shadow); }
.rp-stars { color: #f0a30a; }
.hero .hero-cta { margin-top: clamp(14px, 2.2vh, 22px); }
.eye-cell { position: relative; z-index: 1; display: grid; place-items: center; padding: clamp(70px, 9vh, 100px) 0; }
.medallion { --d: clamp(230px, min(31vw, calc(100svh - var(--nav-h) - 300px)), 500px); position: relative; left: auto; top: auto; background: #fff; }
#heroDial { z-index: 0; }
.cond { border-radius: 999px; font-weight: 700; background: #fff; box-shadow: 0 0 0 1px #d5e2ef, var(--shadow); }
.cond span { border-radius: 2px; }
.cond.is-on { background: var(--c); color: #fff; box-shadow: var(--shadow); }
.eye-note { border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px #dfe9f3, inset 0 4px 0 var(--c, var(--navy)), var(--shadow); }
.eye-note h2 { font-family: var(--body); font-weight: 800; color: var(--ink); }
.eye-note p { color: var(--ink-2); }
.eye-note a { color: var(--navy-2); }

/* Clinic details, straight under the hero */
.details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); padding: clamp(14px, 2vw, 22px) var(--gutter) clamp(18px, 3vh, 30px); background: #fff; position: relative; z-index: 2; }
.tile { display: flex; gap: 13px; align-items: flex-start; padding: 16px; background: #fff; border-radius: var(--r); box-shadow: 0 0 0 1px #dfe9f3, var(--shadow); border-top: 4px solid var(--c); text-decoration: none; color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s; }
.tile:hover { transform: translateY(-3px); }
.tile .ic { background: var(--c); color: #fff; width: 44px; height: 44px; box-shadow: none; }
.tile-text { display: grid; gap: 3px; min-width: 0; font-size: .95rem; line-height: 1.34; color: var(--ink-2); }
.tile-text b { font-size: 1.04rem; color: var(--ink); }
.tile-text i { font-style: normal; font-weight: 700; font-size: .9rem; color: var(--c); margin-top: 2px; }
.ic { background: #fff; color: var(--navy); box-shadow: 0 0 0 1px #d5e2ef; }

/* Figures, as solid coloured tiles, and the gold seals */
.stat-row { gap: clamp(10px, 1.2vw, 16px); max-width: 1500px; }
.stat { color: #fff; border-radius: var(--r); padding: clamp(16px, 2vw, 26px) 12px; box-shadow: var(--shadow); }
.stat + .stat { border-left: 0; }
.stat:nth-child(1) { background: var(--navy); } .stat:nth-child(2) { background: var(--teal); } .stat:nth-child(3) { background: var(--green); } .stat:nth-child(4) { background: var(--amber); }
.stat b { font-family: var(--body); font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 3.2rem); letter-spacing: -.02em; color: #fff; font-variation-settings: normal; }
.stat span { color: rgba(255, 255, 255, .94); font-weight: 500; }

/* Doctors */
.doctors-head { margin-bottom: clamp(18px, 3vh, 30px); }
.doctor-list { gap: clamp(22px, 3vw, 32px); grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1500px; margin: 0 auto; }
.doc, .doc-alt { display: flex; flex-direction: column; gap: 0; max-width: none; background: #fff; border-radius: var(--r); box-shadow: 0 0 0 1px #dfe9f3, var(--shadow); overflow: hidden; align-items: stretch; }
.doc-alt .doc-frame { order: 0; }
.doc-frame { max-width: none; padding: 0; background: var(--sand); box-shadow: none; justify-self: auto; transform: none !important; }
.doc-frame::after { display: none; }
.doc-portrait { aspect-ratio: 16 / 12; background: var(--sand); }
.doc-portrait img { object-fit: contain; object-position: 50% 100%; scale: 1; translate: none !important; }
.doc-text { padding: 18px clamp(16px, 2vw, 26px) 22px; }
.doc-name { font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.015em; color: var(--navy); }
.doc-degrees { color: var(--ink); font-weight: 700; margin-top: 6px; }
.doc-honour { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 3px 11px; border-radius: 999px; color: #7a5a12; background: #fbf2d9; font-size: .92rem; font-weight: 700; }
.doc-facts { border-top: 1px solid #e6eef6; margin: 14px 0; padding-top: 12px; }

/* Treatments: the beam and the rays */
.prism .stage, .no-pin .prism .stage { position: relative; top: auto; height: auto; overflow: visible; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: start; gap: 0 clamp(150px, 19vw, 280px); padding: 0; }
.no-pin .prism-copy, .prism-copy { position: relative; z-index: 1; padding: 0; max-width: 26em; }
.no-pin .bands, .bands { margin-top: 0; background: transparent; padding: 0; position: relative; z-index: 1; }
.band { border-top: 1px solid #d5e2ef; }
.band:last-child { border-bottom: 1px solid #d5e2ef; }
.band-name { font-family: var(--body); font-weight: 700; color: var(--ink); font-size: clamp(1.02rem, 1.4vw, 1.2rem); }
.band-dot { width: 12px; height: 12px; opacity: 1; }
.band.is-on .band-name { color: var(--navy); }
.band-panel a { color: var(--navy-2); }

/* Why */
.why-head { margin-bottom: clamp(16px, 3vh, 26px); }
.why-card { border-radius: var(--r); padding: 0 0 16px; overflow: hidden; box-shadow: 0 0 0 1px #dfe9f3, var(--shadow); }
.why-pic { border-radius: 0; }
.why-card h3 { font-family: var(--body); font-weight: 800; font-size: 1.14rem; color: var(--ink); margin: 13px 14px 5px; }
.why-card p { margin: 0 14px; }
.why-figs { background: var(--sand); border-radius: var(--r); box-shadow: none; }
.why-fig b { font-family: var(--body); font-weight: 800; font-size: 1.1rem; color: var(--navy); }
.why-fig:nth-child(1) .ic { background: var(--navy); color: #fff; } .why-fig:nth-child(2) .ic { background: #c9962e; color: #fff; } .why-fig:nth-child(3) .ic { background: var(--teal); color: #fff; } .why-fig:nth-child(4) .ic { background: var(--amber); color: #fff; }

/* Conditions */
.cn-pill { box-shadow: 0 0 0 1px #d5e2ef; background: #fff; color: var(--ink); font-weight: 700; }
.cn-pill[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: 0 8px 16px -8px rgba(11, 61, 145, .6); }
.cn-side-head h3 { font-family: var(--body); font-weight: 800; color: var(--ink); }
.cn-side-head .ic { background: var(--navy); color: #fff; }
.cn-photo { border-radius: var(--r); box-shadow: none; }
.cn-ask { border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px #dfe9f3, inset 0 4px 0 var(--teal); }
.cn-ask h4 { font-family: var(--body); font-weight: 800; color: var(--ink); }
.cn-tabs { border-bottom: 1px solid #cfdeec; }
.cn-tab { color: var(--ink-2); }
.cn-tab[aria-selected="true"] { color: var(--navy-2); border-bottom-color: var(--navy-2); }
.cn-tab svg { color: var(--teal); }
.cn-panel { background: #fff; border-radius: 0 0 var(--r) var(--r); box-shadow: 0 0 0 1px #dfe9f3; }
.cn-panel-head h4 { font-family: var(--body); font-weight: 800; color: var(--navy); }
.cn-card { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px #e1ebf4, var(--shadow); }
.cn-card h5 { color: var(--ink); }
.cn-card.plain { border-left: 4px solid var(--teal); }
.cn-card.plain h5 { font-family: var(--body); font-weight: 800; }
.cn-card.plain:nth-child(2) { border-left-color: var(--navy-2); } .cn-card.plain:nth-child(3) { border-left-color: var(--green); } .cn-card.plain:nth-child(4) { border-left-color: var(--amber); }
.sym-pic { border-radius: 8px; }

/* Clinic photographs: nothing is ever cropped */
.gallery .stage, .no-pin .gallery .stage { position: relative; top: auto; height: auto; overflow: visible; display: block; padding: 0; }
.gallery-head { padding: 0; margin-bottom: clamp(16px, 3vh, 26px); }
.gallery-track, .no-pin .gallery-track { display: block; columns: 3 280px; column-gap: 16px; height: auto; overflow: visible; padding: 0; transform: none !important; }
.frame, .no-pin .frame, .no-pin .frame.is-tall, .frame.is-tall { display: block; width: auto; height: auto; aspect-ratio: auto; break-inside: avoid; margin: 0 0 16px; outline: 0; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px #dfe9f3, var(--shadow); transform: none !important; }
.frame img { width: 100%; height: auto; display: block; }
.frame figcaption { position: static; background: #fff; color: var(--ink); font-weight: 600; padding: 10px 13px; }

/* Reviews */
.rv-card { border-radius: var(--r); box-shadow: 0 0 0 1px #dfe9f3, var(--shadow); }
.rv-avatar { background: var(--navy); }
.rv-name { font-family: var(--body); font-weight: 800; color: var(--navy-2); }
.rv-mark { color: #dbe7f3; font-family: var(--royal); }
.rv-arrow { box-shadow: 0 0 0 1px #d5e2ef, var(--shadow); background: #fff; color: var(--navy); }
.score-num { font-family: var(--royal); color: #a97f30; }
.laurel path { fill: #c9962e; }
.score-stars { color: #f0a30a; }

/* Form and tools */
.book-card { border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px #dfe9f3, var(--shadow); }
.step-title, .lab-dialog h2, .privacy h2 { font-family: var(--body); font-weight: 800; }
.lab-grid { gap: clamp(10px, 1.2vw, 18px); }
.lab-card { background: #fff; border-radius: var(--r); box-shadow: 0 0 0 1px #dfe9f3, var(--shadow); border-top: 4px solid var(--c); min-height: 0; padding: 18px; }
.lab-card:nth-child(8n+1) { --c: #d6334c; } .lab-card:nth-child(8n+2) { --c: #0b3d91; } .lab-card:nth-child(8n+3) { --c: #0b7f86; } .lab-card:nth-child(8n+4) { --c: #15803d; } .lab-card:nth-child(8n+5) { --c: #7a4fd0; } .lab-card:nth-child(8n+6) { --c: #0284c7; } .lab-card:nth-child(8n+7) { --c: #c2410c; } .lab-card:nth-child(8n+8) { --c: #0d9488; }
.lab-card svg.lab-ic { width: 48px; height: 48px; padding: 11px; border-radius: 50%; background: var(--c); color: #fff; }
.lab-card b { font-family: var(--body); font-weight: 800; font-size: 1.12rem; color: var(--ink); }
.lab-card:hover { background: #fff; transform: translateY(-3px); }
.lab-card:hover small { color: var(--ink-2); }
.lab-card::after { display: none; }
.lab-go, .lab-card:hover .lab-go { display: inline-block; justify-self: start; padding: 5px 14px; border-radius: 999px; background: var(--c); color: #fff; font-weight: 700; font-size: .88rem; margin-top: 8px; }
.lab-dialog, .privacy { border-radius: var(--r); box-shadow: 0 30px 70px -20px rgba(16, 35, 63, .5); background: #fff; }
.lab-dialog::backdrop, .privacy::backdrop { background: rgba(16, 35, 63, .55); }

/* Anatomy, without a scroll takeover: choose a part */
.voyage .stage, .no-pin .voyage .stage { position: relative; top: auto; height: auto; overflow: visible; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 44px); align-items: center; padding: 0; }
.voyage-art, .no-pin .voyage-art { position: relative; top: auto; height: clamp(280px, 56vh, 520px); margin: 0; background: #fff; border-radius: var(--r); box-shadow: 0 0 0 1px #dfe9f3; }
.no-pin .voyage-copy { padding: 0; }
.no-pin .voyage-copy .label { padding-top: 4px; }
.voyage-cards, .no-pin .voyage-cards { position: relative; min-height: clamp(210px, 28vh, 280px); }
.vcard, .no-pin .vcard { position: absolute; inset: 0; opacity: 0; visibility: hidden; padding: 0; border: 0; transform: none; }
.vcard.is-on, .no-pin .vcard.is-on { opacity: 1; visibility: visible; }
.vcard .title, .no-pin .vcard .title { font-size: clamp(1.5rem, 2.4vw, 2.2rem); }
.vcard-care { color: var(--teal); }
.voyage-track, .no-pin .voyage-track { display: flex; flex-wrap: wrap; gap: 7px; }
.voyage-track button { flex: none; display: block; min-height: 40px; padding: 7px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #d5e2ef; }
.voyage-track span { display: none; }
.voyage-track em { color: var(--ink); font-weight: 600; font-size: .92rem; }
.voyage-track .is-on { background: var(--navy); box-shadow: none; }
.voyage-track .is-on em { color: #fff; }

/* Sight-loss comparison */
.sim-tabs button { border-color: #cfdeec; color: var(--ink); border-radius: 999px; font-weight: 600; }
.sim-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.sim-frame { outline: 0; border-radius: var(--r); box-shadow: var(--shadow); }
.sim-note { color: var(--ink-2); }
.snellen { box-shadow: 0 0 0 1px #dfe9f3, var(--shadow); border-radius: var(--r); margin: 0; }
.chart-inner { padding: 0; }

/* Contact */
.visit { padding-top: clamp(40px, 7vh, 76px); }
.find { border-radius: var(--r); box-shadow: 0 0 0 1px #dfe9f3, inset 0 4px 0 var(--amber); }
.find label { font-weight: 800; color: var(--ink); }
.find select { border-radius: 999px; border: 1px solid #cfdeec; padding-inline: 18px; }
.find-me { box-shadow: 0 0 0 1.5px var(--amber); color: var(--amber); }
.find-me:hover { background: var(--amber); color: #fff; }
.visit-map { border-radius: var(--r); overflow: hidden; margin: 0; box-shadow: 0 0 0 1px #dfe9f3, var(--shadow); }
.hours th, .hours td { border-top: 1px solid #dfe9f3; }
.hours .is-today th, .hours .is-today td { color: var(--navy-2); }

/* Footer */
.foot { background: var(--sand); color: var(--ink); border-top: 4px solid var(--navy); }
.foot-wit { font-family: var(--royal); color: var(--gold); }
.foot-logo { box-shadow: 0 0 0 1px #dfe9f3; border-radius: 10px; }
.foot-links a, .foot-link-btn { color: var(--ink); font-weight: 600; text-decoration-color: var(--navy-2); }
.fab { background: #15803d; box-shadow: 0 12px 24px -10px rgba(21, 128, 61, .7); }
.fab:hover { background: #166534; }

/* Phone: the dock is always there, and everything stacks in reading order */
.dock { background: #fff; border-top: 1px solid #dfe9f3; box-shadow: 0 -6px 18px -12px rgba(16, 35, 63, .4); }
.dock a { border-radius: 12px; font-weight: 700; color: #fff; clip-path: none; }
.dock .dock-call { background: var(--navy); }
.dock .dock-wa { background: #15803d; }
.dock .dock-main { background: var(--amber); color: #fff; clip-path: none; flex: 1.2; }
@media (max-width: 1120px) { .stat b { font-size: clamp(1.7rem, 3.6vw, 2.6rem); } .details { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .prism .stage, .no-pin .prism .stage { display: block; }
  .no-pin .bands, .bands { margin-top: 112px; }
  .prism-copy, .no-pin .prism-copy { max-width: none; }
  .voyage .stage, .no-pin .voyage .stage { grid-template-columns: minmax(0, 1fr); }
  .voyage-art, .no-pin .voyage-art { height: min(56vw, 340px); }
  .doctor-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; padding-bottom: 64px; }
  .dock { display: flex; }
  .fab { display: none; }
  .nav .btn-main, .nav-links, .nav-portal { display: none; }
  .nav-toggle { display: grid; }
  .brand-mark { height: 44px; }
  .brand-word { font-size: 1.26rem; }
  .brand-word i { font-size: .58rem; }
  .hero .stage, .no-pin .hero .stage { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: calc(var(--nav-h) + 16px) var(--gutter) 18px; }
  .hero-copy { order: 1; }
  .hero-name { font-size: clamp(2.3rem, 11.4vw, 3.2rem); }
  .display, .hero .display { font-size: 1.28rem; margin-top: 6px; }
  .lede { font-size: 1rem; display: block; }
  .rating-pill { margin-top: 12px; font-size: .9rem; padding: 6px 12px; }
  .hero .hero-cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; margin-top: 14px; }
  .hero .hero-cta .btn { width: 100%; }
  .eye-cell { order: 2; padding: 60px 0 56px; }
  .medallion { --d: min(52vw, 215px); left: auto; top: auto; }
  .conds, .conds { order: 3; position: relative; inset: auto; height: auto; display: flex; gap: 7px; overflow-x: auto; padding: 4px var(--gutter) 6px; margin: 0 calc(var(--gutter) * -1); pointer-events: auto; scrollbar-width: none; }
  .cond { position: static; transform: none; flex: none; min-height: 40px; padding: 5px 13px; font-size: .9rem; }
  .eye-note { order: 4; position: relative; left: auto; right: auto; bottom: auto; width: auto; margin-top: 10px; }
  .details { grid-template-columns: minmax(0, 1fr); padding-top: 4px; }
  .tile { padding: 13px; }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-figs { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .doc-portrait { aspect-ratio: 4 / 3; }
  .gallery-track, .no-pin .gallery-track { display: flex; align-items: flex-start; gap: 12px; columns: auto; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 14px; scrollbar-width: none; }
  .gallery-track::-webkit-scrollbar { display: none; }
  .frame, .no-pin .frame, .no-pin .frame.is-tall, .frame.is-tall { flex: 0 0 84vw; margin: 0; scroll-snap-align: center; }
  .frame.is-tall, .no-pin .frame.is-tall { flex-basis: 72vw; }
  .lab-grid { grid-template-columns: minmax(0, 1fr); }
  .chart-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .visit { grid-template-columns: minmax(0, 1fr); }
  .visit-map { min-height: 300px; }
}


/* ============================================================================================
   COLOUR AND DEPTH. Each section has its own pair of light tints and its own accent, so the page
   moves through blue, teal, rose, violet, green and amber rather than sitting on two colours.
   ============================================================================================ */
:root { --g-main: linear-gradient(120deg, #0b3d91, #0f8fa3); }
.details   { --bg1: #ffffff; --bg2: #f1f7ff; --a: #1553b8; --a2: #0fa3b1; }
.honours   { --bg1: #fff6df; --bg2: #ffe9d6; --a: #b45309; --a2: #d9a400; }
.doctors   { --bg1: #eaf3ff; --bg2: #eafaf7; --a: #1553b8; --a2: #0fa3b1; }
.prism     { --bg1: #e8fbf6; --bg2: #e9f2ff; --a: #0b7f86; --a2: #1fa971; }
.why       { --bg1: #fff1ec; --bg2: #fff8ea; --a: #c2410c; --a2: #d6334c; }
.conditions { --bg1: #f1edff; --bg2: #e9f3ff; --a: #5b3fc4; --a2: #2b6fd6; }
.gallery   { --bg1: #e9f9ee; --bg2: #f3fbdf; --a: #15803d; --a2: #65a30d; }
.reviews   { --bg1: #fff7dc; --bg2: #fff0e4; --a: #b45309; --a2: #d6334c; }
.book      { --bg1: #e6f1ff; --bg2: #e8fbfa; --a: #0b3d91; --a2: #0f8fa3; }
.visit     { --bg1: #fff0f1; --bg2: #f1f1ff; --a: #be123c; --a2: #5b3fc4; }
.lab       { --bg1: #e6fafb; --bg2: #eef1ff; --a: #0e7490; --a2: #5b3fc4; }
.voyage    { --bg1: #eef4ff; --bg2: #f0ebff; --a: #1553b8; --a2: #7a4fd0; }
.sim       { --bg1: #e9fbf4; --bg2: #fff8e4; --a: #0f766e; --a2: #b7952f; }
.chart     { --bg1: #fff1f4; --bg2: #eef6ff; --a: #be123c; --a2: #1553b8; }
.foot      { --bg1: #e8f0ff; --bg2: #e6faf7; --a: #0b3d91; --a2: #0fa3b1; }
.details, .honours, .doctors, .prism, .why, .conditions, .gallery, .reviews, .book, .visit, .lab, .voyage, .sim, .chart, .foot { position: relative; isolation: isolate; overflow: clip; background: linear-gradient(125deg, var(--bg1), var(--bg2)) !important; }
/* Large soft shapes behind each section, for depth */
.honours::before, .doctors::before, .prism::before, .why::before, .conditions::before, .gallery::before, .reviews::before, .book::before, .visit::before, .lab::before, .voyage::before, .sim::before, .chart::before, .foot::before { content: ''; position: absolute; z-index: -1; width: min(70vw, 620px); aspect-ratio: 1; border-radius: 50%; top: -22%; right: -12%; background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--a2) 26%, transparent), color-mix(in srgb, var(--a) 10%, transparent) 70%); pointer-events: none; }
.honours::after, .doctors::after, .prism::after, .why::after, .conditions::after, .gallery::after, .reviews::after, .book::after, .visit::after, .lab::after, .voyage::after, .sim::after, .chart::after, .foot::after { content: ''; position: absolute; z-index: -1; width: min(50vw, 420px); aspect-ratio: 1; border-radius: 50%; bottom: -18%; left: -9%; border: clamp(26px, 4vw, 54px) solid color-mix(in srgb, var(--a) 9%, transparent); pointer-events: none; }
.label { color: var(--a, var(--teal)); background: color-mix(in srgb, var(--a, var(--teal)) 13%, #fff); }
.title em { color: var(--a, var(--navy-2)); }
.section-wit { font-family: var(--body); font-style: normal; font-weight: 600; color: var(--a, var(--gold)); font-size: clamp(1.02rem, 1.3vw, 1.18rem); }

/* Buttons and cards with some depth */
.btn-main { background: var(--g-main); color: #fff; box-shadow: 0 10px 22px -10px rgba(11, 61, 145, .7), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-main:hover:not([disabled]) { background: linear-gradient(120deg, #0d47a8, #10a0b6); transform: translateY(-2px); }
.why-card, .cn-card, .rv-card, .lab-card, .doc, .tile, .book-card, .find, .cn-ask, .cn-panel { box-shadow: 0 0 0 1px rgba(255, 255, 255, .9), 0 2px 4px rgba(16, 35, 63, .06), 0 18px 34px -18px rgba(16, 35, 63, .34); }
.g-logo { width: 16px; height: 16px; flex: none; display: inline-block; vertical-align: -3px; }

/* Hero: the eye fills the top of the screen; the page still scrolls normally */
.hero { background: radial-gradient(90% 90% at 78% 40%, #fff 0, rgba(255, 255, 255, 0) 60%), linear-gradient(115deg, #e6f1ff 0, #e8fbf7 45%, #fff3df 100%); }
.hero .stage, .no-pin .hero .stage { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: minmax(0, 1fr) auto; min-height: min(100svh, 920px); }
#eye { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
#heroDial { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; -webkit-mask-image: linear-gradient(90deg, transparent 26%, #000 46%); mask-image: linear-gradient(90deg, transparent 26%, #000 46%); }
.hero-copy { grid-column: 1; grid-row: 1 / span 2; align-self: center; z-index: 3; }
.eye-cell { grid-column: 2; grid-row: 1; align-self: stretch; z-index: 2; padding: 0; min-height: 360px; background: none; border: 0; cursor: pointer; display: block; width: 100%; }
.conds { grid-column: 2; grid-row: 2; position: relative; inset: auto; z-index: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; pointer-events: auto; }
.cond, .cond:hover { position: static; transform: none; }
.cond:hover { box-shadow: 0 0 0 1.5px var(--c), var(--shadow); }
.eye-note { z-index: 4; bottom: clamp(70px, 10vh, 96px); }
.hero-fallback { z-index: 0; }

/* Clinic details */
.tile { background: linear-gradient(145deg, #fff 40%, color-mix(in srgb, var(--c) 13%, #fff)); }
.tile .ic { background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 62%, #2dd4bf)); box-shadow: 0 8px 16px -8px var(--c); }

/* Figures: two-tone tiles with depth */
.stat { position: relative; overflow: hidden; box-shadow: 0 16px 30px -16px rgba(16, 35, 63, .55); }
.stat::after { content: ''; position: absolute; width: 130px; height: 130px; border-radius: 50%; right: -38px; top: -46px; background: rgba(255, 255, 255, .16); }
.stat:nth-child(1) { background: linear-gradient(130deg, #0b3d91, #1b74d8); }
.stat:nth-child(2) { background: linear-gradient(130deg, #0b6f7a, #14b0a8); }
.stat:nth-child(3) { background: linear-gradient(130deg, #166534, #22a55b); }
.stat:nth-child(4) { background: linear-gradient(130deg, #b23a0a, #ee8f1c); }

/* Doctors */
.doc-frame, .doc-portrait { background: linear-gradient(135deg, #d9e9ff, #d8f5ef); }
.doc:nth-child(2) .doc-frame, .doc:nth-child(2) .doc-portrait { background: linear-gradient(135deg, #f1e4ff, #ffe6ec); }

/* Why */
.why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.why-card { position: relative; padding-bottom: 20px; }
.why-ic { position: absolute; right: 14px; width: 50px; height: 50px; margin-top: -25px; color: #fff; box-shadow: 0 8px 16px -6px rgba(16, 35, 63, .5); border: 3px solid #fff; }
.why-ic svg { width: 22px; height: 22px; }
.why-card:nth-child(1) .why-ic { background: linear-gradient(135deg, #d6334c, #ef8a17); }
.why-card:nth-child(2) .why-ic { background: linear-gradient(135deg, #0b3d91, #0fa3b1); }
.why-card:nth-child(3) .why-ic { background: linear-gradient(135deg, #15803d, #65a30d); }
.why-card h3 { padding-right: 48px; }

/* Conditions */
.cn-pill[aria-selected="true"] { background: linear-gradient(120deg, #5b3fc4, #2b6fd6); box-shadow: 0 10px 20px -10px rgba(91, 63, 196, .75); }
.cn-side-head .ic { background: linear-gradient(135deg, #5b3fc4, #2b6fd6); }
.cn-ask { box-shadow: 0 0 0 1px rgba(255, 255, 255, .9), inset 0 4px 0 #5b3fc4, 0 18px 34px -18px rgba(16, 35, 63, .34); }
.cn-tab[aria-selected="true"] { color: #5b3fc4; border-bottom-color: #5b3fc4; }
.cn-tab svg { color: #5b3fc4; }
.cn-panel-head h4 { color: #4730a8; }

/* Reviews */
.rv-card { border-top: 4px solid #d6334c; background: linear-gradient(150deg, #fff 55%, #fff4ea); }
.rv-card:nth-child(3n+2) { border-top-color: #2b6fd6; background: linear-gradient(150deg, #fff 55%, #ecf4ff); }
.rv-card:nth-child(3n+3) { border-top-color: #1fa971; background: linear-gradient(150deg, #fff 55%, #e9faf1); }
.rv-avatar { overflow: hidden; background: linear-gradient(135deg, #b45309, #d6334c); }
.rv-card:nth-child(3n+2) .rv-avatar { background: linear-gradient(135deg, #0b3d91, #2b6fd6); }
.rv-card:nth-child(3n+3) .rv-avatar { background: linear-gradient(135deg, #15803d, #1fa971); }
.rv-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rv-name { color: var(--ink); }
.rv-src { display: inline-flex; align-items: center; gap: 5px; }

/* Form, contact, footer */
.book-card { box-shadow: 0 0 0 1px rgba(255, 255, 255, .9), inset 0 4px 0 #0f8fa3, 0 22px 44px -22px rgba(11, 61, 145, .45); }
.find { box-shadow: 0 0 0 1px rgba(255, 255, 255, .9), inset 0 4px 0 #be123c, 0 18px 34px -18px rgba(16, 35, 63, .34); }
.find-me { box-shadow: 0 0 0 1.5px #be123c; color: #be123c; }
.find-me:hover { background: #be123c; }
.foot { border-top: 4px solid transparent; border-image: linear-gradient(90deg, #0b3d91, #0fa3b1, #1fa971, #d9a400, #d6334c) 1; }
.foot-row { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 44px); align-items: start; }
.foot-wit { font-family: var(--body); font-weight: 800; font-style: normal; font-size: clamp(1.1rem, 1.6vw, 1.36rem); line-height: 1.25; color: var(--navy); margin-top: 12px; max-width: 16em; }
.foot-col { display: grid; gap: 7px; justify-items: start; font-size: .98rem; }
.foot-col h2 { font-size: 1.02rem; font-weight: 800; color: var(--a2); margin: 0 0 3px; }
.foot-col a, .foot-col address, .foot-col .foot-link-btn { color: var(--ink); text-decoration: none; font-weight: 500; }
.foot-col a:hover, .foot-col .foot-link-btn:hover { color: var(--navy-2); text-decoration: underline; }
.foot-col .foot-link-btn { text-align: left; }
.foot-small { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(11, 61, 145, .18); max-width: none; color: var(--ink-2); font-size: .88rem; }
.dock .dock-call { background: linear-gradient(120deg, #0b3d91, #1553b8); }
.dock .dock-wa { background: linear-gradient(120deg, #15803d, #22a55b); }
.dock .dock-main { background: linear-gradient(120deg, #c2410c, #ee8f1c); }

@media (max-width: 900px) { .why-grid { grid-template-columns: minmax(0, 1fr); } .foot-row { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .hero .stage, .no-pin .hero .stage { display: flex; flex-direction: column; min-height: 0; padding-top: var(--nav-h); }
  .eye-cell { order: 1; min-height: 0; height: 66vw; max-height: 340px; margin: 0 calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2); }
  .conds { order: 2; flex-wrap: nowrap; justify-content: flex-start; margin: 0 calc(var(--gutter) * -1) 6px; padding: 6px var(--gutter); }
  .eye-note { order: 3; margin: 4px 0 12px; bottom: auto; }
  .hero-copy { order: 4; margin-top: 8px; }
  #heroDial { -webkit-mask-image: linear-gradient(#000 0, #000 34%, transparent 46%); mask-image: linear-gradient(#000 0, #000 34%, transparent 46%); }
  .stat::after { width: 90px; height: 90px; right: -26px; top: -30px; }
  .foot-row { grid-template-columns: minmax(0, 1fr); }
}

.rv-wrap { padding: 0 34px; }
.rv-prev { left: 0; } .rv-next { right: 0; }
.seal { max-width: 170px; }
.hero-copy { max-width: 560px; }
@media (max-width: 760px) {
  .hero-name { font-size: clamp(2rem, 9.6vw, 3rem); }
  .rv-wrap { padding: 0; }
  .seal-row { flex-wrap: wrap; justify-content: center; overflow: visible; margin-inline: 0; padding: 0; gap: 10px 12px; }
  .seal { flex: 0 0 29%; max-width: 120px; }
  .frame, .no-pin .frame, .frame.is-tall, .no-pin .frame.is-tall { flex: 0 0 auto; }
  .frame img { height: min(64vw, 300px); width: auto; max-width: none; }
}


/* ============================================================================================
   THE TOP OF THE PAGE, THE HEADER, THE DOCTORS AND THE MOVING STRIPS
   ============================================================================================ */
:root { --tick: 30px; --bar: 72px; --nav-h: calc(var(--tick) + var(--bar)); }

/* Any strip of moving words */
.mq { display: flex; width: max-content; animation: mqRun 70s linear infinite; }
.mq-back { animation-direction: reverse; }
.mq span { display: inline-flex; align-items: center; white-space: nowrap; }
.mq span::after { content: ''; width: 6px; height: 6px; margin: 0 16px; background: currentColor; opacity: .7; transform: rotate(45deg); }
@keyframes mqRun { to { transform: translateX(-50%); } }

/* The header: a moving strip of clinic details over a white bar */
.nav { height: var(--nav-h); padding-top: var(--tick); border-bottom: 0; box-shadow: 0 6px 22px -14px rgba(16, 35, 63, .5); }
.ticker { position: absolute; top: 0; left: 0; right: 0; height: var(--tick); display: flex; align-items: center; overflow: hidden; color: #fff; font-size: .84rem; font-weight: 600; background: linear-gradient(90deg, #0b3d91, #0f8fa3 45%, #5b3fc4); }
.nav::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #c9962e, #f0d78c, #c9962e, #0fa3b1, #0b3d91); background-size: 200% 100%; animation: barFlow 12s linear infinite; }
@keyframes barFlow { to { background-position: -200% 0; } }
.progress { bottom: 0; z-index: 2; height: 3px; }
.brand-word { background: linear-gradient(100deg, #0b3d91, #0f8fa3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links a { padding: 7px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links { gap: clamp(2px, .6vw, 10px); }
.nav-links a::after { display: none; }
.nav-links a:hover, .nav-links a.is-here { background: #e6f1ff; color: var(--navy); }
.nav .btn-main { position: relative; overflow: hidden; }
.nav .btn-main::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); animation: shine 6s ease-in-out infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* The hero */
.hero { background: radial-gradient(70% 90% at 72% 50%, #ffffff 0, rgba(255, 255, 255, 0) 70%), linear-gradient(115deg, #e6f1ff 0, #eafaf6 42%, #fff5df 100%); }
.hero .stage, .no-pin .hero .stage { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); grid-template-rows: auto; min-height: min(calc(100svh + 10px), 900px); padding: calc(var(--nav-h) + 14px) var(--gutter) 18px; }
.hero-strips { position: absolute; top: var(--nav-h); bottom: 0; left: 36%; right: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.hs { position: absolute; left: -16%; width: 132%; height: 34px; display: flex; align-items: center; overflow: hidden; color: #fff; font-size: .88rem; font-weight: 700; transform: rotate(-13deg); box-shadow: 0 8px 18px -10px rgba(16, 35, 63, .55); }
.hs1 { top: 13%; background: linear-gradient(90deg, #0b3d91, #0fa3b1); }
.hs2 { top: 52%; background: linear-gradient(90deg, #c9962e, #e6c677); color: #3c2c0c; }
.hs3 { top: 86%; background: linear-gradient(90deg, #d6334c, #ef8a17); }
#heroDial { -webkit-mask-image: none; mask-image: none; z-index: 1; }
.hero-copy { grid-column: 1; grid-row: 1; max-width: 560px; }
.eye-cell { grid-column: 2; grid-row: 1; position: relative; z-index: 2; display: grid; place-items: center; align-self: stretch; min-height: 0; padding: 0; width: 100%; cursor: default; }
.medallion { --d: clamp(230px, min(25vw, calc(100svh - var(--nav-h) - 300px)), 420px); position: relative; display: block; width: var(--d); height: var(--d); padding: 0; border: 0; border-radius: 50%; overflow: hidden; cursor: pointer; background: radial-gradient(circle at 50% 45%, #fffdf6, #f7ecd6); box-shadow: 0 0 0 1px var(--gold), 0 0 0 5px #fff, 0 0 0 6px var(--gold), 0 24px 50px -18px rgba(80, 60, 20, .55); }
#eye { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.hero-fallback { background: radial-gradient(circle at 50% 50%, #000 12%, #7a4a1d 14%, #3a210f 30%, #f2eee6 32%, #e8d7c5 62%); }
.conds { position: absolute; inset: 0; grid-column: auto; grid-row: auto; display: block; pointer-events: none; z-index: 3; }
.cond, .cond:hover { position: absolute; transform: translate(-50%, -50%); pointer-events: auto; }
.cond:hover { transform: translate(-50%, -50%) scale(1.06); }

/* The things around the dial, from an eye clinic's desk */
.fl { position: absolute; z-index: 3; display: block; text-decoration: none; transition: transform .3s var(--ease); animation: bob 7s ease-in-out infinite; }
.fl:hover { animation-play-state: paused; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.fl-chart { left: 0; top: 2%; width: clamp(92px, 10vw, 138px); padding: 10px 6px 12px; background: #fff; border-radius: 10px; text-align: center; color: #10233f; font-weight: 800; line-height: 1.12; rotate: -7deg; box-shadow: 0 0 0 1px #dfe9f3, 0 4px 0 #0b3d91, 0 18px 28px -12px rgba(16, 35, 63, .45); overflow: hidden; }
.sn { display: block; letter-spacing: .1em; }
.sn1 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); } .sn2 { font-size: clamp(1.05rem, 1.6vw, 1.5rem); } .sn3 { font-size: clamp(.78rem, 1.1vw, 1.05rem); } .sn4 { font-size: clamp(.58rem, .8vw, .78rem); } .sn5 { font-size: clamp(.44rem, .6vw, .58rem); }
.sn-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #d6334c; box-shadow: 0 0 0 3px rgba(214, 51, 76, .14); animation: scan 5s ease-in-out infinite alternate; }
@keyframes scan { to { top: 100%; } }
.fl-frame { right: 0; top: 4%; width: clamp(96px, 10.5vw, 150px); padding: 12px 12px; background: #fff; border-radius: 14px; color: #b78b2e; rotate: 5deg; animation-delay: -2s; box-shadow: 0 0 0 1px #f0e4c6, 0 18px 28px -12px rgba(90, 66, 20, .45); }
.fl-frame svg { display: block; width: 100%; height: auto; overflow: visible; }
.fr-a, .fr-b { transform-box: fill-box; transform-origin: center; animation: axis 9s linear infinite; }
.fr-b { animation-direction: reverse; animation-duration: 13s; }
@keyframes axis { to { transform: rotate(360deg); } }
.fl-plate { left: 1%; bottom: 3%; width: clamp(84px, 9.4vw, 130px); aspect-ratio: 1; border-radius: 50%; background: #fbf5e6; padding: 4px; animation-delay: -4s; box-shadow: 0 0 0 1px var(--gold), 0 0 0 4px #fff, 0 18px 28px -12px rgba(16, 35, 63, .45); }
.fl-plate svg { display: block; width: 100%; height: 100%; animation: axis 70s linear infinite; }
.fl-machine { right: -1%; bottom: 1%; width: clamp(112px, 13vw, 190px); animation-delay: -5.5s; filter: drop-shadow(0 18px 18px rgba(16, 35, 63, .35)); }
.fl-machine::before { content: ''; position: absolute; z-index: -1; left: 6%; right: 6%; top: 6%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, #cfe6ff, #d8f5ef); box-shadow: 0 0 0 1px #bcd8ee; }
.fl-machine img { position: relative; display: block; width: 100%; height: auto; }

/* Strips between sections */
.strip { position: relative; z-index: 5; display: flex; align-items: center; overflow: hidden; height: 42px; margin: -9px -2%; width: 104%; transform: rotate(-.9deg); color: #fff; font-weight: 700; font-size: .96rem; box-shadow: 0 10px 22px -12px rgba(16, 35, 63, .5); }
.strip.back .mq { animation-direction: reverse; }
.strip.s1 { background: linear-gradient(90deg, #0b3d91, #0fa3b1); }
.strip.s2 { background: linear-gradient(90deg, #5b3fc4, #d6334c); transform: rotate(.8deg); }
.strip.s3 { background: linear-gradient(90deg, #b45309, #e6b422); }
.strip.s4 { background: linear-gradient(90deg, #15803d, #0fa3b1); transform: rotate(.8deg); }

/* Doctors: a cut-out portrait on stacked coloured panels */
.doctor-list { grid-template-columns: minmax(0, 1fr); gap: clamp(30px, 5vh, 56px); max-width: 1320px; }
.doc, .doc-alt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1.1fr); gap: clamp(18px, 3vw, 44px); align-items: center; background: none; box-shadow: none; overflow: visible; border-radius: 0; }
.doc-name { font-size: clamp(1.7rem, 2.8vw, 2.5rem); color: var(--ink); }
.doc-since { margin-top: 5px; color: var(--ink-2); font-size: 1.04rem; }
.doc-box { margin: 14px 0 16px; padding: 14px 16px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #fff, 0 14px 28px -16px rgba(11, 61, 145, .45); }
.doc-degrees { margin: 0; color: var(--navy); font-weight: 800; }
.doc-honour { margin-top: 8px; }
.doc-stage { position: relative; isolation: isolate; height: clamp(320px, 33vw, 470px); display: flex; justify-content: center; align-items: flex-end; }
.doc-panel { position: absolute; left: 9%; right: 9%; top: 12%; bottom: 0; border-radius: 16px; background: linear-gradient(150deg, #0b4fb3, #0a78c9); z-index: -1; box-shadow: 0 24px 40px -22px rgba(11, 61, 145, .8); }
.doc-panel::before, .doc-panel::after { content: ''; position: absolute; inset: 0; border-radius: 16px; z-index: -1; }
.doc-panel::before { background: #8b2fa3; transform: rotate(3.5deg); }
.doc-panel::after { background: #f5a524; transform: rotate(6.5deg); z-index: -2; }
.doc:nth-child(2) .doc-panel { background: linear-gradient(150deg, #0b7f86, #15a39a); box-shadow: 0 24px 40px -22px rgba(11, 127, 134, .8); }
.doc:nth-child(2) .doc-panel::before { background: #d6334c; transform: rotate(-3.5deg); }
.doc:nth-child(2) .doc-panel::after { background: #e6b422; transform: rotate(-6.5deg); }
.doc-stage img { position: relative; height: 100%; width: auto; max-width: 96%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 10px 18px rgba(8, 20, 50, .35)); }
.doc-bio { color: var(--ink-2); line-height: 1.6; font-size: 1.02rem; }
.doc-bio p + p { margin-top: 12px; }
.doc-bio b { color: var(--ink); }

/* Clinic photographs on coloured backing plates */
.gallery-track, .no-pin .gallery-track { column-gap: 30px; padding: 12px 8px 0; }
.frame, .no-pin .frame, .no-pin .frame.is-tall, .frame.is-tall { position: relative; overflow: visible; background: #fff; border-radius: 12px; margin-bottom: 34px; isolation: isolate; box-shadow: 0 16px 30px -18px rgba(16, 35, 63, .55); transition: rotate .3s var(--ease); }
.frame::before, .frame::after { content: ''; position: absolute; inset: 0; border-radius: 14px; z-index: -1; background: var(--pa, #0b4fb3); transform: rotate(2.2deg); transition: transform .3s var(--ease); }
.frame::after { background: var(--pb, #f5a524); transform: rotate(4.4deg); z-index: -2; }
.frame:hover::before { transform: rotate(3.4deg); }
.frame:hover::after { transform: rotate(6.4deg); }
.frame:nth-child(4n+2) { --pa: #0b7f86; --pb: #d6334c; }
.frame:nth-child(4n+3) { --pa: #5b3fc4; --pb: #0fa3b1; }
.frame:nth-child(4n+4) { --pa: #15803d; --pb: #e6b422; }
.frame:nth-child(even)::before { transform: rotate(-2.2deg); }
.frame:nth-child(even)::after { transform: rotate(-4.4deg); }
.frame img { border-radius: 12px 12px 0 0; }
.frame figcaption { border-radius: 0 0 12px 12px; }

/* ---- Phone ---- */
@media (max-width: 1120px) { :root { --bar: 66px; } }
@media (max-width: 899px) {
  .doc, .doc-alt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .doc-stage { grid-column: 2; grid-row: 1 / span 2; }
  .doc-intro { grid-column: 1; grid-row: 1; } .doc-bio { grid-column: 1; grid-row: 2; }
}
@media (max-width: 760px) {
  :root { --tick: 26px; --bar: 60px; }
  .ticker { font-size: .76rem; }
  .hero .stage, .no-pin .hero .stage { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: calc(var(--nav-h) + 14px) var(--gutter) 18px; }
  .hero-copy { display: contents; }
  .hero-name { order: 1; position: relative; z-index: 3; font-size: clamp(2rem, 9.8vw, 3rem); }
  .hero-where { order: 2; position: relative; z-index: 3; margin-top: 4px; font-size: 1rem; }
  .display, .hero .display { order: 3; position: relative; z-index: 3; font-size: 1.22rem; margin-top: 3px; }
  .eye-cell { order: 4; width: 100%; height: min(92vw, 380px); margin: 6px 0 0; }
  .medallion { --d: min(50vw, 200px); }
  .conds { order: 5; position: relative; inset: auto; display: flex; flex-wrap: nowrap; gap: 7px; overflow-x: auto; margin: 4px calc(var(--gutter) * -1) 0; padding: 4px var(--gutter) 8px; pointer-events: auto; scrollbar-width: none; }
  .conds::-webkit-scrollbar { display: none; }
  .cond, .cond:hover { position: static; transform: none; flex: none; min-height: 40px; padding: 5px 13px; font-size: .9rem; }
  .eye-note { order: 6; position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: 4px 0 8px; }
  .lede { order: 7; position: relative; z-index: 3; margin-top: 8px; }
  .rating-pill { order: 8; position: relative; z-index: 3; align-self: flex-start; }
  .hero .hero-cta { order: 9; position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; margin-top: 12px; }
  .hero-strips { left: 0; top: calc(var(--nav-h) + 110px); bottom: auto; height: min(92vw, 380px); }
  .hs { height: 26px; font-size: .74rem; }
  .fl-chart { width: 74px; left: 0; top: 0; padding: 6px 4px 8px; }
  .fl-frame { width: 78px; right: 0; top: 2%; padding: 8px; }
  .fl-plate { width: 66px; left: 0; bottom: 2%; }
  .fl-machine { width: 92px; right: 0; bottom: 0; }
  .sn1 { font-size: 1.3rem; } .sn2 { font-size: .86rem; } .sn3 { font-size: .62rem; } .sn4 { font-size: .46rem; } .sn5 { display: none; }
  .strip { height: 34px; font-size: .84rem; margin: -6px -2%; }
  .doc, .doc-alt { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .doc-stage { order: 1; height: min(86vw, 340px); margin-bottom: 6px; }
  .doc-intro { order: 2; } .doc-bio { order: 3; font-size: 1rem; }
  .doc-intro .btn { width: 100%; }
  .gallery-track, .no-pin .gallery-track { gap: 24px; padding: 12px var(--gutter) 22px; }
  .frame, .no-pin .frame, .frame.is-tall, .no-pin .frame.is-tall { margin: 0; }
}

/* Final adjustments */
main { overflow-x: clip; }
.hero-strips { -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%); mask-image: linear-gradient(90deg, transparent, #000 16%); }
.hero-name { font-size: clamp(2.4rem, 3.9vw, 3.6rem); }
.doc-stage { height: clamp(300px, 27vw, 400px); }
.doc-panel { z-index: auto; top: 24%; }
.doc-stage img { z-index: 1; height: auto; width: 82%; max-width: 82%; max-height: 100%; }
@media (max-width: 760px) {
  .hero-strips { -webkit-mask-image: none; mask-image: none; }
  .hero-name { font-size: clamp(2rem, 9.8vw, 3rem); }
  .doc-stage { height: min(86vw, 340px); }
}


/* ============================================================================================
   MOTION AND EXTRA ELEMENTS. Quick, and never in the way.
   ============================================================================================ */
/* Faint medical crosses behind the sections */
.details, .honours, .doctors, .prism, .why, .conditions, .gallery, .reviews, .book, .visit, .lab, .voyage, .sim, .chart, .foot, .journey, .faq { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath fill='%230b3d91' fill-opacity='.035' d='M26 14h8v12h12v8H34v12h-8V34H14v-8h12zM86 74h6v10h10v6H92v10h-6V90H76v-6h10z'/%3E%3C/svg%3E"), linear-gradient(125deg, var(--bg1), var(--bg2)) !important; }
.journey { --bg1: #e9fbf4; --bg2: #e6f1ff; --a: #0b7f86; --a2: #2b6fd6; position: relative; overflow: clip; padding: clamp(40px, 7vh, 76px) var(--gutter); }
.faq { --bg1: #f6f0ff; --bg2: #fff1f4; --a: #7a2fa0; --a2: #d6334c; position: relative; overflow: clip; padding: clamp(40px, 7vh, 76px) var(--gutter); }

/* Hero effects, around the dial */
.hero-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fx-cross { position: absolute; opacity: .28; animation: crossDrift 11s ease-in-out infinite; }
@keyframes crossDrift { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-22px) rotate(90deg); } }
.eye-cell { --d: clamp(230px, min(25vw, calc(100svh - var(--nav-h) - 300px)), 420px); --px: 0; --py: 0; }
.medallion { --d: inherit; grid-area: 1 / 1; z-index: 2; transition: box-shadow .3s; }
.medallion:hover { box-shadow: 0 0 0 1px var(--gold), 0 0 0 5px #fff, 0 0 0 6px var(--gold), 0 0 44px 4px rgba(15, 163, 177, .4), 0 24px 50px -18px rgba(80, 60, 20, .55); }
.fx-halo, .fx-ripple, .fx-orbit { grid-area: 1 / 1; pointer-events: none; border-radius: 50%; }
.fx-halo { width: calc(var(--d) * 1.72); aspect-ratio: 1; background: conic-gradient(#d6334c66, #ef8a1766, #d9a40066, #1fa97166, #0fa3b166, #2b6fd666, #7a4fd066, #d6334c66); -webkit-mask-image: radial-gradient(circle, transparent 54%, #000 62%, #000 66%, transparent 72%); mask-image: radial-gradient(circle, transparent 54%, #000 62%, #000 66%, transparent 72%); filter: blur(6px); animation: axis 22s linear infinite; }
.fx-ripple { width: var(--d); height: var(--d); border: 1.5px solid rgba(15, 143, 163, .55); animation: ripple 7.5s cubic-bezier(.2, .6, .4, 1) infinite; }
.fx-ripple.r2 { animation-delay: -2.5s; border-color: rgba(201, 150, 46, .6); }
.fx-ripple.r3 { animation-delay: -5s; border-color: rgba(91, 63, 196, .45); }
@keyframes ripple { 0% { transform: scale(1); opacity: 0; } 8% { opacity: .9; } 100% { transform: scale(2.35); opacity: 0; } }
.fx-orbit { width: calc(var(--d) * 1.14); aspect-ratio: 1; animation: axis 9s linear infinite; }
.fx-orbit::before { content: ''; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #0fa3b1; box-shadow: 0 0 14px 4px rgba(15, 163, 177, .6); }
.fx-orbit { position: relative; }
.fx-orbit.o2 { width: calc(var(--d) * 1.36); animation-duration: 15s; animation-direction: reverse; }
.fx-orbit.o2::before { background: #c9962e; box-shadow: 0 0 14px 4px rgba(201, 150, 46, .6); }
.fl-chart { transform: translate(calc(var(--px) * -14px), calc(var(--py) * -12px)); }
.fl-frame { transform: translate(calc(var(--px) * 16px), calc(var(--py) * -10px)); }
.fl-plate { transform: translate(calc(var(--px) * -10px), calc(var(--py) * 14px)); }
.fl-machine { transform: translate(calc(var(--px) * 20px), calc(var(--py) * 16px)); }
.sn.flash { animation: snFlash .5s ease; }
@keyframes snFlash { 0% { opacity: 0; transform: rotateX(90deg); color: #d6334c; } 100% { opacity: 1; transform: none; } }
.hero-name { background: linear-gradient(100deg, #0b3d91 0, #0b3d91 40%, #1fb6c4 50%, #0b7f86 60%, #0b7f86 100%); background-size: 240% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; animation: nameSheen 9s ease-in-out infinite; }
.hero-name span { color: transparent; }
@keyframes nameSheen { 0%, 60% { background-position: 100% 0; } 100% { background-position: 0 0; } }

.hero-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: clamp(12px, 1.8vh, 18px); }
.hero-badges .rating-pill { margin: 0; }
.open-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; background: #fff; font-size: .9rem; font-weight: 700; color: var(--ink); box-shadow: 0 0 0 1px #dfe9f3, var(--shadow); }
.open-pill i { width: 9px; height: 9px; border-radius: 50%; background: #d6334c; }
.open-pill i.on { background: #1fa971; animation: livePulse 1.8s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(31, 169, 113, .6); } 100% { box-shadow: 0 0 0 10px rgba(31, 169, 113, 0); } }

/* A scan line running through the figures */
.trace { display: block; width: 100%; max-width: 1500px; height: 44px; margin: clamp(14px, 2.4vh, 24px) auto 0; overflow: visible; }
.trace path { fill: none; stroke: url(#sealGold); stroke: #0fa3b1; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 26 74; animation: traceRun 5s linear infinite; }
@keyframes traceRun { to { stroke-dashoffset: -100; } }
.stat-mark { position: absolute; right: 10px; bottom: 6px; width: 54px; height: 54px; color: rgba(255, 255, 255, .22); }
.stat { text-align: left; padding-left: clamp(14px, 1.8vw, 24px); }

/* How your visit works */
.steps-row { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 22px); margin-top: clamp(18px, 3vh, 30px); max-width: 1500px; }
.steps-row::before { content: ''; position: absolute; left: 6%; right: 6%; top: 34px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #0b3d91, #0fa3b1, #1fa971, #e6b422); transform: scaleX(1); transform-origin: 0 50%; transition: transform 1.6s var(--ease) .15s; z-index: 0; }
.steps-row.a:not(.in)::before { transform: scaleX(0); }
.step { position: relative; z-index: 1; display: grid; gap: 6px; justify-items: center; text-align: center; font-size: .96rem; color: var(--ink-2); }
.step b { font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.step-ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; color: #fff; border: 4px solid #fff; box-shadow: 0 14px 24px -10px rgba(16, 35, 63, .5); background: linear-gradient(135deg, #0b3d91, #1b74d8); }
.step:nth-child(2) .step-ic { background: linear-gradient(135deg, #0b6f7a, #14b0a8); }
.step:nth-child(3) .step-ic { background: linear-gradient(135deg, #166534, #22a55b); }
.step:nth-child(4) .step-ic { background: linear-gradient(135deg, #b45309, #e6b422); }
.step-ic svg { width: 28px; height: 28px; }

/* Questions */
.faq-list { display: grid; gap: 10px; margin-top: clamp(16px, 3vh, 26px); max-width: 900px; }
.faq-item { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px #fff, 0 14px 26px -18px rgba(16, 35, 63, .4); }
.faq-item summary { position: relative; display: flex; align-items: center; gap: 12px; list-style: none; cursor: pointer; padding: 15px 18px; min-height: 52px; font-weight: 700; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #7a2fa0, #d6334c); }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; left: 7px; right: 7px; top: 12px; height: 2px; background: #fff; transition: transform .25s var(--ease); }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-item p { padding: 0 18px 16px 56px; color: var(--ink-2); }

/* Two photographs per doctor */
.doc-stage { transform-style: preserve-3d; }
.doc-panel { transform: translate(calc(var(--sx, 0) * -14px), calc(var(--sy, 0) * -10px)); transition: transform .25s ease-out; }
.doc-shot { position: absolute; inset: 0; padding: 0; border: 0; background: transparent; display: flex; justify-content: center; align-items: flex-end; transition: transform .8s cubic-bezier(.2, .9, .25, 1.05), background .4s, box-shadow .4s, border-radius .4s; cursor: default; overflow: hidden; }
.doc-shot img { width: 82%; height: auto; max-height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 10px 18px rgba(8, 20, 50, .35)); }
.doc-shot.is-main { z-index: 1; transform: translate(calc(var(--sx, 0) * 10px), calc(var(--sy, 0) * 6px)); overflow: visible; }
.doc-shot.is-side { z-index: 3; cursor: pointer; transform: translate(47%, 6%) scale(.4) rotate(6deg); background: linear-gradient(145deg, #fff, #ffe9c9); border-radius: 26px; box-shadow: 0 0 0 8px #fff, 0 26px 40px -12px rgba(16, 35, 63, .55); }
.doc:nth-child(2) .doc-shot.is-side { transform: translate(-47%, 6%) scale(.4) rotate(-6deg); background: linear-gradient(145deg, #fff, #d8f5ef); }
.doc-shot.is-side:hover { box-shadow: 0 0 0 8px #fff, 0 0 0 13px var(--gold-bright), 0 26px 40px -12px rgba(16, 35, 63, .55); }
.doc-shot.is-side img { width: 100%; height: 100%; filter: none; }

/* Arrivals */
.a { transition: opacity .6s ease var(--ad, 0ms), transform .75s cubic-bezier(.2, .85, .25, 1.05) var(--ad, 0ms), box-shadow .3s; }
.a:not(.in) { opacity: 0; }
.a-flip:not(.in) { transform: perspective(800px) rotateX(-55deg) translateY(26px); transform-origin: 50% 0; }
.a-pop:not(.in) { transform: scale(.7); }
.a-drop:not(.in) { transform: translateY(-46px) rotate(-30deg) scale(.7); }
.a-left:not(.in) { transform: translateX(-46px); }
.a-right:not(.in) { transform: translateX(46px); }
.a-zoom:not(.in) { transform: scale(.88); }
.a-rise:not(.in) { transform: translateY(32px); }
.a-fan:not(.in) { transform: translateY(40px) rotate(5deg); transform-origin: 0 100%; }
.a-deal:not(.in) { transform: translate(-30px, 30px) rotate(-9deg) scale(.92); }
.a-title:not(.in) { transform: translateY(16px); }
.a-line { opacity: 1 !important; }
.title em { background-image: linear-gradient(transparent 88%, color-mix(in srgb, var(--a, #1553b8) 34%, transparent) 88%); background-repeat: no-repeat; background-size: 0 100%; transition: background-size .9s var(--ease) .35s; }
.title.in em, .title:not(.a) em { background-size: 100% 100%; }

/* The light that follows the cursor */
.tile, .why-card, .lab-card, .rv-card { position: relative; overflow: hidden; }
.why-card .why-ic { z-index: 2; }
.spot { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s; background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .55), rgba(15, 163, 177, .12) 40%, transparent 70%); z-index: 1; }
.stat .spot { background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .3), transparent 70%); }
:is(.tile, .why-card, .lab-card, .rv-card, .stat):hover .spot { opacity: 1; }

@media (max-width: 899px) { .steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; } .steps-row::before { display: none; } }
@media (max-width: 760px) {
  .eye-cell { --d: min(50vw, 200px); }
  .hero-badges { order: 8; position: relative; z-index: 3; }
  .hero-fx { height: 60%; }
  .trace { height: 30px; }
  .step-ic { width: 60px; height: 60px; }
  .step { font-size: .9rem; }
  .step b { font-size: 1rem; }
  .fx-halo { filter: blur(4px); }
  .doc-shot.is-side, .doc:nth-child(2) .doc-shot.is-side { transform: translate(42%, 8%) scale(.4) rotate(6deg); }
}


/* ============================================================================================
   PHONE POLISH, AND THE LAST OF THE PRESENTATION
   ============================================================================================ */
* { -webkit-tap-highlight-color: transparent; }
a, button, summary { touch-action: manipulation; }
.btn, .cond, .cn-pill, .cn-tab, .tile, .band-head { transition: transform .22s var(--ease), background .22s, color .22s, box-shadow .22s; }
.btn:active, .cond:active, .cn-pill:active, .tile:active { transform: scale(.97); }
.tile[data-wa] .ic, .find-me { color: #fff; }
.tile[data-wa] { --c: #128c7e !important; }
.tile[data-wa] .ic { background: linear-gradient(135deg, #128c7e, #25d366); box-shadow: 0 8px 16px -8px #128c7e; }
.tile[data-wa] .tile-text i { color: #128c7e; }
.find-me { color: #be123c; }
.btn svg use[href="#i-wa"] { color: #128c7e; }
.chart-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chart-cta .btn { margin: 0; }
.done-actions, .done { gap: 10px; }
.done .btn { width: 100%; max-width: 340px; }
.frame.a:not(.in) { transform: translate(-24px, 24px) rotate(-7deg) !important; }

/* Bottom bar: room to breathe, icon above its word, and the real WhatsApp mark */
.dock { padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; backdrop-filter: blur(8px); }
.dock a, .dock .dock-main { flex: 1 1 0; min-width: 0; flex-direction: column; gap: 3px; min-height: 56px; padding: 6px 4px; border-radius: 16px; font-size: .78rem; font-weight: 700; letter-spacing: .01em; transition: transform .18s var(--ease); box-shadow: 0 8px 14px -10px rgba(16, 35, 63, .7), inset 0 1px 0 rgba(255, 255, 255, .22); }
.dock a:active { transform: scale(.95); }
.dock a svg { width: 22px; height: 22px; flex: none; }
.dock .dock-wa { background: linear-gradient(135deg, #128c7e, #22b860); }

@media (max-width: 760px) {
  body { padding-bottom: 84px; }
  section { scroll-margin-top: calc(var(--nav-h) + 6px); }
  .title { font-size: 1.72rem; line-height: 1.15; }
  .label { font-size: .8rem; }
  .chart, .sim, .doctors, .lab, .reviews, .book, .visit, .why, .conditions, .gallery, .voyage, .prism, .honours, .journey, .faq { padding: 36px var(--gutter); }

  /* Arrivals are gentler and quicker on a phone */
  .a { transition-duration: .42s, .5s, .3s; transition-delay: calc(var(--ad, 0ms) * .35); }
  .a-flip:not(.in), .a-left:not(.in), .a-right:not(.in), .a-fan:not(.in), .a-drop:not(.in) { transform: translateY(18px); }
  .frame.a:not(.in) { transform: translateY(14px) !important; }

  /* The strip of conditions fades at its edge, to show there is more */
  .conds { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); scroll-snap-type: x proximity; }
  .cond { scroll-snap-align: start; }
  .hero-badges { margin-top: 10px; }
  .open-pill { font-size: .84rem; padding: 5px 11px; }
  .rating-pill { font-size: .84rem; padding: 5px 11px; }

  /* Details tiles and treatments as soft cards */
  .tile { padding: 14px; gap: 12px; border-radius: 16px; }
  .tile .ic { width: 42px; height: 42px; }
  .no-pin .bands, .bands { display: grid; gap: 8px; margin-top: 118px; }
  .band, .band:last-child { background: #fff; border: 0; border-radius: 14px; box-shadow: 0 8px 18px -14px rgba(16, 35, 63, .5); padding: 0 14px; }
  .band-head { min-height: 52px; padding: 10px 0; }
  .band-dot { width: 10px; height: 10px; }
  .band.is-on .band-dot { transform: rotate(45deg) scale(1.15); }
  .band.is-on { box-shadow: inset 3px 0 0 var(--c), 0 12px 22px -14px rgba(16, 35, 63, .55); }
  .band-panel a { margin-bottom: 12px; }

  /* Cards, photographs and forms */
  .cn-side-head h3 { font-size: 1.24rem; }
  .cn-tab { min-height: 46px; font-size: .92rem; }
  .rv-card { min-height: 170px; }
  .rv-actions .btn, .chart-cta .btn, .why-head .btn { width: 100%; }
  .find-row .btn { flex: 1 1 auto; }
  .faq-item p { padding-left: 18px; }
  .foot { padding-bottom: 28px; }
  .stat { padding: 16px 12px; }
  .stat-mark { width: 40px; height: 40px; }
}

.details { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tile-mail { overflow-wrap: anywhere; }
@media (max-width: 1320px) { .details { grid-template-columns: repeat(6, minmax(0, 1fr)); } .tile { grid-column: span 2; } .tile:nth-child(n+4) { grid-column: span 3; } }
@media (max-width: 760px) { .details { grid-template-columns: minmax(0, 1fr); } .tile, .tile:nth-child(n+4) { grid-column: auto; } }


/* Colour in the words */
.hero-name { background: none; animation: none; color: var(--navy); }
.hero-name span { background: linear-gradient(95deg, #0b7f86, #1fa971); -webkit-background-clip: text; background-clip: text; color: transparent; }
.typer { font-size: clamp(1.14rem, 1.7vw, 1.46rem); font-weight: 700; color: var(--ink); margin-top: 7px; min-height: 1.5em; }
.typed { font-weight: 800; transition: color .2s; }
.caret { display: inline-block; width: 3px; height: 1.05em; margin-left: 3px; vertical-align: -.14em; background: var(--navy-2); border-radius: 2px; animation: caretBlink 1s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
.lede b { font-weight: 700; }
.lede .doc-ink { color: var(--navy); }
.rv-name:is(a) { text-decoration: none; }
@media (max-width: 760px) {
  .typer { order: 3; position: relative; z-index: 3; font-size: 1.08rem; margin-top: 2px; }
  .hs2 { display: block; }
}
@media (prefers-reduced-motion: reduce) { .caret { display: none; } }

/* The clinic's name in graded colour, and a slight royal touch: fine gold lines and a trace of the
   clinic's own wallpaper. Gold stays a detail, not a theme. */
.hero-name { color: transparent; background: linear-gradient(95deg, #0b3d91 0%, #1553b8 34%, #5b3fc4 52%, #0b7f86 76%, #1fa971 100%); -webkit-background-clip: text; background-clip: text; background-size: 180% 100%; animation: nameFlow 11s ease-in-out infinite alternate; padding-bottom: .08em; }
.hero-name span { background: none; color: inherit; -webkit-text-fill-color: transparent; }
@keyframes nameFlow { to { background-position: 100% 0; } }
.hero-where { position: relative; padding-bottom: 11px; }
.hero-where::after { content: ''; position: absolute; left: 0; bottom: 0; width: min(280px, 70%); height: 7px; background: linear-gradient(#c9962e, #c9962e) 0 50% / calc(50% - 9px) 1px no-repeat, linear-gradient(#c9962e, #c9962e) 100% 50% / calc(50% - 9px) 1px no-repeat, linear-gradient(45deg, transparent 35%, #c9962e 35% 65%, transparent 65%) 50% 50% / 7px 7px no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .13; background: url(assets/wall.webp) center / cover; -webkit-mask-image: linear-gradient(90deg, #000, transparent 62%); mask-image: linear-gradient(90deg, #000, transparent 62%); }
.hero { position: relative; }
.title::after { content: ''; display: block; width: 74px; height: 3px; margin-top: 10px; border-radius: 3px; background: linear-gradient(90deg, #c9962e, #f0d78c, #c9962e); }
.vcard .title::after { display: none; }
.btn-main { box-shadow: 0 10px 22px -10px rgba(11, 61, 145, .7), inset 0 0 0 1px rgba(240, 215, 140, .55); }
.doc-box { box-shadow: 0 0 0 1px rgba(201, 150, 46, .55), 0 14px 28px -16px rgba(11, 61, 145, .45); }
.tile, .why-card, .rv-card, .lab-card { outline: 1px solid rgba(201, 150, 46, .18); outline-offset: -1px; }

/* The small photo stays clear of the words beside it */
.doc-shot.is-side { transform: translate(33%, 6%) scale(.4) rotate(6deg); }
.doc:nth-child(2) .doc-shot.is-side { transform: translate(-33%, 6%) scale(.4) rotate(-6deg); }
.doc-bio { position: relative; z-index: 4; }
.doc-intro { position: relative; z-index: 4; }
@media (max-width: 760px) { .doc-shot.is-side, .doc:nth-child(2) .doc-shot.is-side { transform: translate(36%, 8%) scale(.4) rotate(6deg); } }


/* Professional, not showy: in the words, one deep blue, one teal and a little gold. */
.hero-name { color: var(--navy); background: none; animation: none; -webkit-text-fill-color: currentColor; padding-bottom: 0; }
.hero-name span { color: var(--teal); -webkit-text-fill-color: currentColor; background: none; }
.brand-word { color: var(--navy); background: none; -webkit-text-fill-color: currentColor; }
.hero-where { padding-bottom: 0; }
.hero-where::after { display: none; }
.display, .hero .display { color: #94701f; }
.display::after { content: ''; display: block; width: 74px; height: 2px; margin-top: 10px; background: var(--gold); }
.typer { color: var(--ink); font-weight: 600; }
.typed { color: var(--teal); font-weight: 700; }
.caret { background: var(--teal); }
.lede { color: var(--ink-2); }
.lede .doc-ink { color: var(--ink); font-weight: 700; }
.btn-main:hover:not([disabled]) { background: var(--navy-2); }

/* Only the top of the page is restrained. Below it, the coloured elements and two-tone backgrounds stay. */
.fx-halo { background: conic-gradient(#0b3d9133, #0fa3b144, #c9962e33, #0b3d9133); filter: blur(10px); }
.fx-ripple, .fx-ripple.r2, .fx-ripple.r3 { border-color: rgba(11, 61, 145, .28); }
.ticker { background: var(--navy); }
.nav::after { background: linear-gradient(90deg, #c9962e, #e6c677, #c9962e); background-size: 200% 100%; }
.hs1 { background: var(--navy); }
.hs2 { background: #c9a24a; color: #2c2008; }
.hs3 { background: var(--teal); }

/* One clear typeface throughout */
.display, .hero .display { font-family: var(--body); font-style: normal; font-weight: 600; font-size: clamp(1.14rem, 1.7vw, 1.42rem); line-height: 1.3; color: #8a6717; margin-top: 8px; }
.display::after { display: none; }
.hero-where { margin-top: 6px; }
.typer { margin-top: 4px; }
.score-num { font-family: var(--body); font-weight: 800; }
.rv-mark { font-family: var(--body); }
body { font-feature-settings: "tnum" 0; }

/* Doctors: one frame, the same for every photograph, flipping between the two */
.doc-stage { height: auto; display: block; }
.doc-flip { display: block; width: min(100%, 400px); margin: 0 auto; padding: 0; border: 0; background: none; cursor: pointer; perspective: 1400px; }
.doc-flip-in { display: block; position: relative; aspect-ratio: 610 / 650; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.3, .8, .25, 1); }
.doc-flip.flipped .doc-flip-in { transform: rotateY(180deg); }
.doc-face { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: 18px; background: linear-gradient(160deg, #e3effa, #cfe3f3); box-shadow: 0 0 0 1px rgba(183, 139, 46, .55), 0 22px 40px -22px rgba(11, 61, 145, .55); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.doc-face.back { transform: rotateY(180deg); }
.doc-face img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: none; }
.pick-avatar { background: #dce9f5; }
.pick-avatar img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .doc-flip { width: min(86%, 340px); } .doc-stage { height: auto; margin-bottom: 8px; } }


/* Reviews: name, stars, then the patient's words */
.rv-card, .rv-card:nth-child(n) { flex-basis: min(38%, 520px); display: flex; flex-direction: column; gap: 10px; }
.rv-card blockquote { order: 3; font-size: 1rem; line-height: 1.55; color: var(--ink); }
.rv-card .rp-stars { order: 2; }
.rv-card .rv-who { order: 1; }
.rv-avatar, .rv-card:nth-child(n) .rv-avatar { font-family: var(--body); font-weight: 700; width: 48px; height: 48px; font-size: 1.2rem; background: var(--navy); }
.rv-card:nth-child(even) .rv-avatar { background: var(--teal); }
.rv-name { font-weight: 700; color: var(--ink); font-size: 1.06rem; }
.rv-mark { display: none; }
@media (max-width: 760px) { .rv-card, .rv-card:nth-child(n) { flex-basis: 86%; } }

/* Doctors: the photograph fills its frame, centred, on coloured panels */
.doc-stage { display: grid; place-items: center; height: auto; padding: 14px 18px; }
.doc-stage img, .doc-face img { position: static; z-index: auto; width: 100% !important; max-width: none !important; height: 100% !important; max-height: none !important; margin: 0; object-fit: contain; object-position: 50% 100%; filter: none; }
.doc-flip { position: relative; isolation: isolate; width: min(100%, 390px); }
.doc-flip::before, .doc-flip::after { content: ''; position: absolute; inset: 0; border-radius: 20px; z-index: -1; }
.doc-flip::before { background: #8b2fa3; transform: rotate(-3deg); }
.doc-flip::after { background: #f5a524; transform: rotate(3.2deg); z-index: -2; }
.doc-face { border-radius: 18px; background: linear-gradient(165deg, #1a78c9, #0b4fa3); box-shadow: 0 22px 40px -20px rgba(11, 61, 145, .7); }
.doc:nth-child(2) .doc-face { background: linear-gradient(165deg, #149aa0, #0a6a70); }
.doc:nth-child(2) .doc-flip::before { background: #d6334c; transform: rotate(3deg); }
.doc:nth-child(2) .doc-flip::after { background: #e6b422; transform: rotate(-3.2deg); }
.pick-avatar { display: block; overflow: hidden; border-radius: 50%; }
.pick-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; scale: 1; }

.hero .btn-main, .nav .btn-main { background: var(--navy); }
.hero .btn-main:hover:not([disabled]), .nav .btn-main:hover:not([disabled]) { background: var(--navy-2); }

/* The frame has its own width, so it cannot collapse */
.doc-stage { display: block; width: 100%; padding: 16px 20px; }
.doc-flip { display: block; width: 100%; max-width: 390px; margin: 0 auto; }
@media (max-width: 760px) { .doc-flip { max-width: 330px; } }

/* The third doctor's panels */
.doc:nth-child(3) .doc-face { background: linear-gradient(165deg, #6d4fd0, #46309e); }
.doc:nth-child(3) .doc-flip::before { background: #0fa3b1; transform: rotate(-3deg); }
.doc:nth-child(3) .doc-flip::after { background: #e6b422; transform: rotate(3.2deg); }

/* Small round pictures in the form: photographs fill the circle, the tick sits in its centre */
.pick-avatar { display: grid; place-items: center; }
.pick-avatar-any { background: #e3f4f4; color: var(--teal); }
.pick-avatar-any svg { display: block; width: 26px; height: 26px; margin: 0; }

.doc-hours { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-weight: 600; color: var(--teal); }
.doc-hours svg { flex: none; }

/* The "coming from" list: its arrow sits well inside the rounded box */
.find select { -webkit-appearance: none; appearance: none; padding: 8px 46px 8px 18px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b3d91' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center; color: var(--ink); }


/* The rating, in one line */
.reviews { padding: clamp(26px, 5vh, 44px) var(--gutter); text-align: center; }
.rating-line { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 12px 26px; border-radius: 999px; background: #fff; color: var(--ink); font-size: clamp(1.14rem, 1.8vw, 1.42rem); font-weight: 700; text-decoration: none; box-shadow: 0 0 0 1px #fff, 0 16px 30px -18px rgba(16, 35, 63, .45); }
.rating-line .rp-stars svg { width: 20px; height: 20px; }
.rating-line .g-logo { width: 22px; height: 22px; }

/* A gold medal beside the doctor's name */
.doc-head { display: flex; align-items: center; gap: 12px; }
.doc-head .doc-name { flex: 0 1 auto; min-width: 0; }
.doc-medal { flex: none; width: clamp(66px, 6.4vw, 88px); }
.doc-medal .seal { display: block; width: 100%; max-width: none; height: auto; filter: drop-shadow(0 6px 8px rgba(90, 66, 20, .3)); }
@media (max-width: 760px) { .doc-medal { width: 68px; } }


/* ==== One photograph per doctor, with no flipping (NMC guidelines, 6 Oct 2026), on its coloured
   panels (owner, 4 Nov 2026: keep the background colours). The medal beside the name stays too,
   and the words beside it name who awarded it. ==== */
.doc-stage { display: block; height: auto; padding: 16px 20px; transform: none; }
.doc-stage::before, .doc-stage::after { display: none !important; content: none !important; }
.doc-photo { --a: #1a78c9; --b: #0b4fa3; --p1: #8b2fa3; --r1: -3deg; --p2: #f5a524; --r2: 3.2deg; position: relative; isolation: isolate; display: block; width: 100%; max-width: 360px; aspect-ratio: 610 / 650; margin: 0 auto; }
.doc-photo::before, .doc-photo::after { content: ''; position: absolute; inset: 0; border-radius: 20px; }
.doc-photo::before { background: var(--p1); transform: rotate(var(--r1)); z-index: -1; }
.doc-photo::after { background: var(--p2); transform: rotate(var(--r2)); z-index: -2; }
.doc-photo img { display: block; position: static; width: 100% !important; max-width: none !important; height: 100% !important; max-height: none !important; object-fit: contain; object-position: 50% 100%; border-radius: 18px; background: linear-gradient(165deg, var(--a), var(--b)); box-shadow: 0 22px 40px -22px rgba(11, 61, 145, .55); }
.doc:nth-child(2) .doc-photo { --a: #149aa0; --b: #0a6a70; --p1: #d6334c; --r1: 3deg; --p2: #e6b422; --r2: -3.2deg; }
.doc:nth-child(3) .doc-photo { --a: #6d4fd0; --b: #46309e; --p1: #0fa3b1; --r1: -3deg; --p2: #e6b422; --r2: 3.2deg; }
.doc-reg { margin: 0 0 6px; font-size: .95rem; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 760px) { .doc-photo { max-width: 300px; } }

/* Doctors alternate sides on a wider screen, so the three entries form a pattern (owner, 4 Nov 2026):
   words then photo, photo then words, words then photo. A phone keeps one column. */
@media (min-width: 761px) {
  .doctor-list .doc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; column-gap: clamp(32px, 5vw, 80px); row-gap: 14px; align-items: start; }
  .doctor-list .doc .doc-intro { grid-column: 1; grid-row: 1; align-self: end; }
  .doctor-list .doc .doc-bio { grid-column: 1; grid-row: 2; align-self: start; }
  .doctor-list .doc .doc-stage { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .doctor-list .doc:nth-child(even) .doc-intro, .doctor-list .doc:nth-child(even) .doc-bio { grid-column: 2; }
  .doctor-list .doc:nth-child(even) .doc-stage { grid-column: 1; }
}

/* Ten-minute times make a long list, so they sit closer together. They stay big enough to tap. */
.chips { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.chips .chip { padding: 8px 4px; font-size: .92rem; white-space: nowrap; }
