/* Pure Primary Wellness & Aesthetics, v3 (pure.voxoralabs.com)
   The palette is sampled from the practice's own room (assets/gen/g1.png): plaster, linen,
   the dusty-rose rug, brass, espresso shadow. Chroma lives only in the butterfly logo.
   Type: Petrona (display) + Hanken Grotesk (text). Chosen through impeccable's procedure;
   neither is on the reflex list. */

:root {
  --cream: oklch(0.965 0.016 78);
  --linen: oklch(0.935 0.022 76);
  --plaster: oklch(0.885 0.030 72);
  --rose: oklch(0.870 0.038 42);
  --rose-ink: oklch(0.400 0.060 45);
  --taupe: oklch(0.560 0.050 68);
  --brass: oklch(0.720 0.100 80);
  --ink: oklch(0.270 0.035 60);
  --ink-2: oklch(0.430 0.038 62);
  --night: oklch(0.210 0.028 60);
  --night-2: oklch(0.265 0.030 60);
  --on-night: oklch(0.950 0.018 78);
  --on-night-2: oklch(0.780 0.030 72);
  --hair: oklch(0.820 0.028 72);
  --hair-2: oklch(0.760 0.032 72);

  --display: "Petrona", Georgia, "Times New Roman", serif;
  --text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gut: 20px;
  --wide: 1180px;
  --narrow: 820px;

  /* the phone gets its own three steps (tight / run / air): a clamp() is a constant at 375 */
  --tight: 44px;
  --run: 72px;
  --air: 116px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 900px) {
  :root { --gut: 48px; --tight: 80px; --run: 120px; --air: 168px; }
}
@media (min-width: 1300px) {
  :root { --gut: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--hair-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; line-height: 1.08; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: 40px; }
h2 { font-size: 32px; }
h3 { font-size: 22px; font-weight: 400; }
p { margin: 0; }
.lede { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.small { font-size: 14px; color: var(--ink-2); }
.wrap { width: min(100% - 2 * var(--gut), var(--wide)); margin-inline: auto; }
.wrap-n { width: min(100% - 2 * var(--gut), var(--narrow)); margin-inline: auto; }
.i { font-family: var(--display); font-style: italic; font-weight: 400; }
/* the phone gets its own head scale: three sizes so no two neighbours read the same */
.h-lg { font-size: 36px; }
.h-md { font-size: 29px; }
.h-sm { font-size: 24px; }
@media (min-width: 900px) {
  h1 { font-size: 72px; }
  h2 { font-size: 44px; }
  h3 { font-size: 24px; }
  .lede { font-size: 19px; }
  .h-lg { font-size: 48px; }
  .h-md { font-size: 38px; }
  .h-sm { font-size: 30px; }
}
.stance { display: grid; gap: 18px; max-width: 38em; }
.stance p { padding-top: 16px; border-top: 1px solid var(--hair-2); color: var(--ink-2); font-size: 17px; }
.stance p b { color: var(--ink); font-weight: 500; }

/* ---------- header: a quiet sticky bar; the logo is the wordmark, small, top-left ---------- */
.hd { position: sticky; top: 0; z-index: 20; background: oklch(0.965 0.016 78 / 0.92); border-bottom: 1px solid oklch(0.82 0.028 72 / 0.5); }
.hd .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.hd .mark { display: block; height: 40px; width: auto; }
.hd .mark img { height: 40px; width: auto; }
.nav { display: none; gap: 28px; align-items: center; font-size: 15px; }
.nav a { text-decoration: none; padding: 10px 0; color: var(--ink-2); }
.nav a[aria-current="page"], .nav a:hover { color: var(--ink); }
.hd .call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; font-size: 14px; letter-spacing: 0.04em; transition: background-color 200ms var(--ease), color 200ms var(--ease), transform 160ms var(--ease-out); }
.hd .call:hover { background: var(--ink); color: var(--cream); }
.hd .call:active { transform: scale(0.97); }
.hd .call svg { width: 15px; height: 15px; }
.burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer; padding: 0; }
.burger svg { width: 22px; height: 22px; }
@media (min-width: 900px) { .nav { display: flex; } .burger { display: none; } .hd .call span { display: inline; } }
/* the phone menu: a details element, so it works with no JavaScript at all */
.menu { position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .burger .open-i { display: none; }
.menu:not([open]) .burger .close-i { display: none; }
.menu-panel { position: absolute; right: 0; top: 56px; width: min(92vw, 360px); background: var(--cream); border: 1px solid var(--hair); box-shadow: 0 24px 60px oklch(0.27 0.035 60 / 0.16); padding: 10px 8px; z-index: 30; }
.menu-panel a { display: block; padding: 14px 16px; text-decoration: none; font-family: var(--display); font-size: 24px; line-height: 1.2; border-bottom: 1px solid var(--hair); }
.menu-panel a:last-of-type { border-bottom: 0; }
.menu-panel a[aria-current="page"] { color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .menu-panel { transform-origin: top right; transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out); }
  .menu[open] .menu-panel { animation: pop 180ms var(--ease-out); }
  @keyframes pop { from { opacity: 0; transform: scale(0.96) translateY(-4px); } }
}
@media (min-width: 900px) { .menu { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; text-decoration: none; font-size: 15px; letter-spacing: 0.02em; font-weight: 500; border: 1px solid var(--ink); background: var(--ink); color: var(--cream); transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 160ms var(--ease-out); }
.btn:hover { background: var(--night-2); border-color: var(--night-2); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: oklch(0.27 0.035 60 / 0.06); }
.btn.light { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.btn.light:hover { background: oklch(1 0 0); border-color: oklch(1 0 0); }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; min-height: 44px; }
.arrow-link svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- hero: the picture is behind the words, every page ---------- */
.hero { position: relative; isolation: isolate; color: var(--ink); background: var(--plaster); overflow: hidden; }
.hero .plate { position: absolute; inset: 0; z-index: -2; }
.hero .plate img, .hero .plate video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .plate video { opacity: 0; transition: opacity 900ms var(--ease); }
.hero .plate video.on { opacity: 1; }
.hero .veil { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-home { min-height: 100svh; display: grid; align-items: end; }
.hero-home .plate img, .hero-home .plate video { object-position: 60% 30%; }
.hero-home .veil { background: linear-gradient(180deg, oklch(0.965 0.016 78 / 0) 0%, oklch(0.965 0.016 78 / 0) 34%, oklch(0.965 0.016 78 / 0.66) 62%, oklch(0.965 0.016 78 / 0.94) 100%); }
.hwrap { position: relative; width: min(100% - 2 * var(--gut), var(--wide)); margin-inline: auto; padding: 200px 0 40px; }
.hero-home .kicker-line { display: none; }
.hero-home h1 { font-size: 44px; max-width: 12ch; }
.hero-home .lede { margin-top: 18px; color: var(--ink); }
.hero-home .ctas { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-top: 28px; }
.trust { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 14px; color: var(--ink-2); }
.trust .stars { display: inline-flex; gap: 2px; color: var(--brass); }
.trust .stars svg { width: 14px; height: 14px; }
@media (min-width: 900px) {
  .hero-home { min-height: min(100svh, 900px); align-items: center; }
  .hero-home .plate img, .hero-home .plate video { object-position: 50% 50%; }
  .hero-home .veil { background: radial-gradient(60% 55% at 50% 48%, oklch(0.965 0.016 78 / 0.55) 0%, oklch(0.965 0.016 78 / 0.3) 45%, oklch(0.965 0.016 78 / 0) 100%), linear-gradient(180deg, oklch(0.965 0.016 78 / 0) 70%, oklch(0.965 0.016 78 / 0.9) 100%); }
  .hwrap { padding: 160px 0 120px; text-align: center; display: grid; justify-items: center; }
  .hero-home h1 { font-size: 78px; max-width: none; }
  .hero-home .lede { margin-top: 22px; max-width: 30em; }
  .hero-home .ctas { justify-content: center; margin-top: 34px; }
  .trust { justify-content: center; }
}
/* inner pages: shorter, the same rule. Each plate's quiet area is different, so each gets its own crop, phone first. */
.hero-wel .plate img, .hero-wel .plate video { object-position: 62% 50%; }
.hero-aes .plate img, .hero-aes .plate video { object-position: 58% 50%; }
.hero-pep .plate img, .hero-pep .plate video { object-position: 60% 50%; }
.hero-team .plate img, .hero-team .plate video { object-position: 70% 50%; }
@media (min-width: 900px) { .hero-aes .plate img, .hero-aes .plate video { object-position: 35% 50%; } }
/* inner pages: shorter, the same rule */
.hero-in { min-height: 62svh; display: grid; align-items: end; }
.hero-in .veil { background: linear-gradient(180deg, oklch(0.965 0.016 78 / 0) 0%, oklch(0.965 0.016 78 / 0.15) 40%, oklch(0.965 0.016 78 / 0.92) 100%); }
.hero-in .hwrap { padding: 160px 0 36px; }
.hero-in h1 { font-size: 40px; max-width: 16ch; }
.hero-in .lede { margin-top: 16px; color: var(--ink); }
@media (min-width: 900px) {
  .hero-in { min-height: 66svh; }
  .hero-in .hwrap { padding: 180px 0 72px; text-align: left; justify-items: start; display: block; }
  .hero-in h1 { font-size: 64px; max-width: 18ch; }
}

/* ---------- section grounds and rhythm (roles: EVENT / CONDENSE / AIR) ---------- */
section { position: relative; }
.g-cream { background: var(--cream); }
.g-linen { background: var(--linen); }
.g-rose { background: var(--rose); color: var(--ink); }
.g-night { background: var(--night); color: var(--on-night); }
.pad-tight { padding-block: var(--tight); }
.pad-run { padding-block: var(--run); }
.pad-air { padding-block: var(--air); }
.hairline { border-top: 1px solid var(--hair); }

/* doors: two hairline columns (Daily Hero #02) */
.doors { display: grid; gap: 0; }
.door { padding: 28px 0; border-top: 1px solid var(--hair-2); text-decoration: none; display: grid; gap: 10px; }
.door:last-child { border-bottom: 1px solid var(--hair-2); }
.door h2 { font-size: 30px; }
.door p { color: var(--ink-2); max-width: 36em; }
.door .arrow-link { color: var(--ink); margin-top: 4px; }
@media (min-width: 900px) {
  .doors { grid-template-columns: 1fr 1px 1fr; gap: 0 56px; }
  .door { padding: 8px 0 0; border: 0; }
  .door:last-child { border: 0; }
  .doors .vr { background: var(--hair-2); width: 1px; align-self: stretch; }
  .door h2 { font-size: 38px; }
}

/* physician: the arch (Daily Hero #37 Solace) */
.phys { display: grid; gap: 36px; align-items: center; }
.arch { width: min(78%, 340px); aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--plaster); justify-self: center; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.phys h2 { max-width: 14ch; }
.phys .lede { margin-top: 18px; }
.cred { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.cred li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; }
.cred svg { width: 18px; height: 18px; color: var(--brass); margin-top: 3px; }
.cred b { color: var(--ink); font-weight: 500; }
@media (min-width: 900px) {
  .phys { grid-template-columns: 5fr 7fr; gap: 80px; }
  .arch { width: 100%; max-width: 420px; justify-self: start; }
}

/* room band: photograph on a light neutral, one caption (Daily Hero #35) */
.roomband figure { margin: 0; }
.roomband img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.roomband figcaption { padding: 14px 0 0; font-size: 14px; color: var(--ink-2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (min-width: 900px) { .roomband img { aspect-ratio: 21 / 9; } }

/* services rows: hairline rows with a watermark numeral (voxoralabs.com) */
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { position: relative; display: grid; gap: 4px; padding: 18px 0 18px 44px; border-top: 1px solid var(--hair); }
.rows li:last-child { border-bottom: 1px solid var(--hair); }
.rows .n { position: absolute; left: 0; top: 14px; font-family: var(--display); font-size: 26px; line-height: 1; color: var(--hair-2); font-weight: 300; }
.rows b { font-weight: 500; font-size: 17px; }
.rows span { color: var(--ink-2); font-size: 15px; }
.svc-head { display: grid; gap: 14px; margin-bottom: 30px; }
.svc-cols { display: grid; gap: 40px; }
.svc-cols h3 { font-size: 22px; margin-bottom: 10px; }
@media (min-width: 900px) {
  .svc-cols { grid-template-columns: 1fr 1fr; gap: 64px; }
  .rows li { padding: 20px 0 20px 64px; }
  .rows .n { font-size: 34px; top: 16px; }
  .svc-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; margin-bottom: 40px; }
}

/* membership ledger on the rose plaster band */
.ledger { display: grid; gap: 0; border-top: 1px solid oklch(0.40 0.06 45 / 0.35); }
.ledger .tier { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 12px; padding: 22px 0; border-bottom: 1px solid oklch(0.40 0.06 45 / 0.35); }
.ledger .tier h3 { font-size: 22px; font-weight: 400; }
.ledger .tier p { grid-column: 1; color: var(--rose-ink); font-size: 15px; }
.price { font-family: var(--display); font-size: 40px; font-weight: 300; line-height: 1; letter-spacing: -0.02em; }
.price small { font-family: var(--text); font-size: 14px; letter-spacing: 0; color: var(--rose-ink); margin-left: 6px; }
.incl { list-style: none; margin: 28px 0 0; padding: 0; columns: 1; display: grid; gap: 10px; font-size: 15px; color: var(--ink); }
.incl li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start; }
.incl svg { width: 16px; height: 16px; margin-top: 4px; color: var(--rose-ink); }
.fine { margin-top: 26px; font-size: 14px; color: var(--rose-ink); }
.mem { display: grid; gap: 36px; }
@media (min-width: 900px) {
  .mem { grid-template-columns: 6fr 6fr; gap: 96px; align-items: start; }
  .price { font-size: 52px; }
  .ledger .tier { padding: 28px 0; }
}

/* reviews: two large, two quiet, a lead-in sentence (Janney Roofing) */
.reviews { display: grid; gap: 40px; }
.quote { margin: 0; display: grid; gap: 14px; }
.quote p { font-family: var(--display); font-size: 24px; line-height: 1.32; font-weight: 300; letter-spacing: -0.005em; }
.quote.q-small p { font-size: 19px; color: var(--ink-2); }
.quote footer { font-size: 14px; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.quote footer .stars { color: var(--brass); display: inline-flex; gap: 2px; }
.quote footer .stars svg { width: 12px; height: 12px; }
.rev-lead { max-width: 30em; }
.rev-lead .small { margin-top: 12px; }
@media (min-width: 900px) {
  .reviews { grid-template-columns: 4fr 8fr; gap: 96px; }
  .quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 56px; }
  .quote.q-big { grid-column: span 2; }
  .quote.q-big p { font-size: 30px; }
}

/* close: the phone number is the heading (Janney Roofing) */
.close { position: relative; isolation: isolate; overflow: hidden; color: var(--on-night); background: var(--night); }
.close .plate { position: absolute; inset: 0; z-index: -2; }
.close .plate img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.close .veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, oklch(0.21 0.028 60 / 0.92) 0%, oklch(0.21 0.028 60 / 0.75) 55%, oklch(0.21 0.028 60 / 0.35) 100%); }
.close .wrap { position: relative; padding-block: var(--air); display: grid; gap: 28px; }
.close h2 { color: var(--on-night); max-width: 16ch; }
.close .lede { color: var(--on-night-2); }
.tel { font-family: var(--display); font-weight: 300; font-size: 40px; letter-spacing: -0.01em; text-decoration: none; color: var(--on-night); line-height: 1; display: inline-block; padding-block: 6px; min-height: 44px; transition: opacity 200ms var(--ease); }
.tel:hover { opacity: 0.85; }
.close .addr { color: var(--on-night-2); font-size: 15px; }
.close .addr b { color: var(--on-night); font-weight: 500; }
.close-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; color: var(--on-night-2); font-size: 15px; }
.close-list li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; }
.close-list svg { width: 16px; height: 16px; color: var(--brass); margin-top: 4px; }
.close-list b { color: var(--on-night); font-weight: 500; }
@media (min-width: 900px) {
  .close .wrap { grid-template-columns: 7fr 5fr; gap: 96px; align-items: end; }
  .tel { font-size: 68px; }
}

