/* Premier Chiropractic concept site, round two: cinematic full bleed. Rules in DESIGN.md. */

:root {
  --bone: #EEF0EB;
  --river: #0E3B43;
  --teal: #15707B;
  --teal-hover: #115E68;
  --ink: #102328;
  --signal: #D23C12;
  --flare: #FF8A5C;
  --muted: #465B5F;
  --mist: #A9C4C0;
  --shoal: #D3E3DF;
  --line: rgba(14, 59, 67, .18);
  --shade: 8, 24, 28;

  --sa-accent: #15707B;
  --sa-accent-ink: #FFFFFF;

  --head: 88px;
  --gutter: clamp(20px, 5vw, 80px);
  --gutter-r: clamp(28px, 5vw, 96px);
  --maxw: 1320px;
  --spring: cubic-bezier(.3, 1.55, .45, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bone); color: var(--ink);
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400; font-size: 1.125rem; line-height: 1.65;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--river); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--teal); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

h1, h2 {
  margin: 0; font-weight: 300; letter-spacing: -.02em; line-height: 1.02; color: var(--river); text-wrap: balance;
}
h2 { font-size: clamp(2.6rem, 5vw, 4.5rem); }
h3 { margin: 0; font-weight: 500; font-size: 1.3rem; line-height: 1.3; color: var(--river); letter-spacing: -.005em; }
.lead { font-weight: 300; font-size: clamp(1.4rem, 2.1vw, 1.9rem); line-height: 1.4; color: var(--ink); max-width: 30em; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.measure { max-width: 64ch; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.dark :focus-visible, .cine :focus-visible, .band :focus-visible, .site-head:not(.is-solid) :focus-visible { outline-color: var(--flare); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--river); color: #fff; padding: 14px 18px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }

/* ---------- Buttons: rectangular, 56px, solid teal. The secondary action is a text link ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 30px; border: 0; border-radius: 2px; cursor: pointer;
  background: var(--teal); color: #fff;
  font: 500 1.0625rem/1.1 "Jost", system-ui, sans-serif; letter-spacing: .01em; text-decoration: none; text-align: center;
  transition: background-color .2s;
}
.btn:hover { background: var(--teal-hover); color: #fff; }
.link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 400 1.0625rem/1.3 "Jost", system-ui, sans-serif; color: var(--river); text-align: left;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .28em;
}
.link:hover { color: var(--teal); text-decoration-thickness: 2px; }
.dark .link, .cine .link, .band .link { color: #fff; }
.dark .link:hover, .cine .link:hover, .band .link:hover { color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; }
.measure + .actions, .prose + .actions, .tq + .actions, .steps + .actions, .docs + .actions { margin-top: 32px; }

/* ---------- Header: transparent and white over the photo, Bone once it scrolls away ---------- */

.site-head {
  position: absolute; top: 0; left: 0; right: 0; z-index: 40; height: var(--head);
  display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px);
  padding-left: var(--gutter); padding-right: var(--gutter-r);
  color: #fff; transition: background-color .35s, color .35s, box-shadow .35s;
}
html.js .site-head { position: fixed; }
.site-head.is-solid { background: rgba(238, 240, 235, .97); color: var(--river); box-shadow: 0 1px 0 var(--line); }
.brand { flex: none; width: 164px; display: block; position: relative; padding: 8px 0; }
.brand img { width: 100%; transition: opacity .35s; }
.brand .logo-dark { position: absolute; left: 0; top: 8px; opacity: 0; }
.site-head.is-solid .brand .logo-dark { opacity: 1; }
.site-head.is-solid .brand .logo-light { opacity: 0; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 2vw, 34px); }
.main-nav a { display: block; padding: 10px 0; color: inherit; text-decoration: none; font-size: 1.0625rem; border-bottom: 1px solid transparent; }
.main-nav a:hover { border-bottom-color: currentColor; color: inherit; }
.main-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.head-tel { color: inherit; font-size: 1.0625rem; text-decoration: none; white-space: nowrap; padding: 12px 0; }
.head-tel:hover { color: inherit; text-decoration: underline; }
.site-head .btn { min-height: 52px; padding: 0 24px; }
.menu-btn { display: none; }

