:root {
  --bg: #efe6d6;
  --paper: rgba(255, 250, 241, 0.74);
  --paper-strong: rgba(255, 250, 241, 0.92);
  --ink: #191714;
  --muted: #645d52;
  --olive: #50684e;
  --mint: #56a78f;
  --amber: #d99748;
  --brick: #be5749;
  --line: rgba(25, 23, 20, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(86, 167, 143, 0.16), transparent 22%),
    radial-gradient(circle at bottom right, rgba(217, 151, 72, 0.14), transparent 20%),
    linear-gradient(180deg, #f4ecde 0%, #efe5d5 100%);
}

.ambient {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 22vw;
  pointer-events: none;
  opacity: 0.5;
  filter: blur(80px);
}

.ambient-left {
  left: -8vw;
  background: rgba(86, 167, 143, 0.3);
}

.ambient-right {
  right: -8vw;
  background: rgba(217, 151, 72, 0.24);
}

.site-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 34px;
  background: linear-gradient(180deg, rgba(244, 236, 222, 0.88), rgba(244, 236, 222, 0.28), transparent);
}

.brandline,
.navline a,
.hero-link {
  text-decoration: none;
  color: inherit;
}

.brandline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
}

.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--olive), var(--mint));
  box-shadow: 0 0 0 6px rgba(80, 104, 78, 0.08);
}

.navline {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.navline a {
  color: var(--muted);
}

main {
  overflow: hidden;
}

.hero-screen,
.problem-ribbon,
.story-split,
.simulator-stage,
.engine-band,
.resume-strip,
.future-stage {
  position: relative;
  width: 100%;
}

.hero-screen {
  min-height: 82vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3vw;
  padding: 104px 6vw 44px;
}

.kicker,
.mode-readout,
.alert-banner {
  font-family: "IBM Plex Mono", monospace;
}

.kicker {
  margin: 0 0 16px;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 0.96;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.6rem, 7vw, 7.2rem);
  font-weight: 800;
}

h2 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  font-weight: 750;
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

.hero-summary,
.story-panel p,
.flow-step p,
.future-item p,
.resume-strip p,
.metric-line p,
.decision-strip p,
.timeline-item span {
  color: var(--muted);
  line-height: 1.8;
}

.hero-summary {
  max-width: 58ch;
  margin-top: 22px;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-link {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
}

.hero-link.primary {
  color: #fffaf1;
  background: var(--olive);
}

.hero-link.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}

.hero-visual {
  display: grid;
  place-items: center;
}

.hero-system {
  width: min(44rem, 92vw);
  display: grid;
  gap: 16px;
}

