/* ============================================================
   Virtual Business Assist — landing page
   Design language: instrumentation. Gauge scales, tick rules,
   dispatch boards, plan views. Square corners, no gradients.
   ============================================================ */

/* ------------------------------------------------ typefaces
   Self-hosted rather than pulled from Google Fonts: it removes two extra
   DNS + TLS handshakes from the critical path, which is most of what stood
   between this page and its performance budget on a phone. Variable files
   are declared once with a weight range, so 700 and 800 share one download. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/assets/fonts/archivo-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/assets/fonts/archivo-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/sourceserif4-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/sourceserif4-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibmplexmono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibmplexmono-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ---------------------------------------------- tokens */
:root {
  /* Taken from the wordmark: teal #35C2DE, coral #F54452, grey #656363. */
  --ink:    #1A1D1E;   /* headings, body */
  --slate:  #5C6366;   /* secondary text — the wordmark grey */
  --paper:  #FAFAFA;   /* page background */
  --panel:  #E8EBEC;   /* alternating bands, form fields */
  --deep:   #0E3A43;   /* dark sections — the brand teal taken down to a ground */
  --signal: #F54452;   /* the brand coral. Accent only: ticks, rules, focus */
  --teal:   #35C2DE;   /* the brand teal at full strength, for dark grounds */

  /* derived — kept as tokens so nothing is a one-off literal */
  --deep-line:   #2C6270;  /* hairlines on --deep */
  --deep-text:   #B8CDD2;  /* secondary text on --deep */
  --signal-ink:  #C0303C;  /* coral dark enough to be read on --paper */
  --signal-light:#FFB3BA;  /* coral light enough to be read on --deep */
  --rule:        rgba(92, 99, 102, .28);
  --rule-light:  rgba(184, 205, 210, .30);

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* 1.25 scale, 17px base */
  --t-2: .6875rem;
  --t-1: .75rem;
  --t0:  1rem;
  --t1:  1.25rem;
  --t2:  1.5rem;
  --t3:  1.875rem;
  --t4:  2.3125rem;

  --gutter: 90px;
  --shell:  1140px;
  --pad:    clamp(1.25rem, 5vw, 3rem);

  --ease-out:    cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t0);
  line-height: 1.55;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; }

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

/* focus — visible everywhere, amber against both grounds */
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--signal); color: var(--ink);
  font-family: var(--mono); font-size: var(--t-1);
  text-transform: uppercase; letter-spacing: .12em;
  padding: .75rem 1.25rem; text-decoration: none;
}
.skip:focus { left: 0; }

.shell {
  width: min(100% - (2 * var(--pad)), var(--shell));
  margin-inline: auto;
}

/* ---------------------------------------------- shared type roles */
.eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--t-1);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--slate);
  margin-bottom: .9rem;
}
.eyebrow--light { color: var(--deep-text); }

.h2 { font-size: clamp(1.5rem, 3.2vw, var(--t4)); }
.h3 { font-size: 1.125rem; font-weight: 700; }

.lead {
  font-size: var(--t0);
  line-height: 1.5;
  color: var(--slate);
  max-width: 84ch;
}
.lead--light { color: var(--deep-text); }

/* ---------------------------------------------- tick rule (mobile marker) */
.tickrule {
  display: none;
  align-items: flex-start;
  gap: 11px;
  width: 92px;
  border-top: 1px solid var(--rule);
  margin-bottom: 1.5rem;
}
.tickrule i { width: 2px; height: 6px; background: var(--signal); flex: none; }
.tickrule i:first-child, .tickrule i:last-child { height: 13px; }
.tickrule--light { border-top-color: var(--rule-light); }

/* ============================================================
   The gauge rule — the page's one loud idea
   ============================================================ */
/* Below the desktop breakpoint the scale keeps running down the left edge —
   the same instrument, just narrowed to ticks with the labels dropped. */
