/* ================= VR Tactic ================= */

@font-face {
  font-family: "Cabinet Grotesk";
  src: url("fonts/CabinetGrotesk-ExtraBold.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

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

@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-normal-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #FBFAF6;
  --ink: #161513;
  --ink-soft: #55524C;
  --line: rgba(22, 21, 19, 0.12);
  --green: #1F7A4D;
  --green-bright: #3FB57A;
  --green-tint: #E3F1E9;

  --font-display: "Cabinet Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, system-ui, "Segoe UI", sans-serif;
  /* small labels, tags, numbers (replaces the old monospace font) */
  --font-label: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  --radius: 18px;
  --container: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--green); color: var(--bg); }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
.label { font-family: var(--font-label); font-size: 13px; font-weight: 500; letter-spacing: 0.02em; }
.hl { color: var(--green); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ================= Custom cursor ================= */
@media (hover: hover) and (pointer: fine) {
  body, a, button, summary, [role="button"], .lb-scrub { cursor: none; }
}
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 9999; mix-blend-mode: difference; transition: opacity .3s; }
/* White + difference = the cursor inverts whatever is under it (dark on light, light on dark) */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; border-radius: 50%;
  transform: translate3d(-100px, -100px, 0); will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff;
  transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out);
}
.cursor-ring {
  width: 32px; height: 32px; margin: -16px 0 0 -16px;
  border: 1px solid #fff;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), border-width .3s;
}
/* hovering something clickable: the same cursor, just bigger */
.cursor.is-hover .cursor-ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-width: 1.5px; }
.cursor.is-hover .cursor-dot { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; }
/* pressing */
.cursor.is-down .cursor-ring { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
.cursor.is-hover.is-down .cursor-ring { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
.cursor.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ================= Scroll progress ================= */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--green-bright));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ================= Buttons ================= */
.btn {
  --mx: 0px; --my: 0px; --lift: 0px;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--bg);
  font-weight: 600; font-size: 15px;
  padding: 14px 22px; border-radius: 999px; border: 0;
  transform: translate3d(var(--mx), calc(var(--my) + var(--lift)), 0);
  transition: transform .5s var(--ease-out), box-shadow .4s var(--ease);
}
.btn-fill {
  position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--green);
  clip-path: circle(0% at var(--fx, 50%) var(--fy, 50%));
  transition: clip-path .6s var(--ease-out);
}
.btn:hover { --lift: -2px; box-shadow: 0 14px 30px -12px rgba(31, 122, 77, .6); }
.btn:hover .btn-fill { clip-path: circle(150% at var(--fx, 50%) var(--fy, 50%)); }
.btn .arrow { display: inline-block; transition: transform .4s var(--ease-spring); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-ghost {
  position: relative; font-weight: 600; font-size: 15px; padding: 14px 4px;
  transition: color .3s;
}
.btn-ghost::before, .btn-ghost::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 10px; height: 1.5px; background: var(--ink);
  transform-origin: right; transition: transform .5s var(--ease-out);
}
.btn-ghost::after { background: var(--green); transform: scaleX(0); transform-origin: left; transition-delay: .05s; }
.btn-ghost:hover { color: var(--green); }
.btn-ghost:hover::before { transform: scaleX(0); }
.btn-ghost:hover::after { transform: scaleX(1); }

/* ================= Logo ================= */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { display: block; flex-shrink: 0; width: 40px; height: 22px; transition: transform .6s var(--ease-spring); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.08); }
.logo-v { fill: var(--ink); transition: fill .3s; }
.logo-word { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; transition: color .3s; }

/* ================= Header ================= */
.site-header { position: sticky; top: 0; z-index: 50; height: calc(80px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); transition: transform .5s var(--ease-out); }
.header-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.site-header.is-dark .logo-v { fill: var(--bg); }
.site-header.is-dark .logo-word { color: var(--bg); }
.js .site-header { opacity: 0; transform: translateY(-20px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.is-loaded .site-header { opacity: 1; transform: none; }

/* ================= Liquid glass navbar (Nimbus "Waterline", VR Tactic greens) ================= */
.nimbus-nav {
  --n-tint: rgba(251, 250, 246, .55); --n-fg: #161513; --n-fg-soft: rgba(22, 21, 19, .6); --n-rim: rgba(255, 255, 255, .7);
  position: relative; display: inline-flex; align-items: center; gap: 2px; padding: 6px; border-radius: 999px; isolation: isolate;
  font-family: var(--font-body); -webkit-font-smoothing: antialiased; user-select: none; -webkit-tap-highlight-color: transparent;
}
.nimbus-nav[data-tone="dark"] { --n-tint: rgba(22, 21, 19, .4); --n-fg: #FBFAF6; --n-fg-soft: rgba(251, 250, 246, .66); --n-rim: rgba(255, 255, 255, .34); }
.nimbus-glass {
  position: absolute; inset: 0; border-radius: inherit; z-index: -2; overflow: hidden; background: var(--n-tint);
  -webkit-backdrop-filter: blur(10px) saturate(1.2) brightness(1.08); backdrop-filter: blur(10px) saturate(1.2) brightness(1.08);
  box-shadow: inset 0 1px 1px var(--n-rim), inset 0 0 0 1px rgba(255, 255, 255, .2), 0 12px 32px -14px rgba(22, 21, 19, .5), 0 2px 6px rgba(22, 21, 19, .1);
  transition: background-color .3s;
}
.nimbus-nav[data-refract="on"] .nimbus-glass {
  -webkit-backdrop-filter: url(#nimbus-refract) blur(2px) saturate(1.2) brightness(1.08);
  backdrop-filter: url(#nimbus-refract) blur(2px) saturate(1.2) brightness(1.08);
}
.nimbus-water { position: absolute; left: -14px; top: -14px; z-index: -1; pointer-events: none; }
.nimbus-nav[data-gl="off"] .nimbus-water { display: none; }
.nimbus-drop {
  display: none; position: absolute; top: 6px; bottom: 6px; left: 0; border-radius: 999px; z-index: -1; pointer-events: none; will-change: transform, width;
  background: radial-gradient(120% 140% at 30% 0%, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 55%), rgba(227, 241, 233, .55);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -2px 6px rgba(31, 122, 77, .22), inset 0 0 0 1px rgba(255, 255, 255, .55), 0 6px 16px -6px rgba(22, 21, 19, .45);
}
.nimbus-nav[data-gl="off"] .nimbus-drop { display: block; }
/* pages with no matching nav item: no highlight blob */
.nimbus-nav[data-idle] .nimbus-water, .nimbus-nav[data-idle] .nimbus-drop { visibility: hidden; }
.nimbus-item {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 0; border-radius: 999px;
  background: none; color: var(--n-fg-soft); font-family: inherit; font-weight: 500; font-size: 14px; line-height: 1; letter-spacing: -.01em;
  white-space: nowrap; transition: color .25s;
}
.nimbus-item:hover, .nimbus-item[aria-current="page"] { color: var(--n-fg); }
.nimbus-item:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.nimbus-nav[data-tone="dark"] .nimbus-item:focus-visible { outline-color: var(--green-bright); }
.nv-ico { position: relative; display: inline-flex; flex: none; }
.nv-ico svg { transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.nimbus-item[aria-current="page"] .nv-ico svg { transform: translateY(-1px) scale(1.08); }

.nv-ico[data-play="pop"] svg { animation: nvPop .5s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes nvPop { 0% { transform: scale(.72) } 60% { transform: scale(1.2) } 100% { transform: translateY(-1px) scale(1.08) } }

.nv-ico[data-play="drop"] svg { animation: nvDrop .95s cubic-bezier(.4, 0, .3, 1) both; transform-origin: 50% 100%; }
@keyframes nvDrop { 0% { transform: translateY(-1px) } 26% { transform: translateY(-13px) scale(.88, 1.12) } 46% { transform: translateY(3px) scale(1.3, .68) } 62% { transform: translateY(-3px) scale(.92, 1.08) } 80% { transform: translateY(0) scale(1.04, .97) } 100% { transform: translateY(-1px) scale(1.08) } }
.nv-ico[data-play="drop"]::before, .nv-ico[data-play="drop"]::after {
  content: ""; position: absolute; bottom: 0; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: currentColor; opacity: 0; pointer-events: none;
}
.nv-ico[data-play="drop"]::before { animation: nvSplashL .95s ease-out both; }
.nv-ico[data-play="drop"]::after { animation: nvSplashR .95s ease-out both; }
@keyframes nvSplashL { 0%, 44% { opacity: 0; transform: none } 50% { opacity: .9; transform: translate(-5px, -6px) } 75%, 100% { opacity: 0; transform: translate(-11px, 1px) scale(.4) } }
@keyframes nvSplashR { 0%, 44% { opacity: 0; transform: none } 50% { opacity: .9; transform: translate(5px, -7px) } 75%, 100% { opacity: 0; transform: translate(12px, 1px) scale(.4) } }

.nv-ico[data-play="spin"] svg { animation: nvSpin 1s cubic-bezier(.2, .75, .25, 1) both; }
@keyframes nvSpin { 0% { transform: perspective(80px) rotateY(0) } 100% { transform: perspective(80px) rotateY(360deg) translateY(-1px) scale(1.08) } }

.nv-ico[data-play="glow"] svg { animation: nvHop .8s cubic-bezier(.3, 1.4, .5, 1) both; transform-origin: 50% 100%; }
@keyframes nvHop { 0% { transform: none } 30% { transform: translateY(-5px) scale(1.04, .96) } 55% { transform: translateY(0) scale(1.12, .88) } 75% { transform: translateY(-2px) scale(.98, 1.04) } 100% { transform: translateY(-1px) scale(1.08) } }

.nv-ico[data-play="wave"] svg { animation: nvWave .9s ease-in-out both; transform-origin: 50% 92%; }
@keyframes nvWave { 0% { transform: none } 20% { transform: rotate(-15deg) } 40% { transform: rotate(12deg) } 60% { transform: rotate(-8deg) } 80% { transform: rotate(4deg) } 100% { transform: translateY(-1px) scale(1.08) } }

@media (max-width: 640px) {
  .nimbus-item { padding: 0 13px; }
  .nimbus-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .nv-ico svg, .nv-ico::before, .nv-ico::after { animation: none !important; transition: none; }
}

/* ================= Split-word headings ================= */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .wi { display: inline-block; }
.js .split .wi {
  transform: translateY(110%) rotate(4deg); transform-origin: 0 100%;
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 45ms);
}
.js .split.is-visible .wi { transform: none; }
.js .load-words .wi { transition-delay: calc(180ms + var(--i, 0) * 55ms); }

/* ================= Page-load entrance ================= */
.js .load {
  opacity: 0; transform: translateY(26px); filter: blur(6px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 110ms + 100ms);
}
.is-loaded .load { opacity: 1; transform: none; filter: none; }

/* ================= Hero ================= */
.hero { position: relative; padding: 56px 0 120px; overflow: clip; }
.hero-bg { position: absolute; inset: -80px 0 0; z-index: -1; pointer-events: none; }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(22, 21, 19, .13) 1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 70% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 70% 40%, #000 0%, transparent 75%);
}
.hero-glow {
  position: absolute; width: 720px; height: 720px; border-radius: 50%;
  left: var(--gx, 65%); top: var(--gy, 40%); transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(63, 181, 122, .28) 0%, rgba(63, 181, 122, .08) 40%, transparent 70%);
  filter: blur(20px);
  transition: left 1.2s var(--ease-out), top 1.2s var(--ease-out);
  animation: glowBreath 8s ease-in-out infinite;
}
@keyframes glowBreath { 50% { scale: 1.12; opacity: .8; } }

.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero-copy { will-change: transform, opacity; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-label); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--green); background: var(--green-tint);
  padding: 7px 14px 7px 12px; border-radius: 999px; margin-bottom: 28px;
  box-shadow: inset 0 0 0 1px rgba(31, 122, 77, .14);
}
.tag-dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.tag-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green);
  animation: ping 2s var(--ease-out) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3.2); opacity: 0; } }
