/* LaunchForce: custom software at the speed of light. */
/* Self-hosted fonts, no third-party requests. */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-var.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-var.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
}

:root {
  --paper: #f4f1e8;
  --paper-2: #ece8db;
  --ink: #141210;
  --ink-2: #3d3932;
  --muted: #6d675b;
  --line: rgba(20, 18, 16, 0.13);
  --accent: #f24700;
  --accent-ink: #b83200;
  --accent-soft: #ffddcb;
  --dark: #141210;
  --dark-fg: #f4f1e8;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(0.2, 0.65, 0.2, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(20, 18, 16, 0.28);
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

a:hover {
  text-decoration-color: currentColor;
}

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

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--dark-fg);
  text-decoration: none;
  border-radius: 0.25rem;
}
.skip-link:focus {
  top: 1rem;
}

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  transition: background 0.3s var(--ease), padding 0.3s var(--ease),
    border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-head.is-scrolled {
  background: rgba(244, 241, 232, 0.84);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--line);
  padding-block: 0.7rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-dot {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}
.site-nav a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.site-nav a:hover {
  color: var(--ink);
}
.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.site-nav .nav-cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* ---------- shared type ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(242, 71, 0, 0.45);
  animation: pulse 2.6s var(--ease) infinite;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-ink);
  letter-spacing: 0.04em;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-top: 1.1rem;
}
.section-head h2 {
  max-width: 22ch;
}
.section-lead {
  max-width: 26rem;
  font-size: clamp(0.97rem, 0.94rem + 0.15vw, 1.05rem);
  color: var(--ink-2);
  padding-bottom: 0.35rem;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: clip;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--pad) clamp(2.5rem, 5vw, 4rem);
  --mx: 50%;
  --my: 30%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% 0 -10%;
  z-index: -1;
  background: radial-gradient(
    36rem 26rem at var(--mx) var(--my),
    rgba(242, 71, 0, 0.09),
    transparent 65%
  );
  pointer-events: none;
}

.trajectory {
  position: absolute;
  top: 0;
  right: -12%;
  width: 68%;
  height: 118%;
  color: var(--accent);
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
}
.trajectory-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.trajectory-line-2 {
  opacity: 0.45;
}

.hero-eyebrow {
  margin-bottom: clamp(1rem, 2.4vw, 1.6rem);
}

.hero-title {
  font-size: clamp(2.9rem, 8.6vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  max-width: 13ch;
  font-weight: 600;
}
.hero-title em,
.cta h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--accent);
  font-size: 1.04em;
  padding-right: 0.03em;
}

.hero-lead {
  max-width: 39rem;
  margin-top: clamp(1.3rem, 2.6vw, 1.9rem);
  font-size: clamp(1.04rem, 1.1vw + 0.7rem, 1.22rem);
  line-height: 1.62;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.btn .arrow {
  font-size: 0.95em;
  transition: transform 0.22s var(--ease);
}
.btn:hover .arrow {
  transform: translate(2px, -2px);
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-2px);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  text-decoration: none;
}
.btn-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.hero-micro {
  margin-top: 1.1rem;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.35rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  transition: color 0.25s var(--ease);
}
.stat:hover .stat-num {
  color: var(--accent-ink);
}
.stat-unit {
  font-size: 0.42em;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 0.18em;
  vertical-align: 0.35em;
}
.stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

/* ---------- ticker ---------- */

.ticker {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding-block: 0.95rem;
  border-block: 1px solid var(--ink);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
.ticker-set {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 1.5rem;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tick {
  color: var(--accent);
  font-size: 0.62rem;
  transform: translateY(-0.06em);
}

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

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) var(--pad);
}

