/* First-viewport landing critical CSS — full landing.css deferred */
/* clip (not hidden) — overflow-x:hidden on html/body breaks position:sticky */
html:has(body.page-landing),
body.page-landing {
  overflow-x: clip;
  max-width: 100%;
}

/* Marketing landing - page-landing */

body.page-landing {
  --landing-max: 1240px;
  --landing-section: 5.5rem;
  --landing-radius: 20px;
  --landing-surface: rgba(12, 11, 18, 0.94);
  --landing-border: rgba(255, 255, 255, 0.09);
  --landing-scroll-y: 0px;
  --landing-scroll-progress: 0;
  --landing-edge: #030205;
  --landing-edge-soft: rgba(3, 2, 5, 0);
  /* Long top fade — black dissolves into video (workflow section style) */
  --landing-top-fade: linear-gradient(
    180deg,
    var(--landing-edge) 0%,
    rgba(3, 2, 5, 0.99) 3%,
    rgba(3, 2, 5, 0.94) 8%,
    rgba(3, 2, 5, 0.82) 16%,
    rgba(3, 2, 5, 0.64) 26%,
    rgba(3, 2, 5, 0.44) 38%,
    rgba(3, 2, 5, 0.26) 50%,
    rgba(3, 2, 5, 0.12) 62%,
    rgba(3, 2, 5, 0.05) 74%,
    rgba(3, 2, 5, 0.02) 86%,
    var(--landing-edge-soft) 100%
  );
  --landing-section-top-overlay: linear-gradient(
    180deg,
    rgba(3, 2, 5, 0.96) 0%,
    rgba(3, 2, 5, 0.92) 6%,
    rgba(3, 2, 5, 0.84) 14%,
    rgba(3, 2, 5, 0.72) 24%,
    rgba(3, 2, 5, 0.54) 36%,
    rgba(3, 2, 5, 0.36) 48%,
    rgba(3, 2, 5, 0.22) 60%,
    rgba(3, 2, 5, 0.12) 72%,
    rgba(3, 2, 5, 0.06) 84%,
    rgba(3, 2, 5, 0.02) 92%,
    rgba(3, 2, 5, 0) 100%
  );
  --landing-bottom-fade: linear-gradient(
    0deg,
    rgba(3, 2, 5, 0.92) 0%,
    rgba(3, 2, 5, 0.76) 10%,
    rgba(3, 2, 5, 0.5) 22%,
    rgba(3, 2, 5, 0.28) 38%,
    rgba(3, 2, 5, 0.12) 56%,
    rgba(3, 2, 5, 0.04) 74%,
    var(--landing-edge-soft) 100%
  );
  /* Down into the next video — thin ~1in seam */
  --landing-seam-fade-top: linear-gradient(
    180deg,
    var(--landing-edge) 0%,
    rgba(3, 2, 5, 0.7) 40%,
    rgba(3, 2, 5, 0.25) 75%,
    rgba(3, 2, 5, 0) 100%
  );
  /* Exact mirror — up into the video above */
  --landing-seam-fade-bottom: linear-gradient(
    0deg,
    var(--landing-edge) 0%,
    rgba(3, 2, 5, 0.7) 40%,
    rgba(3, 2, 5, 0.25) 75%,
    rgba(3, 2, 5, 0) 100%
  );
  /* Double-sided thin seam */
  --landing-seam-bridge: linear-gradient(
    180deg,
    rgba(3, 2, 5, 0) 0%,
    rgba(3, 2, 5, 0.25) 25%,
    rgba(3, 2, 5, 0.7) 42%,
    var(--landing-edge) 50%,
    rgba(3, 2, 5, 0.7) 58%,
    rgba(3, 2, 5, 0.25) 75%,
    rgba(3, 2, 5, 0) 100%
  );
  --landing-video-mask-section: none;
  --landing-veil-tint-section: linear-gradient(
    180deg,
    rgba(3, 2, 5, 0.42) 0%,
    rgba(3, 2, 5, 0.28) 12%,
    rgba(3, 2, 5, 0.18) 24%,
    rgba(3, 2, 5, 0.12) 36%,
    rgba(3, 2, 5, 0.08) 48%,
    rgba(3, 2, 5, 0.06) 58%,
    rgba(3, 2, 5, 0.08) 70%,
    rgba(3, 2, 5, 0.22) 84%,
    rgba(3, 2, 5, 0.48) 100%
  );
  --landing-veil-tint: linear-gradient(
    180deg,
    var(--landing-edge) 0%,
    rgba(3, 2, 5, 0.72) 14%,
    rgba(3, 2, 5, 0.14) 32%,
    rgba(3, 2, 5, 0.1) 58%,
    rgba(3, 2, 5, 0.28) 82%,
    var(--landing-edge) 100%
  );
  --landing-video-feather: linear-gradient(
    180deg,
    transparent 0%,
    #000 4%,
    #000 96%,
    transparent 100%
  );
  --landing-topo-tint: linear-gradient(
    165deg,
    rgba(12, 11, 18, 0.84) 0%,
    rgba(12, 11, 18, 0.92) 52%,
    rgba(12, 11, 18, 0.9) 100%
  );
  background: #030205;
}

