/* ==========================================================================
   Cranespark Technologies
   Palette taken from fiber jacket colours: singlemode yellow, OM3 aqua,
   multimode orange, on a night-sky navy.
   ========================================================================== */

:root {
  --ink: #07142B;
  --ink-raised: #0D1F3D;
  --ink-deep: #040C1C;
  --line: rgba(173, 200, 230, 0.14);
  --line-strong: rgba(173, 200, 230, 0.28);
  --text: #E9F0F7;
  --muted: #93A6BF;

  --yellow: #F2D22E;   /* singlemode jacket, primary action */
  --aqua: #2CD4C4;     /* OM3 jacket, live / active state */
  --orange: #FF8A1F;   /* multimode jacket, used sparingly */

  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.65rem;
  --step-3: clamp(2.1rem, 4.6vw, 3.6rem);
  --step-4: clamp(3.1rem, 9.5vw, 8.6rem);

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --maxw: 78rem;
  --radius-s: 6px;
  --radius-m: 14px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.02; }
p { margin: 0; }

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

:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }

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

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--yellow); color: var(--ink); padding: .6rem 1rem; border-radius: var(--radius-s);
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- WebGL canvas & cursor ---------- */

#signal-canvas {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  z-index: 0; pointer-events: none;
}

.cursor { position: fixed; inset: 0; z-index: 90; pointer-events: none; display: none; opacity: 0; transition: opacity .3s; }
.cursor.is-live { opacity: 1; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring {
  position: absolute; left: 0; top: 0; border-radius: 50%;
}
.cursor__dot { width: 6px; height: 6px; background: var(--yellow); }
.cursor__ring {
  width: 34px; height: 34px; border: 1px solid rgba(242, 210, 46, .5);
  transition: width .3s var(--ease-out), height .3s var(--ease-out), border-color .3s, background-color .3s;
}
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; border-color: var(--yellow); background: rgba(242, 210, 46, .08); }

main, .footer { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */

.btn {
  --pad-y: .95rem; --pad-x: 1.5rem;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: color .3s, border-color .3s, background-color .3s;
  will-change: transform;
}
.btn--primary { background: var(--yellow); color: var(--ink); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--text); border-radius: inherit;
  transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn--primary:hover::before { transform: translateY(0); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(7, 20, 43, .35); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--aqua); color: var(--aqua); }
.btn--small { --pad-y: .7rem; --pad-x: 1.1rem; font-size: .95rem; }
.btn--wide { width: 100%; }

