/* =========================================================================
   LinkAIG v4 "Pulse" homepage
   Fallback-first: everything below the MOTION banner is the complete static
   page (no JS, reduced motion, CDN failure). Motion-only styles live under
   html.js-motion at the end of the file.
   ========================================================================= */

@property --bg { syntax: "<color>"; inherits: true; initial-value: #0a0d0c; }
@property --fg { syntax: "<color>"; inherits: true; initial-value: #eef3ea; }

:root {
  --ground: #0a0d0c; --ground-2: #111613; --bone: #f3f5ea; --ink: #111613;
  --text: #eef3ea; --text-dim: #a9b5aa; --text-faint: #879486; /* faint: 5.9:1 on ground, 5.4:1 on cards */
  --status-fg: #b9f5dd;
  --violet: #6f9a9b; --violet-2: #a9c38a; --pink: #d7e8b1; --ok: #3ee0a1;
  --grad: linear-gradient(100deg, #7fb3b4 0%, #b9d197 55%, #e3f3bf 100%);
  --glass: rgba(255, 255, 255, .06); --glass-line: rgba(255, 255, 255, .10);
  --bg: var(--ground); --fg: var(--text);

  --f-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(20px, 5vw, 88px);
  --maxw: 1440px;
  --head-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);

  /* organism helpers (story agent writes these) */
  --ax: 50vw; --ay: 50svh;
  --blob-x: 70vw; --blob-y: 50svh; --blob-s: 1;
  --skew: 0deg;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* Mobile guards carried over from the old site: Chrome on iOS applies its text zoom through
   text-size-adjust (only !important wins), and overflow-x: clip on the root misbehaved on
   iOS, so the root uses hidden (it propagates to the viewport; body keeps clip for sticky). */
html { -webkit-text-size-adjust: 100% !important; text-size-adjust: 100% !important; background: var(--bg); overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 18px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
ol, ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Lenis base rules (lenis.css is not loaded) + modal scroll lock */
html.lenis, html.lenis body { height: auto; }
.lenis-smooth { scroll-behavior: auto !important; }
.lenis-stopped, html.modal-open { overflow: hidden; }
[data-lenis-prevent] { overscroll-behavior: contain; }
html { scroll-padding-top: 96px; }
::selection { background: var(--violet-2); color: #0a0d0c; }

:focus-visible { outline: 2px solid #a9c38a; outline-offset: 3px; border-radius: 6px; }

/* film grain, very light, fixed above everything but the header */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .06;
  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%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.h1, .h2, .monument, .stage__word, .principle, .stat__num, .counter, .odometer, .h2--cta {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -.04em; line-height: .92;
}
.h1 { font-size: clamp(44px, 9vw, 148px); }
.h2 { font-size: clamp(36px, 6vw, 96px); text-wrap: balance; }
.h2--md { font-size: clamp(34px, 4.6vw, 76px); }
.grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  padding-bottom: .06em; /* descender room for background-clip */
}
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font: 600 12px/1.2 var(--f-body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: clamp(20px, 3svh, 36px);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(62, 224, 161, .15), 0 0 18px var(--ok); }
.eyebrow--num .num {
  font-variant-numeric: tabular-nums; color: var(--text);
  padding-right: 12px; border-right: 1px solid var(--glass-line);
}
.eyebrow--center { justify-content: center; }
.support { font-size: clamp(17px, 1.35vw, 20px); color: var(--text-dim); max-width: 34ch; margin-top: 22px; }
.illus {
  font: 600 11px/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- buttons ---------- */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding-inline: 28px; border-radius: 999px;
  font: 600 16px/1 var(--f-body); letter-spacing: -.005em; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s;
}
.btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--grad {
  color: #0a0d0c; background: var(--grad);
  box-shadow: 0 10px 40px -10px rgba(169, 195, 138, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn--grad:hover { box-shadow: 0 16px 50px -10px rgba(215, 232, 177, .75), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn--ghost { border: 1px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .25); }
.btn--ink { background: var(--ink); color: var(--bone); box-shadow: 0 18px 50px -18px rgba(17, 22, 19, .6); }
.btn--ink:hover { background: var(--violet); }
.btn--lg { --h: 68px; padding-inline: 40px; font-size: 18px; }
.btn--sm { --h: 44px; padding-inline: 20px; font-size: 14px; }

/* ---------- glass ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)), rgba(10, 13, 12, .42);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 24px; padding: clamp(20px, 2vw, 28px);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card__title { font: 600 13px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--text); }

/* =========================================================================
   Skip link + header
   ========================================================================= */
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 12px 18px; border-radius: 12px; background: var(--text); color: var(--ink);
  font-weight: 600; text-decoration: none; transform: translateY(-160%);
  transition: transform .25s var(--ease);
}
.skip:focus { transform: none; }

.v4-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--gutter) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  pointer-events: none;
}
.v4-head::before {
  content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; pointer-events: none;
  background: linear-gradient(var(--scrim, var(--bg)) 45%, transparent);
}
.no-js .v4-head::before { display: none; }
html.is-day .v4-head { --scrim: var(--bone); }
.v4-head > * { pointer-events: auto; }
.v4-head__logo, .v4-head__end {
  display: inline-flex; align-items: center; height: 52px;
  background: rgba(20, 29, 25, .88); border: 1px solid rgba(255, 255, 255, .10);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-radius: 999px;
}
.v4-head__logo { padding-inline: 20px; }
.v4-head__logo img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.v4-head__end { gap: 4px; padding: 5px; }
.lang {
  display: grid; place-items: center; height: 40px; min-width: 44px; padding-inline: 12px; border-radius: 999px;
  font: 600 13px/1 var(--f-body); letter-spacing: .08em; text-decoration: none; color: var(--text-dim);
  transition: color .2s, background-color .2s;
}
.lang:hover { color: var(--text); background: var(--glass); }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding-inline: 18px; border-radius: 999px;
  background: var(--text); color: var(--ink); font: 600 14px/1 var(--f-body);
  transition: background-color .25s, color .25s;
}
.cta-btn:hover { background: var(--grad); color: #0a0d0c; }
.cta-btn__icon { width: 18px; height: 18px; display: none; }

/* chapter rail: fixed vertical dots on the right edge (desktop) */
.rail {
  position: fixed; right: calc(var(--gutter) * .45); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 6px; z-index: 50;
}
.rail button {
  position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
}
.rail i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--text-faint);
  transition: transform .3s var(--ease), background-color .3s;
}
.rail span {
  position: absolute; right: 34px; top: 50%; transform: translate(6px, -50%); white-space: nowrap;
  font: 600 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text);
  padding: 7px 10px; border-radius: 8px; background: rgba(10, 13, 12, .75); backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
}
.rail button:hover i, .rail button:focus-visible i { background: var(--text); transform: scale(1.5); }
.rail button:hover span, .rail button:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.rail button.is-active i, .rail button[aria-current="true"] i { background: var(--violet-2); transform: scale(1.8); box-shadow: 0 0 12px var(--violet-2); }

/* =========================================================================
   Organism layers
   ========================================================================= */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
.no-js #gl { display: none; }

.blob {
  position: fixed; z-index: 0; pointer-events: none;
  left: var(--blob-x); top: var(--blob-y);
  width: 42vmin; height: 42vmin; translate: -50% -50%; scale: var(--blob-s);
  transition: opacity .8s var(--ease);
  contain: layout;
}
.blob::before, .blob i {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
}
.blob::before {
  background: conic-gradient(from 0deg, #6f9a9b, #a9c38a, #d7e8b1, #6f9a9b 70%, #5c964d, #6f9a9b);
  filter: blur(40px); opacity: .85;
}
.blob i {
  inset: 18%;
  background: radial-gradient(circle at 38% 34%, rgba(255, 255, 255, .55), rgba(169, 195, 138, .25) 38%, transparent 70%);
  filter: blur(12px);
}
.blob::after {
  content: ""; position: absolute; inset: -60%; border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 154, 155, .22), transparent 62%);
}
html.gl-on .blob { opacity: 0; }

