/* Zonda North America, style v3 (2026-10-08): dark cinematic redesign.
   Bump the filename on every change: Hostinger's cache ignores ?v= */

:root {
  --bg: oklch(0.135 0.006 50);
  --bg-2: oklch(0.165 0.008 50);
  --surface: oklch(0.2 0.009 50);
  --surface-2: oklch(0.24 0.01 50);
  --line: oklch(1 0 0 / 0.12);
  --line-strong: oklch(1 0 0 / 0.22);
  --ink: oklch(0.975 0.006 75);
  --text: oklch(0.87 0.008 70);
  --muted: oklch(0.72 0.012 65);
  --dim: oklch(0.42 0.01 60);
  --ember: oklch(0.72 0.19 44);
  --ember-hi: oklch(0.8 0.16 58);
  --ember-ink: oklch(0.82 0.13 55);
  --on-ember: oklch(0.16 0.03 45);
  --ember-tint: oklch(0.72 0.19 44 / 0.12);
  --ok-tint: oklch(0.72 0.14 155 / 0.16);
  --ok-ink: oklch(0.86 0.11 155);
  --err-tint: oklch(0.65 0.2 25 / 0.16);
  --err-ink: oklch(0.82 0.12 25);

  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
  --radius: 14px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --z-canvas: 0;
  --z-content: 1;
  --z-header: 50;
  --z-menu: 60;
  --z-skip: 70;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.68;
  font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Film grain, static (cheap) */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: var(--z-menu);
  opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--ember); color: var(--on-ember); }

h1, h2, h3, .display {
  color: var(--ink); margin: 0 0 .5em; font-weight: 800;
  line-height: .98; letter-spacing: -.03em; text-wrap: balance;
  font-variation-settings: 'wdth' var(--wdth, 100);
}
h1 { font-size: clamp(2.6rem, 6.6vw, 6rem); }
h2 { font-size: clamp(2.1rem, 4.8vw, 4.4rem); }
h3, .h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.15; letter-spacing: -.015em; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--ember); }
.lead { font-size: clamp(1.1rem, 1.35vw, 1.3rem); line-height: 1.6; max-width: 34em; color: var(--text); }
.kicker {
  display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1.4rem;
  font-size: .95rem; font-weight: 600; color: var(--ember-ink);
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--ember); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ember); color: var(--on-ember); padding: .6rem 1rem; z-index: var(--z-skip); border-radius: 8px; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }
.textlink { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--ember); padding-bottom: 2px; transition: color .2s; }
.textlink:hover { color: var(--ember-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Buttons */
.btn {
  --wdth: 100;
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 56px; padding: .9rem 1.7rem; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1.02rem; line-height: 1.1; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn .arrow { display: inline-block; transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translate(3px, -3px) rotate(-45deg); }
.btn-ember { background: var(--ember); color: var(--on-ember); }
.btn-ember::before { background: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--bg); border-color: var(--ink); }
.btn-sm { min-height: 44px; padding: .55rem 1.15rem; font-size: .95rem; }
.btn:active { transform: scale(.98); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  transition: background-color .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: oklch(0.135 0.006 50 / .74);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand {
  display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink);
  font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; white-space: nowrap;
  font-variation-settings: 'wdth' 112;
}
.brand-dot { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--ember); flex: none; box-shadow: 0 0 18px var(--ember); }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .98rem; transition: color .2s; position: relative; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--ember); }
.nav-contact { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.gtranslate_wrapper { display: flex; align-items: center; }
.gtranslate_wrapper select, .gt_selector {
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: .45rem .8rem; font: inherit; font-size: .85rem; cursor: pointer; max-width: 128px;
}
.menu-toggle { display: none; }

@media (max-width: 960px) {
  .header-inner { gap: 12px; }
  .nav {
    position: fixed; inset: 0; z-index: var(--z-menu); margin: 0;
    flex-direction: column; justify-content: center; gap: 6px; padding: 96px var(--gutter) 40px;
    background: var(--bg); visibility: hidden; opacity: 0;
    transition: opacity .35s var(--ease-out), visibility 0s linear .35s;
  }
  .nav.open { visibility: visible; opacity: 1; transition: opacity .35s var(--ease-out); }
  .nav a {
    font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.15;
    font-variation-settings: 'wdth' 112;
  }
  .nav a[aria-current="page"] { color: var(--ember); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .nav-contact { display: block; color: var(--ember); }
  .header-actions { margin-left: auto; position: relative; z-index: calc(var(--z-menu) + 1); }
  .header-actions .btn { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer;
  }
  .menu-toggle .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease-out), background-color .2s; }
  .bars { position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; }
  .bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  body.menu-open { overflow: hidden; }
  body.menu-open .brand { position: relative; z-index: calc(var(--z-menu) + 1); }
}
@media (max-width: 420px) {
  .header-inner { gap: 8px; }
  .brand { font-size: .95rem; gap: .45rem; font-variation-settings: 'wdth' 100; }
  .brand-dot { width: 10px; height: 10px; }
  .menu-toggle { width: 44px; height: 44px; }
  .header-actions { gap: 8px; }
  .gtranslate_wrapper select, .gt_selector { max-width: 96px; font-size: .8rem; padding: .4rem .55rem; }
}