.hero h1 { font-size: clamp(42px, 6.2vw, 80px); }
.hero h1 .hl { position: relative; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 520px; margin-top: 24px; }
.hero-cta { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 28px; flex-wrap: wrap; list-style: none; padding: 0; margin: 44px 0 0; color: var(--ink-soft); }
.hero-proof li { padding-left: 14px; border-left: 1px solid var(--line); }
.hero-proof li:first-child { padding-left: 0; border-left: 0; }
.hero-proof strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* phones */
.hero-reel { position: relative; height: 560px; perspective: 1200px; }
.phone-par { position: absolute; width: 46%; will-change: translate; }
.par-1 { left: 0; top: 60px; }
.par-2 { left: 27%; top: 0; z-index: 2; }
.par-3 { right: 0; top: 80px; }
.phone {
  --r: 0deg; --tx: 0px; --tilt-x: 0deg; --tilt-y: 0deg;
  position: relative; width: 100%; aspect-ratio: 9 / 16;
  border-radius: 26px; background: var(--ink); padding: 8px;
  box-shadow: 0 40px 70px -24px rgba(22, 21, 19, 0.45), inset 0 0 0 1px rgba(255, 255, 255, .06);
  transform: translateX(var(--tx)) rotate(var(--r)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform .9s var(--ease-out);
}
.phone::before { /* camera notch */
  content: ""; position: absolute; top: 15px; left: 50%; width: 30%; height: 7px; margin-left: -15%;
  border-radius: 99px; background: #000; z-index: 3;
}
.phone-1 { --r: -6deg; animation: float 7s ease-in-out infinite; }
.phone-2 { animation: float 7s ease-in-out -2.3s infinite; }
.phone-3 { --r: 6deg; animation: float 7s ease-in-out -4.6s infinite; }
@keyframes float { 50% { translate: 0 -12px; } }
.js .phone.load { transform: translateY(80px) translateX(var(--tx)) rotate(calc(var(--r) * 2.2)) scale(.92); }
.is-loaded .phone.load { transform: translateX(var(--tx)) rotate(var(--r)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); }
.hero-reel:hover .phone-1 { --r: -10deg; --tx: -14px; }
.hero-reel:hover .phone-3 { --r: 10deg; --tx: 14px; }

.phone-screen {
  width: 100%; height: 100%; border-radius: 20px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 16px;
  color: var(--bg);
  background: linear-gradient(160deg, #2a2925 0%, #161513 60%);
}
.phone-screen::before { /* moving sheen */
  content: ""; position: absolute; inset: -40%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .07) 50%, transparent 60%);
  animation: sheen 6s ease-in-out infinite;
}
@keyframes sheen { 0%, 100% { transform: translateX(-30%); } 50% { transform: translateX(30%); } }
.phone-2 .phone-screen { background: linear-gradient(160deg, var(--green) 0%, #0f3f28 100%); }
.ps-side { position: absolute; right: 12px; bottom: 76px; display: flex; flex-direction: column; gap: 10px; }
.ps-side i { width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.ps-side i:first-child { animation: heart 2.4s var(--ease-spring) infinite; }
.phone-2 .ps-side i:first-child { animation-delay: .8s; }
.phone-3 .ps-side i:first-child { animation-delay: 1.6s; }
@keyframes heart { 0%, 60%, 100% { transform: scale(1); background: rgba(255, 255, 255, .2); } 70% { transform: scale(1.35); background: var(--green-bright); } 85% { transform: scale(1); background: var(--green-bright); } }
.ps-label { position: relative; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600; }
.ps-cap { display: flex; flex-direction: column; gap: 5px; width: 70%; }
.ps-cap span { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .22); }
.ps-cap span:last-child { width: 60%; }
.ps-bar { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .18); overflow: hidden; margin-bottom: 18px; }
.ps-bar i { display: block; height: 100%; background: var(--green-bright); transform-origin: left; animation: watch 5s linear infinite; }
.phone-2 .ps-bar i { background: #fff; animation-duration: 6.5s; }
.phone-3 .ps-bar i { animation-duration: 4.2s; animation-delay: -1.5s; }
@keyframes watch { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: .2em; font-size: 11px; color: var(--ink-soft);
}
.scroll-hint-line { width: 1px; height: 42px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint-line::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--green);
  animation: scrollLine 1.8s var(--ease-out) infinite;
}
@keyframes scrollLine { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ================= Marquee ================= */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-set {
  display: flex; align-items: center; gap: 36px; padding-right: 36px; flex: none;
  font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(30px, 3.6vw, 50px); letter-spacing: -0.01em; line-height: 1.1; white-space: nowrap;
}
.marquee-set span:nth-of-type(even) { color: var(--green); }
.marquee-set i { color: var(--green); font-style: normal; font-size: .42em; display: inline-block; animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* no-JS fallback */
html:not(.js) .marquee-track { animation: marquee 38s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================= Sections ================= */
.section { padding: 120px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 64px; }
.num { display: inline-flex; align-items: center; gap: 10px; color: var(--green); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; margin-bottom: 18px; }
.num::before { content: ""; width: 22px; height: 1.5px; background: currentColor; transform-origin: left; transition: transform .9s var(--ease-out) .2s; }
.js .num.reveal::before { transform: scaleX(0); }
.js .num.reveal.is-visible::before { transform: scaleX(1); }
.section h2, .cta h2 { font-size: clamp(36px, 4.8vw, 60px); }
.section-sub { color: var(--ink-soft); font-size: 18px; margin-top: 20px; }

/* ================= Work ================= */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.work-card { outline: none; will-change: translate; }
.work-media {
  --rx: 0deg; --ry: 0deg; --lift: 0px; --gx: 50%; --gy: 50%;
  aspect-ratio: 9 / 16; border-radius: var(--radius);
  background: linear-gradient(170deg, #E9E6DD 0%, #D9D5CA 100%);
  position: relative; overflow: hidden; color: var(--ink-soft);
  transform: perspective(900px) translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .7s var(--ease-out), box-shadow .5s var(--ease);
  box-shadow: 0 0 0 rgba(22, 21, 19, 0);
}
.work-card:nth-child(2) .work-media { background: linear-gradient(170deg, #dfe9e2 0%, #c9d8cd 100%); }
.work-card:nth-child(4) .work-media { background: linear-gradient(170deg, #2a2925 0%, #161513 100%); color: rgba(251, 250, 246, .6); }
.work-media::after { /* fake caption lines for placeholders */
  content: ""; position: absolute; left: 16px; right: 40%; bottom: 46px; height: 6px; border-radius: 4px;
  background: currentColor; opacity: .18; box-shadow: 0 -12px 0 currentColor;
}
.work-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .9s var(--ease-out); }
.work-num { position: absolute; left: 16px; bottom: 14px; z-index: 2; }
.work-play {
  position: absolute; left: 50%; top: 50%; z-index: 3; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(251, 250, 246, .9); color: var(--ink);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -8px rgba(22, 21, 19, .4);
  transform: scale(.6); opacity: 0;
  transition: transform .6s var(--ease-spring), opacity .35s var(--ease), background-color .3s;
}
.work-play svg { margin-left: 3px; }
.work-glare {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, .45), transparent 55%);
  mix-blend-mode: soft-light; transition: opacity .4s;
}
.work-card:hover .work-media, .work-card:focus-visible .work-media { --lift: -8px; box-shadow: 0 30px 50px -24px rgba(22, 21, 19, .45); }
.work-card:hover .work-play, .work-card:focus-visible .work-play { transform: scale(1); opacity: 1; }
.work-card:hover .work-play { background: var(--green-bright); }
.work-card:hover .work-glare { opacity: 1; }
.work-card:hover .work-media video { transform: scale(1.04); }
.work-card:focus-visible .work-media { outline: 2px solid var(--green); outline-offset: 4px; }
.work-meta { padding: 14px 4px 0; }
.work-meta h3 { font-size: 20px; letter-spacing: -0.02em; transition: color .3s; }
.work-card:hover .work-meta h3 { color: var(--green); }
.work-meta p { color: var(--ink-soft); margin-top: 4px; }

/* ================= Process (dark) ================= */
.section-dark { background: var(--ink); color: var(--bg); }
.section-dark .hl, .section-dark .num { color: var(--green-bright); }
.section-dark .section-sub { color: rgba(251, 250, 246, 0.62); }
.steps-wrap { position: relative; }
.steps-track { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(251, 250, 246, 0.14); }
.steps-fill {
  position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--green), var(--green-bright));
  box-shadow: 0 0 12px rgba(63, 181, 122, .7);
}
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.step { position: relative; padding: 36px 24px 0; border-right: 1px solid rgba(251, 250, 246, 0.14); transition: opacity .6s var(--ease); }
.step:first-child { padding-left: 0; }
.step:last-child { border-right: 0; }
.step-dot {
  position: absolute; top: -5px; left: 24px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(251, 250, 246, .3);
  transition: background-color .4s, box-shadow .4s, transform .5s var(--ease-spring);
}
.step:first-child .step-dot { left: 0; }
.step.is-on .step-dot { background: var(--green-bright); box-shadow: 0 0 0 5px rgba(63, 181, 122, .18), 0 0 14px rgba(63, 181, 122, .8); transform: scale(1.15); }
.step-num { color: rgba(251, 250, 246, .4); display: block; margin-bottom: 36px; transition: color .4s; }
.step.is-on .step-num { color: var(--green-bright); }
.step h3 { font-size: 24px; margin-bottom: 12px; }
.step p { color: rgba(251, 250, 246, 0.62); font-size: 15px; }
.js .step:not(.is-on) h3, .js .step:not(.is-on) p { opacity: .45; }
.step h3, .step p { transition: opacity .6s var(--ease); }

/* ================= Services ================= */
.services-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.services-grid .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.services-grid .btn { margin-top: 32px; }
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service {
  position: relative; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px;
  padding: 28px 12px 28px 0; border-bottom: 1px solid var(--line); isolation: isolate;
}
.service::before {
  content: ""; position: absolute; inset: -1px -16px; z-index: -1; border-radius: 14px; background: var(--green-tint);
  transform: scaleY(0); transform-origin: 50% 100%; opacity: 0;
  transition: transform .5s var(--ease-out), opacity .3s;
}
.service:hover::before { transform: scaleY(1); opacity: 1; }
.service > div { transition: transform .5s var(--ease-out); }
.service:hover > div { transform: translateX(10px); }
.service-num { color: var(--ink-soft); transition: color .3s; }
.service:hover .service-num { color: var(--green); }
.service h3 { font-size: 24px; }
.service p { color: var(--ink-soft); margin-top: 6px; }
.service-arrow {
  font-size: 22px; color: var(--green); opacity: 0; transform: translate(-10px, 10px) rotate(-10deg);
  transition: opacity .3s, transform .5s var(--ease-spring);
}
.service:hover .service-arrow { opacity: 1; transform: none; }

/* ================= Fit ================= */
.section-tint { background: var(--green-tint); }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fit-card {
  background: var(--bg); border-radius: var(--radius); padding: 36px;
  transition: transform .6s var(--ease-out), box-shadow .5s var(--ease);
}
.fit-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(31, 122, 77, .35); }
.fit-label { text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; margin-bottom: 20px; }
.fit-yes .fit-label { color: var(--green); }
.fit-no .fit-label { color: var(--ink-soft); }
.fit-card ul { list-style: none; margin: 0; padding: 0; }
.fit-card li { padding: 14px 0 14px 32px; border-top: 1px solid var(--line); position: relative; font-size: 17px; }
.fit-card li::before {
  position: absolute; left: 0; top: 15px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-label); font-size: 13px; font-weight: 600; line-height: 1;
}
.fit-yes li::before { content: "+"; color: var(--bg); background: var(--green); }
.fit-no li::before { content: "–"; color: var(--ink-soft); background: rgba(22, 21, 19, .07); }
.js .fit-card li { opacity: 0; transform: translateX(-12px); transition: opacity .6s var(--ease), transform .8s var(--ease-out); }
.js .fit-card.is-visible li { opacity: 1; transform: none; }
.fit-card.is-visible li:nth-child(1) { transition-delay: .25s; }
.fit-card.is-visible li:nth-child(2) { transition-delay: .35s; }
.fit-card.is-visible li:nth-child(3) { transition-delay: .45s; }

/* ================= FAQ ================= */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em;
  transition: color .3s, padding .5s var(--ease-out);
}
.faq summary:hover { color: var(--green); padding-left: 8px; }
.faq summary::-webkit-details-marker { display: none; }
.plus {
  width: 34px; height: 34px; position: relative; flex: none; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .35s, box-shadow .35s, transform .5s var(--ease-spring);
}
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink); transition: transform .45s var(--ease-out), background-color .3s; }
.plus::before { width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; }
.plus::after { width: 1.5px; height: 12px; margin: -6px 0 0 -.75px; }
.faq summary:hover .plus { box-shadow: inset 0 0 0 1px var(--green); }
.faq details[open]:not(.is-closing) .plus { background: var(--green); box-shadow: none; transform: rotate(180deg); }
.faq details[open]:not(.is-closing) .plus::before, .faq details[open]:not(.is-closing) .plus::after { background: var(--bg); }
.faq details[open]:not(.is-closing) .plus::after { transform: scaleY(0); }
.faq details[open]:not(.is-closing) summary { color: var(--green); }
.faq-body { overflow: hidden; }
.faq-body p { color: var(--ink-soft); padding-bottom: 26px; max-width: 560px; }

