/* ============================================================
   BUILDXYNTRA — "Noise in. Signal out."
   Identity: ink black / bone paper / signal orange
   Type: Fraunces (display serif) · Space Grotesk (UI) · Space Mono (labels)
   ============================================================ */

:root {
  --ink: #0A0A0C;
  --ink-2: #131316;
  --ink-3: #1C1C21;
  --paper: #F2EEE5;
  --paper-2: #E9E4D8;
  --signal: #FF4D00;
  --signal-soft: #FF6B2C;
  --grey: #8A8A93;
  --grey-dark: #55555E;
  --line-ink: rgba(10, 10, 12, 0.14);
  --line-paper: rgba(242, 238, 229, 0.14);

  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
em { font-style: italic; }

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.container {
  width: min(1360px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

::selection { background: var(--signal); color: var(--ink); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 300;
  background: var(--signal);
  color: var(--ink);
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  border-radius: 4px;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ============================================================
   LOADER
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  display: grid;
  place-content: center;
  gap: 22px;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.loader.is-done { opacity: 0; visibility: hidden; }

.loader__mark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.34em;
  color: var(--paper);
}
.loader__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--signal);
  animation: pulse 0.9s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.55); opacity: 0.5; }
}
.loader__bar {
  width: 180px; height: 1px;
  background: var(--line-paper);
  overflow: hidden;
}
.loader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--signal);
  transition: width 0.25s var(--ease-out);
}

/* ============================================================
   CURSOR
   ============================================================ */
.cursor { display: none; }

@media (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    top: 0; left: 0;
    z-index: 250;
    pointer-events: none;
  }
  .cursor__dot {
    position: absolute;
    width: 6px; height: 6px;
    margin: -3px;
    border-radius: 50%;
    background: var(--signal);
  }
  .cursor__ring {
    position: absolute;
    width: 34px; height: 34px;
    margin: -17px;
    border-radius: 50%;
    border: 1px solid rgba(255, 77, 0, 0.55);
    transition: transform 0.25s var(--ease-out), opacity 0.25s;
  }
  .cursor.is-active .cursor__ring { transform: scale(1.6); opacity: 0.9; }
  .cursor.is-hidden { opacity: 0; }
  .cursor__label {
    position: absolute;
    top: 14px; left: 14px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--ink);
    background: var(--signal);
    padding: 4px 8px;
    border-radius: 3px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s, transform 0.2s;
  }
  .cursor.has-label .cursor__label { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  transition: transform 0.45s var(--ease-out), background 0.35s, backdrop-filter 0.35s;
}
.nav.is-scrolled {
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav.is-hidden { transform: translateY(-110%); }

.nav__logo {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.26em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__logo-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--signal);
}

.nav__links {
  display: flex;
  gap: 34px;
}
.nav__links a {
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--grey);
  position: relative;
  transition: color 0.25s;
  padding: 4px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav__links a:hover { color: var(--paper); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  padding: 11px 20px;
  border-radius: 100px;
  transition: background 0.3s, color 0.3s;
}
.nav__cta:hover { background: var(--signal); }

.nav__burger {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--paper);
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

/* Mobile menu */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.mmenu.is-open { opacity: 1; visibility: visible; }
.mmenu__links { display: flex; flex-direction: column; gap: 6px; }
.mmenu__links a {
  font-family: var(--font-display);
  font-size: clamp(38px, 9vw, 56px);
  font-weight: 400;
  line-height: 1.25;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.5s, color 0.3s;
}
.mmenu.is-open .mmenu__links a { transform: translateY(0); opacity: 1; }
.mmenu.is-open .mmenu__links a:nth-child(2) { transition-delay: 0.05s; }
.mmenu.is-open .mmenu__links a:nth-child(3) { transition-delay: 0.1s; }
.mmenu.is-open .mmenu__links a:nth-child(4) { transition-delay: 0.15s; }
.mmenu.is-open .mmenu__links a:nth-child(5) { transition-delay: 0.2s; }
.mmenu__links a:hover { color: var(--signal); }
.mmenu__cta {
  margin-top: 28px;
  font-family: var(--font-mono) !important;
  font-size: 14px !important;
  color: var(--signal);
}
.mmenu__foot {
  position: absolute;
  bottom: 28px;
  left: var(--gutter);
  color: var(--grey);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 40%, rgba(10, 10, 12, 0.75) 100%),
    linear-gradient(to bottom, rgba(10,10,12,0.55), transparent 22%, transparent 72%, var(--ink) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter);
  width: min(1360px, 100%);
  margin-inline: auto;
  pointer-events: none;
}
.hero__content a { pointer-events: auto; }