/* Wind canvas + atmosphere */
.wind-stage { position: relative; isolation: isolate; overflow: clip; }
.wind {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: var(--z-canvas);
  display: block; pointer-events: none;
}
.wind-stage::before {
  content: ""; position: absolute; inset: 0; z-index: var(--z-canvas); pointer-events: none;
  background:
    radial-gradient(70% 60% at 8% 105%, oklch(0.72 0.19 44 / .30), transparent 70%),
    radial-gradient(45% 40% at 92% -5%, oklch(0.8 0.16 58 / .10), transparent 70%);
}
.wind-stage::after {
  content: ""; position: absolute; inset: 0; z-index: var(--z-canvas); pointer-events: none;
  background: linear-gradient(180deg, oklch(0.135 0.006 50 / .55) 0%, transparent 22%, transparent 62%, var(--bg) 100%);
}
.wind-stage > :not(.wind) { position: relative; z-index: var(--z-content); }

/* Home hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 48px) 0 0; }
.hero > .wrap, .page-hero > .wrap, .notfound > .wrap, .cta > .wrap, .route-pin > .wrap { width: 100%; }
.hero-body { padding-bottom: clamp(36px, 6vh, 72px); }
.hero h1 { font-size: clamp(2.7rem, 6.5vw, 6rem); margin-bottom: .32em; max-width: 14ch; }
.line { display: block; overflow: clip; padding-bottom: .06em; margin-bottom: -.06em; }
.line-in { display: inline-block; will-change: transform; font-variation-settings: 'wdth' var(--wdth, 100); }
/* Pre-hide only while the motion script is expected; a head timer removes .js if it never arrives */
.js .hero .line-in, .js .page-hero .line-in { transform: translateY(110%); }
.js .hero-row > *, .js .route-strip, .js .page-hero .lead, .js .page-hero .kicker { opacity: 0; }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.hero .lead { margin: 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.route-strip {
  border-top: 1px solid var(--line); padding: 18px 0 22px;
  display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap;
  font-weight: 600; font-size: .98rem; color: var(--muted);
}
.route-strip .stop { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); }
.route-strip .stop::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--ember); }
.route-strip .stop:last-of-type::before { background: var(--ember); }
.route-strip .sep { width: clamp(24px, 6vw, 90px); height: 1px; background: linear-gradient(90deg, var(--ember), transparent); }
.scroll-cue { margin-left: auto; display: inline-flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .9rem; }
.scroll-cue i { position: relative; width: 1px; height: 26px; background: var(--line-strong); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ember); animation: cue 1.8s var(--ease-out) infinite; }
@keyframes cue { to { top: 100%; } }