/* ================= CTA ================= */
.cta { padding: 120px 0; text-align: center; border-top: 1px solid var(--line); position: relative; overflow: clip; }
.cta::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 900px; height: 500px; translate: -50% -40%;
  background: radial-gradient(closest-side, rgba(63, 181, 122, .18), transparent); pointer-events: none;
}
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta .num { justify-content: center; }
.cta h2 { max-width: 820px; margin-bottom: 20px; }
.cta-sub { max-width: 520px; color: var(--ink-soft); font-size: 18px; margin-bottom: 40px; }
.calendly-wrap {
  width: 100%; max-width: 1000px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(22, 21, 19, .35);
}
.calendly-frame { display: block; width: 100%; min-width: 300px; height: 720px; border: 0; }
@media (max-width: 760px) { .calendly-frame { height: 1060px; } }
.cta-alt { margin-top: 24px; color: var(--ink-soft); }
.cta-alt a { color: var(--ink); border-bottom: 1px solid currentColor; }
.cta-alt a:hover { color: var(--green); }

/* ================= Footer + social card ================= */
.footer { border-top: 1px solid var(--line); padding: 48px 0; }
.footer-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.footer-info { display: flex; flex-direction: column; gap: 16px; }
.footer-text { max-width: 300px; font-size: 15px; color: var(--ink-soft); }
.footer-copy { color: var(--ink-soft); }