.hero__eyebrow {
  color: var(--grey);
  margin-bottom: clamp(16px, 3vh, 30px);
  display: flex;
  align-items: center;
  gap: 10px;
}
.blink { color: var(--signal); animation: blink 1.6s steps(2) infinite; font-size: 9px; }
@keyframes blink { 50% { opacity: 0.15; } }

.hero__title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(56px, 11.2vw, 164px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero__line {
  display: block;
  overflow: hidden;
  /* breathing room so serif ascenders/descenders & italic overhangs don't clip */
  padding: 0.06em 0.12em 0.14em 0.04em;
  margin: -0.06em -0.12em -0.14em -0.04em;
}
/* the mask only exists for the entrance — lift it once the intro settles */
body.intro-done .hero__line { overflow: visible; }
.hero__line .w {
  display: inline-block;
  transform: translateY(110%) rotate(2deg);
  transition: transform 1s var(--ease-out);
}
body.is-loaded .hero__line .w { transform: translateY(0) rotate(0); }
body.is-loaded .hero__line:nth-child(1) .w:nth-child(2) { transition-delay: 0.06s; }
body.is-loaded .hero__line:nth-child(2) .w:nth-child(1) { transition-delay: 0.14s; }
body.is-loaded .hero__line:nth-child(2) .w:nth-child(2) { transition-delay: 0.2s; }

.hero__line--accent {
  color: var(--signal);
  text-shadow:
    0 0 26px rgba(255, 77, 0, 0.38),
    0 0 90px rgba(255, 77, 0, 0.18);
}
.it { font-style: italic; font-weight: 380; }

/* floating frequency debris — faint fragments at different depths */
.debris {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  --px: 0;
  --py: 0;
}
.debris__i {
  position: absolute;
  left: var(--dx);
  top: var(--dy);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(242, 238, 229, 0.16);
  transform:
    translate3d(calc(var(--px) * var(--dd) * 6px), calc(var(--py) * var(--dd) * 6px), 0)
    rotate(var(--dr));
  animation: debrisFloat calc(9s + var(--dd) * 2s) ease-in-out infinite alternate;
  will-change: transform;
}
.debris__i--serif {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 34px);
  letter-spacing: 0;
  color: rgba(242, 238, 229, 0.12);
}
.debris__i--accent { color: rgba(255, 77, 0, 0.3); }
.debris__i--box {
  border: 1px solid rgba(242, 238, 229, 0.14);
  border-radius: 8px;
  padding: 10px 12px;
}
@keyframes debrisFloat {
  from { margin-top: 0; }
  to { margin-top: calc(-6px - var(--dd) * 2px); }
}
@media (max-width: 700px) {
  .debris__i:nth-child(odd) { display: none; }
}

/* hero feature tags */
.hero__feats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: clamp(28px, 4.5vh, 46px);
}
.hero__feat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--grey);
}
.hero__feat i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 8px rgba(255, 77, 0, 0.8);
}
body.is-loaded .hero__feats.reveal-line { transition-delay: 0.65s; }

/* compress the hero stack on short viewports so nav & hint keep breathing room */
@media (max-height: 800px) {
  .hero__title { font-size: clamp(48px, 9.6vw, 126px); }
  .hero__sub { margin-top: clamp(26px, 3.5vh, 38px); }
  .hero__actions { margin-top: clamp(22px, 3vh, 32px); }
  .hero__feats { margin-top: clamp(20px, 3vh, 30px); }
}

