/* eliwit v3.1 — white, neo-grotesk, uppercase text links, one electric-blue accent (SPEC_V3_1 "NEW SITE STYLE").
   Shared by the homepage, /fitting-room/ and /guide/. No glass, grain, fluid, trail or pill buttons anywhere. */
@font-face { font-family: 'Inter Tight'; src: url('../fonts/inter-tight-latin-var.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../fonts/instrument-serif-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #ffffff; --ink: #0d0d0d; --ink-2: #555555; --ink-3: #6b6b6b; --line: #d9d9d9; --hair: rgba(13, 13, 13, .14);
  --blue: #1414ff; --err: #c4001a;
  --sans: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --g: 20px;                 /* outer gutter (the reference's 20 px) */
  --hdr: 66px;
  --ease: cubic-bezier(.22, .61, .21, 1);
}
@media (max-width: 767px) { :root { --g: 16px; --hdr: 58px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.45 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, canvas, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: var(--g); top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; font-weight: 600; font-size: 13px; letter-spacing: .02em; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- labels, numbers, text links ---------- */
.lab { font: 400 15px/1 var(--serif); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); font-stretch: condensed; }
.sec-n i, .hero-index i, .scroll-cue i { font: italic 400 30px/1 var(--serif); letter-spacing: 0; }
.tl { display: inline-flex; align-items: baseline; gap: .45em; font: 700 15px/1 var(--sans); letter-spacing: .01em; text-transform: uppercase; text-decoration: none; color: var(--ink);
  background: none; border: 0; padding: 12px 0; cursor: pointer; position: relative; }
.tl::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.tl:hover::after, .tl:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.tl span[aria-hidden] { transition: transform .45s var(--ease); display: inline-block; }
.tl:hover span[aria-hidden] { transform: translateX(4px); }
.tl.light { color: var(--ink-2); }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--hdr); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--g);
  color: var(--ink); transition: color .35s var(--ease); pointer-events: none; }