/* Sections */
.section { padding: clamp(96px, 14vw, 180px) 0; position: relative; }
.section-tight { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-head { max-width: 900px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head h2 { margin-bottom: .35em; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Statement (phrase scrub) */
.statement p {
  font-size: clamp(2rem, 5.2vw, 5.4rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 750;
  color: var(--ink); margin: 0; max-width: 22ch; text-wrap: balance;
  font-variation-settings: 'wdth' 92;
}
.statement .ph { transition: color .2s; }
.statement .ph.hot { color: var(--ember); }

/* Service rows (home) */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-row {
  --wdth: 100;
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 64px; align-items: center; gap: 14px 40px;
  padding: clamp(26px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit; isolation: isolate;
}
.svc-row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: var(--ember-tint); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out);
}
.svc-row:hover::before, .svc-row:focus-visible::before { transform: scaleY(1); }
.svc-title {
  margin: 0; font-size: clamp(1.9rem, 5.6vw, 5.2rem); line-height: .95; font-weight: 800; letter-spacing: -.035em;
  color: var(--ink); transition: color .3s; white-space: nowrap;
}
.svc-row:hover .svc-title { color: var(--ember); }
.svc-row p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.55; max-width: 36em; grid-column: 1; grid-row: 2; }
.svc-title { grid-column: 1; grid-row: 1; }
.svc-go { grid-column: 2; grid-row: 1 / span 2; }
.svc-go {
  width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--ink); font-size: 1.3rem;
  transition: background-color .35s var(--ease-out), color .35s, transform .45s var(--ease-out), border-color .35s;
}
.svc-row:hover .svc-go { background: var(--ember); color: var(--on-ember); border-color: var(--ember); transform: rotate(-45deg); }
@media (max-width: 900px) {
  .svc-row { grid-template-columns: minmax(0, 1fr) 52px; }
  .svc-go { width: 52px; height: 52px; }
  .svc-title { white-space: normal; }
}

/* Route (pinned on desktop) */
.route-sec { overflow: clip; }
.route-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 24px) 0 48px; }
.route-pin .section-head h2 { max-width: 16ch; }
.route-map { margin-top: clamp(32px, 6vh, 72px); }
.route-band { position: relative; width: 100%; aspect-ratio: 4.6 / 1; margin-bottom: 28px; }
.route-band svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-path-bg { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.route-path { fill: none; stroke: var(--ember); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 8px oklch(0.72 0.19 44 / .75)); }
.route-pin-dot, .route-head {
  position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--ember); box-shadow: 0 0 0 6px var(--bg);
  transition: background-color .3s, box-shadow .3s;
}
.route-pin-dot.on { background: var(--ember); box-shadow: 0 0 0 6px var(--bg), 0 0 24px var(--ember); }
.route-head { display: none; width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 0; background: var(--ember-hi); box-shadow: 0 0 18px 4px var(--ember); }
.motion .route-head { display: block; }
.stops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.stop-card { color: var(--text); transition: opacity .3s; }
.stop-card .num { display: block; font-weight: 800; font-size: .95rem; color: var(--ember-ink); margin-bottom: .5rem; font-variant-numeric: tabular-nums; }
.stop-card strong { display: block; color: var(--ink); font-size: clamp(1.4rem, 2.4vw, 2.3rem); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; margin-bottom: .45rem; font-variation-settings: 'wdth' 108; }
.stop-card span { color: var(--muted); font-size: 1rem; line-height: 1.5; display: block; max-width: 24em; }
@media (max-width: 899px) {
  .route-pin { min-height: 0; padding: 0; }
  .route-band { display: none; }
  .stops { position: relative; grid-template-columns: 1fr; gap: 40px; padding-left: 40px; }
  .stops::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--ember), oklch(0.72 0.19 44 / .15)); }
  .stop-card { position: relative; }
  .stop-card::before { content: ""; position: absolute; left: -40px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ember); }
  .stop-card:last-child::before { background: var(--ember); }
}

/* Process steps (home) */
.steps-wrap { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: st; position: relative; }
.steps li { counter-increment: st; padding: 28px 22px 0 0; position: relative; border-top: 1px solid var(--line); }
.steps li::before {
  content: counter(st, decimal-leading-zero); display: block; margin-bottom: 1.2rem;
  font-size: clamp(2.4rem, 3.6vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--ember);
  font-variation-settings: 'wdth' 70; font-variant-numeric: tabular-nums;
}
.steps strong { display: block; color: var(--ink); font-size: 1.12rem; line-height: 1.25; margin-bottom: .35rem; }
.steps span { color: var(--muted); font-size: .97rem; line-height: 1.5; display: block; }
.steps-progress { position: absolute; z-index: 1; left: 0; top: -1px; height: 2px; width: 100%; background: var(--ember); transform-origin: left; transform: scaleX(1); }
.after-steps { margin: 48px 0 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 22px 0 26px 76px; }
  .steps li::before { position: absolute; left: 0; top: 20px; font-size: 2.4rem; }
  .steps-progress { display: none; }
}

/* Client */
.client { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px 80px; align-items: center; }
.client-logo {
  position: relative; aspect-ratio: 5 / 3; display: grid; place-items: center; padding: 12%;
  border: 1px solid var(--line); border-radius: var(--radius); background:
    radial-gradient(60% 70% at 50% 50%, oklch(0.72 0.19 44 / .14), transparent 70%), var(--bg-2);
  overflow: hidden;
}
.client-logo img { width: 100%; max-width: 360px; }
.client h2 { font-size: clamp(2rem, 4.2vw, 3.8rem); }
@media (max-width: 860px) { .client { grid-template-columns: 1fr; } }

/* Why */
.why { display: grid; border-top: 1px solid var(--line); }
.why-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 64px; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.why-item h3 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; font-variation-settings: 'wdth' 106; }
.why-item p { margin: 0; color: var(--muted); max-width: 34em; }
@media (max-width: 760px) { .why-item { grid-template-columns: 1fr; } }

