/* Stutzman Chiropractic: the plumb line.
   One true vertical at 30% of the viewport (26px on phones) runs through every page. Margin notes sit
   left of it, right-aligned; content hangs to its right. Hedvig Letters Serif and Sans, one weight
   each: hierarchy is size, colour and space. Palette and contrast in design/stutzman-chiro.md. */

:root {
  --night: #15222A;
  --mist: #E4E8E6;
  --chalk: #F6F7F4;
  --slate: #1B262B;
  --graphite: #4B585D;
  --red: #B8292D;
  --red-deep: #9F2226;
  --ember: #F08A80;
  --brass: #A07B45;
  --pale: #EEF0EC;
  --fog: #AEBBBF;
  --hair: rgba(27, 38, 43, 0.16);
  --hair-pale: rgba(238, 240, 236, 0.16);

  --serif: 'Hedvig Letters Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Hedvig Letters Sans', 'Segoe UI', system-ui, sans-serif;

  --axis: 30vw;                       /* the thread; spine.js pins the 3D thread to the same line */
  --pad: clamp(20px, 3.3vw, 48px);
  --gap: 44px;                        /* from the thread to the content */
  --tick: 28px;
  --logo-w: 300px;
  --top-h: 84px;

  --sa-accent: #B8292D;
  --sa-accent-ink: #FFFFFF;
}
@media (max-width: 1023px) { :root { --axis: 24vw; --gap: 34px; --logo-w: 250px; } }
@media (max-width: 760px) { :root { --axis: 26px; --gap: 18px; --tick: 12px; --logo-w: 164px; --top-h: 64px; --pad: 20px; } }
@media (max-width: 360px) { :root { --logo-w: 140px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--mist); color: var(--slate);
  font: 400 18px/1.62 var(--sans); font-kerning: normal;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.home { background: var(--night); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; font-variation-settings: 'opsz' 24; }
h1 { font-size: clamp(50px, 7.2vw, 112px); line-height: 0.98; letter-spacing: -0.022em; }
h2 { font-size: clamp(36px, 4.1vw, 62px); line-height: 1.03; letter-spacing: -0.015em; }
h3 { font-size: 26px; line-height: 1.16; letter-spacing: -0.005em; }
p { margin: 0 0 1em; max-width: 66ch; }
a { color: inherit; }
address { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.top--dark :focus-visible, .journey :focus-visible, .foot :focus-visible { outline-color: var(--pale); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--chalk); color: var(--slate); padding: 12px 16px; border-radius: 4px; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------------ buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  background: var(--red); color: #fff; border: 0; border-radius: 4px; cursor: pointer;
  font: 400 17px/1.1 var(--sans); letter-spacing: 0.005em; text-decoration: none; text-align: center;
  transition: background-color 0.18s ease;
}
.btn:hover { background: var(--red-deep); }
.textlink {
  color: var(--slate); text-decoration: underline; text-decoration-color: var(--red);
  text-decoration-thickness: 1.5px; text-underline-offset: 6px; transition: color 0.18s ease;
}
.textlink:hover { color: var(--red-deep); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.tel { color: inherit; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 6px; font-size: 18px; }
.tel__label { color: var(--fog); margin-right: 6px; }
.stars { color: var(--red); letter-spacing: 0.08em; margin-right: 10px; font-family: system-ui, sans-serif; }

/* ------------------------------------------------------------------ header: it hangs on the thread */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--top-h);
  display: grid; grid-template-columns: var(--axis) minmax(0, 1fr) auto; align-items: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.top--dark::before { content: ''; position: absolute; inset: 0 0 -46px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgb(21, 34, 42) 0%, rgb(21, 34, 42) 64%, rgba(21, 34, 42, 0) 100%); }