body.page-landing .main {
  position: relative;
  z-index: 1;
  padding-bottom: 0;
  padding-top: calc(var(--brand-logo-height) + 1.5rem);
  background: transparent;
}

/* Full-bleed fog plane under absolute topbar */
body.page-landing .main.main--plane {
  padding-top: 0;
}

/* Transition scrim off — gradients handle the blend, not a flat overlay */
body.page-landing .main.main--plane::after {
  display: none;
}

/* ---- Hero plane: sticky full-viewport fog video ---- */

.landing-plane {
  position: relative;
  z-index: 3;
  margin: 0;
  color: #fff;
}

.landing-plane__track {
  position: relative;
  height: 240vh;
}

.landing-plane__sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background: var(--landing-edge);
}

/* No seam band — hero fades to black via opacity */

.landing-plane__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--landing-edge) url("./pv-hero-poster.jpg?v=3") center center / cover no-repeat;
}

.landing-plane__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.22);
  transform-origin: 50% 42%;
  will-change: transform;
  filter: saturate(0.92) contrast(1.06) brightness(0.92);
  background: var(--landing-edge);
  opacity: 1;
  transition: opacity 420ms ease;
}

.landing-plane__fog {
  position: absolute;
  inset: -8%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.72;
}

.landing-plane__fog-layer {
  position: absolute;
  inset: 0;
  display: block;
  background-repeat: no-repeat;
  will-change: transform, opacity;
}

.landing-plane__fog-layer--a {
  background:
    radial-gradient(ellipse 55% 40% at 22% 68%, rgba(255, 255, 255, 0.28), transparent 68%),
    radial-gradient(ellipse 48% 36% at 78% 34%, rgba(230, 230, 240, 0.18), transparent 70%);
  filter: blur(28px);
  animation: landing-fog-drift-a 28s ease-in-out infinite alternate;
}

.landing-plane__fog-layer--b {
  background:
    radial-gradient(ellipse 70% 48% at 48% 88%, rgba(255, 255, 255, 0.22), transparent 72%),
    radial-gradient(ellipse 40% 30% at 12% 28%, rgba(210, 220, 235, 0.14), transparent 65%);
  filter: blur(42px);
  opacity: 0.85;
  animation: landing-fog-drift-b 36s ease-in-out infinite alternate;
}

.landing-plane__fog-layer--c {
  background:
    radial-gradient(ellipse 90% 55% at 50% 100%, rgba(255, 255, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 35% 28% at 62% 18%, rgba(255, 255, 255, 0.1), transparent 60%);
  filter: blur(54px);
  opacity: 0.7;
  animation: landing-fog-drift-c 44s ease-in-out infinite alternate;
}

.landing-plane__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, transparent 20%, rgba(3, 2, 5, 0.22) 72%, rgba(3, 2, 5, 0.45) 100%),
    linear-gradient(
      180deg,
      rgba(3, 2, 5, 0.36) 0%,
      transparent 18%,
      transparent 62%,
      rgba(3, 2, 5, 0.28) 100%
    );
}

.landing-plane__tiles {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
  padding: 0 clamp(0.5rem, 2vw, 1.25rem);
}