@media (max-width: 1200px) { .head-tel { display: none; } }
@media (max-width: 980px) {
  :root { --head: 68px; }
  .brand { width: 124px; }
  .brand .logo-dark { top: 8px; }
  .main-nav, .site-head .btn { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    min-width: 76px; height: 48px; padding: 0 16px; border: 1px solid currentColor; border-radius: 2px;
    background: transparent; color: inherit; font: 500 1rem "Jost", system-ui, sans-serif; cursor: pointer;
  }
}
.menu-panel { position: fixed; top: var(--head); left: 0; right: 0; bottom: 0; z-index: 39; background: var(--bone); padding: 12px var(--gutter) 120px; overflow-y: auto; }
.menu-panel[hidden] { display: none; }
.menu-panel ul { list-style: none; margin: 0 0 28px; padding: 0; }
.menu-panel li + li { border-top: 1px solid var(--line); }
.menu-panel li a { display: flex; align-items: center; min-height: 64px; font-weight: 300; font-size: 1.9rem; color: var(--river); text-decoration: none; }
.menu-panel .btn { width: 100%; margin-bottom: 8px; }

/* ---------- Opening photo (every page) ---------- */

.cine { position: relative; min-height: 560px; height: 100vh; height: 100svh; overflow: hidden; background: #0b1d21; color: #fff; }
.cine--page { height: 74vh; height: 74svh; min-height: 520px; }
.cine picture, .band picture { position: absolute; inset: 0; display: block; }
.cine img, .band img { width: 100%; height: 100%; object-fit: cover; }
.cine::after, .band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(135% 110% at 0% 100%, rgba(var(--shade), .88) 0%, rgba(var(--shade), .7) 36%, rgba(var(--shade), .32) 56%, rgba(var(--shade), 0) 74%),
    linear-gradient(to right, rgba(var(--shade), .38) 0, rgba(var(--shade), 0) 58%),
    linear-gradient(to bottom, rgba(var(--shade), .5) 0, rgba(var(--shade), 0) 150px);
}
.cine__content {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(40px, 9vh, 104px);
  padding-left: var(--gutter); padding-right: var(--gutter-r);
}
.cine h1 { color: #fff; font-size: clamp(3.3rem, 8vw, 7.5rem); line-height: .98; margin-bottom: 26px; max-width: 12em; }
.cine--page h1 { font-size: clamp(3rem, 6.4vw, 6rem); }
.cine h1 span { display: block; }
.cine__sub { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.5; max-width: 34em; color: rgba(255, 255, 255, .92); margin-bottom: 30px; }
html.motion .cine--home .cine__content > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
html.motion .cine--home .cine__content > :nth-child(2) { animation-delay: .12s; }
html.motion .cine--home .cine__content > :nth-child(3) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Photo bands: one line of text ---------- */

.band { position: relative; height: 72vh; height: 72svh; min-height: 460px; overflow: hidden; background: #0b1d21; color: #fff; }
.band__content { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(36px, 8vh, 88px); padding-left: var(--gutter); padding-right: var(--gutter-r); }
.band__line { margin: 0; font-weight: 300; font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.08; letter-spacing: -.02em; max-width: 16em; color: #fff; text-wrap: balance; }
.band blockquote { margin: 0 0 18px; }
.band blockquote p { font-weight: 300; font-size: clamp(1.7rem, 3.2vw, 3rem); line-height: 1.2; letter-spacing: -.015em; max-width: 22em; color: #fff; }
.band cite { display: block; font-style: normal; font-weight: 500; font-size: 1.1rem; margin-bottom: 14px; }
.band__meta { color: rgba(255, 255, 255, .9); margin: 0 0 6px; }

/* ---------- Calm text sections ---------- */

.calm { padding-block: clamp(88px, 11vw, 168px); }
.calm + .calm { border-top: 1px solid var(--line); }
.calm__head { margin-bottom: clamp(40px, 5vw, 72px); display: grid; gap: 22px; max-width: 58rem; }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.split > header { position: sticky; top: 124px; }
.split > header h2 { font-size: clamp(2.4rem, 3.8vw, 3.6rem); margin-bottom: 20px; hyphens: auto; -webkit-hyphens: auto; }
.split > header .muted { max-width: 22em; }
.split > header .actions { margin-top: 26px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split > header { position: static; } }

.prose { max-width: 64ch; }
.prose h3 { margin: 44px 0 14px; }
.prose h3:first-child { margin-top: 0; }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid var(--line); }
.prose ul li:last-child { border-bottom: 1px solid var(--line); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 1.3em; width: 14px; height: 1px; background: var(--teal); }
.prose strong { font-weight: 500; color: var(--river); }

/* story */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 112px); align-items: start; }
.story figure { margin: 0; position: sticky; top: 124px; }
.story img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 26%; }
.story figcaption { margin-top: 12px; font-size: .95rem; color: var(--muted); }
.story h2 { margin-bottom: 32px; }
.story .lead { margin-bottom: 28px; }
.mission { margin: 40px 0; padding: 30px 0; border-block: 1px solid var(--line); font-weight: 300; font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.2; letter-spacing: -.015em; color: var(--teal); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story figure { position: static; } .story img { aspect-ratio: 4 / 3; } }