.social-card {
  position: relative; flex: none; width: 220px; height: 220px;
  border-radius: var(--radius); background: var(--ink); overflow: hidden;
}
.social-glow {
  position: absolute; right: -64px; bottom: -64px; width: 224px; height: 224px; border-radius: 50%;
  background: rgba(31, 122, 77, .28); filter: blur(40px); pointer-events: none;
}
.social-title {
  position: absolute; left: 20px; top: 20px;
  font-family: var(--font-label); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--bg);
}
.social-box {
  position: absolute; right: 0; bottom: 0; display: block;
  border-top-left-radius: var(--radius);
  transition: width .5s var(--ease), height .5s var(--ease);
}
.social-back { z-index: 1; width: 52%; height: 52%; background: rgba(227, 241, 233, .1); transition-delay: .6s; }
.box3 { z-index: 2; width: 40%; height: 40%; background: #2A2925; color: var(--bg); transition-delay: .4s; }
.box2 { z-index: 3; width: 28%; height: 28%; background: var(--green); color: var(--bg); transition-delay: .2s; }
.box1 { z-index: 4; width: 16%; height: 16%; background: var(--green-bright); color: var(--ink); }
.social-icon {
  position: absolute; left: 12px; top: 12px; display: grid; place-items: center;
  opacity: 0; transition: opacity .3s, transform .3s; transition-delay: inherit;
}
.social-box:hover .social-icon { transform: scale(1.12); }
.social-box:focus-visible { outline: 2px solid var(--green-bright); outline-offset: -4px; }

/* open state: on hover, on keyboard focus, and always on touch screens */
.social-card:hover .social-back, .social-card:focus-within .social-back { width: 100%; height: 100%; }
.social-card:hover .box3, .social-card:focus-within .box3 { width: 74%; height: 74%; }
.social-card:hover .box2, .social-card:focus-within .box2 { width: 52%; height: 52%; }
.social-card:hover .box1, .social-card:focus-within .box1 { width: 30%; height: 30%; }
.social-card:hover .social-icon, .social-card:focus-within .social-icon { opacity: 1; }
@media (hover: none) {
  .social-back { width: 100%; height: 100%; }
  .box3 { width: 74%; height: 74%; }
  .box2 { width: 52%; height: 52%; }
  .box1 { width: 30%; height: 30%; }
  .social-icon { opacity: 1; }
}

/* ================= Skip link + mobile sticky CTA ================= */
.skip-link {
  position: fixed; left: 16px; top: max(12px, env(safe-area-inset-top)); z-index: 300; padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 600; font-size: 14px;
  opacity: 0; pointer-events: none; clip-path: inset(50%); transform: translateY(-8px);
  transition: opacity .25s var(--ease-out), transform .3s var(--ease-out);
}
.skip-link:focus-visible { opacity: 1; pointer-events: auto; clip-path: none; transform: none; }
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 22px; border-radius: 999px; font-weight: 600; font-size: 16px;
    background: var(--ink); color: var(--bg);
    box-shadow: 0 18px 40px -14px rgba(22, 21, 19, .6), inset 0 0 0 1px rgba(255, 255, 255, .08);
    transform: translateY(140%); transition: transform .6s var(--ease-out), background-color .3s;
  }
  .sticky-cta.is-shown { transform: none; }
  .sticky-cta:active { background: var(--green); }
}

/* ================= Hero "Watch what we do" ================= */
.watch-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; transition: color .3s; }
.watch-ico {
  position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--ink); transition: background-color .35s, color .35s, box-shadow .35s, transform .5s var(--ease-spring);
}
.watch-ico svg { margin-left: 2px; }
.watch-ico::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--green);
  opacity: 0; animation: watchPing 2.6s var(--ease-out) infinite;
}
@keyframes watchPing { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.watch-link:hover { color: var(--green); }
.watch-link:hover .watch-ico { background: var(--green); color: var(--bg); box-shadow: inset 0 0 0 1.5px var(--green); transform: scale(1.08); }

/* ================= Intro video (horizontal) ================= */
.intro { padding: 40px 0 120px; }
.intro-head { margin-bottom: 40px; }
.intro-head h2 { font-size: clamp(32px, 4.2vw, 54px); max-width: 720px; }
.intro-frame {
  --s: 1; --r: 28px;
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden;
  background: var(--ink); color: var(--bg);
  transform: scale(var(--s)); transform-origin: 50% 0;
  box-shadow: 0 60px 120px -60px rgba(22, 21, 19, .55);
  will-change: transform;
}
.intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro-cover {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 18px;
  background: linear-gradient(180deg, rgba(22, 21, 19, 0) 40%, rgba(22, 21, 19, .55) 100%);
  transition: opacity .5s var(--ease), visibility .5s;
}
.intro-cover-bg {
  position: absolute; inset: 0; z-index: -1; display: grid; place-items: center;
  background:
    radial-gradient(60% 80% at 20% 0%, rgba(63, 181, 122, .45), transparent 60%),
    radial-gradient(50% 70% at 100% 100%, rgba(31, 122, 77, .5), transparent 60%),
    linear-gradient(160deg, #22211e, #121110);
  transition: opacity .6s var(--ease);
}
.intro-mark { width: 34%; fill: rgba(251, 250, 246, .06); animation: markDrift 12s ease-in-out infinite; }
@keyframes markDrift { 50% { transform: translateY(-10px) scale(1.03); } }
.intro-frame.has-video .intro-cover-bg { opacity: 0; }
.intro-play {
  position: relative; width: 96px; height: 96px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--bg); color: var(--ink);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .55);
  transition: transform .6s var(--ease-spring), background-color .3s, color .3s;
}
.intro-play svg { margin-left: 5px; }
.intro-play-ring { position: absolute; inset: -10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(251, 250, 246, .5); animation: watchPing 2.6s var(--ease-out) infinite; }
.intro-frame:hover .intro-play { transform: scale(1.1); background: var(--green-bright); }
.intro-hint { text-transform: uppercase; letter-spacing: .16em; font-weight: 600; font-size: 12px; color: rgba(251, 250, 246, .85); }
.intro-hint-off, .intro-frame.is-missing .intro-hint-on { display: none; }
.intro-frame.is-missing .intro-hint-off { display: inline; }
.intro-frame.is-missing .intro-play { opacity: .5; pointer-events: none; }
.intro-frame.is-playing .intro-cover { opacity: 0; visibility: hidden; }
@media (max-width: 560px) {
  .intro { padding: 16px 0 80px; }
  .intro-frame { --r: 18px; }
  .intro-play { width: 68px; height: 68px; }
  .intro-play svg { width: 22px; height: 22px; }
}

/* ================= Video player ================= */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; color: var(--bg); }
.lightbox[hidden] { display: none; }
.lb-backdrop {
  position: absolute; inset: 0; background: rgba(12, 12, 11, .82);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  opacity: 0; transition: opacity .5s var(--ease);
}
.lightbox.is-open .lb-backdrop { opacity: 1; }

.lb-stage {
  position: relative; display: grid; grid-template-columns: auto auto auto 300px; align-items: center; gap: 20px;
  max-height: 100%;
}
.lb-player {
  position: relative; height: min(84vh, 760px); aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden;
  background: #0d0d0c; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
  transform-origin: 0 0; will-change: transform;
}
.lb-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* story-style bars at the top: one per video */
.lb-bars { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 4; display: flex; gap: 4px; }
.lb-bars button {
  flex: 1; height: 14px; padding: 5px 0; border: 0; background: none; position: relative;
}
.lb-bars button::before, .lb-bars button span {
  content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 3px; border-radius: 2px;
}
.lb-bars button::before { background: rgba(255, 255, 255, .28); }
.lb-bars button span { background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }
.lb-bars button.is-done span { --p: 1; }

.lb-empty {
  position: absolute; inset: 0; display: none; place-items: center; text-align: center;
  background: radial-gradient(120% 80% at 50% 0%, rgba(63, 181, 122, .35), transparent 60%), linear-gradient(170deg, #22211e, #0d0d0c);
}
.lb-player.is-empty .lb-empty { display: grid; }
.lb-empty-inner { display: grid; justify-items: center; gap: 14px; font-family: var(--font-label); font-weight: 500; color: rgba(251, 250, 246, .75); }
.lb-empty-icon {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  animation: emptyPulse 2.4s ease-in-out infinite;
}
.lb-empty-icon svg { margin-left: 4px; }
@keyframes emptyPulse { 50% { transform: scale(1.08); box-shadow: inset 0 0 0 1px rgba(63, 181, 122, .6), 0 0 0 10px rgba(63, 181, 122, .08); } }

.lb-bigplay {
  position: absolute; left: 50%; top: 50%; z-index: 3; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--ink);
  background: rgba(251, 250, 246, .92);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5);
  opacity: 0; transform: scale(.7); pointer-events: none;
  transition: opacity .3s, transform .5s var(--ease-spring), background-color .3s;
}
.lb-bigplay svg { margin-left: 4px; }
.lb-player.is-paused:not(.is-empty) .lb-bigplay { opacity: 1; transform: scale(1); pointer-events: auto; }
.lb-bigplay:hover { background: var(--green-bright); }