.rail {
  display: block;
  position: fixed;
  inset-block: 0;
  left: 0;
  width: 22px;
  z-index: 40;
  padding-block: 12vh;
  pointer-events: none;
}
.rail__line,
.rail__fill {
  position: absolute;
  left: 10px;
  width: 1px;
  top: 12vh;
  bottom: 12vh;
  transform-origin: top center;
}
.rail__line { background: var(--slate); opacity: .3; }
.rail__fill { background: var(--signal); width: 2px; left: 9.5px; transform: scaleY(var(--progress, 0)); }
.rail__stops {
  list-style: none; margin: 0; padding: 0; height: 100%;
  display: grid; grid-template-rows: repeat(5, 1fr) 0;
}
.rail__stop { position: relative; }
.rail__hit { position: absolute; top: 0; left: 0; padding: 4px 4px 8px 4px; pointer-events: auto; }
.rail__tick {
  display: block; width: 12px; height: 2px; margin-top: 3px;
  background: var(--slate); opacity: .7;
  transition: background-color 200ms var(--ease-out), opacity 200ms var(--ease-out), width 200ms var(--ease-out);
}
.rail__label { display: none; }
.rail__minors { position: absolute; inset: 0 auto 0 10px; display: flex; flex-direction: column; justify-content: space-evenly; align-items: flex-start; }
.rail__minors i { width: 5px; height: 1px; background: var(--slate); opacity: .35; }
.rail__stop.is-active .rail__tick { background: var(--signal); opacity: 1; width: 17px; }
.rail.on-deep .rail__line,
.rail.on-deep .rail__minors i,
.rail.on-deep .rail__tick { background: var(--deep-text); }
.rail.on-deep .rail__stop.is-active .rail__tick { background: var(--signal); }
.shell { margin-left: max(var(--pad), calc(22px + var(--pad) * .6)); }

@media (min-width: 1024px) {
  .rail {
    width: var(--gutter);
    padding-block: 14vh;
  }
  .rail__label { display: block; }
  .rail__line,
  .rail__fill { left: 34px; top: 14vh; bottom: 14vh; }
  .rail__fill { left: 33.5px; }

  .rail__hit {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 2px 6px 10px 12px;
    text-decoration: none;
  }
  .rail__tick { width: 22px; margin-top: 5px; flex: none; }
  .rail__label {
    font-family: var(--mono);
    font-weight: 500;
    font-size: var(--t-2);
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--slate);
    opacity: 1;
    writing-mode: vertical-rl;
    white-space: nowrap;
    transition: color 200ms var(--ease-out), opacity 200ms var(--ease-out);
  }

  /* minor divisions between stops — a real scale reads in fifths */
  .rail__minors { inset: 0 auto 0 34px; }
  .rail__minors i { width: 8px; }

  .rail__stop.is-active .rail__tick { width: 30px; }
  .rail__stop.is-active .rail__label { color: var(--ink); opacity: 1; }

  /* the rail sits over dark sections too */
  .rail.on-deep .rail__label { color: var(--deep-text); opacity: 1; }
  .rail.on-deep .rail__stop.is-active .rail__label { color: var(--paper); opacity: 1; }

  /* draw-in on load: the scale is struck, then the stops appear */
  .rail__line { animation: railDraw 700ms var(--ease-out) both; }
  .rail__stop { animation: stopIn 320ms var(--ease-out) both; }
  .rail__stop:nth-child(1) { animation-delay: 260ms; }
  .rail__stop:nth-child(2) { animation-delay: 320ms; }
  .rail__stop:nth-child(3) { animation-delay: 380ms; }
  .rail__stop:nth-child(4) { animation-delay: 440ms; }
  .rail__stop:nth-child(5) { animation-delay: 500ms; }
  .rail__stop:nth-child(6) { animation-delay: 560ms; }

  .shell { margin-left: max(var(--pad), calc((100% - var(--shell)) / 2 + var(--gutter) / 2)); margin-right: auto; }
  html { scroll-padding-top: 104px; }
}

@media (min-width: 1024px) and (max-height: 720px) {
  .rail__label { font-size: 9px; letter-spacing: .1em; }
}

