/* Hallmark · shape: Evidence clinic (archetype A, evidence variant) · genre: editorial · theme: custom · job: book · idea: "Not all chiropractors are the same, so the page proves it: the practice's own before and after X-rays become draggable comparisons that sweep open as you arrive" · vibe: "precise, urban, after-hours, brick and steel, 16th Street downtown"
 * paper: #fbfcfd · accent: #9dbccd (their steel blue band) · display: Oswald (their own heading face) · body: Source Sans 3 · hero: Dr. Miqueli against the brick wall from their site, charcoal wash, condensed uppercase headline · nav: charcoal bar with their stacked wordmark in live type · footer: charcoal, the wordmark, four menus · imagery: their X-rays, doctor and room photos · signature: the X-ray comparisons sweeping from before to after
 * axes: dark/condensed/cool · posture: expressive · 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: P, the X-rays are small originals, so they sit in tight dark frames instead of large */
:root {
  --c-paper: #fbfcfd; --c-tint: #e5edf2; --c-tint-2: #d2dfe7; --c-rule: #d3dce2;
  --c-ink: #16191c; --c-ink-2: #31373d; --c-muted: #4d565e;
  --c-char: #1b1d20; --c-char-deep: #111315; --c-char-2: #2a2e33;
  --c-steel: #9dbccd; --c-steel-lt: #c2d7e2; --c-steel-ink: #2d5266; --c-brick: #b4553f;
  --c-on-dark: #fbfcfd; --c-on-dark-2: #c3ccd3;
  --f-display: "Oswald", "Arial Narrow", ui-sans-serif, sans-serif; --f-body: "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
  --wrap: 1280px; --gut: 48px; --gap: 32px; --sec: 128px;
  --r-photo: 6px; --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.6 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: 500; text-transform: uppercase; line-height: 1.02; letter-spacing: 0; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--c-steel); 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-char); color: var(--c-on-dark); }
.tone { font-weight: 300; color: var(--c-steel-ink); }
.dark .tone, .hero .tone, .final .tone { color: var(--c-steel); }
.h2 { font-size: clamp(2.75rem, 3.6vw + 1.25rem, 4.75rem); }
.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-size: 1.25rem; font-weight: 400; color: var(--c-steel-ink); font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 900; background: var(--c-steel); color: var(--c-char-deep); padding: 12px 20px; font-weight: 600; }
.skip:focus { top: 16px; }

/* buttons + links */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 24px; border-radius: var(--pill); font: 600 1rem/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--steel { background: var(--c-steel); color: var(--c-char-deep); }
.btn--steel:hover { background: var(--c-steel-lt); }
.btn--lg { min-height: 60px; padding: 16px 32px; font-size: 1.0625rem; }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.link--light { color: var(--c-on-dark); text-decoration-color: var(--c-steel); }

/* wordmark */
.mark { display: inline-flex; flex-direction: column; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; text-decoration: none; line-height: 1.05; letter-spacing: 0; color: var(--c-on-dark); }
.mark span:first-child { font-size: 1.25rem; }
.mark span:last-child { font-size: 1.25rem; font-weight: 300; color: var(--c-steel); }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--c-char); color: var(--c-on-dark); transition: box-shadow var(--d-s); }
.hdr.is-scrolled { box-shadow: 0 1px 0 var(--c-char-2); }
.hdr__in { display: flex; align-items: center; gap: 32px; height: 88px; }
.hdr nav { margin-left: auto; }
.hdr nav ul { display: flex; gap: 32px; }
.hdr nav a { font-weight: 500; text-decoration: none; color: var(--c-on-dark-2); transition: color var(--d-s); }
.hdr nav a:hover { color: var(--c-on-dark); }
.hdr__act { display: flex; align-items: center; gap: 24px; }
.hdr__tel { font-weight: 600; text-decoration: none; }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--c-char-2); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 8px; }
.menu-btn span { width: 20px; height: 2px; background: var(--c-on-dark); 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; overflow: hidden; background: var(--c-char-deep); color: var(--c-on-dark); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, var(--c-char-deep) 0%, color-mix(in oklab, var(--c-char-deep) 86%, transparent) 42%, color-mix(in oklab, var(--c-char-deep) 25%, transparent) 75%, transparent 100%); }
.hero__in { position: relative; display: flex; flex-direction: column; align-items: flex-end; text-align: right; justify-content: center; min-height: calc(100svh - 88px - 88px); max-height: 820px; padding-block: 96px; }
.hero__in > * { max-width: 600px; }
.h1 { font-size: clamp(2.75rem, 4.2vw + 1rem, 5.5rem); line-height: 0.95; overflow-wrap: normal; }
.h1 .ln { display: block; overflow: hidden; padding-bottom: 0.04em; }
.h1 .ln > span { display: block; }
.hero__lede { margin-top: 32px; font-size: 1.25rem; color: var(--c-on-dark-2); max-width: 38ch; }
.hero__acts { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 24px; margin-top: 40px; }

/* band */
.band { background: var(--c-steel); color: var(--c-char-deep); }
.band__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.band__row li { display: flex; align-items: center; gap: 16px; padding: 28px 24px; border-left: 1px solid color-mix(in oklab, var(--c-char) 20%, transparent); }
.band__row li:first-child { border-left: 0; padding-left: 0; }
.band b { white-space: nowrap; font-family: var(--f-display); font-weight: 500; font-size: 2.25rem; text-transform: uppercase; line-height: 1; }
.band__award img { width: 56px; height: auto; border-radius: 4px; }

