/* Hallmark · shape: Clinical clean clinic (archetype C) · genre: clinical · theme: custom · job: book · idea: "Prime's logo is three stacked chevrons, a tree growing upward; the chevrons stack into place the way a spine comes back into alignment" · vibe: "warm, family, specific, confident, Denver Tech Center"
 * paper: #ffffff · accent: #fab623 (the clinic's gold) · display: Red Hat Display (their site face) · body: Red Hat Text · hero: split, headline left, their own stretching video framed right with the gold chevrons behind · nav: white bar with their grey logo · footer: charcoal, the logo in white, four menus, giant "Prime" · imagery: the Pennetti family, the doctors' portraits, their video and YouTube film; three AI stand-ins for services, disclosed · signature: chevrons stacking upward
 * axes: light/geometric/warm · 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, the clinic has no service photos, so three disclosed AI stand-ins carry the care cards */
:root {
  --c-paper: #fcfdfe; --c-sky: #e4edf3; --c-sky-2: #d3e0e9; --c-rule: #d5dde3;
  --c-ink: #1e1f23; --c-ink-2: #3a3c42; --c-muted: #565a62; --c-logo: #6b6c70; --c-tone: #5c5d63; --c-ghost: #75767b;
  --c-char: #222326; --c-char-2: #2d2f33; --c-on-dark: #fbfcfd; --c-on-dark-2: #c9ccd2;
  --c-gold: #fab623; --c-gold-deep: #e09a00; --c-gold-ink: #7a5000; --c-open: #2f9e5b;
  --f-display: "Red Hat Display", ui-sans-serif, system-ui, sans-serif; --f-body: "Red Hat Text", ui-sans-serif, system-ui, sans-serif;
  --wrap: 1280px; --gut: 48px; --gap: 32px; --sec: 128px;
  --r-photo: 24px; --r-card: 20px; --pill: 999px;
  --e-out: cubic-bezier(.16, 1, .3, 1); --d-s: 220ms; --d-l: 480ms;
  --shade: color-mix(in oklab, var(--c-char) 18%, 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, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
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-gold-deep); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sec); }
.tint { background: var(--c-sky); }
.dark { background: var(--c-char); color: var(--c-on-dark); }
.tone { font-weight: 500; color: var(--c-tone); }
.dark .tone { color: var(--c-gold); }
.h2 { font-size: clamp(2.5rem, 3vw + 1.25rem, 4rem); }
.lede { font-size: 1.1875rem; color: var(--c-muted); max-width: 52ch; }
.dark .lede { color: var(--c-on-dark-2); }
.skip { position: absolute; left: 16px; top: -80px; z-index: 900; background: var(--c-gold); color: var(--c-ink); 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), transform 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--gold { background: var(--c-gold); color: var(--c-ink); }
.btn--gold:hover { background: var(--c-gold-deep); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn--ink { background: var(--c-char); color: var(--c-on-dark); }
.btn--ink:hover { background: var(--c-char-2); }
.btn--lg { min-height: 60px; padding: 16px 32px; font-size: 1.0625rem; }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--c-gold); }
.link--arrow { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; margin-top: 32px; }
.link--arrow svg { width: 20px; height: 20px; color: var(--c-gold-ink); transition: transform var(--d-s) var(--e-out); }
.link--arrow:hover svg { transform: translateX(4px); }
.link--ink { text-decoration-color: var(--c-ink); }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--c-paper); transition: box-shadow var(--d-s) var(--e-out); }
.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: 132px; }
.hdr nav { margin-left: auto; }
.hdr nav ul { display: flex; gap: 32px; }
.hdr nav a { font-weight: 500; text-decoration: none; color: var(--c-ink-2); transition: color var(--d-s); }
.hdr nav a:hover { color: var(--c-ink); text-decoration: underline; text-decoration-color: var(--c-gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.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: var(--pill); background: var(--c-sky); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 8px; }
.menu-btn span { width: 20px; height: 2px; background: var(--c-ink); transition: transform var(--d-s) var(--e-out); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { display: none; }

/* hero */
.hero { padding-block: 48px 96px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; }
.h1 { font-size: clamp(3rem, 4.6vw + 1rem, 5.5rem); line-height: 0.98; }
.h1 .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.h1 .ln > span { display: block; }
.hero__lede { margin-top: 32px; font-size: 1.25rem; color: var(--c-muted); max-width: 40ch; }
.hero__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 40px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--c-rule); color: var(--c-muted); font-size: 0.9375rem; }
.hero__proof li { display: flex; align-items: center; gap: 12px; }
.hero__proof b { color: var(--c-ink); }
.stars { display: inline-flex; gap: 2px; color: var(--c-gold-deep); }
.stars svg { width: 16px; height: 16px; }
.hero__media { position: relative; padding: 32px 0 32px 48px; }
.hero__frame { position: relative; z-index: 1; border-radius: var(--r-photo); overflow: hidden; aspect-ratio: 5 / 6; background: var(--c-sky); box-shadow: 0 32px 64px -24px var(--shade); }
.hero__frame video { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.12) saturate(1.1); }
.chev { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.chev--hero { position: absolute; z-index: 0; left: -8px; top: -12px; width: 260px; stroke: var(--c-gold); stroke-width: 22; }
.open { position: absolute; z-index: 2; left: 0; bottom: 64px; display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: var(--r-card); background: var(--c-paper); box-shadow: 0 16px 40px -12px var(--shade); font-size: 0.9375rem; max-width: 280px; }
.open__pip { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--c-open); box-shadow: 0 0 0 4px color-mix(in oklab, var(--c-open) 20%, transparent); }
.open.is-closed .open__pip { background: var(--c-logo); box-shadow: 0 0 0 4px var(--c-sky); }

