:root {
  --ink: #10100f;
  --paper: #f0ede5;
  --paper-2: #d8d4ca;
  --signal: #ff4d00;
  --steel: #a9adb0;
  --night: #080909;
  --white: #fffdf8;
  --rule: rgba(16, 16, 15, 0.25);
  --gutter: clamp(1.15rem, 3.2vw, 3.5rem);
  --display: "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --body: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
  color: var(--paper);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  padding: 0.8rem var(--gutter);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.wordmark,
.header-action {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wordmark-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid currentColor;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.header-action {
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--signal);
}

.opening {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 96svh;
  overflow: hidden;
  background: #313130;
  color: var(--white);
}

.opening-media,
.opening-grade,
.opening-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.opening-media {
  z-index: 0;
  object-fit: cover;
  object-position: 48% 54%;
  filter: contrast(1.05);
}

.opening-grade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.88) 0%, rgba(7, 8, 8, 0.38) 52%, rgba(7, 8, 8, 0.12) 100%),
    linear-gradient(0deg, rgba(7, 8, 8, 0.84) 0%, transparent 48%, rgba(7, 8, 8, 0.3) 100%);
}

.opening-grid {
  z-index: 2;
  opacity: 0.2;
  background-image:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(255, 255, 255, 0.6) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(0deg, transparent calc(65% - 0.5px), rgba(255, 255, 255, 0.45) 65%, transparent calc(65% + 0.5px));
  pointer-events: none;
}

.opening-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(100%, 94rem);
  min-height: 96svh;
  margin: 0 auto;
  padding: clamp(8rem, 18vh, 13rem) var(--gutter) clamp(5.5rem, 10vh, 7rem);
}

.eyebrow,
.micro-label,
.scene-overline {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: clamp(1.25rem, 3vh, 2.5rem);
}

.signal-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 5px rgba(255, 77, 0, 0.2);
}

.opening h1 {
  max-width: 9ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 11.5vw, 10rem);
  font-stretch: condensed;
  font-weight: 900;
  line-height: 0.74;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.opening h1 span {
  display: block;
}

.opening h1 span:last-child {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--white);
  text-stroke: 1.5px var(--white);
}

.opening-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(2rem, 6vh, 4.5rem);
}

.opening-intro {
  max-width: 32rem;
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.button {
  display: inline-flex;
  min-height: 3.6rem;
  align-items: center;
  justify-content: space-between;
  gap: 2.2rem;
  padding: 0.9rem 1.15rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button-primary {
  min-width: 13.5rem;
  background: var(--signal);
  color: var(--white);
}

.button-primary:hover {
  background: var(--white);
  color: var(--ink);
  transform: translateY(-2px);
}

.media-label,
.hero-credit {
  position: absolute;
  z-index: 4;
  bottom: 1rem;
  margin: 0;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.media-label {
  left: var(--gutter);
  padding: 0.45rem 0.6rem;
  background: rgba(8, 9, 9, 0.84);
}

.hero-credit {
  right: var(--gutter);
  color: rgba(255, 255, 255, 0.75);
}

.hero-credit a {
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 0.25rem;
}

.opening-index {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  transform: rotate(90deg) translateX(50%);
  transform-origin: 100% 50%;
}

.known,
.location {
  padding: clamp(4.5rem, 10vw, 9rem) var(--gutter);
  background: var(--paper);
}

.section-kicker,
.location-topline {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.known-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
  gap: clamp(3rem, 9vw, 9rem);
  padding-top: clamp(3rem, 7vw, 6rem);
}

.known-heading h2,
.location h2,
.production-note h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.known-heading h2 {
  max-width: 7ch;
  margin-top: 1rem;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: 0.88;
}

.fact-list {
  margin: 0;
  border-top: 2px solid var(--ink);
}

.fact-list div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--rule);
}

.fact-list dt {
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.2;
}

.missing-note {
  display: grid;
  grid-template-columns: auto minmax(0, 44rem);
  justify-content: end;
  gap: 1rem;
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

.missing-note p {
  margin: 0;
  color: #3e3d39;
  line-height: 1.6;
}

.missing-mark {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border-radius: 50%;
  background: var(--signal);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 900;
}

.scroll-scene {
  position: relative;
  height: auto;
  min-height: 0;
  background: #15212a;
  color: var(--white);
}

.scroll-scene[data-motion-state="enhanced"] {
  height: 300svh;
}

.scene-stage {
  position: relative;
  width: 100%;
  min-height: 78svh;
  overflow: hidden;
  background: #1a242b url("media/engine-check-poster.webp") center / cover no-repeat;
}

.scroll-scene[data-motion-state="enhanced"] .scene-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 100svh;
}

.scene-video,
.scene-shade,
.scene-copy {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scene-video {
  z-index: 0;
  display: none;
  object-fit: cover;
  object-position: 54% center;
}

.scroll-scene[data-motion-state="enhanced"] .scene-video {
  display: block;
}

.scene-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 8, 10, 0.86) 0%, rgba(4, 8, 10, 0.52) 47%, rgba(4, 8, 10, 0.18) 100%),
    linear-gradient(0deg, rgba(4, 8, 10, 0.75), transparent 45%);
}

.scene-copy {
  z-index: 2;
}

.scene-copy-inner {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  height: 100%;
  min-height: 78svh;
  padding: clamp(1.4rem, 4vw, 4rem) var(--gutter);
}

.scene-meta,
.scene-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.scene-meta p,
.scene-controls p {
  margin: 0;
}

.scene-concept {
  padding: 0.45rem 0.65rem;
  background: var(--signal);
  color: var(--white);
}