.hdr > * { pointer-events: auto; }
.hdr::before { content: ''; position: absolute; inset: 0; background: #fff; opacity: 0; transition: opacity .35s var(--ease); z-index: -1; }
html.past-film .hdr::before { opacity: 1; }
html[data-tone="dark"] .hdr, html.menu-open .hdr.over-dark { color: #fff; }
/* SPEC_V3_3: each header part follows the luminance of the frame under it (film.js headerTone) */
.hdr > .on-dark { color: #fff; } .hdr > .on-light { color: var(--ink); }
.hdr > .on-mixed.on-dark { text-shadow: 0 0 2px rgba(0, 0, 0, .55), 0 0 10px rgba(0, 0, 0, .45); }
.hdr > .on-mixed.on-light { text-shadow: 0 0 2px rgba(255, 255, 255, .7), 0 0 10px rgba(255, 255, 255, .6); }
.hdr > * { transition: color .3s var(--ease); }
html.menu-open .hdr, html.menu-open .hdr > * { color: var(--ink); }
.wm { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; justify-self: start; }
.wm b { font: 700 27px/1 var(--sans); letter-spacing: -.045em; }
.wm small { font: 500 12px/1 var(--sans); letter-spacing: .01em; }
.menu-btn { justify-self: center; width: 108px; height: 40px; background: none; border: 0; cursor: pointer; display: grid; align-content: center; gap: 5px; padding: 0; }
.menu-btn i { display: block; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.menu-btn:hover i:first-of-type { transform: translateY(-1px); }
.menu-btn:hover i:last-of-type { transform: translateY(1px); }
html.menu-open .menu-btn i:first-of-type { transform: translateY(3px) rotate(6deg); }
html.menu-open .menu-btn i:last-of-type { transform: translateY(-3px) rotate(-6deg); }
.hnav { justify-self: end; display: flex; gap: 22px; }
.hnav a { font: 700 14px/1 var(--sans); text-decoration: none; letter-spacing: .01em; padding: 10px 0; }
.hnav a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
@media (max-width: 767px) {
  .wm b { font-size: 23px; } .wm small { display: none; }
  .menu-btn { width: 44px; }
  .hnav { gap: 10px; } .hnav a { font-size: 11px; }
}
@media (max-width: 380px) { .hnav a:first-child { display: none; } }

/* full-screen white menu */
.menu { position: fixed; inset: 0; z-index: 39; background: #fff; color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--hdr) + 6vh) var(--g) var(--g); }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font: 600 clamp(44px, 8.4vw, 128px)/.92 var(--sans); letter-spacing: -.045em; text-decoration: none; display: flex; align-items: baseline; gap: 16px; padding: 2px 0; transition: color .3s; }
.menu nav a i { font: italic 400 22px/1 var(--serif); letter-spacing: 0; width: 2.2em; color: var(--ink-3); }
.menu nav a:hover { color: var(--blue); }
.menu-foot { display: flex; flex-wrap: wrap; gap: 8px 28px; font: 700 13px/1.3 var(--sans); text-transform: uppercase; }
.menu-foot a { text-decoration: none; }
.menu.anim nav a { animation: mIn .7s var(--ease) both; }
.menu.anim nav a:nth-child(2) { animation-delay: .04s; } .menu.anim nav a:nth-child(3) { animation-delay: .08s; } .menu.anim nav a:nth-child(4) { animation-delay: .12s; } .menu.anim nav a:nth-child(5) { animation-delay: .16s; }
@keyframes mIn { from { opacity: 0; transform: translateY(30px); } }

/* ---------- page dots (minimal; white over dark frames) ---------- */
.dots { position: fixed; left: 2px; top: 50%; transform: translateY(-50%); z-index: 30; display: flex; flex-direction: column; gap: 4px; transition: opacity .6s var(--ease), visibility .6s; }
html.at-hero .dots { opacity: 0; visibility: hidden; } /* SPEC_V3_3: hidden on the hero, fade in from chapter 1 */
.dots a { display: grid; place-items: center; width: 20px; height: 18px; }
.dots a::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: rgba(13, 13, 13, .32); transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-radius .35s; }
.dots a.on::before { width: 2px; height: 14px; border-radius: 1px; background: var(--ink); }
html[data-tone="dark"] .dots a::before { background: rgba(255, 255, 255, .55); }
html[data-tone="dark"] .dots a.on::before { background: #fff; }
.dots span { position: absolute; left: 26px; white-space: nowrap; font: 700 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .02em; opacity: 0; transform: translateX(-4px); transition: .25s; pointer-events: none; }
.dots a:hover span, .dots a:focus-visible span { opacity: 1; transform: none; }
@media (max-width: 767px) { .dots { display: none; } }

/* ---------- fixed text link CTA ---------- */
.fixedcta { position: fixed; right: var(--g); bottom: 18px; z-index: 30; font: 700 13px/1 var(--sans); letter-spacing: .01em; text-decoration: none; color: var(--ink);
  padding: 10px 0 10px 12px; background: #fff; transition: opacity .35s var(--ease), transform .35s var(--ease), color .35s, background .35s; }
html.in-film .fixedcta { background: transparent; }
.fixedcta span { display: inline-block; transition: transform .35s var(--ease); }
.fixedcta:hover span { transform: translateX(4px); }
.fixedcta.away { opacity: 0; transform: translateY(8px); pointer-events: none; }
/* v3.16 §2: phones, the salon (and its transitions): her frame runs to the screen's bottom edge, where the chair is black mid-turn, so the
   corner link sits on a soft light pill there instead of stepping aside (site.js adds .pill) */
html.in-film .fixedcta.pill { background: rgba(255, 255, 255, .9); padding: 10px 14px; border-radius: 999px; right: calc(var(--g) - 6px); }
html[data-tone="dark"] .fixedcta { color: #fff; }

/* ---------- sections ---------- */
.block { padding: clamp(96px, 14vw, 180px) var(--g) 0; position: relative; }
.sec-top { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--ink); padding-top: 14px; margin-bottom: clamp(36px, 6vw, 72px); }
.sec-n i { font-size: 26px; }
.sec-h { font: 500 clamp(36px, 5.6vw, 80px)/.98 var(--sans); letter-spacing: -.045em; max-width: 13ch; }
.lead { font: 500 clamp(18px, 1.6vw, 22px)/1.35 var(--sans); letter-spacing: -.01em; max-width: 36em; color: var(--ink); }
.small { font-size: 15px; color: var(--ink-2); }

.why { padding-top: clamp(110px, 16vw, 200px); }
.why .lab { margin-bottom: 28px; }
.manifesto { font: 500 clamp(32px, 5.1vw, 84px)/1.0 var(--sans); letter-spacing: -.045em; max-width: 24ch; text-indent: clamp(48px, 18vw, 300px); }

.process .sec-h { margin-bottom: 18px; }
/* the v3.1–3.7 .steps grid lives on as the v3.8 timeline (bottom of this file) */

.price-big { font: 600 clamp(64px, 13.4vw, 220px)/.86 var(--sans); letter-spacing: -.06em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .2em; }
.price-big span { font: 700 clamp(14px, 1.1vw, 17px)/1 var(--sans); letter-spacing: .01em; color: var(--blue); align-self: flex-start; margin-top: .7em; padding: 5px 8px; border: 1.5px solid var(--blue); }
.price-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; margin-top: clamp(36px, 5vw, 64px); align-items: end; }
.price-side .links { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 18px; }
@media (max-width: 767px) { .price-cols { grid-template-columns: 1fr; gap: 24px; } }

.about-grid { display: grid; grid-template-columns: minmax(220px, .8fr) 1.2fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.photo { aspect-ratio: 4 / 5; background: #f1f1f1; display: grid; place-items: center; }
.photo span { font: 700 12px/1 var(--sans); letter-spacing: .04em; color: var(--ink-3); }
.about-text .sec-h { margin-bottom: 28px; }
.name { font: 700 15px/1.2 var(--sans); letter-spacing: .01em; margin-bottom: 14px; }
.name span { font-weight: 500; color: var(--ink-2); }
.draft-tag { display: inline-block; font: 700 11px/1 var(--sans); letter-spacing: .03em; color: var(--blue); border: 1.5px solid var(--blue); padding: 5px 8px; margin-bottom: 18px; }
@media (max-width: 767px) { .about-grid { grid-template-columns: 1fr; } .photo { max-width: 320px; } }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.contact-info .lead { margin-top: 20px; }
.ways { margin-top: 36px; display: grid; gap: 2px; }
.ways a, .ways span { font: 700 15px/1.6 var(--sans); text-decoration: none; text-transform: uppercase; letter-spacing: .01em; }
.ways a { text-transform: none; }
.ways a:hover { color: var(--blue); }
.form-panel label { display: block; border-top: 1px solid var(--ink); }
.form-panel label:last-of-type { border-bottom: 1px solid var(--ink); }
.form-panel label > span { display: block; font: 700 12px/1 var(--sans); letter-spacing: .02em; padding-top: 12px; }
.form-panel label small { font: inherit; color: var(--ink-3); margin-left: 6px; }
.form-panel input, .form-panel textarea { width: 100%; border: 0; background: transparent; font: 500 18px/1.4 var(--sans); color: var(--ink); padding: 8px 0 12px; border-radius: 0; resize: vertical; }
.form-panel input:focus, .form-panel textarea:focus { outline: none; }
.form-panel label:focus-within { border-top-color: var(--blue); box-shadow: inset 0 1.5px 0 var(--blue); }
.form-panel label:focus-within > span { color: var(--blue); }
.form-panel textarea::placeholder { color: #8a8a8a; }
.form-panel [aria-invalid="true"] { box-shadow: none; }
.form-panel label.bad { border-top-color: var(--err); }
.field-err { display: block; font: 600 13px/1.3 var(--sans); color: var(--err); padding-bottom: 10px; }
.send { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; }
.send .tl { font-size: 17px; }
.form-note { font-size: 13px; color: var(--ink-3); }
.status { margin-top: 14px; font-size: 15px; }
.status a { font-weight: 600; }
.status.err { color: var(--err); }
.prefill { font-size: 14px; color: var(--blue); margin-bottom: 14px; font-weight: 500; }
.sent h3 { font: 600 32px/1 var(--sans); letter-spacing: -.03em; margin-bottom: 10px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { margin-top: clamp(120px, 16vw, 220px); padding: 0 var(--g) 18px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--ink); padding-top: 14px; }
.foot-cols.foot-cols--4 { grid-template-columns: repeat(4, 1fr); }
.foot-cols p { font: 700 13px/1.35 var(--sans); text-transform: uppercase; letter-spacing: .01em; }
.foot-cols a { text-decoration: none; }
.foot-cols a[href^="mailto"] { text-transform: none; }
.foot-cols a:hover { color: var(--blue); }
.foot-base { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: clamp(80px, 12vw, 160px); }
.foot-year { font: 400 clamp(54px, 9vw, 140px)/.8 var(--serif); letter-spacing: -.01em; }
.foot-base nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-base nav a { font: 700 11px/1 var(--sans); letter-spacing: .02em; text-decoration: none; padding: 8px 0; color: var(--ink-2); }
.foot-base nav a:hover { color: var(--ink); }
.foot-mark { font: 700 clamp(54px, 9vw, 140px)/.8 var(--sans); letter-spacing: -.06em; color: var(--blue); }
@media (max-width: 767px) { .foot-cols, .foot-cols.foot-cols--4 { grid-template-columns: 1fr; gap: 12px; } .foot-base { flex-wrap: wrap; } .foot-base nav { order: 3; width: 100%; } }

/* ---------- calm reveals (fade + slide; nothing decorative) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* SPEC_V3_4 §8: the compact three-plan row under the price */
.care-row { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; border-top: 1px solid var(--ink); }
.care-row li { display: grid; gap: 3px; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--hair); }
.care-row b { font: 700 13px/1.2 var(--sans); letter-spacing: .02em; }
.care-row .pop b { color: var(--blue); }
.care-row .cr-p { font-weight: 600; font-variant-numeric: tabular-nums; }
.care-row .cr-l { font-size: 13px; line-height: 1.35; color: var(--ink-2); }
@media (max-width: 560px) { .care-row { grid-template-columns: 1fr; } .care-row li { grid-template-columns: 70px 70px minmax(0, 1fr); align-items: baseline; gap: 8px; } }

/* ================= SPEC_V3_6 Part F — "cut the diamond": fix, don't add ================= */
/* F10 one spacing scale: 8 / 16 / 24 / 40 / 64 / 96 / 128. Every section: 128 px above (96 on phones), the label row 64 px
   (40) above its content; one baseline for labels and numbers. */
:root { --s-sec: 128px; --s-top: 64px; }
@media (max-width: 767px) { :root { --s-sec: 96px; --s-top: 40px; } }
.block, .why { padding-top: var(--s-sec); }
.sec-top { margin-bottom: var(--s-top); align-items: baseline; }
.sec-top .lab, .sec-n { line-height: 1; }
/* F1 the page dots get their own 40 px column; content never starts under them (1280 / 1440 / 1920) */
@media (min-width: 768px) {
  .block, .foot { padding-left: max(var(--g), 44px); }
  .dots { left: 6px; }
}
/* F2 anchors land below the sticky header */
[id] { scroll-margin-top: calc(var(--hdr) + 24px); }
/* F3 manifesto: a flush-left block on the label's left line (the deep first-line indent read as a mistake) */
.manifesto { text-indent: 0; max-width: 22ch; }
.why .lab { margin-bottom: 24px; }
/* F5 pricing: "STARTS AT" sits above the figure on its left line; a real care-plan row; links on one baseline */
.price-big { flex-direction: column; align-items: flex-start; gap: 16px; }
.price-big span { align-self: flex-start; margin-top: 0; }
.care-row li { gap: 6px; padding: 16px 16px 16px 0; }
.care-row li + li { padding-left: 16px; border-left: 1px solid var(--hair); }
.care-row b { font-size: 14px; letter-spacing: .04em; }
.care-row .cr-p { font: 600 22px/1.1 var(--sans); letter-spacing: -.02em; }
.care-row .cr-l { font-size: 15px; line-height: 1.4; }
.care-row li { position: relative; }
.care-row .pop::before { content: "Most popular"; position: absolute; top: -9px; left: 16px; background: var(--bg); font: 700 12px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--blue); border: 1.5px solid var(--blue); padding: 2px 5px; white-space: nowrap; }
.price-side .small { font-size: 16px; }
.price-side .links { align-items: baseline; }
@media (max-width: 560px) { .care-row li, .care-row li + li { padding: 18px 0 14px; border-left: 0; grid-template-columns: 1fr auto; } .care-row .cr-l { grid-column: 1 / -1; } .care-row .pop::before { left: 58px; right: auto; top: 17px; } }
/* F6 contact -> footer on the section rhythm; small footer text ≥ 13 px */
.foot { margin-top: var(--s-sec); }
.foot-base { margin-top: var(--s-top); }
.foot-base nav a { font-size: 13px; }

/* ================= SPEC_V3_8 §8 — "How it works" as a three-phase timeline (reference/process/process-mockup.html) =================
   Every class is scoped under .process so the short names (.n, .dot, .tag, .end) never leak into the fitting room or demos.
   Motion (the real-estate prototype's curves): rail fill 2.2 s --soft to the current dot, dots 300 + 260·i ms, steps 140 + 55·i ms. */
.process { --soft: cubic-bezier(.16, 1, .3, 1); }
.process .flow { margin-top: 88px; }
.process .phases { display: grid; grid-template-columns: repeat(3, 1fr); }
.process .phase { display: flex; align-items: baseline; gap: 12px; }
.process .phase i, .process .mph i { font: italic 400 34px/1 var(--serif); }
.process .phase b, .process .mph b { font: 700 15px/1 var(--sans); letter-spacing: .01em; text-transform: uppercase; }
.process .phase small, .process .mph small { font: 500 14px/1 var(--sans); color: var(--ink-3); }
.process .rail { position: relative; height: 30px; margin: 14px 0 0; }
.process .rail .base, .process .rail .fill { position: absolute; left: 0; }
.process .rail .base { top: 14px; right: 0; height: 1px; background: var(--hair); }
.process .rail .fill { top: 13.5px; width: 100%; height: 1.5px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(.58333); }
.process .rail .tick { position: absolute; top: 4px; width: 1px; height: 21px; background: var(--hair); }
.process .dot { position: absolute; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 1.5px solid #bdbdbd; transform: translateX(-50%); transition: background .5s, border-color .5s; }
.process .dot.on { background: var(--ink); border-color: var(--ink); }
.process .dot.now { border-color: var(--blue); background: var(--blue); }
/* the soft breathing halo (6 s): a pseudo-element scaled by transform + opacity (gsap-performance: no box-shadow repaint per frame) */
.process .dot.now::after { content: ''; position: absolute; left: 50%; top: 50%; width: 19px; height: 19px; margin: -9.5px 0 0 -9.5px; border-radius: 50%; background: rgba(20, 20, 255, .12); animation: proc-br 6s ease-in-out infinite; }
@keyframes proc-br { 50% { transform: scale(1.42); opacity: .5; } }
.process .steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--hair); margin: 0; }
.process .steps > li { padding: 22px 20px 34px; border-left: 1px solid var(--hair); display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; align-content: start; min-width: 0; }
.process .steps > li:nth-child(2) { border-left: 0; padding-left: 0; }
.process .steps > li.now { box-shadow: inset 0 2px 0 var(--blue); }
.process .steps > li.now .n { color: var(--blue); }
.process .n { font: italic 400 30px/1 var(--serif); }
.process .steps h3 { font: 700 15px/1.2 var(--sans); letter-spacing: .01em; text-transform: uppercase; margin-top: 18px; hyphens: manual; overflow-wrap: normal; word-break: keep-all; }
.process .steps p { color: var(--ink-2); font-size: 15.5px; line-height: 1.4; }
.process .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; }
.process .tag { color: var(--blue); border: 1.5px solid var(--blue); padding: 5px 8px; font: 700 12px/1 var(--sans); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.process .steps > .mph { display: none; }
.process .end { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 32px; margin-top: 64px; border-top: 1px solid var(--ink); padding-top: 16px; }
.process .end p { font: 500 clamp(18px, 1.6vw, 22px)/1.3 var(--sans); letter-spacing: -.01em; }
.process .end p span { color: var(--ink-3); }
.process .end .tl { font-size: 17px; }
/* 901–1100 px: six columns get narrow; DESIGN & BUILD must break between words, never inside one */
@media (min-width: 901px) and (max-width: 1180px) { .process .steps > li { padding: 20px 14px 30px; } .process .steps h3 { font-size: 14px; } .process .steps p { font-size: 15px; } }

/* phones and small tablets: a vertical rail on the left, phase headings inline, steps as rows */
@media (max-width: 900px) {
  .process .flow { margin-top: 56px; }
  .process .phases, .process .rail { display: none; }
  .process .steps { display: block; border-top: 0; position: relative; padding-left: 30px; }
  .process .steps::before { content: ''; position: absolute; left: 4px; top: 6px; bottom: 20px; width: 1px; background: var(--hair); }
  .process .steps::after { content: ''; position: absolute; left: 3.5px; top: 6px; width: 1.5px; height: var(--mfill, 50%); background: var(--ink); }
  .process .steps > .mph { display: flex; align-items: baseline; gap: 10px; position: relative; padding: 28px 0 6px; border-left: 0; }
  .process .mph:first-child { padding-top: 0; }
  .process .mph::before { content: ''; position: absolute; left: -30px; top: calc(100% - 26px); width: 9px; height: 9px; border-radius: 50%; background: var(--ink); box-sizing: border-box; }
  .process .mph:first-child::before { top: 2px; }
  .process .mph.later::before { background: #fff; border: 1.5px solid #bdbdbd; }
  .process .mph i { font-size: 28px; }
  .process .mph b { font-size: 14px; }
  .process .mph small { font-size: 13px; }
  .process .steps > li:not(.mph), .process .steps > li:nth-child(2) { border-left: 0; padding: 16px 0 18px; border-bottom: 1px solid var(--hair); grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto; column-gap: 6px; row-gap: 6px; }
  .process .steps .n { grid-row: span 3; font-size: 26px; }
  .process .steps h3 { margin-top: 2px; }
  .process .meta { margin-top: 6px; }
  .process .steps > li.now { box-shadow: inset 2px 0 0 var(--blue); padding-left: 12px; margin-left: -12px; }
}

/* v3.15 §6 (owner): on phones the whole section (label, 02, headline, lead, the three phases, the six steps) fits one screen below
   the header: the phases as one row with the progress rail under it (the desktop pieces, re-set small), the steps as tight rows:
   number · title · its tag inline, the one-line text under it; no per-step dividers or phase headers between the steps.
   Body text stays ≥ 15 px; the one link stays a 44 px target. */
@media (max-width: 767px) {
  .process { padding-top: 64px; }
  .process .sec-top { margin-bottom: 14px; }
  .process .sec-h { font-size: 32px; max-width: none; margin-bottom: 10px; }
  .process .lead { font-size: 17px; line-height: 1.32; }
  .process .flow { margin-top: 16px; }
  .process .phases { display: grid; grid-template-columns: repeat(3, 1fr); }
  .process .phase { display: grid; grid-template-columns: auto 1fr; column-gap: 7px; row-gap: 3px; align-items: baseline; }
  .process .phase i { font-size: 24px; grid-row: span 2; }
  .process .phase b { font-size: 13px; }
  .process .phase small { font-size: 13px; grid-column: 2; }
  .process .rail { display: block; height: 22px; margin-top: 6px; }
  .process .rail .base { top: 10px; } .process .rail .fill { top: 9.5px; } .process .rail .tick { top: 2px; height: 17px; } .process .dot { top: 6px; }
  .process .steps { display: block; padding-left: 0; margin-top: 8px; border-top: 0; }
  .process .steps::before, .process .steps::after { content: none; }
  .process .steps > .mph { display: none; }
  .process .steps > li:not(.mph), .process .steps > li:nth-child(2) { display: grid; grid-template-columns: 34px max-content minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 0; row-gap: 2px; padding: 7px 0; border: 0; align-items: baseline; }
  .process .steps .n { grid-row: 1 / 3; grid-column: 1; font-size: 22px; }
  .process .steps h3 { grid-row: 1; grid-column: 2; margin: 0; font-size: 14px; }
  .process .steps .meta { grid-row: 1; grid-column: 3; margin: 0 0 0 10px; align-self: center; }
  .process .steps .tag { padding: 3px 6px; font-size: 11px; }
  .process .steps p { grid-row: 2; grid-column: 2 / -1; font-size: 15px; line-height: 1.35; text-wrap: balance; }   /* ui-polish: no one-word last line */
  .process .steps > li.now { box-shadow: inset 2px 0 0 var(--blue); padding-left: 10px; margin-left: -12px; grid-template-columns: 36px max-content minmax(0, 1fr); }
  .process .end { margin-top: 10px; padding-top: 6px; gap: 2px 16px; }
  .process .end p { font-size: 16px; }
  .process .end .tl { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
}
/* v3.16 §2: the fit rule by the screen actually visible. A 430 × 932 phone shows ~739 px with Safari's bars out (440 × 956: ~763), and
   there the end row ended 27 px below the screen. On short phone viewports the vertical rhythm tightens (no type size changes, body
   text stays 15 px, the link 44 px), so the section, end row included, fits from 430 px up (tools/v316_process.py) */
@media (max-width: 767px) and (max-height: 820px) {
  .process .sec-top { margin-bottom: 10px; }
  .process .sec-h { margin-bottom: 6px; }
  .process .lead { line-height: 1.28; }
  .process .rail { height: 20px; margin-top: 4px; }
  .process .flow { margin-top: 10px; }
  .process .steps { margin-top: 4px; }
  .process .steps > li:not(.mph), .process .steps > li:nth-child(2) { padding: 4px 0; }
  .process .end { margin-top: 4px; padding-top: 4px; }
}
/* motion: only with JS and motion allowed; the final state is the default (no JS, reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  html.js .process:not(.go) .rail .fill { transform: scaleX(0); }
  html.js .process .rail .fill { transition: transform 2.2s var(--soft); }
  html.js .process:not(.go) .dot { background: #fff; border-color: #bdbdbd; }
  html.js .process:not(.go) .dot::after { opacity: 0; animation: none; }
  html.js .process:not(.go) .steps > li:not(.mph) { opacity: 0; transform: translateY(14px); }
  html.js .process .steps > li:not(.mph) { transition: opacity .9s var(--soft), transform .9s var(--soft); transition-delay: calc(140ms + 55ms * var(--i, 0)); }
  html.js .process .dot { transition-delay: calc(300ms + 260ms * var(--i, 0)); }
  @media (max-width: 900px) {
    html.js .process:not(.go) .steps::after { height: 0; }
    html.js .process .steps::after { transition: height 2.2s var(--soft); }
  }
}
@media (prefers-reduced-motion: reduce) { .process .dot.now::after { animation: none; } }
.price-side .upkeep-note { margin-top: 14px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); max-width: 36em; } /* v3.9 §1 */

/* ================= SPEC_V3_11 §5 — Pricing: "Build your price" is the obvious action (reference/pricing-cta/pricing-simple.png) =================
   Left: STARTS AT · $1,000 · the short lead · the black button + "What's included" · one small line. Right: "Every site includes"
   (hairline rows, a small blue tick at the right), then the care plans. Phones: one column, the button full width. */
.price-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: stretch; }
/* ui-compare (pricing-simple.png): the action block sits at the column's foot, its fine line on the upkeep note's baseline */
.price-main { display: flex; flex-direction: column; align-items: flex-start; }
.price-main .lead { margin-top: auto; padding-top: clamp(40px, 6vw, 88px); }
.price-main .lead { max-width: 30em; }
.price-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 32px; margin-top: 32px; }
.bbtn { display: inline-flex; align-items: center; gap: 22px; min-height: 62px; padding: 0 16px 0 30px; background: #0d0d0d; color: #fff; border: 0; border-radius: 0; cursor: pointer;
  font: 700 15px/1 var(--sans); letter-spacing: .01em; text-transform: uppercase; text-decoration: none; transition: background-color .45s var(--ease); }
.bbtn .fb-c { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #0d0d0d; display: grid; place-items: center; flex: none; }
.bbtn .fb-c svg { display: block; transition: transform .45s var(--ease); }
.bbtn:hover, .bbtn:focus-visible { background: var(--blue); }
.bbtn:hover .fb-c svg, .bbtn:focus-visible .fb-c svg { transform: translateX(4px); }
.bbtn:focus-visible { outline: 2px solid #0d0d0d; outline-offset: 4px; }
.tl.u { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.tl.u::after { display: none; }
.tl.u:hover { color: var(--ink); }
.price-fine { margin-top: 18px; font-size: 15px; color: var(--ink-3); }
.price-side { padding-top: clamp(4px, 1vw, 16px); }
.inc-h { font: 700 13px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.inc-rows li { position: relative; padding: 9px 32px 9px 0; border-bottom: 1px solid var(--hair); font-size: 16px; line-height: 1.3; }
.inc-rows li::after { content: ''; position: absolute; right: 4px; top: 50%; width: 10px; height: 5px; border-left: 1.75px solid var(--blue); border-bottom: 1.75px solid var(--blue); transform: translateY(-70%) rotate(-45deg); }
.price-side .care-lead { margin-top: clamp(36px, 4vw, 56px); }
.price-side .care-row { margin-top: 14px; }
.price-side .upkeep-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); max-width: none; }
.price-fine { margin-bottom: 0; }
@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; gap: 56px; }
  .price-main .lead { margin-top: 0; padding-top: 32px; }
}
@media (max-width: 767px) {
  .price-acts { flex-direction: column; align-items: stretch; align-self: stretch; gap: 4px; }   /* full width on phones (the column is a flex column since ui-compare) */
  .price-acts .bbtn { justify-content: space-between; }
  .price-acts .tl { align-self: flex-start; }
}
.care-row li { align-content: start; }   /* v3.11 ui-compare: the three prices on one line (a shorter description stretched the CARE rows) */

/* v3.12 §3: the manifesto's source line, small and muted (the .lab size), a plain link (underline on hover/focus only) */
.why-src { margin-top: 28px; font: 400 15px/1.3 var(--serif); letter-spacing: .02em; color: var(--ink-2); }
.why-src a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), color .3s var(--ease); }
.why-src a:hover, .why-src a:focus-visible { color: var(--ink); border-bottom-color: currentColor; }
@media (max-width: 767px) { .why-src { margin-top: 20px; } }

/* v3.12 §5: the homepage contact block is a short hand-off to request/ (the form has its own page) */
.contact-go { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-top: 6px; }
.contact-go .lead { max-width: 24em; color: var(--ink-2); }
.contact-go .bbtn { text-decoration: none; min-width: 280px; justify-content: space-between; }
@media (max-width: 767px) { .contact-go .bbtn { width: 100%; min-width: 0; } }

/* SPEC_SEO_TECH_AUDIT §20 (2026-11-26): on phones every small link / button gets an invisible 44 px tap area.
   A transparent pseudo-element centred on the element: nothing moves and nothing is painted (homepage pixel diff: 0). */
@media (max-width: 767px) {
  .wm, .hnav a, .foot a, .tl, .menu-btn, .g-ctr, .ways a, .why-src a { position: relative; }
  .wm::before, .hnav a::before, .foot a::before, .tl::before, .menu-btn::before, .g-ctr::before, .ways a::before, .why-src a::before {
    content: ''; position: absolute; top: 50%; height: max(44px, 100%); left: min(0px, calc(50% - 22px)); right: min(0px, calc(50% - 22px));
    transform: translateY(-50%); background: transparent; pointer-events: auto;
  }
}
