/* Spine & Disc Clinic — Ink Navy, Marigold, Bone. One light theme on purpose:
   a clinic's front door looks the same on every phone in the parking lot.
   Montserrat (display) + Source Sans 3 (body), self-hosted in /fonts/fonts.css. */

:root {
  --ink: #14213d; --ink-deep: #0e1729; --ink-2: #263252; --ink-3: #3a4568;
  --marigold: #e09a00; --marigold-deep: #b67c00; --marigold-soft: #fbf1d9; --marigold-glow: rgba(224,154,0,.45);
  --bone: #f4f2ed; --bone-2: #ebe8e1; --paper: #ffffff;
  --gray: #6b7280; --gray-2: #8b929f; --rule: #e2dfd7; --rule-2: #d3cfc5;
  --on-ink: #eef1f7; --on-ink-2: #b5bed3;
  --display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --gutter: 20px; --max: 1180px; --measure: 64ch;
  --r: 12px; --r-lg: 20px;
  --shadow: 0 1px 2px rgba(20,33,61,.05), 0 8px 24px rgba(20,33,61,.07);
  --shadow-lg: 0 2px 6px rgba(20,33,61,.06), 0 22px 48px rgba(20,33,61,.14);
  --ease: cubic-bezier(.2,.7,.2,1);
}
@media (min-width: 700px) { :root { --gutter: 32px; } }

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--bone); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; font-synthesis: none; overflow-x: clip; }
body.drawer-open { overflow: hidden; }
img, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--marigold-deep); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: -0.015em; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--gray); }
p { margin: 0 0 1em; max-width: var(--measure); }
ul, ol { max-width: var(--measure); padding-left: 1.2em; margin: 0 0 1em; }
li { margin: .3em 0; }
li::marker { color: var(--marigold-deep); }
strong { font-weight: 600; }
small, .small { font-size: .92rem; }
.muted { color: var(--gray); }
.center { text-align: center; }
.center p, .center ul { margin-inline: auto; }
.lede { font-size: clamp(1.12rem, 1.7vw, 1.3rem); line-height: 1.5; max-width: 56ch; color: var(--ink-3); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; color: var(--marigold-deep); margin: 0 0 16px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--marigold); border-radius: 2px; }
.eyebrow.light { color: #f0c15a; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--marigold); padding-bottom: 1px; }
.text-link svg { transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.on-ink-2 { color: var(--on-ink-2); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 860px; }
.section { padding-block: clamp(64px, 8vw, 120px); position: relative; }
.section.tight { padding-block: clamp(40px, 5vw, 72px); }
.section.paper { background: var(--paper); }
.section.ink { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%); color: var(--on-ink); overflow: hidden; }
.section.ink h2, .section.ink h3 { color: #fff; }
.section.ink p { color: var(--on-ink-2); }
.section.ink .lede { color: var(--on-ink); }
.section.ink .eyebrow { color: #f0c15a; }
.section.ink a:not(.btn) { color: #fff; }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.grid { display: grid; gap: 24px; }
.grid.two { grid-template-columns: 1fr; }
.grid.three { grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: repeat(3, 1fr); } }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; gap: 64px; } .split.rev > :first-child { order: 2; } }
.prose h2 { margin: 1.6em 0 .5em; font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.4em 0 .4em; }
hr.rule { border: 0; height: 1px; background: var(--rule); margin: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: .01em; padding: 15px 26px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn.primary { background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(20,33,61,.22); }
.btn.primary:hover { background: var(--ink-2); color: #fff; box-shadow: 0 10px 26px rgba(20,33,61,.3); }
.btn.marigold { background: var(--marigold); color: var(--ink); box-shadow: 0 6px 20px rgba(224,154,0,.35); }
.btn.marigold:hover { background: #f0a800; color: var(--ink); box-shadow: 0 10px 28px rgba(224,154,0,.45); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); }
.section.ink .btn.ghost, .final .btn.ghost, .foot .btn.ghost, .callbar .btn.ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.section.ink .btn.ghost:hover, .final .btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn.sm { padding: 11px 18px; font-size: .85rem; }
.btn.lg { padding: 18px 32px; font-size: 1.02rem; }
.btn.block { display: flex; width: 100%; }
.btn .ico { display: inline-flex; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.cta-row.center { justify-content: center; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 100; background: rgba(244,242,237,.82); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.top.scrolled { background: rgba(255,255,255,.9); border-color: var(--rule); box-shadow: 0 6px 24px rgba(20,33,61,.06); }
.top .bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; transition: height .3s var(--ease); }
.top.scrolled .bar { height: 64px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: auto; height: 46px; transition: height .3s var(--ease); }
.top.scrolled .brand img { height: 40px; }
.nav { display: none; gap: 26px; }
.nav a { font-family: var(--display); font-weight: 600; font-size: .86rem; letter-spacing: .01em; text-decoration: none; padding: 6px 0; position: relative; color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--marigold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.actions { display: flex; align-items: center; gap: 14px; }
.call { display: none; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: .88rem; text-decoration: none; color: var(--ink); }
.call svg { color: var(--marigold-deep); }
.actions .btn.primary { display: none; }
.menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 9px; border: 0; background: transparent; cursor: pointer; border-radius: 8px; }
.menu-btn span:not(.sr) { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1000px) { .nav { display: flex; } .call { display: inline-flex; } .actions .btn.primary { display: inline-flex; } .menu-btn { display: none; } }
@media (min-width: 1000px) and (max-width: 1140px) { .call span { display: none; } }
.drawer { position: fixed; inset: 76px 0 0 0; background: var(--paper); z-index: 99; padding: 24px var(--gutter) 120px; overflow: auto; animation: fade .25s var(--ease); }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { font-family: var(--display); font-weight: 700; font-size: 1.25rem; text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.drawer-cta { display: grid; gap: 12px; margin-top: 28px; }
@keyframes fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- The mark ---------- */
.mark .bar { fill: var(--ink); }
.mark .line { fill: var(--marigold); }
.mark .halo { fill: var(--marigold); opacity: 0; filter: blur(4px); }
.mark.glow .halo { animation: halo 3.2s ease-in-out infinite; }
.mark.glow .line { animation: linePulse 3.2s ease-in-out infinite; }
.mark.reversed .bar { fill: #fff; }
@keyframes halo { 0%, 100% { opacity: .15; } 50% { opacity: .6; } }
@keyframes linePulse { 0%, 100% { fill: #e09a00; } 50% { fill: #ffc040; } }
.mark.hero-mark { width: 72px; height: 72px; margin-bottom: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(28px, 6vw, 72px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 600px at 85% -10%, rgba(224,154,0,.10), transparent 60%); pointer-events: none; }
.hero .inner { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero .inner { grid-template-columns: 1.08fr .92fr; gap: 56px; min-height: 560px; } }
.hero .copy { max-width: 600px; }
.hero .copy > * { opacity: 0; transform: translateY(18px); animation: rise .8s var(--ease) forwards; }
.hero .copy > :nth-child(1) { animation-delay: .05s; }
.hero .copy > :nth-child(2) { animation-delay: .15s; }
.hero .copy > :nth-child(3) { animation-delay: .25s; }
.hero .copy > :nth-child(4) { animation-delay: .35s; }
.hero .copy > :nth-child(5) { animation-delay: .45s; }
.hero .copy > :nth-child(6) { animation-delay: .55s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero .wordmark { font-family: var(--display); font-weight: 900; font-size: .95rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); margin: 0 0 6px; }
.hero .wordmark small { display: block; font-weight: 500; letter-spacing: .5em; font-size: .62rem; color: var(--gray); margin-top: 2px; }
.hero .tag { font-size: 1.05rem; color: var(--gray); margin-bottom: 26px; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { margin-bottom: 30px; }
.hero .art { position: relative; }
.hero .photo { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; max-height: 640px; opacity: 0; animation: fadeIn 1.1s var(--ease) .2s forwards; }
@media (min-width: 900px) { .hero .photo { aspect-ratio: 5 / 6; } }
.hero .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; display: block; transform: scale(1.06); animation: kenburns 18s ease-in-out infinite alternate; }
.hero .photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(20,33,61,.32)); pointer-events: none; }
.hero .photo-note { position: absolute; left: 20px; bottom: 20px; right: 20px; color: #fff; font-family: var(--display); font-weight: 600; font-size: .82rem; letter-spacing: .04em; display: flex; align-items: center; gap: 10px; }
.hero .photo-note::before { content: ""; width: 22px; height: 3px; background: var(--marigold); border-radius: 2px; }
@keyframes kenburns { from { transform: scale(1.06) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1.5%); } }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: clamp(28px, 4vw, 48px) 0 0; }
.stat { padding: 22px 12px; text-align: center; border-left: 1px solid var(--rule); display: flex; flex-direction: column; gap: 4px; }
.stat:first-child { border-left: 0; }
.stat b { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.stat span:last-child { font-family: var(--display); font-weight: 600; font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gray); }
.stats.on-ink { border-color: rgba(255,255,255,.14); }
.stats.on-ink .stat { border-color: rgba(255,255,255,.14); }
.stats.on-ink .stat b { color: #fff; } .stats.on-ink .stat span:last-child { color: var(--on-ink-2); }

/* ---------- Problem / daily life ---------- */
.life { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 24px 0; padding: 0; list-style: none; max-width: 520px; }
@media (min-width: 560px) { .life { grid-template-columns: repeat(3, 1fr); } }
.life li { margin: 0; padding: 14px 16px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); font-family: var(--display); font-weight: 600; font-size: .9rem; display: flex; align-items: center; gap: 10px; }
.life li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--marigold); flex: none; }

/* ---------- Condition grid ---------- */
.cond-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .cond-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cond-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.cond { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 26px 24px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); text-decoration: none; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.cond::before { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 3px; background: var(--marigold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); border-radius: 0 0 3px 3px; }
.cond:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.cond:hover::before { transform: scaleX(1); }
.cond-name { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.cond-short { color: var(--gray); font-size: .98rem; }
.cond-arrow { position: absolute; right: 22px; top: 24px; color: var(--marigold-deep); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease); }
.cond:hover .cond-arrow { opacity: 1; transform: none; }

/* ---------- Approach steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: 1fr; counter-reset: s; max-width: none; position: relative; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { margin: 0; padding: 28px 26px 26px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); position: relative; }
.steps li .n { display: block; font-family: var(--display); font-weight: 800; font-size: .8rem; letter-spacing: .18em; color: var(--marigold); margin-bottom: 18px; }
.steps li h3 { color: #fff; margin-bottom: 8px; }
.steps li p { margin: 0; color: var(--on-ink-2); font-size: 1rem; }
.steps li::after { content: ""; position: absolute; left: 26px; bottom: 0; width: 44px; height: 3px; background: var(--marigold); border-radius: 3px 3px 0 0; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease) .2s; }
.steps li.in::after { transform: scaleX(1); }
.steps.compact li { background: var(--paper); border-color: var(--rule); }
.steps.compact li h3 { color: var(--ink); } .steps.compact li p { color: var(--ink-3); }

/* ---------- First visit ---------- */
.visit-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; max-width: none; }
@media (min-width: 760px) { .visit-steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.visit-steps li { margin: 0; display: flex; gap: 18px; align-items: flex-start; }
.visit-steps .n { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 800; display: grid; place-items: center; font-size: 1.05rem; box-shadow: 0 6px 16px rgba(20,33,61,.2); }
.visit-steps h3 { margin-bottom: 6px; }
.visit-steps p { margin: 0; color: var(--ink-3); }

/* ---------- Offer ---------- */
.offer { display: grid; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--paper); }
@media (min-width: 860px) { .offer { grid-template-columns: 1.05fr .95fr; } }
.offer-head { background: linear-gradient(160deg, var(--ink) 0%, var(--ink-deep) 100%); color: var(--on-ink); padding: clamp(32px, 4vw, 52px); position: relative; overflow: hidden; }
.offer-head::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(224,154,0,.28), transparent 65%); pointer-events: none; }
.offer-head h2 { color: #fff; margin-bottom: 10px; }
.offer-name { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: #fff; margin-bottom: 6px; }
.price { font-family: var(--display); font-weight: 900; font-size: clamp(3.4rem, 7vw, 5.2rem); letter-spacing: -0.04em; line-height: 1; color: #fff; margin: 4px 0 16px; display: flex; align-items: flex-start; }
.price .cur { font-size: .45em; margin-top: .22em; margin-right: 2px; color: var(--marigold); font-weight: 800; }
.offer-copy { color: var(--on-ink-2); margin-bottom: 26px; max-width: 46ch; }
.offer-guarantee { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; color: #fff; font-weight: 600; max-width: 44ch; }
.offer-guarantee svg { color: var(--marigold); flex: none; margin-top: 3px; }
.offer-body { padding: clamp(32px, 4vw, 52px); }
.offer-body h3 { margin-bottom: 16px; }
.checks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; max-width: none; }
.checks li { margin: 0; display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.checks svg { flex: none; margin-top: 3px; color: var(--marigold-deep); background: var(--marigold-soft); border-radius: 50%; padding: 2px; width: 22px; height: 22px; }
.section.ink .checks svg { background: rgba(224,154,0,.18); color: var(--marigold); }

/* ---------- Why ---------- */
.why-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why { padding: 28px 26px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); }
.why .mark { display: block; margin-bottom: 18px; }
.why h3 { margin-bottom: 8px; }
.why p { margin: 0; color: var(--ink-3); font-size: 1rem; }

/* ---------- Doctor ---------- */
.doc { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .doc { grid-template-columns: .8fr 1.2fr; gap: 56px; } }
.doc-photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; background: var(--ink); position: relative; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doc-photo .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.doc-photo .placeholder b { font-family: var(--display); font-weight: 900; font-size: 4rem; letter-spacing: .04em; }
.doc-photo .placeholder span { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-family: var(--display); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-2); }
.doc-stats { display: flex; gap: 28px; flex-wrap: wrap; margin: 22px 0 26px; padding: 0; list-style: none; }
.doc-stats li { margin: 0; display: flex; flex-direction: column; }
.doc-stats b { font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1; }
.doc-stats span { font-size: .85rem; color: var(--gray); text-transform: uppercase; letter-spacing: .12em; font-family: var(--display); font-weight: 600; margin-top: 4px; }

/* ---------- Reviews ---------- */
.quotes { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { margin: 0; padding: 28px 26px 24px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.quote .stars { display: flex; gap: 2px; color: var(--marigold); margin: 0 0 14px; }
.quote p { font-size: 1.05rem; line-height: 1.5; margin: 0 0 18px; flex: 1; }
.quote cite { font-style: normal; font-family: var(--display); font-weight: 700; font-size: .92rem; display: flex; flex-direction: column; gap: 2px; }
.quote cite small { font-family: var(--body); font-weight: 400; color: var(--gray); font-size: .82rem; }
.reviews .center { margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; transition: border-color .2s, box-shadow .3s; }
.faq details[open] { border-color: var(--rule-2); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-family: var(--display); font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--rule-2); position: relative; transition: transform .35s var(--ease), background .2s, border-color .2s; }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink); width: 11px; height: 1.6px; transform: translate(-50%, -50%); }
.faq .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus { transform: rotate(45deg); background: var(--marigold-soft); border-color: var(--marigold); }
.faq .ans { overflow: hidden; transition: height .35s var(--ease); }
.faq .ans > div { padding: 0 22px 20px; color: var(--ink-3); }
.faq .ans p:last-child { margin-bottom: 0; }

/* ---------- Final CTA ---------- */
.final .mark { display: block; margin: 0 auto 22px; }
.final h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 14px; }
.final .lede { margin-inline: auto; margin-bottom: 26px; }
.final .small { margin-top: 26px; }

/* ---------- Find us ---------- */
.find { display: grid; gap: 28px; }
@media (min-width: 860px) { .find { grid-template-columns: .9fr 1.1fr; gap: 40px; } }
.find h3 { display: flex; align-items: center; gap: 8px; margin: 18px 0 8px; }
.find h3:first-child { margin-top: 0; }
.find h3 svg { color: var(--marigold-deep); }
.find-map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 320px; background: var(--bone-2); }
.find-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.hours { list-style: none; padding: 0; margin: 0; max-width: 360px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.hours li:last-child { border-bottom: 0; }
.hours li span:first-child { font-weight: 600; }
.foot .hours li { border-color: rgba(255,255,255,.12); }

/* ---------- Schedule form ---------- */
.sched { display: grid; gap: 32px; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(28px, 4vw, 48px); scroll-margin-top: 90px; }
@media (min-width: 900px) { .sched { grid-template-columns: .9fr 1.1fr; gap: 48px; } }
.sched h2 { margin-bottom: 12px; }
.sched .hours { margin: 16px 0; max-width: 320px; }
.lead { display: grid; gap: 14px; }
.lead label { display: grid; gap: 6px; }
.lead label > span { font-family: var(--display); font-weight: 600; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--gray); }
.lead input, .lead select { width: 100%; font: inherit; font-size: 1.02rem; padding: 14px 16px; border: 1.5px solid var(--rule-2); border-radius: 10px; background: var(--bone); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none; }
.lead select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2314213d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.lead input:focus, .lead select:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(20,33,61,.08); }
.lead .hp { position: absolute; left: -9999px; }
.lead button { margin-top: 6px; }
.lead .msg { margin: 0; min-height: 1.4em; }
.lead .msg.err { color: #9b2c2c; font-weight: 600; }
.lead .msg.ok { background: var(--marigold-soft); border-left: 4px solid var(--marigold); padding: 18px 20px; border-radius: 8px; font-size: 1.05rem; }
.lead .consent { margin: 0; }

/* ---------- Page head (inner pages) ---------- */
.page-head { padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); }
.page-head h1 { margin: 10px 0 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 8px; font-size: .88rem; color: var(--gray); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule-2); }
.crumbs a { color: var(--gray); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Cards / misc ---------- */
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 28px 26px; }
.card.ink { background: var(--ink); color: var(--on-ink); border-color: transparent; }
.card.ink h3 { color: #fff; } .card.ink p { color: var(--on-ink-2); }
.card.ink .btn.ghost { color: #fff; border-color: rgba(255,255,255,.35); } .card.ink .btn.ghost:hover { border-color: #fff; }
.card.ink .mark .bar { fill: #fff; }
.card.sticky { position: sticky; top: 96px; }
.card h3 { margin-bottom: 10px; }
.card .btn { margin-top: 8px; }
.callout { border-left: 4px solid var(--marigold); background: var(--marigold-soft); padding: 18px 22px; border-radius: 0 var(--r) var(--r) 0; margin: 24px 0; }
.callout p:last-child { margin: 0; }
.callout.warn { border-color: #b23a3a; background: #fbe9e9; }
.fig { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.fig img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fig.tall { aspect-ratio: 4 / 5; }
.fig.wide { aspect-ratio: 16 / 10; }
.fig figcaption { padding: 12px 16px; font-size: .88rem; color: var(--gray); background: var(--paper); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.room-strip { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .room-strip { grid-template-columns: repeat(4, 1fr); } }
.room-strip .fig { aspect-ratio: 1; box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; font-size: 1rem; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare th { font-family: var(--display); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gray); background: var(--bone); }
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 600; white-space: nowrap; }
.compare td:last-child { color: var(--ink-3); }
.related { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 12px 0 0; max-width: none; }
.related li { margin: 0; }
.related a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--rule-2); border-radius: 999px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: .86rem; background: var(--paper); transition: border-color .2s, transform .25s var(--ease); }
.related a:hover { border-color: var(--ink); transform: translateY(-2px); }
.toc { display: grid; gap: 8px; }
.toc a { text-decoration: none; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--rule); background: var(--paper); font-weight: 600; font-size: .95rem; transition: border-color .2s; }
.toc a:hover { border-color: var(--ink); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.foot { background: var(--ink-deep); color: var(--on-ink-2); padding: clamp(48px, 6vw, 80px) 0 120px; }
.foot a { color: var(--on-ink); text-decoration: none; }
.foot a:hover { color: #f0c15a; }
.foot h4 { color: #f0c15a; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 0 0 8px; font-size: .98rem; }
.foot-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 48px; } }
.foot-brand .brand.stacked img { height: auto; width: 200px; }
.foot-tag { margin: 18px 0 14px; color: var(--on-ink); font-family: var(--display); font-weight: 600; font-size: .95rem; }
.foot-nap { font-size: .98rem; line-height: 1.55; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 28px; font-size: .9rem; }
.foot-legal p { max-width: none; margin-bottom: 8px; }
.foot-legal .small { color: var(--gray-2); }
.foot.lp { padding-bottom: 120px; }
.foot-lp { text-align: center; }
.foot-lp .brand img { height: 44px; margin-bottom: 18px; }
.foot-lp p { max-width: none; margin-bottom: 8px; font-size: .95rem; }
@media (min-width: 1000px) { .foot, .foot.lp { padding-bottom: clamp(48px, 6vw, 80px); } }

/* ---------- Sticky call bar (mobile) ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: .8fr 1.2fr; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(14,23,41,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translateY(110%); transition: transform .35s var(--ease); }
.callbar.show { transform: none; }
.callbar .btn { padding: 14px 12px; font-size: .9rem; }
.callbar .btn.primary { background: var(--marigold); color: var(--ink); box-shadow: none; }
@media (min-width: 1000px) { .callbar { display: none; } }

/* ---------- Landing pages ---------- */
.landing .top .actions .btn.primary { display: inline-flex; }
.landing .top .call { display: inline-flex; }
@media (max-width: 640px) { .landing .top .call span { display: none; } .landing .top .actions .btn.primary { display: none; } }
.lp-hero { padding: clamp(32px, 6vw, 72px) 0 clamp(36px, 5vw, 64px); position: relative; overflow: hidden; }
.lp-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 90% 0%, rgba(224,154,0,.12), transparent 60%); pointer-events: none; }
.lp-hero .inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .lp-hero .inner { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.lp-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); margin-bottom: 18px; }
.lp-hero .copy > * { opacity: 0; transform: translateY(18px); animation: rise .8s var(--ease) forwards; }
.lp-hero .copy > :nth-child(1) { animation-delay: .05s; } .lp-hero .copy > :nth-child(2) { animation-delay: .15s; } .lp-hero .copy > :nth-child(3) { animation-delay: .25s; } .lp-hero .copy > :nth-child(4) { animation-delay: .35s; } .lp-hero .copy > :nth-child(5) { animation-delay: .45s; } .lp-hero .copy > :nth-child(6) { animation-delay: .55s; }
.lp-hero .checks { margin: 22px 0 28px; }
.lp-hero .checks li { font-weight: 500; }
.lp-hero .trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; padding: 0; list-style: none; max-width: none; }
.lp-hero .trust li { margin: 0; font-family: var(--display); font-weight: 700; font-size: .8rem; letter-spacing: .04em; color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; }
.lp-hero .trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--marigold); }
.lp-hero .photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; opacity: 0; animation: fadeIn 1s var(--ease) .2s forwards; position: relative; }
.lp-hero .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; display: block; }
.lp-hero .photo .badge { position: absolute; left: 18px; bottom: 18px; background: rgba(255,255,255,.94); color: var(--ink); border-radius: 12px; padding: 12px 16px; font-family: var(--display); font-weight: 800; font-size: .95rem; line-height: 1.15; box-shadow: var(--shadow); }
.lp-hero .photo .badge small { display: block; font-family: var(--body); font-weight: 500; color: var(--gray); font-size: .8rem; margin-top: 2px; }
.familiar { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: none; }
@media (min-width: 720px) { .familiar { grid-template-columns: repeat(2, 1fr); } }
.familiar li { margin: 0; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); font-weight: 500; }
.familiar li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--marigold); margin-top: 8px; }
.learn { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 720px) { .learn { grid-template-columns: repeat(2, 1fr); } }
.learn div { padding: 22px 22px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); }
.learn h3 { font-size: 1.05rem; margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.learn h3 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8rem; display: grid; place-items: center; flex: none; }
.learn p { margin: 0; color: var(--ink-3); font-size: 1rem; }
.lp .sched { scroll-margin-top: 80px; }

/* ---------- Print ---------- */
@media print { .top, .callbar, .foot .btn, .drawer { display: none !important; } body { background: #fff; } [data-reveal] { opacity: 1; transform: none; } }

/* ---------- Mechanism + video ---------- */
.mech .prose h3 { margin-top: 1.6em; color: var(--marigold-deep); font-family: var(--display); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; }
.mech .prose h3 + p { font-size: 1.12rem; font-weight: 500; }
.video-wrap { margin: 0; }
.video-box { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.mech-video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #cfd6de; }
.video-corner { position: absolute; right: 0; bottom: 0; width: 28%; height: 16%; min-height: 44px; background: var(--ink); border-radius: var(--r-lg) 0 0 0; display: grid; place-items: center; }
.video-wrap figcaption { padding: 12px 4px 0; font-size: .9rem; color: var(--gray); }

/* ---------- Condition pages (shared template) ---------- */
.lp-hero .kicker { font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); margin: -6px 0 14px; max-width: 30ch; }
.cond-page .lp-hero .crumbs { margin-bottom: 14px; }
.cond-page .lp-hero .crumbs ol { margin: 0; }