/* CTA band */
.cta { min-height: 88svh; display: flex; align-items: center; text-align: left; }
.cta h2 { font-size: clamp(2.8rem, 8vw, 6rem); line-height: .94; max-width: 11ch; margin-bottom: .3em; }
.cta p { color: var(--text); font-size: clamp(1.1rem, 1.4vw, 1.3rem); max-width: 30em; margin-bottom: 2rem; }

/* Inner page hero */
.page-hero { min-height: 78svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 64px) 0 clamp(48px, 7vw, 96px); }
.page-hero h1 { max-width: 15ch; margin-bottom: .3em; }
.page-hero.short { min-height: 58svh; }
.page-hero .lead { margin: 0; }

/* Services page */
.service { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); scroll-margin-top: var(--header-h); }
.service-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); }
.service h2 { --wdth: 100; margin: 0; font-size: clamp(2.2rem, 6vw, 5.4rem); line-height: .94; }
.service-head p { margin: 0; color: var(--text); font-size: 1.15rem; max-width: 40em; }
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.list-box { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.list-box.you { background: transparent; }
.list-box h3 { font-size: 1rem; color: var(--ember-ink); margin-bottom: 1.1rem; letter-spacing: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.checks li { position: relative; padding-left: 28px; color: var(--text); line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 2px; background: var(--ember); }
@media (max-width: 820px) {
  .lists { grid-template-columns: 1fr; }
}

/* How it works timeline */
.timeline-wrap { position: relative; }
.timeline-wrap::before { content: ""; position: absolute; left: clamp(38px, 5vw, 64px); top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: tl; position: relative; }
.tl-fill { position: absolute; left: clamp(38px, 5vw, 64px); top: 0; bottom: 0; width: 2px; margin-left: -.5px; background: var(--ember); transform-origin: top; transform: scaleY(1); box-shadow: 0 0 12px var(--ember); }
.timeline li { counter-increment: tl; position: relative; display: grid; grid-template-columns: clamp(76px, 10vw, 128px) 1fr; padding: clamp(28px, 4vw, 48px) 0; }
.timeline li::before {
  content: counter(tl, decimal-leading-zero); position: relative; z-index: 1;
  justify-self: center; align-self: start; background: var(--bg); padding: 4px 0;
  font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 800; line-height: 1; color: var(--ember);
  font-variation-settings: 'wdth' 70; font-variant-numeric: tabular-nums;
}
.timeline h2 { font-size: clamp(1.7rem, 3.6vw, 3.2rem); margin-bottom: .35em; font-variation-settings: 'wdth' 104; }
.timeline p { margin: 0; color: var(--muted); max-width: 40em; font-size: 1.06rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 980px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; color: var(--ink); font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.4rem); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; font-weight: 400; font-size: 1.4rem; color: var(--ember-ink);
  transition: transform .35s var(--ease-out), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ember-tint); }
.faq summary:hover { color: var(--ember-ink); }
.faq details p { margin: 0 0 28px; color: var(--muted); max-width: 46em; }