.top--solid { background: rgba(228, 232, 230, 0.94); box-shadow: 0 1px 0 var(--hair); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.top__place { margin: 0; padding-right: calc(var(--tick) + 8px); text-align: right; font-size: 15px; color: var(--graphite); white-space: nowrap; }
.brand { display: block; width: var(--logo-w); margin-left: calc(var(--logo-w) * -0.086); }
.brand__logo { width: 100%; height: auto; }
.brand__logo--pale { display: none; }
.top--dark .brand__logo--ink { display: none; }
.top--dark .brand__logo--pale { display: block; }
.top--dark .top__place, .top--dark .top__tel { color: var(--pale); }
.top__actions { display: flex; align-items: center; gap: 18px; padding-right: var(--pad); }
.top__tel { font-size: 16px; color: var(--slate); text-decoration: none; white-space: nowrap; }
.top__tel:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; }
.btn--top { min-height: 44px; padding: 0 18px; font-size: 16px; }
.menu-btn {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 4px; cursor: pointer;
  background: var(--slate); color: var(--pale); font: 400 16px/1 var(--sans);
}
.menu-btn:hover { background: #0E1619; }
.top--dark .menu-btn { background: var(--pale); color: var(--slate); }
.top--dark .menu-btn:hover { background: #fff; }

/* the index (menu): the pages hang off the thread */
.index { position: fixed; inset: 0; z-index: 60; background: var(--chalk); overflow-y: auto; overscroll-behavior: contain; }
.index[hidden] { display: none; }
.index::before { content: ''; position: fixed; top: 0; bottom: 0; left: calc(var(--axis) - 0.5px); width: 1px; background: var(--red); opacity: 0.75; }
.index__inner { display: grid; grid-template-columns: var(--axis) minmax(0, 1fr); min-height: 100%; padding: calc(var(--top-h) + 40px) 0 60px; position: relative; }
.index__close { position: absolute; top: 20px; right: var(--pad); }
.index__note { padding: 8px calc(var(--tick) + 8px) 0 var(--pad); text-align: right; color: var(--graphite); font-size: 16px; line-height: 1.55; }
.index__note p { margin-left: auto; max-width: 30ch; }
.index__nav { padding: 0 var(--pad) 0 var(--gap); }
.index__nav ul { list-style: none; margin: 0; padding: 0; }
.index__nav li a { display: inline-block; font-family: var(--serif); font-size: clamp(34px, 3.6vw, 52px); line-height: 1.18; color: var(--slate); text-decoration: none; padding: 2px 0; }
.index__nav li a:hover, .index__nav li a[aria-current="page"] { color: var(--red); }
.index__sub { margin-top: 18px !important; }
.index__sub li a { font-family: var(--sans); font-size: 19px; line-height: 1.5; color: var(--graphite); }
.index__nav .btn { margin-top: 34px; }
.note__lead { font-family: var(--serif); font-variation-settings: 'opsz' 18; font-size: 21px; line-height: 1.25; color: var(--slate); margin-bottom: 8px; }

/* ------------------------------------------------------------------ the journey (home) */
#spine { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.1s ease; }
html.spine-live #spine { opacity: 1; }
html:not(.has-3d) #spine { display: none; }
.journey { position: relative; z-index: 1; color: var(--pale); }
.journey > section {
  position: relative; min-height: 100vh; display: grid; grid-template-columns: var(--axis) minmax(0, 1fr);
  align-items: center;
}
.journey > .beat { min-height: 118vh; }
.journey > .beat--low { min-height: 150vh; }
.journey > .beat--true { min-height: 120vh; color: var(--slate); }
.beat__copy { grid-column: 2; margin-left: clamp(90px, 14vw, 230px); max-width: 560px; padding: 120px var(--pad) 120px 0; }
.beat__copy h2 { margin-bottom: 10px; }
.beat__count { font-family: var(--serif); font-variation-settings: 'opsz' 12; font-size: 17px; color: var(--fog); margin-bottom: 22px; }
.beat__copy > p { color: #D5DCD9; font-size: 19px; }
.beat--true .beat__copy > p { color: var(--graphite); }
.beat--true h2 { font-size: clamp(44px, 5.6vw, 84px); }
.journey .btn { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
/* the copy follows the light: the low back fades as the lights come up, the last beat arrives with them */
.beat--low .beat__copy { opacity: calc(1 - var(--stage-light, 0) * 3.2); }
.beat--true .beat__copy { opacity: calc((var(--stage-light, 1) - 0.55) * 2.4); }
.beat__quote { margin: 30px 0 0; padding-left: 20px; border-left: 1px solid var(--red); }
.beat__quote blockquote { margin: 0; }
.beat__quote p { font-family: var(--serif); font-variation-settings: 'opsz' 16; font-size: 21px; line-height: 1.42; color: var(--pale); margin: 0 0 10px; }
.beat__quote figcaption { font-size: 15px; color: var(--fog); }
.journey .textlink { color: inherit; }

.hero { overflow: hidden; }
.hero__copy { align-self: center; padding-top: calc(var(--top-h) + 40px); max-width: 780px; }
.hero h1 { color: var(--pale); margin-bottom: 30px; }
.hero__l1, .hero__l2 { display: block; }
.hero__l2 { padding-left: 0.62em; }
.hero__lede { font-size: 20px; line-height: 1.55; color: #D5DCD9; max-width: 31em; }
.hero__proof { margin: 26px 0 0; font-size: 16px; color: var(--fog); }
.hero__proof a { color: var(--pale); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; }
.hero__cue { position: absolute; left: calc(var(--axis) + var(--gap)); bottom: 26px; margin: 0; font-size: 15px; color: var(--fog); transition: opacity 0.4s ease; }
.is-scrolled .hero__cue { opacity: 0; }
.hero__still { position: absolute; inset: 0; z-index: -1; background: var(--night) url(../img/still-hero.webp) 0 50% / cover no-repeat; }
html.has-3d .hero__still { display: none; }
html:not(.has-3d) .journey { background: var(--night); }
html:not(.has-3d) .beat--true, html:not(.spine-live) .beat--true { background: var(--mist); }
html:not(.has-3d) .hero__cue { display: none; }
body.still-mode > *:not(#spine) { visibility: hidden !important; }

/* ------------------------------------------------------------------ the page on the thread */
.after { position: relative; z-index: 1; background: var(--mist); padding-top: 20px; }
.inner .after { padding-top: calc(var(--top-h) + 18px); }
.axis { position: absolute; top: 0; bottom: 60px; left: calc(var(--axis) - 0.5px); width: 1px; background: var(--red); opacity: 0.8; pointer-events: none; }
.row { display: grid; grid-template-columns: var(--axis) minmax(0, 1fr); padding: clamp(84px, 11vh, 140px) 0; position: relative; }
.row + .row { padding-top: 0; }
.note { padding: 12px calc(var(--tick) + 12px) 0 var(--pad); text-align: right; color: var(--graphite); font-size: 16px; line-height: 1.55; }
.note p { margin-left: auto; max-width: 30ch; }
.note a { color: var(--slate); text-decoration-color: var(--red); text-underline-offset: 4px; }
.note--score .score { font-family: var(--serif); font-size: clamp(88px, 9vw, 136px); line-height: 0.9; letter-spacing: -0.03em; color: var(--slate); margin: 0 0 12px; }
.content { padding: 0 var(--pad) 0 var(--gap); min-width: 0; max-width: calc(940px + var(--gap) + var(--pad)); }
.content > h2, .content__text > h2, .tick { position: relative; margin-bottom: 26px; }
.tick::before { content: ''; position: absolute; left: calc(-1 * var(--gap)); top: 0.55em; width: var(--tick); height: 1px; background: var(--red); }
.lede { font-size: 19px; }
.content--split { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 4.4vw, 72px); align-items: start; max-width: calc(1080px + var(--gap) + var(--pad)); }
.pull { margin: 0 0 26px; }
.pull p { font-family: var(--serif); font-variation-settings: 'opsz' 20; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.24; color: var(--slate); max-width: 22em; }
.portrait { margin: 0; }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; background: #cfd5d3; }
.portrait figcaption, .photo figcaption { margin-top: 12px; font-size: 15px; color: var(--graphite); }

/* services as a ruled ledger */
.ledger { list-style: none; margin: 34px 0 0; padding: 0; border-bottom: 1px solid var(--hair); }
.ledger li { border-top: 1px solid var(--hair); }
.ledger a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 12px 36px; align-items: baseline; padding: 22px 0 24px; text-decoration: none; color: var(--slate); }
.ledger__name { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; transition: color 0.18s ease; }
.ledger__line { font-size: 17px; color: var(--graphite); }
.ledger a:hover .ledger__name { color: var(--red); }

/* a real sequence: the numerals sit on the thread like beads */
.beads { list-style: none; margin: 10px 0 0; padding: 0; counter-reset: bead; }
.beads li { position: relative; counter-increment: bead; padding: 0 0 34px; max-width: 62ch; }
.beads li::before {
  content: counter(bead); position: absolute; left: calc(-1 * var(--gap) - 17px); top: 0;
  width: 34px; height: 34px; border-radius: 50%; background: var(--mist); border: 1px solid var(--red);
  display: grid; place-items: center; font-family: var(--serif); font-size: 17px; line-height: 1; color: var(--red-deep);
}
.beads h3 { margin: 2px 0 10px; }
.beads p { color: var(--slate); }

/* reviews */
.quotes { display: grid; gap: 38px; margin-top: 8px; }
.review { margin: 0; max-width: 64ch; }
.review blockquote { margin: 0 0 12px; }
.review blockquote p { font-size: 18px; line-height: 1.62; margin-bottom: 0.75em; }
.review--short blockquote p { font-family: var(--serif); font-variation-settings: 'opsz' 20; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.25; }
.review figcaption { font-size: 15px; color: var(--graphite); }
.clamp.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.clamp.is-clamped p { display: inline; }
.clamp.is-clamped p + p::before { content: ' '; }
.more { background: none; border: 0; padding: 4px 0; margin: 0 0 10px; color: var(--slate); cursor: pointer; font-size: 16px; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; }
.reply { margin: 10px 0 0; padding: 14px 18px; background: var(--chalk); border-radius: 4px; font-size: 16px; line-height: 1.55; max-width: 60ch; }
.reply__who { display: block; font-family: var(--serif); font-size: 16px; color: var(--red-deep); margin-bottom: 4px; }

/* insurers: a quiet monochrome row of their own badges */
.insurers { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 26px 44px; margin: 34px 0 6px; padding: 0; }
.insurers img { width: auto; opacity: 0.92; }

/* visit */
.content--visit { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); max-width: calc(1100px + var(--gap) + var(--pad)); align-items: start; }
.where { font-family: var(--serif); font-variation-settings: 'opsz' 20; font-size: 26px; line-height: 1.3; margin-bottom: 22px; }
.hours { border-collapse: collapse; width: 100%; max-width: 440px; margin: 0 0 22px; font-size: 16px; }
.hours caption { text-align: left; font-family: var(--serif); font-size: 18px; color: var(--slate); padding-bottom: 8px; }
.hours th, .hours td { text-align: left; font-weight: 400; padding: 8px 0; border-top: 1px solid var(--hair); vertical-align: top; }
.hours th { color: var(--graphite); padding-right: 18px; white-space: nowrap; }
.reach { font-size: 17px; }
.reach a { color: var(--slate); text-decoration-color: var(--red); text-underline-offset: 5px; }
.map { position: relative; border-radius: 3px; overflow: hidden; background: #cfd6d3; aspect-ratio: 4 / 3.3; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(0.75); }

/* the bob at the foot of every page */
.bob { position: relative; height: 60px; }
.bob svg { position: absolute; left: calc(var(--axis) - 10px); top: -1px; }

/* inner page header */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 26px; padding: 0; font-size: 15px; color: var(--graphite); }
.crumbs li + li::before { content: '/'; margin-right: 10px; color: var(--fog); }
.crumbs a { color: var(--graphite); text-underline-offset: 4px; }
.page-head { padding-top: clamp(40px, 7vh, 80px); }
.page-head h1 { position: relative; margin-bottom: 26px; font-size: clamp(46px, 6.2vw, 96px); }
.page-head .lede { font-size: 20px; max-width: 40em; }
.photo { margin: 0; }
.photo img { width: 100%; height: auto; border-radius: 2px; }
.faq { margin-top: 10px; border-bottom: 1px solid var(--hair); max-width: 70ch; }
.faq details { border-top: 1px solid var(--hair); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--serif); font-size: 22px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 16px; font-family: var(--sans); font-size: 24px; color: var(--red); }
.faq details[open] summary::after { content: '\2212'; }
.faq details > p { padding-bottom: 8px; }
.list-cols { columns: 2; column-gap: 40px; padding: 0; margin: 0 0 1em; list-style: none; max-width: 700px; }
.list-cols li { break-inside: avoid; padding: 6px 0; border-top: 1px solid var(--hair); }
.panel { background: var(--chalk); border-radius: 4px; padding: clamp(24px, 3vw, 40px); max-width: 760px; }
.panel h2 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 14px; }

/* the enquiry form */
.form { display: grid; gap: 18px; max-width: 560px; margin-top: 10px; }
.form label { display: grid; gap: 6px; font-size: 16px; color: var(--slate); }
.form input, .form textarea {
  font: 400 17px/1.4 var(--sans); color: var(--slate); background: var(--chalk);
  border: 1px solid rgba(27, 38, 43, 0.28); border-radius: 4px; padding: 13px 14px; min-height: 50px; width: 100%;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--red); outline-offset: 1px; border-color: var(--slate); }