/* gold band */
.band { background: var(--c-gold); color: var(--c-ink); }
.band__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 64px; }
.band__big { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.75rem, 1.6vw + 1rem, 2.5rem); line-height: 1.12; letter-spacing: -0.01em; }
.band .tone { color: var(--c-ink); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.facts li { display: flex; flex-direction: column; gap: 4px; padding-left: 20px; border-left: 2px solid color-mix(in oklab, var(--c-ink) 30%, transparent); }
.facts b { font-family: var(--f-display); font-weight: 800; font-size: 2.5rem; line-height: 1; }
.facts li > span { font-size: 0.9375rem; line-height: 1.4; }

/* story */
.story__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.story__img, .approach__img { border-radius: var(--r-photo); overflow: hidden; }
.story__img img, .approach__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story__copy p { margin-top: 24px; color: var(--c-muted); max-width: 48ch; }
.story__copy p:first-of-type { margin-top: 32px; font-size: 1.1875rem; color: var(--c-ink-2); }

/* approach */
.approach__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 80px; align-items: center; }
.approach .lede { margin-top: 24px; }
.checks { margin-top: 40px; display: grid; gap: 16px; }
.checks li { display: flex; gap: 16px; align-items: flex-start; font-weight: 500; }
.checks svg { flex: none; width: 28px; height: 28px; padding: 4px; border-radius: 50%; background: var(--c-gold); color: var(--c-ink); }

/* care */
.head { max-width: 760px; margin-bottom: 64px; }
.head .lede { margin-top: 24px; }
.head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; flex-wrap: wrap; }
.head--split .lede { margin-top: 0; max-width: 44ch; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.card figure { border-radius: var(--r-photo); overflow: hidden; aspect-ratio: 4 / 3; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--e-out); }
.card:hover img { transform: scale(1.04); }
.card h3 { margin-top: 24px; font-size: 1.5rem; }
.card p { margin-top: 12px; color: var(--c-muted); }
.also { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--c-rule); }
.also li { padding: 8px 16px; border-radius: var(--pill); background: var(--c-sky); font-weight: 500; font-size: 0.9375rem; }

/* steps */
.steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); counter-reset: s; }
.steps__list li { padding: 40px 32px; border-radius: var(--r-card); background: var(--c-char-2); }
.num { display: block; font-variant-numeric: tabular-nums; font-family: var(--f-display); font-weight: 800; font-size: 3.5rem; line-height: 1; color: var(--c-gold); }
.steps__list h3 { margin-top: 32px; font-size: 1.5rem; }
.steps__list p { margin-top: 12px; color: var(--c-on-dark-2); }