.system-topline,
.system-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.system-topline span,
.system-footer label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.system-canvas {
  position: relative;
  min-height: 27rem;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    linear-gradient(180deg, #223229 0%, #17231d 100%);
  box-shadow: 0 24px 60px rgba(36, 34, 26, 0.18);
}

.system-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(223, 251, 240, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(223, 251, 240, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
}

.canvas-road {
  position: absolute;
  background: rgba(243, 237, 227, 0.14);
}

.canvas-road.horizontal {
  inset: 42% 0 42% 0;
}

.canvas-road.vertical {
  inset: 0 42% 0 42%;
}

.camera-tag,
.system-hub,
.mini-signal {
  position: absolute;
  z-index: 1;
}

.camera-tag {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.9);
  color: var(--olive);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
}

.cam-one {
  top: 24px;
  left: 24px;
}

.cam-two {
  top: 24px;
  right: 24px;
}

.cam-three {
  bottom: 24px;
  right: 24px;
}

.mini-signal {
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 999px;
  background: #121511;
}

.mini-signal span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.mini-signal .active.green {
  background: #71e690;
  box-shadow: 0 0 12px rgba(113, 230, 144, 0.88);
}

.mini-signal .active.red {
  background: #eb655b;
  box-shadow: 0 0 12px rgba(235, 101, 91, 0.88);
}

.sig-top {
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
}

.sig-right {
  right: 82px;
  top: 50%;
  transform: translateY(-50%);
}

.sig-bottom {
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
}

.sig-left {
  left: 82px;
  top: 50%;
  transform: translateY(-50%);
}

.car-strip {
  position: absolute;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.strip-top {
  top: 112px;
  left: calc(50% - 98px);
}

.strip-right {
  top: 50%;
  right: 130px;
  transform: translateY(-50%);
  grid-auto-flow: column;
}

.strip-bottom {
  bottom: 112px;
  right: calc(50% - 98px);
}

.strip-left {
  top: 50%;
  left: 130px;
  transform: translateY(-50%);
  grid-auto-flow: column;
}

.mini-car {
  position: relative;
  width: 28px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f9f8f3, #99b6cf);
}

.mini-car.bus {
  width: 36px;
  background: linear-gradient(135deg, #ffd08e, #d9882f);
}

.mini-car.truck {
  width: 34px;
  background: linear-gradient(135deg, #ddeeff, #6e91b3);
}

.mini-car.emergency {
  background: linear-gradient(90deg, #ff5f57 0 50%, #4d88ff 50% 100%);
  box-shadow:
    0 0 18px rgba(239, 90, 85, 0.42),
    0 0 22px rgba(77, 136, 255, 0.34);
  animation: emergency-body 0.72s infinite;
}

.mini-car.emergency::before,
.mini-car.emergency::after,
.vehicle.emergency::before,
.vehicle.emergency::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 7px;
  height: 4px;
  border-radius: 999px;
}

.mini-car.emergency::before,
.vehicle.emergency::before {
  left: 6px;
  background: #ef5a55;
  box-shadow: 0 0 10px rgba(239, 90, 85, 0.88);
  animation: flash-red 0.72s infinite;
}

.mini-car.emergency::after,
.vehicle.emergency::after {
  right: 6px;
  background: #4d88ff;
  box-shadow: 0 0 10px rgba(77, 136, 255, 0.88);
  animation: flash-blue 0.72s infinite;
}

.system-hub {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 154px;
  height: 154px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  border-radius: 50%;
  background: rgba(255, 250, 241, 0.92);
  color: var(--olive);
}

.system-hub strong {
  display: block;
  font-size: 1.08rem;
}

.system-hub span {
  font-size: 0.8rem;
  line-height: 1.45;
}

.system-footer div {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.system-footer strong {
  display: block;
  margin-top: 8px;
  font-size: 1.08rem;
}

.problem-ribbon {
  padding: 5vh 6vw;
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.44), rgba(255, 250, 241, 0.7));
}

.problem-intro {
  margin-bottom: 22px;
}

.problem-flow {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.flow-step {
  min-height: 190px;
  padding: 22px 20px;
  border-left: 1px solid var(--line);
}

.flow-step:first-child {
  border-left: 0;
}

.flow-step span,
.engine-node,
.future-item span {
  font-family: "IBM Plex Mono", monospace;
}

.flow-step span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--brick);
}

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

.story-panel {
  min-height: 56vh;
  padding: 6vh 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-panel.left {
  background: linear-gradient(180deg, rgba(86, 167, 143, 0.08), transparent);
}

.story-panel.right {
  background: linear-gradient(180deg, rgba(190, 87, 73, 0.08), transparent);
}

.story-panel p {
  max-width: 56ch;
  margin-top: 22px;
}

.emergency-figure {
  margin: 24px 0 0;
}

.emergency-figure img {
  display: block;
  width: min(100%, 720px);
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.45);
  box-shadow: 0 22px 44px rgba(72, 54, 28, 0.12);
}

.emergency-figure figcaption {
  max-width: 62ch;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.camera-module {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 18px;
  padding: 20px;
  border-radius: 26px;
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 18px 32px rgba(72, 54, 28, 0.08);
}

.camera-module img {
  display: block;
  width: 100%;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(80, 104, 78, 0.08), rgba(255, 255, 255, 0.34));
}

.camera-module-label {
  margin: 0 0 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick);
}

.camera-module-copy h3 {
  margin-bottom: 12px;
}

.camera-module-copy p:last-child {
  color: var(--muted);
  line-height: 1.75;
}

.simulator-stage {
  padding: 6vh 6vw;
}

.stage-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}

.mode-readout {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.8);
  border: 1px solid var(--line);
  color: var(--brick);
  white-space: nowrap;
}

.stage-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr 0.7fr;
  gap: 22px;
}

.intersection-stage,
.metrics-stage,
.events-stage {
  min-height: auto;
}

.intersection-board {
  position: relative;
  min-height: 34rem;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, #d8caac 0%, #c6b18b 100%);
}

.avenue {
  position: absolute;
  background: #4b4945;
}

.avenue-horizontal {
  inset: 39% 0 39% 0;
}

.avenue-vertical {
  inset: 0 39% 0 39%;
}

.board-center {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 136px;
  height: 136px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
}

.board-center span {
  font-size: 0.86rem;
  color: var(--olive);
  font-weight: 700;
}

.light {
  position: absolute;
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 999px;
  background: #1c1d1a;
}