.build-list {
  margin-top: clamp(2.2rem, 4.5vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.build-row {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 0.35rem 2rem;
  align-items: baseline;
  padding-block: clamp(1.25rem, 2.2vw, 1.8rem);
  border-bottom: 1px solid var(--line);
}
.build-idx {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  transition: color 0.22s var(--ease);
}
.build-row h3 {
  font-size: clamp(1.15rem, 1rem + 0.55vw, 1.42rem);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.2;
  transition: transform 0.28s var(--ease);
}
.build-row p {
  font-size: clamp(0.94rem, 0.92rem + 0.1vw, 1rem);
  line-height: 1.6;
  color: var(--ink-2);
}
.build-row:hover .build-idx {
  color: var(--accent-ink);
}
.build-row:hover h3 {
  transform: translateX(4px);
}

/* ---------- work ---------- */

.work-list {
  margin-top: clamp(2.2rem, 4.5vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.work-list > li {
  border-bottom: 1px solid var(--line);
}
.work-row {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.62fr) minmax(0, 1.3fr) auto 1.6rem;
  gap: 0.4rem 1.5rem;
  align-items: center;
  padding: 1.15rem 1rem;
  margin-inline: -1rem;
  border-radius: 0.35rem;
  text-decoration: none;
  transition: background 0.24s var(--ease), color 0.24s var(--ease);
}
.work-name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}
.work-desc {
  font-size: 0.94rem;
  color: var(--ink-2);
  transition: color 0.24s var(--ease);
}
.work-hours {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: color 0.24s var(--ease);
}
.work-arrow {
  font-size: 1.05rem;
  justify-self: end;
  transition: transform 0.24s var(--ease), color 0.24s var(--ease);
}
.work-row:hover {
  background: var(--ink);
  color: var(--paper);
}
.work-row:hover .work-desc {
  color: rgba(244, 241, 232, 0.7);
}
.work-row:hover .work-hours {
  color: rgba(244, 241, 232, 0.55);
}
.work-row:hover .work-arrow {
  color: var(--accent);
  transform: translate(3px, -3px);
}
.work-note {
  margin-top: 1.2rem;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ---------- approach ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(2.2rem, 4.5vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.step {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 0 0;
  border-right: 1px solid var(--line);
}
.step:last-child {
  border-right: 0;
  padding-right: 0;
}
.step + .step {
  padding-left: 1.5rem;
}
.step-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
}
.step h3 {
  margin-top: 2.6rem;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}
.step p {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 24rem;
}
.step-meta {
  margin-top: 1.6rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- why / dark ---------- */

.section-why {
  max-width: none;
  background: var(--ink);
  color: var(--dark-fg);
  padding: clamp(3.5rem, 8vw, 6.5rem) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
}
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.section-why .section-eyebrow {
  color: rgba(244, 241, 232, 0.55);
}
.section-why .section-num {
  color: var(--accent);
}
.section-why h2 {
  margin-top: 1.1rem;
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 600;
  max-width: 14ch;
}
.why-intro {
  position: sticky;
  top: 6rem;
}
.why-copy > p:first-of-type {
  font-size: clamp(1.02rem, 1vw + 0.75rem, 1.14rem);
  line-height: 1.7;
  color: rgba(244, 241, 232, 0.78);
}
.why-list {
  margin-top: 2.2rem;
  border-top: 1px solid rgba(244, 241, 232, 0.16);
}
.why-list li {
  padding: 1.05rem 0 1.05rem 1.5rem;
  border-bottom: 1px solid rgba(244, 241, 232, 0.16);
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(244, 241, 232, 0.66);
  position: relative;
}
.why-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 1.05rem;
  color: var(--accent);
  font-size: 0.9rem;
}
.why-list strong {
  color: var(--paper);
  font-weight: 600;
}
.stack-label {
  margin-top: 2.2rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, 0.6);
}
.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}
.stack li {
  padding: 0.32rem 0.78rem;
  border: 1px solid rgba(244, 241, 232, 0.22);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: rgba(244, 241, 232, 0.85);
}

/* ---------- cta ---------- */

.cta {
  background: var(--accent);
  color: var(--ink);
  padding: clamp(4rem, 9vw, 7.5rem) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
}
.cta-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.cta .eyebrow {
  color: rgba(20, 18, 16, 0.85);
}
.cta .status-dot {
  background: var(--ink);
  box-shadow: 0 0 0 0 rgba(20, 18, 16, 0.35);
}
.cta h2 {
  margin-top: 1.2rem;
  font-size: clamp(2.6rem, 6.6vw, 5rem);
  line-height: 0.97;
  letter-spacing: -0.045em;
  max-width: 18ch;
  font-weight: 600;
}
.cta h2 em {
  color: var(--ink);
}
.cta-lead {
  max-width: 30rem;
  margin-top: 1.4rem;
  font-size: clamp(1.02rem, 1vw + 0.78rem, 1.15rem);
  line-height: 1.65;
  color: rgba(20, 18, 16, 0.82);
}
.cta .hero-actions {
  margin-top: 2rem;
}
.cta .btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.cta .btn-primary:hover {
  background: var(--paper);
  color: var(--ink);
}
.cta .btn-ghost {
  border-color: rgba(20, 18, 16, 0.35);
  color: var(--ink);
}
.cta .btn-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.cta-note {
  margin-top: 1.6rem;
  font-size: 0.84rem;
  color: rgba(20, 18, 16, 0.85);
  max-width: 30rem;
}

/* ---------- footer ---------- */

.site-foot {
  background: var(--ink);
  color: var(--dark-fg);
  padding: clamp(2.5rem, 5vw, 4rem) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))) 2rem;
}
.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(244, 241, 232, 0.16);
}
.site-foot .brand {
  color: var(--paper);
  font-size: 1.35rem;
}
.foot-tag {
  font-size: 0.86rem;
  color: rgba(244, 241, 232, 0.55);
}
.foot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-block: 2.2rem;
}
.foot-label {
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, 0.6);
  margin-bottom: 0.7rem;
}
.foot-grid a,
.foot-grid p {
  display: block;
  font-size: 0.92rem;
  color: rgba(244, 241, 232, 0.8);
  text-decoration: none;
  padding-block: 0.18rem;
}
.foot-grid a {
  text-decoration: underline;
  text-decoration-color: rgba(244, 241, 232, 0.25);
}
.foot-grid a:hover {
  color: var(--paper);
  text-decoration-color: var(--accent);
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(244, 241, 232, 0.16);
  font-size: 0.78rem;
  color: rgba(244, 241, 232, 0.6);
}
.foot-bottom a {
  color: rgba(244, 241, 232, 0.68);
  text-decoration: none;
}
.foot-bottom a:hover {
  color: var(--paper);
}