.landing-plane__tiles-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.8vw, 1.35rem);
  width: min(1080px, 90vw);
  transform: scale(0.88);
  transform-origin: 50% 48%;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.landing-plane__tile {
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: clamp(10px, 1.4vw, 16px);
  overflow: hidden;
  background: #0a090f;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.landing-plane__tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.12);
  transform-origin: center center;
}

/* Bias left so the survey instrument isn't clipped on the edge */
.landing-plane__tile--survey img {
  object-position: 18% center;
}

.landing-plane__copy {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  pointer-events: none;
  padding: max(7rem, calc(var(--brand-logo-height) * 0.55)) 1.5rem 4rem;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.landing-plane__prehead {
  position: absolute;
  top: clamp(6.5rem, 28vh, 34vh);
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  max-width: min(52rem, calc(100% - 2rem));
  text-align: center;
  font-family: var(--sans);
  font-size: clamp(0.95rem, 2.1vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
  will-change: transform, opacity;
  white-space: normal;
  box-sizing: border-box;
  padding-inline: 0.5rem;
  min-height: 1.25em;
}

.landing-plane__prehead.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.92em;
  margin-left: 0.12em;
  vertical-align: -0.06em;
  background: rgba(255, 255, 255, 0.92);
  animation: landing-scroll-caret 0.72s step-end infinite;
}

@keyframes landing-scroll-caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.landing-plane__title {
  margin: 0;
  max-width: min(18ch, calc(100% - 1rem));
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 6.8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: #fff;
  white-space: normal;
  text-wrap: balance;
  padding-inline: 0.35rem;
  text-shadow:
    0 2px 28px rgba(0, 0, 0, 0.62),
    0 0 72px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(0, 0, 0, 0.35);
  will-change: transform, opacity;
}

.landing-plane__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1.5rem, 4vh, 2.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  transform: translateX(-50%);
  font-family: var(--sans, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand, #f87171);
  opacity: var(--scroll-cue-opacity, 1);
  transition: opacity 0.35s ease;
  will-change: opacity, transform;
  z-index: 2;
}

.landing-plane__scroll.is-typed,
.landing-plane__scroll.is-typing {
  animation: landing-red-throb 1.55s ease-in-out infinite;
}

.landing-plane__scroll.is-scrolled-away,
.landing-plane__scroll.is-scrolled-away.is-typed,
.landing-plane__scroll.is-scrolled-away.is-typing {
  animation: none;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.landing-plane__tips {
  position: absolute;
  left: max(0.9rem, env(safe-area-inset-left, 0px));
  right: max(0.9rem, env(safe-area-inset-right, 0px));
  bottom: clamp(1.5rem, 4vh, 2.75rem);
  height: 2.55rem;
  pointer-events: none;
  z-index: 1;
  will-change: opacity;
}

.landing-plane__tip {
  position: absolute;
  top: 50%;
  bottom: auto;
  margin: 0;
  max-width: min(38vw, 13rem);
  font-family: var(--sans, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand, #f87171);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  opacity: 0.92;
  transform-origin: center;
  pointer-events: auto;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}

.landing-plane__tip:hover,
.landing-plane__tip:focus-visible {
  color: #fecaca;
  text-decoration: underline;
  text-underline-offset: 0.28em;
  outline: none;
}

.landing-plane__tip.is-typing::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.95em;
  margin-left: 0.1em;
  vertical-align: -0.08em;
  background: currentColor;
  animation: landing-scroll-caret 0.72s step-end infinite;
}

@keyframes landing-red-throb {
  0%, 100% {
    opacity: calc(var(--scroll-cue-opacity, 1) * 0.28);
    filter: brightness(0.72) saturate(0.85);
  }
  50% {
    opacity: calc(var(--scroll-cue-opacity, 1) * 1);
    filter: brightness(1.65) saturate(1.45);
  }
}

.landing-plane__scroll i {
  display: block;
  width: 3px;
  height: 2.55rem;
  border-radius: 2px;
  opacity: 0;
  background: linear-gradient(180deg, rgba(248, 113, 113, 0.95), transparent);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-plane__scroll.is-typed i {
  opacity: 1;
  animation: landing-scroll-pulse 1.6s ease-in-out infinite;
}

@keyframes landing-scroll-pulse {
  0%, 100% { opacity: 0.12; transform: scaleY(0.42); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1.08); transform-origin: top; }
}

/* Next section rises over the hero plane — content scrolls over crossfading media */
.landing-plane-rise {
  position: relative;
  z-index: 4;
  margin-top: -30vh;
  padding-top: clamp(4.5rem, 10vh, 7rem);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  will-change: auto;
}

/* Soft black bridge while section 2 rises — hero simply fades to black */
.landing-plane-rise::before {
  display: none;
}

.landing-plane-rise > .site-shell {
  position: relative;
  z-index: 1;
  padding-top: clamp(1.25rem, 3vh, 2.25rem);
}

.landing-hero--showcase > .landing-hero__showcase,
.landing-hero--showcase > .landing-hero__body {
  position: relative;
  z-index: 3;
}

.landing-hero--showcase > .landing-hero__showcase,
.landing-hero--showcase > .landing-hero__body {
  position: relative;
  z-index: 3;
}

/* Kill fixed scroll-bg under video planes — it was flickering through */
body.page-landing .landing-scroll-bg {
  display: none;
}

@media (max-width: 720px) {
  .landing-plane__track {
    height: 185vh;
  }

  .landing-plane__sticky {
    min-height: 100svh;
  }

  .landing-plane__media {
    background-position: 48% center;
  }

  .landing-plane__video {
    object-position: 48% center;
    transform: scale(1.12);
  }

  .landing-plane__copy {
    padding: max(6.25rem, calc(env(safe-area-inset-top) + 5rem)) 0.75rem max(7.25rem, calc(env(safe-area-inset-bottom) + 6.25rem));
  }

  .landing-plane__prehead {
    top: clamp(7rem, 27svh, 12.5rem);
    max-width: calc(100% - 2.5rem);
    font-size: clamp(0.72rem, 3.6vw, 0.9rem);
    line-height: 1.35;
    letter-spacing: 0.09em;
  }

  .landing-plane__title {
    max-width: min(14ch, calc(100% - 1rem));
    font-size: clamp(2.15rem, 9vw, 2.75rem);
    line-height: 1.05;
    letter-spacing: 0.018em;
  }

  .landing-plane__tips {
    left: max(0.75rem, env(safe-area-inset-left, 0px));
    right: max(0.75rem, env(safe-area-inset-right, 0px));
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 1.25rem;
  }

  .landing-plane__tip {
    position: static;
    max-width: none;
    min-width: 0;
    transform: none !important;
    text-align: center !important;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 0.6rem;
    line-height: 1.3;
    letter-spacing: 0.11em;
  }

  .landing-plane__scroll {
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  }

  .landing-plane__tiles-track {
    width: min(100%, 92vw);
    gap: 0.55rem;
  }

  .landing-plane__tile {
    border-radius: 8px;
  }

  .landing-plane-rise {
    margin-top: -26vh;
    padding-top: clamp(4rem, 9vh, 6rem);
    border-radius: 0;
  }

  .landing-plane-rise::before {
    display: none;
  }

  .landing-hero__body {
    padding-bottom: clamp(3rem, 8vh, 5rem);
  }

  .landing-plane__scroll i {
    opacity: 1 !important;
  }

}

/* ---- Scroll gradient + dot background ---- */

.landing-scroll-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.landing-scroll-bg__base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 18% 12%, rgba(127, 29, 29, 0.14), transparent 58%),
    radial-gradient(ellipse 60% 50% at 88% 28%, rgba(96, 165, 250, 0.06), transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(69, 10, 10, 0.2), transparent 62%),
    linear-gradient(180deg, #040308 0%, #030205 48%, #020103 100%);
}

.landing-scroll-bg__base::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    transparent 0%,
    rgba(248, 113, 113, 0.04) 35%,
    transparent 55%,
    rgba(99, 102, 241, 0.04) 72%,
    transparent 100%
  );
  transform: translate3d(0, calc(var(--landing-scroll-y, 0px) * 0.08), 0);
}

