/* Hallmark · shape: Editorial serif spine clinic (archetype A, serif variant) · genre: editorial · theme: custom · job: book · idea: "Denver South calls itself a spinal correction clinic and its logo carries a dotted spine; on load a scoliotic S-curve of vertebrae straightens into one clean line" · vibe: "expert, calm, corrective, established since 2004, south Denver"
 * paper: #fcfdff · accent: #62c7c6 (the aqua in their logo) · display: Newsreader (echoes the logo's serif capitals) · body: Jost (their site face) · hero: deep navy, serif headline left, a column of vertebrae that straightens, their real building photo · nav: white bar with their navy logo · footer: navy, their white logo, four menus · imagery: the clinic's own building and rooms, a facility gallery, their YouTube film; two AI stand-ins for treatments, disclosed · signature: the curved spine straightening
 * axes: dark/serif/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: E, no portrait of Dr. Hitender on the live site, so his credentials carry the doctor section as a CV */
:root {
  --c-paper: #fcfdff; --c-tint: #e6eef6; --c-tint-2: #d4e1ee; --c-rule: #cfdbe7;
  --c-ink: #10233d; --c-ink-2: #2b3f58; --c-muted: #4a5c72;
  --c-navy: #173d6d; --c-navy-deep: #0f2a4d; --c-navy-2: #21497c; --c-steel: #236487;
  --c-aqua: #62c7c6; --c-aqua-deep: #3fa9a8; --c-on-dark: #fbfcfe; --c-on-dark-2: #c3d3e5;
  --f-display: "Newsreader", Georgia, serif; --f-body: "Jost", ui-sans-serif, system-ui, sans-serif;
  --wrap: 1280px; --gut: 48px; --gap: 32px; --sec: 128px;
  --r-photo: 20px; --pill: 999px;
  --e-out: cubic-bezier(.16, 1, .3, 1); --d-s: 220ms;
  --shade: color-mix(in oklab, var(--c-navy-deep) 30%, transparent);
}
*, *::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.0625rem/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: 500; line-height: 1.04; letter-spacing: -0.015em; 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 { margin: 0; }
:focus-visible { outline: 3px solid var(--c-aqua-deep); 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-navy); color: var(--c-on-dark); }
.tone { font-weight: 400; color: var(--c-steel); }
.dark .tone, .hero .tone, .final .tone { color: var(--c-aqua); }
.h2 { font-size: clamp(2.5rem, 3.2vw + 1.25rem, 4.25rem); }
.lede { font-size: 1.1875rem; color: var(--c-muted); max-width: 52ch; }
.dark .lede { color: var(--c-on-dark-2); }
.num { font-family: var(--f-display); font-size: 1.125rem; color: var(--c-steel); font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 900; background: var(--c-aqua); color: var(--c-navy-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: 500 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--blue { background: var(--c-navy); color: var(--c-on-dark); }
.btn--blue:hover { background: var(--c-navy-2); }
.btn--aqua { background: var(--c-aqua); color: var(--c-navy-deep); }
.btn--aqua:hover { background: color-mix(in oklab, var(--c-aqua) 82%, var(--c-on-dark)); }
.btn--lg { min-height: 60px; padding: 16px 32px; font-size: 1.0625rem; }
.link { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.link--light { color: var(--c-on-dark); text-decoration-color: var(--c-aqua); }
.link--arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; text-decoration: none; font-weight: 600; color: var(--c-navy); }
.link--arrow svg { width: 20px; height: 20px; transition: transform var(--d-s) var(--e-out); }
.link--arrow:hover svg { transform: translateX(4px); }
.round { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--c-rule); background: var(--c-paper); color: var(--c-navy); cursor: pointer; transition: background-color var(--d-s); }
.round:hover { background: var(--c-tint-2); }
.round svg { width: 20px; height: 20px; }
.round--light { background: transparent; border-color: color-mix(in oklab, var(--c-on-dark) 35%, transparent); color: var(--c-on-dark); }
.round--light:hover { background: var(--c-navy-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: 200px; }
.hdr nav { margin-left: auto; }
.hdr nav ul { display: flex; gap: 28px; }
.hdr nav a { font-weight: 500; text-decoration: none; color: var(--c-ink-2); }
.hdr nav a:hover { color: var(--c-navy); text-decoration: underline; text-decoration-color: var(--c-aqua-deep); text-underline-offset: 6px; }
.hdr__act { display: flex; align-items: center; gap: 24px; }
.hdr__tel { font-weight: 600; text-decoration: none; color: var(--c-navy); }
.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-navy); 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 { background: var(--c-navy); color: var(--c-on-dark); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: center; min-height: calc(100svh - 88px); max-height: 860px; padding-block: 64px; }
.h1 { font-size: clamp(3.25rem, 5vw + 1rem, 6.5rem); line-height: 0.98; letter-spacing: -0.025em; }
.h1 .ln { display: block; overflow: hidden; padding-bottom: 0.08em; }
.h1 .ln > span { display: block; }
.hero__lede { margin-top: 32px; font-size: 1.25rem; color: var(--c-on-dark-2); max-width: 40ch; }
.hero__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 40px; }
.hero__where { margin-top: 48px; padding-top: 24px; border-top: 1px solid color-mix(in oklab, var(--c-on-dark) 18%, transparent); color: var(--c-on-dark-2); font-size: 0.9375rem; max-width: 52ch; }
.hero__where b { color: var(--c-on-dark); }
.hero__art { position: relative; height: 100%; min-height: 560px; }
.spine { position: absolute; left: 6%; top: 50%; translate: 0 -50%; height: min(100%, 600px); width: auto; overflow: visible; }
.spine__line { fill: none; stroke: color-mix(in oklab, var(--c-aqua) 45%, transparent); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.spine rect { fill: var(--c-on-dark); }
.spine rect.is-key { fill: var(--c-aqua); }
.hero__photo { position: absolute; right: 0; bottom: 48px; width: min(320px, 58%); border-radius: var(--r-photo); overflow: hidden; border: 1px solid var(--c-navy-2); background: var(--c-navy-2); }
.hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero__photo figcaption { padding: 12px 16px; font-size: 0.875rem; color: var(--c-on-dark-2); }

/* credentials */
.creds { border-bottom: 1px solid var(--c-rule); }
.creds__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.creds__row li { display: flex; flex-direction: column; gap: 4px; padding: 32px 24px; border-left: 1px solid var(--c-rule); }
.creds__row li:first-child { border-left: 0; padding-left: 0; }
.creds b { font-family: var(--f-display); font-weight: 500; font-size: 1.75rem; line-height: 1.1; color: var(--c-navy); }
.creds span { font-size: 0.9375rem; color: var(--c-muted); }

/* approach */
.approach__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.approach__head { position: sticky; top: 128px; }
.approach .lede { margin-top: 24px; }
.pillars li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 24px; padding-block: 32px; border-top: 1px solid var(--c-rule); }
.pillars li:last-child { border-bottom: 1px solid var(--c-rule); }
.pillars .num { grid-row: span 2; padding-top: 8px; }
.pillars h3 { font-size: 1.75rem; }
.pillars p { margin-top: 8px; color: var(--c-muted); }

