/* Hallmark · shape: Calm specialist clinic (archetype C, accessible variant) · genre: clinical · theme: custom · job: book · idea: "Vestibular therapy steadies a spinning world; a wavy horizon line under the hero settles into a calm, flat line as you scroll" · vibe: "calm, expert, kind, readable, Lowry Denver"
 * paper: #fbfdff · accent: #3f95ff (their brand blue) with #0f3d7a for text and dark bands · display: Lexend (built for readability) · body: Atkinson Hyperlegible (designed for low-vision readers) · hero: split, calm headline left, their own rehab photo right, the settling horizon beneath · nav: white bar with their loops logo · footer: deep blue, white logo, menus · imagery: their own professional rehab photos, team photo, referral partner logos · signature: the horizon settling
 * axes: light/humanist/cool · posture: composed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · waived: 38iii, the lighter-weight second line (.tone) is the owner-approved heading pattern for every client page */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: H, office hours are not on the crawled pages, so the visit section leads with the parking directions patients actually need */
:root {
  --c-paper: #fbfdff; --c-tint: #e8f1fd; --c-tint-2: #d3e3f8; --c-rule: #d6e2f0;
  --c-ink: #0e1b2e; --c-ink-2: #283a54; --c-muted: #48596f;
  --c-blue: #3f95ff; --c-blue-ink: #1660c4; --c-deep: #0f3d7a; --c-deep-2: #1a4d91; --c-deep-3: #0a2c5a;
  --c-on-dark: #fbfdff; --c-on-dark-2: #c9daf2;
  --f-display: "Lexend", ui-sans-serif, system-ui, sans-serif; --f-body: "Atkinson Hyperlegible", ui-sans-serif, system-ui, sans-serif;
  --wrap: 1280px; --gut: 48px; --gap: 32px; --sec: 128px;
  --r-photo: 24px; --pill: 999px;
  --e-out: cubic-bezier(.16, 1, .3, 1); --d-s: 220ms;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-padding-top: 96px; }
body { margin: 0; background: var(--c-paper); color: var(--c-ink); font: 400 1.125rem/1.65 var(--f-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 600; line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
h3 { line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--c-blue-ink); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sec); }
.tint { background: var(--c-tint); }
.dark { background: var(--c-deep); color: var(--c-on-dark); }
.tone { font-weight: 300; color: var(--c-blue-ink); }
.dark .tone, .final .tone { color: var(--c-tint-2); }
.h2 { font-size: clamp(2.5rem, 3vw + 1.25rem, 4rem); }
.lede { font-size: 1.25rem; color: var(--c-muted); max-width: 50ch; }
.dark .lede { color: var(--c-on-dark-2); }
.num { font-family: var(--f-display); font-weight: 300; font-size: 1.5rem; color: var(--c-tint-2); font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 900; background: var(--c-deep); color: var(--c-on-dark); padding: 12px 20px; font-weight: 700; }
.skip:focus { top: 16px; }

/* buttons + links */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 16px 28px; border-radius: var(--pill); font: 700 1.0625rem/1 var(--f-body); text-decoration: none; border: 0; cursor: pointer; transition: background-color var(--d-s) var(--e-out); }
.btn svg { width: 20px; height: 20px; transition: transform var(--d-s) var(--e-out); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn--blue { background: var(--c-blue-ink); color: var(--c-on-dark); }
.btn--blue:hover { background: var(--c-deep); }
.btn--white { background: var(--c-paper); color: var(--c-deep); }
.btn--white:hover { background: var(--c-tint); }
.btn--lg { min-height: 60px; padding: 16px 32px; font-size: 1.125rem; }
.link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--c-blue); }
.link--light { color: var(--c-on-dark); text-decoration-color: var(--c-tint-2); }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--c-paper); transition: box-shadow var(--d-s); }
.hdr.is-scrolled { box-shadow: 0 1px 0 var(--c-rule); }
.hdr__in { display: flex; align-items: center; gap: 32px; height: 88px; }
.hdr__logo img { width: 230px; }
.hdr nav { margin-left: auto; }
.hdr nav ul { display: flex; gap: 28px; }
.hdr nav a { font-weight: 700; text-decoration: none; color: var(--c-ink-2); }
.hdr nav a:hover { color: var(--c-blue-ink); }
.hdr__act { display: flex; align-items: center; gap: 24px; }
.hdr__tel { font-weight: 700; text-decoration: none; color: var(--c-deep); }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--c-tint); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 8px; }
.menu-btn span { width: 20px; height: 2px; background: var(--c-deep); transition: transform var(--d-s) var(--e-out); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }
.menu { display: none; }

/* hero */
.hero { position: relative; padding-block: 56px 0; background: var(--c-tint); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: center; padding-bottom: 112px; }
.h1 { font-size: clamp(3rem, 4vw + 1rem, 5.25rem); line-height: 1.02; }
.h1 .ln { display: block; overflow: hidden; padding-bottom: 0.08em; }
.h1 .ln > span { display: block; }
.hero__lede { margin-top: 32px; font-size: 1.3125rem; color: var(--c-muted); max-width: 40ch; }
.hero__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 40px; }
.hero__photo { border-radius: var(--r-photo); overflow: hidden; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 35% 40%; }
.horizon { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 120px; }
.horizon path { fill: var(--c-paper); }

