/* Jefi Studio v3: colour chapters. Warm white, ink, stone, signal orange for actions. */
:root {
  color-scheme: light;
  --paper: #f6f5f2;
  --stone: #e9e7e1;
  --sand: #d9d4c9;
  --char: #2a2724;
  --ink: #121212;
  --ink-soft: #4a4844;
  --on-dark: #f6f5f2;
  --on-dark-soft: #b9b5ad;
  --orange: #ff5b1f;
  --orange-press: #e84c12;
  --ok: #1c7c4b;
  --warn: #b3261e;

  --display: "Stack Sans Headline", "Helvetica Neue", Arial, sans-serif;
  --text: "Stack Sans Text", "Helvetica Neue", Arial, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.75rem, 1rem + 6.2vw, 7rem);

  --m: clamp(16px, 3vw, 44px);
  --max: 1320px;
  --r: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --bg: var(--paper); --fg: var(--ink); --fg-soft: var(--ink-soft); --tile: var(--stone);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #121212; --stone: #1d1c1a; --sand: #2a2825; --char: #050505;
  --ink: #f6f5f2; --ink-soft: #b9b5ad; --orange: #ff6a33; --orange-press: #ff7d4d; --ok: #4fc285; --warn: #ff8a80;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #121212; --stone: #1d1c1a; --sand: #2a2825; --char: #050505;
    --ink: #f6f5f2; --ink-soft: #b9b5ad; --orange: #ff6a33; --orange-press: #ff7d4d; --ok: #4fc285; --warn: #ff8a80;
  }
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .25s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .4s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--step-body)/1.5 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 300; letter-spacing: -.022em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: var(--step-display); }
h2 { font-size: var(--step-head); }
h3 { font-family: var(--text); font-size: var(--step-lead); font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
h4 { font-family: var(--text); font-size: var(--step-body); font-weight: 500; letter-spacing: 0; }
.lead { font-size: var(--step-lead); line-height: 1.4; max-width: 34em; text-wrap: pretty; }
.small { font-size: var(--step-small); }
.soft { color: var(--fg-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--m), var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: #121212; }
b, strong { font-weight: 500; }
cite { font-style: normal; }
cite a { color: inherit; }

/* ---------- chapters (full-bleed colour fields) ---------- */
.ch { --bg: var(--paper); --fg: var(--ink); --fg-soft: var(--ink-soft); --tile: var(--stone); background: var(--bg); color: var(--fg); padding-block: clamp(80px, 11vw, 168px); position: relative; }
.ch--stone { --bg: var(--stone); --tile: var(--paper); }
.ch--sand { --bg: var(--sand); --tile: var(--stone); }
.ch--ink { --bg: #121212; --fg: #f6f5f2; --fg-soft: #b9b5ad; --tile: #2a2724; }
.ch--char { --bg: #2a2724; --fg: #f6f5f2; --fg-soft: #c4bfb6; --tile: #3a3632; }
:root[data-theme="dark"] .ch--ink { --bg: #050505; }
:root[data-theme="dark"] .ch--char { --bg: #24221f; }
.ch--tall { min-height: 90svh; display: flex; flex-direction: column; justify-content: center; }
.ch h2 { max-width: 22ch; }
.ch .lead { margin-top: 24px; }
.ch-head { margin-bottom: clamp(40px, 6vw, 80px); }
.two-ink .pale { color: var(--fg-soft); }

/* ---------- buttons: one shape (pill), one fill for the action ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 500 var(--step-body)/1 var(--text); text-decoration: none; white-space: nowrap; background: var(--orange); color: #121212; transition: background .2s var(--ease), transform .2s var(--ease); }
.btn:hover { background: var(--orange-press); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--quiet { background: var(--tile); color: var(--fg); }
.btn--quiet:hover { background: var(--sand); }
.ch--ink .btn--quiet:hover, .ch--char .btn--quiet:hover { background: #4a4540; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: var(--step-small); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.tlink { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .25em; }
.tlink:hover { text-decoration-color: var(--orange); }

/* ---------- top bar (the one blurred surface) ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 82%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); transition: background .3s var(--ease), color .3s var(--ease); }
.bar__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.bar__logo { width: 58px; flex: none; color: var(--ink); }
.bar__logo svg { width: 100%; height: auto; }
.bar__links { display: flex; gap: 22px; font-size: var(--step-small); font-weight: 500; }
.bar__links a { text-decoration: none; color: var(--ink-soft); }
.bar__links a:hover, .bar__links a[aria-current="page"] { color: var(--ink); }
.bar__right { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--stone); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-ico-dark { display: none; }
:root[data-theme="dark"] .theme-ico-dark { display: block; }
:root[data-theme="dark"] .theme-ico-light { display: none; }
.menu-btn { display: none; }
.sheet { display: none; }
@media (max-width: 1020px) { .bar__links a:nth-child(n+5) { display: none; } }
@media (max-width: 820px) {
  .bar__links, .bar__cta { display: none; }
  .menu-btn { display: grid; }
  .sheet[data-open="true"] { display: grid; gap: 2px; padding: 8px var(--m) 20px; background: var(--paper); }
  .sheet a { padding: 12px 0; text-decoration: none; font-size: var(--step-lead); }
  .sheet .btn { justify-self: start; margin-top: 10px; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); min-height: calc(100svh - 68px); display: flex; align-items: center; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { max-width: 13ch; }
.hero .lead { margin-top: 28px; max-width: 30em; }
.hero .btn-row { margin-top: 36px; }
.hero__note { margin-top: 26px; font-size: var(--step-small); color: var(--ink-soft); }
.phone3d { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 620px; justify-self: end; }
.phone3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.phone3d__fallback { position: absolute; inset: 6% 22%; border-radius: 44px; background: #1b1a18; padding: 10px; }
.phone3d__fallback > div { height: 100%; border-radius: 34px; background: var(--paper); padding: 52px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.phone3d.is-3d .phone3d__fallback { display: none; }
@media (max-width: 900px) { .hero { min-height: 0; } .hero__grid { grid-template-columns: 1fr; } .phone3d { justify-self: center; max-width: 380px; } }

/* ---------- message bubbles (product UI) ---------- */
.bub { max-width: 86%; padding: 11px 15px; border-radius: 20px; font-size: 15px; line-height: 1.4; }
.bub--in { background: var(--stone); color: var(--ink); border-bottom-left-radius: 6px; align-self: flex-start; }
.bub--out { background: #121212; color: #f6f5f2; border-bottom-right-radius: 6px; align-self: flex-end; }
:root[data-theme="dark"] .bub--out { background: #f6f5f2; color: #121212; }
.bub small { display: block; opacity: .65; font-size: 13px; margin-top: 4px; }
.slots { display: flex; gap: 6px; flex-wrap: wrap; align-self: flex-end; }
.slots span { padding: 7px 12px; border-radius: 999px; background: var(--orange); color: #121212; font-weight: 500; font-size: 13px; }

/* ---------- showcase: input half, output half ---------- */
.show { display: grid; grid-template-columns: 1fr 1fr; min-height: 90svh; }
.show__in, .show__out { position: relative; padding: clamp(28px, 5vw, 72px) var(--m) clamp(96px, 10vw, 140px); }
.show__in { background: #121212; color: #f6f5f2; }
.show__out { background: var(--stone); color: var(--ink); display: flex; align-items: flex-start; }
.show__text { margin-top: 18vh; max-width: 34ch; }
.show__text label { display: block; font-size: var(--step-small); color: #b9b5ad; margin-bottom: 12px; }
.show__text textarea { width: 100%; min-height: 6.5em; resize: vertical; border: 0; border-radius: 16px; padding: 18px; background: #2a2724; color: #f6f5f2; font: 400 clamp(20px, 1.8vw, 24px)/1.35 var(--text); }
.show__text textarea:focus { outline: 3px solid var(--orange); }
.show__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: #2a2724; color: #f6f5f2; font: 500 var(--step-small) var(--text); cursor: pointer; }
.chip[aria-pressed="true"] { background: #f6f5f2; color: #121212; }
.reply { margin-top: 18vh; width: min(100%, 480px); background: var(--paper); border-radius: 28px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.reply__top { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); padding: 2px 4px 8px; }
.show__h { position: absolute; bottom: 32px; font-family: var(--display); font-weight: 300; font-size: clamp(40px, 5vw, 80px); letter-spacing: -.022em; line-height: 1; margin: 0; }
.show__in .show__h { left: var(--m); }
.show__out .show__h { right: var(--m); }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; align-self: flex-end; border-radius: 20px; background: #121212; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #f6f5f2; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .3; } }
@media (max-width: 820px) {
  .show { grid-template-columns: 1fr; min-height: 0; }
  .show__in, .show__out { min-height: 62svh; padding-bottom: 96px; }
  .show__text, .reply { margin-top: 24px; }
  .show__out .show__h { right: auto; left: var(--m); top: 24px; bottom: auto; }
  .show__out { padding-top: 96px; }
  .show__h { font-size: 11vw; }
}

/* ---------- how it works: one card, four fields ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 84svh; }
.strip > div { position: relative; padding: 32px 28px; display: flex; flex-direction: column; }
.strip > div:nth-child(1) { background: var(--paper); color: var(--ink); }
.strip > div:nth-child(2) { background: var(--stone); color: var(--ink); }
.strip > div:nth-child(3) { background: var(--sand); color: var(--ink); }
.strip > div:nth-child(4) { background: #2a2724; color: #f6f5f2; }
.strip h2 { font-size: clamp(28px, 2.6vw, 40px); max-width: 9ch; }
.strip .card { position: absolute; top: 38%; left: 50%; transform: translateX(-50%); width: min(260px, calc(100% - 40px)); transition: transform .15s var(--ease); }
.strip > div:hover .card { transform: translate(-50%, -6px); }
.strip p.clause { margin-top: auto; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.25; max-width: 13ch; }
.card { background: #fff; color: #121212; border-radius: 18px; padding: 16px; font-size: 14px; line-height: 1.4; }
.card b { display: block; font-size: 15px; margin-bottom: 2px; }
.card .meta { color: #6b6862; font-size: 13px; }
.card .row { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; }
.card .tick { color: #1c7c4b; font-weight: 500; }
.card .done { margin-top: 10px; padding: 8px 10px; border-radius: 10px; background: #ffe5d9; color: #121212; font-weight: 500; }
@media (max-width: 900px) {
  .strip { grid-template-columns: 1fr; min-height: 0; }
  .strip > div { min-height: 64svh; padding: 28px var(--m); }
  .strip .card { position: static; transform: none; margin-top: 32px; width: 260px; }
  .strip > div:hover .card { transform: none; }
  .strip p.clause { margin-top: 0; order: -1; font-size: 24px; max-width: 16ch; }
  .strip h2 { order: -2; margin-bottom: 16px; }
}

/* ---------- picture chapter ---------- */
.pic { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.pic figure { margin: 0; }
.pic img { width: 100%; height: auto; border-radius: var(--r); }
.pic figcaption, .cap { font-size: var(--step-small); color: var(--fg-soft); margin-top: 12px; }
.fact { font-size: var(--step-lead); line-height: 1.35; }
.fact cite { display: block; margin-top: 12px; font-size: var(--step-small); color: var(--fg-soft); }
@media (max-width: 860px) { .pic { grid-template-columns: 1fr; } }

/* ---------- proof: large marks on tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tile { background: var(--tile); border-radius: var(--r); padding: 26px; aspect-ratio: 3 / 2; display: flex; flex-direction: column; justify-content: space-between; }
.tile--head { grid-column: span 2; aspect-ratio: auto; background: var(--orange); color: #121212; }
.tile--head h2 { font-size: clamp(28px, 3vw, 48px); max-width: 12ch; }
.tile .num { font-family: var(--display); font-weight: 300; font-size: clamp(34px, 3.4vw, 56px); overflow-wrap: anywhere; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.tile p { margin: 0; font-size: var(--step-small); line-height: 1.4; }
.tile .where { color: var(--fg-soft); }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } .tile--head { grid-column: span 2; aspect-ratio: auto; min-height: 120px; } .tile { aspect-ratio: auto; min-height: 180px; } }

/* ---------- before / after ---------- */
.ba { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; user-select: none; touch-action: pan-y; cursor: ew-resize; background: #8a7f76; }
.ba__side { position: absolute; inset: 0; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 38%)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 38%); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: var(--pos, 38%); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; color: #121212; display: grid; place-items: center; border: 0; padding: 0; cursor: ew-resize; border: 3px solid #121212; }
.ba__knob svg { width: 22px; height: 22px; }
.ba__label { position: absolute; bottom: 14px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; background: rgba(18,18,18,.75); color: #fff; pointer-events: none; }
.ba__label--l { left: 14px; } .ba__label--r { right: 14px; }
.site { position: absolute; inset: 0; display: flex; flex-direction: column; font-size: clamp(9px, 1.1vw, 14px); }
.site__nav { display: flex; justify-content: space-between; padding: 3.5% 5%; font-weight: 500; }
.site__body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: .8em; padding: 0 6%; }
.site--old { background: #6f655d; color: #fff; font-family: Georgia, serif; }
.site--old .site__body { max-width: 38%; }
.site--old .h { font-family: Georgia, serif; font-weight: 400; font-size: 2.2em; line-height: 1.1; margin: 0; }
.site--old .site__btn { align-self: flex-start; background: #fff; color: #333; padding: .6em 1.4em; font-family: Arial, sans-serif; }
.site--new { background: #f6f5f2; color: #121212; }
.site--new .site__nav { justify-content: flex-end; gap: 2em; }
.site--new .site__body { margin-left: 40%; padding-left: 0; }
.site--new .h { font-family: var(--display); font-weight: 300; font-size: 2.3em; line-height: 1.05; letter-spacing: -.02em; max-width: 13ch; }
.site--new .site__btns { display: flex; gap: .6em; }
.site--new .site__btn { padding: .7em 1.2em; border-radius: 999px; background: #ff5b1f; color: #121212; font-weight: 500; }
.site--new .site__btn + .site__btn { background: #e9e7e1; }
.site--new .site__meta { color: #4a4844; }

/* ---------- pricing: one plan as a sentence ---------- */
.anchor { font-size: var(--step-lead); color: var(--fg-soft); max-width: 36em; margin-bottom: 28px; }
.offer { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 7vw, 120px); letter-spacing: -.03em; line-height: .98; margin: 0; max-width: 14ch; }
.offer .price { background: var(--orange); color: #121212; padding: 0 .12em; border-radius: .08em; }
.offer-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-top: 64px; }
.offer-foot p { max-width: 36em; margin: 0; font-size: var(--step-lead); }
.offer-foot .btn-row { justify-content: flex-end; }
.cap-line { margin-top: 32px; font-size: var(--step-small); color: var(--fg-soft); }
@media (max-width: 760px) { .offer { font-size: 12vw; } .offer-foot { grid-template-columns: 1fr; } .offer-foot .btn-row { justify-content: flex-start; } }

/* plans table (pricing page) */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.plan { background: var(--tile); border-radius: var(--r); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; }
.plan--main { background: #121212; color: #f6f5f2; }
.plan h3 { font-size: var(--step-lead); }
.plan .for { margin: 8px 0 0; color: var(--fg-soft); font-size: var(--step-small); min-height: 3em; }
.plan--main .for { color: #b9b5ad; }
.plan .amt { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 4vw, 60px); letter-spacing: -.03em; line-height: 1; margin: 26px 0 4px; }
.plan .amt small { font-family: var(--text); font-size: var(--step-small); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; font-size: var(--step-small); }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.plan .out { margin-top: auto; font-size: var(--step-small); padding-top: 18px; }
.plan .btn { margin-top: 20px; }
.guarantee { margin-top: 8px; background: var(--tile); border-radius: var(--r); padding: 24px 28px; font-size: var(--step-body); }
.fine { font-size: var(--step-small); color: var(--fg-soft); margin-top: 18px; max-width: 70em; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } .plan .for { min-height: 0; } }

/* comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--r); background: var(--tile); }
table.cmp { width: 100%; border-collapse: collapse; font-size: var(--step-small); min-width: 720px; }
.cmp th, .cmp td { padding: 18px 20px; text-align: left; vertical-align: top; }
.cmp tbody tr:nth-child(odd) { background: color-mix(in srgb, var(--tile) 60%, var(--bg)); }
.cmp thead th { font-weight: 500; color: var(--fg-soft); }
.cmp tbody th { font-weight: 500; width: 20%; }
.cmp .us { background: #121212; color: #f6f5f2; }
.cmp thead .us { color: #f6f5f2; }

/* ---------- team on colour tiles ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.person .face { aspect-ratio: 4 / 5; border-radius: 14px; display: flex; align-items: flex-end; padding: 18px; font-family: var(--display); font-weight: 300; font-size: clamp(56px, 6vw, 96px); letter-spacing: -.04em; line-height: .9; }
.person:nth-child(1) .face { background: var(--orange); color: #121212; }
.person:nth-child(2) .face { background: #2a2724; color: #f6f5f2; }
.person .face img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.person .face:has(img) { padding: 0; background: var(--stone); overflow: hidden; }
.person h3 { font-size: var(--step-body); margin-top: 12px; }
.person .role { color: var(--fg-soft); font-size: var(--step-small); }
.person p { font-size: var(--step-small); margin: 8px 0 0; max-width: 32ch; }
.team__text { grid-column: span 2; align-self: end; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; gap: 8px; } .team__text { grid-column: 1 / -1; order: -1; margin-bottom: 16px; } }

/* ---------- faq: accordion of filled tiles ---------- */
.faq-wrap { display: grid; grid-template-columns: 4fr 8fr; gap: 32px; align-items: start; }
.faq-wrap h2 { position: sticky; top: 96px; font-size: clamp(32px, 4vw, 60px); max-width: 8ch; }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--tile); border-radius: var(--r); transition: background .25s var(--ease); }
.faq details[open] { background: var(--orange); color: #121212; }
.faq summary { list-style: none; cursor: pointer; min-height: 72px; padding: 22px 64px 22px 24px; font-size: 20px; font-weight: 500; position: relative; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 16px; height: 3px; margin-top: -1.5px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details > div { padding: 0 24px 24px; font-size: 17px; max-width: 52ch; }
.faq details > div a { color: inherit; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap h2 { position: static; font-size: 9vw; } .faq summary { font-size: 18px; min-height: 64px; } }

/* ---------- cta: first step already open ---------- */
.cta { display: grid; grid-template-columns: 5fr 1fr 6fr; min-height: 90svh; align-items: end; }
.cta__text { grid-column: 1; padding-bottom: 8px; }
.cta__text h2 { font-size: clamp(48px, 6vw, 96px); line-height: .95; max-width: 12ch; }
.cta__text p { margin-top: 20px; max-width: 30em; }
.cta__form { grid-column: 3; align-self: center; }
.dlg-ui { width: min(100%, 460px); margin-left: auto; background: #f6f5f2; color: #121212; border-radius: 26px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); } /* taste-skill-ignore: dialog fragment marked data-ui */
.dlg-ui h3 { font-size: 22px; }
.dlg-ui p { font-size: 15px; color: #4a4844; margin: 6px 0 18px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #e9e7e1; border-radius: 999px; margin: 12px 0 16px; }
.seg button { min-height: 40px; border: 0; border-radius: 999px; background: transparent; font: 500 14px var(--text); cursor: pointer; color: #121212; }
.seg button[aria-pressed="true"] { background: #fff; }
.dlg-ui .btn { width: 100%; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; min-height: 84svh; align-items: start; gap: 32px; } .cta__text, .cta__form { grid-column: 1; } .cta__text h2 { font-size: 13vw; } .dlg-ui { margin: 0; width: 100%; } }

/* ---------- forms ---------- */
.input, .select, textarea.input { width: 100%; min-height: 52px; padding: 0 18px; border-radius: 14px; border: 2px solid transparent; background: var(--tile); color: var(--fg); font: 400 17px var(--text); }
.dlg-ui .input { background: #e9e7e1; color: #121212; }
textarea.input { padding: 14px 18px; min-height: 120px; }
.input:focus, .select:focus { outline: none; border-color: var(--orange); }
.input[aria-invalid="true"] { border-color: var(--warn); }
label.field { display: grid; gap: 8px; font-size: var(--step-small); font-weight: 500; }
.status { font-size: var(--step-small); margin: 12px 0 0; min-height: 1.4em; }
.status[data-state="error"] { color: var(--warn); }
.status[data-state="ok"] { color: var(--ok); font-weight: 500; }
.dlg-ui .status[data-state="ok"] { color: #1c7c4b; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; } /* taste-skill-ignore: hidden spam trap */
.formcard { background: var(--tile); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; }
.formcard .input { background: var(--bg); }

/* ---------- page heads & generic layout ---------- */
.page-head { padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(40px, 6vw, 80px); }
.page-head h1 { font-size: clamp(30px, 4.6vw, 72px); max-width: 22ch; }
.page-head .lead { margin-top: 24px; }
.crumbs { font-size: var(--step-small); color: var(--fg-soft); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.box { background: var(--tile); border-radius: var(--r); padding: clamp(22px, 2.6vw, 34px); }
.box h3 { margin-bottom: 10px; }
.box p:last-child { margin-bottom: 0; }
.box .src { font-size: var(--step-small); color: var(--fg-soft); margin-top: 14px; }
@media (max-width: 900px) { .split, .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }

/* service rows: a list set in large type, not icon cards */
.rows { display: grid; }
.rows > div { display: grid; grid-template-columns: 5fr 6fr; gap: 24px 48px; padding: 28px 0; }
.rows > div { padding: 36px 0; }
.rows h3 { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 3.2vw, 48px); letter-spacing: -.022em; line-height: 1.05; }
.rows p { margin: 0; font-size: var(--step-lead); color: var(--fg-soft); max-width: 30em; }
@media (max-width: 760px) { .rows > div { grid-template-columns: 1fr; gap: 10px; } }

/* timeline (services) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.steps > div { background: var(--tile); border-radius: var(--r); padding: 26px; min-height: 260px; display: flex; flex-direction: column; }
.steps .when { font-family: var(--display); font-weight: 300; font-size: clamp(32px, 3vw, 44px); letter-spacing: -.02em; line-height: 1; margin-bottom: auto; padding-bottom: 28px; }
.steps h3 { font-size: var(--step-body); margin-bottom: 6px; }
.steps p { margin: 0; font-size: var(--step-small); color: var(--fg-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps > div { min-height: 0; } }

/* prose */
.prose { font-size: 19px; line-height: 1.65; }
.prose h2 { font-size: clamp(30px, 3vw, 40px); margin: 1.6em 0 .5em; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose a { text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose blockquote { margin: 1.6em 0; padding: 22px 26px; border-radius: var(--r); background: var(--tile); }
.script { white-space: pre-wrap; font-size: 17px; line-height: 1.55; padding: 20px 22px; border-radius: 16px; background: var(--tile); }
.prose .script { margin: 1em 0 1.4em; }
.post-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: var(--step-small); color: var(--fg-soft); margin-top: 20px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; background: var(--tile); border-radius: var(--r); overflow: hidden; transition: transform .25s var(--ease); }
.post-card:hover { transform: translateY(-4px); }
.post-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.post-card .in { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { margin-bottom: 10px; }
.post-card p { color: var(--fg-soft); font-size: var(--step-small); }
.post-card .small { margin-top: auto; color: var(--fg-soft); }
.sources { font-size: var(--step-small); color: var(--fg-soft); margin-top: 48px; }

/* tools */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.calc__in { background: var(--tile); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); display: grid; gap: 28px; align-content: start; }
.calc__out { background: #121212; color: #f6f5f2; border-radius: var(--r); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.range { display: grid; gap: 12px; }
.range__top { display: flex; justify-content: space-between; font-weight: 500; font-size: var(--step-small); }
.range__top output { font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--orange) var(--fill, 50%), var(--sand) var(--fill, 50%)); } /* taste-skill-ignore: range track fill */
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #121212; border: 3px solid #f6f5f2; cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #121212; border: 3px solid #f6f5f2; cursor: grab; }
.big-num { font-family: var(--display); font-weight: 300; font-size: clamp(56px, 6.4vw, 104px); letter-spacing: -.04em; line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; margin: 8px 0 22px; }
.calc__rows { display: grid; gap: 10px; margin-bottom: 26px; font-size: var(--step-small); }
.calc__rows div { display: flex; justify-content: space-between; gap: 12px; }
.calc__out details { margin-top: 18px; font-size: var(--step-small); color: #b9b5ad; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.quiz { background: var(--tile); border-radius: var(--r); padding: clamp(24px, 4vw, 48px); max-width: 820px; margin-inline: auto; }
.quiz__q { display: none; }
.quiz__q.is-on { display: block; animation: vt-in .35s var(--ease); }
.quiz__q h3 { font-family: var(--display); font-weight: 300; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.02em; line-height: 1.1; }
.quiz__opts { display: grid; gap: 8px; margin-top: 22px; }
.quiz__opts button { text-align: left; min-height: 56px; padding: 14px 18px; border-radius: 14px; border: 0; background: var(--bg); color: var(--fg); font: 400 17px var(--text); cursor: pointer; transition: background .2s, transform .2s; }
.quiz__opts button:hover { background: var(--orange); color: #121212; }
.progress { height: 8px; border-radius: 999px; background: var(--bg); overflow: hidden; margin-bottom: 18px; }
.progress i { display: block; height: 100%; width: 0; background: var(--orange); transition: width .4s var(--ease); }
.progress-label { font-size: var(--step-small); color: var(--fg-soft); margin-bottom: 18px; }
.score { font-family: var(--display); font-weight: 300; font-size: clamp(80px, 10vw, 160px); line-height: .9; letter-spacing: -.05em; }

/* dialogs */
dialog { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: min(520px, calc(100% - 28px)); width: 100%; }
dialog::backdrop { background: rgba(18, 18, 18, .5); }
dialog[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }
.dlg { position: relative; background: var(--paper); border-radius: 28px; padding: clamp(24px, 4vw, 36px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); } /* taste-skill-ignore: real dialog */
.dlg__close { position: absolute; top: 14px; right: 14px; }
.dlg h2 { font-size: 32px; padding-right: 40px; }
.dlg .lead { font-size: 17px; margin-top: 10px; }
.pstep { display: none; gap: 12px; margin-top: 18px; }
.pstep.is-on { display: grid; animation: vt-in .3s var(--ease); }
.dlg .input { background: var(--stone); }
.cmdk { max-width: 620px; margin-top: 12vh; margin-bottom: auto; }
.cmdk .dlg { padding: 8px; }
.cmdk input { border: 0; background: transparent; min-height: 56px; font-size: 18px; padding: 0 16px; width: 100%; color: var(--ink); font-family: var(--text); }
.cmdk input:focus { outline: none; }
.cmdk ul { list-style: none; margin: 0; padding: 6px; max-height: 52vh; overflow: auto; }
.cmdk li a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; text-decoration: none; }
.cmdk li a span { color: var(--ink-soft); font-size: var(--step-small); }
.cmdk li a[aria-selected="true"], .cmdk li a:hover { background: var(--stone); }
.cmdk .empty { padding: 16px; color: var(--ink-soft); }

/* sticky phone bar */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; gap: 8px; transform: translateY(150%); transition: transform .4s var(--ease); }
  .mbar.is-on { transform: none; }
  .mbar .btn { flex: 1; }
  .mbar .btn--quiet { flex: none; background: #121212; color: #f6f5f2; }
}

/* footer: contact as the headline */
.foot { background: #121212; color: #f6f5f2; padding: 40px 0 28px; min-height: 90svh; display: flex; flex-direction: column; }
:root[data-theme="dark"] .foot { background: #050505; }
.foot__top { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 24px 32px; font-size: 15px; color: #c4bfb6; }
.foot__top .logo { width: 70px; color: #f6f5f2; }
.foot__top nav { display: grid; gap: 8px; }
.foot__top a { text-decoration: none; color: #c4bfb6; }
.foot__top a:hover { color: #f6f5f2; }
.foot__top h4 { color: #f6f5f2; font-size: 15px; margin-bottom: 6px; }
.foot__news { display: flex; gap: 8px; margin-top: 10px; max-width: 360px; }
.foot__news .input { background: #2a2724; color: #f6f5f2; min-height: 46px; }
.foot__news .btn { min-height: 46px; }
.foot__mail { margin-top: auto; padding-top: 80px; display: block; font-family: var(--display); font-weight: 300; font-size: clamp(40px, 8.4vw, 150px); letter-spacing: -.035em; line-height: .95; color: #f6f5f2; text-decoration: none; }
.foot__mail:hover { color: var(--orange); }
.foot__meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 36px; font-size: 14px; color: #9a958c; }
.foot__meta a { color: inherit; }
@media (max-width: 900px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__mail { font-size: 11.5vw; } .foot__meta { flex-direction: column; } }

/* misc */
.ex { text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.ex .kind { font-size: var(--step-small); color: var(--fg-soft); }
.blur-txt { filter: blur(5px); user-select: none; }
.cal-embed { min-height: 680px; border-radius: var(--r); overflow: hidden; background: var(--tile); }
.plan90 h3 { margin: 6px 0 14px; }
.plan90 ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: var(--step-small); }
.plan90 .when { font-size: var(--step-small); color: var(--fg-soft); }
.swatch { border-radius: var(--r); padding: 22px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; font-size: var(--step-small); }
.swatch b { font-size: var(--step-body); }
.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 640px) { .do-dont { grid-template-columns: 1fr; } }
video.loop { width: 100%; height: auto; border-radius: var(--r); background: var(--stone); }

/* entrances */
.rise { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.rise.is-in { opacity: 1; transform: none; }
.no-js .rise { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

/* ---------- industry photo tiles ---------- */
.inds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ind { position: relative; display: block; border-radius: var(--r); overflow: hidden; text-decoration: none; color: #f6f5f2; aspect-ratio: 3 / 4; }
.ind img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ind:hover img { transform: scale(1.04); }
.ind span { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 20px; font-size: var(--step-lead); font-weight: 500; background: linear-gradient(transparent, rgba(0,0,0,.6)); } /* taste-skill-ignore: neutral scrim over photo */
@media (max-width: 900px) { .inds { grid-template-columns: 1fr 1fr; } }

/* ---------- shared bits used across pages ---------- */
.dots { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.dots li { padding-left: 22px; position: relative; }
.dots li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.box .num, .result .stat { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 4.4vw, 64px); letter-spacing: -.03em; line-height: 1; }
.person .person__mono { width: 72px; height: 72px; border-radius: 16px; display: grid; place-items: center; font-family: var(--display); font-size: 28px; background: var(--orange); color: #121212; margin-bottom: 14px; }
.box.person + .box.person .person__mono { background: #2a2724; color: #f6f5f2; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; font-size: var(--step-small); color: var(--fg-soft); }
.hero__meta svg { width: 16px; height: 16px; display: inline; vertical-align: -3px; margin-right: 6px; }
.timeline { display: grid; gap: 8px; }
.timeline > div { display: grid; grid-template-columns: 140px 1fr; gap: 24px; background: var(--tile); border-radius: var(--r); padding: 26px; }
.timeline .when { font-family: var(--display); font-size: 28px; font-weight: 300; }
@media (max-width: 640px) { .timeline > div { grid-template-columns: 1fr; gap: 6px; } }
.ico { display: none; }
.pill { display: inline-block; font-size: var(--step-small); color: var(--fg-soft); margin-bottom: 18px; }
.pill b { font-weight: 500; color: var(--fg); margin-right: 8px; }
.bar.is-dark { background: color-mix(in srgb, #121212 82%, transparent); }
.bar.is-dark .bar__logo, .bar.is-dark .icon-btn { color: #f6f5f2; }
.bar.is-dark .bar__links a { color: #b9b5ad; }
.bar.is-dark .bar__links a:hover, .bar.is-dark .bar__links a[aria-current="page"] { color: #f6f5f2; }
.bar.is-dark .icon-btn:hover { background: #2a2724; }
.film video { width: 100%; height: auto; border-radius: var(--r); background: #121212; }
.film__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; margin-top: 40px; }
.film__foot .lead { margin: 0; }
@media (max-width: 1000px) { .film__foot { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(32px, 4.8vw, 76px); max-width: 16ch; }
.hero-h1 { white-space: nowrap; max-width: none !important; font-size: clamp(30px, 8.2vw, 80px) !important; }
@media (min-width: 901px) { .hero-h1 { font-size: clamp(40px, 5.1vw, 80px) !important; } }
@media (max-width: 900px) { .hero .lead { font-size: var(--step-body); } }

/* readable running text everywhere */
.box p, .box li, .plan ul, .plan .out, .plan .for, .steps p, .person p, .post-card p, .tile p { font-size: var(--step-body); }
.box .src { font-size: var(--step-small); }
.pic h2 { max-width: 18ch; font-size: clamp(32px, 3.4vw, 54px); }
.strip h2 { font-size: clamp(24px, 2.2vw, 34px); }
.qtext { font-family: var(--display); font-weight: 300; font-size: clamp(24px, 3vw, 38px); letter-spacing: -.02em; line-height: 1.12; margin: 0; }
.post-h1 { font-size: clamp(30px, 3.6vw, 54px) !important; max-width: 24ch !important; }
.band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: clamp(48px, 7vw, 96px); }
.band img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
@media (max-width: 760px) { .band { grid-template-columns: 1fr 1fr; } }
.section { padding-block: clamp(72px, 9vw, 140px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.wrap--narrow { width: min(100% - 2 * var(--m), 780px); margin-inline: auto; }
.narrow.wrap { max-width: 780px; }

table.cmp { font-size: var(--step-body); }
.range__top { font-size: var(--step-body); }
@media (max-width: 900px) { .split { gap: 72px; } }
.fine, .box .src, .calc__out details, .note { font-size: var(--step-body); }
.foot__top { font-size: var(--step-body); }

/* before/after mock scales with its own width */
.ba { container-type: inline-size; }
.site { font-size: clamp(7px, 1.55cqi, 14px); }
.site__body { padding-bottom: 13%; }
.site--new .site__btn { white-space: nowrap; padding: .6em 1.1em; }
.site--new .site__btns { flex-wrap: nowrap; }
.site--new .h { font-size: 2.1em; }
.site--new .site__meta { max-width: 30em; }
/* photo bands: landscape, never stretched */
.band img { height: auto; aspect-ratio: 3 / 2; }

/* Beehiiv subscribe form: fallback form shows until the embed renders */
.bh { width: 100%; max-width: 440px; }
.foot .bh { margin-top: 10px; }
.nl.bh-on > .jform, .nl.bh-on > .status, .nl.bh-on .foot__news, .nl.bh-on .foot__news + .status { display: none; }
@media (max-width: 640px) { .ba { aspect-ratio: 4 / 3.4; } .site__body { padding-bottom: 18%; } }
@container (max-width: 520px) { .ba__label { bottom: 8px; padding: 4px 9px; font-size: 11px; } .ba__label--l { left: 8px; } .ba__label--r { right: 8px; } .ba__knob { width: 40px; height: 40px; margin: -20px 0 0 -20px; } }

/* ---------- services mega menu ---------- */
.mega-wrap { display: inline-flex; align-items: center; gap: 2px; }
.mega-btn { background: none; border: 0; padding: 4px; margin: -4px 0; color: inherit; cursor: pointer; border-radius: 6px; display: inline-grid; place-items: center; color: var(--ink-soft); }
.mega-btn svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.mega-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.bar.is-dark .mega-btn { color: #b9b5ad; }
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); color: var(--ink); padding: 34px 0 40px; }
.bar.mega-on .mega { display: block; }
.mega__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .8fr); gap: 32px; }
.mega__in > div { display: flex; flex-direction: column; gap: 9px; }
.mega a { color: var(--ink-soft); text-decoration: none; font-size: 16px; }
.mega a:hover { color: var(--ink); }
.mega__h { margin: 0 0 6px; }
.mega__h a { color: var(--ink); font-weight: 500; }
.mega__side { padding-left: 28px; }
.mega__side a:first-child { color: var(--ink); font-weight: 500; }
:root[data-theme="dark"] .mega { background: #1d1c1a; color: #f6f5f2; }
:root[data-theme="dark"] .mega a { color: #b9b5ad; } :root[data-theme="dark"] .mega a:hover, :root[data-theme="dark"] .mega__h a, :root[data-theme="dark"] .mega__side a:first-child { color: #f6f5f2; }
@media (max-width: 1100px) { .mega__in, .mega__in--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mega__side { padding-left: 0; } }
.mega { max-height: calc(100svh - 70px); overflow-y: auto; }

/* ---------- service catalog ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.svc-card { background: var(--tile); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--fg); min-height: 220px; transition: background .2s var(--ease); }
.svc-card:hover { background: color-mix(in srgb, var(--tile) 80%, var(--fg) 6%); }
.svc-card h3 { font-size: var(--step-lead); }
.svc-card p { margin: 0; color: var(--fg-soft); flex: 1; }
.svc-card__price { font-weight: 500; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } .svc-card { min-height: 0; } }
.price-chip { display: inline-block; margin-top: 24px; padding: 8px 16px; border-radius: 999px; background: var(--stone); font-weight: 500; }
.plan .pick { margin: 0 0 -6px; font-size: var(--step-small); color: #b9b5ad; }
.dots--lg { gap: 14px; } .dots--lg li { font-size: var(--step-lead); }
.pic-ch img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; display: block; }
@media (max-width: 700px) { .pic-ch img { aspect-ratio: 4 / 3; } }

/* ---------- MacBook ---------- */
.mac3d { position: relative; width: 100%; aspect-ratio: 4 / 3; }
.mac3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.mac3d__fallback { position: absolute; inset: 8% 4% 12%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.mac3d.is-3d .mac3d__fallback { display: none; }
.mac3d__lid { width: 86%; background: #1b1b1d; border-radius: 14px 14px 4px 4px; padding: 2.2% 2.2% 3%; }
.mac3d__scr { border-radius: 4px; overflow: hidden; aspect-ratio: 16 / 10; background: #f6f5f2; }
.mac3d__scr img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mac3d__base { width: 100%; height: 14px; background: #d6d6d8; border-radius: 0 0 14px 14px; }

/* ---------- personal pages ---------- */
.person-head .split { align-items: center; }
.person-head h1 { font-size: clamp(44px, 6.4vw, 104px); }
.person-head .role { font-family: var(--display); font-weight: 300; font-size: clamp(22px, 2.4vw, 34px); margin: 10px 0 0; color: var(--fg-soft); }
.avail { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--stone); font-size: var(--step-small); font-weight: 500; margin-bottom: 26px; }
.avail i { width: 9px; height: 9px; border-radius: 50%; background: #1c7c4b; }
.person-photo { margin: 0; justify-self: end; width: 100%; max-width: 480px; }
.person-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); background: #e9e7e1; display: block; }
.tiles--plain { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles--plain .tile { aspect-ratio: auto; min-height: 220px; gap: 18px; }
@media (max-width: 960px) { .tiles--plain { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tiles--plain { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tiles--plain .tile { min-height: 0; padding: 18px; gap: 12px; } .tiles--plain .num { font-size: 30px; } }
.jobs { display: grid; gap: 8px; }
.job { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; background: var(--tile); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); }
.job h3 { font-size: var(--step-lead); }
.job__meta p { margin: 6px 0 0; }
.job .dots { margin: 0; }
@media (max-width: 800px) { .job { grid-template-columns: 1fr; gap: 14px; } }
.toolgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 800px) { .toolgrid { grid-template-columns: 1fr; } }
.chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--tile); border-radius: 999px; padding: 7px 14px; font-size: var(--step-small); }
button.tlink { background: none; border: 0; padding: 0; font: inherit; font-weight: 500; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .25em; }
@media print {
  .bar, .mbar, .foot, dialog, .mac3d, .band, [data-print], .btn-row .btn--quiet { display: none !important; }
  .ch, .page-head { padding-block: 24px !important; background: #fff !important; color: #121212 !important; --fg: #121212; --fg-soft: #4a4844; --tile: #f3f2ef; }
  .rise { opacity: 1 !important; transform: none !important; }
  .person-photo { max-width: 200px; }
  .job, .tile { break-inside: avoid; }
}
.offer--sm { font-size: clamp(40px, 5vw, 84px); max-width: 11ch; }
.tools-strip { padding-block: 0 clamp(40px, 5vw, 64px); }
.tools-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.tools-strip p { margin: 0 6px 0 0; color: var(--fg-soft); font-size: var(--step-small); }
.tools-strip ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tools-strip li { background: var(--stone); border-radius: 999px; padding: 7px 14px; font-size: var(--step-small); }
@media (min-width: 961px) { .tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 901px) { .split--hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
.plan .for--after { min-height: 0; margin-top: 6px; }
.plan .amt + .for--after { margin-top: 8px; }
.plans .plan ul { flex: 1 0 auto; align-content: start; }
.foot__top { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr); align-items: start; }
.foot__top nav { align-content: start; }
@media (max-width: 900px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__top .nl { grid-column: 1 / -1; } }
.person-head .cred { display: inline-block; margin: 14px 0 0; padding: 6px 14px; border-radius: 999px; background: var(--stone); font-size: var(--step-small); font-weight: 500; }
/* the first screen paints at once: no fade on the opening section */
main > :first-child .rise, main > article > :first-child .rise { opacity: 1; transform: none; transition: none; }

/* ---------- catalog v2 ---------- */
.mega__in--5 { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, .7fr); }
.case { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.case .dots li { font-size: var(--step-lead); }
.case__res .big-num { margin-top: 0; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } }
.plans--one { grid-template-columns: minmax(0, 560px); }
.plans--one .guarantee { margin-top: 0; }
.svc-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 900px) { .svc-cols { grid-template-columns: 1fr; } }
.svc-minis { display: grid; gap: 4px; }
.svc-mini { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-radius: 14px; background: var(--tile); text-decoration: none; color: var(--fg); transition: background .2s var(--ease); }
.svc-mini:hover { background: color-mix(in srgb, var(--tile) 80%, var(--fg) 6%); }
.svc-mini span:last-child { white-space: nowrap; font-size: var(--step-small); align-self: center; }
.steps2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.steps2 a { background: var(--tile); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); text-decoration: none; color: var(--fg); display: grid; gap: 10px; transition: background .2s var(--ease); }
.steps2 a:hover { background: #3a3632; }
.steps2 h3 { font-size: var(--step-lead); }
.steps2 p { margin: 0; color: var(--fg-soft); }
@media (max-width: 900px) { .steps2 { grid-template-columns: 1fr; } }
.sheet details { padding: 12px 0; }
.sheet summary { font-size: var(--step-lead); cursor: pointer; list-style: none; }
.sheet summary::-webkit-details-marker { display: none; }
.sheet details[open] summary { margin-bottom: 8px; }
.sheet details a { display: block; padding: 8px 0 8px 14px; font-size: var(--step-body); color: var(--ink-soft); }
/* hero phone stills (phones, no WebGL, data saver) */
.phone3d__fallback { inset: 0; border-radius: 0; background: none; padding: 0; }
.phone3d__fallback .still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .6s var(--ease); }
.phone3d .still--open { opacity: 0; }
.phone3d.is-open .still--open { opacity: 1; } .phone3d.is-open .still--closed { opacity: 0; }
.phone3d .t-d { display: none; }
:root[data-theme="dark"] .phone3d .t-d { display: block; } :root[data-theme="dark"] .phone3d .t-l { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .phone3d .t-d { display: block; } :root:not([data-theme="light"]) .phone3d .t-l { display: none; } }
.plan .setup { margin: 4px 0 0; font-size: var(--step-small); color: var(--fg-soft); }
.plan--main .setup { color: #b9b5ad; }
.ten { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ten li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; background: var(--tile); border-radius: 14px; padding: 12px 16px; }
.ten .n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 500; background: var(--bg); font-size: var(--step-small); }
.ten li.done .n { background: var(--ok); color: #fff; }
.ten b { font-weight: 500; }
.ten p { margin: 2px 0 0; color: var(--fg-soft); font-size: var(--step-body); }

/* ---------- fluted (reeded) glass ----------
   A pane of glass, not a filter: 18px reeds that refract and soften the picture behind,
   one soft highlight per reed, a light sweep across the pane, and a lit edge.
   The glass stays still; the picture drifts behind it on scroll. Used on a few people pictures and the hero pane only. */
.reed-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.fluted { position: relative; overflow: hidden; isolation: isolate; background: var(--stone); }
.fluted__in { position: absolute; inset: 0; filter: url(#reed); }
.fluted__in img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; transform: translate3d(0, var(--drift, 0px), 0) scale(1.04); will-change: transform; }
.fluted::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; border-radius: inherit;
  background:
    linear-gradient(100deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 38%, rgba(255,255,255,0) 72%, rgba(255,255,255,.07) 100%), /* taste-skill-ignore: glass light sweep */
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0px, rgba(255,255,255,0) 3px, rgba(255,255,255,.09) 8px, rgba(255,255,255,.14) 10px, rgba(255,255,255,0) 13px, rgba(0,0,0,.04) 18px); /* taste-skill-ignore: reed highlights */
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(0,0,0,.12); } /* taste-skill-ignore: reeded glass is the brand texture */
.band__glass .fluted { width: 100%; aspect-ratio: 3 / 2; border-radius: var(--r); }
.pic-ch .fluted--wide { width: 100%; aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .pic-ch .fluted--wide { aspect-ratio: 4 / 3; } }

/* hero: a reeded pane behind the phone */
.hero__stage { position: relative; width: 100%; max-width: 620px; justify-self: end; }
.hero__stage .phone3d { position: relative; z-index: 1; max-width: none; justify-self: auto; }
.fluted--hero { position: absolute; inset: 0 0 0 30%; border-radius: 30px; }
.fluted--hero .fluted__in { filter: url(#reed-soft); }
.fluted--hero .fluted__in img { filter: saturate(.85) contrast(.95); }
:root[data-theme="dark"] .fluted--hero .fluted__in img { filter: saturate(.7) brightness(.6); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fluted--hero .fluted__in img { filter: saturate(.7) brightness(.6); } }
@media (max-width: 900px) { .hero__stage { justify-self: center; max-width: 420px; } }

/* phones: keep the glass look, skip the live refraction */
@media (max-width: 700px) { .fluted__in, .fluted--hero .fluted__in { filter: blur(3px); } }
@media (prefers-reduced-motion: reduce) { .fluted__in img { transform: scale(1.04); } }
.brand-reed { aspect-ratio: 4 / 5; border-radius: var(--r); }
.kit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kit { display: grid; gap: 6px; text-decoration: none; color: var(--fg); }
.kit img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--tile); }
.kit b { font-weight: 500; margin-top: 6px; }
@media (max-width: 800px) { .kit-grid { grid-template-columns: 1fr 1fr; } }
.kit img { object-fit: contain; padding: 10px; }
.steps2--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps2 > div { background: var(--tile); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); display: grid; gap: 10px; align-content: start; }
@media (max-width: 1000px) { .steps2--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps2--4 { grid-template-columns: 1fr; } }
.inds--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .inds--3 { grid-template-columns: 1fr; } }
