/* ==========================================================================
   Homepage
   Hero · benefits · lot view · solution paths · story · operator view ·
   principles · guides. Shared tokens and components come from site.css.
   ========================================================================== */

/* ---------- Hero ---------- */
.home-hero {
  --hero-h: clamp(620px, 100vh, 1080px);
  --hx: 58%;
  --hy: 50%;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: var(--hero-h);
  overflow: hidden;
  background: var(--ink-950);
  color: var(--text);
}
@supports (height: 100svh) {
  .home-hero {
    --hero-h: clamp(620px, 100svh, 1080px);
  }
}
/* The stage keeps the photograph's aspect ratio and covers the hero, so HUD
   overlays positioned in percentages stay locked to features of the image. */
.home-hero__stage {
  position: absolute;
  z-index: -2;
  left: var(--hx);
  top: var(--hy);
  width: max(100%, var(--hero-h) * 1.7768);
  aspect-ratio: 1672 / 941;
  transform: translate(calc(var(--hx) * -1), calc(var(--hy) * -1));
}
.home-hero__layer {
  position: absolute;
  inset: 0;
  transform-origin: 50% 40%;
}
.home-hero__layer > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-hero__marks {
  position: absolute;
  inset: 0;
}
.home-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 9, 17, 0.88) 0%, rgba(5, 9, 17, 0.62) 22%, rgba(5, 9, 17, 0.3) 42%, rgba(5, 9, 17, 0) 60%),
    linear-gradient(90deg, rgba(5, 9, 17, 0.9) 0%, rgba(5, 9, 17, 0.82) 30%, rgba(5, 9, 17, 0.62) 44%, rgba(5, 9, 17, 0.28) 56%, rgba(5, 9, 17, 0.06) 66%, rgba(5, 9, 17, 0) 72%),
    linear-gradient(0deg, rgba(5, 9, 17, 0.92) 0%, rgba(5, 9, 17, 0.45) 11%, rgba(5, 9, 17, 0) 26%);
}
.home-hero__inner {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(44px, 10vh, 128px));
  padding-bottom: var(--space-7);
}
.home-hero__title {
  margin-top: var(--space-5);
  max-width: none;
  font-size: clamp(2.7rem, 1.45rem + 5.6vw, 6.5rem);
  line-height: 0.98;
  text-shadow: 0 2px 40px rgba(5, 9, 17, 0.45);
}
.home-hero__title > span {
  display: block;
}
.home-hero__lede {
  margin-top: var(--space-5);
  max-width: 46ch;
  color: rgba(236, 241, 247, 0.95);
  text-shadow: 0 1px 18px rgba(5, 9, 17, 0.7);
}
.home-hero .btn-row {
  margin-top: var(--space-6);
}
.home-hero__foot {
  position: relative;
  margin-top: auto;
  border-top: 1px solid rgba(160, 185, 215, 0.16);
}
.home-hero__foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--space-7);
}
.home-hero__path {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--dur) var(--ease-out);
}
.home-hero__path-num {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.12em;
  color: var(--cyan-400);
}
.home-hero__path .icon {
  color: var(--text-3);
  transition:
    transform var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out);
}
.home-hero__path:hover {
  color: var(--cyan-300);
}
.home-hero__path:hover .icon {
  color: var(--cyan-300);
  transform: translateX(4px);
}
.home-hero__note {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
/* HUD overlays draw in after the hero settles. */
.home-hero__marks > * {
  animation: home-hud-in 900ms var(--ease-out) both;
  animation-delay: 1100ms;
}
.home-hero__marks > .hud {
  animation-delay: 1500ms;
}
.home-hero__marks > :nth-child(n + 3) {
  animation-delay: 1900ms;
}
.home-hero__marks > :nth-child(n + 4) {
  animation-delay: 2200ms;
}
@keyframes home-hud-in {
  from {
    opacity: 0;
    transform: scale(1.12);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Decorative annotations never sit over copy: they are hidden below 1024px
   (and without JS that is the only guard); home.js additionally hides any
   annotation whose box would overlap copy or calls to action at the current size. */
.home-hero__marks > .is-clear-hidden {
  visibility: hidden;
}
@media (max-width: 1023px) {
  .home-hero__marks {
    display: none;
  }
}
@media (max-width: 767px) {
  .home-hero {
    --hx: 54%;
  }
  .home-hero__shade {
    background:
      linear-gradient(180deg, rgba(5, 9, 17, 0.9) 0%, rgba(5, 9, 17, 0.8) 38%, rgba(5, 9, 17, 0.66) 60%, rgba(5, 9, 17, 0.36) 76%, rgba(5, 9, 17, 0.18) 88%),
      linear-gradient(0deg, rgba(5, 9, 17, 0.94) 0%, rgba(5, 9, 17, 0.5) 14%, rgba(5, 9, 17, 0) 30%);
  }
  .home-hero__foot-inner {
    display: grid;
    grid-template-columns: 1fr;
  }
  .home-hero__path {
    justify-content: space-between;
    min-height: 54px;
    border-bottom: 1px solid rgba(160, 185, 215, 0.14);
  }
  .home-hero__path > span:nth-child(2) {
    margin-right: auto;
  }
  .home-hero__note {
    margin: 0;
    padding-block: 14px 18px;
  }
}

/* ---------- Benefits ---------- */
.home-benefits__grid {
  display: grid;
  gap: var(--space-8);
}
.home-benefits__intro {
  margin-top: var(--space-5);
  max-width: 40ch;
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--fg-2);
}
.home-benefits__head .link-arrow {
  display: inline-flex;
}
.home-benefits__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule-2);
}
.home-benefit {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px 20px;
  padding-block: clamp(28px, 3.2vw, 44px);
  border-bottom: 1px solid var(--rule-2);
}
.home-benefit__num {
  grid-row: 1 / span 2;
  padding-top: 0.7em;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--fg-3);
}
.home-benefit__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-3);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-wrap: balance;
}
.home-benefit__body {
  max-width: 54ch;
  color: var(--fg-2);
}
.home-benefit__glyph {
  display: none;
  color: var(--accent);
}
.home-benefit__glyph .g-fill {
  fill: currentColor;
  fill-opacity: 0.22;
}
.home-benefit__glyph .g-fill-dot {
  fill: currentColor;
}
.home-benefit__glyph .g-solid {
  stroke-width: 2.5;
}
.home-benefit__glyph .g-warm {
  stroke: var(--warm);
  fill: var(--warm);
  fill-opacity: 0.25;
}
@media (min-width: 720px) {
  .home-benefit {
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    gap: 12px 28px;
  }
  .home-benefit__glyph {
    display: block;
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: start;
    width: 56px;
    height: 56px;
    justify-self: end;
  }
}
@media (min-width: 1024px) {
  .home-benefits__grid {
    grid-template-columns: minmax(0, 4.3fr) minmax(0, 7.7fr);
    gap: var(--space-9);
    align-items: start;
  }
  .home-benefits__head {
    position: sticky;
    top: calc(var(--header-h) + 56px);
  }
  .home-benefits__list {
    border-top: 0;
  }
  .home-benefit:first-child {
    padding-top: 6px;
  }
}

