/* Philosophy of Beauty, page templates. Shared by /homepage/b/ and /service/a/. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --linen: #fafaf8;
  --ink: #141414;
  --ink-2: #474747;
  --muted: #666666;
  --steel: #cfd1d3;
  --steel-panel: #eeefef;
  --scrub: #141414;
  --scrub-2: #1f1f1f;
  --on-scrub: #f2f2f0;
  --on-scrub-2: #b9b9b5;
  --on-scrub-line: rgba(242, 242, 240, 0.16);
  --thread: #d2386c;
  --thread-ink: #b0285a;
  --thread-press: #b92e5d;

  --wrap: 1360px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(72px, 9vw, 136px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --fs-h1: clamp(2.5rem, 1.35rem + 3.9vw, 5rem);
  --fs-h2: clamp(2rem, 1.4rem + 1.9vw, 3.25rem);
  --fs-statement: clamp(1.75rem, 1rem + 2.6vw, 3.5rem);
  --fs-h3: 1.375rem;
  --fs-lead: clamp(1.1875rem, 1.05rem + 0.45vw, 1.4375rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

::selection { background: var(--ink); color: var(--linen); }
.scrub ::selection, .site-footer ::selection { background: var(--on-scrub); color: var(--ink); }
:focus-visible { outline: 2px dashed var(--thread); outline-offset: 3px; }
html { scrollbar-color: #9a9c9e var(--linen); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--linen); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type roles */
.h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -0.022em; }
.h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink); }
.body-2 { color: var(--ink-2); }
.small { font-size: var(--fs-small); line-height: 1.5; }
.muted { color: var(--muted); }
/* The wide silver wall letters, used for the clinic's own statement lines */
.statement {
  font-size: var(--fs-statement);
  font-stretch: 125%;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.measure { max-width: 64ch; }
/* Label voice: the wide wall lettering at label size. Sentence case, per unslop. */
.label { font-stretch: 125%; font-weight: 450; letter-spacing: 0.01em; font-size: 0.8125rem; }

/* Running stitch, from the scrub embroidery. One per screen. */
.stitch {
  display: block;
  height: 2px;
  width: 100%;
  max-width: 240px;
  background: repeating-linear-gradient(90deg, var(--thread) 0 10px, transparent 10px 16px);
}
.js .stitch[data-sew] { clip-path: inset(0 100% 0 0); transition: clip-path 1100ms var(--ease); }
.js .stitch[data-sew].is-sewn { clip-path: inset(0 0 0 0); }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 24px;
  border: 1px solid transparent; border-radius: 2px;
  font-weight: 500; font-size: 1rem; line-height: 1; text-decoration: none;
  cursor: pointer; text-align: center;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-thread { background: var(--thread); color: #fff; }
.btn-thread:hover { background: var(--thread-press); }
.btn-ink { background: var(--ink); color: var(--linen); }
.btn-ink:hover { background: #2c2c2c; }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.scrub .btn-line:hover, .site-footer .btn-line:hover { background: var(--on-scrub); color: var(--ink); border-color: var(--on-scrub); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 160ms var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 248, 0.97);
  border-bottom: 1px solid var(--steel);
}
.header-row { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.logo { flex: none; display: block; }
.logo img { width: 132px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav > a, .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 12px; border: 0; background: none;
  font-size: 0.9375rem; font-weight: 450; text-decoration: none; cursor: pointer; color: var(--ink);
  border-radius: 2px;
}
.nav > a:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: var(--steel-panel); }
.nav-trigger svg { width: 16px; height: 16px; transition: transform 160ms var(--ease); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.header-actions .btn, .nav-trigger { white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; }
.menu-toggle { display: none; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--linen); border-bottom: 1px solid var(--steel);
  box-shadow: 0 18px 30px -18px rgba(20, 20, 20, 0.25);
  padding: 32px 0 40px;
}
.mega[hidden] { display: none; }
.mega-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 32px; }
.mega-col h3 { font-size: 0.9375rem; font-weight: 600; line-height: 1.35; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--steel); }
.mega-col h3 a { text-decoration: none; }
.mega-col li a { display: block; padding: 5px 0; font-size: 0.9375rem; line-height: 1.35; color: var(--ink-2); text-decoration: none; }
.mega-col li a:hover { color: var(--ink); text-decoration: underline; }
.mega-col + .mega-col.is-sub { margin-top: 0; }
.mega-small { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 900px; }