/* x-ray comparisons */
.head { max-width: 800px; margin-bottom: 64px; }
.head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.head--split .lede { max-width: 44ch; }
.xr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.cmp { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-photo); overflow: hidden; background: var(--c-char-deep); user-select: none; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp__after { clip-path: inset(0 0 0 var(--p)); }
.cmp__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; translate: -1px 0; background: var(--c-steel); z-index: 2; pointer-events: none; }
.cmp__handle svg { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: var(--c-steel); color: var(--c-char-deep); }
.cmp:has(.cmp__range:focus-visible) { outline: 3px solid var(--c-steel); outline-offset: 3px; }
.cmp__tag { position: absolute; top: 16px; z-index: 2; padding: 4px 12px; border-radius: var(--pill); background: color-mix(in oklab, var(--c-char-deep) 80%, transparent); font-size: 0.875rem; font-weight: 600; }
.cmp__tag--l { left: 16px; }
.cmp__tag--r { right: 16px; color: var(--c-steel); }
.xr__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; }
.xr__foot h3 { font-size: 1.5rem; }
.xr__foot figure { display: flex; align-items: center; gap: 12px; color: var(--c-on-dark-2); font-size: 0.9375rem; }
.xr__foot img { width: 48px; height: 60px; object-fit: cover; border-radius: 4px; }

/* why */
.why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.why__list { margin-top: 24px; }
.why__list li { padding-block: 16px; border-top: 1px solid var(--c-rule); font-size: 1.1875rem; }
.why__list li:last-child { border-bottom: 1px solid var(--c-rule); }

/* steps */
.steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.steps__list li { padding-top: 24px; border-top: 2px solid var(--c-steel-ink); }
.steps__list h3 { margin-top: 24px; font-size: 1.625rem; }
.steps__list p { margin-top: 12px; color: var(--c-muted); }

/* feature */
.feature__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.feature__img { border-radius: var(--r-photo); overflow: hidden; }
.feature__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature .lede { margin-top: 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tags li { padding: 8px 16px; border-radius: var(--pill); background: var(--c-tint); font-weight: 500; font-size: 0.9375rem; }
.tags--dark li { background: var(--c-char-2); color: var(--c-on-dark); }

/* methods */
.methods__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.methods h3 { font-size: 1.75rem; color: var(--c-steel); }

/* doctor + rooms */
.doctor__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.doctor blockquote { margin-top: 40px; padding-top: 32px; border-top: 2px solid var(--c-brick); }
.doctor blockquote p { font-size: 1.375rem; line-height: 1.5; color: var(--c-ink-2); }
.doctor blockquote footer { margin-top: 16px; font-weight: 600; color: var(--c-steel-ink); }
.rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rooms li { border-radius: var(--r-photo); overflow: hidden; }
.rooms li:nth-child(odd) { translate: 0 32px; }
.rooms img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* 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-size: 1.75rem; text-transform: uppercase; line-height: 1.2; }
.hrs { margin-top: 32px; max-width: 420px; }
.hrs div { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-top: 1px solid var(--c-tint-2); }
.hrs div:last-child { border-bottom: 1px solid var(--c-tint-2); }
.hrs dt { color: var(--c-muted); }
.hrs dd { font-weight: 600; }
.hrs a { text-decoration: none; }
.open { margin-top: 24px; font-weight: 600; color: var(--c-steel-ink); }
.visit__map { border-radius: var(--r-photo); overflow: hidden; min-height: 460px; background: var(--c-tint-2); }
.visit__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; }

/* final */
.final { background: var(--c-char-deep); color: var(--c-on-dark); padding-block: 144px; text-align: center; }
.final__title { font-size: clamp(3rem, 5vw + 1rem, 6.5rem); line-height: 0.98; }
.final__in > p { margin: 24px auto 0; font-size: 1.25rem; color: var(--c-on-dark-2); 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-char); color: var(--c-on-dark-2); padding-top: 96px; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 64px; padding-bottom: 80px; }
.mark--light span:first-child, .mark--light span:last-child { font-size: 1.75rem; }
.ftr__brand > p:last-child { margin-top: 20px; font-size: 0.9375rem; }
.ftr__menus { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ftr h3 { font-family: var(--f-body); text-transform: none; font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; color: var(--c-steel); margin-bottom: 16px; }
.ftr li { margin-bottom: 12px; font-size: 0.9375rem; 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-char-2); font-size: 0.875rem; }

/* 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-char); 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); text-transform: uppercase; font-size: 2rem; text-decoration: none; }
  .xr { grid-template-columns: repeat(3, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .xr li { scroll-snap-align: start; }
  .why__grid, .feature__grid, .doctor__grid, .visit__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__top { grid-template-columns: minmax(0, 1fr); }
  .ftr__menus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  :root { --gut: 16px; --sec: 72px; }
  .hdr__in { height: 72px; }
  .mark span:first-child, .mark span:last-child { font-size: 1rem; }
  .hdr__act .btn { display: none; }
  .menu { inset: 72px 0 0; }
  .hero__bg img { object-position: 22% 30%; }
  .hero__bg::after { background: linear-gradient(0deg, var(--c-char-deep) 0%, color-mix(in oklab, var(--c-char-deep) 80%, transparent) 55%, color-mix(in oklab, var(--c-char-deep) 30%, transparent) 100%); }
  .hero__in { align-items: flex-start; text-align: left; min-height: 0; padding-block: 200px 56px; }
  .hero__acts { justify-content: flex-start; }
  .band__row { grid-template-columns: minmax(0, 1fr); }
  .band__row li { border-left: 0; border-top: 1px solid color-mix(in oklab, var(--c-char) 20%, transparent); padding: 20px 0; }
  .band__row li:first-child { border-top: 0; }
  .xr { grid-template-columns: repeat(3, 78vw); }
  .steps__list, .methods__grid { grid-template-columns: minmax(0, 1fr); }
  .rooms li:nth-child(odd) { translate: none; }
  .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; }
}