@keyframes railDraw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes stopIn   { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }

/* ============================================================
   Header
   ============================================================ */
/* The masthead floats over the hero so the hero owns the whole first screen,
   then becomes a solid bar as soon as you scroll off it.
   Solid is the base state: if the script never runs, the bar is readable
   everywhere rather than light-on-light over the pale sections. */
.site-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: background-color 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.at-top .site-head {
  background: transparent;
  border-bottom-color: transparent;
}
.site-head__inner {
  width: min(100% - (2 * var(--pad)), 1400px);
  margin-inline: auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
  padding-block: .9rem;
}
/* The lockup carries the company name, so no wordmark is set beside it.
   It stays legible down to about 40px tall; below that it is a mark. */
.brand {
  display: grid;
  place-items: center start;
}
.brand__logo {
  grid-area: 1 / 1;
  height: 52px;
  width: auto;
  display: block;
  transition: opacity 220ms var(--ease-out);
}
.brand__logo--light { opacity: 0; }
.brand__logo--dark  { opacity: 1; }
.at-top .brand__logo--light { opacity: 1; }
.at-top .brand__logo--dark  { opacity: 0; }

.nav__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__list a {
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--t-1);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--slate);
  text-decoration: none;
  padding-block: .35rem;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}
.nav__cta { color: var(--ink) !important; border-bottom-color: var(--signal) !important; }
.at-top .nav__list a { color: var(--deep-text); }
.at-top .nav__cta { color: var(--paper) !important; }
.burger, .burger__bars i {
  transition: color 220ms var(--ease-out), border-color 220ms var(--ease-out), background-color 220ms var(--ease-out);
}
.at-top .burger { color: var(--deep-text); border-color: var(--rule-light); }
.at-top .burger__bars i { background: var(--deep-text); }

@media (hover: hover) and (pointer: fine) {
  .nav__list a:hover { color: var(--ink); border-bottom-color: var(--signal); }
  .brand:hover .brand__logo { opacity: .82; }
}

.burger {
  display: none;
  align-items: center;
  gap: .6rem;
  background: none;
  border: 1px solid var(--rule);
  padding: .5rem .75rem;
  cursor: pointer;
  font-family: var(--mono);
  font-size: var(--t-2);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--slate);
}
.burger__bars { display: grid; gap: 3px; }
.burger__bars i { display: block; width: 16px; height: 2px; background: var(--slate); }

/* Between the burger breakpoint and the desktop layout the full nav only just
   fits; tighten it rather than letting the masthead spill onto a second row. */
@media (min-width: 768px) and (max-width: 1023px) {
  .site-head__inner { gap: 1rem; }
  .brand__logo { height: 44px; }
  .nav__list { gap: 1.25rem; }
  .nav__list a { font-size: var(--t-2); }
}

@media (max-width: 520px) {
  .hero__actions { display: grid; }
  .site-head__inner { gap: 1rem; min-height: 72px; }
  .brand__logo { height: 40px; }
  .burger { padding: .45rem .6rem; gap: .45rem; }
}