.light span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.light-north {
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
}

.light-south {
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
}

.light-west {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.light-east {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.light.green span:nth-child(3) {
  background: #71e690;
  box-shadow: 0 0 14px rgba(113, 230, 144, 0.85);
}

.light.red span:nth-child(1) {
  background: #eb655b;
  box-shadow: 0 0 14px rgba(235, 101, 91, 0.84);
}

.traffic-lane {
  position: absolute;
  display: grid;
  gap: 8px;
}

.lane-top {
  top: 54px;
  left: calc(50% - 72px);
}

.lane-right {
  top: calc(50% - 54px);
  right: 64px;
  grid-auto-flow: column;
}

.lane-bottom {
  bottom: 54px;
  right: calc(50% - 72px);
}

.lane-left {
  top: calc(50% + 28px);
  left: 64px;
  grid-auto-flow: column;
}

.vehicle {
  position: relative;
  width: 28px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fffefb, #94b4d5);
}

.vehicle.bus {
  width: 36px;
  background: linear-gradient(135deg, #ffcb8a, #de7f29);
}

.vehicle.truck {
  width: 34px;
  background: linear-gradient(135deg, #dcecff, #6990b8);
}

.vehicle.emergency {
  background: linear-gradient(90deg, #ff5f57 0 50%, #4d88ff 50% 100%);
  box-shadow:
    0 0 18px rgba(239, 90, 85, 0.42),
    0 0 22px rgba(77, 136, 255, 0.34);
  animation: emergency-body 0.72s infinite;
}

.metrics-stage,
.events-stage {
  display: grid;
  align-content: center;
  gap: 18px;
}

.metric-line,
.decision-strip,
.timeline-item {
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.metric-line span,
.decision-strip span {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  color: var(--muted);
  margin-bottom: 8px;
}

.metric-line strong {
  display: block;
  font-size: 3.2rem;
  margin-bottom: 16px;
}

.score-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(25, 23, 20, 0.08);
}

.score-fill {
  height: 100%;
  width: 0;
  transition: width 500ms ease;
}

.score-fill.mint {
  background: linear-gradient(90deg, var(--olive), var(--mint));
}

.score-fill.amber {
  background: linear-gradient(90deg, #e3b45d, var(--amber));
}

.decision-strip strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1.1;
  margin-bottom: 12px;
}

.alert-banner {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  border-radius: 999px;
  background: rgba(86, 167, 143, 0.14);
  color: var(--olive);
}

.alert-banner.emergency {
  background: rgba(190, 87, 73, 0.14);
  color: var(--brick);
}

.beacon {
  position: relative;
  min-height: 140px;
  display: grid;
  place-items: center;
}

.beacon-core {
  position: relative;
  z-index: 2;
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 250, 241, 0.9);
  border: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
}

.beacon-wave {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid rgba(190, 87, 73, 0.22);
  animation: pulse 2.4s infinite;
}

.beacon-wave.delay {
  animation-delay: 1.2s;
}

.beacon.emergency .beacon-core {
  background: rgba(190, 87, 73, 0.14);
  color: var(--brick);
}

.timeline-log {
  display: grid;
  gap: 12px;
}

.timeline-item strong {
  display: block;
  margin-bottom: 6px;
}

.engine-band {
  padding: 6vh 6vw;
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.28), rgba(255, 250, 241, 0.62));
}

.engine-marquee {
  display: grid;
  grid-template-columns: repeat(9, auto);
  gap: 18px;
  align-items: center;
  margin-top: 20px;
}

.engine-node {
  min-height: 68px;
  display: grid;
  place-items: center;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.engine-arrow {
  height: 1px;
  min-width: 50px;
  background: rgba(25, 23, 20, 0.18);
}

.resume-strip {
  padding: 6vh 6vw;
}

.resume-strip p:last-child {
  max-width: 74ch;
  margin-top: 18px;
  font-size: 1.06rem;
}

.team-stage {
  padding: 5vh 6vw 3vh;
}

.team-copy {
  max-width: 64ch;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.team-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.team-member {
  padding: 26px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.74), rgba(255, 250, 241, 0.94));
  box-shadow: 0 18px 40px rgba(72, 54, 28, 0.08);
}

.team-member.lead {
  background:
    linear-gradient(180deg, rgba(80, 104, 78, 0.12), rgba(255, 250, 241, 0.94));
}

.team-role,
.team-id {
  font-family: "IBM Plex Mono", monospace;
}

.team-role {
  margin: 0 0 12px;
  color: var(--brick);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.team-id {
  margin: 10px 0 14px;
  color: var(--olive);
  font-size: 0.84rem;
}

.team-member p:last-child {
  color: var(--muted);
  line-height: 1.75;
}

.future-stage {
  padding: 5vh 6vw 8vh;
}

.future-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.1fr 0.9fr;
  margin-top: 22px;
}

.future-panel {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.72), rgba(255, 250, 241, 0.94));
  box-shadow: 0 18px 40px rgba(72, 54, 28, 0.08);
}