/* =========================================================================
   Sections
   ========================================================================= */
main { position: relative; z-index: 1; }
.ch { position: relative; padding-block: clamp(96px, 18svh, 220px); }

/* ---------- 00 hero ---------- */
.hero { min-height: 100svh; display: grid; align-content: center; padding-block: calc(var(--head-h) + 24px) 112px; }
.hero__inner { position: relative; }
/* the H1 also scales with viewport height so the hero (ticker included) fits one screen */
.hero .h1 { max-width: 9.6ch; font-size: clamp(44px, min(9vw, 15svh), 148px); }
.hero .h1 .grad { display: inline; }
.h1-double { display: none; }
.hero .sub {
  margin-top: clamp(22px, 3svh, 36px);
  font: 500 clamp(19px, 1.7vw, 26px)/1.3 var(--f-body); color: var(--text-dim); letter-spacing: -.01em;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: clamp(32px, 5svh, 52px); }

.talk {
  display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 22px 0 8px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font: 500 15px/1 var(--f-body); color: var(--text);
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: none;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.talk:hover { border-color: rgba(255, 255, 255, .22); }
.talk__mic {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: var(--text); transition: background .3s, transform .3s var(--ease);
}
.talk__mic svg { width: 20px; height: 20px; }
.wave { display: inline-flex; align-items: center; gap: 3px; height: 22px; }
.wave i {
  width: 3px; border-radius: 3px; background: var(--text-dim);
  height: calc(4px + var(--h, .25) * 18px);
  transition: height .12s linear, background-color .3s;
}
.wave i:nth-child(1) { --h: .25; } .wave i:nth-child(2) { --h: .55; } .wave i:nth-child(3) { --h: .35; }
.wave i:nth-child(4) { --h: .8; }  .wave i:nth-child(5) { --h: .45; } .wave i:nth-child(6) { --h: .65; }
.wave i:nth-child(7) { --h: .3; }  .wave i:nth-child(8) { --h: .5; }
.timer { font-variant-numeric: tabular-nums; color: var(--text-dim); min-width: 3ch; }
.talk[aria-pressed="true"] {
  border-color: rgba(215, 232, 177, .6); background: rgba(215, 232, 177, .12);
  box-shadow: 0 0 0 6px rgba(215, 232, 177, .12), 0 0 50px -6px rgba(215, 232, 177, .6);
}
.talk[aria-pressed="true"] .talk__mic { background: var(--pink); transform: scale(1.06); }
.talk[aria-pressed="true"] .wave i { background: var(--text); }
.talk[aria-pressed="true"] .timer { color: var(--text); }
.no-js .talk { display: none; }

.talk-result {
  /* out of flow: revealing it never moves the hero (no layout shift) */
  position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 18px);
  display: flex; flex-wrap: wrap; gap: 6px 22px; max-width: 760px;
  font: 500 15px/1.3 var(--f-body); color: var(--text);
}
.talk-result li { display: flex; align-items: center; gap: 10px; }
.talk-result li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.talk-result li.illus::before { display: none; }
.talk-result li.illus { flex-basis: 100%; margin-top: 2px; }
.hero.is-result .ticker { opacity: 0; transition: opacity .3s; }
.ticker { transition: opacity .4s; }

.ticker {
  position: absolute; left: 0; right: 0; bottom: clamp(28px, 5svh, 48px);
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; font: 500 14px/1.3 var(--f-body); color: var(--text-dim); font-variant-numeric: tabular-nums;
}
.ticker span {
  grid-area: 1 / 1; display: flex; align-items: center; gap: 12px; opacity: 0; transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.ticker span::before { content: ""; width: 28px; height: 1px; background: var(--text-faint); }
.ticker span.is-on { opacity: 1; }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: clamp(28px, 5svh, 48px);
  display: flex; align-items: center; gap: 14px;
  font: 600 11px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint);
}
.scroll-cue i { position: relative; width: 1px; height: 48px; background: linear-gradient(var(--text-faint), transparent); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 14px; background: var(--text); }