/* Sections */
.sec { padding-block: var(--sec); }
.sec-tight { padding-block: clamp(48px, 6vw, 88px); }
.scrub { background: var(--scrub); color: var(--on-scrub); }
.scrub .body-2, .scrub .muted { color: var(--on-scrub-2); }
.panel { background: var(--steel-panel); }
.rule { border: 0; border-top: 1px solid var(--steel); margin: 0; }
.scrub .rule { border-top-color: var(--on-scrub-line); }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head p { color: var(--ink-2); }
.scrub .sec-head p { color: var(--on-scrub-2); }

/* Consultation panel (hero) */
.consult {
  background: var(--scrub); color: var(--on-scrub);
  padding: clamp(24px, 2.6vw, 36px);
  width: min(100%, 460px);
}
.consult h2 { font-size: 1.5rem; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 20px; }
.consult .sub { color: var(--on-scrub-2); font-size: 0.9375rem; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 0.8125rem; font-weight: 500; color: var(--on-scrub-2); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--scrub-2); color: var(--on-scrub);
  border: 1px solid rgba(242, 242, 240, 0.22); border-radius: 2px;
  caret-color: var(--thread);
}
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8f8f8b; }
.field input:hover, .field textarea:hover { border-color: rgba(242, 242, 240, 0.45); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--thread); }
.field input:user-invalid { border-color: #e27a9b; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 4px; }
.form-actions .btn { flex: 1 1 auto; }
.call-alt { color: var(--on-scrub-2); font-size: 0.9375rem; }
.call-alt a { color: var(--on-scrub); font-weight: 500; font-variant-numeric: tabular-nums; }
.form-note { font-size: 0.8125rem; color: var(--on-scrub-2); margin-top: 12px; min-height: 1.2em; }
.form-note:empty { display: none; }

/* Hero, homepage */
.hero { position: relative; background: #bdb7af; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; }
.hero-inner { position: relative; min-height: clamp(600px, 78svh, 820px); display: grid; grid-template-rows: 1fr auto; padding-block: clamp(40px, 5vw, 72px) 0; }
.hero-copy { max-width: 15.5em; font-size: var(--fs-h1); }
.hero h1 { font-size: 1em; line-height: 1.0; letter-spacing: -0.03em; font-weight: 500; color: var(--ink); }
.hero-sub { font-size: var(--fs-lead); line-height: 1.5; max-width: 30em; margin-top: 24px; color: #222; }
.hero-proof { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 0.9375rem; color: #222; }
.stars { display: inline-flex; gap: 2px; color: var(--ink); }
.stars svg { width: 14px; height: 14px; fill: currentColor; }
.hero .consult { align-self: end; margin-bottom: 0; transform: translateY(0); }

/* Intro */
.intro-lead { font-size: clamp(1.375rem, 1.05rem + 1vw, 2rem); line-height: 1.35; letter-spacing: -0.012em; max-width: 34em; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; margin-top: clamp(56px, 7vw, 104px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--steel); }
.intro-grid .copy { color: var(--ink-2); max-width: 62ch; }
.intro-grid .copy .btn { margin-top: 12px; }

/* Three photo stories */
.stories { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: start; }
.story { display: block; text-decoration: none; }
.story-img { overflow: hidden; background: var(--steel-panel); aspect-ratio: 683 / 900; }
.story:nth-child(2) { margin-top: clamp(40px, 6vw, 96px); }
.story:nth-child(3) { margin-top: clamp(16px, 2.5vw, 40px); }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.story:hover .story-img img { transform: scale(1.025); }
.story h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ink); font-size: 1.1875rem; }
.cap { display: inline-block; }
.cap::first-letter { text-transform: uppercase; }
.story h3 svg { width: 18px; height: 18px; flex: none; }

/* Procedures index */
.proc-list { border-top: 1px solid var(--ink); }
.proc {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 3fr);
  gap: 24px 48px; padding: 32px 0; border-bottom: 1px solid var(--steel);
  align-items: start;
}
.proc h3 { font-size: clamp(1.625rem, 1.2rem + 1.1vw, 2.375rem); line-height: 1.05; letter-spacing: -0.02em; }
.proc h3 a { text-decoration: none; }
.proc h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.proc p { color: var(--ink-2); }
.proc p a { color: var(--ink); }
.proc .link-arrow { margin-top: 16px; font-size: 0.9375rem; }
.proc-img { aspect-ratio: 520 / 300; overflow: hidden; background: var(--steel-panel); }
.proc-img img { width: 100%; height: 100%; object-fit: cover; }

/* Scrub strip */
.strip-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: center; }
.strip-lines { display: grid; gap: 0; border-top: 1px solid var(--on-scrub-line); }
.strip-lines li { padding: 14px 0; border-bottom: 1px solid var(--on-scrub-line); color: var(--on-scrub-2); font-size: 1.0625rem; display: flex; justify-content: space-between; gap: 16px; }
.strip-lines li span:last-child { color: #8d8d89; font-variant-numeric: tabular-nums; font-size: 0.875rem; }
.strip .stitch { margin: 28px 0; }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: stretch; }
.founder-media { position: relative; min-height: 560px; background: #e9e9e7; }
.founder-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.founder-media figcaption { position: absolute; left: var(--gutter); bottom: 24px; background: var(--linen); padding: 8px 14px; border-bottom: 2px solid var(--thread); }
.founder-copy { padding: var(--sec) var(--gutter); max-width: 720px; }
.founder-copy h2 a { text-decoration: none; }
.founder-copy h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.founder-copy .copy { color: var(--ink-2); margin-top: 28px; }
.founder-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 32px; }

