:root {
  --ink: #0b0b09;
  --ink-2: #141410;
  --paper: #f4efe4;
  --paper-dim: #c8c0b0;
  --paint: #ffe500;
  --paint-deep: #e6c800;
  --rust: #ff4d2e;
  --mint: #6cffb2;
  --line: rgba(244, 239, 228, 0.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --display: "Bebas Neue", sans-serif;
  --sans: "Outfit", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul,
ol,
blockquote {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--paint);
  color: var(--ink);
  padding: 0.6rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 6vw;
  background: rgba(11, 11, 9, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav__mark {
  width: 22px;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--paint) 0 8px,
    transparent 8px 12px
  );
  animation: markMove 0.8s linear infinite;
}

@keyframes markMove {
  to {
    background-position: 12px 0;
  }
}

.nav__links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.92rem;
}

.nav__links a {
  opacity: 0.72;
}

.nav__links a:hover {
  opacity: 1;
  color: var(--paint);
}

.nav__live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paint);
}

.nav__live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--paint);
  box-shadow: 0 0 0 0 rgba(255, 229, 0, 0.7);
  animation: pulse 1.6s ease-out infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 58px);
  padding: 5vh 6vw 0;
  display: flex;
  flex-direction: column;
}

.hero__kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.hero__kicker-hi {
  color: var(--paint);
}

.hero__title {
  margin-top: 1rem;
  font-family: var(--display);
  font-size: clamp(3.6rem, 10vw, 8rem);
  line-height: 0.86;
  letter-spacing: 0.01em;
  max-width: 12ch;
}

.hero__line {
  display: block;
}

.hero__line--paint {
  color: var(--paint);
  text-shadow: 0 0 40px rgba(255, 229, 0, 0.18);
}

.hero__lead {
  margin-top: 1.6rem;
  max-width: 38rem;
  color: var(--paper-dim);
  font-size: 1.12rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
  margin-bottom: 2.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn--paint {
  background: var(--paint);
  color: var(--ink);
}

.btn--paint:hover {
  background: var(--paint-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 229, 0, 0.22);
}

.btn--ghost {
  border-color: var(--line);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--paper);
}

/* Road scene */
.road-scene {
  position: relative;
  flex: 1;
  min-height: 220px;
  margin: 0 -6vw;
  overflow: hidden;
}

.sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(#1b1812 0%, #0b0b09 58%);
}

.star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--paper);
  border-radius: 50%;
  animation: twinkle 2.4s ease-in-out infinite;
}

.star:nth-child(1) {
  top: 18%;
  left: 12%;
}

.star:nth-child(2) {
  top: 28%;
  left: 72%;
  animation-delay: 0.6s;
}

.star:nth-child(3) {
  top: 12%;
  left: 88%;
  animation-delay: 1.1s;
}

@keyframes twinkle {
  50% {
    opacity: 0.2;
    transform: scale(0.6);
  }
}

.sun {
  position: absolute;
  left: 50%;
  top: 8%;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border-radius: 50%;
  background: #ffb347;
  box-shadow: 0 0 50px 16px rgba(255, 179, 71, 0.32);
}

.highway {
  position: absolute;
  inset: 18% 0 0;
}

.highway__bed {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #3a3a32, #161612 22%, #10100c 50%, #161612 78%, #3a3a32);
  clip-path: polygon(47.5% 0, 52.5% 0, 100% 100%, 0 100%);
}

.highway__edge {
  position: absolute;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--paint);
}

.highway__edge--l {
  left: 47.5%;
  transform: rotate(28deg);
  transform-origin: top left;
}

.highway__edge--r {
  right: 47.5%;
  transform: rotate(-28deg);
  transform-origin: top right;
}

.highway__dash {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1.6%;
  height: 130%;
  margin-left: -0.8%;
  background: repeating-linear-gradient(
    to bottom,
    var(--paint) 0 16px,
    transparent 16px 38px
  );
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
  animation: drive 0.55s linear infinite;
}

@keyframes drive {
  to {
    transform: translateY(54px);
  }
}

.pothole {
  position: absolute;
  background: #050504;
  border-radius: 50%;
  box-shadow: inset 0 3px 8px rgba(255, 77, 46, 0.55), 0 0 0 2px #2a1a16;
  animation: breathe 2.8s ease-in-out infinite;
}

.pothole--a {
  width: 54px;
  height: 22px;
  left: 28%;
  bottom: 22%;
}

.pothole--b {
  width: 36px;
  height: 14px;
  left: 62%;
  bottom: 34%;
  animation-delay: 0.8s;
}

@keyframes breathe {
  50% {
    transform: scale(1.08);
    box-shadow: inset 0 4px 10px rgba(255, 77, 46, 0.7), 0 0 0 2px #2a1a16;
  }
}

.car {
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: 16px;
  height: 28px;
  margin-left: -8px;
  background: var(--paint);
  clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%);
  animation: carBob 1.4s ease-in-out infinite;
}

@keyframes carBob {
  50% {
    transform: translateY(-8px);
  }
}

/* Ticker */
.ticker {
  border-block: 1px solid var(--line);
  background: #10100d;
  overflow: hidden;
}

.ticker__track {
  display: flex;
  gap: 2.4rem;
  padding: 0.85rem 0;
  width: max-content;
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  animation: ticker 22s linear infinite;
}

.ticker__track span::before {
  content: "■ ";
  color: var(--paint);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* Sections */
.purpose,
.how,
.dockets,
.notify,
.stats {
  padding: 7rem 6vw;
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paint);
  margin-bottom: 0.8rem;
}

.purpose__head h2,
.how__head h2,
.notify__card h2 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.95;
  max-width: 16ch;
}

.purpose__quote {
  margin-top: 2.4rem;
  max-width: 40rem;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  line-height: 1.35;
}