.hero__sub {
  max-width: 500px;
  margin-top: clamp(38px, 5.5vh, 58px);
  color: rgba(242, 238, 229, 0.78);
  font-size: clamp(15px, 1.5vw, 17.5px);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(26px, 4vh, 44px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 100px;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
  will-change: transform;
}
.btn--solid { background: var(--signal); color: var(--ink); }
.btn--solid:hover { background: var(--paper); }
.btn--solid .btn__arrow { transition: transform 0.3s var(--ease-out); }
.btn--solid:hover .btn__arrow { transform: translateX(4px); }
.btn--ghost {
  border: 1px solid rgba(242, 238, 229, 0.28);
  color: var(--paper);
}
.btn--ghost:hover { border-color: var(--signal); color: var(--signal); }

/* Reveal-on-load lines */
.reveal-line {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
body.is-loaded .reveal-line { opacity: 1; transform: none; }
body.is-loaded .hero__sub.reveal-line { transition-delay: 0.35s; }
body.is-loaded .hero__actions.reveal-line { transition-delay: 0.5s; }
body.is-loaded .hero__eyebrow.reveal-line { transition-delay: 0.1s; }

.hero__hint {
  position: absolute;
  z-index: 2;
  bottom: 26px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--grey);
  opacity: 0;
  transition: opacity 1s 1.2s;
}
body.is-loaded .hero__hint { opacity: 1; }
.hero__scroll { display: flex; align-items: center; gap: 10px; }
.hero__scroll-track {
  width: 1px; height: 34px;
  background: var(--line-paper);
  position: relative;
  overflow: hidden;
}
.hero__scroll-thumb {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 40%;
  background: var(--signal);
  animation: scrollHint 1.8s var(--ease-inout) infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(-110%); }
  60%, 100% { transform: translateY(260%); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--signal);
  color: var(--ink);
  overflow: hidden;
  padding: 15px 0;
  transform: rotate(-1.1deg) scale(1.02);
  margin-block: -12px 0;
  position: relative;
  z-index: 3;
}
.marquee__track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.18em;
  font-weight: 700;
}
.marquee__track em { font-style: normal; margin: 0 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section--paper { background: var(--paper); color: var(--ink); }
.section--ink { background: var(--ink); color: var(--paper); }

.kicker {
  color: var(--grey-dark);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(28px, 5vh, 52px);
}
.kicker::after {
  content: "";
  height: 1px;
  flex: 0 0 clamp(40px, 8vw, 120px);
  background: currentColor;
  opacity: 0.4;
}
.kicker--onink { color: var(--grey); }

.section__title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: clamp(40px, 8vh, 90px);
}
.section__title em { color: var(--signal); font-weight: 380; }
.section__title--onink { color: var(--paper); }

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: none; }

/* word-by-word reveal */
.reveal-words .rw {
  display: inline-block;
  opacity: 0.12;
  transition: opacity 0.5s;
}
.reveal-words .rw.on { opacity: 1; }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { padding: clamp(90px, 16vh, 190px) 0 clamp(70px, 12vh, 150px); }
.manifesto__text {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(26px, 3.6vw, 52px);
  line-height: 1.22;
  letter-spacing: -0.015em;
  max-width: 1150px;
}
.manifesto__text em { color: var(--signal); }

.manifesto__row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: end;
  margin-top: clamp(48px, 9vh, 100px);
}
.manifesto__note {
  font-size: clamp(15.5px, 1.4vw, 18px);
  line-height: 1.7;
  color: rgba(10, 10, 12, 0.72);
  max-width: 520px;
}
.manifesto__sig { justify-self: end; width: min(320px, 100%); }
.sigwave { width: 100%; overflow: visible; }
.sigwave__noise {
  stroke: rgba(10, 10, 12, 0.35);
  stroke-width: 1.5;
}
.sigwave__pure {
  stroke: var(--signal);
  stroke-width: 2;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
}
.in-view .sigwave__pure { animation: drawWave 1.6s 0.3s var(--ease-out) forwards; }
@keyframes drawWave { to { stroke-dashoffset: 0; } }
.sigwave__dot { fill: var(--signal); }
.sigwave__caption { margin-top: 10px; color: var(--grey-dark); }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: clamp(70px, 12vh, 150px) 0 clamp(90px, 16vh, 190px); }

.svc { border-top: 1px solid var(--line-ink); }
.svc__row { border-bottom: 1px solid var(--line-ink); }

.svc__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(18px, 3.5vw, 56px);
  padding: clamp(26px, 4.5vh, 46px) clamp(10px, 1.6vw, 26px);
  position: relative;
  isolation: isolate;
  transition: color 0.35s var(--ease-out);
}
.svc__link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease-out);
}
.svc__link:hover::before,
.svc__link:focus-visible::before { transform: scaleY(1); transform-origin: top; }
.svc__link:hover,
.svc__link:focus-visible { color: var(--paper); }

