/* ==========================================================================
   Curless Psychology — "Lupine"
   Cool paper, lupine-blue ink and deep navy (violet and leaf green appear only
   in the logo and artwork), upright Latin Modern Roman display, Instrument Sans text, hairline
   structure, stippled lupine artwork.
   ========================================================================== */

@font-face { font-family: "LM Roman"; src: url("/assets/lmroman12-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "LM Roman"; src: url("/assets/lmroman12-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/instrument-sans-variable.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  /* Grounds — --paper matches the lupine artwork's paper exactly */
  --paper: #f8f9f5;
  --paper-2: #eef2f3;
  --mist: #e8edf2;
  --deep: #223b5c;
  --deeper: #1a304d;

  /* Ink (contrast measured on paper / paper-2 / mist) */
  --ink: #2c527d;          /* lupine blue, 7.6:1 on paper */
  --muted: #4f657c;        /* ≥5.1:1 */
  --label: #56697f;        /* small uppercase labels, ≥4.8:1 */
  --accent: #6683b0;       /* soft lupine blue: display-size numerals only (≥3.2:1) */
  --accent-dk: #426794;    /* logo petal blue for small accent text (≥4.9:1) */
  --icon: #5a79a8;         /* icons and status dots (≥3.7:1) */
  --sky: #a9bde0;          /* accents on deep navy (6.0:1) */
  --on-deep: #f8f9f5;
  --on-deep-muted: #b7c4d6;

  --line: rgba(44, 82, 125, .15);
  --line-strong: rgba(44, 82, 125, .3);
  --line-deep: rgba(248, 249, 245, .18);

  --display: "LM Roman", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --radius: 8px;
  --shadow: 0 28px 56px -34px rgba(26, 48, 77, .5);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ------- Base ------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--ink); }
h1 { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -.028em; }
h2 { font-size: clamp(34px, 4vw, 58px); line-height: 1.05; letter-spacing: -.022em; }
h3 { font-size: clamp(22px, 1.8vw, 26px); line-height: 1.22; letter-spacing: -.01em; }
h1 em, h2 em { font-style: normal; color: inherit; }
strong { font-weight: 600; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--paper); border-radius: 999px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.container { width: min(var(--container), calc(100% - 128px)); margin-inline: auto; }
.section { padding-block: clamp(80px, 10vw, 140px); }
.soft-section { background: var(--paper-2); }
.page-section { padding-block: 8px clamp(72px, 9vw, 120px); }
.container.reading-width { width: min(760px, calc(100% - 128px)); }

/* ------- Icons & links ------- */
.icon { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.arrow { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-45deg); transition: transform .3s var(--ease); }
a:hover .arrow { transform: rotate(-45deg) translateX(3px); }

.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; font: 400 12px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--label); }
.eyebrow > span { width: 24px; height: 1px; background: currentColor; flex: none; }

.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 54px; padding: 0 24px 0 28px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper); font: 500 16px/1.2 var(--sans); letter-spacing: .005em; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.button:hover { background: var(--deeper); border-color: var(--deeper); }
.button-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.button-light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.button-light:hover { background: var(--sky); border-color: var(--sky); }
.button-wide { width: 100%; }

.text-link { display: inline-flex; align-items: center; gap: 14px; padding-bottom: 7px; border-bottom: 1px solid var(--line-strong); font: 500 15px/1.4 var(--sans); color: var(--ink); transition: border-color .3s; }
.text-link:hover { border-color: var(--ink); }

.glass { background: rgba(248, 249, 245, .94); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

.status-pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border: 1px solid var(--line-strong); border-radius: 999px; font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
.status-open::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-dk); }
.small-note { font-size: 13px; line-height: 1.6; color: var(--muted); }

/* ------- Utility bar & header ------- */
.utility-bar { background: var(--paper-2); color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line); }
.utility-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 46px; }
.utility-links { display: flex; gap: 28px; }
.utility-links a { color: var(--muted); transition: color .2s; }
.utility-links a:hover { color: var(--ink); }
.utility-conversion { display: flex; align-items: center; gap: 26px; }
.utility-office { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.utility-office > span { display: flex; gap: 10px; color: var(--muted); }
.utility-office strong { font-weight: 500; color: var(--ink); }
.utility-office .icon { width: 15px; height: 15px; color: var(--icon); }
.utility-cta { min-height: 32px; gap: 14px; padding: 0 14px 0 18px; font-size: 13px; background: transparent; border-color: var(--line-strong); color: var(--ink); }
.utility-cta:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.utility-cta .arrow { width: 13px; height: 13px; }

.site-header { position: relative; z-index: 30; background: var(--paper); }
.header-inner { position: relative; display: flex; align-items: center; gap: 32px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 9px; flex: none; color: var(--ink); }
.brand-mark { width: 22px; height: 46px; margin-top: -4px; flex: none; color: var(--icon); }
.brand > span { display: flex; flex-direction: column; font: 400 36px/.86 var(--display); letter-spacing: -.045em; text-transform: lowercase; }
.brand-sub { margin: 9px 0 0 2px; font: 500 8.5px/1 var(--sans); letter-spacing: .44em; text-transform: uppercase; color: var(--muted); }

#primary-nav { display: flex; align-items: center; justify-content: flex-end; flex: 1; gap: 26px; }
.nav-group { position: relative; }
.nav-item { display: flex; align-items: center; gap: 1px; }
.nav-item > a { position: relative; padding: 10px 0; font-size: 14px; color: var(--ink); }
.nav-item > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-item > a:hover::after, .nav-item > a[aria-current=page]::after { transform: scaleX(1); }
.nav-expand { display: grid; place-items: center; width: 24px; height: 40px; color: var(--muted); border-radius: 4px; }
.nav-expand svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 1.4; transition: transform .2s; }
.nav-expand[aria-expanded=true] svg { transform: rotate(180deg); }
.nav-submenu { position: absolute; top: calc(100% + 6px); left: -20px; min-width: 264px; padding: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(26, 48, 77, .42); }
.nav-group:last-of-type .nav-submenu { left: auto; right: -20px; }
.nav-submenu a { display: block; padding: 10px 12px; font-size: 14px; line-height: 1.5; border-radius: 4px; transition: background .2s; }
.nav-submenu a:hover { background: var(--paper-2); }
#primary-nav > .nav-cta { display: none; }
.menu-toggle { display: none; }