/* About */
.mission {
  font-size: clamp(2rem, 4.6vw, 4.1rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 800;
  color: var(--ink); max-width: 18ch; margin: 0; text-wrap: balance; font-variation-settings: 'wdth' 92;
}
.mission .ph.hot { color: var(--ember); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 80px; align-items: start; }
.split .prose p { color: var(--text); font-size: 1.1rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.person { display: grid; grid-template-columns: auto 1fr; gap: 28px 48px; align-items: center; max-width: 980px; }
.avatar {
  width: clamp(120px, 14vw, 180px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: clamp(2.2rem, 3.6vw, 3.2rem); color: var(--ink); letter-spacing: -.03em;
  background: radial-gradient(circle at 30% 25%, oklch(0.72 0.19 44 / .5), transparent 60%), var(--surface);
  border: 1px solid var(--line-strong); font-variation-settings: 'wdth' 112;
}
.person h3 { font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: .15em; }
.person .role { color: var(--ember-ink); font-weight: 600; margin-bottom: 1rem; }
.person p:last-child { color: var(--muted); margin: 0; max-width: 40em; }
@media (max-width: 640px) { .person { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3.6vw, 44px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); margin-bottom: .45rem; }
.req { color: var(--ember); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: .9rem 1rem; min-height: 54px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23D9D4CF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.field select option { background: var(--surface); color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: oklch(1 0 0 / .32); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 4px oklch(0.72 0.19 44 / .2); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err-ink); background-color: oklch(0.65 0.2 25 / .08); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-note { font-size: .9rem; color: var(--muted); margin: 0; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-status.ok { display: block; background: var(--ok-tint); color: var(--ok-ink); }
.form-status.err { display: block; background: var(--err-tint); color: var(--err-ink); }
.aside .h3 { margin-bottom: 1.4rem; }
.mini-steps { list-style: none; margin: 0 0 32px; padding: 0; counter-reset: ms; }
.mini-steps li { counter-increment: ms; position: relative; padding: 0 0 24px 52px; }
.mini-steps li::before {
  content: counter(ms); position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ember); color: var(--ember-ink);
  display: grid; place-items: center; font-weight: 800; font-size: .95rem;
}
.mini-steps strong { display: block; color: var(--ink); }
.mini-steps span { font-size: .97rem; color: var(--muted); }
.aside-loc { display: flex; align-items: center; gap: .7rem; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.page-hero .lead a, .aside-email a, .footer-email { color: var(--ember-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.page-hero .lead a:hover, .aside-email a:hover, .footer-email:hover { color: var(--ink); }
.aside-email { margin: 16px 0 0; color: var(--muted); font-size: .97rem; }

/* 404 */
.notfound { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 60px; }
.notfound h1 { font-size: clamp(3rem, 9vw, 6rem); }
.notfound .lead { margin-bottom: 2rem; }
.notfound .hero-actions { margin-top: 0; }

/* Footer */
.site-footer { position: relative; padding: clamp(64px, 8vw, 110px) 0 28px; border-top: 1px solid var(--line); background: var(--bg); overflow: clip; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 36px; flex-wrap: wrap; }
.footer-inner p { margin: .7rem 0 0; color: var(--muted); font-size: .97rem; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; color: var(--text); font-weight: 600; transition: color .2s; }
.footer-nav a:hover { color: var(--ember-ink); }
.footer-mark {
  --wdth: 125;
  display: block; margin: clamp(48px, 7vw, 96px) 0 clamp(20px, 3vw, 36px);
  font-size: clamp(3.5rem, 19.5vw, 17.5rem); font-weight: 900; line-height: .78; letter-spacing: -.045em;
  color: var(--surface-2); white-space: nowrap; user-select: none;
  font-variation-settings: 'wdth' var(--wdth);
}
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.footer-bottom p { margin: 0; }

/* Smooth scroll (Lenis) */
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; }

/* Velocity ribbon */
.ribbon { contain: layout paint; overflow: clip; padding: clamp(28px, 4vw, 56px) 0; border-block: 1px solid var(--line); background: var(--bg); position: relative; z-index: 1; }
.ribbon-row { display: flex; white-space: nowrap; }
.ribbon-track { display: flex; align-items: center; flex: none; will-change: transform; }
.ribbon-track span {
  font-size: clamp(3rem, 9vw, 8.5rem); font-weight: 900; line-height: 1; letter-spacing: -.04em; color: var(--ink);
  font-variation-settings: 'wdth' clamp(62, calc(112 + var(--vstretch, 0)), 125); padding: 0 .12em;
}
.ribbon-track i { flex: none; width: clamp(18px, 2.4vw, 34px); height: clamp(18px, 2.4vw, 34px); margin: 0 clamp(16px, 2vw, 32px); border-radius: 50%; background: var(--ember); box-shadow: 0 0 30px var(--ember); }
.ribbon-row.outline span { color: transparent; -webkit-text-stroke: 1.5px oklch(1 0 0 / .32); }
.ribbon-row.outline i { background: transparent; border: 2px solid var(--ember); box-shadow: none; }
.ribbon-row + .ribbon-row { margin-top: clamp(4px, 1vw, 14px); }

/* Jelly: blocks bend, lag and stretch with scroll speed (vars set every frame by main-v2.js) */
.motion .jelly {
  transform: translate3d(0, calc(var(--lag, 0) * var(--depth, 1) * 1px), 0) skewY(calc(var(--skew, 0) * 1deg));
  transform-origin: 50% 50%; will-change: transform;
}
.motion .svc-title, .motion .service h2 { font-variation-settings: 'wdth' clamp(62, calc(62 + (var(--wmax, 100) - 62) * var(--wp, 1) + var(--vstretch, 0)), var(--wmax, 100)); }
.motion .btn { transition-property: color, border-color; }

/* Phone hero strip (kept late so it beats the base rules above) */
@media (max-width: 600px) {
  .route-strip .scroll-cue { display: none; }
  .route-strip { gap: 10px 12px; font-size: .92rem; }
  .route-strip .sep { width: 18px; }
}

/* Reduced motion: everything static and visible */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .scroll-cue i::after { display: none; }
}