/* treatments */
.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; }
.tx__row { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.1fr) 240px; gap: 32px; align-items: center; padding-block: 32px; border-top: 1px solid var(--c-tint-2); }
.tx__row:last-child { border-bottom: 1px solid var(--c-tint-2); }
.tx__row figure { grid-column: 4; grid-row: 1; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; }
.tx__row img { width: 100%; height: 100%; object-fit: cover; }
.tx__row .num { grid-column: 1; grid-row: 1; }
.tx__row h3 { grid-column: 2; grid-row: 1; font-size: clamp(1.75rem, 1.4vw + 1rem, 2.5rem); }
.tx__row p { grid-column: 3; grid-row: 1; color: var(--c-muted); }
.also { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.also li { padding: 8px 16px; border-radius: var(--pill); border: 1px solid var(--c-tint-2); background: var(--c-paper); font-size: 0.9375rem; }

/* scoliosis */
.scol__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 80px; align-items: center; }
.scol .lede { margin-top: 24px; }
.scol__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; margin: 40px 0 48px; }
.scol__list li { padding-left: 24px; position: relative; }
.scol__list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 10px; height: 10px; border-radius: 3px; background: var(--c-aqua); }
.scol__img { border-radius: var(--r-photo); overflow: hidden; background: var(--c-paper); }
.scol__img img { width: 100%; }

/* doctor */
.doctor__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.doctor__intro { margin-top: 32px; font-family: var(--f-display); font-size: 1.5rem; line-height: 1.45; color: var(--c-ink-2); }
.cv div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding-block: 24px; border-top: 1px solid var(--c-rule); }
.cv div:last-child { border-bottom: 1px solid var(--c-rule); }
.cv dt { font-weight: 600; color: var(--c-steel); }
.cv dd { color: var(--c-ink-2); }

/* clinic gallery */
.clinic__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; }
.clinic__ctl { display: flex; gap: 12px; }
.gal { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); scroll-padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); }
.gal::-webkit-scrollbar { display: none; }
.gal__track { display: flex; gap: 24px; width: max-content; }
.gal li { scroll-snap-align: start; flex: none; width: min(560px, 80vw); border-radius: var(--r-photo); overflow: hidden; }
.gal li:nth-child(even) { width: min(420px, 70vw); }
.gal img { width: 100%; height: 400px; object-fit: cover; }