.svc__num {
  color: var(--signal);
  font-size: 13px;
  align-self: start;
  padding-top: 8px;
}

.svc__body { display: flex; flex-direction: column; gap: 14px; }
.svc__name {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  transition: transform 0.4s var(--ease-out);
}
.svc__link:hover .svc__name { transform: translateX(10px); }
.svc__desc {
  max-width: 560px;
  font-size: clamp(14.5px, 1.3vw, 16.5px);
  line-height: 1.65;
  color: rgba(10, 10, 12, 0.62);
  transition: color 0.35s;
}
.svc__link:hover .svc__desc,
.svc__link:focus-visible .svc__desc { color: rgba(242, 238, 229, 0.66); }
.svc__tags {
  color: var(--grey-dark);
  font-size: 10.5px;
  transition: color 0.35s;
}
.svc__link:hover .svc__tags { color: var(--signal-soft); }

.svc__glyph {
  width: clamp(48px, 5.4vw, 76px);
  opacity: 0.85;
}
.svc__glyph svg {
  width: 100%;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.5s var(--ease-out);
}
.svc__glyph svg .fill { fill: var(--signal); stroke: none; }
.svc__link:hover .svc__glyph svg { transform: rotate(-6deg) scale(1.08); }

.svc__arrow {
  font-size: clamp(22px, 2.6vw, 34px);
  transition: transform 0.4s var(--ease-out), color 0.3s;
}
.svc__link:hover .svc__arrow { transform: translateX(8px); color: var(--signal); }

/* ============================================================
   PROCESS
   ============================================================ */
.process { padding: clamp(90px, 16vh, 190px) 0; }

.steps {
  position: relative;
  display: grid;
  gap: clamp(48px, 9vh, 100px);
  padding-left: clamp(34px, 5vw, 70px);
}
.steps__rail {
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line-paper);
}
.steps__rail span {
  display: block;
  width: 100%;
  height: 0%;
  background: var(--signal);
  transition: height 0.2s linear;
}

.step { position: relative; max-width: 640px; }
/* huge ghost numerals fill the right side of the process section */
.step::after {
  content: attr(data-ghost);
  position: absolute;
  right: calc(-1 * min(38vw, 480px));
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 320;
  font-style: italic;
  font-size: clamp(120px, 22vw, 320px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 238, 229, 0.1);
  pointer-events: none;
  user-select: none;
  transition: -webkit-text-stroke-color 0.6s;
}
.step.in-view::after { -webkit-text-stroke-color: rgba(255, 77, 0, 0.22); }
@media (max-width: 1024px) { .step::after { display: none; } }
.step::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(34px, 5vw, 70px) + 4px);
  top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid var(--grey);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.step.in-view::before {
  background: var(--signal);
  border-color: var(--signal);
  box-shadow: 0 0 18px rgba(255, 77, 0, 0.55);
}
.step__num { color: var(--signal); margin-bottom: 12px; }
.step__name {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}
.step__desc {
  color: rgba(242, 238, 229, 0.68);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.7;
  margin-bottom: 14px;
}
.step__meta { color: var(--grey); }

/* ============================================================
   WHY / STATS
   ============================================================ */