.landing-scroll-bg__glow {
  position: absolute;
  width: min(92vw, 920px);
  height: min(72vh, 640px);
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
  will-change: transform, opacity;
  transform: translate3d(-50%, -50%, 0);
}

.landing-scroll-bg__glow--a {
  left: var(--landing-glow-a-x, 50%);
  top: var(--landing-glow-a-y, 24%);
  background: radial-gradient(
    circle,
    rgba(248, 113, 113, 0.42) 0%,
    rgba(220, 38, 38, 0.18) 42%,
    transparent 72%
  );
}

.landing-scroll-bg__glow--b {
  left: var(--landing-glow-b-x, 82%);
  top: var(--landing-glow-b-y, 58%);
  width: min(78vw, 760px);
  height: min(58vh, 520px);
  background: radial-gradient(
    circle,
    rgba(239, 68, 68, 0.34) 0%,
    rgba(127, 29, 29, 0.14) 48%,
    transparent 74%
  );
  opacity: 0.48;
}

.landing-scroll-bg__glow--c {
  left: var(--landing-glow-c-x, 16%);
  top: var(--landing-glow-c-y, 70%);
  width: min(68vw, 640px);
  height: min(52vh, 460px);
  background: radial-gradient(
    circle,
    rgba(185, 28, 28, 0.28) 0%,
    rgba(69, 10, 10, 0.12) 50%,
    transparent 76%
  );
  opacity: 0.42;
}

