@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/barlow-condensed-800.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/barlow-semi-condensed-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/barlow-semi-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/barlow-semi-condensed-700.woff2") format("woff2"); }

/* Layout: black stage, stacked title plates, each step a big looping clip beside a huge step number. Single dark look on purpose. */
:root {
  --ink: #000000;
  --stage: #07090d;
  --panel: #0e121a;
  --line: #232936;
  --edge: #2a3140;
  --paper: #ffffff;
  --text: #c3c9d6;
  --muted: #9aa3b6;
  --blue: #2a5ea8;
  --blue-dark: #234f8f;
  --paper-dark: #e3e7ee;
  --ghost: rgba(42, 94, 168, .09);
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Barlow Semi Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  margin: 0;
  background: var(--stage);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: var(--ink);
  z-index: 30;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, .btn-plate:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; border-radius: 8px; }

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: calc(var(--gutter-l) + 16px);
  padding-right: calc(var(--gutter-r) + 16px);
}

/* Plates and buttons */
.btn-plate {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--paper);
  font-family: var(--display); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .03em;
  text-decoration: none;
  transition: background-color .15s;
}
.btn-plate:hover { background: var(--blue-dark); }
.btn-big { padding: 16px 24px; font-size: 20px; }
.label-plate {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; line-height: 1.2;
}
.title-plate {
  display: inline-block;
  align-self: flex-start;
  margin: 0;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--ink);
  border: 2px solid var(--edge);
  color: var(--paper);
  font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1.02; letter-spacing: .01em; text-transform: uppercase;
  text-wrap: balance;
}
.title-plate-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); border-bottom: 2px solid var(--edge); }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 128px; }
.hero-title { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.hero-title span {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 96px; line-height: 1.02; letter-spacing: .01em; text-transform: uppercase;
}
.hero-lede { margin: 0; max-width: 56ch; font-size: 20px; color: var(--paper); text-wrap: pretty; }

/* Step index */
.step-index { background: var(--ink); border-bottom: 1px solid var(--line); }
.step-chips { list-style: none; margin: 0; padding: 24px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.step-chips a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 8px;
  border-radius: 8px;
  border: 2px solid var(--edge);
  background: var(--panel);
  font-family: var(--display); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .02em;
  color: var(--text); text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s;
}
.step-chips b {
  min-width: 32px; height: 32px; padding: 0 8px;
  display: inline-grid; place-items: center;
  border-radius: 6px;
  background: var(--blue); color: var(--paper);
  font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums;
}
.step-chips a:hover { color: var(--paper); border-color: var(--blue); }

/* Steps */
.step { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.step .step-row { position: relative; z-index: 1; }
.bg-num {
  position: absolute;
  top: 50%;
  right: -2%;
  margin-top: -.5em;
  z-index: 0;
  font-family: var(--display); font-weight: 800; font-size: 640px; line-height: 1;
  color: var(--ghost);
  letter-spacing: -.04em;
  pointer-events: none;
  user-select: none;
}
.step:nth-child(even) .bg-num { right: auto; left: -2%; }
[data-speed], [data-hero-speed] { will-change: transform; }
.step:nth-child(even) { background: var(--panel); }
.step-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  padding-block: 96px;
}
.step:nth-child(even) .clip { order: 2; }
.clip {
  margin: 0;
  max-width: 800px;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  border: 2px solid var(--edge);
  overflow: hidden;
  background: var(--ink);
}
.clip video { width: 100%; height: 100%; object-fit: cover; }
.step-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.step-copy .title-plate { font-size: 52px; }
.step-num {
  font-family: var(--display); font-weight: 800; font-size: 168px; line-height: .82;
  color: var(--blue); font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.anchor { position: absolute; top: 0; }

/* Closing call */
.cta { background: var(--blue); }
.cta-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 96px; }
.cta p { margin: 0; max-width: 48ch; font-size: 20px; color: var(--paper); }
.cta .btn-plate { background: var(--ink); }
.cta .btn-plate:hover { background: #151a24; }

/* Footer */
.site-footer { background: var(--ink); border-top: 2px solid var(--edge); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-block: 32px; font-size: 14px; color: var(--muted); }
.footer-row img { width: 32px; height: 32px; }
.footer-sep { width: 1px; height: 16px; background: var(--line); }

/* Narrow screens */
@media (max-width: 960px) {
  .step-row { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 64px; }
  .step:nth-child(even) .clip { order: 0; }
  .step-copy { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 16px; }
  .step-copy .title-plate { font-size: 44px; align-self: center; }
  .step-num { font-size: 104px; }
  .hero-title span { font-size: 72px; }
  .bg-num { font-size: 420px; top: auto; bottom: -8%; margin-top: 0; }
}
@media (max-width: 640px) {
  .hero-inner { padding-block: 80px; }
  .hero-title span { font-size: 34px; padding: 8px 16px; }
  .hero-lede { font-size: 18px; }
  .title-plate, .step-copy .title-plate { font-size: 32px; }
  .step-num { font-size: 80px; }
  .step-row { padding-block: 48px; }
  .cta-inner { padding-block: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-plate, .step-chips a { transition: none; }
}
