/* =========================================================
   spark — soft-blue, bold, kinetic one-pager
   One cohesive colour family, hard contrast between sections.
   ========================================================= */

/* ---------- Self-hosted fonts (variable, OFL licensed) ----------
   Hebrew and Latin are split by unicode-range so a Hebrew-only page
   never downloads the Latin file it doesn't need.                */
@font-face {
  font-family: 'Rubik'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url('../assets/fonts/rubik-hebrew.woff2') format('woff2');
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Rubik'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url('../assets/fonts/rubik-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Assistant'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('../assets/fonts/assistant-hebrew.woff2') format('woff2');
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Assistant'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('../assets/fonts/assistant-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url('../assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+FEFF, U+FFFD;
}

/* ---------- Global palette (single blue family) ---------- */
:root {
  --ink:        #070C1C;  /* deepest navy-black */
  --navy:       #0B1226;
  --navy-2:     #101833;
  --navy-3:     #172040;

  --blue:       #4C6FFF;  /* primary blue */
  --blue-soft:  #8AA6FF;  /* soft blue (accent on dark) */
  --blue-pale:  #C3D2FF;  /* pale blue */
  --blue-deep:  #2B47D6;  /* deep blue (accent on light) */

  --ice:        #EDF1FA;  /* light section background */
  --ice-2:      #DEE6F6;
  --ice-3:      #D2DCF0;
  --white:      #FBFCFF;

  --font-display: 'Rubik', 'Assistant', system-ui, sans-serif;
  --font-body: 'Assistant', 'Rubik', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius: 20px;
  --radius-lg: 30px;
  --panel-r: clamp(30px, 4vw, 64px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.3, 1);
}

/* ---------- Per-section themes ---------- */
[data-theme="ink"] {
  --bg: #070C1C; --text: #EDF1FA; --muted: #8F9CC0; --faint: #5C6788;
  --accent: var(--blue-soft); --accent-2: var(--blue);
  --surface: #101833; --surface-2: #172040;
  --line: rgba(180,200,255,0.14); --line-strong: rgba(180,200,255,0.30);
  --btn-on-accent: #070C1C;
}
[data-theme="ice"] {
  --bg: #EDF1FA; --text: #070C1C; --muted: #4F5A75; --faint: #8892AC;
  --accent: var(--blue-deep); --accent-2: var(--blue);
  --surface: #DEE6F6; --surface-2: #D2DCF0;
  --line: rgba(7,12,28,0.14); --line-strong: rgba(7,12,28,0.26);
  --btn-on-accent: #FBFCFF;
}
[data-theme="blue"] {
  --bg: #4C6FFF; --text: #050B22; --muted: rgba(5,11,34,0.72); --faint: rgba(5,11,34,0.5);
  --accent: #FFFFFF; --accent-2: #FFFFFF;
  --surface: #6483FF; --surface-2: #7B96FF;
  --line: rgba(5,11,34,0.22); --line-strong: rgba(5,11,34,0.4);
  --btn-on-accent: #0A1330;
}
/* A lifted navy — dark like the hero, but a clear tonal step away from it
   so the sections still read as separate blocks. */
[data-theme="night"] {
  --bg: #0B1226; --text: #EDF1FA; --muted: #9AA7CC; --faint: #66739A;
  --accent: var(--blue-soft); --accent-2: var(--blue);
  --surface: #131C38; --surface-2: #1B2648;
  --line: rgba(180,200,255,0.16); --line-strong: rgba(180,200,255,0.32);
  --btn-on-accent: #070C1C;
}
[data-theme="deep"] {
  --bg: #2B47D6; --text: #EDF1FA; --muted: rgba(237,241,250,0.78); --faint: rgba(237,241,250,0.55);
  --accent: var(--blue-pale); --accent-2: #FFFFFF;
  /* Opaque surfaces (same visual tone as the old translucent white) so the
     scroll pathway is fully hidden when it passes behind a card. */
  --surface: #3E58DA; --surface-2: #4D64DD;
  --line: rgba(255,255,255,0.22); --line-strong: rgba(255,255,255,0.4);
  --btn-on-accent: #0A1330;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--blue); color: #fff; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.6em;
}
.eyebrow__num { color: var(--faint); }
html[lang="he"] .eyebrow { letter-spacing: 0.05em; }
.eyebrow--strong {
  font-family: var(--font-display); font-weight: 800; text-transform: none;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.35rem); letter-spacing: -0.01em;
}

.section-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 1.2rem + 4.4vw, 5.4rem);
  line-height: 1.0; letter-spacing: -0.025em; margin-top: 1.1rem; color: var(--text);
}
html[lang="he"] .section-title { letter-spacing: -0.01em; line-height: 1.08; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); max-width: 100%; }