/* ------- Home: hero ------- */
.evaluation-hero { --hero-reading: 16px; --hero-supporting: 12px; position: relative; background: var(--paper); font-size: var(--hero-reading); }
.evaluation-hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; padding-block: clamp(16px, 2.8vw, 40px) clamp(56px, 7vw, 96px); }
.evaluation-hero-copy { position: relative; z-index: 2; max-width: 610px; }
.hero-availability { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; font: 400 var(--hero-supporting)/1.5 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--label); }
.hero-availability > span { width: 24px; height: 1px; background: currentColor; flex: none; }
.evaluation-hero h1 { font-size: clamp(40px, 4.4vw, 68px); margin-bottom: 30px; }
.hero-lead { margin-bottom: 18px; font-size: var(--hero-reading); color: var(--ink); }
.hero-lead strong { font-weight: 600; }
.hero-timing { display: grid; gap: 9px; margin-bottom: 12px; }
.hero-timing li { display: flex; align-items: flex-start; gap: 12px; }
.hero-timing .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--icon); stroke-width: 1.5; }
.hero-timing strong { font-size: var(--hero-reading); font-weight: 500; color: var(--ink); }
.hero-timing-note { max-width: 450px; margin-bottom: 30px; font-size: var(--hero-supporting); line-height: 1.6; color: var(--muted); }
.evaluation-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-bottom: 34px; }
.evaluation-hero-actions .button { font-size: var(--hero-reading); }
.hero-call { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line-strong); font-size: var(--hero-reading); font-weight: 500; transition: border-color .3s; }
.hero-call:hover { border-color: var(--ink); }
.hero-call .icon { width: 17px; height: 17px; }
.hero-financing { max-width: 520px; padding-top: 18px; border-top: 1px solid var(--line); }
.hero-financing-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; font-size: var(--hero-supporting); }
.hero-financing-heading strong { font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--label); }
.hero-financing-heading a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.hero-financing-heading .arrow { width: 12px; height: 12px; }
.financing-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; }
.financing-logo img { width: auto; height: 22px; }
.financing-logo-affirm img { height: 27px; }
.financing-logo-carecredit img { height: 17px; }
.financing-logo-klarna img { height: 16px; }
.hero-financing p { margin-top: 12px; font-size: var(--hero-supporting); color: var(--muted); }
.hero-office-row { margin-top: 18px; }
.hero-current-office { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-size: var(--hero-supporting); }
.hero-current-office strong { font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--label); }
.hero-current-office a { display: inline-flex; align-items: center; gap: 8px; }
.hero-current-office .icon { width: 13px; height: 13px; }
.hero-current-office .arrow { width: 12px; height: 12px; }

.evaluation-visual { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 12px; min-height: clamp(520px, 44vw, 660px); padding: 8px 0 clamp(88px, 8vw, 132px); }
.hero-art { position: absolute; z-index: 0; top: -56px; left: -14%; width: 132%; max-width: none; height: auto; pointer-events: none; user-select: none; --fade: linear-gradient(to right, transparent 0, #000 18%), linear-gradient(to bottom, transparent 0, #000 4%, #000 80%, transparent 99%); -webkit-mask-image: var(--fade); -webkit-mask-composite: source-in; mask-image: var(--fade); mask-composite: intersect; animation: bloom 2.4s var(--ease) both; }
.hero-doctor-label { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; max-width: 330px; padding: 16px 18px; line-height: 1.4; transition: transform .35s var(--ease); }
.hero-doctor-label:hover { transform: translateY(-2px); }
.hero-doctor-label { margin-left: -2%; }
.hero-doctor-label strong { display: block; font-size: var(--hero-reading); font-weight: 500; }
.hero-doctor-label span span { display: block; margin-top: 4px; font-size: var(--hero-supporting); line-height: 1.55; color: var(--muted); }
.hero-doctor-portrait { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: none; }
/* Wider than the artwork can reach: fade its right edge instead of cutting the last lupine. */
@media (min-width: 1500px) { .hero-art { --fade: linear-gradient(to right, transparent 0, #000 18%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 4%, #000 80%, transparent 99%); } }

/* ------- Home: access band ------- */
.access-section { background: var(--paper-2); border-block: 1px solid var(--line); padding-bottom: 26px; }
.access-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.access-card { display: flex; gap: 18px; padding: 38px 32px 26px 0; border-right: 1px solid var(--line); }
.access-card + .access-card { padding-left: 32px; }
.access-card:last-child { border-right: 0; }
.access-card > .icon { width: 26px; height: 26px; margin-top: 3px; color: var(--icon); }
.access-card h2 { margin-bottom: 4px; font-size: 25px; line-height: 1.2; letter-spacing: -.01em; }
.access-card p { font-size: 15px; color: var(--muted); }
.access-card div > span { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding-bottom: 4px; border-bottom: 1px solid var(--line-strong); font-size: 14px; font-weight: 500; transition: border-color .3s; }
.access-card:hover div > span { border-color: var(--ink); }
.access-note { font-size: 12px; color: var(--muted); }

/* ------- Shared headings & actions ------- */
.centered-heading { max-width: 780px; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; }
.centered-heading .eyebrow { justify-content: center; }
.centered-heading .eyebrow::after { content: ''; width: 24px; height: 1px; background: currentColor; flex: none; }
.centered-heading p { max-width: 600px; margin: 26px auto 0; color: var(--muted); }
.centered-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 34px; margin-top: 56px; }
.section-heading p { margin-top: 22px; color: var(--muted); max-width: 540px; }

/* ------- Home: steps ------- */
.conversion-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.conversion-steps article { padding: 34px 34px 8px 0; }
.conversion-steps article + article { padding-left: 34px; border-left: 1px solid var(--line); }
.conversion-steps span { display: block; margin-bottom: 30px; font: italic 400 58px/1 var(--display); color: var(--accent); }
.conversion-steps h3 { margin-bottom: 12px; }
.conversion-steps p { font-size: 15px; color: var(--muted); }

/* ------- Doctor feature ------- */
.doctor-section { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 120px); align-items: center; }
.doctor-photo { position: relative; }
.doctor-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 32%; border-radius: 400px 400px var(--radius) var(--radius); }
.doctor-photo-note { position: absolute; left: -28px; bottom: 44px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.doctor-photo-note strong { font-weight: 500; color: var(--ink); }
.doctor-photo-note .icon { width: 18px; height: 18px; color: var(--icon); }
.doctor-copy h2 { margin-bottom: 20px; }
.doctor-copy .lead { margin-bottom: 30px; font: italic 400 clamp(21px, 1.9vw, 25px)/1.4 var(--display); color: var(--accent-dk); }
.doctor-points { margin-bottom: 38px; border-top: 1px solid var(--line); }
.doctor-points li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.doctor-points .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--icon); stroke-width: 1.5; }

/* ------- Home: Ellsworth ------- */
.home-location-section { background: var(--mist); padding-block: clamp(80px, 10vw, 140px); }
.home-office { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(36px, 5.5vw, 80px); align-items: center; }
.home-office > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.home-office h3 { margin: 20px 0 14px; font-size: clamp(30px, 3vw, 42px); line-height: 1.08; letter-spacing: -.02em; }
.home-office > div > p { color: var(--muted); }
.office-benefits { display: grid; gap: 10px; margin: 24px 0; }
.office-benefits li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.office-benefits .icon { width: 17px; height: 17px; color: var(--icon); stroke-width: 1.5; }
.office-call { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px; font: 400 28px/1.2 var(--display); }
.office-call .icon { width: 20px; height: 20px; color: var(--icon); }
.office-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.future-office-strip { display: grid; grid-template-columns: auto 1fr 1fr auto; align-items: center; gap: 32px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line-strong); font-size: 15px; }
.future-office-strip > div { display: flex; align-items: center; gap: 12px; }
.future-office-strip > div .icon { width: 19px; height: 19px; color: var(--icon); }
.future-office-strip strong { font: italic 400 22px/1.2 var(--display); }
.future-office-soon { grid-template-columns: auto 1fr auto; }
.future-office-strip small { display: block; font-size: 12px; letter-spacing: .04em; color: var(--muted); }

/* ------- Topics ------- */
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.topic-card { display: flex; flex-direction: column; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.topic-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 44px; color: var(--label); }
.topic-top .icon { width: 26px; height: 26px; }
.topic-top span { font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.topic-card h3 { margin-bottom: 14px; font-size: clamp(27px, 2.4vw, 34px); letter-spacing: -.02em; transition: color .3s; }
.topic-card p { flex: 1; margin-bottom: 38px; font-size: 15px; color: var(--muted); }
.topic-card .text-link { justify-content: space-between; width: 100%; padding: 16px 0 0; border-bottom: 0; border-top: 1px solid var(--line); font-size: 14px; }
.topic-card:hover h3 { color: var(--accent-dk); }
.therapy-note { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 30px; font-size: 15px; color: var(--muted); }
.therapy-note a { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 1px solid var(--line-strong); font-weight: 500; color: var(--ink); }

/* ------- Perspective (deep) & timeline ------- */
.perspective-section { position: relative; overflow: hidden; background: var(--deep); color: var(--on-deep); padding-block: clamp(84px, 10vw, 140px); }
.perspective-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.perspective-section .eyebrow { color: var(--sky); }
.perspective-section h2 { color: var(--on-deep); }
.perspective-grid > div:first-child > p { max-width: 520px; margin-top: 22px; color: var(--on-deep-muted); }
.perspective-section .button-light { margin-top: 38px; }

/* Three views, one person: stippled circles echo the lupine artwork. The selected tab brings its circle forward. */
.connections { container-type: inline-size; padding: clamp(22px, 3vw, 36px); background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 40px 80px -50px rgba(10, 22, 38, .55); }
.connections-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--label); }
.connections-body { display: grid; gap: 8px; }
.connections-figure { display: block; width: 100%; max-width: 420px; height: auto; margin: 18px auto 8px; overflow: visible; }
/* Three textures and three blues, so each view stays distinct where the circles overlap. */
#venn-texture-0 circle { fill: #223b5c; }
#venn-texture-1 line { stroke: #4f7dc4; stroke-width: 1.5; }
#venn-texture-2 path { fill: none; stroke: #7fa0cf; stroke-width: 1.5; }
.venn-fill { opacity: .5; transition: opacity .6s var(--ease); }
.venn-ring { fill: none; stroke: var(--line-strong); stroke-width: 1; transition: stroke .4s var(--ease); }
.venn-label { font: 400 17px var(--display); fill: var(--muted); stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; paint-order: stroke; transition: fill .4s var(--ease); }
.venn-center-label { font: italic 400 15px var(--display); fill: var(--ink); stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; paint-order: stroke; }
.venn-center { fill: var(--ink); }
.venn-center-ring { fill: var(--paper); stroke: var(--ink); stroke-width: 1; }
.connections:has([data-timeline-tab="0"][aria-selected="true"]) .venn-0 .venn-fill,
.connections:has([data-timeline-tab="1"][aria-selected="true"]) .venn-1 .venn-fill,
.connections:has([data-timeline-tab="2"][aria-selected="true"]) .venn-2 .venn-fill { opacity: 1; }
.connections:has([data-timeline-tab="0"][aria-selected="true"]) .venn-0 .venn-ring,
.connections:has([data-timeline-tab="1"][aria-selected="true"]) .venn-1 .venn-ring,
.connections:has([data-timeline-tab="2"][aria-selected="true"]) .venn-2 .venn-ring { stroke: var(--ink); }
.connections:has([data-timeline-tab="0"][aria-selected="true"]) .venn-label-0,
.connections:has([data-timeline-tab="1"][aria-selected="true"]) .venn-label-1,
.connections:has([data-timeline-tab="2"][aria-selected="true"]) .venn-label-2 { fill: var(--ink); }
.timeline-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; margin-top: 14px; }
.timeline-tabs button { display: flex; flex-direction: column; gap: 7px; padding: 14px 0 4px; text-align: left; font-size: 14px; line-height: 1.3; color: var(--muted); border-top: 1px solid var(--line-strong); transition: color .25s, border-color .25s; }
.timeline-tabs button span { font-size: 12px; letter-spacing: .16em; color: var(--label); }
.timeline-tabs button:hover { color: var(--ink); }
.timeline-tabs button[aria-selected=true] { color: var(--ink); border-top-color: var(--ink); box-shadow: inset 0 1px 0 var(--ink); }
.timeline-panels { min-height: 128px; padding-top: 22px; }
.timeline-panels strong { display: block; margin-bottom: 8px; font: 400 24px/1.3 var(--display); color: var(--ink); }
.timeline-panels p { font-size: 15px; color: var(--muted); }
.timeline-footnote { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.6; color: var(--muted); }
@container (min-width: 820px) {
  .connections-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
  .connections-figure { margin: 0 auto; }
}
.approach-visual { padding-bottom: 8px; }