.scene-statement {
  align-self: center;
  max-width: 56rem;
  padding-block: 3rem;
}

.scene-overline {
  margin-bottom: 1rem;
  color: #ffb08e;
}

.scene-statement h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.5rem, 9.5vw, 9rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.scene-statement > p:last-child {
  max-width: 38rem;
  margin: clamp(1.5rem, 4vw, 3rem) 0 0;
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  line-height: 1.55;
}

.scene-controls {
  align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: 1rem;
}

.motion-status {
  max-width: 28rem;
  line-height: 1.4;
}

.motion-status[hidden],
.motion-opt-in[hidden] {
  display: none;
}

.motion-opt-in {
  min-height: 2.9rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.scene-credit a {
  color: rgba(255, 255, 255, 0.82);
  text-underline-offset: 0.28rem;
}

.location {
  padding-top: clamp(5rem, 12vw, 11rem);
  padding-bottom: clamp(5rem, 12vw, 11rem);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(19rem, 0.7fr);
  gap: clamp(3.5rem, 9vw, 10rem);
  padding-top: clamp(3rem, 7vw, 6rem);
}

.location h2 {
  margin-top: 1.2rem;
  color: var(--signal);
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.77;
}

.location-city {
  margin: 2rem 0 0;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.direction-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 40rem;
  margin-top: 3rem;
  padding: 1.1rem 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 180ms ease, padding 180ms ease;
}

.direction-line:hover {
  padding-inline: 0.75rem;
  color: var(--signal);
}

.production-note {
  align-self: end;
  padding: 1.5rem;
  border: 1px solid var(--ink);
  background: transparent;
}

.production-note h3 {
  max-width: 10ch;
  margin-top: 1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.95;
}

.production-note ul {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.production-note li {
  padding: 0.8rem 0;
  border-top: 1px solid var(--rule);
  font-size: 0.86rem;
  line-height: 1.4;
}

.production-note li::before {
  content: "— ";
  color: var(--signal);
  font-weight: 900;
}

.site-footer {
  position: relative;
  padding: clamp(3.5rem, 8vw, 7rem) var(--gutter) 2rem;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.site-footer::before {
  content: "LG";
  position: absolute;
  right: -0.02em;
  bottom: -0.2em;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--display);
  font-size: clamp(15rem, 45vw, 42rem);
  font-weight: 900;
  line-height: 0.7;
  pointer-events: none;
}

.concept-disclosure,
.footer-links,
.footer-folio {
  position: relative;
  z-index: 1;
}

.concept-disclosure {
  display: grid;
  grid-template-columns: 11rem minmax(0, 42rem);
  gap: clamp(2rem, 7vw, 7rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.concept-tag {
  align-self: start;
  padding: 0.55rem 0.7rem;
  background: var(--signal);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.concept-disclosure p {
  margin: 0;
  font-size: clamp(1.2rem, 2.8vw, 2.2rem);
  line-height: 1.35;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  margin-top: 2rem;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--signal);
}

.footer-folio {
  margin: clamp(5rem, 12vw, 10rem) 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .opening-content {
    justify-content: center;
    padding-top: 7.5rem;
  }

  .opening-bottom,
  .known-layout,
  .location-grid,
  .concept-disclosure {
    grid-template-columns: 1fr;
  }

  .opening-bottom {
    display: grid;
    align-items: start;
  }

  .button-primary {
    width: min(100%, 21rem);
  }

  .known-layout,
  .location-grid {
    gap: 3.5rem;
  }

  .production-note {
    align-self: start;
  }

  .concept-disclosure {
    display: grid;
    gap: 2rem;
  }

  .concept-tag {
    width: max-content;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 4rem;
  }

  .wordmark > span:last-child {
    display: none;
  }

  .opening,
  .opening-content {
    min-height: 94svh;
  }

  .opening-media {
    object-position: 43% 50%;
  }

  .opening-grade {
    background:
      linear-gradient(90deg, rgba(7, 8, 8, 0.82), rgba(7, 8, 8, 0.26)),
      linear-gradient(0deg, rgba(7, 8, 8, 0.9) 0%, transparent 55%, rgba(7, 8, 8, 0.45) 100%);
  }

  .opening-content {
    padding-bottom: 6.5rem;
  }

  .opening h1 {
    font-size: clamp(3.65rem, 18vw, 5.4rem);
    line-height: 0.78;
  }

  .opening-index,
  .hero-credit {
    display: none;
  }

  .media-label {
    right: var(--gutter);
    font-size: 0.55rem;
  }

  .known,
  .location {
    padding-block: 4.5rem;
  }

  .fact-list div {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .missing-note {
    justify-content: start;
  }

  .scroll-scene[data-motion-state="enhanced"] {
    height: 260svh;
  }

  .scene-copy-inner {
    min-height: 82svh;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }

  .scene-meta {
    align-items: flex-start;
  }

  .scene-concept {
    max-width: 11rem;
    text-align: right;
  }

  .scene-statement h2 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .scene-statement > p:last-child {
    font-size: 0.92rem;
  }

  .scene-video {
    object-position: 58% center;
  }

  .scene-controls {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .motion-opt-in {
    width: max-content;
  }

  .scene-credit {
    font-size: 0.55rem;
  }

  .location h2 {
    font-size: clamp(3.7rem, 17vw, 5.7rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-motion-override="true"]) {
    scroll-behavior: auto;
  }

  html:not([data-motion-override="true"]) *,
  html:not([data-motion-override="true"]) *::before,
  html:not([data-motion-override="true"]) *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