@media (max-width: 767px) {
  .js .burger { display: flex; }
  .nav { flex-basis: 100%; padding-bottom: 1rem; }
  .js .nav { display: none; }
  .js .nav.is-open { display: block; animation: navIn 200ms var(--ease-out) both; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li + li { border-top: 1px solid var(--rule); }
  .nav__list a { display: block; padding: .9rem 0; border-bottom: none; }
  .nav__cta { border-bottom: none !important; color: var(--ink) !important; }
  .nav__cta::after { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--signal); margin-left: .6rem; vertical-align: middle; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--t-1);
  text-transform: uppercase;
  letter-spacing: .12em;
  text-decoration: none;
  padding: .85rem 1.5rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 120ms var(--ease-out);
}
.btn--signal { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.btn--ghost  { background: transparent; color: var(--paper); border-color: var(--rule-light); }
.btn:active { transform: scale(.97); }

@media (hover: hover) and (pointer: fine) {
  .btn--signal:hover { background: var(--ink); color: var(--signal); border-color: var(--ink); }
  .btn--ghost:hover  { border-color: var(--signal); color: var(--signal); }
}

.btn--submit { font-size: var(--t0); padding: 1.05rem 2.25rem; }

/* ============================================================
   Bands
   ============================================================ */
.band { padding-block: clamp(1.5rem, 2.2vw, 1.85rem); }
.band--paper { background: var(--paper); color: var(--ink); }
.band--panel { background: var(--panel); color: var(--ink); }
.band--deep  { background: var(--deep);  color: var(--paper); }
.band--deep .h2 { color: var(--paper); }
.band--deep p  { color: var(--deep-text); }

.sec-head { margin-bottom: clamp(1rem, 1.8vw, 1.4rem); }
.sec-head .h2 { max-width: 54ch; }
.sec-head .lead { margin-top: 1.1rem; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: var(--deep);
  color: var(--paper);
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 112px clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img,
.hero__art { width: 100%; height: 100%; display: block; }
.hero__wash { position: absolute; inset: 0; background: var(--deep); opacity: .72; }

.hero__inner { position: relative; }
.hero__logo-slot {
  display: block;
  width: clamp(150px, 16vw, 225px);
  /* Holds the lockup's height even while the image itself is out of flow. */
  aspect-ratio: 560 / 218;
  margin-bottom: clamp(1.25rem, 2.4vw, 1.75rem);
}
.hero__logo { width: 100%; height: auto; display: block; }

/* While it is flying, the lockup is taken out of flow and driven directly;
   the slot above holds its place so the hero does not reflow. */
.hero__logo.is-flying {
  position: fixed;
  top: 0;
  left: 0;
  transform-origin: top left;
  will-change: transform;
  z-index: 61;
}
/* The masthead's own lockup only appears once the flying one has landed. */
.is-flying-logo .brand__logo--light { opacity: 0 !important; }
.hero__title {
  font-size: clamp(2.25rem, 5.4vw, 4rem);
  max-width: 15ch;
  margin-bottom: 1.5rem;
}
.hero__sub {
  font-size: clamp(var(--t0), 1.8vw, var(--t1));
  line-height: 1.55;
  color: var(--deep-text);
  max-width: 56ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
}

/* a measured edge at the foot of the hero */
.hero__scale {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 14px;
  border-top: 1px solid var(--rule-light);
}

/* ============================================================
   What we do
   ============================================================ */
.halves {
  display: grid;
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
}
@media (min-width: 860px) { .halves { grid-template-columns: 1fr 1fr; } }

/* The figure sits above at part width, and the prose keeps the full column —
   a 300-character paragraph squeezed into a half-column runs to thirteen
   lines, which is what made this section overrun the screen. */
.half__top { display: block; }
.half__fig { margin: 0 0 .85rem; border: 1px solid var(--rule); }

.half__fig img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; background: var(--panel); }
.half .h3 { margin-bottom: .45rem; }
.half p { color: var(--slate); }

.ticklist {
  list-style: none;
  margin: .85rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.ticklist li {
  position: relative;
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--t-1);
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink);
  padding: .25rem 0 .25rem 1.7rem;
  border-bottom: 1px solid var(--rule);
}
.ticklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .72rem;
  width: 14px; height: 2px;
  background: var(--signal);
}

.closer {
  margin-top: clamp(1.1rem, 1.8vw, 1.5rem);
  padding-top: clamp(.85rem, 1.4vw, 1.15rem);
  border-top: 2px solid var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  max-width: 100ch;
  text-wrap: balance;
}

/* ============================================================
   Sight Suite
   ============================================================ */
.suite { display: grid; gap: clamp(1.75rem, 3vw, 2.75rem); align-items: start; }
@media (min-width: 880px) { .suite { grid-template-columns: 1.05fr .95fr; } }

.suite__copy { display: grid; gap: 1.1rem; max-width: 60ch; }
.suite__copy p { font-size: var(--t0); }