/* Standards */
.standards-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; margin-top: clamp(48px, 6vw, 88px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--on-scrub-line); }
.standards-grid .copy { color: var(--on-scrub-2); max-width: 62ch; }
.standards-grid .btn { margin-top: 16px; }

/* Gift + logos */
.gift { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px 64px; align-items: center; }
.gift-card {
  aspect-ratio: 1.586; width: min(100%, 440px); justify-self: end;
  background: var(--scrub); color: var(--on-scrub); padding: 28px; position: relative;
  display: grid; align-content: space-between;
  box-shadow: 0 30px 50px -28px rgba(20, 20, 20, 0.55);
  transform: rotate(-3deg);
}
.gift-card img { width: 128px; filter: invert(1); }
.gift-card .gc-line { display: flex; justify-content: space-between; align-items: end; font-size: 0.875rem; color: var(--on-scrub-2); }
.gift-card .stitch { max-width: none; margin-bottom: 14px; }
.gift-copy p { color: var(--ink-2); margin-top: 16px; }
.gift-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 28px; }
.logo-wall { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--steel); border-left: 1px solid var(--steel); margin-top: clamp(56px, 7vw, 96px); }
.logo-wall li { border-right: 1px solid var(--steel); border-bottom: 1px solid var(--steel); display: grid; place-items: center; aspect-ratio: 2 / 1; padding: 14px 18px; background: #fff; }
.logo-wall img { max-height: 44px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.85; mix-blend-mode: multiply; }
.logo-caption { margin-top: 14px; }

/* Financing */
.finance { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--steel); padding-block: clamp(36px, 4vw, 56px); }
.finance p { color: var(--ink-2); font-size: var(--fs-lead); line-height: 1.45; }
.finance .link-arrow { margin-top: 20px; }

/* Gallery */
.gallery-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; align-items: end; margin-bottom: 40px; }
.gallery-head p { color: var(--ink-2); }
.connect { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 0.9375rem; }
.connect span { margin-right: 6px; color: var(--muted); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--steel); border-radius: 2px; color: var(--ink); text-decoration: none; transition: background-color 160ms var(--ease), border-color 160ms var(--ease); }
.icon-btn:hover { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.scrub .icon-btn, .site-footer .icon-btn { border-color: var(--on-scrub-line); color: var(--on-scrub); }
.scrub .icon-btn:hover, .site-footer .icon-btn:hover { background: var(--on-scrub); color: var(--ink); }
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 320px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.reel li { scroll-snap-align: start; }
.reel figure { margin: 0; }
.reel img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--steel-panel); }
.reel figcaption { padding-top: 10px; font-size: 0.9375rem; font-weight: 500; display: flex; justify-content: space-between; gap: 8px; }
.reel figcaption span { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.reel-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; }
.reel-ctrl { display: flex; gap: 8px; }
.reel-ctrl button { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid var(--ink); border-radius: 2px; cursor: pointer; }
.reel-ctrl button:hover { background: var(--ink); color: var(--linen); }
.reel-ctrl svg { width: 18px; height: 18px; }
.disclaimer { font-size: 0.875rem; color: var(--muted); font-style: normal; }

