/* Bak Chiropractic. The level line: every page stands on one horizon.
   Palette, type and the reasoning live in design/bak-chiro.md. */

:root {
  --daylight: #EDF0F4;
  --paper: #F7F8FA;
  --navy: #2B2D56;
  --ink: #191B36;
  --slate: #4A4F72;
  --gold: #FECD19;
  --aluminium: #B7BECB;
  --night: #1F2146;
  --mist: #C9CEE0;
  --display: "Trirong", "Iowan Old Style", Georgia, serif;
  --text: "Sarabun", "Segoe UI", system-ui, sans-serif;
  --bar: 84px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --wrap: 1240px;
  --sa-accent: #2B2D56;
  --sa-accent-ink: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--daylight); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 16px); }
body { margin: 0; font: 400 18px/1.65 var(--text); color: var(--ink); background: var(--daylight); overflow-x: clip; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; color: var(--navy); margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(46px, 6.4vw, 92px); line-height: 1.02; overflow-wrap: break-word; hyphens: auto; }
h2 { font-size: clamp(34px, 4.1vw, 56px); line-height: 1.08; }
h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; font-weight: 400; letter-spacing: 0; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.on-navy :focus-visible, .bar :focus-visible, .band :focus-visible, .foot :focus-visible, .menu :focus-visible { outline-color: var(--gold); }
.skip { position: absolute; left: 16px; top: -80px; z-index: 50; background: var(--gold); color: var(--navy); font-weight: 600; padding: 12px 18px; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 4px;
  background: var(--navy); color: #fff; font: 600 17px/1 var(--text); letter-spacing: 0.005em; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; box-shadow: 0 1px 0 rgba(25, 27, 54, .12); }
.btn:hover { background: #1F2146; box-shadow: 0 8px 22px -12px rgba(25, 27, 54, .55); }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #FFD93F; }
.tel { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--navy); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.tel:hover { border-bottom-width: 2px; }
.textlink { font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.actions .or { color: var(--slate); }

/* ------------------------------------------------ the bar: the level's own body */
.bar { position: sticky; top: 0; z-index: 30; background: var(--navy); color: #fff; height: var(--bar); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 10px 30px -22px rgba(0,0,0,.6); }
.bar__in { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.brand { flex: none; display: block; line-height: 0; }
.brand img { width: 190px; height: auto; }
.nav { display: flex; gap: 2px; margin-left: 12px; }
.nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: 16px; padding: 10px 12px; border-radius: 4px; opacity: .9; }
.nav a:hover { opacity: 1; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.bar__end { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.bar__tel { color: #fff; text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; font-size: 17px; white-space: nowrap; }
.bar__tel:hover { color: var(--gold); }
.bar .btn { min-height: 46px; padding: 0 20px; }
.menu-btn { display: none; min-height: 46px; padding: 0 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 4px; background: transparent; color: #fff; font: 600 16px/1 var(--text); cursor: pointer; }
.menu-btn:hover { border-color: #fff; }
.menu { position: fixed; inset: var(--bar) 0 0 0; z-index: 29; background: var(--navy); color: #fff; overflow-y: auto; padding: 28px var(--gutter) 120px; }
.menu[hidden] { display: none; }
.menu ul { list-style: none; display: grid; gap: 2px; }
.menu li a { display: block; color: #fff; text-decoration: none; font: 300 32px/1.2 var(--display); padding: 10px 0; }
.menu li a:hover { color: var(--gold); }
.menu__small { margin-top: 24px; display: grid; gap: 16px; color: var(--mist); font-size: 17px; }
.menu__small a { color: #fff; }
.menu .btn { justify-self: start; }
body.menu-open { overflow: hidden; }

/* ------------------------------------------------ the level line and its vial */
.levelline { position: relative; height: 34px; margin: 20px 0 30px; }
.levelline::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--aluminium); }
.vial { position: absolute; left: 50%; top: 50%; width: 140px; height: 32px; transform: translate(-50%, -50%); overflow: visible; }
.vial__bubble { animation: vial-settle 1.9s cubic-bezier(.3, 1.35, .45, 1) .25s both; }
@keyframes vial-settle { from { transform: translateX(34px); } to { transform: translateX(0); } }

/* ------------------------------------------------ inner page masthead */
.masthead { padding: clamp(30px, 5vw, 64px) 0 clamp(36px, 5vw, 64px); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 15px; color: var(--slate); margin-bottom: clamp(18px, 3vw, 34px); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--aluminium); }
.crumbs a { color: var(--slate); }
.masthead h1 { max-width: 16ch; }
.masthead .lede { max-width: 60ch; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; color: var(--ink); margin-bottom: 26px; }

/* ------------------------------------------------ sections: a margin that carries the label, a reading column */
.sect { padding: clamp(48px, 7vw, 96px) 0; }
.sect + .sect { padding-top: 0; }
.masthead + .sect { padding-top: clamp(20px, 3vw, 44px); }
.sect__grid { display: grid; grid-template-columns: minmax(220px, 4fr) 8fr; gap: 24px clamp(32px, 5vw, 80px); align-items: start; }
.sect__label { position: sticky; top: calc(var(--bar) + 28px); }
.sect__label h2 { font-size: clamp(30px, 3vw, 42px); }
.sect__label p { color: var(--slate); font-size: 16px; margin-top: 14px; }
.read { max-width: 68ch; }
.read > p:first-child { font-size: 20px; }
.read h3 { margin: 1.8em 0 .5em; }
.read h3:first-child { margin-top: 0; }
.sect--paper { background: var(--paper); padding-top: clamp(48px, 7vw, 96px); }
.ticks { list-style: none; display: grid; gap: 10px; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 1px; background: var(--navy); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: calc(.72em - 3px); width: 5px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px var(--navy); }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; }
.note { color: var(--slate); font-size: 16px; }

/* a sub-service block on the category pages */
.part { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid rgba(183, 190, 203, .6); scroll-margin-top: calc(var(--bar) + 12px); }
.part:first-of-type { border-top: 0; padding-top: 8px; }
.part h2 { font-size: clamp(30px, 3.1vw, 44px); }
.part .lead { font-size: 20px; }
.part__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 44px; margin-top: 24px; }
.part__lists h3 { font: 600 16px/1.3 var(--text); color: var(--navy); margin: 0 0 14px; letter-spacing: 0.01em; }
.part .actions { margin-top: 26px; }

/* ------------------------------------------------ the navy band (one per page) */
.band { background: var(--navy); color: #fff; padding: clamp(56px, 8vw, 110px) 0; }
.band h2, .band h3 { color: #fff; }
.band p { color: var(--mist); }
.band a { color: #fff; }
.band .btn { background: var(--gold); color: var(--navy); }
.band .btn:hover { background: #FFD93F; }
.band .tel { color: #fff; }
.band .or, .band .today { color: var(--mist); }
.band__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px clamp(40px, 6vw, 96px); align-items: end; }
.band__grid .actions { justify-content: flex-start; }

/* ------------------------------------------------ reviews */
.rating { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.rating strong { font: 300 clamp(84px, 11vw, 150px)/0.9 var(--display); letter-spacing: -0.03em; color: inherit; }
.rating span { font-size: 19px; }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 18px; line-height: 1; }
.quotes { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(36px, 5vw, 60px); }
.quote { margin: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 6px; padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 16px; }
.quote blockquote { margin: 0; font: 300 clamp(20px, 1.7vw, 24px)/1.42 var(--display); color: #fff; }
.quote figcaption { margin-top: auto; font-size: 15px; color: var(--mist); display: flex; gap: 12px; align-items: center; }
.mono { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); font: 600 15px/1 var(--text); }
.quote figcaption b { color: #fff; font-weight: 600; display: block; }
.band__links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 34px; }

/* the reviews page */
.rlist { list-style: none; display: grid; gap: 22px; }
.rcard { background: var(--paper); border: 1px solid rgba(183,190,203,.7); border-radius: 6px; padding: 26px 28px; }
.rcard__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.rcard__head b { display: block; font-weight: 600; color: var(--navy); }
.rcard__head span { color: var(--slate); font-size: 15px; }
.rcard .mono { background: var(--navy); color: #fff; }
.rcard .stars { margin-left: auto; color: var(--navy); }
.rcard blockquote { margin: 0; font: 300 22px/1.5 var(--display); color: var(--ink); }
.rcard.is-clamped blockquote { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.more { margin-top: 10px; background: none; border: 0; padding: 6px 0; font: 600 16px/1 var(--text); color: var(--navy); text-decoration: underline; cursor: pointer; }
.wall { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.wall li { background: var(--paper); border: 1px solid rgba(183,190,203,.7); border-radius: 4px; padding: 10px 14px; font-size: 15px; display: flex; gap: 10px; align-items: center; }
.wall .stars { color: var(--navy); font-size: 14px; }

/* ------------------------------------------------ hours, visit, map */
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-bottom: 1px solid rgba(183,190,203,.7); font-weight: 400; }
.hours th { width: 42%; font-weight: 500; color: var(--navy); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; }
.hours tr.is-today th::after { content: "today"; margin-left: 10px; font: 600 12px/1 var(--text); color: var(--navy); background: var(--gold); padding: 4px 7px 3px; border-radius: 3px; vertical-align: 2px; }
.today { font-weight: 500; }
.visit { display: grid; grid-template-columns: 5fr 7fr; gap: 40px clamp(40px, 6vw, 90px); align-items: start; }
.visit address { font-style: normal; font-size: 19px; line-height: 1.6; margin-bottom: 18px; }
.map { position: relative; border-radius: 6px; overflow: hidden; background: #DDE2EA; aspect-ratio: 4 / 3; border: 1px solid rgba(183,190,203,.8); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ------------------------------------------------ forms */
.form { display: grid; gap: 18px; max-width: 560px; }
.form label { display: grid; gap: 8px; font-weight: 500; color: var(--navy); }
.form input, .form textarea { width: 100%; font: 400 18px/1.4 var(--text); color: var(--ink); background: #fff; border: 1px solid #9AA2B4; border-radius: 4px; padding: 13px 14px; min-height: 52px; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.form__status { min-height: 1.6em; font-weight: 500; color: var(--navy); margin: 0; }
.form__status.is-err { color: #9A1B2F; }

/* ------------------------------------------------ doctor */
.doc { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.portrait { margin: 0; }
.portrait img { width: 300px; height: 300px; border-radius: 6px; object-fit: cover; box-shadow: 0 30px 60px -40px rgba(25,27,54,.7); }
.portrait figcaption { margin-top: 12px; font-size: 15px; color: var(--slate); }
.facts { list-style: none; display: grid; gap: 0; margin: 26px 0 30px; border-top: 1px solid rgba(183,190,203,.7); }
.facts li { display: grid; grid-template-columns: 10ch 1fr; gap: 20px; padding: 12px 0; border-bottom: 1px solid rgba(183,190,203,.7); }
.facts b { font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------ FAQ */
.faq { border-top: 1px solid rgba(183,190,203,.8); }
.faq details { border-bottom: 1px solid rgba(183,190,203,.8); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font: 400 clamp(20px, 1.8vw, 24px)/1.35 var(--display); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq details > div { padding: 0 0 22px; max-width: 64ch; }

/* ------------------------------------------------ services hub */
.svc { list-style: none; display: grid; gap: 0; border-top: 1px solid rgba(183,190,203,.8); }
.svc > li { display: grid; grid-template-columns: 4fr 8fr; gap: 16px clamp(32px, 5vw, 80px); padding: clamp(30px, 4vw, 48px) 0; border-bottom: 1px solid rgba(183,190,203,.8); }
.svc h2 { font-size: clamp(30px, 3vw, 42px); }
.svc h2 a { text-decoration: none; color: var(--navy); }
.svc h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.svc .subs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 4px 0 18px; font-size: 16px; }

/* ------------------------------------------------ legal text */
.legal { max-width: 72ch; }
.legal h2 { font-size: clamp(28px, 2.6vw, 36px); margin: 1.6em 0 .6em; }
.legal ol, .legal ul { padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: .45em; }

/* ------------------------------------------------ footer */
.foot { background: var(--night); color: var(--mist); padding: clamp(56px, 7vw, 90px) 0 36px; font-size: 16px; }
.foot a { color: #fff; }
.foot__grid { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.25fr; gap: 40px; }
.foot__brand img { width: 220px; }
.foot__brand p { margin-top: 18px; max-width: 34ch; }
.foot h2 { font: 600 15px/1.3 var(--text); color: #fff; letter-spacing: .01em; margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot address { font-style: normal; line-height: 1.7; }
.foot__base { max-width: var(--wrap); margin: 48px auto 0; padding: 22px var(--gutter) 0; border-top: 1px solid rgba(201,206,224,.2); display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; }
.foot__base nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ================================================= the home: the level */
.studio { display: none; }
.has-3d .studio { display: block; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(130% 95% at 50% 12%, #F7F8FB 0%, #EEF1F5 48%, #E5E9F0 100%); }
#level { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.2s ease; pointer-events: none;
  --fade: 0; --mx: 50vw;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,calc(1 - .95 * var(--fade))) 0, rgba(0,0,0,calc(1 - .95 * var(--fade))) calc(var(--mx) - 20px), #000 calc(var(--mx) + 240px));
  mask-image: linear-gradient(90deg, rgba(0,0,0,calc(1 - .95 * var(--fade))) 0, rgba(0,0,0,calc(1 - .95 * var(--fade))) calc(var(--mx) - 20px), #000 calc(var(--mx) + 240px)); }
.world-live #level { opacity: 1; }
.home main, .home .foot { position: relative; z-index: 1; }
.journey { position: relative; }
.stop { position: relative; padding: clamp(56px, 9vh, 110px) 0; }
.stop__copy { max-width: 540px; }
.stop h2 { margin-bottom: 20px; }
.stop p { font-size: 19px; }
.stop .actions { margin-top: 26px; }
.stop .more-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 16px; }

/* hero */
.hero { padding: clamp(40px, 7vh, 84px) 0 clamp(40px, 6vh, 64px); }
.hero h1 { max-width: 20ch; font-size: clamp(50px, 7vw, 104px); }
.hero .wrap { width: 100%; }
.hero__lede { max-width: 50ch; font-size: clamp(19px, 1.5vw, 21px); line-height: 1.6; margin: 26px 0 0; }
.hero__still { display: block; margin: clamp(28px, 4vw, 48px) 0 clamp(28px, 4vw, 44px); }
.hero__still img { width: 100%; aspect-ratio: 4 / 1; object-fit: cover; }
.hero__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 30px; }
.hero__foot .actions { margin-top: 0; }
.hero__today { color: var(--slate); font-size: 17px; margin: 0; }

/* the last stop: dead level */
.stop--level { text-align: center; }
.stop--level .stop__copy { max-width: 880px; margin: 0 auto; }
.stop--level blockquote { margin: 0; font: 300 clamp(30px, 3.4vw, 50px)/1.22 var(--display); color: var(--navy); text-wrap: balance; }
.stop--level blockquote p { font: inherit; margin: 0; }
.stop--level .cite { margin-top: 18px; color: var(--slate); font-size: 17px; }
.stop--level .actions { justify-content: center; }
.proof { display: inline-flex; align-items: baseline; gap: 12px; margin-top: 26px; }
.proof strong { font: 300 56px/1 var(--display); color: var(--navy); }

/* without the level (reduced motion, no WebGL, no JS) the stops become the house format:
   the label in the margin, the words in the reading column */
@media (min-width: 981px) {
  html:not(.has-3d) .stop:not(.hero):not(.stop--level) { border-top: 1px solid rgba(183,190,203,.6); }
  html:not(.has-3d) .stop:not(.hero):not(.stop--level) .stop__copy { max-width: none; display: grid; grid-template-columns: minmax(220px, 4fr) 8fr; column-gap: clamp(32px, 5vw, 80px); }
  html:not(.has-3d) .stop:not(.hero):not(.stop--level) .stop__copy > h2 { grid-column: 1; grid-row: 1 / span 6; }
  html:not(.has-3d) .stop:not(.hero):not(.stop--level) .stop__copy > :not(h2) { grid-column: 2; max-width: 64ch; }
}
/* the 3D journey: sticky words over the canvas */
.has-3d .hero__still { display: none; }
.has-3d .hero { min-height: calc(100svh - var(--bar)); display: flex; flex-direction: column; }
.has-3d .hero .hero__foot { margin-top: auto; }
.has-3d .stop:not(.hero) { min-height: 150vh; padding: 0; display: flex; }
.has-3d .stop:not(.hero) > .wrap { width: 100%; flex: 1; }
.has-3d .stop:not(.hero) .stop__copy { position: sticky; top: calc(var(--bar) + 13vh); padding: 20px 0 56px; }

.has-3d .stop.stop--level { min-height: 175vh; }
.has-3d .stop.stop--level .stop__copy { top: calc(var(--bar) + 41vh); padding-bottom: 12vh; }
.after { position: relative; z-index: 2; background: var(--daylight); }
.still-mode .bar, .still-mode main, .still-mode .foot, .still-mode .sa-corner-room { visibility: hidden; }
.still-mode #level { transition: none; visibility: visible; }

/* ================================================= responsive */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .bar__tel { display: none; }
}
@media (max-width: 980px) {
  .sect__grid, .band__grid, .visit, .svc > li { grid-template-columns: 1fr; }
  .sect__label { position: static; }
  .quotes { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .doc { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --bar: 68px; }
  body { font-size: 17px; }
  .brand img { width: 136px; }
  .bar__in { gap: 12px; }
  .bar__end { gap: 10px; }
  .bar .btn { min-height: 44px; padding: 0 14px; font-size: 16px; }
  .menu-btn { min-height: 44px; padding: 0 12px; }
  .part__lists, .cols2 { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .portrait img { width: 220px; height: 220px; }
  .rcard { padding: 22px 20px; }
  .rcard blockquote { font-size: 20px; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
  .vial { width: 116px; height: 28px; }
  .hero__still img { aspect-ratio: 13 / 5; }
  .stop p { font-size: 17px; }
  .masthead h1 { font-size: clamp(38px, 10.4vw, 46px); }

  /* the journey on a phone: the level rides in the top half, the words below it */
  .has-3d .hero { min-height: calc(100svh - var(--bar)); }
  .has-3d .hero h1 { font-size: clamp(44px, 12.5vw, 60px); }
  .has-3d .stop:not(.hero) { min-height: 135vh; }
  .has-3d .stop:not(.hero) .stop__copy { position: relative; top: auto; padding-top: 50vh; }
  .has-3d .stop:not(.hero):not(.stop--level) .stop__copy::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: 44vh calc(-1 * var(--gutter)) -30px; background: linear-gradient(180deg, rgba(237,240,244,0), rgba(237,240,244,.92) 5vh, rgba(237,240,244,.96)); }
  .has-3d .stop.stop--level .stop__copy { position: relative; top: auto; padding-top: 40vh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