/* watch */
.watch__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.watch .lede { margin-top: 24px; }
.film { position: relative; border-radius: var(--r-photo); overflow: hidden; aspect-ratio: 16 / 9; background: var(--c-navy-deep); }
.film__btn { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.film__btn img { width: 100%; height: 100%; object-fit: cover; }
.film__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--c-aqua); color: var(--c-navy-deep); transition: scale var(--d-s) var(--e-out); }
.film__btn:hover .film__play { scale: 1.08; }
.film__play svg { width: 28px; height: 28px; margin-left: 4px; }
.film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* stories */
.quotes { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.quotes::-webkit-scrollbar { display: none; }
.quotes li { scroll-snap-align: start; flex: none; width: min(520px, 84vw); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 40px; border-radius: var(--r-photo); background: var(--c-navy-2); }
.quotes blockquote { margin: 0; }
.quotes blockquote p { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.4; }
.who { font-weight: 600; color: var(--c-aqua); }

/* conditions */
.conds__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 80px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { padding: 12px 20px; border-radius: var(--pill); background: var(--c-tint); font-weight: 500; color: var(--c-navy); }

/* faq */
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 80px; }
.qa details { border-bottom: 1px solid var(--c-tint-2); }
.qa details:first-child { border-top: 1px solid var(--c-tint-2); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; cursor: pointer; list-style: none; font-family: var(--f-display); font-size: 1.5rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--c-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2362c7c6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M10 5v10M5 10h10'/%3E%3C/svg%3E") center / 16px no-repeat; transition: rotate var(--d-s) var(--e-out); }
.qa details[open] summary::after { rotate: 45deg; }
.qa details p { padding-bottom: 28px; color: var(--c-muted); max-width: 62ch; }

/* visit */
.visit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: stretch; }
.addr { margin-top: 32px; font-family: var(--f-display); font-size: 1.5rem; line-height: 1.3; }
.near { margin-top: 8px; color: var(--c-muted); }
.hrs { margin-top: 32px; }
.hrs div { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-top: 1px solid var(--c-rule); }
.hrs div:last-child { border-bottom: 1px solid var(--c-rule); }
.hrs dt { color: var(--c-muted); }
.hrs dd { font-weight: 600; }
.hrs a { text-decoration: none; }
.visit__photo, .visit__map { border-radius: var(--r-photo); overflow: hidden; min-height: 440px; background: var(--c-tint); }
.visit__photo img { width: 100%; height: 100%; object-fit: cover; }
.visit__map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; }

/* final */
.final { position: relative; overflow: hidden; background: var(--c-navy-deep); color: var(--c-on-dark); padding-block: 144px; }
.final__spine { position: absolute; right: 12%; top: 50%; translate: 0 -50%; height: 130%; width: auto; }
.final__spine rect { fill: var(--c-navy-2); }
.final__in { position: relative; }
.final__title { font-size: clamp(2.75rem, 4.4vw + 1rem, 5.5rem); max-width: 13ch; }
.final__in > p { margin-top: 24px; font-size: 1.1875rem; max-width: 46ch; color: var(--c-on-dark-2); }
.final__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; margin-top: 48px; }

/* footer */
.ftr { background: var(--c-navy); 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; }
.ftr__brand img { width: 240px; }
.ftr__brand p { margin-top: 24px; max-width: 30ch; 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); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; color: var(--c-aqua); 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-navy-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-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-size: 2rem; text-decoration: none; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; max-height: none; gap: 48px; }
  .hero__art { min-height: 480px; }
  .approach__grid, .scol__grid, .doctor__grid, .watch__grid, .conds__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .approach__head { position: static; }
  .creds__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .creds__row li:nth-child(3) { border-left: 0; padding-left: 0; }
  .tx__row { grid-template-columns: 48px minmax(0, 1fr) 200px; }
  .tx__row figure { grid-column: 3; grid-row: 1 / span 2; }
  .tx__row p { grid-column: 2; grid-row: 2; }
  .visit__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .visit__info { grid-column: 1 / -1; }
  .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; }
  .hdr__logo img { width: 160px; }
  .hdr__act .btn { display: none; }
  .menu { inset: 72px 0 0; }
  .hero__grid { padding-block: 48px 24px; }
  .hero__art { min-height: 420px; }
  .hero__photo { width: 64%; bottom: 24px; }
  .creds__row li { padding: 24px 16px; }
  .creds b { font-size: 1.375rem; }
  .tx__row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tx__row figure, .tx__row .num, .tx__row h3, .tx__row p { grid-column: 1; grid-row: auto; }
  .tx__row figure { order: -1; margin-bottom: 12px; }
  .scol__list { grid-template-columns: minmax(0, 1fr); }
  .cv div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .gal img { height: 280px; }
  .quotes li { padding: 32px 24px; }
  .quotes blockquote p { font-size: 1.25rem; }
  .visit__grid { grid-template-columns: minmax(0, 1fr); }
  .visit__photo, .visit__map, .visit__map iframe { min-height: 320px; }
  .final { padding-block: 96px; }
  .final__spine { right: -24px; opacity: .6; }
  .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; }
}
