@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/fonts/onest-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/fonts/onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* WebMannin: shared styles. Tokens first; everything below reads tokens only. */

:root {
  --c-cloud: #F0F0F2;
  --c-silver: #BFBFBF;
  --c-slate: #364959;
  --c-stone: #8C8C8B;
  --c-night: #0D0D0D;

  --bg: var(--c-cloud);
  --bg-2: #F7F7F8;
  --bg-3: #E6E6E9;
  --ink: var(--c-night);
  --ink-2: var(--c-slate);
  --quiet: var(--c-stone);
  --rule: var(--c-silver);
  --accent: var(--c-slate);
  --accent-press: #2B3A47;
  --on-accent: var(--c-cloud);
  --tile-ink: var(--c-night);
  --tile-slate: var(--c-slate);
  --on-tile: var(--c-cloud);
  --on-tile-2: var(--c-silver);
  --frame: #0D0D0D;
  --logo-tile: var(--c-slate);
  --logo-mark: var(--c-cloud);
  --shadow-frame: 0 40px 80px -30px rgb(13 13 13 / 0.45);

  --font: "Onest", "Avenir Next", "Segoe UI Variable Display", sans-serif;

  --step-xl: clamp(3rem, 8.4vw, 8.5rem);
  --step-l: clamp(2.4rem, 5.6vw, 5.25rem);
  --step-m: clamp(1.75rem, 3.2vw, 2.75rem);
  --step-lead: clamp(1.2rem, 1.75vw, 1.55rem);
  --step-body: 1.0625rem;
  --step-small: 0.9375rem;

  --pad: clamp(16px, 4.5vw, 64px);
  --max: 1320px;
  --section: clamp(96px, 11vw, 168px);
  --radius: 22px;
  --nav-h: 68px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* "only": the site has its own dark mode, so phone browsers must not force-darken it (that left a sun icon on a darkened page). */
  color-scheme: only light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-wm-theme="light"]) {
    --bg: var(--c-night);
    --bg-2: #161718;
    --bg-3: #202224;
    --ink: var(--c-cloud);
    --ink-2: var(--c-silver);
    --rule: var(--c-slate);
    --tile-ink: #1B1E21;
    --frame: #26292C;
    --logo-tile: var(--c-cloud);
    --logo-mark: var(--c-slate);
    --shadow-frame: 0 40px 80px -30px rgb(0 0 0 / 0.8);
    color-scheme: only dark;
  }
}
:root[data-theme="dark"]:not([data-wm-theme="light"]),
:root[data-wm-theme="dark"] {
  --bg: var(--c-night);
  --bg-2: #161718;
  --bg-3: #202224;
  --ink: var(--c-cloud);
  --ink-2: var(--c-silver);
  --rule: var(--c-slate);
  --tile-ink: #1B1E21;
  --frame: #26292C;
  --logo-tile: var(--c-cloud);
  --logo-mark: var(--c-slate);
  --shadow-frame: 0 40px 80px -30px rgb(0 0 0 / 0.8);
  color-scheme: only dark;
}