.landing-scroll-bg__glow--d {
  left: var(--landing-glow-d-x, 62%);
  top: var(--landing-glow-d-y, 38%);
  width: min(52vw, 480px);
  height: min(44vh, 380px);
  filter: blur(64px);
  background: radial-gradient(
    circle,
    rgba(96, 165, 250, 0.22) 0%,
    rgba(59, 130, 246, 0.1) 45%,
    transparent 72%
  );
  opacity: 0.38;
}

.landing-scroll-bg__glow--e {
  left: var(--landing-glow-e-x, 38%);
  top: var(--landing-glow-e-y, 82%);
  width: min(85vw, 800px);
  height: min(40vh, 360px);
  filter: blur(88px);
  background: radial-gradient(
    ellipse 100% 80% at 50% 50%,
    rgba(251, 113, 133, 0.26) 0%,
    rgba(153, 27, 27, 0.1) 52%,
    transparent 78%
  );
  opacity: 0.5;
}

.landing-scroll-bg__dots {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--landing-dots-height, 240vh);
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.landing-scroll-bg__dot {
  position: absolute;
  width: var(--dot-size, 3px);
  height: var(--dot-size, 3px);
  border-radius: 50%;
  opacity: 0;
  will-change: transform, opacity, left, top;
}

.landing-scroll-bg__dot--red {
  background: rgba(248, 113, 113, 0.9);
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.45);
}

.landing-scroll-bg__dot--green {
  background: rgba(147, 197, 253, 0.88);
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.38);
}

.landing-scroll-bg__dot--bright {
  box-shadow:
    0 0 14px currentColor,
    0 0 28px currentColor;
}

.landing-scroll-bg__dot--bright.landing-scroll-bg__dot--red {
  color: rgba(248, 113, 113, 0.55);
}

.landing-scroll-bg__dot--bright.landing-scroll-bg__dot--green {
  color: rgba(96, 165, 250, 0.45);
}

.landing-scroll-bg__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 45%, transparent 28%, rgba(0, 0, 0, 0.58) 100%),
    linear-gradient(180deg, rgba(3, 2, 5, 0.5) 0%, transparent 20%, transparent 80%, rgba(1, 1, 2, 0.45) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .landing-scroll-bg__glow,
  .landing-scroll-bg__dots {
    transform: none !important;
  }

  .landing-hero__signal-bar::after,
  .landing-scroll-bg__streets-wrap {
    transform: none !important;
  }

  .landing-scroll-bg__streets .landing-street {
    opacity: 0.28 !important;
  }
}