/* Reviews */
.reviews { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; align-items: start; }
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.video { position: relative; display: block; overflow: hidden; background: var(--steel-panel); aspect-ratio: 781 / 909; }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video .play { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; background: var(--linen); padding: 8px 14px 8px 10px; font-size: 0.875rem; font-weight: 500; }
.video .play svg { width: 22px; height: 22px; }
.video:hover .play { background: var(--ink); color: var(--linen); }
.rating { display: flex; align-items: center; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--ink); }
.rating strong { font-size: 3rem; line-height: 1; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rating .stars svg { width: 18px; height: 18px; }
.quotes li { padding: 24px 0; border-bottom: 1px solid var(--steel); }
.quotes blockquote { margin: 0; font-size: 1.125rem; line-height: 1.55; }
.quotes .who { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: 0.875rem; }
.quotes .who span { color: var(--muted); }
.review-links { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 24px; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; align-items: start; }
.faq-side { position: sticky; top: 112px; }
.faq-side .btn { margin-top: 28px; }
.qa { border-top: 1px solid var(--ink); }
.qa details { border-bottom: 1px solid var(--steel); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 22px 0; font-size: 1.1875rem; font-weight: 500; line-height: 1.35;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--thread-ink); }
.qa summary .pm { flex: none; width: 20px; height: 20px; position: relative; }
.qa summary .pm::before, .qa summary .pm::after { content: ""; position: absolute; left: 2px; right: 2px; top: 9px; height: 1.5px; background: currentColor; transition: transform 200ms var(--ease); }
.qa summary .pm::after { transform: rotate(90deg); }
.qa details[open] summary .pm::after { transform: rotate(0deg); }
.qa .answer { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 70ch; }

/* Resources */
.resources { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.res { min-width: 0; display: grid; grid-template-rows: auto 1fr; text-decoration: none; border-top: 1px solid var(--ink); }
.res-img { aspect-ratio: 297 / 400; overflow: hidden; background: var(--steel-panel); margin-top: 16px; }
.res-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.res:hover .res-img img { transform: scale(1.025); }
.res h3 { padding-top: 14px; font-size: 1.1875rem; display: flex; justify-content: space-between; align-items: center; }
.res h3 svg { width: 18px; height: 18px; }
.res-text { margin-top: 16px; background: var(--scrub); color: var(--on-scrub); padding: 24px; display: grid; align-content: space-between; gap: 24px; aspect-ratio: 297 / 400; }
.res-text p { color: var(--on-scrub-2); font-size: 0.9375rem; }
.res-text .big { font-size: 1.375rem; color: var(--on-scrub); font-variant-numeric: tabular-nums; line-height: 1.3; }

/* Welcome blurb */
.welcome summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.welcome summary::-webkit-details-marker { display: none; }
.welcome summary p { font-size: var(--fs-lead); line-height: 1.5; max-width: 52em; }
.welcome .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.welcome[open] .more .closed, .welcome:not([open]) .more .opened { display: none; }
.welcome-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: 40px; border-top: 1px solid var(--steel); }
.welcome-items div { padding: 24px 0; border-bottom: 1px solid var(--steel); }
.welcome-items h3 { font-size: 1.125rem; margin-bottom: 8px; }
.welcome-items p { color: var(--ink-2); font-size: 0.9875rem; }
.welcome-close { margin-top: 28px; color: var(--ink-2); max-width: 70ch; }

/* ZO shop band */
.zo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 64px; align-items: center; }
.zo-sub { color: var(--on-scrub-2); font-size: var(--fs-lead); margin-top: 14px; }
.zo-sub::first-letter { text-transform: uppercase; }
.zo-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.zo-actions-end { justify-self: end; margin-top: 0; }
.zo-media { justify-self: end; width: min(100%, 340px); aspect-ratio: 297 / 500; overflow: hidden; }
.zo-media img { width: 100%; height: 100%; object-fit: cover; }