.form__hint { font-size: 15px; color: var(--graphite); margin: 0; }
.form__status { font-size: 17px; margin: 0; min-height: 1.6em; }
.form__status.is-ok { color: #1F5E3B; }
.form__status.is-err { color: var(--red-deep); }

/* ------------------------------------------------------------------ footer */
.foot { position: relative; z-index: 1; background: var(--night); color: var(--pale); padding: 72px var(--pad) 34px; }
.foot__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.15fr 1.35fr; gap: 36px; max-width: 1360px; margin: 0 auto; }
.foot__brand img { width: 260px; height: auto; margin-bottom: 18px; }
.foot__brand p { color: var(--fog); font-size: 16px; max-width: 30ch; }
.foot h2 { font-size: 19px; line-height: 1.3; margin-bottom: 14px; color: var(--pale); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 3px 0; }
.foot a { color: var(--fog); text-decoration: none; }
.foot a:hover { color: var(--pale); text-decoration: underline; text-decoration-color: var(--ember); text-underline-offset: 4px; }
.foot address, .foot p { font-size: 16px; color: var(--fog); }
.foot__quiet { color: #93A2A6; }
.hours--foot { font-size: 15px; }
.hours--foot caption { display: none; }
.hours--foot th, .hours--foot td { border-top-color: var(--hair-pale); padding: 5px 0; color: var(--fog); }
.hours--foot th { color: #93A2A6; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; max-width: 1360px; margin: 48px auto 0; padding-top: 22px; border-top: 1px solid var(--hair-pale); font-size: 14px; color: var(--fog); }
.foot__base span a { margin-right: 14px; }
.foot__base span a:last-child { margin-right: 0; }

/* ------------------------------------------------------------------ tablets */
@media (max-width: 1023px) {
  .top__place { display: none; }
  .top { grid-template-columns: var(--axis) minmax(0, 1fr) auto; }
  .top__tel { display: none; }
  .content--split, .content--visit { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .beat__copy { margin-left: clamp(40px, 10vw, 120px); }
}

/* ------------------------------------------------------------------ phones: the thread runs down the left gutter */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .top { grid-template-columns: 1fr auto; padding-left: calc(var(--axis) - var(--logo-w) * 0.086); }
  .top__place { display: none; }
  .brand { margin-left: 0; }
  .top__actions { gap: 8px; padding-right: 12px; }
  .btn--top { padding: 0 13px; font-size: 15px; white-space: nowrap; }
  .menu-btn { padding: 0 13px; font-size: 15px; }
  .btn { min-height: 48px; }

  .journey > section { grid-template-columns: 1fr; align-items: end; min-height: 100svh; }
  .journey > .beat { min-height: 120svh; }
  .journey > .beat--low { min-height: 150svh; }
  .beat__copy {
    grid-column: 1; margin: 0; max-width: none; align-self: end;
    padding: 90px 20px 44px;
    background: linear-gradient(to top, rgba(21, 34, 42, 0.95) 0%, rgba(21, 34, 42, 0.9) 62%, rgba(21, 34, 42, 0));
  }
  .beat--true .beat__copy { background: linear-gradient(to top, rgba(228, 232, 230, 0.97) 0%, rgba(228, 232, 230, 0.92) 62%, rgba(228, 232, 230, 0)); }
  .hero .beat__copy { padding-top: 120px; }
  .hero h1 { font-size: 46px; margin-bottom: 18px; }
  .hero__l2 { padding-left: 0.5em; }
  .hero__lede { font-size: 18px; }
  .hero__cue { display: none; }
  .beat__copy > p { font-size: 17px; }
  html:not(.has-3d) .hero__still { background-image: url(../img/still-hero-m.webp); background-position: 50% 0; background-size: 100% auto; }
  html:not(.has-3d) .hero .beat__copy { margin-top: 62vh; }

  .axis { left: calc(var(--axis) - 0.5px); }
  .row { grid-template-columns: 1fr; padding: 72px 20px 72px calc(var(--axis) + var(--gap)); }
  .row + .row { padding-top: 0; }
  .content { display: contents; }
  .content > h2 { order: 1; }
  .row > .note { order: 2; }
  .content > :not(h2) { order: 3; }
  .note { padding: 0 0 18px; text-align: left; font-size: 15px; }
  .note p { margin-left: 0; max-width: none; margin-bottom: 4px; }
  .note__lead { font-size: 18px; margin-bottom: 4px; }
  .note--score .score { font-size: 64px; margin-bottom: 4px; }
  .content--split, .content--visit { display: contents; }
  .content--split > *, .content--visit > * { order: 3; }
  .content__text > h2, .content--visit h2 { order: 1; }
  .tick::before { left: calc(-1 * var(--gap)); width: var(--tick); }
  .content > h2, .content__text > h2 { margin-bottom: 12px; }
  .ledger a { grid-template-columns: 1fr; gap: 4px; padding: 16px 0 18px; }
  .beads li::before { left: calc(-1 * var(--gap) - 14px); width: 28px; height: 28px; font-size: 15px; }
  .portrait { margin-top: 26px; }
  .insurers { gap: 20px 30px; }
  .insurers img { transform: scale(0.86); transform-origin: left center; }
  .map { aspect-ratio: 1 / 1; margin-top: 26px; }
  .list-cols { columns: 1; }
  .index__inner { grid-template-columns: 1fr; padding: calc(var(--top-h) + 10px) 20px 40px calc(var(--axis) + var(--gap)); }
  .index__note { order: 2; padding: 30px 0 0; text-align: left; }
  .index__note p { margin-left: 0; }
  .index__nav { padding: 0; }
  .index__close { top: 10px; right: 14px; }
  .foot__grid { grid-template-columns: 1fr; gap: 28px; }
  .foot { padding-top: 56px; }
  .bob svg { left: calc(var(--axis) - 10px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* without scripts the header cannot change tone, so on the home page it scrolls away with the dark hero */
html:not(.js) .home .top { position: absolute; }
.tel-line { margin: 0; color: var(--fog); font-size: 18px; }

/* inner-page additions */
.portrait--tall img { aspect-ratio: auto; }
.tel-line--ink { color: var(--graphite); }
.tel-line--ink .tel { color: var(--slate); }
.tel-line--ink .tel__label { color: var(--graphite); }
.wall { list-style: none; margin: 8px 0 0; padding: 0; columns: 2; column-gap: 40px; max-width: 900px; }
.wall__item { border-top: 1px solid var(--hair); padding: 16px 0 18px; break-inside: avoid; }
.wall__who { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 17px; }
.wall__who .stars { margin-right: 0; }
.wall__when { color: var(--graphite); font-size: 15px; }
.wall .reply { margin-top: 10px; }
@media (max-width: 760px) {
  .wall { columns: 1; }
  .content > .crumbs { order: 0; }
  .content > h1 { order: 1; }
  .page-head .content > h1 { margin-bottom: 12px; }
}
/* without the 3D the beats are plain sections: no scroll runway needed */
html:not(.has-3d) .journey > .beat { min-height: 0; padding: 40px 0; }
html:not(.has-3d) .journey > .beat .beat__copy { padding-top: 60px; padding-bottom: 60px; }
@media (max-width: 760px) { .row > .note--end { order: 4; padding-top: 22px; } }