.future-panel-large {
  grid-row: span 2;
  min-height: 420px;
  display: grid;
  align-content: start;
}

.future-tag {
  margin: 0 0 14px;
  font-family: "IBM Plex Mono", monospace;
  color: var(--brick);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.future-panel h3 {
  margin-bottom: 14px;
}

.future-panel p {
  color: var(--muted);
  line-height: 1.75;
}

.future-meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  color: var(--olive);
  line-height: 1.8;
}

.future-visual {
  position: relative;
  min-height: 180px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(80, 104, 78, 0.08), rgba(86, 167, 143, 0.12)),
    #f4ecde;
  border: 1px solid rgba(25, 23, 20, 0.08);
}

.plate-card {
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  padding: 18px 22px;
  border-radius: 18px;
  background: #fffdf7;
  border: 1px solid rgba(25, 23, 20, 0.12);
  box-shadow: 0 16px 30px rgba(72, 54, 28, 0.08);
}

.plate-card span {
  display: block;
  margin-bottom: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: var(--brick);
  letter-spacing: 0.14em;
}

.plate-card strong {
  font-size: 2rem;
  letter-spacing: 0.08em;
}

.scan-beam {
  position: absolute;
  inset: 20px 20px 20px auto;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(86, 167, 143, 0.28), transparent);
  transform: skewX(-18deg);
  animation: sweep 2.8s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }

  100% {
    transform: scale(2.1);
    opacity: 0;
  }
}

@keyframes flash-red {
  0%,
  45%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50%,
  95% {
    opacity: 0.2;
    transform: scale(0.92);
  }
}

@keyframes flash-blue {
  0%,
  45% {
    opacity: 0.2;
    transform: scale(0.92);
  }

  50%,
  95%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes emergency-body {
  0%,
  100% {
    background: linear-gradient(90deg, #ff6a63 0 50%, #4d88ff 50% 100%);
    box-shadow:
      0 0 18px rgba(239, 90, 85, 0.5),
      0 0 24px rgba(77, 136, 255, 0.4);
    filter: saturate(1.15) brightness(1.08);
  }

  50% {
    background: linear-gradient(90deg, #ff3f35 0 50%, #2f6fff 50% 100%);
    box-shadow:
      0 0 24px rgba(239, 90, 85, 0.72),
      0 0 30px rgba(77, 136, 255, 0.64);
    filter: saturate(1.45) brightness(1.35);
  }
}

@keyframes sweep {
  0%,
  100% {
    transform: translateX(-18%) skewX(-18deg);
    opacity: 0.15;
  }

  50% {
    transform: translateX(18%) skewX(-18deg);
    opacity: 0.9;
  }
}

@media (max-width: 1100px) {
  .hero-screen,
  .story-split,
  .stage-grid,
  .team-grid,
  .future-grid,
  .problem-flow {
    grid-template-columns: 1fr;
  }

  .engine-marquee {
    grid-template-columns: 1fr;
  }

  .engine-arrow {
    width: 1px;
    height: 32px;
    justify-self: center;
  }

  .future-panel-large {
    grid-row: auto;
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .site-bar,
  .stage-head {
    flex-direction: column;
    align-items: start;
  }

  .site-bar {
    padding: 18px;
  }

  .hero-screen,
  .problem-ribbon,
  .story-panel,
  .simulator-stage,
  .engine-band,
  .resume-strip,
  .future-stage {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero-system {
    width: 100%;
  }

  .system-topline,
  .system-footer {
    grid-template-columns: 1fr;
  }

  .system-canvas {
    min-height: 22rem;
  }

  .strip-left,
  .strip-right {
    grid-auto-flow: row;
  }

  .intersection-board {
    min-height: 360px;
  }

  .lane-left,
  .lane-right {
    grid-auto-flow: row;
  }

  .future-panel {
    padding: 22px;
  }

  .plate-card {
    left: 20px;
    right: 20px;
    width: auto;
  }

  .scan-beam {
    width: 55%;
  }

  .camera-module {
    grid-template-columns: 1fr;
  }
}