/* Footer */
.site-footer { background: var(--scrub); color: var(--on-scrub); padding-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--on-scrub-line); }
.footer-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); gap: 48px 56px; }
.site-footer h3 { font-size: 1.125rem; margin-bottom: 20px; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--on-scrub-line); color: var(--on-scrub-2); }
.contact-list li:last-child { border-bottom: 1px solid var(--on-scrub-line); }
.contact-list a { color: var(--on-scrub); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list .icon { margin-top: 3px; color: var(--on-scrub-2); }
.contact-list strong { color: var(--on-scrub); font-weight: 500; font-variant-numeric: tabular-nums; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.map { margin-top: 24px; aspect-ratio: 4 / 3; background: var(--scrub-2); border: 1px solid var(--on-scrub-line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(0.95); display: block; }
.footer-form .field label { color: var(--on-scrub-2); }
.quick { columns: 2; column-gap: 24px; }
.quick li { break-inside: avoid; }
.quick a, .tcol a { display: block; padding: 5px 0; color: var(--on-scrub-2); text-decoration: none; font-size: 0.9375rem; line-height: 1.4; }
.quick a:hover, .tcol a:hover { color: var(--on-scrub); text-decoration: underline; }
.footer-treat { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 32px 28px; margin-top: clamp(56px, 6vw, 88px); padding-top: 40px; border-top: 1px solid var(--on-scrub-line); }
.tcol h4 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 10px; }
.tcol h4 a { color: var(--on-scrub); text-decoration: none; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; margin-top: 56px; padding-block: 28px 32px; border-top: 1px solid var(--on-scrub-line); color: #8d8d89; font-size: 0.8125rem; }
.footer-base a { color: var(--on-scrub-2); }
.footer-logo img { width: 150px; filter: invert(1); }

/* Mobile action bar */
.action-bar { display: none; }

/* ===== Service template ===== */
.crumbs { font-size: 0.875rem; color: var(--muted); padding-top: 24px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #9a9c9e; }
.crumbs a { color: var(--ink-2); }
.svc-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 64px; padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(56px, 7vw, 96px); align-items: start; }
.svc-hero h1 { font-size: var(--fs-h1); line-height: 1.0; letter-spacing: -0.03em; max-width: 12em; }
.svc-hero .lead { margin-top: 32px; max-width: 34em; }
.svc-hero .copy { margin-top: 20px; color: var(--ink-2); max-width: 62ch; }
.svc-media { position: relative; }
.svc-media .photo { aspect-ratio: 683 / 860; overflow: hidden; background: var(--steel-panel); }
.svc-media .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.svc-media .consult { width: calc(100% - 32px); margin: -96px 0 0 auto; position: relative; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--steel); }
.facts > div { padding: 20px 24px 22px 0; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--steel); }
.facts dt { font-size: 0.8125rem; color: var(--muted); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 1.1875rem; font-weight: 500; line-height: 1.3; font-variant-numeric: tabular-nums; }

.svc-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding-block: var(--sec); }
.toc { position: sticky; top: 108px; align-self: start; font-size: 0.875rem; }
.toc p { margin-bottom: 12px; color: var(--ink); }
.toc ol { border-left: 1px solid var(--steel); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.is-here { border-left-color: var(--thread); color: var(--ink); font-weight: 500; }
.svc-sec { padding-bottom: clamp(56px, 6vw, 88px); margin-bottom: clamp(56px, 6vw, 88px); border-bottom: 1px solid var(--steel); }
.svc-sec:last-child { border-bottom: 0; margin-bottom: 0; }
.svc-sec h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -0.022em; margin-bottom: 28px; max-width: 18em; }
.svc-sec .copy { color: var(--ink-2); max-width: 66ch; }
.svc-sec .copy p:first-child { color: var(--ink); font-size: var(--fs-lead); line-height: 1.5; }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: start; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--ink); counter-reset: step; }
.steps li { padding: 20px 20px 4px 0; position: relative; }
.steps li + li { padding-left: 20px; border-left: 1px solid var(--steel); }
.steps svg { width: 40px; height: 40px; stroke: var(--ink); stroke-width: 1.25; fill: none; stroke-linecap: round; stroke-linejoin: round; margin: 6px 0 18px; }
.steps .n { font-size: 0.8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps strong { display: block; font-size: 1.1875rem; font-weight: 500; }
.steps-note { margin-top: 16px; font-size: 0.875rem; color: var(--muted); }

.cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); margin: 8px 0 28px; }
.cells li { padding: 18px 0; border-bottom: 1px solid var(--steel); font-size: 1.25rem; font-weight: 500; }
.cells li:nth-child(odd) { padding-right: 24px; }
.cells li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--steel); }
.caution { background: var(--steel-panel); padding: 24px 28px; margin-top: 24px; color: var(--ink); max-width: 66ch; }