.why { padding: 0 0 clamp(90px, 16vh, 190px); }
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-paper);
  border-left: 1px solid var(--line-paper);
}
.stat {
  border-right: 1px solid var(--line-paper);
  border-bottom: 1px solid var(--line-paper);
  padding: clamp(28px, 4vw, 52px) clamp(20px, 2.6vw, 40px);
  transition: background 0.4s;
}
.stat:hover { background: var(--ink-2); }
.stat__num {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(44px, 5.4vw, 82px);
  line-height: 1;
  color: var(--signal);
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(242, 238, 229, 0.62);
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  padding: clamp(110px, 20vh, 230px) 0;
  overflow: hidden;
  border-top: 1px solid var(--line-paper);
}
.cta__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.cta__inner { position: relative; z-index: 2; text-align: center; }
.cta .kicker { justify-content: center; }
.cta .kicker::after { display: none; }
.cta__title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(48px, 8.4vw, 128px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.cta__title em { color: var(--signal); font-weight: 380; }
.cta__sub {
  max-width: 520px;
  margin: clamp(42px, 6.5vh, 66px) auto 0;
  color: rgba(242, 238, 229, 0.7);
  line-height: 1.7;
  font-size: clamp(15px, 1.4vw, 17px);
}
.cta__mail {
  display: inline-block;
  margin-top: clamp(36px, 6vh, 64px);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(22px, 3.6vw, 44px);
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 8px;
  transition: color 0.3s;
}
.cta__mail:hover { color: var(--signal); }
.cta__mail-line {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--signal);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.cta__mail:hover .cta__mail-line {
  animation: lineSweep 0.7s var(--ease-out);
}
@keyframes lineSweep {
  0% { transform: scaleX(1); transform-origin: right; }
  45% { transform: scaleX(0); transform-origin: right; }
  55% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line-paper);
  padding-top: clamp(56px, 9vh, 100px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 5vw, 60px);
  padding-bottom: clamp(48px, 8vh, 90px);
}
.footer__logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.26em;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
}
.footer__tag { color: var(--grey); }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__head { color: var(--grey); margin-bottom: 6px; }
.footer__col a {
  font-size: 14.5px;
  color: rgba(242, 238, 229, 0.72);
  transition: color 0.25s, transform 0.25s;
  width: fit-content;
}
.footer__col a:hover { color: var(--signal); transform: translateX(4px); }
.footer__local { color: var(--grey); margin-top: 6px; }
.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-paper);
  padding-block: 22px;
  color: var(--grey);
}

/* ============================================================
   GUIDE PAGE
   ============================================================ */
.guide-hero {
  padding: clamp(140px, 24vh, 240px) 0 clamp(60px, 10vh, 110px);
}
.guide-hero__title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(44px, 7.4vw, 110px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.guide-hero__title em { color: var(--signal); }
.guide-hero__sub {
  max-width: 640px;
  margin-top: clamp(36px, 5vh, 52px);
  color: rgba(242, 238, 229, 0.72);
  font-size: clamp(15px, 1.4vw, 17.5px);
  line-height: 1.7;
}

.guide-body { padding-bottom: clamp(90px, 16vh, 180px); }
.guide-section {
  border-top: 1px solid var(--line-paper);
  padding: clamp(48px, 8vh, 90px) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
  gap: clamp(28px, 5vw, 90px);
}
.guide-section__label {
  color: var(--signal);
  position: sticky;
  top: 110px;
  align-self: start;
}
.guide-section h2 {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 26px;
}
.guide-section h3 {
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 600;
  margin: 34px 0 10px;
  color: var(--paper);
}
.guide-section p, .guide-section li {
  color: rgba(242, 238, 229, 0.72);
  font-size: 15.5px;
  line-height: 1.75;
}
.guide-section p + p { margin-top: 14px; }
.guide-section ul { margin-top: 12px; display: grid; gap: 10px; }
.guide-section ul li {
  padding-left: 22px;
  position: relative;
}
.guide-section ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--signal);
}
.guide-section strong { color: var(--paper); font-weight: 600; }
.guide-section code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--ink-3);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--signal-soft);
}
.guide-swatches {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.guide-swatch {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--grey);
}
.guide-swatch span {
  width: 92px;
  height: 60px;
  border-radius: 6px;
  border: 1px solid var(--line-paper);
}
.guide-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--signal);
}
.guide-back:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .svc__glyph { display: none; }
}