.lb-controls {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 4;
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  border-radius: 16px; background: rgba(22, 21, 19, .55);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  transition: opacity .4s var(--ease), transform .5s var(--ease-out);
}
.lb-player.is-idle:not(.is-paused) .lb-controls { opacity: 0; transform: translateY(12px); }
.lb-player.is-empty .lb-controls { display: none; }
.lb-btn {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 10px;
  background: none; color: var(--bg); transition: background-color .2s, transform .3s var(--ease-spring);
}
.lb-btn:hover { background: rgba(255, 255, 255, .12); transform: scale(1.08); }
.lb-playpause .i-play, .lb-player.is-paused .lb-playpause .i-pause { display: none; }
.lb-player.is-paused .lb-playpause .i-play { display: block; }
.lb-mute .i-muted, .lb-player.is-muted .lb-mute .i-vol { display: none; }
.lb-player.is-muted .lb-mute .i-muted { display: block; }
.lb-scrub { position: relative; flex: 1; height: 24px; touch-action: none; }
.lb-scrub::before, .lb-scrub-buf, .lb-scrub-fill {
  content: ""; position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px;
  transition: height .2s, margin .2s;
}
.lb-scrub::before { right: 0; background: rgba(255, 255, 255, .18); }
.lb-scrub-buf { width: 0; background: rgba(255, 255, 255, .25); }
.lb-scrub-fill { width: 0; background: var(--green-bright); }
.lb-scrub-knob {
  position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); transform: scale(0); transition: transform .25s var(--ease-spring);
}
.lb-scrub:hover::before, .lb-scrub:hover .lb-scrub-buf, .lb-scrub:hover .lb-scrub-fill, .lb-scrub.is-drag::before, .lb-scrub.is-drag .lb-scrub-fill { height: 6px; margin-top: -3px; }
.lb-scrub:hover .lb-scrub-knob, .lb-scrub.is-drag .lb-scrub-knob, .lb-scrub:focus-visible .lb-scrub-knob { transform: scale(1); }
.lb-time { flex: none; min-width: 74px; text-align: right; font-size: 12px; color: rgba(251, 250, 246, .8); font-variant-numeric: tabular-nums; }

.lb-nav {
  width: 52px; height: 52px; display: grid; place-items: center; border: 0; border-radius: 50%;
  color: var(--bg); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  transition: background-color .3s, transform .4s var(--ease-spring), opacity .3s;
}
.lb-nav:hover { background: var(--green); transform: scale(1.08); }
.lb-nav:disabled { opacity: .25; pointer-events: none; }