/* ---------- Navigation ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--gutter);
  transition: background-color .4s, transform .5s var(--ease-out), padding .4s;
}
.nav.is-scrolled { background: rgba(7, 20, 43, .78); backdrop-filter: blur(14px); padding-block: .65rem; border-bottom: 1px solid var(--line); }
.nav.is-hidden { transform: translateY(-110%); }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; color: var(--text); }
.brand__spark { fill: var(--yellow); transform-origin: 22px 19px; transition: transform .6s var(--ease-out); }
.brand:hover .brand__spark { transform: rotate(90deg) scale(1.15); }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1; letter-spacing: -.01em; }
.brand__sub { display: block; font-family: var(--font-body); font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .02em; margin-top: .2rem; }

.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.nav__links > a:not(.btn) {
  position: relative; text-decoration: none; font-size: .95rem; color: var(--muted); transition: color .25s;
}
.nav__links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--aqua);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.nav__links > a:not(.btn):hover { color: var(--text); }
.nav__links > a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle { display: none; }

@media (max-width: 860px) {
  .nav__toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong);
    background: rgba(7, 20, 43, .5); cursor: pointer; position: relative; z-index: 2;
  }
  .nav__toggle > span:not(.sr-only) { display: block; width: 18px; height: 2px; background: var(--text); transition: transform .35s var(--ease-out); }
  .nav__toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.6rem;
    background: var(--ink-deep);
    clip-path: circle(0% at calc(100% - 2.5rem) 2.5rem);
    transition: clip-path .7s var(--ease-out);
  }
  .nav__links.is-open { clip-path: circle(150% at calc(100% - 2.5rem) 2.5rem); }
  .nav__links > a:not(.btn) { font-family: var(--font-display); font-size: 2rem; color: var(--text); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem var(--gutter) 5rem;
}
.hero__inner { position: relative; max-width: var(--maxw); width: 100%; margin: 0 auto; }
/* a soft pool of night behind the copy so the strands never fight the text */
.hero__inner::before {
  content: ""; position: absolute; z-index: -1; left: -8%; top: -10%; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(7, 20, 43, .85), rgba(7, 20, 43, 0));
  pointer-events: none;
}
.hero__title {
  font-size: var(--step-4);
  font-variation-settings: "wdth" 92, "opsz" 96;
  font-weight: 720;
  letter-spacing: -.022em;
  word-spacing: .06em;
  line-height: .9;
  max-width: 10ch;
  color: var(--text);
}
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
/* the light pulse that runs through the headline on load */
.hero__title .word > span {
  display: inline-block;
  background: linear-gradient(100deg, var(--text) 0 40%, var(--yellow) 47%, #fff 50%, var(--aqua) 53%, var(--text) 60% 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero__lede { max-width: 36rem; margin-top: 2rem; font-size: var(--step-1); line-height: 1.5; color: #C9D6E6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }

.hero__fact {
  position: absolute; left: var(--gutter); bottom: 2rem; max-width: 26rem;
  display: flex; gap: .7rem; align-items: baseline;
  font-size: var(--step--1); color: var(--muted);
}
@media (hover: none) { .hint-mouse { display: none; } }
.hero__fact-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 0 rgba(44, 212, 196, .6); animation: ping 2.4s infinite; transform: translateY(-1px); }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(44, 212, 196, 0); } 100% { box-shadow: 0 0 0 0 rgba(44, 212, 196, 0); } }

.scroll-cue { position: absolute; right: var(--gutter); bottom: 2rem; width: 1px; height: 64px; background: var(--line); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: 0; width: 1px; height: 24px; background: var(--yellow); animation: cue 2s var(--ease-out) infinite; }
@keyframes cue { from { transform: translateY(-24px); } to { transform: translateY(64px); } }

@media (max-width: 700px) {
  .hero { justify-content: flex-end; padding-bottom: 7.5rem; }
  .hero__lede { font-size: 1.1rem; }
  .scroll-cue { display: none; }
  .hero__fact { right: var(--gutter); }
}

/* ---------- Signal path (pinned) ---------- */

.signal { position: relative; }
.signal__pin {
  position: relative; height: 100vh; height: 100svh;
  display: grid; grid-template-columns: auto minmax(0, 34rem) 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 4rem);
  padding: 6rem var(--gutter) 3rem;
}

.rail { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 1.6rem; }
.rail__line { position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.rail__fill { position: absolute; inset: 0 0 auto 0; height: 100%; background: linear-gradient(var(--yellow), var(--aqua)); transform-origin: top; transform: scaleY(0); }
.rail__bead {
  position: absolute; left: 50%; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 12px 3px rgba(242, 210, 46, .8);
}
.rail__stop {
  display: grid; grid-template-columns: 12px auto; column-gap: 1rem; align-items: baseline;
  background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
  color: var(--muted); transition: color .3s;
}
.rail__stop::before {
  content: ""; grid-row: span 2; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--line-strong); background: var(--ink); align-self: center;
  transition: border-color .3s, background-color .3s, transform .3s var(--ease-out);
}
.rail__where { font-size: .78rem; opacity: .75; }
.rail__what { grid-column: 2; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.1; }
.rail__stop:hover { color: var(--text); }
.rail__stop.is-active { color: var(--text); }
.rail__stop.is-active::before { border-color: var(--yellow); background: var(--yellow); transform: scale(1.2); }

.stops { position: relative; min-height: 26rem; }
.stop { position: absolute; inset: 0 0 auto 0; visibility: hidden; }
.stop.is-active { visibility: visible; }
.stop__num { color: var(--aqua); font-size: .95rem; margin-bottom: 1rem; }
.stop__title { font-size: var(--step-3); letter-spacing: -.025em; font-variation-settings: "wdth" 88, "opsz" 72; }
.stop__body { margin-top: 1.4rem; max-width: 34rem; color: #C9D6E6; }
.stop__aside { margin-top: 1.2rem; font-size: var(--step--1); color: var(--muted); max-width: 30rem; }
.swatches { display: flex; gap: 3px; margin-bottom: .5rem; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); }