.suite__fig { margin: 0; border: 1px solid var(--deep-line); }
.suite__fig img { aspect-ratio: 4 / 3; object-fit: contain; width: 100%; }

.chips {
  list-style: none;
  margin: clamp(1.5rem, 2.5vw, 2.25rem) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips li {
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--t-1);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--paper);
  border: 1px solid var(--deep-line);
  border-left: 3px solid var(--teal);
  padding: .55rem .9rem;
  white-space: nowrap;
}

/* ============================================================
   How we work — the tick scale carries the sequence
   ============================================================ */
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.25rem);
}
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: clamp(1.75rem, 2.5vw, 2.25rem); } }

.step {
  position: relative;
  border-top: 1px solid var(--rule);
  padding-top: 1.75rem;
}
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 28px;
  background: var(--signal);
}
.step__scale {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-evenly;
  pointer-events: none;
}
.step__scale i { width: 1px; height: 11px; background: var(--slate); opacity: .5; }
.step .h3 { margin-bottom: .9rem; }
.step p { color: var(--slate); }

.work__head { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: center; }
@media (min-width: 880px) { .work__head { grid-template-columns: 1fr 40%; } }
.work__head .sec-head { margin-bottom: 0; }
.floor { margin: 0; border: 1px solid var(--rule); }
.steps { margin-top: clamp(1.5rem, 3vw, 2.25rem) !important; }
.floor img { aspect-ratio: 3 / 2; object-fit: contain; width: 100%; background: var(--panel); }

/* ============================================================
   Why
   ============================================================ */
.whys { display: grid; gap: clamp(1.5rem, 2.5vw, 2.25rem); }
@media (min-width: 720px) { .whys { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 3.5vw, 3rem); } }

.why { border-top: 1px solid var(--rule); padding-top: 1.15rem; position: relative; }
.why::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 22px; height: 2px;
  background: var(--signal);
}
.why__h {
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--t-1);
  text-transform: uppercase;
  letter-spacing: .12em;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 .9rem;
}
.why p { color: var(--slate); max-width: 46ch; }

/* ============================================================
   Contact
   ============================================================ */
.band--contact .sec-head .h2 { max-width: 54ch; }

.form {
  display: grid;
  gap: 1rem;
  max-width: 760px;
}
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } }
.field--wide, .form__done { grid-column: 1 / -1; }

.field__label {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--t-2);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--deep-text);
  margin-bottom: .6rem;
}
.field__input {
  width: 100%;
  font-family: var(--body);
  font-size: var(--t0);
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--panel);
  border-bottom: 2px solid var(--slate);
  padding: .8rem .9rem;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.field__input--area { resize: vertical; min-height: 6rem; line-height: 1.55; }
.field__input:focus { border-bottom-color: var(--signal); outline-offset: 0; }
.field__input[aria-invalid="true"] { border-bottom-color: var(--signal); background: var(--paper); }

.field__error {
  font-family: var(--mono);
  font-size: var(--t-2);
  letter-spacing: .06em;
  color: var(--signal-light) !important;
  margin-top: .5rem;
}

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; }
.form__note {
  font-family: var(--mono);
  font-size: var(--t-2);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--deep-text) !important;
  opacity: .75;
}

/* Bot trap: off-screen rather than display:none, which some bots skip. */
.trap {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form__fail {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: var(--t-1);
  letter-spacing: .06em;
  color: var(--signal-light) !important;
  border-left: 3px solid var(--signal);
  padding: .5rem 0 .5rem 1rem;
}

.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

.form__done {
  border-left: 3px solid var(--signal);
  padding: 1rem 0 1rem 1.25rem;
  color: var(--paper) !important;
  animation: doneIn 200ms var(--ease-out) both;
}
@keyframes doneIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   Footer
   ============================================================ */
.site-foot { background: var(--ink); color: var(--paper); padding-block: 2.5rem; }
.site-foot__inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.75rem 3rem; }
.site-foot__logo { width: 190px; height: auto; flex: none; }
.site-foot__lines { display: grid; gap: .5rem; }
.site-foot__lines span {
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--t-2);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #AEB6B8;
  line-height: 1.5;
}
.site-foot__lines span:first-child { color: var(--paper); }

