/* Hallmark · shape: Photographic · genre: atmospheric (linted as editorial per brief) · theme: Refract (deal 1/3, seed larkfield-family-dental-family-a066·ee445560·2026-11-13·r0) · job: book · draw: da84d9
 * hero: Index · nav: floating pill · footer: statement · imagery: photographs, library 1, natural (office stand-in, slot "office") · signature: live water caustics falling across white paper behind the open times · refract: water/pool
 * axes: light/grotesk-sans/cool · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V4 · weakest: S, a dental page reads alike everywhere; led with the year-end benefits reset and the actual open times instead of a smiling-patient photo */
/* Hallmark · waive 68 · the six data-slot buttons are booking times, not pictures · the shared lead.js form contract requires data-slot on each open dental appointment time */
/* Hallmark · upgrade · motionsites level by the user's own words (BRIEF UPGRADE): full-bleed scene hero, pinned scrubbed services, marquee, split heads, magnetic buttons; every move has a reduced-motion static frame and content shows with JS off */
/* Hallmark · waive 77 · section.marquee is a single-line band of nearby towns with a pause control, once on the home page · the towns marquee is a moving band between the hero and the office photograph, not a content section */
/* Hallmark · waive 59 · the office photograph band meets the hero edge to edge · on a Photographic shape the photograph edge is the divider between the lit hero and the dental office band */
/* Hallmark · dismissed F15 · the 820 and 920px widths are the floating nav pill and the booking bar, chrome, not section containers */
/* Hallmark · waive 44c · /book/ hero is a Banner at 56dvh with the form section starting above the fold · the booking page puts the dental appointment form first, every other page fills its screen */
/* Hallmark · dismissed 58 · the 81 to 86 word windows on service pages span the time lanes (a date, a time and a Book button each) and the first rows */
/* Hallmark · dismissed 77 · /book/ and /thanks/ are a form and its confirmation, kept short on purpose */
/* Hallmark · answered F4 · the time buttons are choices, outlined on white; only the booking bar and the submit are filled */
@import url("./tokens.css");
@import url("./base.css");

:root { --nav-h: 64px; --bar-h: 76px; --edge-btn: inset 0 1px 0 oklch(100% 0 0 / 0.28);
  --tint-clean: oklch(86% 0.05 212); --tint-cosmetic: oklch(90% 0.05 95); --tint-kids: oklch(87% 0.06 172); --tint-emergency: oklch(87% 0.045 45);
  --mask-faint: oklch(23% 0.035 245 / 0.28); }
body { font-size: 1.0625rem; line-height: 1.6; color: var(--color-ink-2); padding-bottom: var(--bar-h); }
body.no-bar { padding-bottom: 0; }
h1, h2, h3 { color: var(--color-ink); line-height: 1.02; }
.lead { color: var(--color-muted); }
small, .meta { font-size: var(--text-sm); font-weight: 500; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-pill); }
.skip:focus-visible { top: var(--space-md); }

/* Controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; box-shadow: var(--edge-btn), var(--shadow-card); transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-hi); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--clear { background: color-mix(in oklab, var(--color-light) 82%, transparent); color: var(--color-ink); box-shadow: var(--edge-light), var(--shadow-card); }
.btn--clear:hover { background: var(--color-light); color: var(--color-accent-hi); }
.link { color: var(--color-ink); font-weight: 500; text-decoration: none; padding-bottom: var(--space-3xs); background: linear-gradient(var(--color-accent), var(--color-accent)) 0 100% / 0% 1px no-repeat, linear-gradient(var(--color-shade-2), var(--color-shade-2)) 0 100% / 100% 1px no-repeat; transition: color var(--dur-short) var(--ease-out), background-size var(--dur-long) var(--ease-out); }
.link:hover { color: var(--color-accent); background-size: 100% 1px, 100% 1px; }
.link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--space-2xs); }

/* Nav: a floating pill */
.nav { position: sticky; top: var(--space-sm); z-index: var(--z-sticky-nav); margin-top: var(--space-sm); }
.nav__pill { display: flex; align-items: center; gap: var(--space-lg); max-width: 820px; min-height: var(--nav-h); margin-inline: auto; padding: 0 var(--space-xs) 0 var(--space-lg); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-light) 90%, transparent); box-shadow: var(--edge-light), var(--shadow-card); }
.wordmark { display: inline-flex; align-items: baseline; gap: var(--space-xs); color: var(--color-ink); font: 400 1.3rem/1 var(--font-display); letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--color-muted); font: 400 var(--text-sm)/1 var(--font-body); letter-spacing: 0; }
.wordmark:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: var(--space-2xs); }
.nav__links { display: flex; gap: var(--space-md); margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav__links a, .menu a { color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; text-decoration: none; padding: var(--space-xs) var(--space-2xs); border-radius: var(--space-2xs); transition: color var(--dur-short) var(--ease-out); }
.nav__links a:hover, .menu a:hover, .nav__links a[aria-current="page"] { color: var(--color-accent); }
.nav__links a:focus-visible, .menu a:focus-visible, .menu summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.nav__book { min-height: 48px; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 0 var(--space-sm); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink); border-radius: var(--radius-pill); }
.menu summary::-webkit-details-marker { display: none; }
.menu ul { position: absolute; right: 0; top: calc(100% + var(--space-xs)); display: grid; gap: var(--space-2xs); min-width: 200px; margin: 0; padding: var(--space-sm); list-style: none; border-radius: var(--radius-inner); background: var(--color-light); box-shadow: var(--edge-light), var(--shadow-card); }
.menu a { display: block; font-size: var(--text-md); }

/* The light */
.lit { position: relative; isolation: isolate; }
.light { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; -webkit-mask-image: linear-gradient(to right, transparent 48%, var(--color-ink) 66%); mask-image: linear-gradient(to right, transparent 48%, var(--color-ink) 66%); }
.light-toggle { position: absolute; right: var(--gutter); bottom: var(--space-lg); z-index: var(--z-raised); min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
html:not(.js) .light-toggle, html.no-gl .light-toggle { display: none; }
@media (prefers-reduced-motion: reduce) { .light-toggle { display: none; } }

/* Hero, Index posture: the open times are the visual */
.hero { min-height: calc(100dvh - var(--nav-h) - var(--space-sm) * 2); display: grid; align-items: center; padding-block: var(--space-2xl) var(--space-3xl); margin-top: calc(-1 * var(--nav-h) - var(--space-sm)); padding-top: calc(var(--nav-h) + var(--space-2xl)); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.hero h1 { font-size: var(--text-display); max-width: 13ch; text-wrap: pretty; }
.hero .lead { margin-top: var(--space-lg); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); }

.lanes { padding: var(--space-lg) var(--space-xl) var(--space-md); border-radius: var(--radius-card); background: color-mix(in oklab, var(--color-light) 80%, transparent); box-shadow: var(--edge-light), var(--shadow-cast); }
.lanes__cap { display: flex; justify-content: space-between; gap: var(--space-md); padding-bottom: var(--space-sm); color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; }
.lanes ol { margin: 0; padding: 0; list-style: none; }
.lane { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: var(--space-lg); min-height: 76px; border-top: 1px solid var(--color-rule); }
.lane__day { color: var(--color-ink); font-weight: 500; white-space: nowrap; }
.lane__time { font: 300 var(--text-2xl)/1 var(--font-display); color: var(--color-ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.lane .btn { min-height: 44px; padding: 0 var(--space-md); }
.lane--next::before { content: ""; position: absolute; left: calc(-1 * var(--space-xl)); top: 22%; bottom: 22%; width: 3px; border-radius: var(--radius-pill); background: linear-gradient(var(--spec-3), var(--color-shade-2)); }

/* Photograph band, no head */
.office { position: relative; }
.office figure { margin: 0; aspect-ratio: 21 / 9; min-height: 560px; max-height: 820px; width: 100%; }
.office figure img { object-position: 50% 55%; }
.plate { position: absolute; left: var(--gutter); bottom: var(--space-xl); z-index: 2; max-width: 360px; padding: var(--space-md) var(--space-lg); border-radius: var(--radius-inner); background: var(--color-light); color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; box-shadow: var(--shadow-card); }

/* Sections */
.section { padding-block: var(--section-gap); }
.section--s { padding-block: var(--section-gap-s); }
.section--l { padding-block: var(--section-gap-l); }
.band { background: var(--color-paper-2); }
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.head .lead { max-width: 48ch; }

/* Switcher across the four kinds of visit */
.switch__bar { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0 0 var(--space-2xl); padding: var(--space-2xs); border: 0; border-radius: var(--radius-pill); background: var(--color-paper-3); width: fit-content; }
.switch__bar legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.switch__bar input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.switch__bar label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); color: var(--color-ink-2); font-weight: 500; cursor: pointer; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.switch__bar label:hover { color: var(--color-ink); }
.switch__bar input:checked + label { background: var(--color-light); color: var(--color-ink); box-shadow: var(--edge-light), var(--shadow-card); }
.switch__bar input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.panel { display: none; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: start; min-height: 420px; }
.switch:has(#v-clean:checked) [data-panel="clean"], .switch:has(#v-cosmetic:checked) [data-panel="cosmetic"], .switch:has(#v-kids:checked) [data-panel="kids"], .switch:has(#v-emergency:checked) [data-panel="emergency"] { display: grid; }
.panel h3 { font-size: var(--text-section); max-width: 12ch; }
.panel p { margin-top: var(--space-lg); max-width: 45ch; }
.panel .link { display: inline-block; margin-top: var(--space-xl); }

/* Rows: a dl or list parted by hairlines */
.rows { margin: 0; padding: 0; list-style: none; }
.rows > div, .rows > li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); border-top: 1px solid var(--color-rule); }
.rows > :last-child { border-bottom: 1px solid var(--color-rule); }
.rows dt, .rows h3 { color: var(--color-ink); font: 400 var(--text-title)/1.2 var(--font-display); letter-spacing: -0.015em; }
.rows dd { margin: 0; max-width: 52ch; }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; }
.split .head { position: sticky; top: calc(var(--nav-h) + var(--space-xl)); margin-bottom: 0; }