/* the quiet two-column list */
.cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 88px); border-bottom: 1px solid var(--line); }
.cols li { border-top: 1px solid var(--line); }
.cols a, .cols .row { display: block; padding: 22px 0 24px; text-decoration: none; color: var(--ink); }
.cols .name { display: block; font-weight: 500; font-size: 1.3rem; color: var(--river); margin-bottom: 4px; }
.cols .note { display: block; color: var(--muted); font-size: 1.05rem; line-height: 1.55; }
.cols a:hover .name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.cols-label { font-weight: 500; font-size: 1.05rem; color: var(--muted); margin: 0 0 14px; }
.cols + .cols-label { margin-top: 56px; }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; } }
.after-list { margin-top: 44px; }

/* a real sequence: first visit, decompression */
.steps { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); counter-reset: step; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { counter-increment: step; border-top: 1px solid var(--river); padding-top: 22px; }
.steps li::before { content: counter(step); display: block; font-weight: 300; font-size: 3.6rem; line-height: 1; color: var(--teal); margin-bottom: 18px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 1.05rem; }
.prose .steps { grid-template-columns: 1fr; gap: 0; margin: 8px 0 32px; }
.prose .steps li { display: grid; grid-template-columns: 64px 1fr; gap: 0 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.prose .steps li:last-child { border-bottom: 1px solid var(--line); }
.prose .steps li::before { grid-row: span 2; font-size: 2.8rem; margin: 0; }
.prose .steps h3 { margin: 0 0 6px; }
@media (max-width: 960px) { .steps, .steps--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps, .steps--3 { grid-template-columns: 1fr; } }

/* doctors */
.docs { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.docs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 16%; margin-bottom: 18px; background: var(--shoal); }
.docs h3 { font-size: 1.25rem; }
.docs .muted { font-size: 1rem; margin-top: 2px; }
@media (max-width: 960px) { .docs { grid-template-columns: 1fr 1fr; } }

/* find us */
.find { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 112px); align-items: start; }
.address { font-weight: 300; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.12; letter-spacing: -.015em; color: var(--river); margin: 28px 0 18px; font-style: normal; }
.hours { width: 100%; border-collapse: collapse; margin: 0 0 30px; font-size: 1.05rem; }
.hours caption { text-align: left; font-weight: 500; color: var(--river); padding-bottom: 10px; }
.hours th, .hours td { text-align: left; vertical-align: top; padding: 14px 0; border-top: 1px solid var(--line); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--line); }
.hours th { font-weight: 400; padding-right: 20px; }
.hours td { color: var(--muted); }
.contact-lines { list-style: none; margin: 0 0 30px; padding: 0; }
.contact-lines a { display: inline-block; padding: 8px 0; }
@media (max-width: 860px) { .find { grid-template-columns: 1fr; } }