/* ---------- 01 voice note ---------- */
.voice { min-height: 100svh; display: grid; align-content: center; }
.voice__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 120px); align-items: center; }
.beats { display: grid; gap: clamp(56px, 9svh, 110px); }
.h2--beat { font-size: clamp(30px, 4.2vw, 66px); line-height: .98; max-width: 14ch; }
.stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; }
.stat__num {
  display: inline-block; transform-origin: 0 100%;
  font-size: clamp(96px, 15vw, 240px); line-height: .82; font-variant-numeric: tabular-nums;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.stat__label { font: 500 clamp(18px, 1.5vw, 22px)/1.25 var(--f-body); color: var(--text); max-width: 15ch; padding-bottom: .4em; }
.beat[data-beat="c"] .support { margin-top: 18px; }
.play { margin-top: 28px; --h: 44px; padding-inline: 20px; font-size: 14px; }
.no-js .play { display: none; }

.voice__cards { display: grid; gap: 18px; }
.rec { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(215, 232, 177, .18), 0 0 14px var(--pink); }
.redact { display: grid; gap: 12px; }
.redact i { display: block; height: 14px; width: var(--w); border-radius: 7px; background: linear-gradient(90deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08)); }
.crm__rows { display: grid; }
.crm__rows li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 0; border-top: 1px solid var(--glass-line); font-size: 16px;
}
.crm__rows li:first-child { border-top: 0; padding-top: 4px; }
.crm__rows .k { color: var(--text-dim); }
.crm__rows .v { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; }
.tick {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  font-size: 12px; font-weight: 700; color: var(--ground); background: var(--ok);
}
.tick--hot { background: var(--pink); color: #0a0d0c; font-size: 9px; box-shadow: 0 0 14px var(--pink); }

/* ---------- 02 plan + cost ---------- */
.plan .h2 { max-width: 12ch; }
.stops {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: clamp(48px, 8svh, 88px); max-width: 980px;
}
.stops::before {
  content: ""; position: absolute; left: 6px; right: 0; top: 6px; height: 1px;
  background: linear-gradient(90deg, var(--violet), var(--violet-2), var(--pink));
}
.stops li { position: relative; padding-top: 30px; display: grid; gap: 6px; }
.stops li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%;
  background: var(--ground); border: 2px solid var(--violet-2); box-shadow: 0 0 14px rgba(169, 195, 138, .6);
}
.stops__time { font: 700 clamp(24px, 2.4vw, 36px)/1 var(--f-body); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stops__what { color: var(--text-dim); font-size: 16px; }
.stops__tag { margin-top: 18px; }
.monument-wrap { margin-top: clamp(96px, 18svh, 220px); }
.monument { font-size: clamp(72px, 15.5vw, 280px); line-height: .86; white-space: nowrap; }
.monument__lt { color: var(--text-faint); font-weight: 800; }
.monument__per { font-size: .26em; letter-spacing: -.02em; color: var(--text-dim); vertical-align: .2em; margin-left: .2em; }
.monument__support { margin-top: 24px; font-size: clamp(18px, 1.5vw, 22px); color: var(--text); max-width: 36ch; text-wrap: balance; }

/* ---------- 03 7:41 lab ---------- */
.lab { min-height: 100svh; }
.lab .h2 { max-width: 16ch; }
.lab__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 110px); align-items: end; margin-top: clamp(32px, 5svh, 72px); }
/* the counters are supporting data: side by side and small, so the clock stays the one hero numeral */
.counters { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.counter-item { display: grid; gap: 8px; align-content: start; }
.counter { font-size: clamp(48px, 5vw, 80px); line-height: .85; font-variant-numeric: tabular-nums; }
.counter__label { font: 500 16px/1.3 var(--f-body); color: var(--text-dim); display: flex; align-items: center; gap: 10px; }
.counter__label::before { content: ""; width: 24px; height: 1px; background: var(--text-faint); }
.lab__panel { padding: clamp(24px, 3vw, 40px); border-radius: 28px; }
.chat { display: grid; justify-items: start; gap: 10px; }
.chat__bubble {
  padding: 14px 20px; border-radius: 20px 20px 20px 6px;
  background: rgba(111, 154, 155, .22); border: 1px solid rgba(169, 195, 138, .35);
  font: 500 18px/1.35 var(--f-body);
}
.steps { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font: 500 15px/1 var(--f-body); color: var(--text-dim); }
.steps li { display: inline-flex; align-items: center; gap: 8px; }
.steps li.is-done { color: var(--text); }
.steps .tick { width: 20px; height: 20px; font-size: 11px; }
.clock { position: relative; margin-top: clamp(24px, 4svh, 40px); display: flex; align-items: center; }
.odometer {
  display: inline-flex; align-items: flex-start; font-size: clamp(96px, min(11vw, 20svh), 200px); line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -.05em;
}
.odo-col { display: inline-block; height: 1em; overflow: hidden; }
.odo-col > span { display: block; height: 1em; text-align: center; transform: translateY(calc(var(--d, 0) * -100%)); }
.odo-colon { display: inline-block; height: 1em; color: var(--violet-2); margin-inline: -.02em; transform: translateY(-.06em); }
.stamp {
  position: absolute; right: 0; top: 50%; translate: 0 -50%; rotate: -10deg;
  padding: 10px 18px; border: 3px solid var(--pink); border-radius: 10px;
  font: 800 clamp(16px, 1.6vw, 24px)/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase;
  color: var(--pink); box-shadow: 0 0 36px -8px rgba(215, 232, 177, .8), inset 0 0 20px -8px rgba(215, 232, 177, .8);
  background: rgba(215, 232, 177, .08);
}
.stamp::after {
  content: ""; position: absolute; inset: -3px; border-radius: 10px; border: 2px solid var(--pink); opacity: 0;
}
.lab__caption { margin-top: 10px; font: 500 clamp(16px, 1.3vw, 19px)/1.35 var(--f-body); color: var(--text); }
.lab__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--glass-line); }
.no-js .ship { display: none; }

/* ---------- 04 four stages ---------- */
.stages-ch .h2 { max-width: 12ch; }
.stages-viewport { margin-top: clamp(40px, 7svh, 80px); }
.stages {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
}
.stage {
  position: relative; padding: clamp(28px, 3.5vw, 56px) clamp(24px, 3vw, 48px) clamp(32px, 4vw, 60px);
  border-top: 1px solid var(--glass-line); outline-offset: -2px; border-radius: 0;
  container-type: inline-size; min-width: 0;
}
.stage:nth-child(odd) { border-right: 1px solid var(--glass-line); }
.stage__n { font: 600 13px/1 var(--f-body); letter-spacing: .14em; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.stage__word {
  /* sized to its panel (--fit): the longest EN word "CONFIRM" is 4.57em wide, ES "CONFIRMAR" 5.88em */
  --fit: 21cqi;
  margin: 18px 0 20px; font-size: clamp(36px, var(--fit), 150px); line-height: .9; text-transform: uppercase;
  width: max-content; max-width: none; /* the gradient clip box always covers the whole word */
  color: transparent; -webkit-text-fill-color: transparent;
  background: var(--grad) no-repeat 0 0 / 0% 100%, linear-gradient(rgba(244, 242, 255, .13), rgba(244, 242, 255, .13));
  -webkit-background-clip: text; background-clip: text;
  transition: background-size .8s var(--ease);
}
:lang(es) .stage__word { --fit: 16.5cqi; }
.stage:hover .stage__word, .stage:focus-visible .stage__word, .stage.is-active .stage__word,
.no-js .stage__word { background-size: 100% 100%, auto; }
.stage p { font-size: clamp(17px, 1.35vw, 20px); color: var(--text-dim); max-width: 26ch; }
.stage-ticks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 32px; }
.stage-ticks button { display: grid; gap: 10px; padding-top: 0; text-align: left; font: 600 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.stage-ticks button::before { content: ""; height: 2px; border-radius: 2px; background: var(--glass-line); transition: background .3s; }
.stage-ticks button.is-active { color: var(--text); }
.stage-ticks button.is-active::before { background: var(--grad); }
.no-js .stage-ticks { display: none; }

/* ---------- 05 principles ---------- */
.principle-list { display: grid; gap: clamp(10px, 2svh, 22px); margin-top: clamp(12px, 3svh, 32px); }
.principle { font-size: clamp(40px, 8.4vw, 136px); line-height: .94; color: var(--text); max-width: 15ch; }
.principle--one { position: relative; }
.split { margin-top: clamp(56px, 10svh, 110px); max-width: 1100px; }
.split-bar { display: flex; gap: 6px; height: 14px; }
.split-bar span { display: block; height: 100%; border-radius: 7px; flex: 0 0 calc(var(--p) - 3px); transform-origin: left center; }
.split-bar__a { background: var(--violet); box-shadow: 0 0 24px -4px var(--violet); }
.split-bar__b { background: var(--pink); box-shadow: 0 0 24px -4px var(--pink); }
.split__labels { display: grid; grid-template-columns: 30fr 70fr; gap: 6px; margin-top: 16px; font-size: 15px; color: var(--text-dim); }
.split__labels b { color: var(--text); font-weight: 600; margin-right: 6px; }

/* ---------- 06 team ---------- */
.team .h2 { max-width: 14ch; }
.bots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 7svh, 80px); perspective: 1200px; }
.bot {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 18px; row-gap: 4px; align-items: center;
  padding: 22px; border-radius: 24px; text-decoration: none;
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: border-color .3s, background-color .3s, transform .5s var(--ease);
}
.bot:hover, .bot:focus-visible { border-color: rgba(169, 195, 138, .5); background: rgba(111, 154, 155, .1); }
.bot img { grid-row: 1 / 4; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .12); }
.bot__name { font: 800 22px/1.1 var(--f-display); letter-spacing: -.02em; }
.bot__role { font-size: 15px; color: var(--text-dim); }
.status {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
  padding: 6px 10px; border-radius: 999px; background: rgba(62, 224, 161, .1); border: 1px solid rgba(62, 224, 161, .25);
  font: 500 12px/1 var(--f-body); color: var(--status-fg); white-space: nowrap; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.team__tag { margin-top: 18px; }

/* ---------- 07 daylight: clients + founders ---------- */
.ch--day {
  --violet: #4d6a3d; --violet-2: #3f7375; --pink: #6f8a3a;
  --grad: linear-gradient(100deg, #2f5455 0%, #4d6a3d 52%, #6f8a3a 100%);
  --text: #111613; --text-dim: #4a5650; --text-faint: #5e6a62; --status-fg: #0d6a47;
  --glass: rgba(17, 22, 19, .04); --glass-line: rgba(17, 22, 19, .12);
  background: var(--bone); color: var(--ink);
}
.day { padding-bottom: clamp(64px, 10svh, 120px); }
.clients { padding-bottom: clamp(80px, 14svh, 180px); overflow: hidden; }
.logos { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5svh, 56px); }
.logos__row { display: flex; justify-content: center; }
.logos__track { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(36px, 7vw, 120px); padding-inline: var(--gutter); }
.logos__dup { display: none; }
.logos__row--big img { height: clamp(64px, 8vw, 120px); width: auto; }
.logos__row--big li { display: flex; align-items: center; gap: 20px; }
.logos__name { font: 800 clamp(28px, 3.4vw, 52px)/1 var(--f-display); letter-spacing: -.03em; color: var(--ink); }
.logos__row--small img { height: clamp(32px, 3.2vw, 46px); width: auto; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.logos__row--small img.logo--keep { filter: none; opacity: 1; border-radius: 10px; }
.logos__row--small img:hover { filter: none; opacity: 1; }
.logos__note { text-align: center; font: 600 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin-top: -8px; }
/* marquee pause (WCAG 2.2.2): only shown when the marquee actually moves */
.logos__pause { display: none; }

.founders .h2 { max-width: 16ch; }
.h2__soft { color: var(--text-faint); }
.founders__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(40px, 7svh, 80px); max-width: 1100px; }
.founder__photo { position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: #e6ecdc; isolation: isolate; }
.founder__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.founder__duo { filter: grayscale(1) contrast(1.15); z-index: 1; }
.founder__photo::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(160deg, #6f9a9b, #111613); mix-blend-mode: screen; opacity: .0;
}
.founder__color { z-index: 3; }
.founder figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 18px; }
.founder__name { font: 800 clamp(26px, 2.6vw, 40px)/1 var(--f-display); letter-spacing: -.03em; }
.founder__role { font: 600 13px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); }