/* ---------- anchors ---------- */

#build,
#work,
#approach,
#why,
#contact {
  scroll-margin-top: 5rem;
}

/* ---------- legal / 404 pages ---------- */

.legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) var(--pad) 5rem;
}
.legal h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: -0.035em;
}
.legal h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  letter-spacing: -0.02em;
}
.legal p,
.legal li {
  margin-top: 0.9rem;
  color: var(--ink-2);
  line-height: 1.7;
}
.legal ul {
  padding-left: 1.2rem;
  list-style: disc;
}
.legal ul li {
  list-style: disc;
}
.legal a {
  color: var(--ink);
}
.legal-back {
  display: inline-flex;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
}
.legal-back:hover {
  color: var(--ink);
}
.legal .eyebrow {
  margin-bottom: 1rem;
}
.legal .btn {
  margin-top: 1.6rem;
}
.site-foot .foot-bottom.plain {
  border-top: 0;
  padding-top: 0;
}

/* ---------- reveal / motion ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.js .build-list .build-row:nth-child(2),
.js .work-list > li:nth-child(2),
.js .steps .step:nth-child(2) {
  transition-delay: 0.06s;
}
.js .build-list .build-row:nth-child(3),
.js .work-list > li:nth-child(3),
.js .steps .step:nth-child(3) {
  transition-delay: 0.12s;
}
.js .build-list .build-row:nth-child(4),
.js .work-list > li:nth-child(4) {
  transition-delay: 0.18s;
}
.js .build-list .build-row:nth-child(5),
.js .work-list > li:nth-child(5) {
  transition-delay: 0.24s;
}
.js .build-list .build-row:nth-child(6),
.js .work-list > li:nth-child(6) {
  transition-delay: 0.3s;
}

@keyframes ticker {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 71, 0, 0.4);
  }
  60% {
    box-shadow: 0 0 0 7px rgba(242, 71, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(242, 71, 0, 0);
  }
}

@keyframes rise {
  from {
    transform: translateY(20px);
  }
  to {
    transform: none;
  }
}

@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Transform only: if an animation start is ever delayed, text stays readable. */
  .hero-eyebrow,
  .hero-title,
  .hero-lead,
  .hero-actions,
  .hero-micro,
  .stats {
    animation: rise 0.75s var(--ease) both;
  }
  .hero-title {
    animation-delay: 0.06s;
  }
  .hero-lead {
    animation-delay: 0.14s;
  }
  .hero-actions {
    animation-delay: 0.22s;
  }
  .hero-micro {
    animation-delay: 0.3s;
  }
  .stats {
    animation-delay: 0.38s;
  }
  .trajectory-line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 2.6s var(--ease) 0.15s both;
  }
  .trajectory-line-2 {
    animation-delay: 0.4s;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .status-dot,
  .ticker-track {
    animation: none;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .ticker-set:nth-child(2) {
    display: none;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .section-lead {
    max-width: 34rem;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-intro {
    position: static;
  }
  .section-why h2 {
    max-width: 18ch;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step,
  .step + .step {
    padding: 1.4rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .step:last-child {
    border-bottom: 0;
  }
  .step h3 {
    margin-top: 1rem;
  }
  .step-meta {
    margin-top: 1rem;
  }
}

@media (max-width: 760px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1rem;
  }
  .build-row {
    grid-template-columns: 2.2rem minmax(0, 1fr);
    gap: 0.35rem 1rem;
  }
  .build-row p {
    grid-column: 2;
  }
  .work-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.15rem 1rem;
    padding: 1rem 0.8rem;
    margin-inline: -0.8rem;
  }
  .work-name {
    grid-column: 1;
  }
  .work-desc {
    grid-column: 1;
    font-size: 0.88rem;
  }
  .work-hours {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .work-arrow {
    display: none;
  }
  .trajectory {
    right: -40%;
    width: 110%;
    opacity: 0.28;
  }
}

@media (max-width: 620px) {
  .site-nav a:not(.nav-cta) {
    display: none;
  }
  .site-head {
    padding-block: 0.9rem;
  }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .foot-bottom {
    flex-direction: column;
  }
  .hero-title {
    font-size: clamp(2.6rem, 11vw, 3.6rem);
  }
  .cta h2 {
    font-size: clamp(2.3rem, 9.5vw, 3.2rem);
  }
  .btn {
    padding: 0.82rem 1.2rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 380px) {
  .stats {
    grid-template-columns: 1fr;
  }
}