.purpose__body {
  margin-top: 1.4rem;
  max-width: 42rem;
  color: var(--paper-dim);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3.5rem;
}

.pillar {
  padding: 1.6rem 1.4rem 1.8rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #161612, #10100d);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 229, 0, 0.4);
}

.pillar__no {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--paint);
}

.pillar h3 {
  margin: 0.6rem 0 0.7rem;
  font-size: 1.25rem;
}

.pillar p {
  color: var(--paper-dim);
  font-size: 0.98rem;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 12px 1fr;
  min-height: 420px;
}

.split__panel {
  padding: 4.5rem 6vw;
}

.split__panel--broke {
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 77, 46, 0.18), transparent 40%),
    #120e0c;
}

.split__panel--fixed {
  background:
    radial-gradient(circle at 80% 20%, rgba(108, 255, 178, 0.14), transparent 42%),
    #0d1410;
}

.split__panel p {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  opacity: 0.7;
}

.split__panel h2 {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  margin: 0.4rem 0 1.4rem;
}

.split__panel--broke h2 {
  color: var(--rust);
}

.split__panel--fixed h2 {
  color: var(--mint);
}

.split__panel ul {
  padding: 0;
  list-style: none;
  color: var(--paper-dim);
}

.split__panel li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}

.split__heal {
  position: relative;
  background: var(--paint);
  overflow: hidden;
}

.split__heal span {
  position: absolute;
  inset: -20%;
  background: repeating-linear-gradient(
    to bottom,
    var(--ink) 0 18px,
    transparent 18px 36px
  );
  animation: heal 1.1s linear infinite;
}

@keyframes heal {
  to {
    transform: translateY(36px);
  }
}

.stats {
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-block: 1px solid var(--line);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat {
  position: relative;
}

.stat__num,
.stat__suffix {
  font-family: var(--display);
  font-size: clamp(3.4rem, 8vw, 6rem);
  line-height: 1;
  color: var(--paint);
}

.stat__suffix {
  margin-left: 0.05em;
}

.stat__label {
  display: block;
  margin-top: 0.5rem;
  color: var(--paper-dim);
  max-width: 18ch;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  counter-reset: step;
}

.step {
  padding: 1.5rem 1.2rem 1.6rem;
  border-top: 2px solid var(--paint);
  background: #12120f;
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  font-family: var(--display);
  font-size: 2.4rem;
  color: rgba(255, 229, 0, 0.35);
}

.step__icon {
  width: 48px;
  height: 48px;
  color: var(--paint);
  margin: 0.6rem 0;
}

.step h3 {
  margin-bottom: 0.45rem;
}

.step p {
  color: var(--paper-dim);
  font-size: 0.95rem;
}

.dockets {
  padding-top: 0;
}

.docket-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.docket {
  padding: 1.3rem 1.3rem 1.4rem;
  background: #f3eee2;
  color: #1a1814;
  box-shadow: var(--shadow);
  transform: rotate(-0.6deg);
  transition: transform 0.3s ease;
}

.docket:nth-child(2) {
  transform: rotate(0.7deg);
}

.docket:nth-child(3) {
  transform: rotate(-0.3deg);
}

.docket:hover {
  transform: rotate(0) translateY(-8px);
}

.docket header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.docket h3 {
  font-size: 1.15rem;
  line-height: 1.3;
}

.docket p {
  margin: 0.7rem 0 1.2rem;
  color: #4a463c;
  font-size: 0.95rem;
}

.docket footer {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b665c;
}

.docket__id {
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
}

.stamp {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  padding: 0.15rem 0.45rem;
  border: 2px solid currentColor;
  animation: stampIn 0.6s 0.2s both;
}

.stamp--open {
  color: var(--rust);
}

.stamp--watch {
  color: #c47a12;
}

.stamp--closed {
  color: #1d8a52;
}

@keyframes stampIn {
  from {
    transform: scale(1.4) rotate(-8deg);
    opacity: 0;
  }
}

.notify {
  padding-top: 2rem;
}

.notify__card {
  max-width: 42rem;
  padding: 3rem 0 1rem;
}

.notify__lead,
.notify__note {
  color: var(--paper-dim);
}

.notify__lead {
  margin: 1.1rem 0 1.8rem;
  max-width: 36rem;
}

.notify__form {
  display: flex;
  gap: 0.6rem;
  max-width: 32rem;
}

.notify__form input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: #141410;
  color: var(--paper);
  font: inherit;
}

.notify__form input:focus {
  outline: 2px solid var(--paint);
  outline-offset: 2px;
}

.notify__ok {
  margin-top: 1rem;
  color: var(--mint);
  font-weight: 600;
}

.notify__note {
  margin-top: 0.8rem;
  font-size: 0.88rem;
}

.foot {
  padding: 2.4rem 6vw 3rem;
  border-top: 1px solid var(--line);
  color: var(--paper-dim);
  font-size: 0.92rem;
}

.foot__brand {
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--paper);
}

.foot__copy {
  margin-top: 1.2rem;
  opacity: 0.7;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-play-state: paused;
}

.reveal.is-in {
  animation-play-state: running;
}

.hero .reveal {
  opacity: 1;
  transform: none;
  animation: none;
}

.delay-1 {
  animation-delay: 0.12s;
}

.delay-2 {
  animation-delay: 0.24s;
}

.delay-3 {
  animation-delay: 0.36s;
}

.delay-4 {
  animation-delay: 0.48s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .nav__links {
    display: none;
  }

  .pillars,
  .steps,
  .docket-row,
  .stats__grid {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split__heal {
    height: 10px;
  }

  .notify__form {
    flex-direction: column;
  }

  .hero__title {
    font-size: clamp(3.4rem, 18vw, 5.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