/* bios, quotes, questions */
.bio { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.bio:first-of-type { border-top: 0; padding-top: 0; }
.bio img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 16%; }
.bio h3 { font-weight: 300; font-size: clamp(2rem, 3vw, 2.8rem); letter-spacing: -.015em; line-height: 1.1; }
.bio .muted { margin: 6px 0 22px; }
@media (max-width: 760px) { .bio { grid-template-columns: 1fr; } .bio img { max-width: 340px; } }

.quote-cols { columns: 2 340px; column-gap: clamp(32px, 5vw, 88px); }
.quote-cols figure { break-inside: avoid; margin: 0; padding: 26px 0 30px; border-top: 1px solid var(--line); }
.quote-cols blockquote { margin: 0 0 14px; }
.quote-cols figcaption { font-weight: 500; color: var(--river); }

.qa { border-bottom: 1px solid var(--line); }
.qa details { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 68px; padding: 16px 0; font-weight: 500; font-size: 1.2rem; color: var(--river); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font-weight: 300; font-size: 2rem; line-height: 1; color: var(--teal); }
.qa details[open] summary::after { content: "\2212"; }
.qa details > div { padding: 0 0 24px; max-width: 64ch; }

.dark { background: var(--river); color: var(--bone); }
.dark h2, .dark h3 { color: #fff; }
.dark .muted { color: var(--mist); }
.dark .prose ul li, .dark .prose ul li:last-child { border-color: rgba(169, 196, 192, .28); }
.dark .prose ul li::before { background: var(--flare); }

/* form */
.form { display: grid; gap: 20px; max-width: 40rem; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 500; color: var(--river); }
.field input, .field textarea {
  font: 400 1.0625rem/1.4 "Jost", system-ui, sans-serif; color: var(--ink); background: #fff;
  border: 1px solid rgba(14, 59, 67, .4); border-radius: 2px; padding: 14px 16px; min-height: 56px; width: 100%;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--teal); outline-offset: 1px; }