/* ---------- Animated lot view ---------- */
.home-lot {
  overflow: hidden;
}
.lv {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 1024px) {
  .lv {
    grid-template-columns: minmax(0, 8.2fr) minmax(300px, 3.8fr);
    gap: var(--space-4);
    align-items: stretch;
  }
}
.lv__figure {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: 0;
  min-width: 0;
}
.lv__stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 64px clamp(10px, 2vw, 28px) clamp(14px, 2vw, 28px);
  border: 1px solid var(--rule-2);
  border-radius: var(--radius-l);
  background:
    radial-gradient(110% 80% at 50% 0%, rgba(70, 219, 232, 0.07), transparent 62%),
    var(--ink-900);
}
.lv__stage > .ticks {
  inset: 10px;
  --t: 12px;
  opacity: 0.6;
}
.lv__stage-head {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  gap: var(--space-5);
  height: 52px;
  padding: 0 12px 0 20px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.lv__stage-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.lv__legend {
  display: none;
  gap: 16px;
  white-space: nowrap;
}
.lv__legend > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.lv-key {
  display: inline-block;
  width: 9px;
  height: 14px;
  border: 1px solid rgba(126, 234, 243, 0.55);
  border-radius: 3px;
  background: rgba(70, 219, 232, 0.13);
}
.lv-key--target {
  border-color: #e6fbfd;
  background: rgba(126, 234, 243, 0.6);
}
.lv-key--warm {
  border-color: var(--amber-400);
  background: rgba(245, 180, 84, 0.3);
}
@media (min-width: 1180px) {
  .lv__legend {
    display: inline-flex;
  }
}
.lv__control {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.lv__status {
  white-space: nowrap;
}
.lv__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px 0 11px;
  border: 1px solid var(--rule-3);
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    border-color var(--dur-fast),
    color var(--dur-fast),
    background-color var(--dur-fast);
}
.lv__toggle:hover {
  border-color: var(--cyan-400);
  color: var(--cyan-300);
}
.lv__toggle svg {
  flex: none;
}
.lv__toggle-pause path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.lv__toggle-play path {
  fill: currentColor;
}
.lv__toggle-play,
.lv__toggle[aria-pressed='true'] .lv__toggle-pause {
  display: none;
}
.lv__toggle[aria-pressed='true'] .lv__toggle-play {
  display: block;
}
.lv__toggle[aria-pressed='true'] {
  border-color: rgba(70, 219, 232, 0.6);
  background: rgba(70, 219, 232, 0.1);
}
.lv-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1048 / 624;
}
.lv__desc {
  max-width: 88ch;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--fg-3);
}