/* ---------- Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  letter-spacing: -0.005em;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  font-kerning: normal;
  overflow-x: clip;
}
img, video, iframe { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: var(--c-slate); color: var(--c-cloud); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[data-theme-resolved="dark"] :focus-visible { outline-color: var(--c-silver); }
html { scrollbar-color: var(--quiet) var(--bg); }
.tnum { font-variant-numeric: tabular-nums; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 500; transition: top 0.2s; }
.skip:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-weight: 600; text-wrap: balance; }
.d-xl { font-size: var(--step-xl); line-height: 0.98; letter-spacing: -0.045em; }
.d-l { font-size: var(--step-l); line-height: 1.02; letter-spacing: -0.04em; }
.d-m { font-size: var(--step-m); line-height: 1.08; letter-spacing: -0.03em; }
.lead { font-size: var(--step-lead); line-height: 1.38; letter-spacing: -0.012em; text-wrap: pretty; }
.muted { color: var(--ink-2); }
.small { font-size: var(--step-small); }

.wrap { width: 100%; max-width: calc(var(--max) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.tile-ink { background: var(--tile-ink); color: var(--on-tile); --ink-2: var(--on-tile-2); --accent: var(--c-cloud); --on-accent: var(--c-night); --accent-press: var(--c-silver); }
.tile-slate { background: var(--tile-slate); color: var(--on-tile); --ink-2: #D9DEE2; --accent: var(--c-cloud); --on-accent: var(--c-slate); --accent-press: var(--c-silver); }
.tile-2 { background: var(--bg-2); }
.tile-ink :focus-visible, .tile-slate :focus-visible { outline-color: var(--c-cloud); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.8em 1.5em;
  border: 0; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font-weight: 500; font-size: 1.0625rem; text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background-color 0.25s;
}
.btn:hover { background: var(--accent-press); }
.btn:active { transform: scale(0.96); }
.btn-sm { min-height: 36px; padding: 0.4em 1.05em; font-size: 0.9375rem; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid currentColor; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.tile-ink .btn-ghost:hover, .tile-slate .btn-ghost:hover { background: var(--c-cloud); color: var(--c-night); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.more {
  display: inline-flex; align-items: center; gap: 0.3em; min-height: 44px;
  color: var(--ink); font-weight: 500; text-decoration: none;
}
.more::after { content: ""; width: 0.45em; height: 0.45em; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.3s var(--ease-out); }
.more:hover { text-decoration: underline; }
/* On the dark tiles the link keeps the tile's light text colour in both themes. */
.tile-ink .more, .tile-slate .more { color: var(--on-tile); }
.more:hover::after { transform: translateX(4px) rotate(45deg); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  height: var(--nav-h);
  background: var(--bg);
  transition: background-color 0.3s;
}
.nav.is-scrolled { background: var(--bg-2); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; margin-right: auto; border-radius: 14px; }
.logo svg { display: block; width: 44px; height: 44px; overflow: visible; }
.logo-tile { fill: var(--logo-tile); transition: fill 0.3s; }
/* The mark: one zigzag that reads W then M, sharing the middle stroke. It is the same shape turned upside down,
   so a full turn passes through an identical mark halfway and lands back where it started. */