.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); margin-top: 8px; }
.timeline li { padding: 20px 24px 0 0; }
.timeline li + li { padding-left: 24px; border-left: 1px solid var(--steel); }
.timeline .n { font-size: 0.8125rem; color: var(--muted); display: block; margin-bottom: 10px; }
.timeline p { color: var(--ink-2); font-size: 1rem; }

.plain-list li { padding: 14px 0; border-bottom: 1px solid var(--steel); color: var(--ink-2); max-width: 66ch; }
.plain-list li:first-child { border-top: 1px solid var(--ink); color: var(--ink); font-weight: 500; }

.zo-sec { background: var(--scrub); color: var(--on-scrub); padding: clamp(32px, 4vw, 56px); margin-inline: calc(-1 * clamp(0px, 2vw, 32px)); }
.zo-sec h2 { color: var(--on-scrub); }
.zo-sec .copy { color: var(--on-scrub-2); }
.zo-sec .copy p:first-child { color: var(--on-scrub); }
.zo-sec .split { align-items: center; }
.zo-sec .zo-media { justify-self: stretch; width: 100%; aspect-ratio: 297 / 420; }

.areas { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--steel); margin: 8px 0 28px; }
.areas li { padding: 16px 12px; border-right: 1px solid var(--steel); border-bottom: 1px solid var(--steel); font-weight: 500; text-align: center; }
.led { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; max-width: 640px; }
.led li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--steel); }
.led .dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.led .blue { background: #3c62b4; }
.led .red { background: #bf4540; }

.blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.block { padding: 28px 0 32px; border-top: 1px solid var(--ink); }
.block h3 { font-size: 1.5rem; letter-spacing: -0.015em; margin-bottom: 16px; }
.block p { color: var(--ink-2); }
.tiers { margin: 4px 0 16px; }
.tiers li { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--steel); }
.tiers li strong { font-weight: 500; }
.tiers li span { color: var(--ink-2); }
.pairs li { padding: 12px 0; border-bottom: 1px solid var(--steel); color: var(--ink-2); }
.pairs a { color: var(--ink); }

.why { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 64px; align-items: center; }
.why .copy { color: var(--on-scrub-2); margin-top: 28px; max-width: 58ch; }
.why .btn { margin-top: 32px; }
.why-media { aspect-ratio: 683 / 860; overflow: hidden; width: min(100%, 420px); justify-self: end; }
.why-media img { width: 100%; height: 100%; object-fit: cover; }

.cities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); margin-top: 32px; }
.cities li { padding: 18px 0; border-bottom: 1px solid var(--steel); font-size: 1.25rem; font-weight: 500; }
.cities li:not(:nth-child(4n+1)) { padding-left: 24px; border-left: 1px solid var(--steel); }
.welcome-row { display: grid; grid-template-columns: minmax(0, 8fr) auto; gap: 24px 48px; align-items: end; }

.testimonials { columns: 3; column-gap: 40px; margin-top: 8px; }
.testimonials li { break-inside: avoid; padding: 24px 0; border-top: 1px solid var(--steel); }
.testimonials blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.6; }
.testimonials blockquote p + p { margin-top: 0.8em; }
.testimonials .who { margin-top: 14px; font-size: 0.875rem; font-weight: 500; display: flex; justify-content: space-between; gap: 12px; }
.testimonials .who span { color: var(--muted); font-weight: 400; }