body.page-landing .topbar__link[aria-current="page"] {
  color: #fff;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* Homepage topbar uses the shared site styles */
body.page-landing .topbar__inner {
  min-height: 0;
  align-items: center;
  padding-top: clamp(1rem, 2.2vw, 1.45rem);
  padding-bottom: 0.35rem;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

body.page-landing .landing-plane__copy {
  padding-top: clamp(6.5rem, 14vh, 9rem);
}

body.page-landing .site-shell {
  max-width: calc(var(--landing-max) + 48px);
}

.landing-hero--showcase {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "showcase"
    "body";
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  overflow: visible;
}

.landing-hero__body {
  grid-area: body;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(28rem, 0.95fr);
  gap: 1in;
  align-items: stretch;
  padding-bottom: clamp(4rem, 10vh, 7rem);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .landing-hero__body {
    grid-template-columns: 1fr;
  }
}

body.page-landing .eyebrow {
  gap: 0.7rem;
  margin-bottom: clamp(1.35rem, 2.6vw, 2rem);
  padding: 0.55rem 1.2rem;
  line-height: 1;
  border-color: rgba(248, 113, 113, 0.28);
  box-sizing: border-box;
  vertical-align: middle;
}

body.page-landing .eyebrow::before {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  margin: 0;
  align-self: center;
}

body.page-landing .site-footer {
  position: relative;
  z-index: 1;
  margin-top: 0;
  margin-bottom: 2rem;
  padding: 1.5rem 0 0;
  border-radius: 0;
  border: 0;
  border-top: 1px solid var(--landing-border);
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* —— Landing intro: black + red type → fade page in —— */
body.page-landing.is-landing-intro {
  overflow: hidden;
  background: #000;
}

body.page-landing.is-landing-intro .landing-scroll-bg,
body.page-landing.is-landing-intro .topbar,
body.page-landing.is-landing-intro .landing-plane__media,
body.page-landing.is-landing-intro .landing-plane__fog,
body.page-landing.is-landing-intro .landing-plane__veil,
body.page-landing.is-landing-intro .landing-plane__tiles,
body.page-landing.is-landing-intro .landing-plane__prehead,
body.page-landing.is-landing-intro .landing-plane__title,
body.page-landing.is-landing-intro .landing-plane-rise,
body.page-landing.is-landing-intro .site-footer {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
}

body.page-landing.is-landing-intro .landing-plane__sticky {
  background: #000;
}

body.page-landing.is-landing-intro .landing-plane__tips {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.page-landing.is-landing-intro .landing-plane__scroll {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.page-landing.is-landing-revealing .landing-plane__tips,
body.page-landing.is-landing-revealing .landing-plane__scroll {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 8;
}

body.page-landing.is-landing-revealing .landing-scroll-bg,
body.page-landing.is-landing-revealing .topbar,
body.page-landing.is-landing-revealing .landing-plane__media,
body.page-landing.is-landing-revealing .landing-plane__fog,
body.page-landing.is-landing-revealing .landing-plane__veil,
body.page-landing.is-landing-revealing .landing-plane__tiles,
body.page-landing.is-landing-revealing .landing-plane__prehead,
body.page-landing.is-landing-revealing .landing-plane__title,
body.page-landing.is-landing-revealing .landing-plane-rise {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 2.6s ease;
}

body.page-landing.is-landing-revealing .landing-plane__sticky {
  background: var(--landing-edge, #050507);
  transition: background 2.6s ease;
}

body.page-landing.is-landing-revealing,
body.page-landing.is-landing-ready {
  overflow-x: clip;
  overflow-y: visible;
}

@media (prefers-reduced-motion: reduce) {
  body.page-landing.is-landing-intro .landing-scroll-bg,
  body.page-landing.is-landing-intro .topbar,
  body.page-landing.is-landing-intro .landing-plane__media,
  body.page-landing.is-landing-intro .landing-plane__fog,
  body.page-landing.is-landing-intro .landing-plane__veil,
  body.page-landing.is-landing-intro .landing-plane__tiles,
  body.page-landing.is-landing-intro .landing-plane__prehead,
  body.page-landing.is-landing-intro .landing-plane__title,
  body.page-landing.is-landing-intro .landing-plane-rise {
    opacity: 1 !important;
    visibility: visible;
    pointer-events: auto;
  }
}