.tags { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { padding: .4rem .85rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .88rem; color: var(--text); background: rgba(7, 20, 43, .5); }

@media (max-width: 960px) {
  .signal__pin { grid-template-columns: 1fr; grid-template-rows: 1fr auto; align-items: end; padding-top: 5.5rem; padding-bottom: 1.5rem; gap: 1rem; }
  .rail { flex-direction: row; justify-content: space-between; gap: .4rem; order: 2; padding-top: 1rem; }
  .rail__line { left: 6px; right: 6px; top: 5px; bottom: auto; width: auto; height: 2px; }
  .rail__fill { width: 100%; height: 100%; transform-origin: left; transform: scaleX(0); }
  .rail__bead { top: 50%; left: 0; }
  .rail__stop { grid-template-columns: 1fr; row-gap: .5rem; }
  .rail__stop::before { grid-row: auto; }
  .rail__where { display: none; }
  .rail__what { grid-column: 1; font-size: .8rem; }
  .stops { order: 1; min-height: 0; height: 21rem; align-self: end; }
  .stop { inset: auto 0 0 0; padding: 1.25rem; border-radius: var(--radius-m); background: rgba(4, 12, 28, .72); backdrop-filter: blur(10px); border: 1px solid var(--line); }
  .stop__body { font-size: .98rem; margin-top: .9rem; }
  .stop__aside { display: none; }
  .tags { margin-top: 1rem; }
  .tags li { font-size: .8rem; padding: .3rem .65rem; }
}

/* ---------- Generic sections ---------- */

.section {
  position: relative;
  padding-block: clamp(6rem, 12vw, 10rem);
  padding-inline: max(var(--gutter), (100% - var(--maxw)) / 2);
}
.section__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__title { font-size: var(--step-3); letter-spacing: -.025em; max-width: 18ch; font-variation-settings: "wdth" 88, "opsz" 72; }
.section__lede { margin-top: 1.2rem; max-width: 38rem; color: var(--muted); font-size: var(--step-1); line-height: 1.5; }

/* ---------- Facts ---------- */

.facts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 3.5rem; border-top: 1px solid var(--line); }
.fact { margin: 0; padding: 2rem 2rem 0 0; }
.fact + .fact { padding-left: 2rem; border-left: 1px solid var(--line); }
.fact__value {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums;
  font-variation-settings: "wdth" 78, "opsz" 96; color: var(--yellow);
}
.fact__value small { font-size: .38em; margin-left: .25em; color: var(--text); letter-spacing: 0; font-weight: 500; }
.fact figcaption { margin-top: 1rem; color: var(--muted); max-width: 22rem; }

@media (max-width: 800px) {
  .facts__grid { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 2rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Planner ---------- */

.planner__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }

.field { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
.field legend, .field > label { display: flex; justify-content: space-between; align-items: baseline; width: 100%; padding: 0; margin-bottom: .9rem; font-weight: 600; }
.field output { font-family: var(--font-display); font-size: 1.5rem; color: var(--yellow); font-variant-numeric: tabular-nums; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: .95rem; color: var(--muted); background: rgba(7, 20, 43, .5);
  transition: color .25s, border-color .25s, background-color .25s, transform .25s var(--ease-out);
}
.chip:hover span { color: var(--text); border-color: var(--muted); }
.chip input:checked + span { color: var(--ink); background: var(--aqua); border-color: var(--aqua); }
.chip input:focus-visible + span { outline: 2px solid var(--aqua); outline-offset: 3px; }
.chip:active span { transform: scale(.96); }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --pct: 10%; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--yellow) var(--pct), var(--line-strong) var(--pct)); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line-strong); }
.range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--yellow); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--text); border: 4px solid var(--ink); box-shadow: 0 0 0 2px var(--yellow); transition: transform .2s var(--ease-out); }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--text); border: 4px solid var(--ink); box-shadow: 0 0 0 2px var(--yellow); }
.range:active::-webkit-slider-thumb { transform: scale(1.2); }

