/* Justin Terry O.D. & Associates: the eye chart.
   Spectral (display) + Atkinson Hyperlegible Next (body) + Atkinson Hyperlegible Mono (utility).
   Colours come from their logo; the one accent is their periwinkle, deepened to pass AA. */

:root {
  --paper: #FCFCFA;
  --mist: #EEF0F7;
  --ink: #1B2040;
  --slate: #4E5470;
  --navy: #2F3B71;
  --lens: #4453A6;
  --lens-hover: #37458F;
  --peri: #6171B5;
  --hair: #D9DCE8;
  --foot-text: #C9CFEA;
  --foot-muted: #AEB6DA;

  --sa-accent: #4453A6;
  --sa-accent-ink: #FFFFFF;

  --display: "Spectral", Georgia, "Times New Roman", serif;
  --body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gut: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --measure: 680px;
  --radius: 6px;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.62 var(--body);
  font-kerning: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--lens); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--lens); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
p, ul, ol, dl { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; color: var(--ink); margin: 0; text-wrap: balance; }
h2 { font-size: clamp(34px, 3.5vw, 50px); line-height: 1.1; letter-spacing: -0.01em; }
h3 { font-size: clamp(23px, 2vw, 27px); line-height: 1.22; font-weight: 500; }
strong { font-weight: 600; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  border: 0; border-radius: var(--radius); background: var(--lens); color: #fff;
  font: 600 17px/1.2 var(--body); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
.btn:hover { background: var(--lens-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--navy { background: var(--navy); }
.btn--navy:hover { background: #242E5C; }
.call { font-weight: 600; white-space: nowrap; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ------------------------------------------------------------ header */
.site-head { position: relative; z-index: 20; }
.site-head--over { position: absolute; top: 0; left: 0; right: 0; }
.site-head--over .bar { border-bottom-color: transparent; }
.page-home .hero__frame { padding-top: var(--head-h, 124px); }
.util { display: flex; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 12px; font: 400 14px/1.4 var(--mono); color: var(--slate); letter-spacing: 0.01em; }
.util p { margin: 0; }
.util a { color: var(--ink); text-decoration-thickness: 1px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--hair); }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: clamp(250px, 26vw, 372px); height: auto; }
.nav ul { display: flex; flex-wrap: wrap; gap: 6px 26px; list-style: none; margin: 0; padding: 0; justify-content: flex-end; }
.nav a { display: inline-block; padding: 10px 0; font-size: 17px; text-decoration: none; color: var(--ink); border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--lens); }
.nav a[aria-current="page"] { border-bottom-color: var(--lens); }
.menu-btn { display: none; }
.menu { display: none; }

/* ------------------------------------------------------------ the chart (shared by hero and page headers) */
.chart { position: relative; margin: 0 auto; color: var(--ink); font-family: var(--display); font-weight: 400; }
.chart h1, .chart p { margin: 0; font: inherit; color: inherit; }
.ln {
  display: grid; grid-template-columns: var(--acw, 88px) minmax(0, 1fr) var(--acw, 88px); align-items: baseline;
  line-height: 0.8; text-transform: uppercase; white-space: nowrap;
}
.ln .t { grid-column: 2; justify-self: center; }
.ln .bl { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.ac { grid-column: 1; justify-self: start; font: 400 14px/1 var(--mono); letter-spacing: 0.02em; color: var(--slate); text-transform: none; white-space: nowrap; }

/* home hero chart: sizes follow Snellen ratios, compressed at the foot so the 20/20 line stays readable */
.hero { position: relative; }
.hero__frame { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; background: var(--paper); }
.hero__frame > .site-head { flex: none; }
.hero__stage { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: clamp(18px, 3vh, 40px); padding-bottom: clamp(12px, 2vh, 24px); }
.chart--hero { --c: min(10.2vw, 17.2vh, 164px); width: 100%; max-width: calc(var(--c) * 3.6 + 200px); }
.chart--hero .ln { margin-bottom: 0.34em; }
.chart--hero .l1 { margin-bottom: 0.27em; }
.chart--hero p .ln:last-child { margin-bottom: 0; }
.l1 { font-size: var(--c); letter-spacing: 0.3em; }
.l2 { font-size: calc(var(--c) * 0.53); letter-spacing: 0.26em; }
.l3 { font-size: calc(var(--c) * 0.395); letter-spacing: 0.23em; }
.l4 { font-size: calc(var(--c) * 0.3); letter-spacing: 0.2em; }
.l5 { font-size: calc(var(--c) * 0.245); letter-spacing: 0.18em; }
.l6 { font-size: calc(var(--c) * 0.192); letter-spacing: 0.16em; }
.l7 { font-size: calc(var(--c) * 0.158); letter-spacing: 0.14em; }
.l8 { font-size: max(15px, calc(var(--c) * 0.132)); letter-spacing: 0.14em; }
/* letter-spacing adds space after the last letter too: pull the line back so it truly centres */
.ln .t { margin-right: calc(-1 * var(--ls, 0em)); }
.l1 .t { --ls: 0.3em; } .l2 .t { --ls: 0.26em; } .l3 .t { --ls: 0.23em; } .l4 .t { --ls: 0.2em; }
.l5 .t { --ls: 0.18em; } .l6 .t { --ls: 0.16em; } .l7 .t, .l8 .t { --ls: 0.14em; }

.hero__foot { position: relative; z-index: 3; display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 20px 48px; padding-top: clamp(18px, 3.2vh, 40px); padding-bottom: clamp(20px, 3.4vh, 40px); }
.hero__where { margin: 0; color: var(--slate); font-size: 16px; line-height: 1.5; max-width: 34ch; }
.hero__where strong { color: var(--ink); font-weight: 600; }
.hero__award { margin: 0; font: 400 14px/1.45 var(--mono); color: var(--slate); text-align: right; max-width: 30ch; justify-self: end; }
.hero__award b { display: block; font: 500 17px/1.3 var(--display); color: var(--ink); letter-spacing: 0.01em; }

/* the WebGL stage: the canvas mirrors the DOM chart, the still is the lens rendered from that scene */
.lens-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.hero .chart { z-index: 2; }
.lens-still { position: absolute; z-index: 1; pointer-events: none; width: clamp(150px, 17vw, 250px); right: max(var(--gut), calc(50% - 560px)); top: 38%; transform: translateY(-50%); }
.has-3d .lens-still { display: none; }
.has-3d .hero { height: 265vh; }
.has-3d .hero__frame { position: sticky; top: 0; height: 100vh; height: 100svh; }
.has-3d .hero .ln .t, .has-3d .hero .ac { filter: blur(var(--soft, 3.2px)); }
.has-3d .hero.is-live .lens-canvas { opacity: 1; }
.has-3d .hero.is-live .chart { opacity: 0; transition: opacity .25s linear .25s; }
.has-3d .hero.is-live .ln .t, .has-3d .hero.is-live .ac { filter: none; }
.hero__cue { position: absolute; z-index: 3; left: 50%; bottom: 10px; transform: translateX(-50%); margin: 0; font: 400 14px/1 var(--mono); color: var(--slate); display: none; }
.has-3d .hero.is-live .hero__cue { display: block; transition: opacity .4s ease; }
.hero.is-done .hero__cue { opacity: 0; }

/* inner page chart header */
.page-head { padding: clamp(28px, 5vh, 56px) 0 clamp(36px, 6vh, 72px); border-bottom: 1px solid var(--hair); }
.crumbs { margin: 0 0 clamp(24px, 4vh, 44px); font: 400 14px/1.4 var(--mono); color: var(--slate); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--hair); }
.crumbs a { color: var(--slate); text-decoration-thickness: 1px; }
.crumbs [aria-current] { color: var(--ink); }
.chart--page { --c: min(9vw, 118px); max-width: 980px; }
.chart--page .ln { margin-bottom: calc(var(--c) * 0.16); }
.chart--page .pa { font-size: var(--c); letter-spacing: 0.2em; }
.chart--page .pb { font-size: calc(var(--c) * 0.62); letter-spacing: 0.18em; }
.chart--page .pa .t { --ls: 0.2em; } .chart--page .pb .t { --ls: 0.18em; }
.chart--page .pc { text-transform: none; white-space: normal; margin-top: calc(var(--c) * 0.3); margin-bottom: 0; }
.chart--page .pc .t { font: 400 clamp(18px, 1.6vw, 21px)/1.5 var(--body); color: var(--slate); text-align: center; max-width: 46ch; margin: 0; }
.js .focus-line .t, .js .focus-line .ac { filter: blur(7px); opacity: .35; transition: filter .9s cubic-bezier(.2,.7,.2,1), opacity .9s ease; }
.js .is-focused .focus-line .t, .js .is-focused .focus-line .ac { filter: none; opacity: 1; }
.js .is-focused .focus-line:nth-child(2) .t, .js .is-focused .focus-line:nth-child(2) .ac { transition-delay: .14s; }
.js .is-focused .focus-line:nth-child(3) .t, .js .is-focused .focus-line:nth-child(3) .ac { transition-delay: .28s; }

/* headings focus in as they arrive: the chart's focus pull, kept quiet */
.js .fx { filter: blur(6px); opacity: 0; transform: translateY(8px); transition: filter .8s cubic-bezier(.2,.7,.2,1), opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .fx.is-in { filter: none; opacity: 1; transform: none; }

/* ------------------------------------------------------------ sections */
.section { padding: clamp(72px, 11vh, 132px) 0; }
.section + .section { border-top: 1px solid var(--hair); }
.section--mist { background: var(--mist); border-top: 0 !important; }
.section--mist + .section { border-top: 0; }
.lede { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.6; color: var(--ink); max-width: var(--measure); }
.muted { color: var(--slate); }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vh, 64px); }
.sec-head h2 { margin-bottom: 18px; }
.sec-head p { color: var(--slate); max-width: 62ch; margin: 0; }
.measure { max-width: var(--measure); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* the visit: a real sequence, one step at a time */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; max-width: 920px; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 32px; padding: 34px 0 38px; border-top: 1px solid var(--hair); }
.steps > li:last-child { border-bottom: 1px solid var(--hair); }
.steps > li::before { content: counter(step); font: 400 clamp(52px, 5vw, 68px)/0.9 var(--display); color: var(--lens); font-variant-numeric: lining-nums; }
.steps h3, .prose .steps h3 { margin: 6px 0 10px; }
.steps p { margin: 0 0 12px; max-width: 60ch; }
.steps p:last-child { margin-bottom: 0; }
.steps .step-link { font-weight: 600; }
.steps--compact > li { grid-template-columns: 72px minmax(0, 1fr); padding: 24px 0 26px; }
.steps--compact > li::before { font-size: 44px; }

/* the doctor */
.doctor { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.doctor__photo { margin: 0; position: sticky; top: 24px; }
.doctor__photo img { width: 100%; aspect-ratio: 2491 / 2979; object-fit: cover; border-radius: 4px; background: var(--mist); }
.doctor__photo figcaption { margin-top: 12px; font: 400 14px/1.45 var(--mono); color: var(--slate); }
.doctor h2 { margin-bottom: 20px; }
.doctor__body p { max-width: 60ch; }
.award { margin: 36px 0 0; padding: 28px 0 0; border-top: 1px solid var(--hair); }
.award b { display: block; font: 500 clamp(24px, 2.2vw, 30px)/1.2 var(--display); color: var(--ink); margin-bottom: 6px; }
.award span { color: var(--slate); }
.members { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 44px; margin: 32px 0 0; padding: 0; list-style: none; }
.members img { height: 58px; width: auto; }
.members li:nth-child(2) img { height: 40px; }
.google-line { margin: 30px 0 0; font: 400 15px/1.5 var(--mono); color: var(--slate); }
.google-line a { color: var(--ink); text-decoration-thickness: 1px; }
.google-line a, .nw { white-space: nowrap; }
.split h2, .visit h2 { margin-bottom: 18px; }

/* services as ruled rows, one service per line */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.rows li { border-bottom: 1px solid var(--hair); }
.rows a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 28px; gap: 8px 40px; align-items: baseline; padding: 26px 4px; text-decoration: none; color: var(--ink); }
.rows a:hover { background: linear-gradient(90deg, rgba(68,83,166,.06), rgba(68,83,166,0)); }
.rows .rn { font: 400 clamp(24px, 2.3vw, 32px)/1.2 var(--display); }
.rows .rd { color: var(--slate); font-size: 17px; }
.rows .ra { font: 400 22px/1 var(--mono); color: var(--lens); justify-self: end; transition: transform .2s ease; }
.rows a:hover .ra { transform: translateX(4px); }

/* insurance */
.plans { list-style: none; margin: 0 0 28px; padding: 0; columns: 2; column-gap: 48px; max-width: 760px; }
.plans li { break-inside: avoid; padding: 14px 0; border-bottom: 1px solid var(--hair); font: 400 clamp(21px, 1.8vw, 25px)/1.3 var(--display); }
.pay { font: 400 15px/1.6 var(--mono); color: var(--slate); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }

/* questions */
.qa { max-width: 820px; border-top: 1px solid var(--hair); }
.qa details { border-bottom: 1px solid var(--hair); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 16px; align-items: baseline; padding: 24px 0; font: 400 clamp(21px, 1.8vw, 25px)/1.3 var(--display); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font: 400 26px/1 var(--mono); color: var(--lens); justify-self: end; transition: transform .2s ease; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa .ans { padding: 0 44px 26px 0; max-width: 66ch; }
.qa .ans p:last-child { margin-bottom: 0; }

/* visit */
.visit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.map { position: relative; margin: 0; border-radius: 4px; overflow: hidden; background: var(--mist); aspect-ratio: 4 / 3; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.addr { font: 400 clamp(24px, 2.2vw, 30px)/1.3 var(--display); margin: 0 0 18px; }
.hours { width: 100%; border-collapse: collapse; margin: 0 0 28px; font: 400 15px/1.4 var(--mono); }
.hours caption { text-align: left; font: 600 17px/1.4 var(--body); padding-bottom: 8px; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--hair); text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--ink); white-space: nowrap; padding-left: 12px; }
.hours th { color: var(--slate); }
.note { border-left: 3px solid var(--lens); padding: 4px 0 4px 18px; margin: 28px 0; max-width: 62ch; }
.note p { margin: 0 0 8px; } .note p:last-child { margin: 0; }

/* inner page layout: a sticky list of what is on the page, and one calm column */
.page { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-top: clamp(48px, 8vh, 88px); padding-bottom: clamp(64px, 10vh, 120px); }
.toc { position: sticky; top: 24px; align-self: start; font-size: 16px; }
.toc p { margin: 0 0 10px; font: 400 14px/1.4 var(--mono); color: var(--slate); }
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--hair); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--slate); }
.toc a:hover { color: var(--ink); }
.toc a.is-here { color: var(--ink); border-left-color: var(--lens); }
.prose { max-width: var(--measure); }
.prose > section { padding-bottom: clamp(44px, 7vh, 72px); }
.prose > section + section { padding-top: clamp(44px, 7vh, 72px); border-top: 1px solid var(--hair); }
.prose h2 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 20px; }
.prose h3 { margin: 30px 0 10px; }
.prose ul.list { padding: 0; list-style: none; margin: 0 0 1.2em; }
.prose ul.list li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--hair); }
.prose ul.list li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 9px; height: 9px; border: 2px solid var(--lens); border-radius: 50%; }
.prose .cols { columns: 2; column-gap: 40px; }
.prose .cols li { break-inside: avoid; }
.quote { margin: 8px 0 26px; padding: 26px 30px; background: var(--mist); border-radius: 4px; }
.quote p { font: 400 clamp(20px, 1.8vw, 23px)/1.5 var(--display); margin: 0 0 12px; }
.quote footer { font: 400 14px/1.4 var(--mono); color: var(--slate); }
.ask { margin-top: 8px; padding: 34px 34px 36px; background: var(--mist); border-radius: 4px; }
.ask h2, .ask h3 { margin: 0 0 10px; font-size: clamp(26px, 2.4vw, 32px); font-weight: 400; }
.ask p { color: var(--slate); max-width: 56ch; }
.related { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.related a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 2px; border-bottom: 1px solid var(--hair); text-decoration: none; font: 400 21px/1.3 var(--display); }
.related a::after { content: "\2192"; font-family: var(--mono); color: var(--lens); }