/* Readout panel */
.lv__panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--rule-2);
  border-radius: var(--radius-l);
  background: var(--ink-900);
  font-size: 0.9rem;
}
.lv__panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule);
}
.lv__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.lv__site {
  margin-top: 2px;
  font-size: 1.05rem;
  font-weight: 560;
  color: var(--fg);
}
.lv__total {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-mono);
  color: var(--fg-3);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.lv__total-num {
  font-size: 1.5rem;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.lv__block {
  padding: 14px 20px 16px;
  border-bottom: 1px solid var(--rule);
}
.lv__block:last-child {
  border-bottom: 0;
}
.lv__block--feed {
  flex: 1;
}
.lv__query {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  margin-top: 10px;
  padding: 0 12px;
  border: 1px solid var(--rule-2);
  border-radius: var(--radius-s);
  background: rgba(5, 9, 17, 0.6);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--fg);
}
.lv__query .icon {
  color: var(--fg-3);
  flex: none;
}
.lv.is-searching .lv__query {
  border-color: rgba(70, 219, 232, 0.6);
}
.lv__caret {
  width: 1px;
  height: 16px;
  margin-left: -6px;
  background: var(--cyan-400);
  opacity: 0;
}
.lv.is-searching .lv__caret {
  opacity: 1;
}
.lv__result {
  margin-top: 8px;
  overflow: hidden;
  font-size: 0.86rem;
  color: var(--cyan-300);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.lv.is-searching .lv__result {
  color: var(--fg-3);
}
.lv__zones {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.lv-zone-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 5px 10px;
  align-items: baseline;
  padding: 6px 0;
}
.lv-zone-row__id {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan-400);
}
.lv-zone-row__name {
  overflow: hidden;
  color: var(--fg-2);
  font-size: 0.86rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.lv-zone-row__count {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}
.lv-zone-row__count > span {
  color: var(--fg);
}
.lv-zone-row__bar {
  position: relative;
  grid-column: 2 / -1;
  height: 2px;
  overflow: hidden;
  background: var(--rule);
}
.lv-zone-row__bar > span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--teal-600), var(--cyan-400));
  transform-origin: left center;
  transition: transform 700ms var(--ease-out);
}
.lv__feed {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.lv-event {
  display: grid;
  grid-template-columns: 62px 74px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  height: 31px;
  border-top: 1px solid var(--rule);
  font-size: 0.8rem;
}
.lv-event__time {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}
.lv-event__type {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.lv-event__detail {
  overflow: hidden;
  color: var(--fg-2);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.lv-event[data-tone='warm'] .lv-event__type {
  color: var(--amber-400);
}
.lv-event[data-tone='accent'] .lv-event__type {
  color: var(--cyan-300);
}
.lv-event[data-tone='ok'] .lv-event__type {
  color: var(--cyan-200);
}

/* SVG drawing */
.lv-svg text {
  font-family: var(--font-mono);
}
.lv-outline {
  fill: none;
  stroke: rgba(160, 185, 215, 0.42);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}
.lv-aisle {
  fill: none;
  stroke: rgba(160, 185, 215, 0.16);
  stroke-dasharray: 6 9;
}
.lv-stalls {
  fill: none;
  stroke: rgba(160, 185, 215, 0.34);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.lv-zone {
  fill: rgba(70, 219, 232, 0.025);
  stroke: rgba(70, 219, 232, 0.2);
  stroke-dasharray: 2 5;
}
.lv-ruler {
  fill: none;
  stroke: rgba(126, 234, 243, 0.5);
}
.lv-building {
  fill: url(#lv-hatch);
  stroke: rgba(160, 185, 215, 0.4);
  vector-effect: non-scaling-stroke;
}
.lv-hatch-line {
  stroke: rgba(160, 185, 215, 0.14);
  stroke-width: 1;
}
.lv-fov {
  fill: rgba(70, 219, 232, 0.03);
}
.lv-cam {
  fill: var(--cyan-400);
}
.lv-cam-ring {
  fill: rgba(5, 9, 17, 0.8);
  stroke: rgba(70, 219, 232, 0.45);
}
.lv-desk {
  fill: var(--cyan-300);
}
.lv-arrow {
  fill: none;
  stroke: var(--text-3);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lv-text {
  font-size: 12px;
  letter-spacing: 0.08em;
  fill: var(--text-3);
}
.lv-text--bold {
  font-size: 13px;
  letter-spacing: 0.24em;
  fill: var(--text-2);
}
.lv-text--small {
  font-size: 11.5px;
}
.lv-text--ruler {
  font-size: 14px;
  fill: var(--cyan-300);
}
.lv-car {
  --lv-ws: rgba(126, 234, 243, 0.42);
  fill: rgba(70, 219, 232, 0.13);
  stroke: rgba(126, 234, 243, 0.55);
  stroke-width: 1;
  transition:
    fill 500ms var(--ease-out),
    stroke 500ms var(--ease-out);
}
.lv-car__ws {
  fill: none;
  stroke: var(--lv-ws);
}
.lv-car.is-moving {
  fill: rgba(70, 219, 232, 0.3);
  stroke: var(--cyan-300);
}
.lv-car.is-target {
  --lv-ws: rgba(5, 9, 17, 0.55);
  fill: rgba(126, 234, 243, 0.62);
  stroke: #e6fbfd;
}
.lv-car--exc {
  --lv-ws: rgba(245, 180, 84, 0.7);
  fill: rgba(245, 180, 84, 0.3);
  stroke: var(--amber-400);
}
.lv-route {
  fill: none;
  stroke: var(--cyan-300);
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  opacity: 0;
  transition:
    stroke-dashoffset 1200ms var(--ease-in-out),
    opacity 400ms var(--ease-out);
}
.lv-route-start {
  fill: none;
  stroke: var(--cyan-300);
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
}
.lv-target,
.lv-locate .lv-tag {
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
}
.lv-locate.is-on .lv-route {
  stroke-dashoffset: 0;
  opacity: 1;
}
.lv-locate.is-on .lv-route-start {
  opacity: 0.9;
}
.lv-locate.is-on .lv-target,
.lv-locate.is-on .lv-tag {
  opacity: 1;
  transition-delay: 900ms;
}
.lv-bracket {
  fill: none;
  stroke: #e6fbfd;
  stroke-width: 1.5;
}
.lv-pulse,
.lv-exc__ripple {
  fill: none;
  transform-box: fill-box;
  transform-origin: center;
  animation: lv-pulse 2600ms var(--ease-out) infinite;
}
.lv-pulse {
  stroke: var(--cyan-300);
}
@keyframes lv-pulse {
  from {
    transform: scale(0.6);
    opacity: 0.75;
  }
  to {
    transform: scale(1.6);
    opacity: 0;
  }
}
.lv[data-state='paused'] :is(.lv-pulse, .lv-exc__ripple) {
  animation-play-state: paused;
}
.lv-tag rect {
  fill: rgba(5, 9, 17, 0.92);
  stroke: var(--cyan-300);
}
.lv-tag text {
  font-size: 12px;
  letter-spacing: 0.08em;
  fill: #e6fbfd;
}
.lv-tag--warm rect {
  stroke: var(--amber-400);
}
.lv-tag--warm text {
  fill: var(--amber-300);
}
.lv-exc {
  opacity: 0;
  transition: opacity 500ms var(--ease-out);
}
.lv-exc.is-on {
  opacity: 1;
}
.lv-exc__ring {
  fill: rgba(245, 180, 84, 0.07);
  stroke: var(--amber-400);
  stroke-dasharray: 3 4;
  transition:
    stroke 400ms,
    fill 400ms;
}
.lv-exc__ripple {
  stroke: var(--amber-400);
  animation-duration: 3000ms;
}
.lv-exc[data-state='reviewed'] .lv-exc__ring {
  fill: rgba(70, 219, 232, 0.06);
  stroke: var(--cyan-300);
}
.lv-exc[data-state='reviewed'] .lv-exc__ripple {
  display: none;
}
.lv-exc[data-state='reviewed'] .lv-tag rect {
  stroke: var(--cyan-300);
}
.lv-exc[data-state='reviewed'] .lv-tag text {
  fill: var(--cyan-200);
}
@media (max-width: 639px) {
  .lv-svg :is(.lv-text, .lv-tag, .lv-ruler) {
    display: none;
  }
  .lv__stage {
    padding-top: 60px;
  }
  .lv__stage-head {
    padding-left: 14px;
    gap: var(--space-3);
  }
  .lv__status {
    display: none;
  }
}

/* ---------- Solution paths ---------- */
.home-path {
  display: grid;
  gap: var(--space-6);
}
.home-path + .home-path {
  margin-top: clamp(72px, 10vw, 152px);
}
.home-path__media .frame {
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.8);
}
.home-path__label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.home-path__label > span {
  color: var(--fg-3);
}
.home-path__body {
  margin-top: var(--space-4);
  max-width: 46ch;
  color: var(--fg-2);
}
.home-path__spec {
  margin-top: var(--space-5);
  border-top: 1px solid var(--rule-2);
}
.home-path__spec > div {
  padding-block: 13px;
  border-bottom: 1px solid var(--rule);
}
.home-path__spec dt {
  font-size: 0.95rem;
  font-weight: 560;
  color: var(--fg);
}
.home-path__spec dd {
  margin: 3px 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--fg-2);
}
.home-path__note {
  margin-top: var(--space-4);
  max-width: 48ch;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--fg-3);
}
.home-path__text .link-arrow {
  display: inline-flex;
}
@media (min-width: 960px) {
  .home-path {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--space-6);
    align-items: start;
  }
  .home-path--dealer .home-path__media {
    grid-column: 1 / span 7;
  }
  .home-path--dealer .home-path__text {
    grid-column: 9 / span 4;
    padding-top: clamp(16px, 3vw, 48px);
  }
  .home-path--parking .home-path__media {
    grid-column: 6 / span 7;
    grid-row: 1;
    margin-top: clamp(48px, 7vw, 112px);
  }
  .home-path--parking .home-path__text {
    grid-column: 1 / span 4;
    grid-row: 1;
  }
}

/* ---------- Story ---------- */
.home-story__steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-story__step {
  padding-block: var(--space-6);
  border-top: 1px solid var(--rule-2);
}
.home-story__step:last-child {
  border-bottom: 1px solid var(--rule-2);
}
.home-story__num {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--accent);
}
.home-story__num > span {
  margin-left: 8px;
  color: var(--fg-3);
}
.home-story__title {
  margin-top: var(--space-3);
}
.home-story__body {
  margin-top: var(--space-3);
  max-width: 46ch;
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--fg-2);
}
.home-story__detail {
  display: inline-flex;
  margin-top: var(--space-5);
  padding: 6px 12px;
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.home-story__visual {
  display: none;
}
@media (min-width: 1024px) {
  .home-story__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(48px, 6vw, 112px);
  }
  .home-story__step {
    display: flex;
    align-items: center;
    min-height: min(74vh, 760px);
    padding: 0;
    border: 0;
  }
  .home-story__step:last-child {
    border: 0;
  }
  .home-story__step:first-child {
    align-items: flex-start;
    min-height: min(62vh, 640px);
    padding-top: min(12vh, 120px);
  }
  .home-story__step-inner {
    padding-left: var(--space-6);
    border-left: 1px solid var(--rule-2);
    transition:
      opacity 500ms var(--ease-out),
      border-color 500ms var(--ease-out);
  }
  [data-active-step] .home-story__step-inner {
    opacity: 0.3;
  }
  [data-active-step] .home-story__step.is-active .home-story__step-inner {
    opacity: 1;
    border-left-color: var(--accent);
  }
  .home-story__visual {
    display: block;
  }
  .sv {
    position: sticky;
    top: calc(var(--header-h) + clamp(24px, (100vh - var(--header-h) - 700px) / 2, 120px));
  }
}