/* ---------- 08 CTA ---------- */
.cta { min-height: 92svh; display: grid; align-content: center; text-align: center; padding-block: clamp(80px, 14svh, 180px); }
/* motion: room above the H2 for the particle wordmark, clear of the fixed header */
html.js-motion .cta { padding-top: calc(var(--head-h) + clamp(150px, 26svh, 260px)); }
.cta__inner { display: grid; justify-items: center; gap: clamp(36px, 6svh, 64px); }
.h2--cta { font-size: clamp(48px, 8.6vw, 148px); max-width: 11ch; }

/* ---------- mobile CTA bar + footer ---------- */
.m-bar { display: none; }

.v4-foot { position: relative; z-index: 2; background: var(--ink); color: var(--bone); padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); }
.v4-foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.v4-foot__logo img { height: 24px; width: auto; filter: brightness(0) invert(1); }
.v4-foot__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.v4-foot__nav a { text-decoration: none; color: #d6e2c6; font-size: 15px; }
.v4-foot__nav a:hover { color: #fff; }
.v4-foot__copy { color: #8b88a8; font-size: 14px; }

/* =========================================================================
   Responsive: mobile < 820px
   ========================================================================= */
@media (max-width: 1100px) {
  .voice__grid, .lab__grid { grid-template-columns: 1fr; }
  .lab__grid { align-items: start; }
  .counters { grid-template-columns: 1fr 1fr; }
  .bots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 819px) {
  :root { --head-h: 64px; }
  body { font-size: 17px; }
  .rail { display: none; }
  .v4-head { padding-top: calc(env(safe-area-inset-top, 0px) + 10px); }
  .v4-head__logo, .v4-head__end { height: 46px; }
  .v4-head__logo { padding-inline: 16px; }
  .v4-head__logo img { height: 28px; }
  .cta-btn { width: 36px; height: 36px; padding: 0; justify-content: center; }
  .cta-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cta-btn__icon { display: block; }
  .lang { height: 36px; }

  .blob { --blob-x: 50vw; --blob-y: 30svh; width: 70vw; height: 70vw; }

  .ch.hero { align-content: end; padding-block: calc(var(--head-h) + 26svh) 76px; } /* .ch.hero: must beat the mobile .ch padding below */
  .hero .h1 { max-width: 9ch; font-size: clamp(44px, min(12.8vw, 6.4svh), 96px); }
  .hero .sub { margin-top: 16px; }
  .hero__actions { margin-top: 24px; gap: 10px; }
  .talk-result { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 13px; top: calc(100% + 12px); }
  .talk-result li.illus { grid-column: 1 / -1; }
  .stat__label { max-width: none; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn, .talk { width: 100%; justify-content: center; }
  .talk { padding-right: 18px; }
  .ticker { bottom: 28px; font-size: 13px; }
  .ticker span::before { width: 16px; }
  .scroll-cue { display: none; }

  .ch { padding-block: clamp(80px, 14svh, 120px); }
  .h2--beat { max-width: none; }
  .beats { gap: 56px; }
  .counters { grid-template-columns: 1fr 1fr; gap: 20px; }
  .counter { font-size: clamp(56px, 18vw, 96px); }
  .stamp { position: relative; top: auto; translate: none; margin-left: auto; font-size: 14px; padding: 8px 12px; }
  .clock { flex-wrap: wrap; gap: 12px; }
  .odometer { font-size: clamp(88px, 28vw, 140px); }

  .stops { grid-template-columns: 1fr; gap: 0; max-width: none; }
  .stops::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; background: linear-gradient(180deg, var(--violet), var(--pink)); }
  .stops li { padding: 0 0 26px 34px; grid-template-columns: auto 1fr; align-items: baseline; gap: 14px; }
  .stops li::before { top: 4px; }
  .monument { font-size: clamp(64px, 21vw, 120px); white-space: normal; }
  .monument__per { display: block; font-size: .3em; margin: .25em 0 0; vertical-align: baseline; }

  /* stages: sticky stacked cards */
  .stages { grid-template-columns: 1fr; gap: 14px; }
  .stage {
    position: sticky; top: calc(var(--head-h) + 24px + var(--i, 0) * 14px);
    border: 1px solid var(--glass-line); border-radius: 24px; background: #1b2621;
    box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, .9);
  }
  .stage:nth-child(odd) { border-right: 1px solid var(--glass-line); }
  .stage:nth-child(1) { --i: 0; } .stage:nth-child(2) { --i: 1; } .stage:nth-child(3) { --i: 2; } .stage:nth-child(4) { --i: 3; }
  .stage__word { font-size: clamp(32px, var(--fit), 88px); }
  .stage-ticks { display: none; }

  .principle { font-size: clamp(38px, 11.5vw, 72px); }
  .split__labels { grid-template-columns: 1fr; gap: 8px; }

  .bots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bot { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; justify-items: start; padding: 14px; min-width: 0; }
  .bot img { grid-row: auto; width: 56px; height: 56px; margin-bottom: 10px; }
  .bot__name { font-size: 18px; }
  .status { font-size: 11px; padding: 5px 8px; white-space: normal; line-height: 1.25; }

  .founders__grid { gap: 14px; }
  .founder figcaption { flex-direction: column; gap: 6px; }
  .logos__track { gap: 28px 36px; }

  html:not(.no-js) .m-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    /* built from the live ground token, so it is a navy scrim at night and a bone one in daylight */
    background: linear-gradient(transparent, rgba(10, 13, 12, .85) 40%);
    background: linear-gradient(transparent, color-mix(in srgb, var(--bg) 88%, transparent) 40%);
  }
  .m-bar .btn { width: 100%; }
  html:not(.no-js) main { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  html:not(.no-js) { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .v4-foot { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
}

/* forced colours: gradient text falls back to solid */
@media (forced-colors: active) {
  .grad, .stat__num, .stage__word { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; -webkit-text-stroke: 0; }
  .blob { display: none; }
}

/* =========================================================================
   Motion layer: only when v4.js has set html.js-motion
   (.lite = CSS blob only, .rm = reduced motion: no motion at all)
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  html.js-motion:not(.rm) .blob::before { animation: v4-spin 22s linear infinite; }
  html.js-motion:not(.rm) .blob i { animation: v4-breathe 7s ease-in-out infinite; }
  html.js-motion:not(.rm) .scroll-cue i::after { animation: v4-cue 2.2s var(--ease) infinite; }
  html.js-motion:not(.rm) .status::before { animation: v4-pulse 2s ease-in-out infinite; }
  html.js-motion:not(.rm) .rec { animation: v4-pulse 1.4s ease-in-out infinite; }
}
@keyframes v4-spin { to { rotate: 360deg; } }
@keyframes v4-breathe { 50% { scale: 1.12; opacity: .8; } }
@keyframes v4-cue { 0% { transform: translateY(-14px); } 100% { transform: translateY(48px); } }
@keyframes v4-pulse { 50% { opacity: .35; } }
@keyframes v4-ripple { from { opacity: .9; inset: -3px; } to { opacity: 0; inset: -28px; border-radius: 22px; } }

/* hero: duplicate line positioned by v4.js (starts invisible, over the .grad span) */
html.js-motion .h1-double {
  display: block; position: absolute; left: 0; top: 0; pointer-events: none; opacity: 0; white-space: nowrap;
  font: 800 clamp(44px, 9vw, 148px)/.92 var(--f-display); letter-spacing: -.04em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
html.js-motion .talk-result li { transition: opacity .35s var(--ease), transform .35s var(--ease); }
html.js-motion .talk-result li:not(.is-on) { opacity: .25; transform: translateX(-6px); }

/* 01: beats stack in one cell; v4.js toggles .is-active (or tweens opacity) */
html.js-motion:not(.rm) .beats { grid-template-areas: "beat"; }
html.js-motion:not(.rm) .beat { grid-area: beat; transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s; }
html.js-motion:not(.rm) .beat:not(.is-active) { opacity: 0; visibility: hidden; transform: translateY(24px); }
html.js-motion:not(.rm) .beat .play { visibility: visible; } /* stays in the tab order; focusing it scrolls to beat C */
html.js-motion:not(.rm) .beat:not(.is-active) .play { pointer-events: none; }
html.js-motion .crm__rows li { transition: opacity .4s var(--ease); }
html.js-motion .crm__rows li.is-pending { opacity: .3; }
html.js-motion .crm__rows li.is-pending .tick { background: var(--glass-line); color: transparent; box-shadow: none; }

/* 03: steps + stamp states while the clock runs */
html.js-motion .steps li { transition: color .3s; }
html.js-motion .steps li:not(.is-done) { color: var(--text-faint); }
html.js-motion .steps li:not(.is-done) .tick { background: var(--glass-line); color: transparent; }
html.js-motion .stamp:not(.is-on) { opacity: 0; }
html.js-motion:not(.rm) .stamp.is-ripple::after { animation: v4-ripple .9s var(--ease) forwards; }

/* 04: desktop horizontal track (v4.js pins #ch04 and translates .stages on x) */
@media (min-width: 820px) {
  html.js-motion:not(.rm):not(.lite) .stages-ch { min-height: 100svh; display: grid; align-content: center; padding-block: calc(var(--head-h) + 32px) 48px; }
  html.js-motion:not(.rm):not(.lite) .stages-viewport {
    overflow: hidden; margin-top: clamp(24px, 4svh, 48px);
    /* the next panel peeks in as a soft hint, not a hard-cropped sentence */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 calc(var(--gutter) * .6), #000 calc(var(--gutter) + min(78vw, 1180px) - 3vw), transparent calc(100% - var(--gutter)));
    mask-image: linear-gradient(90deg, transparent 0, #000 calc(var(--gutter) * .6), #000 calc(var(--gutter) + min(78vw, 1180px) - 3vw), transparent calc(100% - var(--gutter)));
  }
  html.js-motion:not(.rm):not(.lite) .stage p { transition: opacity .5s var(--ease); }
  html.js-motion:not(.rm):not(.lite) .stage:not(.is-active):not(:focus-visible) p { opacity: .15; }
  html.js-motion:not(.rm):not(.lite) .stages {
    display: flex; width: max-content; max-width: none; gap: 0; padding-inline: var(--gutter); will-change: transform;
  }
  html.js-motion:not(.rm):not(.lite) .stage { width: min(78vw, 1180px); flex: none; border-top: 0; border-right: 0; border-left: 1px solid var(--glass-line); padding-block: 0; }
  html.js-motion:not(.rm):not(.lite) .stage:last-child { margin-right: calc(100vw - min(78vw, 1180px) - var(--gutter) * 2); }
  html.js-motion:not(.rm):not(.lite) .stage__word { font-size: min(18vw, var(--fit)); margin-block: 10px 18px; }
  html.js-motion:not(.rm):not(.lite) .stage p { font-size: clamp(18px, 1.5vw, 22px); }
}
/* mobile sticky cards: the previous card eases back as the next arrives */
@supports (animation-timeline: view()) {
  @media (max-width: 819px) and (prefers-reduced-motion: no-preference) {
    html.js-motion:not(.rm) .stage { animation: v4-recede linear both; animation-timeline: view(); animation-range: exit 0% exit 60%; }
  }
}
@keyframes v4-recede { to { transform: scale(.94); filter: brightness(.7); } }

/* 05: principle chars start faint; v4.js scrubs them to --text */
html.js-motion:not(.rm) .principle .char { color: var(--text-faint); }

/* 06: tilt is driven by --rx/--ry from v4.js */
html.js-motion .bot { will-change: transform; }

/* 07/08: daylight is driven by tweening --bg/--fg on <html>; sections go transparent */
html.js-motion .ch--day { background: transparent; color: var(--fg); }
html.js-motion .v4-head__logo img { transition: filter .4s; }

/* marquee */
@media (prefers-reduced-motion: no-preference) {
  html.js-motion:not(.rm) .logos__row { justify-content: flex-start; width: max-content; transform: skewX(var(--skew)); }
  html.js-motion:not(.rm) .logos__track { flex-wrap: nowrap; animation: v4-marquee 38s linear infinite; padding-inline: 0 clamp(36px, 7vw, 120px); }
  html.js-motion:not(.rm) .logos__row--small .logos__track { animation-duration: 30s; animation-direction: reverse; }
  html.js-motion:not(.rm) .logos__dup { display: flex; }
  html.js-motion:not(.rm) .logos__row:hover .logos__track,
  html.js-motion:not(.rm) .logos.is-paused .logos__track { animation-play-state: paused; }
  html.js-motion:not(.rm) .logos__pause {
    justify-self: center; display: inline-flex; align-items: center; gap: 10px; height: 36px; padding-inline: 14px;
    margin-top: -14px; border-radius: 999px; border: 1px solid var(--glass-line); color: var(--text-dim);
    font: 600 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
    transition: color .2s, border-color .2s;
  }
  html.js-motion:not(.rm) .logos__pause:hover { color: var(--text); border-color: var(--text-faint); }
  .logos__pause-ico { position: relative; width: 9px; height: 10px; }
  .logos__pause-ico::before, .logos__pause-ico::after { content: ""; position: absolute; top: 0; width: 3px; height: 10px; border-radius: 1px; background: currentColor; }
  .logos__pause-ico::before { left: 0; } .logos__pause-ico::after { right: 0; }
  .logos.is-paused .logos__pause-ico::before { width: 0; height: 0; border-radius: 0; background: none; border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent currentColor; }
  .logos.is-paused .logos__pause-ico::after { display: none; }
}
@keyframes v4-marquee { to { transform: translateX(-100%); } }

/* founders: duotone by default, a flashlight reveals colour at --mx/--my */
html.js-motion:not(.rm) .founder__photo::after { opacity: .55; }
html.js-motion:not(.rm) .founder__color {
  --mx: 50%; --my: 40%; --r: 0px;
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 60%, transparent 100%);
  mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 60%, transparent 100%);
}
html.js-motion:not(.rm) .founder:hover .founder__color { --r: 180px; }

/* mobile CTA bar: shown by v4.js after ch02 (.is-on) */
@media (max-width: 819px) {
  .m-bar { transform: translateY(110%); transition: transform .45s var(--ease); }
  .m-bar.is-on { transform: none; }
}

/* reduced motion: final states, no transitions */
html.rm *, html.rm *::before, html.rm *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* controls that need JS */
.no-js .rail { display: none; }

/* Nav logo: no pill, the wordmark itself carries a slow blue gradient (mask over a moving background). */
.v4-head__logo { position: relative; background: none !important; border: 0 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; padding-inline: 0 !important; }
@supports ((mask-image: url("")) or (-webkit-mask-image: url(""))) {
  .v4-head__logo img { opacity: 0; }
  .v4-head__logo::after {
    content: ""; position: absolute; inset: 0;
    -webkit-mask: url("/images/v3/linkaig-logo-ink.png") left center / contain no-repeat;
            mask: url("/images/v3/linkaig-logo-ink.png") left center / contain no-repeat;
    background: linear-gradient(100deg, #eef6e2 0%, #9fc7c8 20%, #6f9a9b 38%, #b9d197 55%, #e3f3bf 72%, #eef6e2 90%, #9fc7c8 100%);
    background-size: 300% 100%;
    animation: logoFlow 7s linear infinite;
  }
  html.is-day .v4-head__logo::after { background-image: linear-gradient(100deg, #1f3a3b 0%, #2f5455 25%, #4d6a3d 50%, #6f8a3a 75%, #1f3a3b 100%); }
}
@keyframes logoFlow { from { background-position: 0% 50%; } to { background-position: 300% 50%; } }
@media (prefers-reduced-motion: reduce) { .v4-head__logo::after { animation: none; } }

/* Founder videos: portrait cut of the team clip, standing on a soft bone-violet ground */
.founder__photo--video { aspect-ratio: 440 / 540; background: radial-gradient(120% 90% at 50% 100%, #dfe8cf 0%, #f3f5ea 70%); }
.founder__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.founder__video.is-mp4 { mix-blend-mode: multiply; }
.founder__photo--video::after { display: none; }

/* Mobile CTA bar leaves room on the right for the chat launcher orb (js/widget.js, #lxc-launcher). */
@media (max-width: 819px) { .m-bar { padding-right: calc(16px + 68px) !important; } }

/* Phones: the CSS organism (lite / no-GL / reduced motion) is a presence, not a dot. */
@media (max-width: 819px) { .blob { width: 78vw; height: 78vw; } }

/* =========================================================================
   Identity chapters (Oct 2026): the AI hub (orb, thinking nodes, app paths),
   the app-logo stack and the two paths. Behaviour: js/v4-hub.js.
   ========================================================================= */
@property --oa { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.hub { overflow: clip; }
.hub .h2 { max-width: 16ch; }
.hub__lead { max-width: 46ch; }
.hub__stage {
  --core: clamp(320px, 34vw, 520px);
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--core) minmax(0, 1fr);
  align-items: center; gap: clamp(20px, 4vw, 80px); margin-top: clamp(48px, 9svh, 110px);
}
.hub__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.hub__wires .wire { fill: none; stroke: rgba(255, 255, 255, .13); stroke-width: 1.25; stroke-dasharray: 3 7; }
.hub__wires .wire-hot { fill: none; stroke: var(--c, #a9c38a); stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--c, #a9c38a)); }
.hub__wires .spark { fill: #fff; }
.hub__wires .spark-glow { fill: var(--c, #a9c38a); opacity: .45; }

.hub__side { position: relative; z-index: 1; display: grid; gap: clamp(12px, 2.2svh, 26px); }
.hub__side--in { justify-items: end; }
.hub__side--out { justify-items: start; }
.app { display: flex; align-items: center; gap: 14px; }
.hub__side--in .app { flex-direction: row-reverse; }
.app__tile, .chip-app__tile {
  display: grid; place-items: center; flex: none; background: #fff;
}
.app__tile {
  width: 58px; height: 58px; border-radius: 17px;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .14);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.app__tile svg { width: 30px; height: 30px; color: var(--c); }
.app__name { font: 600 15px/1.2 var(--f-body); color: var(--text-dim); transition: color .3s; white-space: nowrap; }
.app.is-hot .app__tile { transform: scale(1.12); box-shadow: 0 0 0 3px var(--c), 0 0 44px -2px var(--c); }
.app.is-hot .app__name { color: var(--text); }
.app__tile { position: relative; }
.app.is-done .app__tile::after {
  content: "✓"; position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font: 700 11px/1 var(--f-body); color: #0a0d0c; background: var(--ok);
}

.hub__core { position: relative; z-index: 1; width: var(--core); aspect-ratio: 1; display: grid; place-items: center; }
.hub__rings { position: absolute; inset: 0; pointer-events: none; }
.hub__rings i { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); }
.hub__rings i:nth-child(1) { inset: 2%; border-style: dashed; border-color: rgba(255, 255, 255, .12); }
.hub__rings i:nth-child(2) { inset: 10%; border-color: rgba(169, 195, 138, .22); }
.hub__rings i:nth-child(3) { inset: 18%; border-color: rgba(127, 179, 180, .14); }
.hub__rings i:nth-child(2)::after, .hub__rings i:nth-child(3)::after {
  content: ""; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; border-radius: 50%;
  background: #a9c38a; box-shadow: 0 0 12px #a9c38a;
}
.hub__rings i:nth-child(3)::after { background: #7fb3b4; box-shadow: 0 0 12px #7fb3b4; top: auto; bottom: -3px; }

.hub__orb {
  position: relative; width: 56%; aspect-ratio: 1; isolation: isolate; overflow: hidden;
  border-radius: 34%;
  background:
    radial-gradient(90% 90% at 30% 22%, rgba(255, 255, 255, .16), transparent 55%),
    radial-gradient(100% 100% at 50% 50%, rgba(111, 154, 155, .26), rgba(10, 13, 12, .94) 72%);
  box-shadow: 0 0 90px -12px rgba(111, 154, 155, .6), 0 0 170px -40px rgba(215, 232, 177, .55), inset 0 0 50px rgba(127, 179, 180, .08);
}
.hub__orb::before {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--oa), #7fb3b4, #6f9a9b, #a9c38a, #d7e8b1, #10b981, #7fb3b4);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.hub__mind { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hub__label {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none;
  font: 800 clamp(20px, 2vw, 30px)/1 var(--f-display); letter-spacing: .02em;
  background: linear-gradient(100deg, #7fb3b4, #a9c38a 55%, #d7e8b1); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; text-shadow: none;
}

.hub__caps { position: absolute; inset: 0; z-index: 2; }
.cap { position: absolute; display: grid; justify-items: center; gap: 8px; transform: translate(-50%, -50%); }
.cap--orchestrate { left: 21.7%; top: 21.7%; }
.cap--think { left: 78.3%; top: 21.7%; }
.cap--automate { left: 78.3%; top: 78.3%; }
.cap--integrate { left: 21.7%; top: 78.3%; }
.cap__tile {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)), #151c18;
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .9);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.cap__tile svg { width: 24px; height: 24px; fill: none; stroke: #c3d6a8; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cap__name { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); white-space: nowrap; font: 700 11px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); }
.cap.is-hot .cap__tile { transform: scale(1.12); border-color: transparent; box-shadow: 0 0 0 2px #a9c38a, 0 0 40px -4px #a9c38a; }
.cap.is-hot .cap__tile svg { stroke: #fff; }
.cap.is-hot .cap__name { color: var(--text); }

.hub__log {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px;
  margin-top: clamp(36px, 6svh, 64px); text-align: center;
}
.hub__log-t { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; font: 500 clamp(16px, 1.4vw, 20px)/1.3 var(--f-body); color: var(--text); }
.hub__log-t i { font-style: normal; color: var(--text-faint); }
.hub__log-t span { transition: opacity .35s, color .35s; }
html.hub-live .hub__log-t span:not(.is-on) { opacity: .28; }
.hub__log-t span.is-on:last-of-type { color: var(--status-fg); }

/* app-logo stack: two marquee rows (static wrap without motion) */
.stack { position: relative; display: grid; gap: 14px; margin-top: clamp(72px, 12svh, 150px); }
.stack__row { display: flex; justify-content: center; }
.stack__track { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-inline: var(--gutter); }
.stack__track[aria-hidden="true"] { display: none; }
.chip-app { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 8px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); }
.chip-app__tile { width: 36px; height: 36px; border-radius: 50%; }
.chip-app__tile svg { width: 20px; height: 20px; color: var(--c); }
.chip-app > span:last-child { font: 600 15px/1 var(--f-body); color: var(--text-dim); white-space: nowrap; }
.stack__pause { display: none; }

/* two paths (daylight) */
.paths { padding-block: clamp(72px, 12svh, 150px) clamp(40px, 7svh, 90px); }
.paths .h2 { max-width: 15ch; }
.paths__grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 36px); margin-top: clamp(80px, 12svh, 140px);
}
.paths__fork { position: absolute; left: 0; right: 0; bottom: 100%; width: 100%; height: clamp(50px, 8svh, 90px); overflow: visible; }
.paths__fork path { fill: none; stroke: #4d6a3d; stroke-opacity: .5; stroke-width: 1.5; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.path {
  /* the card is always white: its own ink, independent of the night/day token tween */
  --text-dim: #4a5650; --violet: #4d6a3d;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(28px, 3vw, 48px); border-radius: 28px;
  background: #fff; color: var(--ink); text-decoration: none;
  border: 1px solid rgba(17, 22, 19, .08); box-shadow: 0 30px 80px -50px rgba(17, 22, 19, .45);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.path::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: -1; opacity: 0; transition: opacity .5s;
  background: linear-gradient(135deg, #3f7375, #4d6a3d 45%, #6f8a3a);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.path:hover, .path:focus-visible { transform: translateY(-6px); box-shadow: 0 44px 90px -44px rgba(111, 154, 155, .5); }
.path:hover::before, .path:focus-visible::before { opacity: 1; }
.path:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }
.path__n {
  position: absolute; top: 14px; right: 26px; z-index: -1;
  font: 800 clamp(72px, 8vw, 132px)/1 var(--f-display); letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(17, 22, 19, .1);
}
.path__ico { width: 64px; height: 64px; border-radius: 19px; display: grid; place-items: center; background: linear-gradient(135deg, #3f7375, #2f5455); box-shadow: 0 16px 34px -14px rgba(111, 154, 155, .8); }
.path--build .path__ico { background: linear-gradient(135deg, #6f8a3a, #4d6a3d); box-shadow: 0 16px 34px -14px rgba(215, 232, 177, .8); }
.path__ico svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.path__title { margin: 6px 0 0; font: 800 clamp(26px, 2.6vw, 40px)/1.04 var(--f-display); letter-spacing: -.03em; max-width: 16ch; }
.path__d { margin: 0; color: var(--text-dim); font-size: 17px; max-width: 42ch; }
.path__list { display: grid; gap: 10px; margin-top: 4px; }
.path__list li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.path__list li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font: 700 12px/1 var(--f-body); color: #2f5455; background: rgba(63, 115, 117, .14);
}
.path--build .path__list li::before { color: #4d6a3d; background: rgba(111, 138, 58, .16); }
.path__go { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1 var(--f-body); color: var(--violet); }
.path:hover .btn__arrow { transform: translateX(4px); }
.paths__or { position: relative; display: grid; place-items: center; }
.paths__or::before { content: ""; position: absolute; top: 8%; bottom: 8%; left: 50%; width: 1px; background: linear-gradient(transparent, rgba(111, 154, 155, .4), transparent); }
.paths__or span {
  position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bone); border: 1px solid rgba(111, 154, 155, .3);
  font: 700 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--violet);
}

/* tablets and phones: the hub stacks (tools above, models below); paths stack */
@media (max-width: 1023px) {
  .hub__stage { --core: min(86vw, 400px); grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(36px, 7svh, 64px); }
  .hub__side { grid-template-columns: repeat(6, minmax(0, 1fr)); width: 100%; max-width: 720px; justify-items: center; gap: 10px 6px; }
  .app, .hub__side--in .app { flex-direction: column; gap: 8px; }
  .app__tile { width: 52px; height: 52px; border-radius: 15px; }
  .app__tile svg { width: 27px; height: 27px; }
  .app__name { font-size: 13px; }
  .hub__side--out { order: 3; }
}
@media (max-width: 599px) {
  .app__tile { width: 46px; height: 46px; border-radius: 14px; }
  .app__tile svg { width: 24px; height: 24px; }
  .app__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cap__tile { width: 42px; height: 42px; border-radius: 13px; }
  .cap__tile svg { width: 20px; height: 20px; }
  .cap__name { font-size: 10px; letter-spacing: .12em; }
}
@media (max-width: 899px) {
  .paths__grid { grid-template-columns: minmax(0, 1fr); margin-top: clamp(40px, 7svh, 64px); }
  .paths__fork { display: none; }
  .paths__or { height: 52px; }
  .paths__or::before { top: 50%; bottom: auto; left: 10%; right: 10%; width: auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(111, 154, 155, .4), transparent); }
}

@media (prefers-reduced-motion: no-preference) {
  html:not(.rm) .hub__orb { animation: orbMorph 16s ease-in-out infinite; }
  html:not(.rm) .hub__orb::before { animation: orbHue 6s linear infinite; }
  html:not(.rm) .hub__rings i:nth-child(1) { animation: hubSpin 80s linear infinite; }
  html:not(.rm) .hub__rings i:nth-child(2) { animation: hubSpin 26s linear infinite; }
  html:not(.rm) .hub__rings i:nth-child(3) { animation: hubSpin 34s linear infinite reverse; }
  /* the stack runs as a marquee */
  html:not(.rm) .stack { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
  html:not(.rm) .stack__row { justify-content: flex-start; width: max-content; animation: stackRun 70s linear infinite; }
  html:not(.rm) .stack__row--rev { animation-direction: reverse; animation-duration: 60s; }
  html:not(.rm) .stack__track { flex-wrap: nowrap; padding-inline: 0 12px; }
  html:not(.rm) .stack__track[aria-hidden="true"] { display: flex; }
  html:not(.rm) .stack:hover .stack__row, html:not(.rm) .stack:focus-within .stack__row, .stack.is-paused .stack__row { animation-play-state: paused; }
  html:not(.rm) .stack__pause {
    display: inline-flex; justify-self: end; margin: 6px var(--gutter) 0; height: 36px; align-items: center; padding: 0 16px; border-radius: 999px;
    font: 600 12px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); border: 1px solid var(--glass-line);
  }
  html:not(.rm) .paths__fork path { stroke-dashoffset: 0; animation: forkRun 1.6s linear infinite; }
}
@keyframes orbMorph {
  0%, 100% { border-radius: 34%; }
  25% { border-radius: 50%; }
  50% { border-radius: 42% 58% 54% 46% / 46% 40% 60% 54%; }
  75% { border-radius: 28%; }
}
@keyframes orbHue { to { --oa: 360deg; } }
@keyframes hubSpin { to { transform: rotate(360deg); } }
@keyframes stackRun { to { transform: translateX(-50%); } }
@keyframes forkRun { to { stroke-dashoffset: -20; } }
/* the top two caps read above their tile, so no label touches the orb */
.cap--orchestrate .cap__name, .cap--think .cap__name { top: auto; bottom: calc(100% + 10px); }

/* founders: the whole team clip, uncut, background-free (alpha video), centred; names under each */
.founders { text-align: center; }
.founders .h2 { margin-inline: auto; }
.founders__duo { margin: clamp(28px, 5svh, 56px) auto 0; max-width: 1000px; }
.founders__stage { position: relative; aspect-ratio: 960 / 540; }
.founders__stage::before {
  content: ""; position: absolute; inset: 12% 8% 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 50% 100%, rgba(169, 195, 138, .22), rgba(127, 179, 180, .08) 55%, transparent 75%);
  filter: blur(20px);
}
.founders__stage .founder__video {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: center bottom;
  /* the clip ends at the waist: fade that edge instead of a hard cut */
  -webkit-mask-image: linear-gradient(#000 86%, transparent); mask-image: linear-gradient(#000 86%, transparent);
}
.founders__names { position: relative; height: clamp(56px, 6vw, 76px); margin-top: 4px; }
.founder__tag { position: absolute; top: 0; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; }
.founder__tag--vico { left: 32%; }
.founder__tag--matt { left: 69%; }

/* ---------- site navigation in the v4 header (Oct 2026): links, solutions menu, login, mobile menu ---------- */
.anchor { position: relative; height: 0; scroll-margin-top: calc(var(--head-h) + 8px); }
.v4-nav {
  display: none; align-items: center; gap: 2px; height: 52px; padding: 5px;
  background: rgba(20, 29, 25, .88); border: 1px solid rgba(255, 255, 255, .10); border-radius: 999px;
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.v4-nav > a, .v4-nav__drop > button, .v4-login {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding-inline: 14px; border-radius: 999px;
  font: 500 14px/1 var(--f-body); color: #c9d3c8; text-decoration: none; white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.v4-nav > a:hover, .v4-nav__drop > button:hover, .v4-nav__drop.is-open > button, .v4-login:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.v4-nav > a:focus-visible, .v4-nav__drop > button:focus-visible, .v4-login:focus-visible, .v4-burger:focus-visible { outline: 2px solid #b9d197; outline-offset: 2px; }
.v4-nav__chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.v4-nav__drop { position: relative; }
.v4-nav__drop.is-open .v4-nav__chev { transform: rotate(180deg); }
.v4-nav__menu {
  position: absolute; top: calc(100% + 12px); left: -6px; width: 340px; padding: 8px;
  display: grid; gap: 2px; border-radius: 22px;
  background: rgba(17, 23, 20, .97); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.v4-nav__drop.is-open .v4-nav__menu { opacity: 1; visibility: visible; transform: none; }
.v4-nav__menu a { display: grid; gap: 4px; padding: 11px 14px; border-radius: 14px; text-decoration: none; }
.v4-nav__menu a:hover, .v4-nav__menu a:focus-visible { background: rgba(185, 209, 151, .1); outline: none; }
.v4-nav__menu b { font: 600 15px/1.2 var(--f-body); color: #eef3ea; }
.v4-nav__menu small { font: 400 13px/1.3 var(--f-body); color: #a9b5aa; }
.v4-login { height: 40px; padding-inline: 14px; }

.v4-burger { display: grid; place-content: center; gap: 5px; width: 40px; height: 40px; border-radius: 50%; }
.v4-burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: #eef3ea; transition: transform .3s var(--ease); }
.v4-burger[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.v4-burger[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.v4-menu {
  position: fixed; inset: 0; z-index: 45; overflow-y: auto; overscroll-behavior: contain;
  padding: calc(env(safe-area-inset-top, 0px) + var(--head-h) + 32px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 32px);
  background: #0a0d0c; color: #eef3ea;
}
html.menu-open #lxc-launcher, html.menu-open #lxc-teaser, html.menu-open .m-bar { display: none !important; }
.v4-menu__inner { display: grid; gap: 10px; max-width: 560px; }
.v4-menu__label { margin: 14px 0 2px; font: 600 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: #879486; }
.v4-menu__sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.v4-menu__sub a { padding: 9px 0; font: 500 16px/1.25 var(--f-body); color: #c9d3c8; text-decoration: none; }
.v4-menu__main { display: grid; }
.v4-menu__main a { padding: 10px 0; font: 800 clamp(30px, 8vw, 40px)/1.05 var(--f-display); letter-spacing: -.03em; color: #eef3ea; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.v4-menu a:hover { color: #b9d197; }
.v4-menu__cta { display: grid; gap: 10px; margin-top: 22px; }
.v4-menu__cta .btn { width: 100%; }
html.menu-open { overflow: hidden; }

@media (min-width: 1100px) {
  .v4-nav { display: inline-flex; }
  .v4-burger { display: none; }
}
@media (max-width: 1099px) {
  .v4-login { display: none; }
}
@media (max-width: 380px) {
  .v4-menu__sub { grid-template-columns: minmax(0, 1fr); }
}