/* ============================================================
   Motion — scroll reveal
   ============================================================ */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity   460ms var(--ease-out) calc(var(--i, 0) * 70ms),
    transform 460ms var(--ease-out) calc(var(--i, 0) * 70ms);
}
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .rail__line, .rail__stop, .nav.is-open, .form__done { animation: none !important; }
  .rail__fill { transition: none; }
  .btn:active { transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   Hero instrument — the dial reads up to its resting value and
   the route draws itself in, once, on load. Explanatory motion:
   it shows what the page is about before a word is read.
   ============================================================ */
/* Two phases: the instrument reads up on load, then keeps running.
   The idle loop is slow and small — a gauge responding to a live operation,
   not a thing demanding attention. It is paused whenever the hero is off
   screen so it costs nothing while the rest of the page is being read. */
.hero__art .dial-arc {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation:
    dialSweep 1100ms var(--ease-out) 160ms both,
    dialIdle 6.5s var(--ease-in-out) 1300ms infinite;
}
.hero__art .dial-needle {
  transform-box: view-box;
  transform-origin: 1880px 380px;
  animation:
    needleSweep 1100ms var(--ease-out) 160ms both,
    needleIdle 6.5s var(--ease-in-out) 1300ms infinite;
}
.hero__art .route-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: routeDraw 1300ms var(--ease-out) 280ms forwards;
}
.hero__art .route-node {
  opacity: 0;
  animation:
    nodeIn 300ms var(--ease-out) calc(420ms + var(--n) * 130ms) both,
    nodePulse 2.4s ease-in-out calc(1600ms + var(--n) * 130ms) infinite;
}
/* A reading travelling along the route, the way telemetry arrives. */
.hero__art .route-pulse {
  stroke-dasharray: .13 .87;
  stroke-dashoffset: 1;
  stroke-width: 7;
  opacity: 0;
  animation:
    pulseIn 300ms linear 1500ms both,
    routePulse 3.2s linear 1500ms infinite;
}

@keyframes dialSweep   { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes needleSweep { from { transform: rotate(-161deg); } to { transform: rotate(0deg); } }
@keyframes routeDraw   { to { stroke-dashoffset: 0; } }
@keyframes nodeIn      { to { opacity: 1; } }
@keyframes pulseIn     { to { opacity: 1; } }

/* The dial drifts across a plausible working range; the arc tracks it, so
   the needle and its reading never disagree. */
@keyframes needleIdle {
  0%, 100% { transform: rotate(0deg); }
  18%      { transform: rotate(-34deg); }
  38%      { transform: rotate(18deg); }
  57%      { transform: rotate(-22deg); }
  78%      { transform: rotate(29deg); }
}
@keyframes dialIdle {
  0%, 100% { stroke-dashoffset: 0; }
  18%      { stroke-dashoffset: .209; }
  38%      { stroke-dashoffset: -.111; }
  57%      { stroke-dashoffset: .135; }
  78%      { stroke-dashoffset: -.178; }
}
@keyframes routePulse { to { stroke-dashoffset: -1; } }
@keyframes nodePulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .2; }
}

/* Off screen, the instrument stops entirely. */
.hero__art.is-idle * { animation-play-state: paused !important; }

/* Reduced motion: the instrument is simply already at rest. */
@media (prefers-reduced-motion: reduce) {
  .hero__art .dial-arc,
  .hero__art .route-line { stroke-dashoffset: 0; animation: none; }
  .hero__art .dial-needle { transform: none; animation: none; }
  .hero__art .route-node { opacity: 1; animation: none; }
  .hero__art .route-pulse { display: none; }
}

/* Print — it will be printed and passed around a boardroom */
@media print {
  .rail, .site-head, .hero__media, .form { display: none; }
  body { background: #fff; }
  .band { padding-block: 1.5rem; break-inside: avoid; }
  .reveal { opacity: 1; transform: none; }
}