/* service index cards are banned; the hub is one long ruled list, grouped */
.group + .group { margin-top: clamp(56px, 9vh, 96px); }
.group > h2 { margin-bottom: 24px; font-size: clamp(28px, 2.6vw, 36px); }

/* contact form */
.form { display: grid; gap: 18px; max-width: 560px; }
.form label { display: block; font-weight: 600; margin-bottom: 6px; }
.form input, .form textarea { width: 100%; font: 400 18px/1.4 var(--body); color: var(--ink); background: #fff; border: 1px solid #B9BED3; border-radius: var(--radius); padding: 13px 14px; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 3px solid var(--lens); outline-offset: 1px; border-color: var(--lens); }
.form .hint { font-size: 15px; color: var(--slate); margin: 0; }
.form-msg { margin: 4px 0 0; font-weight: 600; min-height: 1.6em; }
.form-msg.ok { color: #1F6B45; }
.form-msg.bad { color: #A12B2B; }

/* ------------------------------------------------------------ footer */
.site-foot { background: var(--navy); color: var(--foot-text); padding: clamp(64px, 9vh, 104px) 0 calc(36px + env(safe-area-inset-bottom)); font-size: 16px; }
.site-foot a { color: #fff; text-decoration-color: rgba(255,255,255,.4); text-decoration-thickness: 1px; }
.site-foot a:hover { color: #fff; text-decoration-color: #fff; }
.site-foot :focus-visible { outline-color: #fff; }
.foot-logo { width: min(440px, 100%); margin-bottom: clamp(44px, 7vh, 72px); }
.foot-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr 1.3fr; gap: 40px 48px; }
.foot-grid h2 { font: 600 15px/1.4 var(--body); color: #fff; letter-spacing: 0.01em; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin: 0 0 8px; }
.foot-grid p { margin: 0 0 10px; }
.foot-hours { font: 400 14px/1.6 var(--mono); color: var(--foot-muted); }
.foot-hours b { font-weight: 400; color: var(--foot-text); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: clamp(48px, 7vh, 72px); padding-top: 24px; border-top: 1px solid rgba(201,207,234,.24); font: 400 13px/1.5 var(--mono); color: var(--foot-muted); }
.foot-legal p { margin: 0; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1000px) {
  .lens-still { display: none; }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 0; border-radius: var(--radius); background: var(--ink); color: #fff; font: 600 16px/1 var(--body); cursor: pointer; }
  .menu:not([hidden]) { display: block; }
  .menu { border-bottom: 1px solid var(--hair); background: var(--paper); }
  .menu ul { list-style: none; margin: 0; padding: 8px 0 20px; }
  .menu li a { display: block; padding: 13px 0; font: 400 24px/1.25 var(--display); text-decoration: none; border-bottom: 1px solid var(--hair); }
  .menu .actions { padding: 6px 0 24px; }
  .doctor { grid-template-columns: 1fr; }
  .doctor__photo { position: static; max-width: 560px; }
  .visit { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .page { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 17px; line-height: 1.6; }
  .util { display: none; }
  .bar { padding-top: 14px; }
  .bar { padding-bottom: 12px; gap: 16px; }
  .brand img { width: min(250px, 62vw); }
  .chart--hero { --c: min(25vw, 12.8vh, 104px); --acw: 58px; max-width: none; }
  .chart--hero .ln { grid-template-columns: var(--acw) minmax(0, 1fr) 0; }
  .chart--hero .ln { margin-bottom: 0.36em; }
  .l1 { letter-spacing: 0.26em; } .l1 .t { --ls: 0.26em; }
  .l2 { font-size: calc(var(--c) * 0.54); letter-spacing: 0.2em; } .l2 .t { --ls: 0.2em; }
  .l3 { font-size: calc(var(--c) * 0.4); letter-spacing: 0.18em; } .l3 .t { --ls: 0.18em; }
  .l4 { font-size: calc(var(--c) * 0.31); letter-spacing: 0.16em; } .l4 .t { --ls: 0.16em; }
  .l5 { font-size: calc(var(--c) * 0.25); letter-spacing: 0.13em; } .l5 .t { --ls: 0.13em; }
  .l6 { font-size: calc(var(--c) * 0.2); letter-spacing: 0.12em; } .l6 .t { --ls: 0.12em; }
  .l7 { font-size: max(15px, calc(var(--c) * 0.165)); letter-spacing: 0.1em; } .l7 .t { --ls: 0.1em; }
  .l8 { font-size: max(14px, calc(var(--c) * 0.146)); letter-spacing: 0.1em; } .l8 .t { --ls: 0.1em; }
  .ac { font-size: 14px; }
  .hero__foot { grid-template-columns: 1fr; gap: 12px; padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .hero__award, .hero__foot .call { display: none; }
  .hero__where { font-size: 15px; }
  .hero__award { text-align: left; justify-self: start; }
  .hero__award b { font-size: 16px; }
  .hero__foot .actions { order: -1; }
  .hero__foot .btn { flex: 1 1 100%; }
  .has-3d .hero { height: 215vh; --soft: 2.4px; }
  .lens-still { width: 118px; right: 10px; top: 27%; }
  .chart--page { --acw: 58px; }
  .chart--page .ln { grid-template-columns: var(--acw) minmax(0, 1fr) 0; }
  .chart--page .pc .t { font-size: 17px; }
  .steps > li { grid-template-columns: 48px minmax(0, 1fr); gap: 0 16px; padding: 26px 0 28px; }
  .steps > li::before { font-size: 44px; }
  .rows a { grid-template-columns: minmax(0, 1fr) 24px; padding: 22px 2px; }
  .rows .rd { grid-column: 1; grid-row: 2; font-size: 16px; }
  .rows .ra { grid-row: 1; grid-column: 2; }
  .plans { columns: 1; }
  .split { grid-template-columns: 1fr; }
  .qa .ans { padding-right: 0; }
  .hours { font-size: 14px; }
  .prose .cols { columns: 1; }
  .ask { padding: 26px 22px 28px; }
  .foot-grid { grid-template-columns: 1fr; }
  .members img { height: 48px; }
  .members li:nth-child(2) img { height: 34px; }
}
@media (max-height: 760px) and (min-width: 761px) {
  .util { padding-top: 10px; padding-bottom: 8px; }
  .bar { padding-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .fx, .js .focus-line .t, .js .focus-line .ac { filter: none !important; opacity: 1 !important; transform: none !important; }
}