.skip-link {
  position: fixed; top: -100px; inset-inline-start: 1rem; z-index: 4000;
  background: var(--blue); color: #fff; padding: 0.7rem 1.1rem;
  border-radius: 10px; font-weight: 600; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Grain ---------- */
.fx-grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.28; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; top: 0; inset-inline: 0; height: 4px; z-index: 1400;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue), var(--blue-soft), var(--blue-pale));
}
html[dir="rtl"] .progress { transform-origin: 100% 50%; }

.nav, main, .footer, .menu { position: relative; z-index: 2; }

/* ---------- Custom scrollbar (matches the brand blues) ---------- */
html { scrollbar-width: thin; scrollbar-color: var(--blue) #0A0F22; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0A0F22; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--blue), var(--blue-deep));
  border-radius: 6px; border: 2px solid #0A0F22;
}
::-webkit-scrollbar-thumb:hover { background: var(--blue-soft); }

/* ---------- Flame watermarks: the mark used structurally ---------- */
.watermark { position: absolute; z-index: 0; pointer-events: none; opacity: 0.05; }
.watermark path, .watermark circle { fill: var(--accent); }
.services, .contact { overflow: hidden; }
.watermark--services {
  width: min(58vw, 640px); height: auto;
  bottom: -16%; inset-inline-end: -9%;
  transform: rotate(-14deg);
}
.watermark--contact {
  width: min(46vw, 500px); height: auto;
  top: -10%; inset-inline-start: -7%;
  transform: rotate(11deg); opacity: 0.045;
}

/* =========================================================
   Flashlight cursor
   NOTE: these live as direct children of <body>. An ancestor with
   position+z-index creates a stacking context that isolates
   mix-blend-mode, which is why the previous blend cursor was invisible.
   ========================================================= */
.spotlight {
  position: fixed; top: 0; left: 0;
  width: 780px; height: 780px; margin: -390px 0 0 -390px;
  border-radius: 50%; pointer-events: none; z-index: 3;
  background: radial-gradient(circle closest-side,
    rgba(150,180,255,0.22) 0%,
    rgba(76,111,255,0.13) 42%,
    rgba(76,111,255,0.04) 66%,
    transparent 78%);
  mix-blend-mode: screen;
  opacity: 0; transition: opacity 0.5s var(--ease);
  will-change: transform;
}
body.cursor-live .spotlight { opacity: 1; }

.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%; background: var(--blue-soft);
  pointer-events: none; z-index: 1600;
  display: grid; place-items: center;
  border: 1.5px solid transparent;
  opacity: 0;
  transition: opacity 0.3s var(--ease), width 0.25s var(--ease), height 0.25s var(--ease),
              margin 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}
body.cursor-live .cursor-dot { opacity: 1; }
.cursor-dot.is-hover { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(150,180,255,0.16); border-color: var(--blue-soft); }
.cursor-dot.is-label { width: 90px; height: 90px; margin: -45px 0 0 -45px; background: var(--blue-pale); border-color: transparent; }
.cursor-dot.is-down { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; }
.cursor-dot__label { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; color: #070C1C; opacity: 0; transition: opacity 0.2s var(--ease); }
.cursor-dot.is-label .cursor-dot__label { opacity: 1; }

body.cursor-live, body.cursor-live * { cursor: none; }
/* keep a real caret in fields */
body.cursor-live input, body.cursor-live textarea { cursor: auto; }

@media (hover: none), (pointer: coarse) {
  .spotlight, .cursor-dot { display: none !important; }
}

/* =========================================================
   Loader — code typing + fall-through
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 3000; background: #04070F;
  display: grid; place-items: center;
  color: var(--ice);
  transition: transform 0.9s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.8s ease, filter 0.8s ease;
  /* Fail-safe: if the script dies, never trap the visitor behind the loader. */
  animation: loaderFailSafe 0s linear 8s forwards;
}
@keyframes loaderFailSafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.loader.is-done { display: none; }
/* "fall into the site" — the code rushes past the camera */
.loader.is-falling { transform: scale(2.1); opacity: 0; filter: blur(10px); }

.loader__stack { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.loader__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.25rem, 1rem + 1.6vw, 2.1rem);
  letter-spacing: -0.01em; color: var(--ice);
  direction: rtl;
  animation: loaderTitlePulse 1.6s var(--ease-io) infinite;
}
@keyframes loaderTitlePulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.loader__code {
  direction: ltr; text-align: left; white-space: pre;
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 0.55rem + 0.9vw, 1.05rem);
  line-height: 2; letter-spacing: 0.01em;
  padding-inline: 1.5rem;
}
.loader__caret {
  display: inline-block; width: 0.55em; height: 1.05em;
  background: var(--blue); vertical-align: -0.18em; margin-inline-start: 2px;
  animation: caretBlink 1s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }
.tok-kw   { color: var(--blue-soft); }
.tok-str  { color: var(--blue-pale); }
.tok-prop { color: #FFFFFF; }
.tok-fn   { color: var(--blue); }
.tok-punc { color: #6E7BA6; }

/* Content falls in behind the loader. `pre-enter` is added by JS, so if the
   script fails the site simply renders normally. */
body.pre-enter main, body.pre-enter .nav, body.pre-enter .footer { opacity: 0; transform: scale(0.93); }
body.is-entered main, body.is-entered .nav, body.is-entered .footer {
  opacity: 1; transform: none;
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
}

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 1000; color: var(--ice);
  transition: transform 0.4s var(--ease), color 0.3s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav[data-nav-theme="ice"] { color: #070C1C; }
.nav[data-nav-theme="blue"] { color: #050B22; }
.nav[data-nav-theme="ink"], .nav[data-nav-theme="deep"] { color: #EDF1FA; }
.nav__inner {
  max-width: var(--container); margin-inline: auto; padding: 1.1rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav__logo { display: inline-flex; align-items: center; gap: 0.5rem; }
.nav__flame { width: 26px; height: 26px; }
.nav__flame path, .nav__flame circle { fill: var(--blue); }
.nav[data-nav-theme="blue"] .nav__flame path, .nav[data-nav-theme="blue"] .nav__flame circle { fill: #fff; }
.nav__word { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: currentColor; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-size: 0.98rem; font-weight: 600; color: currentColor; opacity: 0.72; position: relative; transition: opacity 0.25s var(--ease); }
.nav__links a::after {
  content: ''; position: absolute; inset-inline: 0; bottom: -6px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: inline-end; transition: transform 0.3s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: inline-start; }
.nav__actions { display: flex; align-items: center; gap: 0.9rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-weight: 700; font-family: var(--font-display); border-radius: 100px;
  padding: 0.9rem 1.7rem; font-size: 1rem; line-height: 1;
  /* every variant carries the same border box so outlined and solid
     buttons are exactly the same height and sit on one baseline */
  border: 1.5px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--accent); color: var(--btn-on-accent); box-shadow: 0 10px 34px -12px color-mix(in srgb, var(--accent) 75%, transparent); }
.btn--primary:hover { box-shadow: 0 16px 44px -12px color-mix(in srgb, var(--accent) 90%, transparent); }
.btn--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--pill { padding: 0.6rem 1.2rem; font-size: 0.92rem; border: 1.5px solid currentColor; color: currentColor; opacity: 0.9; }
.btn--pill:hover { background: currentColor; opacity: 1; }
.nav[data-nav-theme="ink"] .btn--pill:hover, .nav[data-nav-theme="deep"] .btn--pill:hover { color: #070C1C; }
.nav[data-nav-theme="ice"] .btn--pill:hover, .nav[data-nav-theme="blue"] .btn--pill:hover { color: #EDF1FA; }
.btn--block { width: 100%; padding: 1.05rem; font-size: 1.05rem; }

/* --- Text-roll hover: label slides up, its twin slides in from below ---
   Markup is generated by main.js for buttons and nav/footer links. */
.roll { display: inline-block; position: relative; overflow: hidden; vertical-align: bottom; }
.roll__a, .roll__b { display: block; transition: transform 0.38s var(--ease); }
.roll__b { position: absolute; inset-inline-start: 0; top: 100%; }
.btn:hover .roll__a, .btn:hover .roll__b,
.nav__links a:hover .roll__a, .nav__links a:hover .roll__b,
.footer__nav a:hover .roll__a, .footer__nav a:hover .roll__b,
.footer__top:hover .roll__a, .footer__top:hover .roll__b { transform: translateY(-100%); }

.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; inset-inline: 10px; height: 2px; background: currentColor; transition: transform 0.3s var(--ease); }
.nav__burger span:nth-child(1) { top: 17px; }
.nav__burger span:nth-child(2) { bottom: 17px; }
body.menu-open .nav__burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { bottom: 21px; transform: rotate(-45deg); }

/* =========================================================
   Fullscreen menu
   ========================================================= */
.menu {
  position: fixed; inset: 0; z-index: 900; background: var(--blue); color: #050B22;
  display: flex; flex-direction: column; justify-content: center; padding: 6rem var(--gutter) 3rem;
  clip-path: inset(0 0 100% 0); transition: clip-path 0.6s var(--ease-io); pointer-events: none;
}
body.menu-open .menu { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu__nav { display: flex; flex-direction: column; }
.menu__link {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 9vw, 4rem); line-height: 1.12; letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 1rem; color: #050B22;
  padding-block: 0.2rem; opacity: 0; transform: translateY(24px);
}
body.menu-open .menu__link { animation: menuIn 0.5s var(--ease) forwards; }
body.menu-open .menu__link:nth-child(1) { animation-delay: 0.10s; }
body.menu-open .menu__link:nth-child(2) { animation-delay: 0.16s; }
body.menu-open .menu__link:nth-child(3) { animation-delay: 0.22s; }
body.menu-open .menu__link:nth-child(4) { animation-delay: 0.28s; }
body.menu-open .menu__link:nth-child(5) { animation-delay: 0.34s; }
body.menu-open .menu__link:nth-child(6) { animation-delay: 0.40s; }
@keyframes menuIn { to { opacity: 1; transform: translateY(0); } }
.menu__link:hover .menu__txt { text-decoration: line-through; }
.menu__idx { font-family: var(--font-mono); font-size: 0.9rem; opacity: 0.55; font-weight: 700; }
.menu__foot { margin-top: 3rem; display: flex; gap: 2rem; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.95rem; opacity: 0.75; }

/* =========================================================
   Seam — thin transition line with a glow that travels along it
   ========================================================= */
.seam {
  position: relative; z-index: 2; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180,200,255,0.28) 22%, rgba(180,200,255,0.28) 78%, transparent);
}
.seam__glow {
  position: absolute; top: -1.5px; inset-inline-start: 0;
  width: 20%; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  filter: blur(1.5px);
  animation: seamTravel 6s var(--ease-io) infinite;
}
@keyframes seamTravel {
  0%   { transform: translateX(-130%); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(560%); opacity: 0; }
}

/* =========================================================
   Scroll pathway — winding line that fills as you scroll
   Geometry is generated in pixels by JS (see main.js) so the
   stroke width stays true and the dash maths is accurate.
   ========================================================= */
.pathway {
  position: absolute; inset-inline: 0; z-index: 5;
  pointer-events: none;
  /* top + height are set by JS to span "what we do" → contact */
}
.pathway svg { width: 100%; height: 100%; display: block; overflow: visible; }
.pathway__track { stroke: rgba(138,166,255,0.13); stroke-width: 2; }
.pathway__line {
  stroke: url(#pwGrad); stroke-width: 2.5; stroke-linecap: round;
  filter: drop-shadow(0 0 7px rgba(76,111,255,0.7));
}

/* Content (text, cards, buttons, projects) rides ABOVE the pathway line;
   only section backgrounds stay beneath it. Sections whose content lives
   outside a .container (cycle band, marquee) are lifted explicitly, so the
   line always passes UNDER text — never over it. */
main .container,
.cycle__track,
.band .marquee { position: relative; z-index: 6; }
.pathway__head {
  fill: var(--blue-pale); opacity: 0;
  filter: drop-shadow(0 0 9px rgba(138,166,255,0.95));
  transition: opacity 0.4s var(--ease);
}
.pathway.is-active .pathway__head { opacity: 1; }
@media (max-width: 700px) {
  .pathway__track { stroke-width: 1.4; }
  .pathway__line { stroke-width: 1.8; }
}

/* =========================================================
   Stacked colour panels
   ========================================================= */
main > section, .band, .footer { background: var(--bg); color: var(--text); position: relative; }
.manifesto, .services, .process, .work, .values,
.faq, .cycle, .contact, .footer {
  border-start-start-radius: var(--panel-r);
  border-start-end-radius: var(--panel-r);
  margin-top: calc(-1 * var(--panel-r));
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  --bg: #03060D; /* darker than the other ink sections so the flashlight reads */
  min-height: 94vh; display: flex; flex-direction: column; justify-content: center;
  padding-block: 7rem 2.5rem; position: relative; overflow: hidden;
}
.hero__blob { position: absolute; border-radius: 50%; filter: blur(90px); z-index: 0; will-change: transform; }
.hero__blob--1 { width: 40vw; height: 40vw; background: var(--blue); opacity: 0.26; top: -8vw; inset-inline-end: -6vw; animation: drift1 24s ease-in-out infinite alternate; }
.hero__blob--2 { width: 44vw; height: 44vw; background: var(--blue-deep); opacity: 0.30; bottom: -14vw; inset-inline-start: -10vw; animation: drift2 30s ease-in-out infinite alternate; }
.hero__blob--3 { width: 26vw; height: 26vw; background: var(--blue-soft); opacity: 0.12; top: 34%; inset-inline-start: 34%; animation: drift3 36s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-5vw, 7vw) scale(1.1); } }
@keyframes drift2 { to { transform: translate(7vw, -5vw) scale(1.12); } }
@keyframes drift3 { to { transform: translate(-8vw, -4vw) scale(1.2); } }

/* --- Blueprint layer: only visible inside the flashlight beam ---
   A radial mask follows the cursor (--mx/--my set from main.js), so the
   light literally reveals the wireframe "under" the page. */
.hero__blueprint {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  --mx: -600px; --my: -600px;
  opacity: 0; transition: opacity 0.5s var(--ease);
  -webkit-mask-image: radial-gradient(circle 320px at var(--mx) var(--my), #000 0%, #000 35%, transparent 74%);
  mask-image: radial-gradient(circle 320px at var(--mx) var(--my), #000 0%, #000 35%, transparent 74%);
}
body.cursor-live .hero__blueprint { opacity: 1; }
.bp__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(138,166,255,0.20) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138,166,255,0.20) 1px, transparent 1px),
    linear-gradient(rgba(138,166,255,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138,166,255,0.09) 1px, transparent 1px);
  background-size: 240px 240px, 240px 240px, 48px 48px, 48px 48px;
}
.bp__box { position: absolute; border: 1.5px dashed rgba(138,166,255,0.6); border-radius: 6px; }
.bp__box span {
  position: absolute; top: -1.5em; inset-inline-start: 0.2em;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em;
  color: var(--blue-soft); direction: ltr;
}
.bp__box--header { top: 12%; inset-inline-end: 6%; width: 36%; height: 6.5%; }
.bp__box--h1 { top: 26%; inset-inline-end: 8%; width: 28%; height: 24%; }
.bp__box--cta { top: 56%; inset-inline-end: 10%; width: 13%; height: 5.5%; border-radius: 100px; }
.bp__box--sec { bottom: 9%; inset-inline-start: 6%; width: 30%; height: 15%; }
.bp__cross { position: absolute; font-family: var(--font-mono); font-size: 1.05rem; color: rgba(138,166,255,0.7); }
.bp__cross--1 { top: 18%; inset-inline-start: 30%; }
.bp__cross--2 { top: 66%; inset-inline-end: 42%; }
.bp__cross--3 { bottom: 20%; inset-inline-start: 13%; }
.bp__note {
  position: absolute; font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.1em; color: rgba(138,166,255,0.65); direction: ltr;
}
.bp__note--1 { top: 8%; inset-inline-start: 38%; }
.bp__note--2 { bottom: 32%; inset-inline-end: 30%; }

.hero__content { position: relative; z-index: 2; }
.hero__eyebrow { margin-bottom: 1.6rem; }
.hero__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.4rem, 1rem + 6.6vw, 6.2rem);
  line-height: 0.98; letter-spacing: -0.035em; margin-bottom: 2.2rem;
}
html[lang="he"] .hero__title { line-height: 1.02; letter-spacing: -0.02em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.05em; }
.hero__title .line__in { display: block; }
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--blue-soft), var(--blue) 45%, var(--blue-pale));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.hero__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.hero__sub {
  max-width: 46ch; color: #C4CDE6; /* brighter than --muted for real contrast on the darker hero */
  font-size: clamp(1rem, 0.94rem + 0.45vw, 1.2rem); line-height: 1.7;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.hero__scroll {
  position: absolute; bottom: 2rem; inset-inline-start: var(--gutter); z-index: 2;
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase;
}
.hero__scroll-line { width: 46px; height: 2px; background: var(--line-strong); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ''; position: absolute; inset: 0; background: var(--accent); animation: scrollLine 2.2s var(--ease-io) infinite; }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* =========================================================
   Marquee band
   ========================================================= */
/* A thin hairline strip: one rule above, one below. */
.band { padding-block: 0; overflow: hidden; }
.marquee {
  overflow: hidden; white-space: nowrap;
  padding-block: 0.85rem;
  border-block: 1px solid var(--line);
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 2.2rem; will-change: transform;
  font-family: var(--font-mono); font-weight: 500; text-transform: uppercase;
  font-size: clamp(0.68rem, 0.62rem + 0.22vw, 0.82rem); letter-spacing: 0.2em;
  color: var(--muted);
  animation: marquee 34s linear infinite;
}
.marquee__track b { color: var(--blue); font-weight: 500; }
@keyframes marquee { to { transform: translateX(-50%); } }
html[dir="rtl"] .marquee__track { animation-direction: reverse; }

/* Word-mask primitives */
.wline { display: block; }
.w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.w__in { display: inline-block; will-change: transform; }

/* =========================================================
   Manifesto
   ========================================================= */
.manifesto { padding-block: clamp(5.5rem, 12vw, 10rem); position: relative; overflow: hidden; }
.manifesto__inner { position: relative; z-index: 2; }

/* Oversized outlined mark, bleeding off the empty (left) side */
.manifesto__deco {
  position: absolute; z-index: 1; pointer-events: none;
  inset-inline-start: -8%; top: 50%; transform: translateY(-50%);
  width: min(48vw, 560px);
}
.manifesto__deco svg { width: 100%; height: auto; }
.manifesto__deco path, .manifesto__deco circle {
  fill: none; stroke: var(--blue-soft); stroke-width: 2.5; opacity: 0.16;
}

/* Three outcome statements — substance under the big claim */
.outcomes {
  margin-top: clamp(2.8rem, 6vw, 4.5rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.8rem);
}
.outcome { padding-top: 1.1rem; border-top: 2px solid var(--line-strong); }
.outcome__num {
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.12em;
  color: var(--accent); display: block; margin-bottom: 0.7rem;
}
.outcome__text { color: var(--muted); font-size: 1.02rem; line-height: 1.65; max-width: 34ch; }

.manifesto__text {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 0.95rem + 2.6vw, 3rem);
  line-height: 1.24; letter-spacing: -0.025em;
  max-width: 26ch; margin-top: 1.8rem;
  text-wrap: balance;
}
html[lang="he"] .manifesto__text { line-height: 1.34; letter-spacing: -0.012em; }
.manifesto__cta { margin-top: clamp(2.2rem, 4vw, 3.2rem); }

/* Words rise out of a mask and light up, staggered, on scroll */
.manifesto__text .mw { display: inline-block; overflow: hidden; vertical-align: bottom; }
.manifesto__text .mw__in { display: inline-block; }
html.js .manifesto__text .mw__in {
  transform: translateY(105%);
  color: color-mix(in srgb, var(--text) 18%, transparent);
  transition: transform 0.75s var(--ease), color 0.75s var(--ease);
}
html.js .manifesto__text.is-in .mw__in { transform: translateY(0); color: var(--text); }

/* Key words pop in the accent blue once lit */
.manifesto__text .mw__in.is-accent { color: var(--accent); }
html.js .manifesto__text.is-in .mw__in.is-accent { color: var(--accent); }

/* =========================================================
   Services
   ========================================================= */
.services { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 1.5rem;
  padding: clamp(1.4rem, 3vw, 2.4rem) 0.5rem; border-bottom: 1px solid var(--line);
  position: relative;
}
.svc::before { content: ''; position: absolute; inset: 0; z-index: 0; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform 0.4s var(--ease); }
.svc > * { position: relative; z-index: 1; }
.svc:hover::before { transform: scaleY(1); }
.svc:hover { color: #fff; }
.svc__num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--faint); }
.svc:hover .svc__num { color: rgba(255,255,255,0.75); }
.svc__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 0.9rem + 2vw, 2.6rem); letter-spacing: -0.01em; }
.svc__desc { color: var(--muted); font-size: 1rem; max-width: 34ch; }
.svc:hover .svc__desc { color: rgba(255,255,255,0.88); }
.svc__arrow { font-size: 1.7rem; opacity: 0; transform: translateX(-10px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
html[dir="rtl"] .svc__arrow { transform: scaleX(-1) translateX(-10px); }
.svc:hover .svc__arrow { opacity: 1; transform: translateX(0); }
html[dir="rtl"] .svc:hover .svc__arrow { transform: scaleX(-1) translateX(0); }

/* =========================================================
   Process
   ========================================================= */
.process { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
/* Steps stack one under the other, alternating sides, so the pathway
   can snake straight down through the blocks as you scroll. */
.steps { display: flex; flex-direction: column; gap: clamp(1.6rem, 4vw, 3rem); }
.step {
  width: min(48%, 480px);
  padding: 2rem 1.5rem; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.step:nth-child(odd) { align-self: flex-start; }
.step:nth-child(even) { align-self: flex-end; }
.step::after { content: ''; position: absolute; top: 0; inset-inline-start: 0; width: 100%; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: inline-start; transition: transform 0.5s var(--ease); }
.step:hover { background: var(--surface-2); }
.step:hover::after { transform: scaleX(1); }
.step__num { font-family: var(--font-mono); font-size: 0.9rem; color: var(--accent); display: block; margin-bottom: 2.5rem; transition: color 0.4s var(--ease); }
.step__title { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; margin-bottom: 0.6rem; }
.step__desc { color: var(--muted); font-size: 1rem; }

/* --- Pathway lights the steps as the line reaches them ---
   Each step gets its own tint so the row plays through the blue family. */
.step:nth-child(1) { --step-c: #C3D2FF; }
.step:nth-child(2) { --step-c: #9FD8FF; }
.step:nth-child(3) { --step-c: #B0A2FF; }
.step:nth-child(4) { --step-c: #FFFFFF; }
/* Beats the reveal rules (html.js .step.is-in) on specificity */
html.js .step.is-in {
  transition: opacity 0.7s var(--ease), transform 0.45s var(--ease),
              box-shadow 0.45s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease);
}
html.js .step.is-in.is-lit, .step.is-lit {
  transform: translateY(-7px) scale(1.045);
  border-color: var(--step-c);
  background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--step-c),
              0 18px 50px -14px color-mix(in srgb, var(--step-c) 60%, transparent),
              0 0 34px -6px color-mix(in srgb, var(--step-c) 45%, transparent);
}
.step.is-lit::after { transform: scaleX(1); background: var(--step-c); }
.step.is-lit .step__num { color: var(--step-c); }

/* =========================================================
   Work
   ========================================================= */
.work { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.work__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.project__frame {
  border-radius: var(--radius-lg); background: var(--surface-2); border: 1px solid var(--line);
  overflow: hidden; transition: box-shadow 0.5s var(--ease); will-change: transform;
}
.project:hover .project__frame { box-shadow: 0 40px 80px -30px rgba(7,12,28,0.35); }
.project__bar { display: flex; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface); }
.project__bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.project__bar span:first-child { background: var(--blue); }
.project__shot { aspect-ratio: 16 / 10; overflow: hidden; }
.project__shot picture { display: block; width: 100%; height: 100%; }
.project__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.project:hover .project__shot img { transform: scale(1.06); }
.project__meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0.4rem 0; }
.project__name { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.project__tags { font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted); }

.project--next__inner {
  height: 100%; min-height: 320px; border-radius: var(--radius-lg); border: 2px dashed var(--line-strong);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1rem;
  padding: clamp(2rem, 4vw, 3rem); transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.project--next:hover .project--next__inner { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.project--next__plus { font-size: 2.6rem; color: var(--accent); font-weight: 300; line-height: 1; }
.project--next__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 1rem + 2vw, 2.8rem); line-height: 1.1; }
.project--next__cta { font-family: var(--font-mono); font-size: 0.9rem; color: var(--accent); }

/* =========================================================
   Values
   ========================================================= */
.values { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.value { padding: 2rem 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: background 0.4s var(--ease); }
.value:hover { background: var(--surface-2); }
.value__icon { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 1.4rem; }
.value__icon svg { width: 27px; height: 27px; }
.value__icon--a { background: var(--blue); color: #fff; }
.value__icon--b { background: var(--blue-soft); color: #070C1C; }
.value__icon--c { background: var(--blue-pale); color: #070C1C; }
.value__icon--d { background: var(--blue-deep); color: #fff; }
.value__title { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin-bottom: 0.5rem; }
.value__desc { color: var(--muted); font-size: 0.98rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.faq__list { border-top: 2px solid var(--line-strong); }
.faq__item { border-bottom: 2px solid var(--line-strong); }
.faq__q {
  width: 100%; text-align: start; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: clamp(1.3rem, 2.5vw, 2rem) 0.4rem; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.15rem, 0.9rem + 1.2vw, 1.9rem); color: var(--text); transition: color 0.25s var(--ease);
}
.faq__q:hover { color: var(--accent); }
/* The accordion indicator is the flame mark itself; it spins when open. */
.faq__icon {
  position: relative; width: 26px; height: 26px; flex-shrink: 0;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-155 -155 310 310'%3E%3Cpath d='M38.51,92.63C-40.07,70.85,-61.46,-27.35,-36.61,-93.25C-5.13,-74.04,-1.66,-31,29.25,-20.02C54.8,-12.55,58.84,38.71,38.51,92.63Z'/%3E%3Ccircle cx='85' cy='-109' r='14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-155 -155 310 310'%3E%3Cpath d='M38.51,92.63C-40.07,70.85,-61.46,-27.35,-36.61,-93.25C-5.13,-74.04,-1.66,-31,29.25,-20.02C54.8,-12.55,58.84,38.71,38.51,92.63Z'/%3E%3Ccircle cx='85' cy='-109' r='14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.45s var(--ease);
}
.faq__item.is-open .faq__icon { transform: rotate(140deg); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease); }
.faq__a p { padding: 0 0.4rem clamp(1.3rem, 2.5vw, 2rem); color: var(--muted); max-width: 64ch; font-size: 1.08rem; }

/* =========================================================
   Contact
   ========================================================= */
.contact { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.contact__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 1.2rem + 3.2vw, 4.4rem); line-height: 1.03; letter-spacing: -0.025em; margin: 1.2rem 0; }
html[lang="he"] .contact__title { line-height: 1.1; }
.contact__sub { color: var(--muted); font-size: 1.15rem; margin-bottom: 2.5rem; }
.contact__direct { display: flex; flex-direction: column; gap: 1.2rem; }
.contact__direct li { display: flex; flex-direction: column; gap: 0.2rem; }
.contact__direct-label { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.contact__direct-val { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--text); transition: color 0.25s var(--ease); width: fit-content; }
.contact__direct-val:hover { color: var(--accent); }
.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.field input, .field textarea {
  background: var(--ink); border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 0.85rem 1rem;
  color: var(--text); font-family: var(--font-body); font-size: 1rem; width: 100%; resize: vertical; min-height: 48px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 30%, transparent); }
.field__error { font-size: 0.82rem; color: #ff8a8a; display: none; }
.field.is-invalid input { border-color: #ff8a8a; }
.field.is-invalid .field__error { display: block; }
.contact__form .btn--block { grid-column: 1 / -1; margin-top: 0.4rem; }
.contact__status { grid-column: 1 / -1; font-size: 0.95rem; min-height: 1.2em; }
.contact__status.is-ok { color: var(--blue-soft); }
.contact__status.is-err { color: #ff8a8a; }

/* =========================================================
   Footer
   ========================================================= */
.footer { padding-block: clamp(3.5rem, 6vw, 5.5rem) 2.5rem; }

/* Statement CTA — the page ends with the contact, huge */
.footer__cta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.7rem;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.footer__cta .eyebrow { margin-bottom: 0.6rem; }
.footer__big {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.65rem, 0.9rem + 4.4vw, 4.6rem);
  letter-spacing: -0.02em; line-height: 1.12; direction: ltr;
  position: relative; width: fit-content; max-width: 100%; color: var(--text);
}
.footer__big::after {
  content: ''; position: absolute; inset-inline: 0; bottom: -0.05em; height: 0.05em;
  background: var(--blue); transform: scaleX(0); transform-origin: inline-end;
  transition: transform 0.45s var(--ease);
}
.footer__big:hover::after { transform: scaleX(1); transform-origin: inline-start; }
.footer__big--sub { font-size: clamp(1.15rem, 0.8rem + 2vw, 2.3rem); color: var(--muted); transition: color 0.3s var(--ease); }
.footer__big--sub:hover { color: var(--text); }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; align-items: start; }
.footer__logo { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; margin-bottom: 1rem; }
.footer__flame { width: 28px; height: 28px; }
.footer__flame path, .footer__flame circle { fill: var(--blue); }
.footer__tag { color: var(--muted); max-width: 30ch; }
.footer__nav { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__nav a { color: var(--muted); transition: color 0.2s var(--ease); width: fit-content; }
.footer__nav a:hover { color: var(--accent); }
.footer__end { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.footer__top { font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); transition: color 0.2s var(--ease); }
.footer__top:hover { color: var(--accent); }
.footer__copy { font-size: 0.85rem; color: var(--faint); }

/* =========================================================
   Cycling statement band
   ========================================================= */
.cycle { height: clamp(200px, 28vh, 340px); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cycle__track { display: flex; flex-direction: column; align-items: center; will-change: transform; }
.cycle__line {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 0.9rem + 4vw, 4.4rem); line-height: 1.14; letter-spacing: -0.03em;
  white-space: nowrap;
}
/* The contact panel overlaps the band's bottom edge (stacked panels).
   It must paint ABOVE the band text (z6), or the words poke through it. */
.contact { z-index: 7; }
.cycle__line:nth-child(even) { color: transparent; -webkit-text-stroke: 2px var(--text); }

/* =========================================================
   Reveal system (CSS transitions + IntersectionObserver)
   Active only when JS is on; otherwise everything is visible.
   ========================================================= */
html.js .hero__title .line__in { transform: translateY(118%); transition: transform 1s var(--ease); }
html.js .hero.is-in .hero__title .line__in { transform: translateY(0); }
html.js .hero__title .line:nth-child(1) .line__in { transition-delay: 0.05s; }
html.js .hero__title .line:nth-child(2) .line__in { transition-delay: 0.14s; }
html.js .hero__title .line:nth-child(3) .line__in { transition-delay: 0.23s; }
html.js .hero__title .line:nth-child(4) .line__in { transition-delay: 0.32s; }
html.js .hero__eyebrow,
html.js .hero__sub,
html.js .hero__cta,
html.js .hero__scroll { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
html.js .hero.is-in .hero__eyebrow { opacity: 1; transform: none; }
html.js .hero.is-in .hero__sub { opacity: 1; transform: none; transition-delay: 0.45s; }
html.js .hero.is-in .hero__cta { opacity: 1; transform: none; transition-delay: 0.55s; }
html.js .hero.is-in .hero__scroll { opacity: 1; transform: none; transition-delay: 0.65s; }

html.js .section-title .w__in,
html.js .contact__title .w__in { transform: translateY(115%); transition: transform 0.85s var(--ease); }
html.js .section-title.is-in .w__in,
html.js .contact__title.is-in .w__in { transform: translateY(0); }

html.js .svc,
html.js .step,
html.js .value,
html.js .faq__item,
html.js .project {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js .svc.is-in,
html.js .step.is-in,
html.js .value.is-in,
html.js .faq__item.is-in,
html.js .project.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .values__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .step { width: min(72%, 480px); }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .work__grid, .contact__grid, .contact__form { grid-template-columns: 1fr; }
  .field--full, .contact__form .btn--block { grid-column: 1; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .svc { grid-template-columns: auto 1fr auto; }
  .svc__desc { display: none; }
  .hero__bottom { flex-direction: column; align-items: stretch; }
}
@media (max-width: 700px) {
  .outcomes { grid-template-columns: 1fr; }
  .manifesto__deco { width: 70vw; opacity: 0.6; }
}
@media (max-width: 560px) {
  .step { width: 100%; }
  .values__grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero__blob, .marquee__track { animation: none !important; }
  html.js .hero__title .line__in,
  html.js .section-title .w__in,
  html.js .contact__title .w__in { transform: none !important; }
  html.js .hero__eyebrow, html.js .hero__sub, html.js .hero__cta, html.js .hero__scroll,
  html.js .svc, html.js .step, html.js .value, html.js .faq__item, html.js .project,
  .cycle__track { transform: none !important; }
  .seam__glow { animation: none !important; opacity: 0; }
  .pathway { display: none !important; }
  html.js .manifesto__text .mw__in { transform: none !important; color: var(--text) !important; }
  html.js .manifesto__text .mw__in.is-accent { color: var(--accent) !important; }
  .spotlight, .cursor-dot { display: none !important; }
  body.cursor-live, body.cursor-live * { cursor: auto !important; }
  .loader.is-falling { transform: none !important; }
}