@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .manifesto__row { grid-template-columns: 1fr; }
  .manifesto__sig { justify-self: start; }

  .svc__link {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
  }

  .guide-section { grid-template-columns: 1fr; gap: 18px; }
  .guide-section__label { position: static; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__hint { justify-content: center; }
  .hero__hint-txt { display: none; }
  .why__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .svc__num { display: none; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   CAPABILITIES BAND — twin counter-scrolling marquees (paper)
   ============================================================ */
.capsband {
  margin-top: clamp(56px, 10vh, 110px);
}
.capsband__label {
  color: var(--grey-dark);
  margin-bottom: 18px;
}
.capsband__row {
  overflow: hidden;
  border-top: 1px solid var(--line-ink);
  padding: 16px 0;
}
.capsband__row:last-child { border-bottom: 1px solid var(--line-ink); }
.capsband__track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee 38s linear infinite;
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(18px, 2.2vw, 28px);
  letter-spacing: -0.01em;
  color: rgba(10, 10, 12, 0.82);
}
.capsband__row--rev .capsband__track { animation-direction: reverse; }
.capsband__track em {
  font-style: normal;
  color: var(--signal);
  margin: 0 22px;
  font-size: 0.7em;
  vertical-align: middle;
}

/* ============================================================
   RESULTS — 3D orbit of stat cards (paper)
   ============================================================ */
.results {
  padding: clamp(90px, 16vh, 190px) 0;
  overflow: hidden;
}
.results__sub {
  max-width: 520px;
  margin-top: calc(-1 * clamp(20px, 4vh, 50px));
  margin-bottom: 0;
  color: rgba(10, 10, 12, 0.62);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
}

.orbit { margin-top: clamp(48px, 9vh, 100px); }
.orbit__stage {
  perspective: 1500px;
  height: 420px;
  display: grid;
  place-items: center;
}
.orbit__ring {
  position: relative;
  width: 250px;
  height: 310px;
  transform-style: preserve-3d;
  animation: orbitSpin 46s linear infinite;
}
@keyframes orbitSpin {
  from { transform: rotateX(-9deg) rotateY(0deg); }
  to   { transform: rotateX(-9deg) rotateY(-360deg); }
}

.ocard {
  position: absolute;
  inset: 0;
  transform: rotateY(calc(var(--i) * 45deg)) translateZ(320px);
  background: #FFFDF6;
  border: 1px solid var(--line-ink);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 24px 48px -20px rgba(10, 10, 12, 0.22);
}
.ocard__label {
  font-size: 9.5px;
  color: var(--grey-dark);
}
.ocard__viz {
  width: 100%;
  height: 96px;
  margin: 10px 0 4px;
}
.ocard__num {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: 46px;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.ocard__num small {
  font-size: 0.5em;
  color: var(--signal);
  font-style: italic;
  margin-left: 2px;
}
.ocard__sub {
  font-size: 12.5px;
  color: rgba(10, 10, 12, 0.55);
  line-height: 1.5;
}
.orbit__hint {
  text-align: center;
  color: var(--grey-dark);
  margin-top: clamp(26px, 5vh, 46px);
}

/* orbit fallback: flat grid on small screens & reduced motion */
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .orbit__stage { perspective: none; height: auto; }
  .orbit__ring {
    width: min(680px, 100% - var(--gutter) * 2);
    height: auto;
    margin-inline: auto;
    animation: none;
    transform: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .ocard { position: static; transform: none; }
  .orbit__hint { display: none; }
}
@media (max-width: 440px) {
  .orbit__ring { grid-template-columns: 1fr; }
}

/* ============================================================
   VOICES — transmission-log panels (ink)
   ============================================================ */
.voices { padding: clamp(90px, 16vh, 190px) 0; }
.voices__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.vpanel {
  margin: 0;
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line-paper);
  border-radius: 16px;
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.45s;
}
.vpanel:nth-child(3n + 2) { margin-top: 34px; }
.vpanel::before,
.vpanel::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  opacity: 0.75;
  transition: opacity 0.3s;
}
.vpanel::before {
  top: 10px; left: 10px;
  border-top: 1.5px solid var(--signal);
  border-left: 1.5px solid var(--signal);
}
.vpanel::after {
  bottom: 10px; right: 10px;
  border-bottom: 1.5px solid var(--signal);
  border-right: 1.5px solid var(--signal);
}
.vpanel:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 77, 0, 0.38);
  box-shadow: 0 36px 70px -32px rgba(255, 77, 0, 0.3);
}
.vpanel:hover::before,
.vpanel:hover::after { opacity: 1; }

.vpanel__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9.5px;
  color: var(--grey);
}
.vpanel__st { color: var(--signal); }
.vpanel__q {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(242, 238, 229, 0.8);
  flex: 1;
}
.vpanel__q em {
  font-family: var(--font-display);
  font-size: 1.12em;
  color: var(--signal);
}
.vpanel__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vpanel__av {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ink-3);
  border: 1px solid var(--line-paper);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--signal);
  letter-spacing: 0.05em;
}
.vpanel__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vpanel__who b {
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
}
.vpanel__who {
  font-size: 12px;
  color: var(--grey);
}
.vpanel__tag {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 9px;
  color: var(--signal-soft);
  border: 1px solid rgba(255, 77, 0, 0.4);
  border-radius: 6px;
  padding: 5px 8px;
}