/* ===== Responsive ===== */
@media (max-width: 1180px) {
  .nav > a.hide-md { display: none; }
  .mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-treat { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .logo-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .svc-body { grid-template-columns: 200px minmax(0, 1fr); gap: 48px; }
  .testimonials { columns: 2; }
}

@media (max-width: 960px) {
  html { scroll-padding-top: 76px; }
  .header-row { min-height: 64px; gap: 16px; }
  .logo img { width: 112px; }
  .nav { display: none; }
  .header-phone .num { display: none; }
  .header-phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--steel); border-radius: 2px; }
  .header-actions { margin-left: auto; gap: 8px; }
  .header-actions .btn { min-height: 44px; padding: 0 16px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--ink); background: none; border-radius: 2px; cursor: pointer; }
  .menu-toggle svg { width: 20px; height: 20px; }
  .mega { position: fixed; top: 64px; bottom: 0; overflow-y: auto; padding: 24px 0 120px; box-shadow: none; }
  .mega-grid, .mega-small { grid-template-columns: 1fr 1fr; }
  .mobile-only { display: block !important; }

  .sec-head, .intro-grid, .standards-grid, .gift, .finance, .gallery-head, .reviews, .faq, .zo, .strip-inner, .why, .split, .svc-hero { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .founder { grid-template-columns: 1fr; }
  .founder-media { min-height: 0; aspect-ratio: 4 / 4.4; }
  .founder-copy { padding-block: 56px 72px; }
  .proc { grid-template-columns: 1fr 1fr; }
  .proc h3 { grid-column: 1 / -1; }
  .stories { grid-template-columns: 1fr 1fr; }
  .story:nth-child(3) { grid-column: 1 / -1; margin-top: 0; }
  .story:nth-child(3) .story-img { aspect-ratio: 16 / 10; }
  .resources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .welcome-items { grid-template-columns: 1fr 1fr; }
  .gift-card { justify-self: start; }
  .zo-media { justify-self: start; width: min(100%, 300px); }
  .zo-actions-end { justify-self: start; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .footer-treat { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .svc-body { grid-template-columns: 1fr; }
  .toc { display: none; }
  .svc-media { max-width: 560px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--steel); }
  .areas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .why-media { justify-self: start; }
  .cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cities li:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .cities li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--steel); }
  .welcome-row { grid-template-columns: 1fr; }

  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--linen); border-top: 1px solid var(--steel);
  }
  .action-bar .btn { min-height: 48px; }
  .action-bar .btn-line { background: var(--linen); color: var(--ink); }
  body { padding-bottom: 72px; }
}

@media (max-width: 640px) {
  .hero { background: var(--linen); }
  .hero-media { position: relative; inset: auto; aspect-ratio: 4 / 3.3; }
  .hero-media img { object-position: 74% 40%; }
  .hero-inner { min-height: 0; padding-top: 28px; display: block; }
  .hero-copy { max-width: none; }
  .hero-sub { margin-top: 16px; }
  .hero .consult { margin: 28px calc(-1 * var(--gutter)) 0; width: auto; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .stories { grid-template-columns: 1fr; }
  .story:nth-child(2), .story:nth-child(3) { margin-top: 8px; }
  .story-img, .story:nth-child(3) .story-img { aspect-ratio: 4 / 4.2; }
  .proc { grid-template-columns: 1fr; padding: 28px 0; gap: 16px; }
  .proc-img { order: -1; }
  .resources { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .res-text { padding: 16px; }
  .res-text .big { font-size: 1.0625rem; }
  .res-text p { font-size: 0.8125rem; }
  .welcome-items { grid-template-columns: 1fr; }
  .welcome summary { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .logo-wall li { padding: 8px 8px; }
  .videos { grid-template-columns: 1fr 1fr; gap: 12px; }
  .video .play { left: 10px; bottom: 10px; padding: 6px 10px 6px 8px; font-size: 0.8125rem; }
  .qa summary { font-size: 1.0625rem; padding: 18px 0; }
  .qa .answer { padding-right: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-treat { grid-template-columns: 1fr 1fr; }
  .gift-card { transform: rotate(-2deg); padding: 22px; }

  .svc-media .consult { width: auto; margin: -48px calc(-1 * var(--gutter)) 0; }
  .steps, .timeline { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3), .timeline li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3), .timeline li:nth-child(n+3) { border-top: 1px solid var(--steel); margin-top: 16px; }
  .cells { grid-template-columns: 1fr; }
  .cells li:nth-child(even) { padding-left: 0; border-left: 0; }
  .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .led { grid-template-columns: 1fr; }
  .blocks { grid-template-columns: 1fr; }
  .tiers li { grid-template-columns: 1fr; gap: 2px; }
  .testimonials { columns: 1; }
  .zo-sec { margin-inline: calc(-1 * var(--gutter)); padding: 40px var(--gutter); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .stitch[data-sew] { clip-path: none; }
}