/* ------- Benefits, expedited, FAQ ------- */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.benefit-grid > div { padding-top: 26px; border-top: 1px solid var(--line-strong); }
.benefit-grid .icon { width: 28px; height: 28px; margin-bottom: 30px; color: var(--icon); }
.benefit-grid h3 { margin-bottom: 12px; }
.benefit-grid p { font-size: 15px; color: var(--muted); }

.expedited-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: end; margin-bottom: clamp(80px, 10vw, 140px); padding: clamp(40px, 6vw, 88px); background: var(--mist); border-radius: var(--radius); }
.expedited-section h2 { margin: 0; font-size: clamp(32px, 3.4vw, 48px); }
.expedited-section p { max-width: 540px; margin-bottom: 34px; color: var(--muted); }
.expedited-section .button { margin-right: 28px; margin-bottom: 14px; }

.faq-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq-section > div:first-child > p { max-width: 400px; margin: 22px 0 28px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; list-style: none; cursor: pointer; font: 400 clamp(19px, 1.7vw, 23px)/1.3 var(--display); color: var(--ink); transition: color .2s; }
.faq-list summary:hover { color: var(--accent-dk); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 14px; height: 14px; flex: none; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
.faq-plus::after { transform: rotate(90deg); }
details[open] .faq-plus::after { transform: rotate(0); }
.faq-answer { padding: 0 40px 26px 0; }
.faq-answer p { font-size: 15px; color: var(--muted); }

/* ------- Closing CTA ------- */
.cta-section { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr); gap: 48px; align-items: end; margin-bottom: clamp(80px, 9vw, 120px); padding: clamp(48px, 7vw, 100px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.cta-orbit { position: absolute; z-index: -1; top: -3%; right: -3%; width: min(40%, 500px); aspect-ratio: 9 / 8; background: url("/assets/lupine-900.webp") right top / cover no-repeat; opacity: .5; pointer-events: none; --fade: linear-gradient(to right, transparent 0, #000 42%), linear-gradient(to bottom, #000 22%, transparent 68%); -webkit-mask-image: var(--fade); -webkit-mask-composite: source-in; mask-image: var(--fade); mask-composite: intersect; }
.cta-section h2 { font-size: clamp(38px, 4.8vw, 70px); }
.cta-section > div > p { max-width: 520px; margin-top: 24px; color: var(--muted); }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cta-actions > a:not(.button) { padding-bottom: 4px; border-bottom: 1px solid var(--line-strong); font-size: 14px; color: var(--ink); }

/* ------- Footer ------- */
.site-footer { background: var(--deep); color: var(--on-deep); padding-top: clamp(64px, 8vw, 104px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-deep); }
.site-footer .brand { color: var(--on-deep); }
.site-footer .brand-mark { color: var(--sky); }
.site-footer .brand-sub { color: var(--on-deep-muted); }
.footer-brand p { margin: 28px 0 18px; font: italic 400 23px/1.35 var(--display); color: var(--on-deep); }
.footer-phone { display: inline-block; padding-bottom: 4px; border-bottom: 1px solid var(--line-deep); }
.footer-top h2 { margin-bottom: 18px; font: 500 12px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--sky); }
.footer-top > div:not(.footer-brand) > a, .footer-top > div:not(.footer-brand) > p { display: block; margin-bottom: 10px; font-size: 15px; line-height: 1.5; color: var(--on-deep-muted); transition: color .2s; }
.footer-top a:hover { color: var(--on-deep); }
.footer-top .arrow { display: inline-block; width: 12px; height: 12px; margin-left: 6px; vertical-align: middle; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; padding: 24px 0; font-size: 13px; color: var(--on-deep-muted); }
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom a:hover { color: var(--on-deep); }
.crisis-note { padding-bottom: 32px; font-size: 12px; color: var(--on-deep-muted); }

/* ------- Contact dock ------- */
.contact-dock { position: fixed; right: 24px; bottom: 24px; z-index: 35; }
.contact-dock summary { display: flex; align-items: center; gap: 10px; padding: 12px 19px; list-style: none; cursor: pointer; background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; font-weight: 500; box-shadow: 0 18px 40px -24px rgba(26, 48, 77, .55); transition: background .25s, color .25s; }
.contact-dock summary::-webkit-details-marker { display: none; }
.contact-dock summary .icon { width: 16px; height: 16px; }
.contact-dock details[open] summary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.contact-dock-panel { position: absolute; right: 0; bottom: calc(100% + 12px); width: 340px; padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 70px -30px rgba(26, 48, 77, .45); }
.contact-dock-panel > strong { display: block; font: 400 25px/1.2 var(--display); }
.contact-dock-panel p { margin-top: 10px; font-size: 14px; color: var(--muted); }
.contact-dock-panel .button { width: 100%; margin-top: 20px; font-size: 15px; }
.contact-dock-panel > span { display: block; margin-top: 10px; font-size: 12px; color: var(--muted); }
.contact-dock-panel > a:not(.button) { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; margin-top: 10px; font-size: 14px; font-weight: 500; }
.contact-dock-panel .small-note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; }
.mobile-contact-bar { display: none; }

/* ------- Supporting pages: intro ------- */
.page-intro { position: relative; isolation: isolate; padding-block: clamp(24px, 3.5vw, 44px) clamp(64px, 8vw, 112px); }
.page-intro::after { content: ''; position: absolute; z-index: -1; top: 0; right: -6%; width: min(40%, 580px); aspect-ratio: 9 / 8; background: url("/assets/lupine-900.webp") right top / contain no-repeat; opacity: .6; pointer-events: none; --fade: linear-gradient(to right, transparent 0, #000 40%), linear-gradient(to bottom, #000 30%, transparent 78%); -webkit-mask-image: var(--fade); -webkit-mask-composite: source-in; mask-image: var(--fade); mask-composite: intersect; animation: bloom 2.4s var(--ease) both; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; font-size: 13px; color: var(--muted); }
.breadcrumbs a { border-bottom: 1px solid var(--line-strong); }
.breadcrumbs a:hover { color: var(--ink); }
.page-intro h1 { max-width: 860px; margin-bottom: 28px; }
.intro-description { max-width: 600px; margin-bottom: 38px; font-size: 18px; line-height: 1.65; color: var(--muted); }

/* ------- Supporting pages: layouts ------- */
.two-column { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.two-column > div > p { max-width: 540px; margin-top: 20px; color: var(--muted); }
.two-column > div > .button, .two-column > div > .text-link { margin-top: 34px; }
.prose p { margin-bottom: 18px; color: var(--muted); }
.prose h2 { margin: 52px 0 16px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.prose h3 { margin-bottom: 14px; }
.prose ul { margin-bottom: 18px; padding-left: 22px; list-style: disc; color: var(--muted); }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose a:not(.text-link):not(.button) { border-bottom: 1px solid var(--line-strong); color: var(--ink); }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 24px; border-left: 1px solid var(--accent); }
.prose blockquote p { font: italic 400 19px/1.55 var(--display); color: var(--ink); }
.prose figure { margin: 30px 0; }
.prose figure img { border: 1px solid var(--line); border-radius: 6px; }
.prose figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.prose .text-link { margin-top: 10px; }
.legal-updated { font-size: 13px; letter-spacing: .06em; }

.steps-list { border-top: 1px solid var(--line-strong); }
.steps-list > div { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.steps-list span { font: italic 400 36px/1 var(--display); color: var(--accent); }
.steps-list h3 { margin-bottom: 8px; }
.steps-list p { font-size: 15px; color: var(--muted); }

.service-detail { padding-block: 52px; border-top: 1px solid var(--line-strong); }
.service-detail:first-child { padding-top: 0; border-top: 0; }
.service-detail .icon { width: 30px; height: 30px; margin-bottom: 24px; color: var(--icon); }
.service-detail h2 { margin-bottom: 18px; font-size: clamp(30px, 3.4vw, 46px); }
.service-detail p { margin-bottom: 14px; color: var(--muted); }
.service-detail .text-link { margin-top: 12px; }

.simple-callout { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; margin-bottom: clamp(64px, 8vw, 104px); padding: 38px 42px; background: var(--mist); border-radius: var(--radius); }
.simple-callout > .icon { width: 36px; height: 36px; color: var(--icon); }
.simple-callout h2 { margin-bottom: 6px; font-size: clamp(25px, 2.4vw, 32px); }
.simple-callout p { font-size: 15px; color: var(--muted); }

.quote-card { display: flex; flex-direction: column; justify-content: space-between; gap: 26px; min-height: 340px; padding: clamp(36px, 4vw, 56px); background: var(--deep); color: var(--on-deep); border-radius: var(--radius); }
.quote-symbol { font-size: 24px; color: var(--sky); }
.quote-card > p, .two-column > .quote-card > p { max-width: none; margin: 0; font: italic 400 clamp(30px, 3vw, 44px)/1.12 var(--display); letter-spacing: -.015em; color: var(--on-deep); }
.quote-card > span:last-child { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-deep-muted); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 36px; margin-top: 60px; }
.team-photo { aspect-ratio: 4 / 5; margin-bottom: 22px; overflow: hidden; background: var(--paper-2); border-radius: var(--radius); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.025); }
.team-card h3 { margin-bottom: 6px; font-size: 30px; letter-spacing: -.02em; }
.team-role { margin-bottom: 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
.team-card > p:not(.team-role) { font-size: 15px; color: var(--muted); }
.team-card details { margin-top: 18px; border-top: 1px solid var(--line); }
.team-card summary { display: flex; justify-content: space-between; padding: 12px 0; list-style: none; cursor: pointer; font-size: 14px; font-weight: 500; }
.team-card summary::-webkit-details-marker { display: none; }
.team-card details p { font-size: 14px; color: var(--muted); }

.profile-facts { margin-top: 30px; border-top: 1px solid var(--line-strong); }
.profile-facts div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.profile-facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.profile-facts dd { font-weight: 500; text-align: right; }
.profile-facts a { border-bottom: 1px solid var(--line-strong); }

/* Payment */
.payment-page-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; }
.insurance-feature, .finance-feature { padding: clamp(32px, 4vw, 56px); border-radius: var(--radius); }
.insurance-feature { background: var(--deep); color: var(--on-deep); }
.insurance-feature > .icon { width: 30px; height: 30px; margin-bottom: 30px; color: var(--sky); }
.insurance-feature .eyebrow { color: var(--sky); }
.insurance-feature h2 { color: var(--on-deep); }
.insurance-feature p { margin: 22px 0 32px; color: var(--on-deep-muted); }
.insurance-feature .button-outline { color: var(--on-deep); border-color: var(--line-deep); }
.insurance-feature .button-outline:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.finance-feature { background: var(--mist); }
.finance-feature > p:not(.eyebrow) { margin-top: 22px; color: var(--muted); }
.lender-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0 18px; }
.lender-list > div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.lender-brand-image { width: auto; max-width: 100%; height: 28px; object-fit: contain; }
.lender-brand-carecredit { height: 18px; }
.lender-brand-klarna { height: 19px; }
.lender-list span { font-size: 12px; color: var(--muted); }

/* Locations */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-chip { padding: 10px 19px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; transition: background .2s, color .2s; }
.filter-chip:hover { border-color: var(--ink); }
.filter-chip[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.location-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.location-card { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.location-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.planned-art { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); color: var(--icon); }
.planned-art .icon { position: relative; z-index: 1; width: 30px; height: 30px; }
.art-ring { position: absolute; width: 120px; height: 120px; border: 1px solid var(--line-strong); border-radius: 50%; }
.art-ring + .art-ring { width: 210px; height: 210px; border-color: var(--line); }
.location-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 14px; padding: 26px; }
.location-card h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 34px; letter-spacing: -.02em; }
.location-card h3 span { font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.location-card p { font-size: 15px; color: var(--muted); }
.planned-note { margin-top: auto; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.office-hero { position: relative; margin-bottom: 24px; }
.office-hero > img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); }
.office-info { position: absolute; right: 40px; bottom: -48px; width: min(380px, 42%); padding: 30px; }
.office-info > .icon { width: 24px; height: 24px; margin-bottom: 16px; color: var(--icon); }
.office-info h2 { margin-bottom: 14px; font-size: 31px; }
.office-info p { margin-bottom: 8px; font-size: 15px; color: var(--muted); }
.office-info > a:not(.button) { display: inline-block; margin: 6px 0 20px; font: 400 25px/1.3 var(--display); }
.therapy-photo > img { aspect-ratio: 21 / 8; }
.office-services { display: grid; margin-top: 30px; border-top: 1px solid var(--line-strong); }
.office-services a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font: 400 23px/1.3 var(--display); transition: color .2s; }
.office-services a:hover { color: var(--accent-dk); }
.office-photo-grid { display: grid; gap: 16px; }
.office-photo-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }

/* Expedited & process */
.delivery-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(32px, 6vw, 88px); padding: clamp(36px, 5vw, 72px); background: var(--mist); border-radius: var(--radius); }
.delivery-card .eyebrow { margin-bottom: 18px; }
.delivery-card h2 { margin-bottom: 18px; }
.delivery-card p { max-width: 560px; color: var(--muted); }
.timing-list { border-top: 1px solid var(--line-strong); }
.timing-list li { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-strong); font: 400 clamp(19px, 1.7vw, 23px)/1.35 var(--display); color: var(--ink); }
.timing-list .icon { width: 18px; height: 18px; margin-top: 5px; flex: none; color: var(--icon); stroke-width: 1.5; }
.process-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-strong); }
.process-card { padding: 42px 42px 42px 0; border-bottom: 1px solid var(--line); }
.process-card:nth-child(even) { padding-left: 42px; padding-right: 0; border-left: 1px solid var(--line); }
.process-card span { display: block; margin-bottom: 26px; font: italic 400 42px/1 var(--display); color: var(--accent); }
.process-card h2 { margin-bottom: 12px; font-size: clamp(26px, 2.6vw, 34px); }
.process-card p { color: var(--muted); }

/* Request */
.request-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: start; }
.request-options > h2 { margin-bottom: 26px; font-size: clamp(30px, 3vw, 42px); }
.request-options [role=group] { display: grid; gap: 12px; }
.request-option { display: flex; align-items: center; gap: 18px; width: 100%; padding: 22px 24px; text-align: left; background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius); transition: border-color .2s, background .2s; }
.request-option:hover { border-color: var(--ink); }
.request-option > .icon { width: 26px; height: 26px; color: var(--icon); }
.request-option > span { flex: 1; }
.request-option strong { display: block; font: 400 23px/1.25 var(--display); }
.request-option span span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.request-option i { position: relative; width: 20px; height: 20px; flex: none; border: 1px solid var(--line-strong); border-radius: 50%; }
.request-option[aria-pressed=true] { background: var(--paper-2); border-color: var(--ink); }
.request-option[aria-pressed=true] i { border-color: var(--ink); background: radial-gradient(circle, var(--ink) 0 4px, transparent 4.5px); }
.request-location { display: flex; align-items: flex-start; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.request-location > .icon { color: var(--icon); }
.request-location strong { display: block; font-weight: 500; }
.request-location span { font-size: 14px; color: var(--muted); }
.request-contact { padding: clamp(30px, 3.5vw, 46px); background: var(--deep); color: var(--on-deep); border: 0; }
.request-contact .status-pill { color: var(--sky); border-color: var(--line-deep); }
.request-contact .status-open::before { background: var(--sky); }
.request-contact h2 { margin: 24px 0 16px; font-size: clamp(32px, 3vw, 44px); color: var(--on-deep); }
.request-contact p { color: var(--on-deep-muted); }
.request-contact > .button { margin-top: 28px; background: var(--paper); border-color: var(--paper); color: var(--ink); }
.request-contact > .button:hover { background: var(--sky); border-color: var(--sky); }
.request-contact .small-note { margin-top: 14px; color: var(--on-deep-muted); }
.existing-client { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-deep); }
.existing-client strong { font-weight: 500; }
.existing-client .text-link { margin-top: 12px; color: var(--on-deep); border-color: var(--line-deep); }
.request-footnote { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; padding-block: 38px 100px; font-size: 14px; color: var(--muted); }
.request-footnote a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); }