/* doctors */
.docs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); }
.doc { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; padding: 32px; border-radius: var(--r-card); border: 1px solid var(--c-rule); }
.doc img { width: 200px; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.doc h3 { font-size: 1.5rem; }
.doc p { margin-top: 12px; color: var(--c-muted); }
.doc .fun { margin-top: 16px; color: var(--c-gold-ink); font-weight: 600; font-size: 0.9375rem; }
.team { display: flex; align-items: center; gap: 24px; margin-top: 32px; padding: 24px 32px; border-radius: var(--r-card); background: var(--c-sky); }
.team img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }

/* watch */
.watch__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); 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-char); }
.film__btn { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; cursor: pointer; background: none; }
.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-gold); color: var(--c-ink); 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 */
.rating { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.quotes { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--gap); }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 48px; border-radius: var(--r-card); background: var(--c-sky); }
.quote--big { background: var(--c-char); color: var(--c-on-dark); }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--f-display); font-weight: 500; font-size: 1.375rem; line-height: 1.4; }
.quote--big p { font-size: 1.75rem; }
.quote .who { font-family: var(--f-body); font-size: 1rem; font-weight: 600; color: var(--c-gold-ink); }
.quote--big .who { color: var(--c-gold); }

/* 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-sky-2); }
.qa details:first-child { border-top: 1px solid var(--c-sky-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-weight: 700; font-size: 1.375rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--c-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231e1f23' 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, 1.3fr); gap: 80px; align-items: stretch; }
.addr { margin-top: 32px; font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; line-height: 1.3; }
.near { margin-top: 8px; color: var(--c-muted); }
.hours { margin-top: 32px; width: 100%; max-width: 400px; border-collapse: collapse; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid var(--c-rule); text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--c-muted); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--c-ink); }
.visit__map { border-radius: var(--r-photo); overflow: hidden; min-height: 480px; background: var(--c-sky); }
.visit__map iframe { width: 100%; height: 100%; min-height: 480px; border: 0; }

/* final */
.final { position: relative; overflow: hidden; background: var(--c-gold); color: var(--c-ink); padding-block: 128px; }
.chev--final { position: absolute; right: -48px; top: 50%; translate: 0 -50%; width: 520px; stroke: color-mix(in oklab, var(--c-paper) 45%, var(--c-gold)); stroke-width: 18; }
.final__in { position: relative; }
.final__title { font-size: clamp(2.75rem, 4vw + 1rem, 5rem); max-width: 14ch; }
.final .tone { color: var(--c-ink); }
.final__in > p { margin-top: 24px; font-size: 1.1875rem; max-width: 44ch; }
.final__acts { display: flex; flex-wrap: wrap; 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; }
.ftr__brand img { width: 168px; }
.ftr__brand p { margin-top: 24px; max-width: 32ch; 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-gold); 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__big { margin-top: 64px; font-family: var(--f-display); font-weight: 800; font-size: clamp(6rem, 22vw, 20rem); line-height: 0.8; letter-spacing: -0.04em; color: var(--c-ghost); }
.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-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: 700; font-size: 1.75rem; text-decoration: none; }
  .hero__grid, .story__grid, .approach__grid, .watch__grid, .faq__grid, .visit__grid, .band__in { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero__media { max-width: 560px; }
  .docs, .quotes { grid-template-columns: 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; }
  .hdr__logo img { width: 112px; }
  .hdr__act .btn { display: none; }
  .menu { inset: 72px 0 0; }
  .hero { padding-block: 24px 72px; }
  .hero__media { padding: 24px 0 24px 24px; }
  .chev--hero { width: 160px; }
  .open { bottom: 40px; }
  .cards, .steps__list, .facts { grid-template-columns: minmax(0, 1fr); }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc img { width: 160px; }
  .quote { padding: 32px 24px; }
  .quote--big p { font-size: 1.375rem; }
  .chev--final { width: 300px; right: -96px; opacity: 0.6; }
  .ftr__menus { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}