/* Story visual (dark instrument panel inside the light section) */
.sv {
  padding: 18px clamp(16px, 2vw, 28px) 22px;
  border: 1px solid rgba(11, 19, 34, 0.5);
  border-radius: var(--radius-l);
  background:
    radial-gradient(100% 70% at 70% 0%, rgba(70, 219, 232, 0.08), transparent 60%),
    var(--ink-900);
  box-shadow: 0 50px 100px -60px rgba(7, 12, 22, 0.75);
}
.sv > .ticks {
  inset: 10px;
  --t: 12px;
}
.sv__head {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0 4px 14px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.sv__step > span {
  display: none;
  color: var(--cyan-300);
}
.home-story__grid:not([data-active-step]) .sv__step > [data-sv-step='1'],
[data-active-step='1'] .sv__step > [data-sv-step='1'],
[data-active-step='2'] .sv__step > [data-sv-step='2'],
[data-active-step='3'] .sv__step > [data-sv-step='3'],
[data-active-step='4'] .sv__step > [data-sv-step='4'] {
  display: inline;
}
.sv__svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(640px, calc(100vh - var(--header-h) - 150px));
  margin-top: 14px;
}
.sv__svg text {
  font-family: var(--font-mono);
}
.sv-l {
  transition: opacity 600ms var(--ease-out);
}
[data-active-step='1'] :is(.sv-l2, .sv-l3, .sv-l4),
[data-active-step='2'] :is(.sv-l3, .sv-l4),
[data-active-step='3'] .sv-l4 {
  opacity: 0.1;
}
[data-active-step='2'] .sv-l1 {
  opacity: 0.6;
}
[data-active-step='3'] :is(.sv-l1, .sv-l2) {
  opacity: 0.4;
}
[data-active-step='4'] :is(.sv-l1, .sv-l2) {
  opacity: 0.3;
}
[data-active-step='4'] .sv-l3 {
  opacity: 0.5;
}
.sv-cone {
  fill: url(#sv-cone);
}
.sv-stalls {
  fill: none;
  stroke: rgba(160, 185, 215, 0.36);
}
.sv-car {
  fill: rgba(70, 219, 232, 0.14);
  stroke: rgba(126, 234, 243, 0.6);
}
.sv-cam {
  fill: rgba(5, 9, 17, 0.9);
  stroke: var(--cyan-300);
  stroke-width: 1.3;
}
.sv-text {
  font-size: 11px;
  letter-spacing: 0.14em;
  fill: var(--text-3);
}
.sv-boxes {
  fill: none;
  stroke: #e6fbfd;
  stroke-width: 1.4;
}
.sv-link {
  fill: none;
  stroke: rgba(126, 234, 243, 0.6);
  stroke-dasharray: 4 5;
}
.sv-link--warm {
  stroke: var(--amber-400);
}
@keyframes sv-flow {
  to {
    stroke-dashoffset: -18;
  }
}
[data-active-step='2'] .sv-l2 .sv-link,
[data-active-step='3'] .sv-l3 .sv-link,
[data-active-step='4'] .sv-l4 .sv-link {
  animation: sv-flow 1200ms linear infinite;
}
.sv-edge {
  fill: rgba(70, 219, 232, 0.06);
  stroke: var(--cyan-400);
}
.sv-chip {
  fill: none;
  stroke: var(--cyan-300);
  stroke-linecap: round;
}
.sv-event rect {
  fill: rgba(13, 22, 38, 0.92);
  stroke: rgba(160, 185, 215, 0.24);
}
.sv-event circle {
  fill: var(--cyan-400);
}
.sv-event--warm rect {
  stroke: rgba(245, 180, 84, 0.6);
}
.sv-event--warm circle {
  fill: var(--amber-400);
}
.sv-mono {
  font-size: 12.5px;
  fill: var(--text);
}
.sv-mono--dim {
  fill: var(--text-3);
}
.sv-queue {
  fill: rgba(13, 22, 38, 0.92);
  stroke: rgba(160, 185, 215, 0.3);
}
.sv-warm-dot {
  fill: var(--amber-400);
}
.sv-strong {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 560;
  fill: var(--text);
}
.sv__svg .sv-strong {
  font-family: var(--font-sans);
}
.sv-person {
  fill: none;
  stroke: var(--cyan-300);
  stroke-width: 1.4;
}
.sv-pill {
  fill: rgba(245, 180, 84, 0.12);
  stroke: rgba(245, 180, 84, 0.6);
}
.sv-pill-text {
  font-size: 11px;
  letter-spacing: 0.06em;
  fill: var(--amber-300);
}

/* ---------- Operator view teaser ---------- */
.home-ov__grid {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 1024px) {
  .home-ov__grid {
    grid-template-columns: minmax(0, 4.3fr) minmax(0, 7.7fr);
    gap: clamp(48px, 5vw, 88px);
    align-items: center;
  }
}
.home-ov__body {
  margin-top: var(--space-5);
  max-width: 46ch;
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--fg-2);
}
.home-ov__points {
  list-style: none;
  margin: var(--space-6) 0 0;
  padding: 0;
  border-top: 1px solid var(--rule-2);
}
.home-ov__points li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  padding-block: 13px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
  color: var(--fg-2);
}
.home-ov__key {
  padding-top: 0.3em;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.ov {
  margin: 0;
  min-width: 0;
}
.ov__window {
  overflow: hidden;
  border: 1px solid var(--rule-2);
  border-radius: var(--radius-l);
  background: var(--ink-850);
  box-shadow:
    0 60px 120px -60px rgba(0, 0, 0, 0.9),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  font-size: 13px;
  line-height: 1.4;
  color: var(--fg);
}
.ov__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 50px;
  padding: 0 16px;
  border-bottom: 1px solid var(--rule);
  background: rgba(5, 9, 17, 0.55);
}
.ov__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  white-space: nowrap;
}
.ov__tabs {
  display: flex;
  gap: 2px;
  margin-left: 6px;
}
.ov__tabs > span {
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--fg-3);
  white-space: nowrap;
}
.ov__tabs > .is-current {
  background: rgba(160, 185, 215, 0.1);
  color: var(--fg);
}
.ov__tabs b {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: 4px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(245, 180, 84, 0.16);
  color: var(--amber-300);
  font-weight: 600;
  font-size: 11px;
}
.ov__site {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: var(--fg-2);
  white-space: nowrap;
}
.ov__sample {
  padding: 3px 8px;
  border: 1px solid rgba(70, 219, 232, 0.4);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-300);
}
.ov__body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.ov__search {
  grid-row: 1 / span 2;
  padding: 16px;
  border-right: 1px solid var(--rule);
}
.ov__map {
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--rule);
}
.ov__queue {
  padding: 14px 16px 16px;
}
.ov__field {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(70, 219, 232, 0.55);
  border-radius: var(--radius-s);
  background: rgba(5, 9, 17, 0.6);
  box-shadow: 0 0 0 3px rgba(70, 219, 232, 0.1);
}
.ov__field .icon {
  color: var(--fg-3);
}
.ov__caret {
  width: 1px;
  height: 15px;
  margin-left: -6px;
  background: var(--cyan-400);
}
.ov__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.ov__chip {
  padding: 3px 9px;
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  font-size: 11px;
  color: var(--fg-3);
}
.ov__chip.is-on {
  border-color: rgba(70, 219, 232, 0.5);
  color: var(--cyan-300);
}
.ov__results {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.ov__results li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    'stock desc loc'
    'seen seen loc';
  gap: 2px 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
}
.ov__results li.is-selected {
  border-color: rgba(70, 219, 232, 0.32);
  background: rgba(70, 219, 232, 0.06);
}
.ov__stock {
  grid-area: stock;
  font-family: var(--font-mono);
  font-size: 12px;
}
.ov__desc {
  grid-area: desc;
  overflow: hidden;
  color: var(--fg-2);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ov__seen {
  grid-area: seen;
  font-size: 11.5px;
  color: var(--fg-3);
}
.ov__loc {
  grid-area: loc;
  padding: 4px 8px;
  border: 1px solid rgba(70, 219, 232, 0.45);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--cyan-300);
}
.ov__loc--out {
  border-color: var(--rule-2);
  color: var(--fg-3);
}
.ov__panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.ov__panel-head > :first-child {
  color: var(--fg-2);
}
.ov__fresh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ov__fresh-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 3px rgba(70, 219, 232, 0.18);
}
.ov__map-svg {
  display: block;
  width: 100%;
  height: auto;
}
.ov-band {
  fill: rgb(70 219 232 / calc(var(--f) * 0.16));
  stroke: rgba(160, 185, 215, 0.18);
}
.ov-stalls {
  fill: none;
  stroke: rgba(160, 185, 215, 0.28);
}
.ov-map-text {
  font-family: var(--font-mono);
  font-size: 12px;
  fill: var(--cyan-300);
}
.ov-route {
  fill: none;
  stroke: var(--cyan-300);
  stroke-width: 1.5;
  stroke-dasharray: 3 4;
}
.ov-target {
  fill: rgba(126, 234, 243, 0.62);
  stroke: #e6fbfd;
}
.ov-target-ring {
  fill: none;
  stroke: var(--cyan-300);
  transform-box: fill-box;
  transform-origin: center;
  animation: lv-pulse 2600ms var(--ease-out) infinite;
}
.ov__item {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: 10px;
}
.ov__item + .ov__item {
  margin-top: 8px;
}
.ov__item--warm {
  border-color: rgba(245, 180, 84, 0.4);
  background: rgba(245, 180, 84, 0.05);
}
.ov__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-400);
}
.ov__item--warm .ov__dot {
  background: var(--amber-400);
}
.ov__item-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.ov__item-text strong {
  font-weight: 560;
}
.ov__item-text > span {
  overflow: hidden;
  font-size: 11.5px;
  color: var(--fg-3);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ov__actions {
  display: flex;
  gap: 6px;
}
.ov__actions > span {
  padding: 5px 9px;
  border: 1px solid var(--rule-2);
  border-radius: 6px;
  font-size: 11px;
  color: var(--fg-2);
  white-space: nowrap;
}
.ov__actions > span:first-child {
  border-color: rgba(245, 180, 84, 0.5);
  color: var(--amber-300);
}
.ov__state {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-300);
}
.ov__caption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.06em;
  color: var(--fg-3);
}
@media (max-width: 719px) {
  .ov__tabs,
  .ov__map,
  .ov__actions > span:last-child {
    display: none;
  }
  .ov__body {
    grid-template-columns: minmax(0, 1fr);
  }
  .ov__search {
    grid-row: auto;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
}

/* ---------- Principles ---------- */
.home-principles {
  border-top: 1px solid var(--rule);
}
.home-principles__head {
  display: grid;
  gap: var(--space-4) var(--space-7);
  margin-bottom: clamp(48px, 6vw, 88px);
}
.home-principles__intro {
  max-width: 48ch;
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--fg-2);
}
@media (min-width: 960px) {
  .home-principles__head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
  }
  .home-principles__head > .eyebrow,
  .home-principles__head > h2 {
    grid-column: 1;
  }
  .home-principles__intro {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
  }
}
.home-principles__cols {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--rule-2);
}
.home-principle {
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--rule);
}
.home-principle__index {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  color: var(--accent);
}
.home-principle__index::after {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.home-principle h3 {
  margin-bottom: var(--space-3);
}
.home-principle p {
  color: var(--fg-2);
  font-size: 0.97rem;
}
@media (min-width: 640px) {
  .home-principles__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-principle {
    padding: 28px 28px 36px;
    border-bottom: 0;
    border-left: 1px solid var(--rule);
  }
  .home-principle:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
  .home-principle:nth-child(-n + 2) {
    border-bottom: 1px solid var(--rule);
  }
}
@media (min-width: 1100px) {
  .home-principles__cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .home-principle,
  .home-principle:nth-child(odd) {
    padding: 30px 28px 8px;
    border-left: 1px solid var(--rule);
    border-bottom: 0;
  }
  .home-principle:first-child {
    padding-left: 0;
    border-left: 0;
  }
  .home-principle:nth-child(-n + 2) {
    border-bottom: 0;
  }
}
.home-principles__more {
  margin-top: clamp(40px, 5vw, 64px);
}
.home-principles__more .link-arrow {
  display: inline-flex;
}

/* ---------- Guides ---------- */
.home-guides__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule-2);
}
.home-guide {
  position: relative;
  display: grid;
  gap: 10px 32px;
  padding-block: 28px;
  border-bottom: 1px solid var(--rule-2);
}
.home-guide__topic {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.home-guide__topic > span {
  margin-right: 12px;
  color: var(--accent);
}
.home-guide__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-3);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-wrap: balance;
}
.home-guide__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur) var(--ease-out);
}
.home-guide__title a::after {
  content: '';
  position: absolute;
  inset: 0;
}
.home-guide__summary {
  max-width: 56ch;
  font-size: 0.95rem;
  color: var(--fg-2);
}
.home-guide__meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  white-space: nowrap;
}
.home-guide__meta .icon {
  color: var(--accent);
  transition: transform var(--dur) var(--ease-out);
}
.home-guide:hover .home-guide__title a {
  color: var(--accent);
}
.home-guide:hover .home-guide__meta .icon {
  transform: translateX(5px);
}
@media (min-width: 960px) {
  .home-guide {
    grid-template-columns: minmax(0, 2.4fr) minmax(0, 5fr) minmax(0, 4fr) auto;
    align-items: baseline;
    padding-block: 36px;
  }
}
.home-guides__all {
  margin-top: var(--space-6);
}
.home-guides__all .link-arrow {
  display: inline-flex;
}