/* Grid of three facts */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; }
.facts > div { min-height: 240px; padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper-2); display: grid; align-content: space-between; gap: var(--space-lg); }
.facts dt { color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; }
.facts dd { margin: 0; color: var(--color-ink); font: 400 var(--text-title)/1.25 var(--font-display); letter-spacing: -0.015em; }

/* Hours, address and the booking */
.close { padding-block: var(--section-gap-s); }
.close__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.hours { width: 100%; margin-top: var(--space-xl); border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: var(--space-sm) 0; border-top: 1px solid var(--color-rule); text-align: left; font-size: var(--text-md); }
.hours th { color: var(--color-ink); font-weight: 500; white-space: nowrap; }
.hours td { color: var(--color-ink-2); text-align: right; }
.addr { margin-top: var(--space-xl); font-style: normal; color: var(--color-ink-2); }
.addr strong { display: block; color: var(--color-ink); font-weight: 500; }
.addr a { color: var(--color-ink); }

/* The booking form */
.book { padding: var(--space-xl); border-radius: var(--radius-card); background: color-mix(in oklab, var(--color-light) 86%, transparent); box-shadow: var(--edge-light), var(--shadow-card); }
.book h2, .book h3 { font-size: var(--text-title); }
.form { display: grid; gap: var(--space-lg); margin-top: var(--space-lg); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.field { display: grid; gap: var(--space-xs); min-width: 0; }
.field label, .times legend { color: var(--color-ink); font-size: var(--text-sm); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-inner); background: var(--color-light); color: var(--color-ink); font-size: var(--text-md); }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -1px; }
.field input:disabled, .field select:disabled { opacity: 0.55; cursor: not-allowed; }
.hint { color: var(--color-muted); font-size: var(--text-sm); min-height: 1lh; }
.times { margin: 0; padding: 0; border: 0; min-width: 0; }
.times legend { padding: 0; margin-bottom: var(--space-sm); }
.times__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--space-xs); }
.times button[data-slot] { position: static; overflow: visible; display: grid; gap: var(--space-3xs); min-height: 56px; padding: var(--space-xs) var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-inner); background: var(--color-light); color: var(--color-ink); text-align: left; cursor: pointer; transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.times button[data-slot] b { font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); }
.times button[data-slot] span { font: 400 var(--text-lg)/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.times button[data-slot]:hover { border-color: var(--color-shade-2); }
.times button[data-slot]:active { transform: translateY(1px); }
.times button[data-slot]:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.times button[data-slot][aria-pressed="true"] { border-color: var(--color-accent); background: var(--color-accent-soft); }
.times button[data-slot][aria-pressed="true"] b { color: var(--color-accent-hi); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { color: var(--color-error); font-weight: 500; }
.done { margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); }
.done h2, .done h3 { font-size: var(--text-title); }
.done p { margin-top: var(--space-sm); }
.done:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* Page heads on inner pages (Banner) */
.page-hero { padding-block: var(--space-3xl) var(--space-3xl); margin-top: calc(-1 * var(--nav-h) - var(--space-sm)); padding-top: calc(var(--nav-h) + var(--space-3xl)); min-height: calc(100dvh - var(--nav-h) - var(--space-sm) * 2); display: grid; align-items: center; }
.page-hero--banner { min-height: 56dvh; }
.page-hero h1 { font-size: var(--text-display); max-width: 13ch; }
.page-hero .lead { margin-top: var(--space-lg); max-width: 40ch; }
.page-hero .hero__actions { margin-top: var(--space-xl); }
.page-hero .hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }

/* Sticky booking bar */
.bar { position: fixed; left: 0; right: 0; bottom: var(--space-sm); z-index: var(--z-sticky); padding-inline: var(--space-sm); pointer-events: none; }
.bar__inner { display: flex; align-items: center; gap: var(--space-lg); max-width: 920px; min-height: 64px; margin-inline: auto; padding: var(--space-xs) var(--space-xs) var(--space-xs) var(--space-lg); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-light) 94%, transparent); box-shadow: var(--edge-light), var(--shadow-card); pointer-events: auto; }
.bar__text { display: flex; gap: var(--space-lg); min-width: 0; margin-right: auto; font-size: var(--text-sm); }
.bar__text b { color: var(--color-ink); font-weight: 500; }
.bar__tel { font-size: var(--text-sm); white-space: nowrap; }

/* Footer: one closing sentence, the links beneath */
.foot { padding-block: var(--section-gap) var(--space-2xl); background: var(--color-paper-2); }
.foot__line { max-width: 18ch; font: 300 var(--text-display-s)/1.04 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); text-wrap: balance; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-2xl); padding-top: var(--space-xl); border-top: 1px solid var(--color-rule); }
.foot__cols h2 { margin-bottom: var(--space-sm); color: var(--color-ink); font: 500 var(--text-sm)/1.4 var(--font-body); letter-spacing: 0; }
.foot__cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2xs); }
.foot__cols a { color: var(--color-ink-2); text-decoration: none; }
.foot__cols a:hover { color: var(--color-accent); text-decoration: underline; }
.foot__cols a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.foot address { font-style: normal; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-2xl); color: var(--color-muted); font-size: var(--text-sm); }
.foot__legal a { color: var(--color-muted); }

@media (max-width: 60rem) {
  .hero__grid, .page-hero .hero__grid, .close__grid, .panel, .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .split .head { position: static; }
  .light { -webkit-mask-image: linear-gradient(to bottom, transparent 560px, var(--color-ink) 760px); mask-image: linear-gradient(to bottom, transparent 560px, var(--color-ink) 760px); }
  .close .light, .close .light-toggle { display: none; }
  .lane__time { font-size: var(--text-xl); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > div { min-height: 0; }
  .office figure { min-height: 360px; aspect-ratio: 4 / 3; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar__text span { display: none; }
  .rows > div, .rows > li { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
}
@media (max-width: 44rem) {
  .nav__links { display: none; }
  .menu { display: block; }
  .nav__pill { gap: var(--space-sm); margin-inline: var(--space-sm); }
  .wordmark span { display: none; }
  .lanes { padding-inline: var(--space-lg); }
  .lane--next::before { left: calc(-1 * var(--space-lg)); }
  .lane { gap: var(--space-sm); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .plate { position: static; max-width: none; margin: var(--space-md) var(--gutter) 0; box-shadow: none; padding-inline: 0; background: transparent; }
  .bar__tel { display: none; }
  .bar__inner { padding-left: var(--space-md); }
}
@media (max-width: 40rem) { .foot__cols { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Motion upgrade ---------- */
.nav__tel { color: var(--color-ink); font-size: var(--text-sm); font-weight: 500; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nav__tel:hover { color: var(--color-accent); }
.nav__tel:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--space-2xs); }
.nav__pill { max-width: 940px; }
[data-magnetic] { transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-long) var(--ease-out); }

/* Full-bleed scene hero */
.hero--scene { min-height: 100svh; overflow: clip; }
.light--full { transform-origin: 60% 50%; -webkit-mask-image: linear-gradient(to right, var(--mask-faint) 18%, var(--color-ink) 62%); mask-image: linear-gradient(to right, var(--mask-faint) 18%, var(--color-ink) 62%); }
.hero--scene .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); }
.giant { font-size: clamp(3.25rem, 7.4vw, 8.25rem); max-width: none; line-height: 0.96; text-wrap: wrap; }
.hero .giant { max-width: none; font-size: clamp(3.25rem, 7.4vw, 8.25rem); }
.giant .line { display: block; overflow: clip; padding-bottom: 0.06em; }
.giant .line > span { display: inline-block; animation: rise 1s var(--ease-out) both; animation-delay: calc(120ms + var(--i) * 110ms); }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero--scene .lanes { padding-inline: var(--space-lg); }
.hero--scene .lane__time { font-size: var(--text-xl); }

/* Marquee of nearby towns */
.marquee { position: relative; display: flex; align-items: center; gap: var(--space-lg); padding-block: var(--space-xl); border-block: 1px solid var(--color-rule); overflow: clip; }
.marquee__track { display: flex; width: max-content; animation: drift 60s linear infinite; }
.marquee__run { max-width: none; flex-shrink: 0; display: flex; gap: var(--space-2xl); padding-right: var(--space-2xl); margin: 0; }
.marquee__track span { font: 300 var(--text-3xl)/1 var(--font-display); color: var(--color-ink-2); letter-spacing: -0.02em; white-space: nowrap; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-held .marquee__track, .marquee.is-off .marquee__track, html:not(.js) .marquee__track { animation-play-state: paused; }
.marquee__toggle { position: absolute; right: var(--gutter); min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
html:not(.js) .marquee__toggle { display: none; }
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } .marquee__toggle { display: none; } }

/* Pinned services: stacked by default, pinned and scrubbed when motion.js takes over */
.stages { padding-block: var(--section-gap); overflow: clip; }
.stages__h { margin-bottom: var(--space-2xl); }
.stages__dots { display: none; }
.stage { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; padding-block: var(--space-2xl); border-top: 1px solid var(--color-rule); }
.stage__name { font-size: var(--text-display-s); max-width: 12ch; }
.stage .lead { margin-top: var(--space-lg); max-width: 34ch; }
.stage .link { display: inline-block; margin-top: var(--space-xl); }
.stage__card { padding: var(--space-xl); border-radius: var(--radius-card); background: color-mix(in oklab, var(--color-light) 84%, transparent); box-shadow: var(--edge-light), var(--shadow-cast); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); margin-top: var(--space-xl); }
.cta small { color: var(--color-muted); max-width: 30ch; }
.stages:not(.is-pinned) .light { display: none; }
.stages.is-pinned { height: 100svh; padding: 0; display: grid; align-items: center; }
.stages.is-pinned .light { -webkit-mask-image: none; mask-image: none; }
.stages.is-pinned .stages__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; height: 100svh; padding-block: calc(var(--nav-h) + var(--space-2xl)) var(--space-3xl); }
.stages.is-pinned .stages__h { margin: 0; font-size: var(--text-lead); font-family: var(--font-body); letter-spacing: 0; font-weight: 500; }
.stages.is-pinned .stage { grid-area: 2 / 1; border: 0; opacity: 0; transform: translateY(var(--space-lg)); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); pointer-events: none; }
.stages.is-pinned .stage.is-on { opacity: 1; transform: none; pointer-events: auto; }
.stages.is-pinned .stage__name { font-size: clamp(3rem, 6vw, 6.5rem); }
.stages.is-pinned .stages__dots { display: flex; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; }
.stages__dots li[aria-current="step"] { color: var(--color-ink); }

/* Book by kind of visit, with a cursor-following card */
.picker-wrap { position: relative; }
.stages:not(.is-pinned) .light-toggle { display: none; }
.picker { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-rule); }
.picker a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 112px; border-bottom: 1px solid var(--color-rule); color: var(--color-ink); text-decoration: none; transition: transform var(--dur-long) var(--ease-out), color var(--dur-short) var(--ease-out); }
.picker__name { font: 400 var(--text-section)/1 var(--font-display); letter-spacing: var(--tracking-display); }
.picker__go { font-weight: 500; color: var(--color-accent); }
.picker a:hover { transform: translateX(var(--space-md)); color: var(--color-accent-hi); }
.picker a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.peek { position: absolute; left: 0; top: 0; z-index: var(--z-raised); display: grid; gap: var(--space-2xs); width: 260px; padding: var(--space-lg); border-radius: var(--radius-card); background: var(--tint, var(--tint-clean)); color: var(--color-ink); box-shadow: var(--edge-light), var(--shadow-cast); pointer-events: none; opacity: 0; transition: opacity var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.peek b { font: 400 var(--text-title)/1.15 var(--font-display); }
.peek span { font-size: var(--text-sm); color: var(--color-ink-2); }
.is-peeking .peek { opacity: 1; }
@media (hover: none), (pointer: coarse) { .peek { display: none; } }

/* One-shot reveals, only when motion is allowed and JS runs */
.js.motion [data-split] .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: 0.08em; }
.js.motion [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 0.9s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
.js.motion [data-split].is-in .w > span { transform: none; }
.js.motion [data-reveal] > * { opacity: 0; transform: translateY(var(--space-md)); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.js.motion [data-reveal].is-in > * { opacity: 1; transform: none; }
.js.motion [data-reveal] > :nth-child(2) { transition-delay: 70ms; } .js.motion [data-reveal] > :nth-child(3) { transition-delay: 140ms; } .js.motion [data-reveal] > :nth-child(4) { transition-delay: 210ms; } .js.motion [data-reveal] > :nth-child(n+5) { transition-delay: 280ms; }
.js.motion figure[data-reveal] { clip-path: inset(14% 10% 14% 10% round var(--radius-card)); transition: clip-path 1.3s var(--ease-out); }
.js.motion figure[data-reveal] > * { opacity: 1; transform: scale(1.12); transition: transform 1.6s var(--ease-out); }
.js.motion figure[data-reveal].is-in { clip-path: inset(0 0 0 0 round 0); }
.js.motion figure[data-reveal].is-in > * { transform: none; }

@media (max-width: 60rem) {
  .hero--scene .hero__grid, .stage { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .light--full { -webkit-mask-image: linear-gradient(to bottom, var(--mask-faint) 30%, var(--color-ink) 70%); mask-image: linear-gradient(to bottom, var(--mask-faint) 30%, var(--color-ink) 70%); }
  .stages .light { display: none; }
  .nav__tel { display: none; }
  .marquee__track span { font-size: var(--text-2xl); }
  .picker__name { font-size: var(--text-2xl); }
  .picker a { min-height: 80px; }
}

.band .facts > div { background: var(--color-paper-3); }