.lb-info { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.lb-count { color: var(--green-bright); text-transform: uppercase; letter-spacing: .14em; font-weight: 600; }
.lb-title { font-size: 38px; }
.lb-tags { color: rgba(251, 250, 246, .6); }
.lb-blurb { color: rgba(251, 250, 246, .72); font-size: 15px; max-width: 280px; }
.lb-cta { margin-top: 10px; background: var(--bg); color: var(--ink); }
.lb-cta:hover { color: var(--bg); }
.lb-keys { margin-top: 18px; color: rgba(251, 250, 246, .45); font-size: 12px; }
.lb-keys kbd {
  font-family: inherit; font-size: 11px; padding: 2px 6px; border-radius: 5px;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.lb-info > * { opacity: 0; transform: translateX(20px); transition: opacity .5s var(--ease), transform .7s var(--ease-out); }
.lightbox.is-open .lb-info > * { opacity: 1; transform: none; }
.lightbox.is-open .lb-info > :nth-child(2) { transition-delay: .06s; }
.lightbox.is-open .lb-info > :nth-child(3) { transition-delay: .12s; }
.lightbox.is-open .lb-info > :nth-child(4) { transition-delay: .18s; }
.lightbox.is-open .lb-info > :nth-child(5) { transition-delay: .24s; }
.lightbox.is-open .lb-info > :nth-child(6) { transition-delay: .3s; }
.lb-info.is-swap > * { opacity: 0; transform: translateY(10px); transition-duration: .2s; transition-delay: 0s !important; }
.lb-nav, .lb-close { opacity: 0; transition: opacity .4s var(--ease) .15s, background-color .3s, transform .4s var(--ease-spring); }
.lightbox.is-open .lb-nav, .lightbox.is-open .lb-close { opacity: 1; }
.lightbox.is-open .lb-nav:disabled { opacity: .25; }

.lb-close {
  position: absolute; top: 20px; right: 24px; z-index: 5; width: 48px; height: 48px; display: grid; place-items: center;
  border: 0; border-radius: 50%; color: var(--bg);
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.lb-close:hover { background: rgba(255, 255, 255, .18); transform: rotate(90deg); }

@media (max-width: 1100px) {
  .lb-stage { grid-template-columns: auto auto auto; }
  .lb-info { display: none; }
}
@media (max-width: 640px) {
  .lightbox { padding: 0; }
  .lb-stage { grid-template-columns: 1fr; width: 100%; height: 100%; }
  .lb-player { height: 100%; width: 100%; aspect-ratio: auto; border-radius: 0; }
  .lb-nav { position: absolute; top: 50%; z-index: 5; width: 44px; height: 44px; margin-top: -22px; background: rgba(22, 21, 19, .4); }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-close { top: 36px; right: 14px; background: rgba(22, 21, 19, .5); }
  .lb-bars { top: max(14px, env(safe-area-inset-top)); }
}

/* ================= Reveal on scroll ================= */
.js .reveal {
  opacity: 0; transform: translateY(40px) scale(.98); filter: blur(6px);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease-out), filter .9s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; filter: none; }
.js .work-card.reveal { transform: translateY(70px) rotate(2deg); }
.js .work-card.reveal.is-visible { transform: none; }
.js .service.reveal { transform: translateX(40px); }
.js .service.reveal.is-visible { transform: none; }
.js .fit-no.reveal { transform: translateY(40px) rotate(1.5deg); }
.js .fit-yes.reveal { transform: translateY(40px) rotate(-1.5deg); }
.js .fit-card.reveal.is-visible { transform: none; }
.js .fit-card.reveal.is-visible:hover { transform: translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .load, .js .split .wi, .js .fit-card li, .js .phone.load { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .phone, .hero-glow, .phone-screen::before, .ps-bar i, .ps-side i, .marquee-set i, .tag-dot::after, .scroll-hint-line::after, .lb-empty-icon, .watch-ico::after, .intro-play-ring, .intro-mark { animation: none !important; }
  .social-box, .social-icon { transition: none; }
}

/* ================= Responsive ================= */
@media (max-width: 1024px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps-track { display: none; }
  .step, .step:first-child { padding: 28px 24px 28px 0; border-right: 0; border-bottom: 1px solid rgba(251, 250, 246, 0.14); }
  .step-dot { display: none; }
}
@media (max-width: 860px) {
  .hero-grid, .services-grid, .faq-grid, .fit-grid { grid-template-columns: 1fr; }
  .services-grid .section-head { position: static; margin-bottom: 40px; }
  .faq-grid { gap: 0; }
  .hero-reel { height: 440px; max-width: 420px; }
  .scroll-hint { display: none; }
}
@media (max-width: 640px) {
  .header-inner { grid-template-columns: auto 1fr; }
  .nimbus-nav { justify-self: end; }
  .header-spacer { display: none; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-info { align-items: center; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero { padding: 32px 0 64px; }
  .section { padding: 80px 0; }
  .work-grid { gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .fit-card { padding: 24px; }
  .faq summary { font-size: 19px; }
  .hero-reel { height: 360px; }
  .service { grid-template-columns: 32px 1fr; }
  .service-arrow { display: none; }
}
@media (max-width: 480px) {
  .site-header .logo-word { display: none; }
}

/* =====================================================================
   PREMIUM LAYER (shared by every page)
   ===================================================================== */

/* serif accents inside big headings: <em>word</em> */
h1 em, h2 em, .giant em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  letter-spacing: -0.02em; color: var(--green); font-size: 1.06em;
}
.section-dark h1 em, .section-dark h2 em, .hscroll h2 em { color: var(--green-bright); }

/* ---------- film grain ---------- */
body::after {
  content: ""; position: fixed; inset: -100%; z-index: 9000; pointer-events: none; opacity: .05;
  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");
  animation: grain .9s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-2%, 6%); } 80% { transform: translate(5%, -2%); } 100% { transform: translate(0, 0); }
}

/* ---------- preloader + page-transition curtain ---------- */
html.is-preload::before, html.is-arrive::before {
  content: ""; position: fixed; inset: 0; z-index: 10000; background: var(--ink);
  animation: coverFailsafe .01s 4s forwards; /* never leave the page blank if JS fails */
}
@keyframes coverFailsafe { to { opacity: 0; visibility: hidden; } }
.curtain { position: fixed; inset: 0; z-index: 10001; pointer-events: none; }
.curtain.is-cover, .curtain.is-in { pointer-events: auto; }
.curtain-panel { position: absolute; inset: 0; transform: translateY(100%); }
.curtain-green { background: var(--green); }
.curtain-ink { background: var(--ink); }
.curtain.is-cover .curtain-panel { transform: none; }
.curtain.is-in .curtain-panel { transform: none; transition: transform .75s var(--ease-io); }
.curtain.is-in .curtain-ink { transition-delay: .09s; }
.curtain.is-out .curtain-panel { transform: translateY(-100%); transition: transform 1s var(--ease-io); }
.curtain.is-out .curtain-green { transition-delay: .12s; }
.curtain-inner {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; align-content: center; gap: 22px;
  color: var(--bg); opacity: 0; transition: opacity .35s var(--ease);
}
.curtain.is-cover .curtain-inner, .curtain.is-in .curtain-inner { opacity: 1; }
.curtain.is-in .curtain-inner { transition-delay: .45s; }
.curtain.is-out .curtain-inner { opacity: 0; transform: translateY(-40px); transition: opacity .3s, transform .6s var(--ease-io); }
.curtain-logo { width: 120px; height: 66px; }
.curtain-logo path { fill: transparent; stroke: var(--bg); stroke-width: 6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawLogo 1.1s var(--ease-io) forwards, fillLogo .5s .9s forwards; }
.curtain-logo path:nth-child(2) { animation-delay: .12s, 1s; }
.curtain-logo path:nth-child(3) { animation-delay: .24s, 1.1s; }
@keyframes drawLogo { to { stroke-dashoffset: 0; } }
@keyframes fillLogo { to { fill: var(--bg); } }
.curtain-word { font-family: var(--font-label); font-weight: 600; font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: rgba(251, 250, 246, .6); padding-left: .4em; }
.curtain-count {
  position: absolute; right: 32px; bottom: 18px; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(64px, 11vw, 160px); line-height: 1; letter-spacing: -.04em; color: var(--bg); font-variant-numeric: tabular-nums;
}
.curtain-count::after { content: "%"; font-size: .3em; color: var(--green-bright); margin-left: 4px; vertical-align: top; }
.curtain-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--green-bright); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- letter-by-letter headlines ---------- */
.js .split-chars .wi {
  transform: translateY(115%) rotate(10deg); filter: blur(6px); opacity: 0;
  transition: transform 1.1s var(--ease-out), filter .9s var(--ease-out), opacity .6s var(--ease);
  transition-delay: calc(120ms + var(--i, 0) * 20ms);
}
.js .split-chars.is-visible .wi { transform: none; filter: none; opacity: 1; }

/* ---------- text that lights up as you scroll ---------- */
.scrub { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4.4vw, 62px); line-height: 1.12; letter-spacing: -.03em; text-wrap: pretty; }
.scrub em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--green); }
.js .scrub .sw { opacity: .13; transition: opacity .35s var(--ease); }
.js .scrub .sw.on { opacity: 1; }
.section-dark .scrub em { color: var(--green-bright); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 72px 0 110px; overflow: clip; }
.page-hero .hero-bg { inset: -80px 0 0; }
.crumbs { display: flex; gap: 10px; align-items: center; color: var(--ink-soft); margin-bottom: 30px; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600; }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--green); }
.crumbs span[aria-hidden] { color: var(--green); }
.page-hero h1 { font-size: clamp(50px, 8.4vw, 124px); line-height: .96; letter-spacing: -.045em; max-width: 1050px; }
.page-hero .lead { font-size: 20px; max-width: 640px; margin-top: 30px; }
.page-hero .hero-cta { margin-top: 40px; }
.hero-mark { position: absolute; right: -4%; top: 50%; width: min(46vw, 640px); translate: 0 -50%; z-index: -1; pointer-events: none; }
.hero-mark path { fill: none; stroke: rgba(31, 122, 77, .22); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-loaded .hero-mark path { animation: drawLogo 2.4s var(--ease-io) .3s forwards; }
.is-loaded .hero-mark path:nth-child(2) { animation-delay: .5s; }
.is-loaded .hero-mark path:nth-child(3) { animation-delay: .7s; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.chip-row li { list-style: none; }
.chip-stat { padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(255, 255, 255, .5); font-size: 14px; }
.chip-stat strong { color: var(--green); font-weight: 600; }
ul.chip-row { padding: 0; margin-bottom: 0; }

/* ---------- grids + spotlight cards ---------- */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.spot {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden; border-radius: 22px; padding: 34px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .7s var(--ease-out), box-shadow .5s var(--ease);
}
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(63, 181, 122, .2), transparent 50%);
}
.spot::after { /* spotlight border */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(31, 122, 77, .9), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.spot:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px transparent, 0 40px 70px -40px rgba(31, 122, 77, .45); }
.spot:hover::before, .spot:hover::after { opacity: 1; }
.spot-num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--green-tint); color: var(--green); font-weight: 600; margin-bottom: 26px; transition: transform .6s var(--ease-spring), background-color .3s, color .3s; }
.spot:hover .spot-num { transform: rotate(-8deg) scale(1.1); background: var(--green); color: var(--bg); }
.spot h3 { font-size: 26px; margin-bottom: 12px; }
.spot p { color: var(--ink-soft); }
.section-dark .spot { background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.section-dark .spot p { color: rgba(251, 250, 246, .62); }
.section-dark .spot-num { background: rgba(63, 181, 122, .14); color: var(--green-bright); }

/* ---------- horizontal pinned scroll ---------- */
.hscroll { position: relative; background: var(--ink); color: var(--bg); }
.hscroll-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 56px; padding-top: 40px; }
.hscroll-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.hscroll-head h2 { font-size: clamp(36px, 4.8vw, 64px); max-width: 640px; }
.hscroll-head p { max-width: 340px; color: rgba(251, 250, 246, .6); }
.hscroll .num { color: var(--green-bright); }
.hscroll-track { display: flex; gap: 22px; width: max-content; padding: 0 max(24px, calc((100vw - var(--container)) / 2 + 24px)); will-change: transform; }
.hs-card {
  position: relative; flex: none; width: min(440px, 82vw); min-height: 460px; border-radius: 26px; padding: 36px;
  display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  transition: box-shadow .5s, transform .7s var(--ease-out);
}
.hs-card:hover { box-shadow: inset 0 0 0 1px rgba(63, 181, 122, .5), 0 40px 80px -40px rgba(63, 181, 122, .4); transform: translateY(-6px); }
.hs-big { font-family: var(--font-display); font-weight: 800; font-size: 110px; line-height: .8; letter-spacing: -.05em; color: var(--green-bright); opacity: .95; }
.hs-card h3 { font-size: 32px; margin: 34px 0 14px; }
.hs-card > p { color: rgba(251, 250, 246, .66); }
.hs-card ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.hs-card li { position: relative; padding-left: 22px; font-size: 15px; color: rgba(251, 250, 246, .85); }
.hs-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); }
.hs-time { margin-top: auto; padding-top: 24px; display: flex; justify-content: space-between; color: rgba(251, 250, 246, .5); border-top: 1px solid rgba(255, 255, 255, .08); }
.hs-time strong { color: var(--bg); font-weight: 600; }
.hs-card.hs-end { background: var(--green); box-shadow: none; justify-content: space-between; }
.hs-card.hs-end h3 { font-size: 44px; margin: 0; }
.hs-card.hs-end .btn { align-self: flex-start; background: var(--bg); color: var(--ink); }
.hs-card.hs-end .btn:hover { color: var(--bg); }
.hs-card.hs-end .btn .btn-fill { background: var(--ink); }
.hscroll-progress { height: 2px; margin: 0 max(24px, calc((100vw - var(--container)) / 2 + 24px)); background: rgba(255, 255, 255, .1); border-radius: 2px; overflow: hidden; }
.hscroll-progress span { display: block; height: 100%; background: var(--green-bright); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (max-width: 860px) {
  .hscroll-sticky { position: static; height: auto; padding: 90px 0; gap: 36px; }
  .hscroll-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hscroll-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: none; }
  .hscroll-track::-webkit-scrollbar { display: none; }
  .hs-card { scroll-snap-align: center; min-height: 420px; }
  .hscroll-progress { display: none; }
}

/* ---------- stacking cards ---------- */
.stack { display: grid; gap: 26px; }
.stack-card {
  position: sticky; top: calc(110px + var(--i, 0) * 22px);
  display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start;
  min-height: 330px; padding: 48px; border-radius: 30px;
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--line), 0 -30px 60px -50px rgba(22, 21, 19, .5);
  transform-origin: 50% 0; will-change: transform;
}
.stack-card:nth-child(2) { background: var(--green-tint); }
.stack-card:nth-child(3) { background: var(--ink); color: var(--bg); }
.stack-card:nth-child(3) p, .stack-card:nth-child(3) li { color: rgba(251, 250, 246, .7); }
.stack-card:nth-child(4) { background: var(--green); color: var(--bg); }
.stack-card:nth-child(4) p, .stack-card:nth-child(4) li { color: rgba(251, 250, 246, .85); }
.stack-tag { font-family: var(--font-display); font-weight: 800; font-size: 76px; line-height: .85; letter-spacing: -.05em; }
.stack-tag small { display: block; font-family: var(--font-label); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; opacity: .6; }
.stack-card h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 14px; }
.stack-card p { color: var(--ink-soft); font-size: 17px; max-width: 560px; }
.stack-card ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stack-card li { padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; font-size: 14px; font-weight: 500; color: inherit; opacity: .85; }
@media (max-width: 760px) {
  .stack-card { grid-template-columns: 1fr; gap: 18px; padding: 30px; min-height: 0; top: calc(90px + var(--i, 0) * 14px); }
  .stack-tag { font-size: 54px; }
}