/* partners */
.partners { padding-block: 48px; border-bottom: 1px solid var(--c-rule); }
.partners__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.partners p { font-weight: 700; color: var(--c-muted); }
.partners ul { display: flex; align-items: center; gap: 48px; }
.partners img { height: 56px; width: auto; filter: grayscale(1); opacity: .85; transition: filter var(--d-s); }
.partners img:hover { filter: none; opacity: 1; }

/* who we help */
.help__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 80px; align-items: start; }
.help .lede { margin-top: 24px; }
.conds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--gap); }
.conds li { padding-top: 24px; border-top: 2px solid var(--c-blue); }
.conds h3 { font-size: 1.5rem; }
.conds p { margin-top: 8px; color: var(--c-muted); }

/* gallery */
.gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 440px; gap: 16px; }
.gal li { border-radius: var(--r-photo); overflow: hidden; }
.gal img { width: 100%; height: 100%; object-fit: cover; }

/* why */
.head { max-width: 760px; margin-bottom: 64px; }
.head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.why__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.why__list li { padding: 32px; border-radius: var(--r-photo); background: var(--c-deep-2); }
.why__list h3 { margin-top: 24px; font-size: 1.375rem; }
.why__list p { margin-top: 12px; color: var(--c-on-dark-2); }

/* team */
.team__photo { border-radius: var(--r-photo); overflow: hidden; margin-bottom: 80px; }
.team__photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 35%; }
.team__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 80px; align-items: start; }
.team .lede { margin-top: 24px; }
.crew { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); }
.crew li { display: flex; flex-direction: column; gap: 4px; padding-block: 20px; border-top: 1px solid var(--c-rule); }
.crew b { font-family: var(--f-display); font-weight: 600; font-size: 1.1875rem; }
.crew span { color: var(--c-muted); font-size: 1rem; }

/* telehealth */
.tele__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; align-items: center; }
.tele__img { border-radius: var(--r-photo); overflow: hidden; }
.tele__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tele .lede { margin-top: 24px; }

/* visit */
.visit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 80px; align-items: stretch; }
.addr { margin-top: 32px; font-family: var(--f-display); font-weight: 500; font-size: 1.625rem; line-height: 1.35; }
.near { margin-top: 8px; color: var(--c-muted); }
.park { margin-top: 32px; padding: 24px; border-radius: 16px; background: var(--c-tint); }
.park h3 { font-size: 1.1875rem; color: var(--c-deep); }
.park p { margin-top: 8px; color: var(--c-ink-2); }
.tel { display: inline-block; margin-top: 32px; font-family: var(--f-display); font-weight: 600; font-size: 1.75rem; color: var(--c-deep); text-decoration: none; }
.visit__map { border-radius: var(--r-photo); overflow: hidden; min-height: 480px; background: var(--c-tint); }
.visit__map iframe { width: 100%; height: 100%; min-height: 480px; border: 0; }

/* final */
.final { background: var(--c-blue-ink); color: var(--c-on-dark); padding-block: 144px; text-align: center; }
.final__title { font-size: clamp(2.75rem, 4.4vw + 1rem, 5.5rem); }
.final__in > p { margin: 24px auto 0; font-size: 1.25rem; color: var(--c-on-dark); max-width: 44ch; }
.final__acts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px; margin-top: 48px; }

/* footer */
.ftr { background: var(--c-deep-3); color: var(--c-on-dark-2); padding-top: 96px; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; padding-bottom: 80px; }
.ftr__brand img { width: 240px; }
.ftr__brand p { margin-top: 24px; max-width: 30ch; font-size: 1rem; }
.ftr__menus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ftr h3 { font-family: var(--f-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--c-tint-2); margin-bottom: 16px; }
.ftr li { margin-bottom: 12px; font-size: 1rem; overflow-wrap: anywhere; }
.ftr a { text-decoration: none; transition: color var(--d-s); }
.ftr a:hover { color: var(--c-on-dark); }
.ftr__legal { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 32px; border-top: 1px solid var(--c-deep-2); font-size: 0.9375rem; }

/* responsive */
@media (max-width: 1100px) {
  :root { --gut: 24px; --sec: 96px; }
  .hdr nav, .hdr__tel { display: none; }
  .hdr__act { margin-left: auto; }
  .menu-btn { display: flex; }
  .menu { position: fixed; inset: 88px 0 0; background: var(--c-paper); padding: 32px 24px; flex-direction: column; gap: 32px; }
  .menu.is-open { display: flex; }
  .menu ul { display: grid; gap: 8px; }
  .menu a:not(.btn) { display: block; padding: 12px 0; font-family: var(--f-display); font-weight: 600; font-size: 2rem; text-decoration: none; }
  .hero__grid, .help__grid, .team__grid, .tele__grid, .visit__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 360px; }
  .ftr__top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  :root { --gut: 16px; --sec: 72px; }
  .hdr__in { height: 72px; }
  .hdr__logo img { width: 180px; }
  .hdr__act .btn { display: none; }
  .menu { inset: 72px 0 0; }
  .hero { padding-top: 32px; }
  .hero__grid { padding-bottom: 88px; }
  .partners ul { gap: 24px; flex-wrap: wrap; }
  .partners img { height: 40px; }
  .conds, .why__list, .crew { grid-template-columns: minmax(0, 1fr); }
  .gal { grid-auto-rows: 240px; }
  .team__photo img { aspect-ratio: 4 / 3; }
  .visit__map, .visit__map iframe { min-height: 320px; }
  .final { padding-block: 96px; }
  .ftr__menus { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; scroll-behavior: auto !important; }
}