.logo-mark { fill: none; stroke: var(--logo-mark); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.logo-spin { transform-box: view-box; transform-origin: 24px 24px; }
.logo:active svg { transform: scale(0.94); }
/* On load: the line draws left to right (the W appears first, then the M), then the mark does one full loop. */
.logo-mark { animation: logo-draw 0.8s cubic-bezier(0.65, 0, 0.35, 1) 0.1s both; }
.logo-spin { animation: logo-loop 1s var(--ease-out) 0.95s both; }
@keyframes logo-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes logo-loop { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.nav-links { display: none; gap: 4px; }
.nav-links a { padding: 10px 14px; border-radius: 999px; font-size: 0.9375rem; text-decoration: none; color: var(--ink-2); transition: color 0.2s, background-color 0.2s; }
.nav-links a:hover { color: var(--ink); background: var(--bg-3); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color 0.2s, transform 0.25s var(--ease-out);
}
.icon-btn:hover { background: var(--bg-3); }
.icon-btn:active { transform: scale(0.92); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-moon { display: none; }
[data-theme-resolved="dark"] .theme-toggle .i-sun { display: none; }
[data-theme-resolved="dark"] .theme-toggle .i-moon { display: block; }
.nav-cta { display: none; }
.menu-btn .bar { transition: transform 0.4s var(--ease-out), opacity 0.2s; transform-origin: center; }
.menu-open .menu-btn .b1 { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn .b2 { transform: translateY(-4px) rotate(-45deg); }

.sheet {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 39;
  background: var(--bg); padding: 24px var(--pad) 40px;
  display: flex; flex-direction: column; gap: 4px;
  visibility: hidden; opacity: 0;
}
.sheet a { font-size: 2.25rem; font-weight: 600; letter-spacing: -0.035em; text-decoration: none; padding-block: 6px; }
.sheet a[aria-current="page"] { color: var(--ink-2); }
.sheet .btn { margin-top: 24px; align-self: flex-start; font-size: 1.0625rem; letter-spacing: 0; }
.menu-open .sheet { visibility: visible; opacity: 1; }
.no-js .menu-btn { display: none; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-btn { display: none; }
  .nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .logo { margin-right: 0; justify-self: start; }
  .nav-tools { justify-self: end; }
  .nav-tools { flex: 1; justify-content: flex-end; }
  .sheet { display: none; }
}

/* ---------- Device frames (the "product renders") ---------- */
.browser {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--frame);
  padding: 0 6px 6px;
}
.browser-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding-inline: 12px; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3A3D41; }
.browser-bar span { margin-inline: auto; padding: 3px 16px; border-radius: 8px; background: #303338; color: #BFBFBF; font-size: 13px; letter-spacing: 0; }
.browser img { width: 100%; height: auto; border-radius: calc(var(--radius) - 8px); }

.phone {
  position: relative; width: min(100%, 320px); aspect-ratio: 390 / 820;
  border-radius: 48px; padding: 12px; background: var(--frame);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #0a0c0f; }
.phone iframe { position: absolute; top: 0; left: 0; width: 390px; max-width: none; height: 820px; border: 0; transform-origin: 0 0; }
.phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.phone-notch { position: absolute; z-index: 2; top: 22px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: var(--frame); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); padding-top: clamp(80px, 10vw, 140px); overflow: hidden; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
.footer-grid > h2 { grid-column: 1 / -1; }
.footer-grid h2 { font-size: var(--step-m); line-height: 1.08; letter-spacing: -0.03em; max-width: 12ch; }
.footer-col h3 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 10px; }
.footer-col a, .footer-col p { display: block; color: var(--ink-2); text-decoration: none; line-height: 2.2; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.footer-word {
  display: block; margin-top: clamp(64px, 9vw, 120px);
  font-size: clamp(3.5rem, 17.2vw, 17.5rem); font-weight: 650; line-height: 0.9; letter-spacing: -0.06em;
  white-space: nowrap; color: var(--ink); padding-bottom: 0.08em;
}
.footer-legal p { max-width: 72ch; }
.footer-legal .footer-credits { flex-basis: 100%; max-width: none; font-size: 10px; line-height: 1.4; letter-spacing: 0; opacity: 0.8; }
.footer-credits a { text-underline-offset: 0.15em; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.footer-links a, .link-btn { color: var(--ink-2); text-decoration: underline; text-decoration-color: transparent; min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover, .link-btn:hover { color: var(--ink); text-decoration-color: currentColor; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* ---------- Pictures: the wrapper adds no box, so images keep their existing layout ---------- */
picture { display: contents; }

/* ---------- Legal pages ---------- */
.legal { max-width: 68ch; display: grid; gap: 16px; }
.legal h2 { font-size: var(--step-m); line-height: 1.1; letter-spacing: -0.03em; margin-top: 40px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.65; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal ul { display: grid; gap: 10px; padding-left: 1.2em; list-style: disc; }
.legal a { color: var(--ink); }
.legal-date { font-size: var(--step-small); }

/* ---------- Cookie notice ---------- */
.consent {
  position: fixed; z-index: 60;
  left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 440px; padding: 20px 22px; border-radius: 18px;
  background: var(--tile-ink); color: var(--on-tile);
  --accent: var(--c-cloud); --on-accent: var(--c-night); --accent-press: var(--c-silver); --ink: var(--on-tile);
  display: grid; gap: 10px; font-size: var(--step-small); line-height: 1.5;
  border: 1px solid rgb(240 240 242 / 0.12);
}
.consent[hidden] { display: none; }
/* In dark mode the page is already near-black, so the notice sits on a lifted panel to stand apart. */
[data-theme-resolved="dark"] .consent { background: #26292C; border-color: rgb(240 240 242 / 0.2); }
.consent-title { font-weight: 600; font-size: 1rem; }
.consent a { color: inherit; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.consent .btn-ghost:hover { background: var(--c-cloud); color: var(--c-night); }
.consent.is-in { animation: consent-in 0.5s var(--ease-out) both; }
@keyframes consent-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Spam trap: a field people never see, which only bots fill in ---------- */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 28px; color: var(--ink-2); font-size: var(--step-small); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-grid > h2 { grid-column: auto; }
}

/* ---------- Home: hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 96px); text-align: center; }
.hero h1 { max-width: 12ch; margin-inline: auto; }
.hero .lead { max-width: 40ch; margin: 28px auto 0; color: var(--ink-2); }
.hero .actions { justify-content: center; margin-top: 36px; }
.hero-stage { margin-top: clamp(48px, 6vw, 80px); padding-bottom: var(--section); }
.hero-device { max-width: 1180px; margin-inline: auto; transform-origin: 50% 0; will-change: transform; }
[data-drift] { will-change: transform; }
.split-line-mask { padding-bottom: 0.16em; margin-bottom: -0.16em; }
.hero-photo { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); }
.frame { width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); }
.frame-tall { width: min(100%, 460px); aspect-ratio: 4 / 5; }
.pending { display: grid; gap: clamp(48px, 6vw, 96px); align-items: center; }
.pending-head { display: grid; gap: 22px; max-width: 560px; }
.pending-head .lead { color: var(--ink-2); }
@media (min-width: 960px) { .pending { grid-template-columns: 1fr 1fr; } }
.caption { margin-top: 18px; color: var(--ink-2); font-size: var(--step-small); }
.caption a { color: inherit; }

/* ---------- Home: statement ---------- */
.statement { max-width: 38ch; font-size: clamp(1.375rem, 2.2vw, 2rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; }
.statement-wrap h2 { margin-bottom: 32px; }
.statement-wrap { display: grid; gap: 48px; }
.statement-foot { display: grid; gap: 24px; max-width: 560px; color: var(--ink-2); }
@media (min-width: 1000px) {
  .statement-wrap { grid-template-columns: 1fr 340px; align-items: end; }
}

/* ---------- Home: disciplines (alternating product tiles) ---------- */
.disc { display: grid; gap: clamp(48px, 6vw, 96px); align-items: center; }
.disc-text { display: grid; gap: 22px; max-width: 540px; }
.disc-text .lead { color: var(--ink-2); }
.disc-list { display: grid; gap: 14px; margin-top: 8px; }
.disc-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.disc-list svg { width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.disc-visual { display: flex; justify-content: center; }
@media (min-width: 960px) {
  .disc { grid-template-columns: 1fr 1fr; }
  .disc.flip .disc-visual { order: -1; }
}

.promise { display: grid; gap: 4px; }
.promise p { font-size: clamp(1.5rem, 2.5vw, 2.25rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; }
.promise p:nth-child(even) { color: var(--ink-2); }

/* ---------- Home: estimator (the live thing) ---------- */
.est { display: grid; gap: 40px; }
.est-head { display: grid; gap: 20px; max-width: 760px; }
.est-head .lead { color: var(--ink-2); }
.est-body { display: grid; gap: 56px; }
.est-panel { background: var(--bg-2); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 36px; align-content: start; }
.est-group { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; min-width: 0; }
.est-group legend, .est-label { font-weight: 600; font-size: 1.0625rem; padding: 0; margin-bottom: 14px; }
.seg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 5px; border-radius: 999px; background: var(--bg-3); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 44px; padding-inline: 8px; border-radius: 999px; font-size: 0.9375rem; font-weight: 500; text-align: center; color: var(--ink-2); transition: background-color 0.3s var(--ease-out), color 0.3s; }
.seg input:checked + span { background: var(--accent); color: var(--on-accent); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg-note { color: var(--ink-2); font-size: var(--step-small); min-height: 1.45em; }

.range-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.range-row output { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--accent) var(--fill, 20%), var(--bg-3) var(--fill, 20%)); } /* taste-skill-ignore: slider thumb floats; track fill is a hard stop */
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--bg-3); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--c-cloud); box-shadow: 0 2px 8px rgb(13 13 13 / 0.3), inset 0 0 0 1px rgb(13 13 13 / 0.08); } /* taste-skill-ignore: slider thumb floats; track fill is a hard stop */
input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--c-cloud); box-shadow: 0 2px 8px rgb(13 13 13 / 0.3); } /* taste-skill-ignore: slider thumb floats; track fill is a hard stop */

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--bg-3); font-size: 0.9375rem; font-weight: 500; transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease-out); }
.chip span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; transition: background-color 0.25s; }
.chip input:checked + span { background: var(--accent); color: var(--on-accent); }
.chip input:checked + span::before { background: currentColor; }
.chip input:active + span { transform: scale(0.96); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip input:disabled + span { opacity: 0.45; }

.est-result { background: var(--tile-ink); color: var(--on-tile); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 28px; align-content: space-between; }
.est-figure { font-size: clamp(2.6rem, 5.4vw, 4.75rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.est-figure-label { color: var(--c-silver); margin-bottom: 12px; font-size: 1.0625rem; font-weight: 500; letter-spacing: 0; }
.est-to { color: var(--c-stone); font-weight: 400; }
.est-meta { display: grid; gap: 18px; }
.est-meta div { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px 0; }
.est-meta dt { color: var(--c-silver); }
.est-meta dd { font-weight: 600; text-align: right; }
.est-result .btn { background: var(--c-cloud); color: var(--c-night); width: 100%; }
.est-result .btn:hover { background: var(--c-silver); }
.est-fine { color: var(--c-stone); font-size: var(--step-small); }
@media (min-width: 1000px) {
  .est-body { grid-template-columns: 1.35fr 1fr; gap: 20px; }
  .est-result { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; min-height: 540px; }
}

/* ---------- Home: local ---------- */
.local { display: grid; gap: 56px; }
.local h2 { max-width: 12ch; }
.local > div { display: grid; gap: 22px; align-content: start; }
.local > div .lead { color: var(--ink-2); max-width: 32ch; }
.local-list { display: grid; gap: 34px; }
.local-list li { display: grid; gap: 8px; }
.local-list h3 { font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.25; }
.local-list p { color: var(--ink-2); max-width: 46ch; }
@media (min-width: 960px) {
  .local { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ---------- Work teaser / project ---------- */
.feature { display: grid; gap: clamp(40px, 5vw, 72px); }
.feature-head { display: grid; gap: 22px; max-width: 760px; }
.feature-head .lead { color: var(--ink-2); }
.feature-media { display: grid; gap: 24px; align-items: end; }
.feature-media .phone { display: none; }
@media (min-width: 960px) {
  .feature-media { grid-template-columns: 1fr auto; }
  .feature-media .phone { display: block; width: 280px; margin-bottom: -40px; }
}

/* ---------- Closing call to action ---------- */
.closer { text-align: center; display: grid; gap: 28px; justify-items: center; }
.closer h2 { max-width: 13ch; }
.closer .lead { max-width: 38ch; color: var(--ink-2); }

/* ---------- Inner page heads ---------- */
.page-head { padding-block: clamp(64px, 10vw, 150px) clamp(48px, 7vw, 96px); }
.page-head .wrap { display: grid; gap: 28px; }
.page-head h1 { grid-column: 1 / -1; }
.page-head h1 { max-width: 14ch; }
.page-head .lead { max-width: 44ch; color: var(--ink-2); }
@media (min-width: 1100px) {
  .page-head .wrap { grid-template-columns: 1fr 1fr; gap: 40px 64px; }
  .page-head h1 { max-width: 16ch; }
  .page-head .lead { grid-column: 2; }
}
.photo { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.photo-band { aspect-ratio: 21 / 9; overflow: hidden; border-radius: var(--radius); }
.photo-band img { height: 100%; }
.photo-pair { display: grid; gap: 16px; margin-top: clamp(48px, 6vw, 88px); }
.photo-pair figure { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
@media (min-width: 760px) { .photo-pair { grid-template-columns: repeat(3, 1fr); } }
.stage-img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; margin: -8px -8px 6px; }
.stage-img img { width: 100%; height: 100%; object-fit: cover; }
.stage-img img.keep { filter: none; object-position: 50% 0; }
.phone-pair { display: flex; gap: clamp(16px, 3vw, 40px); justify-content: center; }
.phone-pair .phone { width: min(46%, 300px); }
.contact-photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }

/* ---------- Services: packages ---------- */
.plans { display: grid; gap: 64px 48px; }
.plan { display: grid; gap: 22px; align-content: start; padding-top: 28px; }
.plan h3 { font-size: 1.75rem; letter-spacing: -0.03em; line-height: 1.1; }
.plan-for { color: var(--ink-2); min-height: 3em; }
.plan-price { font-size: clamp(2.4rem, 3.6vw, 3.25rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.plan-price small { display: block; margin-bottom: 8px; font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--ink-2); }
.plan ul { display: grid; gap: 12px; }
.plan ul { gap: 0; }
.plan li { padding-block: 9px; }
.plan .btn { justify-self: start; margin-top: 8px; }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Services: process (horizontal on desktop) ---------- */
.process-intro { display: grid; gap: 22px; max-width: 760px; margin-bottom: 56px; }
.process-intro .lead { color: var(--ink-2); }
.process-track { display: grid; gap: 16px; }
.stage { background: var(--bg); border-radius: var(--radius); padding: clamp(28px, 3vw, 44px); display: grid; gap: 18px; align-content: start; }
.tile-slate .stage { background: rgb(240 240 242 / 0.08); }
.stage h3 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -0.04em; line-height: 1; }
.stage p { color: var(--ink-2); max-width: 40ch; }
.stage-time { font-weight: 600; color: var(--ink); }
@media (min-width: 960px) {
  .process { overflow: hidden; }
  .process-track { display: flex; gap: 20px; width: max-content; padding-right: var(--pad); }
  .stage { width: min(460px, 36vw); min-height: 380px; }
}

/* ---------- Care plans ---------- */
.care { display: grid; gap: 56px; }
.care-plans { display: grid; gap: 48px; }
.care-plan { display: grid; gap: 18px; align-content: start; }
.care-plan h3 { font-size: 1.5rem; letter-spacing: -0.025em; }
.care-plan .plan-price { font-size: 2.5rem; }
.care-plan ul { display: grid; gap: 10px; color: var(--ink-2); }

@media (min-width: 960px) {
  .care { grid-template-columns: 1fr 1.4fr; align-items: start; }
  .care-plans { grid-template-columns: 1fr 1fr; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 48px; }
.faq-list { display: grid; gap: 8px; }
.faq details { background: var(--bg-2); border-radius: 18px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.015em; border-radius: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform 0.35s var(--ease-out); }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq details > div { padding: 0 26px 24px; color: var(--ink-2); max-width: 64ch; }
@media (min-width: 960px) { .faq { grid-template-columns: 1fr 1.6fr; } }

/* ---------- Work page ---------- */
.project-hero { padding-bottom: clamp(64px, 8vw, 120px); }
.project-facts { display: grid; gap: 32px; }
.project-facts dt { font-weight: 600; margin-bottom: 8px; }
.project-facts dd { color: var(--ink-2); max-width: 44ch; }
@media (min-width: 900px) { .project-facts { grid-template-columns: repeat(3, 1fr); } }
.project-detail { display: grid; gap: clamp(48px, 6vw, 96px); align-items: center; }
.project-detail .phone { margin-inline: auto; }
.project-points { display: grid; gap: 30px; }
.project-points h3 { font-size: 1.375rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.project-points p { color: var(--ink-2); max-width: 48ch; }
@media (min-width: 960px) { .project-detail { grid-template-columns: auto 1fr; } .project-detail .phone { width: 340px; } }

/* ---------- Studio page ---------- */
.beliefs { display: grid; gap: 0; }
.belief { display: grid; gap: 16px; padding-block: 44px; }
.belief h3 { font-size: var(--step-m); letter-spacing: -0.035em; line-height: 1.08; max-width: 18ch; }
.belief p { color: var(--ink-2); max-width: 52ch; }
@media (min-width: 960px) { .belief { grid-template-columns: 1fr 1fr; align-items: baseline; padding-block: 56px; } }
.belief:nth-child(even) { background: transparent; }

.how { display: grid; gap: 48px; }
.how-cols { display: grid; gap: 40px; }
.how-cols h3 { font-size: 1.5rem; letter-spacing: -0.025em; margin-bottom: 10px; }
.how-cols p { color: var(--ink-2); }
@media (min-width: 900px) { .how-cols { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Contact page ---------- */
.contact { display: grid; gap: 56px; }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: 1rem; }
.field .hint { color: var(--ink-2); font-size: var(--step-small); }
.input {
  width: 100%; min-height: 54px; padding: 14px 18px;
  background: var(--bg-2); border: 1.5px solid transparent; border-radius: 14px;
  font-size: 1.0625rem; transition: border-color 0.2s, background-color 0.2s;
}
.input::placeholder { color: var(--quiet); }
.input:hover { border-color: var(--rule); }
.input:focus { outline: none; border-color: var(--accent); background: var(--bg); }
[data-theme-resolved="dark"] .input:focus { border-color: var(--c-silver); }
textarea.input { min-height: 180px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; background-image: none; cursor: pointer; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field-row { display: grid; gap: 22px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.input[aria-invalid="true"] { border-color: #B3261E; }
.error { color: #B3261E; font-size: var(--step-small); font-weight: 500; }
[data-theme-resolved="dark"] .error { color: #F2B8B5; }
[data-theme-resolved="dark"] .input[aria-invalid="true"] { border-color: #F2B8B5; }
.form-status { font-weight: 500; }
.contact-side { display: grid; gap: 36px; align-content: start; }
.contact-side h2 { font-size: 1.5rem; letter-spacing: -0.025em; margin-bottom: 8px; }
.contact-side p, .contact-side a { color: var(--ink-2); }
.contact-big { font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 600; letter-spacing: -0.03em; color: var(--ink) !important; text-decoration: none; overflow-wrap: anywhere; }
.contact-big:hover { text-decoration: underline; }
.prefill { background: var(--tile-ink); color: var(--on-tile); border-radius: 18px; padding: 22px 24px; display: grid; gap: 6px; }
.prefill[hidden] { display: none; }
.prefill p { color: var(--c-silver); }
.prefill strong { color: var(--c-cloud); }
@media (min-width: 960px) { .contact { grid-template-columns: 1.5fr 1fr; gap: 96px; } }

/* ---------- Theme transition ---------- */
/* The circle reveal is drawn in script, so the default fade is switched off. */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* Until the entrance animation is ready, hold back what it will reveal so nothing flashes and jumps. */
html.motion-pending [data-split], html.motion-pending [data-hero-fade], html.motion-pending .hero-device, html.motion-pending [data-reveal] > * { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .logo-mark, .logo-spin { animation: none; }
}

/* ---------- Lenis (inlined from lenis@1.1.20/dist/lenis.css) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }