/* ==========================================================================
   Lumenia · styles
   One family (Manrope), Tailwind type steps, the spacing scale, one accent.
   The light lives in the canvas, not in CSS backgrounds.
   ========================================================================== */

:root {
  --sc-canvas: #04061D;
  --sc-surface: #0B0E2B;
  --sc-ink: #F3F3F5;
  --sc-ink-soft: #9BA2C7;
  --sc-accent: #30DEFF;
  --sc-accent-ink: #04061D;
  --sc-font-display: "Fraunces", serif;
  --sc-font-text: "Manrope", system-ui, sans-serif;
  --sc-shadow-color: 232 70% 3%;
  --sc-r-sm: 8px; --sc-r-md: 12px; --sc-r-lg: 24px;
  --sc-maxw: 82rem;

  --violet: #7627FE;
  --blue: #2B55FF;
  --glass: rgba(11, 14, 43, 0.52);
  --glass-strong: rgba(8, 10, 34, 0.78);
  --line: rgba(243, 243, 245, 0.10);
  --line-strong: rgba(243, 243, 245, 0.18);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  /* spacing scale */
  --s-2: 2px; --s-4: 4px; --s-8: 8px; --s-12: 12px; --s-16: 16px; --s-24: 24px;
  --s-32: 32px; --s-40: 40px; --s-48: 48px; --s-64: 64px; --s-80: 80px; --s-96: 96px;
}

html { scroll-padding-top: 96px; }
body {
  font-weight: 400;
  font-size: 16px; line-height: 24px;
  letter-spacing: 0;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
b, strong { font-weight: 600; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
svg use { pointer-events: none; }

.skip {
  position: fixed; top: var(--s-12); left: var(--s-12); z-index: 100;
  padding: var(--s-8) var(--s-12); border-radius: 999px;
  background: var(--sc-accent); color: var(--sc-accent-ink); font-weight: 600; font-size: 14px; line-height: 20px;
  transform: translateY(-200%); transition: transform 200ms var(--ease-out);
}
.skip:focus-visible { transform: none; }

/* --------------------------------------------------------------- type -- */
.h2 {
  font-size: 36px; line-height: 40px; font-weight: 300; letter-spacing: -0.03em;
}
.lede { font-size: 18px; line-height: 28px; color: var(--sc-ink-soft); max-width: 44ch; }
.kicker {
  font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sc-accent);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-8);
  font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sc-ink-soft);
}
.wordmark { font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; font-size: 12px; line-height: 16px; }
.wordmark b { color: var(--sc-accent); font-weight: 600; }
.mark { display: inline-block; filter: drop-shadow(0 0 6px rgba(48, 222, 255, 0.35)); }

@media (min-width: 768px) {
  .h2 { font-size: 48px; line-height: 1; }
  .lede { font-size: 20px; line-height: 28px; }
}
@media (min-width: 1280px) {
  .h2 { font-size: 60px; line-height: 1; }
}

/* ------------------------------------------------------------ buttons -- */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-8);
  padding: var(--s-8) var(--s-16);
  border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--sc-ink);
  font-weight: 600; font-size: 16px; line-height: 24px; white-space: nowrap;
  box-shadow: 0 1px 2px hsl(var(--sc-shadow-color) / 0.3);
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms var(--ease-out);
  cursor: pointer;
}
.btn svg { transition: transform 200ms var(--ease-out); }
.btn:hover { background: #F3F3F5; color: var(--sc-accent-ink); border-color: #F3F3F5; transform: translateY(-1px); box-shadow: 0 2px 4px hsl(var(--sc-shadow-color) / 0.3), 0 14px 30px -10px rgba(4, 6, 29, 0.35); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--sm { padding: var(--s-8) var(--s-12); font-size: 14px; line-height: 20px; }
.btn--lg { padding: var(--s-12) var(--s-24); }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }

.link {
  display: inline-flex; align-items: center; gap: var(--s-8);
  font-size: 14px; line-height: 20px; font-weight: 600; color: var(--sc-accent);
  padding-block: var(--s-4);
  transition: color 160ms var(--ease-out);
}
.link svg { transition: transform 200ms var(--ease-out); }
.link:hover { color: #F3F3F5; }
.link:hover svg { transform: translate(2px, 0); }
.link:active { transform: translateY(1px); }

/* -------------------------------------------------------------- world -- */
.world-wrap { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: clip; background: transparent; }
.world { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.nebula {
  position: absolute; left: 50%; top: 50%; width: 130vw; max-width: none; height: auto; min-height: 130vh;
  object-fit: cover; transform: translate(-50%, -50%);
  opacity: 0.26; mix-blend-mode: screen; will-change: transform, opacity;
}
.world-fallback { position: absolute; inset: 0; display: none; background: #04061D url("assets/void-wide.webp") center / cover no-repeat; }
.world-wrap.is-static .world-fallback { display: block; }
.world-wrap.is-static .world { display: none; }
@media (max-width: 860px) { .world-fallback { background-image: url("assets/void-tall.webp"); } }

/* the "light explosion" moment gets a guaranteed-visible flash on top of the
   WebGL scene: a plain CSS opacity transition. It never depends on canvas
   render timing, GPU sprite/mip quirks, or aspect-ratio scaling the way the
   3D corona sprite does, so it reads the same on every device regardless of
   how the scene itself is rendering underneath. */
.flash-overlay {
  position: absolute; inset: 0; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(circle at 50% 46%, rgba(255,255,255,0.95) 0%, rgba(210,245,255,0.55) 16%, rgba(48,222,255,0.28) 34%, rgba(100,106,255,0.1) 55%, rgba(4,6,29,0) 72%);
  transition: opacity 850ms ease-out;
}
.flash-overlay.is-lit { opacity: 1; transition: opacity 140ms ease-in; }

.sc-grain { z-index: 40; opacity: 0.05; }

main { position: relative; z-index: 1; }

/* -------------------------------------------------------------- loader -- */
.loader {
  position: fixed; inset: 0; z-index: 90; background: #04061D;
  display: grid; place-items: center;
  transition: transform 760ms var(--ease), opacity 760ms var(--ease);
}
.loader__inner { display: grid; justify-items: center; gap: var(--s-16); }
.loader__mark { width: 112px; height: 112px; opacity: 0; transform: scale(0.82); animation: glowIn 1100ms var(--ease) 60ms forwards; }
@keyframes glowIn { to { opacity: 1; transform: none; } }
.loader__word { width: 132px; height: auto; opacity: 0; transform: translateY(10px); animation: riseIn 700ms var(--ease) 420ms forwards; }
.loader__line { font-size: 12px; line-height: 16px; color: var(--sc-ink-soft); letter-spacing: 0.06em; opacity: 0; animation: fade 500ms var(--ease) 620ms forwards; }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
.loader.is-done { transform: translateY(-100%); pointer-events: none; }
body:not(.is-loading) .loader { display: none; }

/* ----------------------------------------------------------------- nav -- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; justify-content: stretch;
  padding: 0;
  pointer-events: none;
  transform: translateY(-24px); opacity: 0;
  transition: transform 700ms var(--ease), opacity 700ms var(--ease);
}
body:not(.is-loading) .nav { transform: none; opacity: 1; }
.nav__bar {
  pointer-events: auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-16) var(--s-24);
  background: transparent; border-bottom: 1px solid transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background-color 400ms var(--ease), border-color 400ms var(--ease), backdrop-filter 400ms var(--ease);
}
.nav.is-scrolled .nav__bar {
  background: rgba(4, 6, 29, 0.6); border-bottom-color: var(--line);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.nav__brand { display: inline-flex; align-items: center; gap: var(--s-8); }
.brand__mark { width: 34px; height: 34px; }
.brand__word { width: auto; height: 12px; }
.brand__word-text { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 16px; letter-spacing: 0.05em; color: var(--sc-ink); }
.brand__word-text .accent { color: var(--sc-accent); }
.foot__brand .brand__mark { width: 28px; height: 28px; }
.foot__brand .brand__word { height: 11px; }
.nav__right { display: flex; align-items: center; gap: var(--s-12); }
.phase { flex: none; }
.phase__base { fill: rgba(243, 243, 245, 0.08); }
.phase__lit { fill: var(--sc-accent); filter: drop-shadow(0 0 4px rgba(48, 222, 255, 0.6)); }
.phase__rim { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.nav__langtoggle {
  display: flex; align-items: center; background: rgba(10, 13, 38, 0.35);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.nav__langtoggle a {
  font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--sc-ink-soft); padding: var(--s-4) var(--s-8) var(--s-4) var(--s-12);
  border-radius: 999px; transition: color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.nav__langtoggle a:last-child { padding: var(--s-4) var(--s-12) var(--s-4) var(--s-8); }
.nav__langtoggle a.is-current { background: var(--sc-accent-2, #646AFF); color: #fff; }
.nav__cta {
  display: none; background: transparent; color: var(--sc-ink);
  border: 1px solid var(--line-strong); box-shadow: none;
}
.nav__cta:hover { background: #F3F3F5; color: var(--sc-accent-ink); border-color: #F3F3F5; }
.burger {
  position: relative; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; cursor: pointer; padding: 0;
}
.burger span {
  position: absolute; left: 12px; width: 16px; height: 1.5px; background: var(--sc-ink); border-radius: 2px;
  transition: transform 400ms var(--ease), top 400ms var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 23px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }
@media (min-width: 1024px) {
  .nav__bar { padding: var(--s-20) var(--s-32); }
  .nav__cta { display: inline-flex; }
}

.menu {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(4, 6, 29, 0.82);
  backdrop-filter: blur(40px) saturate(120%); -webkit-backdrop-filter: blur(40px) saturate(120%);
  opacity: 0; transition: opacity 500ms var(--ease);
}
.menu.is-open { opacity: 1; }
.menu__inner { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: var(--s-48); padding: var(--s-96) var(--sc-gutter) var(--s-48); }
.menu__links { display: grid; gap: var(--s-8); }
.menu__links a, .menu__foot > * {
  opacity: 0; transform: translateY(48px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: calc(var(--d, 0) * 60ms);
}
.menu.is-open .menu__links a, .menu.is-open .menu__foot > * { opacity: 1; transform: none; }
.menu__links a { font-size: 36px; line-height: 40px; font-weight: 300; letter-spacing: -0.02em; }
.menu__links a:last-child { color: var(--sc-accent); }
.menu__foot { display: grid; gap: var(--s-12); color: var(--sc-ink-soft); font-size: 14px; line-height: 20px; }
.menu__foot a { color: var(--sc-ink); }
.menu__lang { display: inline-flex; align-items: center; gap: var(--s-8); }
@media (min-width: 640px) { .menu__links a { font-size: 60px; line-height: 1; } }

/* ---------------------------------------------------------------- hero -- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding-bottom: var(--s-64); padding-top: 120px; }
.hero__inner { display: grid; gap: var(--s-24); }
.hero__title { font-size: 48px; line-height: 1; font-weight: 300; letter-spacing: -0.04em; max-width: 14ch; }
.hero__title .mask { display: block; overflow: hidden; padding-bottom: 0.3em; margin-bottom: -0.3em; padding-top: 0.06em; margin-top: -0.06em; }
.hero__title .line {
  display: block; transform: translateY(110%);
  /* background-clip: text paints only inside the box, so the box must reach the descenders */
  padding: 0.08em 0.06em 0.28em 0; margin: -0.08em 0 -0.28em 0;
  background: linear-gradient(90deg, #FFFFFF 0%, #B7BCD8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { max-width: 680px; font-size: 18px; line-height: 28px; color: var(--sc-ink-soft); }
.rise { opacity: 0; transform: translateY(24px); }
body.is-ready .hero__title .line { animation: rise 1100ms var(--ease) forwards; animation-delay: calc(var(--d) * 90ms); }
body.is-ready .rise { animation: riseIn 1000ms var(--ease) forwards; animation-delay: calc(180ms + var(--d) * 90ms); }
@keyframes riseIn { to { opacity: 1; transform: none; } }
.hero__cta { display: flex; gap: var(--s-16); align-items: center; }
.hero__proof { display: flex; flex-wrap: wrap; gap: var(--s-8) var(--s-24); font-size: 14px; line-height: 20px; color: var(--sc-ink-soft); margin-top: var(--s-16); }
.hero__proof li { display: inline-flex; align-items: center; gap: var(--s-8); }
.hero__proof li::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--sc-accent); box-shadow: 0 0 8px rgba(48, 222, 255, 0.7); }
@media (max-width: 480px) {
  .hero__eyebrow { align-items: flex-start; }
  .hero__eyebrow svg { margin-top: 1px; }
  .hero__eyebrow { text-wrap: balance; max-width: 30ch; }
}
@media (min-width: 768px) {
  .hero { padding-bottom: var(--s-80); }
  .hero__title { font-size: 72px; }
  .hero__sub { font-size: 20px; line-height: 28px; }
}
@media (min-width: 1024px) {
  .hero__title { font-size: 96px; }
  .hero__inner { gap: var(--s-32); }
}
@media (min-width: 1536px) { .hero__title { font-size: 128px; } }

/* ------------------------------------------------------------- tension -- */
.tension { padding: var(--s-64) 0 16vh; }
.tension__line {
  font-size: 24px; line-height: 32px; font-weight: 300; letter-spacing: -0.02em;
  max-width: 22ch; margin-block: 14vh;
  color: var(--sc-ink); opacity: 0.22; transform: translateY(12px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.tension__line.is-lit { opacity: 1; transform: none; }
.tension__line.is-past { opacity: 0.4; transform: none; }
.tension__line--trail { margin-left: auto; text-align: right; }
.tension__line--center { margin-inline: auto; text-align: center; }
.tension__line--last { font-size: 30px; line-height: 36px; margin-top: 22vh; margin-bottom: 0; }
.tension__line--last.is-lit { color: var(--sc-ink); }
@media (min-width: 768px) {
  .tension__line { font-size: 36px; line-height: 40px; }
  .tension__line--last { font-size: 48px; line-height: 1; }
}
@media (min-width: 1280px) {
  .tension__line { font-size: 48px; line-height: 1; max-width: 20ch; }
  .tension__line--last { font-size: 60px; }
}

/* ---------------------------------------------------------------- turn -- */
.turn__stage { display: grid; place-items: center; padding: var(--s-96) var(--sc-gutter); }
.turn__inner { position: relative; display: grid; gap: var(--s-32); justify-items: center; text-align: center; max-width: 60rem; }
.turn__inner::before { content: ""; position: absolute; inset: -30% -20%; z-index: -1; pointer-events: none; background: radial-gradient(60% 60% at 50% 50%, rgba(4, 6, 29, 0.72), rgba(4, 6, 29, 0.35) 55%, transparent 100%); }
.turn__tagline { font-size: 36px; line-height: 40px; font-weight: 300; letter-spacing: -0.03em; max-width: 24ch; }
.turn__tagline .w { display: inline-block; color: rgba(243, 243, 245, 0.28); transition: color 620ms var(--ease), text-shadow 620ms var(--ease); }
.turn__tagline .w.is-lit { color: var(--sc-ink); }
.turn__tagline .w.is-lit.glow-word { color: var(--sc-accent); text-shadow: 0 0 24px rgba(48, 222, 255, 0.45); }
.turn__support { font-size: 18px; line-height: 28px; color: var(--sc-ink-soft); max-width: 46ch; }
@media (min-width: 768px) { .turn__tagline { font-size: 48px; line-height: 1; } .turn__support { font-size: 20px; line-height: 28px; } }
@media (min-width: 1280px) { .turn__tagline { font-size: 60px; } }

/* ------------------------------------------------------------ services -- */
.services__stage { display: flex; align-items: center; }
.rail { align-items: center; gap: var(--s-24); padding-inline: var(--sc-gutter); padding-block: var(--s-96) var(--s-48); }
.rail > * { flex: none; }
.rail__lead { width: min(30rem, 80vw); display: grid; gap: var(--s-24); margin-right: var(--s-24); }
.plate {
  position: relative; width: clamp(18rem, 78vw, 26.5rem); min-height: 30rem;
  display: grid; align-content: start; gap: var(--s-16);
  padding: var(--s-32);
  border-radius: var(--sc-r-lg); border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(130%); -webkit-backdrop-filter: blur(24px) saturate(130%);
  box-shadow: var(--sc-edge), var(--sc-e3);
  transform-style: preserve-3d;
}
.plate::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 400ms var(--ease-out);
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(48, 222, 255, 0.12), rgba(118, 39, 254, 0.04) 45%, transparent 70%); }
.plate:hover::after { opacity: 1; }
.plate--raised { margin-top: -48px; }
.plate__icon {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--sc-r-md);
  border: 1px solid var(--line-strong); color: var(--sc-accent); background: rgba(48, 222, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(243, 243, 245, 0.08);
}
.plate__title { font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -0.02em; }
.plate__body { color: var(--sc-ink-soft); font-size: 16px; line-height: 24px; }
.facts { display: grid; gap: var(--s-8); font-size: 14px; line-height: 20px; color: var(--sc-ink); }
.facts li { display: flex; gap: var(--s-8); align-items: flex-start; }
.facts svg { flex: none; margin-top: 3px; color: var(--sc-accent); }
.plate .link { margin-top: auto; }
.rail__note {
  width: clamp(18rem, 78vw, 24rem); display: grid; gap: var(--s-16); justify-items: start;
  padding: var(--s-32); border-radius: var(--sc-r-lg);
  background: rgba(243, 243, 245, 0.96); color: #04061D;
  box-shadow: var(--sc-e3);
}
.rail__note-title { font-size: 30px; line-height: 36px; font-weight: 500; letter-spacing: -0.03em; }
.rail__note p { color: #4A5080; }
.rail__note .btn { background: #04061D; color: #F3F3F5; box-shadow: none; }
.rail__note .btn:hover { background: #2B55FF; }
@media (min-width: 768px) {
  .rail { gap: var(--s-32); }
  .rail__lead { margin-right: var(--s-48); }
  .plate { margin-left: -16px; }
  .plate--raised { margin-top: -64px; }
}
@media (prefers-reduced-motion: no-preference) {
  .rail > .plate, .rail > .rail__note {
    --k: clamp(0, calc(var(--sc-p, 0) * 6 - var(--i) + 1.2), 1);
    opacity: calc(0.5 + 0.5 * var(--k));
    translate: calc((1 - var(--k)) * 48px) 0;
  }
}

/* -------------------------------------------------------------- method -- */
.method__stage { display: grid; align-items: center; }
.method__bg { position: absolute; left: 50%; top: 50%; width: 120vw; max-width: none; height: auto; transform: translate(-50%, -50%); opacity: 0.22; mix-blend-mode: screen; pointer-events: none; }
.orbit {
  position: absolute; top: 50%; right: -10vw; width: min(120vw, 90vh); height: min(120vw, 90vh);
  transform: translateY(-50%); pointer-events: none;
}
.orbit__ghost { stroke: rgba(243, 243, 245, 0.08); stroke-width: 1; }
.orbit__path { stroke: url(#lg-mark); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(48, 222, 255, 0.55)); }
.orbit__mark { fill: rgba(243, 243, 245, 0.12); stroke: rgba(243, 243, 245, 0.25); stroke-width: 1; transition: fill 400ms var(--ease-out), stroke 400ms var(--ease-out), transform 400ms var(--ease-out); transform-box: fill-box; transform-origin: center; }
.orbit__mark.is-on { fill: var(--sc-accent); stroke: var(--sc-accent); transform: scale(1.5); filter: drop-shadow(0 0 8px rgba(48, 222, 255, 0.8)); }
.orbit__head { fill: #F3F3F5; filter: drop-shadow(0 0 10px rgba(48, 222, 255, 0.9)); }
.method__grid { position: relative; display: grid; gap: var(--s-40); align-content: center; min-height: 100svh; padding-block: var(--s-96); }
.method__head { display: grid; gap: var(--s-24); }
.method__steps { position: relative; min-height: 14rem; }
.method__steps::before { content: ""; position: absolute; inset: -20% -12%; z-index: -1; pointer-events: none; background: radial-gradient(70% 70% at 40% 50%, rgba(4, 6, 29, 0.82), rgba(4, 6, 29, 0.4) 60%, transparent 100%); }
.step { position: absolute; inset: 0 auto auto 0; width: 100%; display: grid; gap: var(--s-12); }
.step__n { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--sc-accent); letter-spacing: 0.1em; font-variant-numeric: tabular-nums; }
.step__title { font-size: 36px; line-height: 40px; font-weight: 300; letter-spacing: -0.03em; }
.step__body { font-size: 18px; line-height: 28px; color: var(--sc-ink-soft); max-width: 36ch; }
@media (min-width: 1024px) {
  .method__grid { grid-template-columns: 1.1fr 1fr; gap: var(--s-96); align-items: center; }
  .orbit { right: -4vw; width: min(64vw, 92vh); height: min(64vw, 92vh); }
  .method__steps { min-height: 18rem; max-width: 22rem; margin-inline: auto; }
  .step__body { max-width: 26ch; }
  .step__title { font-size: 48px; line-height: 1; }
}

/* --------------------------------------------------------------- proof -- */
.proof { padding-top: var(--s-96); }
.proof__head { margin-bottom: var(--s-48); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 var(--s-96); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: var(--s-24) 0; display: grid; gap: var(--s-8); border-bottom: 1px solid var(--line); }
.stat:nth-last-child(-n+2) { border-bottom: 0; }
.stat dt { font-size: 14px; line-height: 20px; color: var(--sc-ink-soft); order: 2; }
.stat dd { margin: 0; display: flex; align-items: baseline; gap: var(--s-4); order: 1; }
.stat__v { font-size: 48px; line-height: 1; font-weight: 300; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat__u { font-size: 20px; line-height: 28px; color: var(--sc-ink-soft); }
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; padding: var(--s-32) var(--s-24) var(--s-32) 0; border-right: 1px solid var(--line); }
  .stat + .stat { padding-left: var(--s-24); }
  .stat:last-child { border-right: 0; }
  .stat__v { font-size: 60px; }
}

.cases { display: grid; gap: var(--s-48); margin-bottom: var(--s-96); }
.case { display: grid; gap: var(--s-24); }
.case__fig {
  margin: 0; border-radius: var(--sc-r-lg); overflow: hidden; aspect-ratio: 3 / 2;
  box-shadow: var(--sc-e3); border: 1px solid var(--line);
}
.case__fig img { width: 100%; height: 100%; object-fit: cover; }
.case__copy { display: grid; gap: var(--s-12); }
.case__name { font-size: 30px; line-height: 36px; font-weight: 400; letter-spacing: -0.02em; }
.case__title { font-size: 18px; line-height: 28px; }
.case__body { color: var(--sc-ink-soft); }
.case .facts { margin-top: var(--s-8); }
.case .link { margin-top: var(--s-8); }
@media (min-width: 1024px) {
  .cases { gap: 0; }
  .case { grid-template-columns: repeat(12, 1fr); column-gap: var(--s-32); align-items: start; }
  .case--a .case__fig { grid-column: 1 / 8; grid-row: 1; }
  .case--a .case__copy { grid-column: 8 / 13; grid-row: 1; align-self: start; padding-top: var(--s-48); }
  .case--b { margin-top: -12rem; }
  .case--b .case__fig { grid-column: 6 / 13; grid-row: 1; z-index: 1; }
  .case--b .case__copy { grid-column: 1 / 6; grid-row: 1; align-self: end; padding-bottom: var(--s-48); }
  .case--b .case__fig { box-shadow: var(--sc-e3), 0 0 0 14px var(--sc-canvas); }
}

.why { display: grid; gap: 0; margin-bottom: var(--s-96); border-top: 1px solid var(--line); }
.why__title { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sc-ink-soft); padding: var(--s-24) 0 var(--s-8); }
.why__row { display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--s-4) var(--s-16); padding: var(--s-24) 0; border-top: 1px solid var(--line); align-items: baseline; }
.why__n { font-size: 14px; line-height: 20px; color: var(--sc-accent); font-weight: 600; grid-row: 1 / 3; font-variant-numeric: tabular-nums; }
.why__row h4 { font-size: 24px; line-height: 32px; font-weight: 400; letter-spacing: -0.02em; }
.why__row p { color: var(--sc-ink-soft); }
@media (min-width: 1024px) {
  .why__row { grid-template-columns: 4rem 1fr 1.4fr; gap: var(--s-24); }
  .why__n { grid-row: auto; }
  .why__row h4 { font-size: 30px; line-height: 36px; }
}

.tools { padding-block: var(--s-32) var(--s-96); border-top: 1px solid var(--line); }
.tools__label { font-size: 12px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sc-ink-soft); margin-bottom: var(--s-24); }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; flex: none; gap: var(--s-40); padding-right: var(--s-40); font-size: 24px; line-height: 32px; font-weight: 300; color: var(--sc-ink-soft); white-space: nowrap; animation: marquee 42s linear infinite; }
.marquee__track li { display: inline-flex; align-items: center; gap: var(--s-40); }
.marquee__track li::after { content: "✦"; font-size: 12px; color: var(--sc-accent); opacity: 0.7; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (min-width: 768px) { .marquee__track { font-size: 30px; line-height: 36px; gap: var(--s-48); padding-right: var(--s-48); } .marquee__track li { gap: var(--s-48); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; white-space: normal; }
  .marquee__track[aria-hidden] { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}

/* -------------------------------------------------------------- people -- */
.people__grid { display: grid; gap: var(--s-64); }
.founder { display: grid; gap: var(--s-32); }
.founder__fig { margin: 0; border-radius: var(--sc-r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--sc-e3); border: 1px solid var(--line); }
.founder__fig img { width: 100%; height: 100%; object-fit: cover; }
.founder__copy { display: grid; gap: var(--s-16); }
.founder__quote { margin: 0; }
.founder__quote p { font-size: 20px; line-height: 28px; font-weight: 300; letter-spacing: -0.01em; max-width: 44ch; }
.founder__name { display: grid; gap: var(--s-2); }
.founder__name strong { font-size: 18px; line-height: 28px; }
.founder__name span { font-size: 14px; line-height: 20px; color: var(--sc-ink-soft); }
.founder__facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-12) var(--s-16); font-size: 14px; line-height: 20px; margin-top: var(--s-8); }
.founder__facts li { display: flex; gap: var(--s-8); align-items: center; }
.founder__facts svg { color: var(--sc-accent); flex: none; }
.faq__title { font-size: 30px; line-height: 36px; font-weight: 300; letter-spacing: -0.02em; margin-bottom: var(--s-24); }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-16);
  padding: var(--s-16) 0; font-size: 18px; line-height: 28px; font-weight: 500;
  transition: color 160ms var(--ease-out);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--sc-accent); }
.qa summary svg { flex: none; color: var(--sc-ink-soft); transition: transform 400ms var(--ease); }
.qa[open] summary svg { transform: rotate(180deg); color: var(--sc-accent); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms var(--ease); }
.qa[open] .qa__a { grid-template-rows: 1fr; }
.qa__a > p { overflow: hidden; color: var(--sc-ink-soft); padding-bottom: 0; max-width: 60ch; transition: padding 420ms var(--ease); }
.qa[open] .qa__a > p { padding-bottom: var(--s-24); }
@media (min-width: 1024px) {
  .people__grid { grid-template-columns: 1fr 1fr; gap: var(--s-96); align-items: start; }
  .founder { position: sticky; top: 120px; }
  .founder__fig { aspect-ratio: 16 / 10; }
  .founder__quote p { font-size: 24px; line-height: 32px; }
}
@media (min-width: 1280px) { .faq__title { font-size: 36px; line-height: 40px; } }

/* --------------------------------------------------------------- close -- */
.close { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding-top: var(--s-96); }
.close__grid { display: grid; gap: var(--s-48); padding-bottom: var(--s-96); }
.close__copy { display: grid; gap: var(--s-24); align-content: center; }
.close__title { font-size: 48px; line-height: 1; font-weight: 300; letter-spacing: -0.04em; max-width: 12ch; }
.close__alt { font-size: 14px; line-height: 20px; color: var(--sc-ink-soft); }
.close__alt a { display: inline-flex; align-items: center; gap: var(--s-8); color: var(--sc-ink); font-weight: 500; margin-left: var(--s-4); }
.close__alt a:hover { color: var(--sc-accent); }
.form {
  position: relative; display: grid; gap: var(--s-24);
  padding: var(--s-32); border-radius: var(--sc-r-lg); border: 1px solid var(--line);
  background: var(--glass-strong); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--sc-edge), var(--sc-e3);
}
.form__grid { display: grid; gap: var(--s-16); }
.field { display: grid; gap: var(--s-8); }
.field label { font-size: 14px; line-height: 20px; font-weight: 500; }
.field label span { color: var(--sc-ink-soft); font-weight: 400; }
.field input, .field textarea {
  width: 100%; padding: var(--s-12) var(--s-16); border-radius: var(--sc-r-md);
  border: 1px solid var(--line-strong); background: rgba(243, 243, 245, 0.04); color: var(--sc-ink);
  font-size: 16px; line-height: 24px;
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(155, 162, 199, 0.6); }
.field input:hover, .field textarea:hover { border-color: rgba(243, 243, 245, 0.3); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--sc-accent); box-shadow: 0 0 0 3px rgba(48, 222, 255, 0.2); background: rgba(48, 222, 255, 0.04); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #FF6B8A; }
.field__err, .form__err { font-size: 14px; line-height: 20px; color: #FF9DB2; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { justify-self: start; }
.form.is-done .form__grid, .form.is-done .form__submit { display: none; }
.form__done[hidden] { display: none; }
.form__done { display: grid; gap: var(--s-8); justify-items: start; padding: var(--s-16) 0; }
.form__done-title { font-size: 24px; line-height: 32px; font-weight: 500; }
.form__done p:not(.form__done-title) { color: var(--sc-ink-soft); }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .close { padding-top: 0; }
  .close__grid { grid-template-columns: 1fr 1.1fr; gap: var(--s-96); align-items: center; min-height: 100svh; padding-block: var(--s-96); }
  .close__title { font-size: 72px; }
}
@media (min-width: 1536px) { .close__title { font-size: 96px; } }

.foot { border-top: 1px solid var(--line); padding: var(--s-32) 0; background: rgba(2, 3, 12, 0.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.foot__grid { display: grid; gap: var(--s-16); font-size: 14px; line-height: 20px; color: var(--sc-ink-soft); align-items: center; }
.foot__brand { display: inline-flex; align-items: center; gap: var(--s-8); color: var(--sc-ink); }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--s-16); }
.foot__links a:hover, .foot__top:hover { color: var(--sc-ink); }
.foot__top { display: inline-flex; align-items: center; gap: var(--s-8); }
@media (min-width: 1024px) {
  .foot__grid { grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: var(--s-48); }
  .foot__brand { grid-column: 1; grid-row: 1; }
  .foot__tag { grid-column: 2; grid-row: 1; }
  .foot__links { grid-column: 3; grid-row: 1; justify-self: end; }
  .foot__legal { grid-column: 1 / 3; grid-row: 2; }
  .foot__top { grid-column: 3; grid-row: 2; justify-self: end; }
}

/* ----------------------------------------------------------- spotlight -- */
.close[data-sc-spotlight]::after { z-index: 0; }
.close > * { position: relative; z-index: 1; }

/* ----------------------------------------------------------- headlines --
   The display serif (Fraunces) marks the words meant to land emotionally —
   the hero promise, the pivot line, the section titles, the founder quote.
   Upright, not italic — confident agency tone rather than editorial cursive.
   Everything else stays in Manrope for legibility. Placed last on purpose
   so it wins the cascade over each section's own font-weight/letter-spacing. */
.hero__title,
.tension__line--last,
.turn__tagline,
.step__title,
.faq__title,
.close__title,
.founder__quote p {
  font-family: var(--sc-font-display) !important;
  font-style: normal !important;
  font-optical-sizing: auto;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
}

/* The second beat of each headline lands heavier — same upright Fraunces,
   jumped to a bold weight, for a quiet punch without changing font. */
.hero__title .fw-heavy,
.tension__line--last .fw-heavy,
.turn__tagline .fw-heavy,
.faq__title .fw-heavy,
.close__title .fw-heavy,
.founder__quote p .fw-heavy {
  font-weight: 700 !important;
}

/* Hero word cycle: types and deletes each word in turn (see main.js),
   in the accent colour with a blinking caret, like the live site. */
.hero__cycle { color: var(--sc-accent); }
.hero__cursor {
  display: inline-block; width: 3px; height: 0.8em; margin-left: 2px;
  background: var(--sc-accent); vertical-align: middle; border-radius: 2px;
  animation: sc-cursor-blink 1s step-end infinite;
}
@keyframes sc-cursor-blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  .hero__title .line, .rise { animation: none !important; transform: none; opacity: 1; }
  .tension__line { transition: none; transform: none; }
  .nebula { transform: translate(-50%, -50%) !important; }
  .plate, .rail__note { opacity: 1 !important; translate: none !important; }
  .hero__cursor { animation: none !important; opacity: 1; }
}