.form .btn { justify-self: start; }
.form__status { min-height: 1.6em; margin: 0; font-weight: 500; }
.form__status.is-ok { color: var(--teal); }
.form__status.is-err { color: #A32A06; }

/* ---------- Signature: the spine rail at the right edge ---------- */

.spine {
  position: fixed; z-index: 30; right: 16px; top: 50%; transform: translateY(-50%);
  width: 34px; color: var(--river); transition: color .35s;
}
.spine__plumb { position: absolute; left: 50%; top: -44px; bottom: -44px; border-left: 1px dashed currentColor; opacity: .4; pointer-events: none; }
.spine__col { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; }
.spine li { --c: 0; position: relative; }
.spine a {
  display: block; position: relative; width: 34px; height: 17px; color: inherit;
  transform: translateX(calc(var(--x) * var(--c) * .55px)) rotate(calc(var(--r) * var(--c) * 1deg));
  transition: transform .75s var(--spring), color .35s;
}
.spine a::before { content: ""; position: absolute; inset: -6px -8px; }
.spine svg { display: block; width: 34px; height: 17px; overflow: visible; fill: currentColor; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; transition: fill .35s; }
.spine li::after {
  content: ""; position: absolute; left: 50%; top: calc(100% + 3px); width: 14px; height: 3px; margin-left: -7px;
  border-radius: 3px; background: currentColor; opacity: .3;
  transform: translateX(calc(var(--xd) * var(--c) * .55px)); transition: transform .75s var(--spring);
}
.spine li:last-child::after { display: none; }
.spine li.is-current a { color: var(--signal); }
.spine.on-dark { color: #fff; }
.spine.on-dark li.is-current a { color: var(--flare); }
.spine__tip {
  position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%); white-space: nowrap;
  background: var(--river); color: #fff; font-size: .95rem; line-height: 1; padding: 9px 12px; border-radius: 2px;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.spine a:hover .spine__tip, .spine a:focus-visible .spine__tip { opacity: 1; }

html.motion .spine--live li { --c: 1; }
html.motion .spine--live li.is-in { --c: 0; }
html.motion .spine--live li:not(.is-in) svg { fill: transparent; }
html.motion .spine--live:not(.is-ready) a, html.motion .spine--live:not(.is-ready) li::after { transition: none; }
html.motion .spine--live svg { animation: vb-in .55s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 80ms + 300ms); }
@keyframes vb-in { from { opacity: 0; translate: 0 -12px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 760px) {
  :root { --gutter: 20px; --gutter-r: 30px; }
  .spine { right: 6px; width: 16px; pointer-events: none; }
  .spine__col { gap: 6px; }
  .spine a { width: 16px; height: 8px; transform: translateX(calc(var(--x) * var(--c) * .28px)) rotate(calc(var(--r) * var(--c) * 1deg)); }
  .spine svg { width: 16px; height: 8px; stroke-width: 3; }
  .spine li::after { width: 7px; height: 2px; margin-left: -3.5px; top: calc(100% + 2px); transform: translateX(calc(var(--xd) * var(--c) * .28px)); }
  .spine__plumb { top: -24px; bottom: -24px; }
  .spine__tip { display: none; }
}

/* ---------- Footer ---------- */

.site-foot { background: var(--river); color: var(--bone); padding-block: clamp(72px, 8vw, 120px) 44px; }
.site-foot a { color: #fff; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 3.4fr) repeat(4, minmax(0, 2.5fr)); gap: 40px; }
.site-foot .muted { color: var(--mist); }
.foot__brand img { width: 184px; margin-bottom: 20px; }
.foot__brand p { color: var(--mist); max-width: 22em; font-size: 1.05rem; }
.site-foot h2 { font-weight: 500; font-size: 1.05rem; letter-spacing: 0; color: #fff; margin-bottom: 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 1.05rem; }
.site-foot ul a { display: inline-block; padding: 6px 0; }
.site-foot address { font-style: normal; font-size: 1.05rem; line-height: 1.6; }
.foot__hours { font-size: 1.05rem; }
.foot__hours div { padding: 8px 0; border-bottom: 1px solid rgba(169, 196, 192, .22); }
.foot__hours div:first-child { padding-top: 0; }
.foot__hours span { display: block; }
.foot__hours span:last-child { color: var(--mist); }
.preview-note { margin: 56px 0 0; padding-top: 22px; border-top: 1px solid rgba(169, 196, 192, .3); color: var(--mist); font-size: .9rem; }
@media (max-width: 1100px) { .foot__grid { grid-template-columns: 1fr 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- Mobile talk bar ---------- */

.talkbar { display: none; }
@media (max-width: 980px) {
  .talkbar {
    display: flex; align-items: center; gap: 18px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
    padding: 10px 96px 10px 16px; padding-bottom: calc(10px + env(safe-area-inset-bottom));
    background: rgba(238, 240, 235, .97); border-top: 1px solid var(--line);
  }
  .talkbar .btn { flex: 1 1 auto; }
  body { padding-bottom: 78px; }
}

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

/* ---------- Enterprise layer: breadcrumbs, proof, testimonials, wall, map ---------- */

.crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 1rem; color: rgba(255, 255, 255, .85); }
.crumbs li + li::before { content: "/"; margin: 0 10px; opacity: .6; }
.crumbs a { color: #fff; }

.hl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin: 0 0 clamp(48px, 6vw, 80px); }
.hl figure { margin: 0; padding-top: 24px; border-top: 1px solid var(--river); }
.hl blockquote { margin: 0 0 16px; }
.hl blockquote p { font-weight: 300; font-size: clamp(1.45rem, 2.1vw, 1.9rem); line-height: 1.3; letter-spacing: -.01em; color: var(--river); }
.hl figcaption { color: var(--muted); font-size: 1rem; }
@media (max-width: 860px) { .hl { grid-template-columns: 1fr; } }

.proof { display: flex; align-items: flex-end; gap: clamp(24px, 4vw, 56px); margin-bottom: clamp(48px, 6vw, 80px); flex-wrap: wrap; }
.proof__n { margin: 0; font-weight: 300; font-size: clamp(6rem, 14vw, 12rem); line-height: .8; letter-spacing: -.04em; color: var(--teal); }
.proof h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin-bottom: 12px; }
.proof .muted { max-width: 40em; }

.tq { margin: 0; }
.tq blockquote { margin: 0 0 14px; }
.tq blockquote p { font-size: 1.125rem; line-height: 1.65; }
.tq--big blockquote p { font-weight: 300; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.3; color: var(--river); }
.tq figcaption { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--river); }
.tq.is-clamped blockquote p { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.tq__more { margin: -6px 0 10px; }
.mono {
  flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--shoal); color: var(--river); font-weight: 500; font-size: .95rem; letter-spacing: .02em;
}
.prose .tq, .after-list .tq { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 64ch; }
.prose .tq + .tq { margin-top: 0; }
.tq-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 88px); margin-bottom: 48px; }
.tq-pair .tq { padding-top: 26px; border-top: 1px solid var(--line); }
.tq-cols { columns: 2 360px; column-gap: clamp(32px, 5vw, 88px); }
.tq-cols .tq { break-inside: avoid; padding: 26px 0 30px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .tq-pair { grid-template-columns: 1fr; } }

.wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.wall__item { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.wall__body { display: grid; line-height: 1.3; }
.wall__name { font-weight: 500; color: var(--river); }
.wall__stars { color: var(--teal); letter-spacing: .12em; font-size: .95rem; }
.wall__date { color: var(--muted); font-size: .95rem; }
.wall__empty { padding: 16px 0; color: var(--muted); }

.map { position: relative; aspect-ratio: 4 / 5; background: var(--shoal); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.55) contrast(1.02); }
@media (max-width: 860px) { .map { aspect-ratio: 4 / 3; } }

.area { columns: 3 180px; column-gap: 32px; }
.prose ul.area li { break-inside: avoid; }

.calm--cta { padding-block: clamp(72px, 8vw, 120px); }
.cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.cta h2 { max-width: 14em; }
.calm--next { padding-block: 40px 56px; }
.foot__rating { margin-top: 14px; color: var(--mist); }
.foot__rating a { white-space: nowrap; }

/* keep the cinematic heights sane on very tall windows (and in tall screenshot captures) */
@media (min-width: 761px) {
  .cine { max-height: 70vw; }
  .cine--page { max-height: 54vw; }
  .band { max-height: 46vw; }
}
@media (max-width: 760px) {
  .cine { max-height: 240vw; }
  .cine--page { max-height: 190vw; }
  .band { max-height: 150vw; }
}
@media (max-width: 980px) {
  .cine__content { bottom: 104px; }
  .band__content { bottom: 36px; }
}
.talkbar .link { min-width: 64px; min-height: 52px; justify-content: center; }
.prose .cols li { padding: 0; border-bottom: 0; }
.prose .cols li::before { display: none; }
.prose .cols { margin: 8px 0 24px; }