/* Contact & services */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(28px, 3vw, 40px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card > .icon { width: 26px; height: 26px; margin-bottom: 14px; color: var(--icon); }
.contact-card h2 { font-size: 31px; }
.contact-card p { font-size: 15px; color: var(--muted); }
.large-link { padding-bottom: 4px; border-bottom: 1px solid var(--line-strong); font: 400 28px/1.2 var(--display); }
.contact-card .text-link { margin-top: auto; }
.portal-card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(32px, 4vw, 52px); background: var(--mist); border-radius: var(--radius); }
.portal-card > .icon { width: 28px; height: 28px; color: var(--icon); }
.portal-card h2 { font-size: clamp(30px, 3vw, 40px); }
.portal-card p { margin-bottom: 10px; color: var(--muted); }

.service-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service-paths article { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-height: 380px; padding: clamp(32px, 4vw, 56px); background: var(--mist); border-radius: var(--radius); }
.service-paths article:first-child { background: var(--deep); color: var(--on-deep); }
.service-paths article:first-child h2 { color: var(--on-deep); }
.service-paths article:first-child p { color: var(--on-deep-muted); }
.service-paths article:first-child .icon { color: var(--sky); }
.service-paths article:first-child .button { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.service-paths article:first-child .button:hover { background: var(--sky); border-color: var(--sky); }
.service-paths .icon { width: 30px; height: 30px; margin-bottom: 18px; color: var(--icon); }
.service-paths h2 { font-size: clamp(32px, 3.4vw, 48px); }
.service-paths p { flex: 1; max-width: 460px; color: var(--muted); }

/* ------- Motion ------- */
@keyframes bloom { from { opacity: 0; transform: scale(1.025); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ------- Responsive ------- */
@media (max-width: 1270px) {
  #primary-nav { gap: 18px; }
  .nav-item > a { font-size: 13.5px; }
  .nav-expand { width: 22px; }
}
@media (max-width: 1180px) {
  .container { width: calc(100% - 64px); }
  .container.reading-width { width: min(760px, calc(100% - 64px)); }
}
/* The Value of Being: cover beside the title, then the excerpt set for reading. */
.book-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); gap: clamp(40px, 6vw, 96px); align-items: center; padding-block: clamp(24px, 3.5vw, 44px) clamp(64px, 8vw, 112px); }
.book-hero h1 { margin-bottom: 32px; }
.book-of { font-style: italic; font-size: .6em; }
.book-status { margin-bottom: 40px; }
.book-quote { max-width: 470px; margin-bottom: 40px; padding-left: 22px; border-left: 1px solid var(--accent); }
.book-quote p { font: italic 400 clamp(20px, 1.7vw, 24px)/1.45 var(--display); color: var(--ink); }
.book-quote cite { display: block; margin-top: 12px; font: 400 13px/1.4 var(--sans); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
.book-links { display: flex; flex-wrap: wrap; gap: 18px 36px; }
.book-cover { justify-self: center; width: min(100%, 420px); }
.book-cover img { width: 100%; height: auto; border-radius: 3px; box-shadow: 0 1px 2px rgba(26, 48, 77, .14), 0 34px 70px -30px rgba(26, 48, 77, .5); }
.book-excerpt-section { background: var(--paper-2); border-block: 1px solid var(--line); scroll-margin-top: 24px; }
.book-excerpt h2 { margin: 18px 0 44px; font-size: clamp(32px, 3.2vw, 44px); }
.book-text p { margin-bottom: 1.1em; font: 400 clamp(18px, 1.45vw, 20px)/1.75 var(--display); color: var(--ink); }
.book-text p:first-child::first-letter { float: left; margin: .07em .09em 0 0; font-size: 3.5em; line-height: .8; color: var(--accent-dk); }
.book-end { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-strong); font-size: 15px; color: var(--muted); }

@media (max-width: 1050px) {
  /* Narrow screens: the cover sits right under the title and status, before the quote. */
  .book-hero { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .book-hero-copy { display: contents; }
  .book-cover { order: 1; width: min(72%, 340px); margin-bottom: 48px; }
  .book-quote, .book-links { order: 2; }
  .header-inner { justify-content: space-between; min-height: 84px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%; }
  .menu-toggle > span { display: block; width: 16px; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded=true] > span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] > span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  #primary-nav { display: none; position: absolute; top: calc(100% - 6px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - 190px); overflow-y: auto; padding: 8px 24px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(26, 48, 77, .45); }
  #primary-nav.is-open { display: flex; }
  .nav-group { border-bottom: 1px solid var(--line); }
  .nav-item { justify-content: space-between; }
  .nav-item > a { padding: 14px 0; font: 400 23px/1.25 var(--display); letter-spacing: -.01em; }
  .nav-item > a::after { display: none; }
  .nav-expand { width: 44px; height: 44px; }
  .nav-expand svg { width: 15px; height: 15px; }
  .nav-submenu, .nav-group:last-of-type .nav-submenu { position: static; min-width: 0; padding: 0 0 12px; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  .nav-submenu a { padding: 9px 0; color: var(--muted); }
  #primary-nav > .nav-cta { display: inline-flex; width: 100%; margin-top: 22px; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-bottom: 16px; }
  html:not(.js) #primary-nav { display: flex; position: static; width: 100%; max-height: none; padding: 0; border: 0; box-shadow: none; }

  .evaluation-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .evaluation-hero-copy { max-width: 640px; }
  .evaluation-visual { min-height: 0; aspect-ratio: auto; padding: 0; display: grid; gap: 12px; }
  .hero-art { position: relative; top: auto; left: auto; width: 116%; margin: -2% 0 -6% -6%; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 98%); mask-image: linear-gradient(to bottom, #000 70%, transparent 98%); }
  .hero-art { order: -1; }
  .hero-doctor-label { align-self: auto; max-width: 440px; margin: 0; }

  .access-grid, .conversion-steps, .topic-grid, .benefit-grid { grid-template-columns: 1fr; }
  .access-card, .access-card + .access-card { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .access-card:last-child { border-bottom: 0; }
  .conversion-steps article, .conversion-steps article + article { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .conversion-steps span { margin-bottom: 18px; }
  .topic-grid { gap: 44px; }
  .topic-top { margin-bottom: 26px; }
  .doctor-section, .home-office, .perspective-grid, .faq-section, .two-column, .payment-page-grid, .request-layout, .service-paths { grid-template-columns: minmax(0, 1fr); }
  .doctor-photo { max-width: 520px; }
  .future-office-strip { grid-template-columns: 1fr 1fr; gap: 20px; }
  .future-office-soon > span { grid-column: 1 / -1; }
  .future-office-strip > div { grid-column: 1 / -1; }
  .expedited-section, .delivery-card { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cta-section { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .cta-orbit { width: 90%; opacity: .38; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: minmax(0, 1fr); }
  .process-card, .process-card:nth-child(even) { padding: 34px 0; border-left: 0; }
  .office-info { position: relative; right: auto; bottom: auto; width: auto; margin: -56px 20px 0; }
  .page-intro::after { width: 64%; right: -26%; opacity: .4; }
}
@media (max-width: 700px) {
  .container, .container.reading-width { width: calc(100% - 40px); }
  body { padding-bottom: 74px; }
  /* The call bar at the bottom carries the phone number, so the top bar steps aside on phones. */
  .utility-bar { display: none; }
  .header-inner { min-height: 76px; }
  .brand > span { font-size: 31px; }
  .brand-mark { width: 19px; height: 40px; }
  #primary-nav { max-height: calc(100dvh - 140px); padding: 4px 20px 20px; }

  /* Phone hero: the lupines drift in from the right as a soft texture with no edges, the headline
     tucks under them, and the bottom call bar carries the two actions from the first screen on.
     Timing details, financing, and the office follow below. */
  .evaluation-hero-inner { padding-block: 0 48px; gap: 0; }
  .evaluation-visual { display: contents; }
  .hero-art { order: -1; width: min(86%, 360px); max-width: none; height: auto; aspect-ratio: 1; margin: -8px -20px 0 auto; object-fit: cover; object-position: 66% 0; --fade: linear-gradient(to bottom, #000 34%, transparent 76%), linear-gradient(to right, transparent 0, #000 24%); -webkit-mask-image: var(--fade); mask-image: var(--fade); }
  .evaluation-hero-copy { display: flex; flex-direction: column; margin-top: -58px; }
  .evaluation-hero h1 { font-size: clamp(34px, 9.6vw, 48px); margin-bottom: 18px; }
  .hero-availability { margin-bottom: 16px; letter-spacing: .17em; }
  .hero-availability > span { display: none; }
  .hero-lead { margin-bottom: 30px; }
  .evaluation-hero-actions { display: none; }
  .hero-timing { order: 2; }
  .hero-timing-note { order: 3; margin-bottom: 28px; }
  .hero-financing { order: 4; padding-top: 18px; }
  .hero-office-row { order: 5; }
  .hero-financing-heading { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 12px; }
  .financing-logos { gap: 12px 22px; }
  .financing-logo img { height: 19px; }
  .financing-logo-affirm img { height: 24px; }
  .financing-logo-carecredit img { height: 15px; }
  .financing-logo-klarna img { height: 14px; }
  .hero-doctor-label { margin-top: 36px; }

  .section { padding-block: 72px; }
  h2 { font-size: clamp(32px, 8.6vw, 40px); }
  .centered-heading { text-align: left; }
  .centered-heading .eyebrow { justify-content: flex-start; }
  .centered-heading .eyebrow::after { display: none; }
  .centered-heading p { margin-inline: 0; }
  .centered-actions { justify-content: flex-start; }
  .therapy-note { justify-content: flex-start; }
  .doctor-photo-note { left: 12px; right: 12px; bottom: 12px; }
  .future-office-strip { grid-template-columns: minmax(0, 1fr); }
  .expedited-section, .cta-section, .simple-callout, .delivery-card { padding: 34px 24px; }
  .simple-callout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .connections-head { font-size: 11px; letter-spacing: .14em; }
  .timeline-tabs { gap: 0 12px; }
  .timeline-tabs button { font-size: 13px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .team-grid { grid-template-columns: minmax(0, 1fr); }
  .lender-list { grid-template-columns: minmax(0, 1fr); }
  .office-hero > img, .therapy-photo > img { aspect-ratio: 4 / 3; }
  .office-info { margin: -40px 12px 0; padding: 24px; }
  .breadcrumbs { margin-bottom: 36px; }
  .intro-description { font-size: 17px; }
  /* Phones: headings fill the width, so the inner-page lupines would sit behind the text. */
  .page-intro::after { display: none; }
  .service-paths article { min-height: 0; }
  .request-option { padding: 18px; }
  .faq-answer { padding-right: 0; }

  .contact-dock { display: none; }
  .mobile-contact-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: grid; grid-template-columns: .9fr 1.3fr; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(248, 249, 245, .96); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .mobile-contact-bar > a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-size: 14px; font-weight: 500; }
  .mobile-contact-bar > a:first-child { border: 1px solid var(--line-strong); color: var(--ink); }
  .mobile-contact-bar > a:last-child { background: var(--ink); color: var(--paper); }
  .mobile-contact-bar svg { width: 16px; height: 16px; }
  body.menu-open .mobile-contact-bar { display: none; }
}
@media (max-width: 380px) {
  .container, .container.reading-width { width: calc(100% - 32px); }
  .utility-office > span { gap: 6px; }
  .brand > span { font-size: 28px; }
}