/* ============================================================
   FAQ — glass panels over a liquid blob (ink)
   ============================================================ */
.faq {
  position: relative;
  padding: clamp(90px, 16vh, 190px) 0;
  overflow: hidden;
}
.faq__blob {
  position: absolute;
  width: min(70vw, 860px);
  height: min(70vw, 860px);
  right: -18vw;
  top: -6%;
  pointer-events: none;
  background:
    radial-gradient(circle at 32% 32%, rgba(255, 77, 0, 0.24), transparent 58%),
    radial-gradient(circle at 68% 62%, rgba(255, 140, 60, 0.13), transparent 55%);
  filter: blur(64px);
  animation: blobFloat 16s ease-in-out infinite alternate;
}
@keyframes blobFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-9%, 7%) scale(1.14); }
}
.faq__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.faq__side { position: sticky; top: 120px; }
.faq__side .section__title { margin-bottom: clamp(36px, 5.5vh, 52px); }
.faq__sub {
  color: rgba(242, 238, 229, 0.68);
  font-size: clamp(15px, 1.35vw, 16.5px);
  line-height: 1.7;
  max-width: 380px;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: rgba(242, 238, 229, 0.05);
  border: 1px solid rgba(242, 238, 229, 0.13);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.3s, background 0.3s;
}
.faq__item:hover,
.faq__item[open] {
  border-color: rgba(255, 77, 0, 0.42);
  background: rgba(242, 238, 229, 0.07);
}
.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 19px 22px;
  cursor: pointer;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__n { color: var(--signal); flex: 0 0 auto; }
.faq__q {
  flex: 1;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--paper);
  line-height: 1.45;
}
.faq__x {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease-out);
}
.faq__x::before,
.faq__x::after {
  content: "";
  position: absolute;
  background: var(--signal);
  border-radius: 2px;
}
.faq__x::before { left: 0; right: 0; top: 7px; height: 2px; }
.faq__x::after { top: 0; bottom: 0; left: 7px; width: 2px; }
.faq__item[open] .faq__x { transform: rotate(45deg); }
.faq__awrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
}
.faq__item.is-open .faq__awrap,
.no-js .faq__item[open] .faq__awrap { grid-template-rows: 1fr; }
.faq__a {
  overflow: hidden;
  min-height: 0;
  padding: 0 22px 0 62px;
  color: rgba(242, 238, 229, 0.66);
  font-size: 14.5px;
  line-height: 1.75;
}
.faq__item[open] .faq__a { padding-bottom: 20px; }

/* ============================================================
   CTA PILLS + FOOTER GIANT
   ============================================================ */
.cta__pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(26px, 4vh, 40px);
}
.cta__pill {
  border: 1px solid rgba(242, 238, 229, 0.24);
  border-radius: 100px;
  padding: 9px 16px;
  font-size: 10px;
  color: var(--grey);
}
.footer__giant {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(56px, 12.5vw, 185px);
  line-height: 0.85;
  letter-spacing: 0.05em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 238, 229, 0.09);
  user-select: none;
  pointer-events: none;
  margin-top: clamp(10px, 3vh, 30px);
}

/* new-section responsive */
@media (max-width: 1024px) {
  .voices__grid { grid-template-columns: repeat(2, 1fr); }
  .vpanel:nth-child(3n + 2) { margin-top: 0; }
  .vpanel:nth-child(even) { margin-top: 28px; }
}
@media (max-width: 820px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__side { position: static; }
  .voices__grid { grid-template-columns: 1fr; }
  .vpanel:nth-child(even) { margin-top: 0; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-line, .hero__line .w { opacity: 1 !important; transform: none !important; }
  .reveal-words .rw { opacity: 1 !important; }
  .marquee__track { animation: none; }
  .capsband__track { animation: none; }
  .cursor { display: none !important; }
  .faq__item[open] .faq__awrap { grid-template-rows: 1fr; }
}