/* ---------- you vs us ---------- */
.versus { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; }
.vs-card { border-radius: 26px; padding: 40px; }
.vs-you { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.vs-us { background: var(--ink); color: var(--bg); position: relative; overflow: hidden; }
.vs-us::before { content: ""; position: absolute; width: 500px; height: 500px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(63, 181, 122, .3), transparent 65%); }
.vs-card h3 { font-size: 30px; margin: 10px 0 24px; position: relative; }
.vs-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; position: relative; }
.vs-card li { display: flex; gap: 14px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); font-size: 17px; }
.vs-us li { border-color: rgba(255, 255, 255, .1); }
.vs-card li svg { flex: none; width: 22px; height: 22px; }
.vs-card li path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--ease-out); }
.vs-card.is-visible li path, html:not(.js) .vs-card li path { stroke-dashoffset: 0; }
.vs-card li:nth-child(2) path { transition-delay: .1s; } .vs-card li:nth-child(3) path { transition-delay: .2s; }
.vs-card li:nth-child(4) path { transition-delay: .3s; } .vs-card li:nth-child(5) path { transition-delay: .4s; }
.vs-card li:nth-child(6) path { transition-delay: .5s; } .vs-card li:nth-child(7) path { transition-delay: .6s; }
.vs-card li:nth-child(8) path { transition-delay: .7s; }
.vs-label { text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--green); }
.vs-us .vs-label { color: var(--green-bright); }
.vs-time { margin-top: 26px; font-family: var(--font-display); font-weight: 800; font-size: 44px; letter-spacing: -.03em; position: relative; }
.vs-time small { font-family: var(--font-label); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .55; display: block; }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 40px 28px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 6vw, 84px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat strong i { font-style: normal; color: var(--green); }
.stat span { color: var(--ink-soft); display: block; margin-top: 10px; }

/* ---------- roles (careers) ---------- */
.roles { border-top: 1px solid var(--line); }
.role { border-bottom: 1px solid var(--line); }
.role summary {
  list-style: none; display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; padding: 30px 0;
  transition: padding .5s var(--ease-out);
}
.role summary::-webkit-details-marker { display: none; }
.role summary:hover { padding-left: 12px; }
.role h3 { font-size: clamp(26px, 3vw, 38px); transition: color .3s; }
.role summary:hover h3, .role[open] h3 { color: var(--green); }
.role-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.role-tags span { padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.role .faq-body { padding: 0 0 34px; }
.role-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 8px; }
.role-cols h4 { font-family: var(--font-label); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--green); margin: 0 0 12px; }
.role-cols ul { margin: 0; padding-left: 18px; color: var(--ink-soft); display: grid; gap: 6px; }
.role .btn { margin-top: 24px; }
@media (max-width: 760px) {
  .role summary { grid-template-columns: 1fr auto; }
  .role-tags { grid-column: 1 / -1; grid-row: 2; }
  .role-cols { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- steps list (numbered timeline) ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: t; }
.timeline li { position: relative; padding-top: 34px; border-top: 1px solid var(--line); }
.timeline li::before { counter-increment: t; content: "0" counter(t); position: absolute; top: -12px; left: 0; padding-right: 12px; background: var(--bg); font-family: var(--font-label); font-weight: 600; color: var(--green); font-size: 14px; }
.section-tint .timeline li::before { background: var(--green-tint); }
.timeline h3 { font-size: 24px; margin-bottom: 10px; }
.timeline p { color: var(--ink-soft); }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { position: relative; display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-label); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); transition: color .3s; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 0; border-radius: 14px;
  padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--line); outline: none; transition: box-shadow .3s, background-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23161513' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: inset 0 0 0 2px var(--green), 0 0 0 5px rgba(63, 181, 122, .15); }
.field:focus-within label { color: var(--green); }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form-note { color: var(--ink-soft); font-size: 14px; max-width: 420px; }
.form-status { grid-column: 1 / -1; display: none; padding: 16px 18px; border-radius: 14px; background: var(--green-tint); color: var(--green); font-weight: 500; }
.form-status.is-shown { display: block; animation: popIn .6s var(--ease-spring); }
@keyframes popIn { from { transform: scale(.95); opacity: 0; } }
.form-card { background: var(--bg); border-radius: 28px; padding: 44px; box-shadow: inset 0 0 0 1px var(--line), 0 50px 100px -60px rgba(22, 21, 19, .35); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } .form-card { padding: 26px; } }

/* ---------- contact cards ---------- */
.contact-card { display: flex; flex-direction: column; gap: 12px; min-height: 260px; }
.contact-card .spot-num { margin-bottom: 8px; }
.contact-card a.big { margin-top: auto; font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -.02em; display: inline-flex; gap: 10px; align-items: center; transition: color .3s; word-break: break-word; }
.contact-card a.big:hover { color: var(--green); }
.contact-card a.big .arrow { transition: transform .4s var(--ease-spring); }
.contact-card a.big:hover .arrow { transform: translate(4px, -4px); }

/* ---------- work filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter {
  padding: 10px 18px; border: 0; border-radius: 999px; background: none; font: inherit; font-weight: 600; font-size: 14px; color: var(--ink-soft);
  box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, color .3s, box-shadow .3s, transform .4s var(--ease-spring);
}
.filter:hover { color: var(--ink); transform: translateY(-2px); }
.filter.is-active { background: var(--ink); color: var(--bg); box-shadow: none; }
.work-card.is-out { display: none; }
.work-card.is-in { animation: cardIn .7s var(--ease-out) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }

/* ---------- legal prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 17px; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 20px; display: grid; gap: 8px; }
.prose li ul { margin-top: 8px; }
.prose a { color: var(--ink); border-bottom: 1px solid currentColor; }
.prose a:hover { color: var(--green); }
.legal-meta { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: var(--green-tint); color: var(--green); margin-bottom: 40px; font-weight: 600; }

/* ---------- big closing CTA band ---------- */
.cta-band { position: relative; padding: 150px 0; text-align: center; overflow: clip; background: var(--ink); color: var(--bg); }
.cta-band::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 1100px; height: 700px; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(63, 181, 122, .35), transparent); animation: glowBreath 8s ease-in-out infinite;
}
.cta-band .container { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-band .num { justify-content: center; color: var(--green-bright); }
.giant { font-family: var(--font-display); font-weight: 800; font-size: clamp(54px, 9.5vw, 150px); line-height: .94; letter-spacing: -.05em; max-width: 1100px; margin: 0; }
.cta-band .giant em { color: var(--green-bright); }
.cta-band p.sub { color: rgba(251, 250, 246, .65); font-size: 19px; max-width: 520px; margin: 28px 0 44px; }
.btn-xl { padding: 22px 36px; font-size: 18px; }
.cta-band .btn { background: var(--bg); color: var(--ink); }
.cta-band .btn:hover { color: var(--bg); }

/* ---------- footer (multi-column + giant wordmark) ---------- */
.footer { padding: 72px 0 0; overflow: clip; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 48px; align-items: start; }
.footer-col h4 { font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { position: relative; font-weight: 500; transition: color .3s; }
.footer-col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.footer-col a:hover { color: var(--green); }
.footer-col a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer-giant {
  display: flex; justify-content: center; margin-top: 64px; user-select: none; white-space: nowrap;
  font-family: var(--font-display); font-weight: 800; font-size: 19.5vw; line-height: .78; letter-spacing: -.055em;
  color: var(--ink); padding: 0 1vw;
}
.footer-giant span { display: inline-block; transition: transform 1.2s var(--ease-out), color .4s; transition-delay: calc(var(--i) * 45ms); }
.js .footer-giant span { transform: translateY(60%); }
.js .footer-giant.is-visible span { transform: none; }
.footer-giant span:hover { color: var(--green); transition-delay: 0s; }
.footer-giant .sp { width: .22em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 24px 26px; border-top: 1px solid var(--line); color: var(--ink-soft); position: relative; background: var(--bg); }
.footer-bottom a:hover { color: var(--green); }
.footer-bottom nav { display: flex; gap: 20px; }
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-info { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr 1fr; text-align: left; }
  .footer-top .social-card { grid-column: 1 / -1; justify-self: center; }
  .footer-info { align-items: flex-start; }
}

/* ---------- thank-you + 404 ---------- */
.center-page { min-height: calc(100vh - 80px); display: grid; place-items: center; text-align: center; padding: 60px 0 100px; position: relative; overflow: clip; }
.center-page .lead { margin: 26px auto 0; }
.center-page .hero-cta { justify-content: center; }
.check-big { width: 112px; height: 112px; margin: 0 auto 34px; border-radius: 50%; background: var(--green); display: grid; place-items: center; box-shadow: 0 0 0 14px rgba(63, 181, 122, .15), 0 30px 60px -20px rgba(31, 122, 77, .6); animation: popIn .9s var(--ease-spring) .5s both; }
.check-big path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawLogo .7s var(--ease-out) 1s forwards; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; }
.confetti i { position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 2px; opacity: .9; animation: fall linear forwards; }
@keyframes fall { to { transform: translate3d(var(--dx), 110vh, 0) rotate(var(--rot)); } }
.next-steps { margin: 64px auto 0; max-width: 980px; text-align: left; }
.big404 { font-family: var(--font-display); font-weight: 800; font-size: clamp(140px, 30vw, 380px); line-height: .8; letter-spacing: -.07em; display: flex; justify-content: center; }
.big404 span { display: inline-block; animation: float404 5s ease-in-out infinite; }
.big404 span:nth-child(2) { color: var(--green); animation-delay: -1.6s; }
.big404 span:nth-child(3) { animation-delay: -3.2s; }
@keyframes float404 { 50% { transform: translateY(-18px) rotate(-3deg); } }
.link-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.link-grid a { padding: 12px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; transition: background-color .3s, color .3s, transform .4s var(--ease-spring); }
.link-grid a:hover { background: var(--ink); color: var(--bg); transform: translateY(-3px); }