.switch { display: inline-flex; align-items: center; gap: .9rem; cursor: pointer; font-weight: 600; }
.switch input { position: absolute; opacity: 0; }
.switch__track { position: relative; width: 48px; height: 28px; border-radius: 999px; background: var(--line-strong); transition: background-color .3s; flex: none; }
.switch__thumb { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--text); transition: transform .35s var(--ease-out); }
.switch input:checked + .switch__track { background: var(--orange); }
.switch input:checked + .switch__track .switch__thumb { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--aqua); outline-offset: 3px; }

.planner__result {
  position: sticky; top: 6rem;
  padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius-m);
  background: linear-gradient(160deg, rgba(13, 31, 61, .92), rgba(4, 12, 28, .92));
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.gauge { position: relative; max-width: 300px; margin: 0 auto 1.5rem; text-align: center; }
.gauge svg { width: 100%; overflow: visible; }
.gauge__track, .gauge__fill { fill: none; stroke-width: 10; stroke-linecap: round; }
.gauge__track { stroke: var(--line); }
.gauge__fill { stroke: var(--yellow); filter: drop-shadow(0 0 6px rgba(242, 210, 46, .5)); }
.gauge__readout { position: absolute; left: 0; right: 0; top: 40%; font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.gauge__readout small { font-size: .38em; margin-left: .2em; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.gauge__label { font-size: var(--step--1); color: var(--muted); margin-top: .4rem; }

.result__title { font-size: var(--step-2); letter-spacing: -.015em; color: var(--text); }
.result__why { margin-top: .7rem; color: #C9D6E6; min-height: 5.1em; }

.compare { position: relative; margin-top: 2.4rem; display: grid; gap: .9rem; }
.compare__row { display: grid; grid-template-columns: 5.2rem 1fr; grid-template-rows: auto auto; column-gap: 1rem; align-items: center; }
.compare__name { font-weight: 600; font-size: .95rem; }
.compare__bar { position: relative; height: 10px; border-radius: 10px; background: var(--line); }
.compare__range { position: absolute; top: 0; bottom: 0; border-radius: 10px; }
.compare__range--sky { background: var(--aqua); }
.compare__range--glass { background: var(--yellow); }
.compare__note { grid-column: 2; font-size: .8rem; color: var(--muted); margin-top: .3rem; }
/* where your need falls on each bar */
.compare__bar::after {
  content: ""; position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; border-radius: 2px;
  left: calc(var(--you, 0) * 100%); background: var(--orange); transition: left .6s var(--ease-out);
}
.compare__row:first-child .compare__bar::before {
  content: "you"; position: absolute; top: -1.45rem; left: calc(var(--you, 0) * 100%); transform: translateX(-50%);
  font-size: .75rem; font-weight: 600; color: var(--orange); transition: left .6s var(--ease-out);
}
.result__fine { margin: 1.4rem 0 1.4rem; font-size: .8rem; color: var(--muted); }

@media (max-width: 860px) {
  .planner__grid { grid-template-columns: 1fr; }
  .planner__result { position: relative; top: 0; }
}

/* ---------- One call ---------- */

.one-call__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.toggle { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(4, 12, 28, .6); }
.toggle__btn { position: relative; z-index: 1; padding: .7rem 1.3rem; border: 0; border-radius: 999px; background: none; cursor: pointer; font-weight: 600; color: var(--muted); transition: color .3s; }
.toggle__btn.is-on { color: var(--ink); }
.toggle__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--yellow); }
.one-call__texts { display: grid; margin-top: 2rem; }
.one-call__text { grid-area: 1 / 1; font-size: var(--step-1); line-height: 1.5; color: #C9D6E6; max-width: 34rem; opacity: 0; visibility: hidden; }
.one-call__text.is-on { opacity: 1; visibility: visible; }

.blame { width: 100%; overflow: visible; }
.blame__loops path { fill: none; stroke: var(--orange); stroke-width: 2; stroke-dasharray: 6 10; opacity: .8; }
.blame__spokes line { stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 3 6; }
.blame__node circle { fill: var(--ink-raised); stroke: var(--line-strong); stroke-width: 1.5; }
.blame__node text, .blame__one text { fill: var(--text); font-family: var(--font-body); font-size: 14px; font-weight: 600; text-anchor: middle; }
.blame__node--you circle { fill: var(--ink); stroke: var(--muted); }
.blame__one circle { fill: var(--yellow); }
.blame__one text { fill: var(--ink); font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.blame__one text.small { font-family: var(--font-body); font-size: 12px; font-weight: 500; }

@media (max-width: 860px) {
  .one-call__grid { grid-template-columns: 1fr; }
  .blame { max-width: 460px; margin: 0 auto; }
}

/* ---------- Process ---------- */

.steps { list-style: none; padding: 0; position: relative; display: grid; gap: clamp(2.5rem, 5vw, 4rem); max-width: 52rem; }
.steps__line { position: absolute; left: 24px; top: 25px; bottom: 25px; width: 2px; background: var(--line); }
.steps__fill { position: absolute; inset: 0; background: linear-gradient(var(--yellow), var(--aqua)); transform-origin: top; transform: scaleY(0); }
.step { position: relative; display: grid; grid-template-columns: 50px 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.step__n {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); background: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--muted);
  transition: border-color .4s, color .4s, background-color .4s, box-shadow .4s;
}
.step.is-lit .step__n { border-color: var(--yellow); background: var(--yellow); color: var(--ink); box-shadow: 0 0 0 6px rgba(242, 210, 46, .12); }
.step h3 { font-size: var(--step-2); letter-spacing: -.015em; padding-top: .55rem; }
.step p { margin-top: .6rem; color: var(--muted); max-width: 36rem; }

/* ---------- Contact ---------- */

.contact { background: linear-gradient(to bottom, transparent, var(--ink-deep) 30%); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact__details { margin: 2.5rem 0 0; display: grid; gap: 1.2rem; }
.contact__details dt { font-size: var(--step--1); color: var(--muted); }
.contact__details dd { margin: .2rem 0 0; font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; }
.contact__details a { text-decoration: none; background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out); }
.contact__details a:hover { background-size: 100% 1px; }

.contact__form { position: relative; display: grid; gap: 1.1rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius-m); background: rgba(13, 31, 61, .6); border: 1px solid var(--line); }
.contact__form .field { margin: .4rem 0 .2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.input { position: relative; }
.input input, .input textarea {
  width: 100%; padding: 1.5rem 1rem .6rem; border-radius: var(--radius-s);
  border: 1px solid var(--line-strong); background: rgba(4, 12, 28, .6);
  transition: border-color .3s, box-shadow .3s; resize: vertical;
}
.input label { position: absolute; left: 1rem; top: 1.05rem; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease-out), color .25s; }
.input input:focus, .input textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(44, 212, 196, .18); }
.input input:focus + label, .input input:not(:placeholder-shown) + label,
.input textarea:focus + label, .input textarea:not(:placeholder-shown) + label { transform: translateY(-.65rem) scale(.78); color: var(--aqua); }
.input.is-invalid input { border-color: var(--orange); }
.form-error { color: var(--orange); font-size: .9rem; min-height: 1.2em; }
.form-error a { color: var(--yellow); }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact__form button[disabled] { opacity: .7; cursor: progress; }

.form-done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; text-align: center; padding: 2rem; border-radius: inherit; background: var(--ink-raised); }
.form-done[hidden] { display: none; }
.form-done svg { width: 64px; height: 64px; fill: none; stroke: var(--aqua); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.form-done p { max-width: 22rem; }

@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */

.footer {
  display: grid; grid-template-columns: 1fr auto auto; gap: 2rem 4rem; align-items: start;
  padding: 3.5rem var(--gutter); background: var(--ink-deep); border-top: 1px solid var(--line);
  font-size: var(--step--1); color: var(--muted);
}
.footer__brand { display: flex; gap: .8rem; align-items: center; }
.footer__brand p { color: var(--text); font-weight: 600; }
.footer__brand span { color: var(--muted); font-weight: 400; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.footer__links a { text-decoration: none; transition: color .25s; }
.footer__links a:hover { color: var(--yellow); }
@media (max-width: 760px) { .footer { grid-template-columns: 1fr; } }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