/* footer */
.ft { background: var(--cream); border-top: 1px solid var(--hair); }
.ft .wrap { padding-block: 44px 28px; display: grid; gap: 28px; font-size: 14px; color: var(--ink-2); }
.ft .mark img { height: 36px; width: auto; }
.ft nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ft nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.ft .legal { border-top: 1px solid var(--hair); padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; }
@media (min-width: 900px) { .ft .wrap { grid-template-columns: auto 1fr auto; align-items: center; } .ft .legal { grid-column: 1 / -1; } }

/* ---------- inner-page pieces ---------- */
.prose { display: grid; gap: 18px; max-width: 38em; color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.prose b { color: var(--ink); font-weight: 500; }
.two { display: grid; gap: 36px; }
@media (min-width: 900px) { .two { grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; } .two.rev { grid-template-columns: 7fr 5fr; } }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
.table th { font-weight: 500; color: var(--ink-2); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.table td.num { font-family: var(--display); font-size: 20px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table td:last-child, .table th:last-child { text-align: right; }
.figure { margin: 0; }
.figure img { width: 100%; height: auto; }
.figure figcaption { font-size: 14px; color: var(--ink-2); padding-top: 12px; }
.team { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.team figure { margin: 0; display: grid; gap: 10px; }
.team img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.team figcaption b { display: block; font-weight: 500; }
.team figcaption span { color: var(--ink-2); font-size: 14px; }
@media (min-width: 900px) { .team { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--hair); }
.steps li:last-child { border-bottom: 1px solid var(--hair); }
.steps .n { font-family: var(--display); font-size: 34px; line-height: 1; color: var(--brass); font-weight: 300; }
.steps b { display: block; font-weight: 500; font-size: 17px; margin-bottom: 4px; }
.steps span { color: var(--ink-2); font-size: 15px; }
.not { display: grid; gap: 14px; }
.not p { padding-left: 18px; border-left: 1px solid var(--hair-2); color: var(--ink-2); }

/* ---------- motion: the resting document is the readable document ----------
   Reveals exist only inside @supports (animation-timeline) and only when the person
   has not asked for reduced motion. Anywhere else the page is simply static and complete. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 38%; }
    @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
    .hero .hwrap > * { animation: rise-in 900ms var(--ease-out) both; }
    .hero .hwrap > *:nth-child(2) { animation-delay: 90ms; }
    .hero .hwrap > *:nth-child(3) { animation-delay: 180ms; }
    .hero .hwrap > *:nth-child(4) { animation-delay: 260ms; }
    @keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  }
}
@media (hover: hover) and (pointer: fine) {
  .team img { transition: filter 300ms var(--ease); }
}