/* ---------- inline "learn more" link ---------- */
.more-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 48px; font-weight: 600; color: var(--green-bright); }
.more-link .arrow { transition: transform .4s var(--ease-spring); }
.more-link:hover .arrow { transform: translateX(6px); }
.section:not(.section-dark) .more-link { color: var(--green); }

/* ---------- responsive for premium components ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat:nth-child(3) { padding-left: 0; }
}
@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-4, .versus, .timeline { grid-template-columns: 1fr; }
  .page-hero { padding: 40px 0 80px; }
  .hero-mark { opacity: .5; width: 80vw; right: -30%; }
  .vs-card { padding: 28px; }
  .cta-band { padding: 110px 0; }
  .stat { padding: 28px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  body::after, .cta-band::before, .big404 span { animation: none !important; }
  .js .split-chars .wi, .js .footer-giant span { transform: none !important; filter: none !important; opacity: 1 !important; transition: none !important; }
  .js .scrub .sw { opacity: 1 !important; }
  .hero-mark path, .vs-card li path, .check-big path { stroke-dashoffset: 0 !important; animation: none !important; }
  .curtain { display: none !important; }
}

/* ---------- header: no feather. Only the phone status-bar strip (notch / safe area) is covered,
   with a hard edge and no blur or mask, so nothing shows behind the clock and nothing flickers on iOS. ---------- */
.site-header::before {
  content: ""; position: absolute; left: 0; right: 0; top: -60px; height: calc(60px + env(safe-area-inset-top, 0px));
  z-index: -1; pointer-events: none; background: var(--bg); opacity: 0;
  transition: opacity .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-dark::before { background: var(--ink); }
/* logo keeps a small glass chip once content scrolls under it (same look as the nav pill) */
.site-header .logo { position: relative; isolation: isolate; justify-self: start; }
.site-header .logo::before {
  content: ""; position: absolute; inset: -8px -14px; z-index: -1; border-radius: 999px; pointer-events: none; opacity: 0;
  background: rgba(251, 250, 246, .55);
  -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .7), inset 0 0 0 1px rgba(255, 255, 255, .2), 0 12px 32px -14px rgba(22, 21, 19, .5), 0 2px 6px rgba(22, 21, 19, .1);
  transition: opacity .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled .logo::before { opacity: 1; }
.site-header.is-dark .logo::before { background: rgba(22, 21, 19, .4); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .34), inset 0 0 0 1px rgba(255, 255, 255, .12), 0 12px 32px -14px rgba(0, 0, 0, .5); }
@media (max-width: 640px) { .site-header .logo::before { inset: 0 -6px; } }

/* =====================================================================
   WORK WITH US (hub)
   ===================================================================== */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.path {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: 640px; padding: 48px; border-radius: 34px;
  background: var(--ink); color: var(--bg);
  transition: transform .8s var(--ease-out), box-shadow .6s var(--ease);
}
.path-join { background: var(--green); }
.path::before { /* light that follows the mouse */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(63, 181, 122, .35), transparent 55%);
}
.path-join::before { background: radial-gradient(520px circle at var(--mx) var(--my), rgba(251, 250, 246, .22), transparent 55%); }
.path:hover { transform: translateY(-8px); box-shadow: 0 50px 90px -50px rgba(22, 21, 19, .7); }
.path:hover::before { opacity: 1; }
.path-word {
  position: absolute; right: -.04em; bottom: -.2em; z-index: -1; pointer-events: none;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(160px, 19vw, 290px); line-height: .8; letter-spacing: -.06em;
  color: rgba(251, 250, 246, .05); transition: transform 1.4s var(--ease-out), color .6s;
}
.path-join .path-word { color: rgba(22, 21, 19, .1); }
.path:hover .path-word { transform: translateX(-34px); color: rgba(251, 250, 246, .08); }
.path-join:hover .path-word { color: rgba(22, 21, 19, .14); }
.path-kicker { text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--green-bright); }
.path-join .path-kicker { color: rgba(251, 250, 246, .8); }
.path h2 { font-size: clamp(40px, 4.6vw, 70px); line-height: .98; margin: 22px 0 18px; }
.path h2 em { color: var(--green-bright); }
.path-join h2 em { color: var(--ink); }
.path-lead { font-size: 18px; max-width: 440px; color: rgba(251, 250, 246, .72); }
.path-join .path-lead { color: rgba(251, 250, 246, .88); }
.path-btn { margin-top: 30px; background: var(--bg); color: var(--ink); }
.path-btn:hover { color: var(--bg); }
.path-hire .path-btn .btn-fill { background: var(--green); }
.path-join .path-btn .btn-fill { background: var(--ink); }
.path-links { list-style: none; padding: 0; margin: auto 0 0; width: 100%; padding-top: 44px; }
.path-links li { border-top: 1px solid rgba(251, 250, 246, .16); }
.path-links li:last-child { border-bottom: 1px solid rgba(251, 250, 246, .16); }
.path-links a {
  display: flex; justify-content: space-between; align-items: center; padding: 17px 0;
  font-weight: 600; font-size: 18px; transition: padding .5s var(--ease-out), color .3s;
}
.path-links a:hover { padding-left: 12px; }
.path-hire .path-links a:hover { color: var(--green-bright); }
.path-arrow { display: inline-block; transition: transform .5s var(--ease-spring); }
.path-links a:hover .path-arrow { transform: translateX(6px) rotate(-45deg); }

.dir-card { display: flex; flex-direction: column; min-height: 230px; }
.dir-card h3 { font-size: 24px; margin: 52px 0 8px; }
.dir-card p { font-size: 15px; }
.dir-arrow {
  position: absolute; top: 30px; right: 30px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-size: 18px; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .35s, color .35s, transform .6s var(--ease-spring), box-shadow .35s;
}
.dir-card:hover .dir-arrow { background: var(--green); color: var(--bg); box-shadow: none; transform: rotate(45deg) scale(1.08); }
.dir-card:hover h3 { color: var(--green); }
.dir-card h3 { transition: color .3s; }

.hub-strip {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  padding-bottom: 36px; border-bottom: 1px solid var(--line);
}
.hub-strip h2 { font-size: clamp(36px, 4.6vw, 62px); }
.hub-mail {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.6vw, 52px); letter-spacing: -.03em;
  display: inline-flex; align-items: center; gap: 14px; transition: color .3s;
}
.hub-mail:hover { color: var(--green); }
.hub-mail .arrow { display: inline-block; transition: transform .5s var(--ease-spring); }
.hub-mail:hover .arrow { transform: translate(6px, -6px); }

@media (max-width: 860px) {
  .paths { grid-template-columns: 1fr; }
  .path { min-height: 0; padding: 34px 28px; border-radius: 26px; }
  /* longer nav: icons only below tablet width */
  .nimbus-item { padding: 0 13px; }
  .nimbus-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- mobile header: one clean row, safe-area aware ---------- */
@media (max-width: 640px) {
  html { scroll-padding-top: calc(64px + env(safe-area-inset-top)); }
  .site-header { height: calc(64px + env(safe-area-inset-top)); }
  .header-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .site-header .logo { flex-shrink: 0; height: 40px; }
  .nimbus-nav { flex-shrink: 0; }
  .nimbus-item { height: 40px; padding: 0 11px; }
}


/* ---------- above the fold paints immediately (SEO / LCP): hero text is visible on first paint,
   the entrance is a short slide only, never a fade from invisible ---------- */
.js .load:not(.phone) { opacity: 1; filter: none; }
.js:not(.is-loaded) .load:not(.phone) { transform: translateY(14px); }
.js .load-words .w { overflow: visible; }
.js .load-words:not(.is-visible) .wi { opacity: 1; filter: none; transform: translateY(.18em); }

/* screen-reader / crawler label that keeps the visual design unchanged */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* footer column titles are now h2 (were h4): same look */
.footer-col h2 { font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: .14em; line-height: normal; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 18px; text-wrap: wrap; }
