:root {
  color-scheme: dark;
  --black: #080808;
  --paper: #f0eee7;
  --acid: #d7ff28;
  --violet: #4a00ff;
  --switch-red: #ff432e;
  --switch-cyan: #9cdef4;
  --switch-white: #f5f4ef;
  --switch-dark: #1b2423;
  --muted: rgba(240, 238, 231, 0.58);
  --line: rgba(240, 238, 231, 0.27);
  --nav-rail-width: 4.25rem;
  --rail-width: clamp(17.5rem, 24vw, 23rem);
  --identity-hazard-width: 3.5rem;
  --identity-hazard-rgb: 223, 250, 91;
  --pointer-x: 0;
  --pointer-y: 0;
  --drift-x: 0;
  --drift-y: 0;
  --pulse: 0;
  --scroll-progress: 0;
  --hero-caption-height: 11.5rem;
  --entry-reveal-strip-height: 0.625rem;
  --entry-reveal-strip-travel: calc(
    100svh - var(--nav-rail-width) - var(--hero-caption-height) -
      var(--entry-reveal-strip-height)
  );
  --entry-scanner-delay: 0ms;
  --entry-strip-duration: 900ms;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  background: var(--black);
  color: var(--paper);
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  min-height: 100%;
  margin: 0;
  padding-left: var(--nav-rail-width);
  overflow-x: hidden;
  background: var(--black);
}

html.is-switch-pending,
html.is-switch-running {
  overflow: hidden;
}

body,
button {
  font: inherit;
}

button,
a {
  color: inherit;
}

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

figure {
  margin: 0;
}

.site-switch {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-switch::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--black);
}

html.is-switch-covered .site-switch::before {
  opacity: 0;
}

html.is-switch-pending .site-switch,
html.is-switch-running .site-switch {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.site-switch__mosaic {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
}

.site-switch__panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0;
  transform: scale(0.5);
  transform-origin: center;
  will-change: transform, opacity;
}

.site-switch__core {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  width: calc(var(--switch-unit-x) * 1.01);
  height: calc(var(--switch-unit-y) * 1.01);
  place-items: center;
  background: var(--switch-dark);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
  will-change: transform, opacity;
}

.site-switch__logo {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  display: block;
  width: calc(var(--switch-core-size) * 0.64);
  height: calc(var(--switch-core-size) * 0.64);
  background: var(--paper);
  -webkit-mask: url("./branding/auto-color.svg") center / contain no-repeat;
  mask: url("./branding/auto-color.svg") center / contain no-repeat;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
  will-change: transform, opacity;
}

html.is-switch-running .site-switch__core {
  animation: atelier-site-switch-core var(--switch-duration, 1700ms) linear both;
}

html.is-switch-running .site-switch__logo {
  animation: atelier-site-switch-logo var(--switch-duration, 1700ms) linear both;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.75rem 1rem;
  color: var(--black);
  background: var(--acid);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.topbar {
  position: fixed;
  z-index: 50;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  width: var(--nav-rail-width);
  flex-direction: column;
  background: rgba(8, 8, 8, 0.96);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

html.is-entry-pending .owner-mark,
html.is-entry-pending .scroll-progress,
html.is-entry-pending .hero-media,
html.is-entry-pending .identity-rail,
html.is-entry-pending .identity-rail > *,
html.is-entry-pending .hero-caption,
html.is-entry-pending .hero-caption > *,
html.is-entry-pending .telemetry {
  opacity: 0;
}

html.is-entry-pending .utility-nav {
  clip-path: inset(0 0 100% 0);
}

html.is-entry-pending .identity-hazard__stripes {
  animation-play-state: paused;
}

html.is-entry-running .topbar {
  animation: atelier-entry-rail-base 200ms ease-out 400ms both;
}

html.is-entry-running .topbar::after {
  position: absolute;
  z-index: 6;
  top: var(--nav-rail-width);
  left: 0;
  width: 100%;
  height: var(--entry-reveal-strip-height);
  opacity: 0;
  background: var(--acid);
  content: "";
  pointer-events: none;
  animation: atelier-entry-rail-strip var(--entry-strip-duration) ease-in-out
    var(--entry-scanner-delay) forwards;
}

/* A black cover rides directly beneath the strip on the same animation, so each
   navigation link is revealed exactly as the strip passes it. */
html.is-entry-running .topbar::before {
  position: absolute;
  z-index: 5;
  top: calc(var(--nav-rail-width) + var(--entry-reveal-strip-height));
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--black);
  content: "";
  pointer-events: none;
  animation: atelier-entry-rail-strip var(--entry-strip-duration) ease-in-out
    var(--entry-scanner-delay) forwards;
}

html.is-entry-running .owner-mark {
  animation: atelier-entry-logo 50ms ease-out 0ms both;
}

html.is-entry-running .scroll-progress {
  animation: atelier-entry-content-fade 200ms linear 500ms both;
}

html.is-entry-running .hero-media {
  animation: atelier-entry-visual-fade 200ms linear 300ms both;
}

html.is-entry-running .identity-rail {
  animation: atelier-entry-rail-fade 200ms linear 400ms both;
}

html.is-entry-running .identity-rail > * {
  animation: atelier-entry-content-fade 200ms linear 600ms both;
}

html.is-entry-running .hero-caption {
  animation: atelier-entry-caption-slide 500ms ease-out 400ms both;
}

html.is-entry-running .hero-caption > * {
  animation: atelier-entry-content-fade 300ms ease-out 600ms both;
}

html.is-entry-running .telemetry {
  animation: atelier-entry-content-fade 200ms linear 500ms both;
}

.owner-mark {
  display: grid;
  width: 100%;
  min-height: var(--nav-rail-width);
  flex: 0 0 var(--nav-rail-width);
  place-items: center;
  color: var(--black);
  background: var(--acid);
  transition: color 150ms ease, background-color 150ms ease;
}

.owner-mark:hover,
.owner-mark:focus-visible,
.owner-mark:active {
  color: var(--black);
  background: var(--paper);
}

.owner-mark__logo {
  display: block;
  width: 3.15rem;
  aspect-ratio: 1;
  background: currentColor;
  -webkit-mask: url("./branding/auto-color.svg") center / contain no-repeat;
  mask: url("./branding/auto-color.svg") center / contain no-repeat;
}

.utility-nav {
  display: flex;
  align-items: center;
}

.utility-nav {
  width: 100%;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.utility-nav a {
  text-decoration: none;
}

/* Plain spans are labels reserved for a destination chosen later. */
.utility-nav > a,
.utility-nav > span {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.utility-nav > a:hover,
.utility-nav > a:focus-visible {
  color: var(--acid);
}

.scroll-progress {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2px;
  overflow: hidden;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--acid);
  transform: scaleY(var(--scroll-progress));
  transform-origin: top;
}

.eyebrow {
  margin: 0;
  font-size: 0.61rem;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero {
  position: relative;
  isolation: isolate;
  height: 100svh;
  min-height: 43rem;
  overflow: hidden;
  background: var(--black);
}

.hero-media {
  position: absolute;
  z-index: 0;
  top: 0;
  right: var(--rail-width);
  bottom: 0;
  left: 0;
  overflow: hidden;
  background: #1e2625;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
  filter: saturate(0.92) contrast(1.12) brightness(0.82);
  transform: translate3d(
      calc(var(--pointer-x) * -1rem + var(--drift-x) * 0.55rem),
      calc(var(--pointer-y) * -0.65rem + var(--drift-y) * 0.42rem),
      0
    ) scale(1.055);
  will-change: transform;
}

.image-grade,
.image-grain,
.hero-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.image-grade {
  background:
    linear-gradient(90deg, rgba(0, 14, 18, 0.35), transparent 45%, rgba(0, 0, 0, 0.14)),
    linear-gradient(0deg, rgba(5, 5, 4, 0.56), transparent 35%);
  mix-blend-mode: multiply;
}

.image-grain {
  opacity: 0.2;
  background-image:
    repeating-radial-gradient(circle at 20% 30%, transparent 0 1px, rgba(255, 255, 255, 0.12) 1.5px 2px),
    repeating-linear-gradient(93deg, transparent 0 3px, rgba(0, 0, 0, 0.08) 4px);
  background-size: 5px 5px, 9px 100%;
  mix-blend-mode: soft-light;
}

.hero-scan {
  width: 10rem;
  background: linear-gradient(90deg, transparent, rgba(215, 255, 40, 0.09), transparent);
  transform: translateX(calc(var(--pulse) * (100% - 10rem)));
  will-change: transform;
}

.identity-rail {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--rail-width);
  overflow: hidden;
  color: var(--acid);
  background: var(--black);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.identity-micro {
  position: absolute;
  top: 1.25rem;
  right: 1.2rem;
  margin: 0;
  font-size: 0.56rem;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-align: right;
  writing-mode: vertical-rl;
}

.identity-name {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  gap: 0.2em;
  margin: 0;
  color: var(--acid);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.4rem, 7.2vw, 7.2rem);
  letter-spacing: -0.035em;
  line-height: 0.78;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translate(-50%, -50%);
}

.identity-footer {
  position: absolute;
  right: 1.3rem;
  bottom: 1.15rem;
  left: calc(var(--identity-hazard-width) + 1.3rem);
  display: grid;
  grid-template-columns: auto minmax(1.5rem, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  color: var(--acid);
  font-size: 0.56rem;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.identity-footer i {
  display: block;
  height: 1px;
  background: currentColor;
}

/* Moving hazard stripes along the inner edge of the identity rail. */
.identity-hazard {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--identity-hazard-width);
  overflow: hidden;
}

.identity-hazard__stripes {
  position: absolute;
  inset: -4rem 0;
  display: block;
  background: repeating-linear-gradient(
    -45deg,
    rgb(var(--identity-hazard-rgb)) 0 1.1rem,
    transparent 1.1rem 2.2rem
  );
  animation: atelier-hazard-flow 2.4s linear infinite;
}

@keyframes atelier-hazard-flow {
  from { transform: translateY(0); }
  to { transform: translateY(3.111rem); }
}

.hero-caption {
  position: absolute;
  z-index: 8;
  bottom: 0;
  left: 0;
  width: min(40rem, calc(100% - var(--rail-width) - 2rem));
  min-height: var(--hero-caption-height);
  padding: 1.25rem 1.5rem 1rem;
  color: var(--black);
  background: var(--acid);
  clip-path: polygon(0 0, calc(100% - 1.3rem) 0, 100% 1.3rem, 100% 100%, 0 100%);
}

.hero-caption h2,
.section-heading h2,
.feature-lead h2,
.split-story h2,
.site-data__intro h2,
.image-chapter h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.85;
  text-transform: uppercase;
}

.hero-caption h2 { margin-top: 0.65rem; font-size: clamp(2.5rem, 4.2vw, 4.2rem); }

.hero-caption__body {
  max-width: 31rem;
  margin: 0.72rem 0 0;
  font-size: 0.61rem;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.telemetry {
  position: absolute;
  z-index: 7;
  right: calc(var(--rail-width) + 1rem);
  bottom: 1rem;
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
  color: var(--acid);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.telemetry-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.14rem;
  height: 1rem;
}

.telemetry-bars i {
  width: 0.16rem;
  height: calc(28% + var(--pulse) * 72%);
  background: var(--acid);
}

.telemetry-bars i:nth-child(2),
.telemetry-bars i:nth-child(5) { height: calc(70% - var(--pulse) * 34%); }
.telemetry-bars i:nth-child(3) { height: 100%; }

@keyframes atelier-entry-rail-base {
  from {
    background: rgba(8, 8, 8, 0);
    border-right-color: transparent;
  }

  to {
    background: rgba(8, 8, 8, 0.96);
    border-right-color: rgba(255, 255, 255, 0.12);
  }
}

/* Keep the entrance at 48/240 ms and the 100 ms outro at 1600-1700 ms (1620/1684/1700). */
@keyframes atelier-site-switch-core {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-45deg) scale(0.86);
  }

  2.823529% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-45deg) scale(0.86);
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }

  14.117647% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }

  95.294118% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    animation-timing-function: cubic-bezier(0.64, 0, 0.78, 0);
  }

  99.058824% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg) scale(0.72);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg) scale(0.72);
  }
}

@keyframes atelier-site-switch-logo {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
  }

  2.823529% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.86);
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }

  14.117647% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  95.294118% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation-timing-function: cubic-bezier(0.64, 0, 0.78, 0);
  }

  99.058824% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.72);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
  }
}

@keyframes atelier-entry-logo {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes atelier-entry-rail-strip {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  90% {
    opacity: 1;
    transform: translateY(var(--entry-reveal-strip-travel));
  }

  100% {
    opacity: 0;
    transform: translateY(var(--entry-reveal-strip-travel));
  }
}

@keyframes atelier-entry-visual-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes atelier-entry-rail-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes atelier-entry-caption-slide {
  /* Wipes open from the left edge; the cut corner rides along with the front. */
  from {
    opacity: 1;
    clip-path: polygon(0 0, 0 0, 0 1.3rem, 0 100%, 0 100%);
  }

  to {
    opacity: 1;
    clip-path: polygon(0 0, calc(100% - 1.3rem) 0, 100% 1.3rem, 100% 100%, 0 100%);
  }
}

@keyframes atelier-entry-content-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.section-pad {
  padding: clamp(5rem, 8vw, 8rem) clamp(1rem, 3vw, 3rem);
}

.index-section {
  min-height: 52rem;
  color: var(--paper);
  background: var(--black);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-heading h2 { margin-top: 0.55rem; font-size: clamp(3.2rem, 6vw, 6rem); }

.section-note {
  max-width: 27rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.67rem;
  letter-spacing: 0.05em;
  line-height: 1.45;
  text-transform: uppercase;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.index-card {
  min-width: 0;
}

/* A card links to the same section as its label in the left rail. */
.index-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.index-card figure {
  position: relative;
  aspect-ratio: 1.12;
  overflow: hidden;
  background: #171717;
}

.index-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.08);
  transition: filter 400ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.index-card:nth-child(1) img { object-position: 66% 50%; }
.index-card:nth-child(2) img { object-position: 50% 62%; }
.index-card:nth-child(3) img { object-position: 42% 50%; }

.index-card:hover img { filter: saturate(1) contrast(1.12); transform: scale(1.035); }

.index-card h3 {
  margin: 0.9rem 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.25rem, 2vw, 2rem);
  letter-spacing: -0.025em;
}

.feature-band {
  position: relative;
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  /* The row hugs the media so the rail ends with the last card; the section's
     bottom spacing and minimum height sit outside that row. */
  align-content: start;
  min-height: 62rem;
  padding-bottom: 6rem;
  background: var(--black);
}

.feature-band__rail {
  position: relative;
  overflow: hidden;
  color: var(--acid);
  background: var(--violet);
}

.feature-band__rail span {
  position: absolute;
  top: 1rem;
  left: 0.7rem;
  font-family: Impact, Haettenschweiler, sans-serif;
  font-size: 2.25rem;
  letter-spacing: -0.03em;
  writing-mode: vertical-rl;
}

.feature-band__rail strong {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  font-size: 0.8rem;
  transform: translateX(-50%);
}

.feature-band__body {
  min-width: 0;
}

.feature-lead {
  position: relative;
  height: min(72svh, 48rem);
  overflow: hidden;
}

.feature-lead > img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: 44% 50%;
  filter: saturate(0.92) contrast(1.12);
  /* Pointer response as on the hero, layered on the scroll parallax. */
  transform: translate3d(
      calc(var(--pointer-x) * min(1rem, 3%) * -1),
      calc(var(--parallax-y, 0px) - var(--parallax-inset, 0px) + var(--pointer-y) * -0.65rem),
      0
    ) scale(1.07);
  will-change: transform;
}

.feature-lead figcaption {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  width: min(39rem, calc(100% - 4rem));
  padding: 1.4rem 1.5rem;
  background: rgba(8, 8, 8, 0.94);
  border: 1px solid var(--line);
}

.feature-lead h2 { margin-top: 0.7rem; font-size: clamp(2.5rem, 5vw, 5rem); }

.feature-lead figcaption > p:last-child {
  max-width: 34rem;
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  line-height: 1.35;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(15rem, 1fr));
  gap: 0.65rem;
  padding: 0.65rem 0.65rem 0;
  overflow-x: auto;
  scrollbar-color: var(--acid) var(--black);
}

.feature-strip article {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  background: #171717;
}

/* The media is wrapped so the hover zoom stays inside the card, as on the index cards. */
.feature-strip article > figure {
  overflow: hidden;
}

.feature-strip img,
.signal-placeholder {
  width: 100%;
  aspect-ratio: 0.98;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.feature-strip article:hover img,
.feature-strip article:hover .signal-placeholder {
  transform: scale(1.035);
}

.feature-strip article:nth-child(1) img { object-position: 68% 50%; }
.feature-strip article:nth-child(2) img { object-position: 32% 50%; }

.signal-placeholder {
  background:
    linear-gradient(135deg, transparent 49.5%, var(--acid) 50% 51%, transparent 51.5%),
    repeating-linear-gradient(90deg, #171717 0 1.5rem, #202020 1.5rem 1.58rem);
}

.feature-strip article p {
  margin: 0;
  padding: 0.85rem;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.feature-strip article > span {
  position: absolute;
  right: 0.55rem;
  bottom: 0.45rem;
  color: var(--acid);
  font-size: 1.5rem;
}

.split-story {
  display: grid;
  grid-template-columns: minmax(20rem, 0.72fr) minmax(0, 1.28fr);
  min-height: 50rem;
  color: var(--black);
  background: var(--paper);
}

.split-story__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.25rem, 4vw, 4rem);
}

.split-story h2 { margin-top: 0.9rem; font-size: clamp(4rem, 8vw, 8rem); }

.split-story__copy > p:not(.eyebrow) {
  max-width: 32rem;
  margin: 1.5rem 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  line-height: 1.4;
}

.split-story__data {
  display: grid;
  gap: 0.45rem;
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(8, 8, 8, 0.4);
  font-size: 0.57rem;
  letter-spacing: 0.07em;
}

.split-story__media {
  position: relative;
  min-height: 44rem;
  overflow: hidden;
  background: #151515;
}

.split-story__media img,
.split-story__media video {
  display: block;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: 34% 50%;
  /* Same pointer response as the hero image, layered on the scroll parallax.
     The sideways shift stays below the 3.5% edge the scale hides, even with a
     larger browser font size. */
  transform: translate3d(
      calc(var(--pointer-x) * min(1rem, 3%) * -1),
      calc(var(--parallax-y, 0px) - var(--parallax-inset, 0px) + var(--pointer-y) * -0.65rem),
      0
    ) scale(1.07);
  will-change: transform;
}

.site-data {
  display: grid;
  grid-template-columns: minmax(20rem, 0.8fr) minmax(0, 1.2fr);
  gap: 5vw;
  min-height: 48rem;
  align-items: center;
  background: var(--black);
}

.site-data__intro h2 { margin-top: 0.9rem; font-size: clamp(4rem, 7vw, 7rem); }

.site-data__intro > p:last-child {
  max-width: 33rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.45;
}

.site-data__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--acid);
  border-left: 1px solid var(--acid);
}

.site-data__grid > div {
  min-height: 11rem;
  padding: 1rem;
  border-right: 1px solid var(--acid);
  border-bottom: 1px solid var(--acid);
}

.site-data__grid span,
.site-data__grid strong {
  color: var(--acid);
  font-size: 0.57rem;
  letter-spacing: 0.08em;
}

.site-data__grid p {
  min-height: 4rem;
  margin: 2rem 0 1rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
}

.site-data__grid strong { font-weight: 400; }

.image-chapter {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--black);
}

.image-chapter figure {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.image-chapter figure > img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  transform: translateY(calc(var(--parallax-y, 0px) - var(--parallax-inset, 0px)));
  will-change: transform;
}

.image-chapter:nth-of-type(even) figure > img { object-position: 35% 50%; }

.image-chapter article {
  position: absolute;
  z-index: 5;
  bottom: 0;
  width: min(35rem, 43vw);
  min-height: 18rem;
  padding: 1.5rem;
  background: rgba(8, 8, 8, 0.95);
  border: 1px solid var(--line);
}

.image-chapter--right article { right: 0; }
.image-chapter--left article { left: 0; }

.image-chapter h2 { margin-top: 0.8rem; font-size: clamp(3.6rem, 6vw, 6rem); }

.image-chapter article > p:not(.eyebrow) {
  max-width: 29rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
}

.chapter-code {
  position: absolute;
  right: 1.2rem;
  bottom: 1rem;
  color: var(--acid);
  font-size: 0.57rem;
  letter-spacing: 0.07em;
}

.page-footer {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 0.9fr;
  grid-template-rows: auto auto;
  min-height: 38rem;
  color: var(--paper);
  background: var(--black);
  border-top: 1px solid var(--line);
}

.footer-name,
.footer-statement,
.footer-links {
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.footer-name {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 28rem;
  font-family: Impact, Haettenschweiler, sans-serif;
  font-size: clamp(4.5rem, 8vw, 8rem);
  letter-spacing: -0.04em;
  line-height: 0.75;
}

.footer-statement {
  display: flex;
  align-items: flex-start;
}

.footer-statement p {
  max-width: 25rem;
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-transform: uppercase;
}

/* Each external link sits on its own acid signal bar. */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  display: flex;
  min-height: 2.4rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.85rem;
  color: var(--black);
  background: var(--acid);
  font-size: 0.71rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 150ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible { background: var(--paper); }

.footer-logo {
  grid-column: 1 / -1;
  display: grid;
  min-height: 248px;
  padding: 88px 1.5rem 72px;
  place-items: center;
}

.footer-logo span {
  display: block;
  width: 88px;
  height: 88px;
  background: #fff;
  -webkit-mask: url("./branding/auto-color.svg") center / contain no-repeat;
  mask: url("./branding/auto-color.svg") center / contain no-repeat;
  transform: translateX(calc(var(--nav-rail-width) / -2));
}

[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 700ms ease, transform 900ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.has-reveal-observer [data-reveal]:not(.is-visible) {
  opacity: 0.34;
  transform: translateY(2rem);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Anchor navigation must target the final position, without reveal translation. */
.has-reveal-observer [data-reveal]:target {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 900px) {
  .index-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .index-card figure { aspect-ratio: 1.55; }

  .split-story,
  .site-data {
    grid-template-columns: minmax(0, 1fr);
  }

  .split-story__media { min-height: 65svh; }
  .site-data { gap: 3rem; }

  .page-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-name { grid-column: 1 / -1; min-height: 20rem; }
}

@media (max-width: 760px) {
  :root {
    --nav-rail-width: 3.5rem;
    --rail-width: 0rem;
    --hero-caption-height: 4.25rem;
  }

  .owner-mark__logo { width: 2.65rem; }

  .utility-nav { font-size: 0.6rem; letter-spacing: 0; }

  .utility-nav a { min-height: 4.5rem; }

  .utility-nav a span { display: none; }

  .hero {
    min-height: 42rem;
  }

  .hero-media {
    right: 0;
    bottom: 4.25rem;
  }

  .hero-media img {
    object-position: 66% 50%;
    transform: translate3d(calc(var(--drift-x) * 0.35rem), calc(var(--drift-y) * 0.25rem), 0) scale(1.07);
  }

  .identity-rail {
    container-type: inline-size;
    overflow: visible;
    top: auto;
    right: 0;
    bottom: 4.25rem;
    left: 0;
    width: auto;
    height: 10.5rem;
    background: linear-gradient(0deg, rgba(8, 8, 8, 0.72), transparent);
    border: 0;
    pointer-events: none;
  }

  .identity-micro,
  .identity-footer,
  .identity-hazard { display: none; }

  .identity-name {
    top: auto;
    right: auto;
    bottom: calc(1.75rem + 0.3em);
    left: 1rem;
    display: block;
    width: max-content;
    font-size: min(7.2rem, calc((100cqw - 2rem) / 3.7));
    line-height: 0.74;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .identity-name span { display: block; }
  .identity-name span:last-child { margin-left: 0.42em; }

  .hero-caption {
    right: 0;
    width: 100%;
    min-height: var(--hero-caption-height);
    padding: 0.72rem 0.7rem;
    clip-path: none;
  }

  .hero-caption h2,
  .hero-caption__body { display: none; }
  .telemetry { right: auto; bottom: 4.7rem; left: 0.75rem; }
  .section-pad { padding: 4.5rem 0.75rem; }

  .section-heading {
    display: block;
  }

  .section-note { margin-top: 1rem; }
  .section-heading h2 { font-size: 3.8rem; }
  .index-section { min-height: auto; }

  .feature-band {
    grid-template-columns: 2.4rem minmax(0, 1fr);
  }

  .feature-band__rail span { left: 0.35rem; font-size: 1.55rem; }
  .feature-lead { height: 72svh; }
  .feature-lead > img { transform: translateY(calc(var(--parallax-y, 0px) - var(--parallax-inset, 0px))); }
  .feature-lead figcaption { right: 0.7rem; bottom: 0.7rem; width: calc(100% - 1.4rem); padding: 1rem; }
  .feature-lead h2 { font-size: 2.6rem; }
  .feature-lead figcaption > p:last-child { font-size: 0.78rem; }

  .feature-strip {
    grid-template-columns: repeat(4, 72vw);
  }

  .split-story__copy { padding: 4rem 1rem; }
  .split-story h2 { font-size: 4.4rem; }
  .split-story__media { min-height: 72svh; }
  .split-story__media img,
  .split-story__media video { transform: translateY(calc(var(--parallax-y, 0px) - var(--parallax-inset, 0px))); }

  .site-data { padding: 4rem 0.75rem; }
  .site-data__intro { min-width: 0; container-type: inline-size; }
  .site-data__intro h2 { font-size: min(4.2rem, 19.5cqw); }
  .site-data__grid { grid-template-columns: minmax(0, 1fr); }
  .site-data__grid > div { min-height: 8rem; }

  .image-chapter { min-height: 86svh; }
  .image-chapter article {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 14rem;
    padding: 1rem 1rem 2.75rem;
  }
  .image-chapter h2 { font-size: 3.7rem; }
  .image-chapter article > p:not(.eyebrow) { font-size: 0.82rem; }

  .page-footer {
    container-type: inline-size;
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-name,
  .footer-statement,
  .footer-links { border-right: 0; }
  .footer-name { min-height: 18rem; font-size: min(5.2rem, calc((100cqw - 3rem) / 3.3)); }
}

@media (max-height: 380px) {
  .utility-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
  }

  .utility-nav a {
    flex-shrink: 0;
    min-height: max(2rem, calc((100svh - var(--nav-rail-width) - 1px) / 4));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .skip-link,
  .owner-mark,
  .index-card img,
  .feature-strip img,
  .signal-placeholder,
  [data-reveal] { transition-duration: 0.01ms; }
  [data-reveal],
  .has-reveal-observer [data-reveal]:not(.is-visible) { opacity: 1; transform: none; }

  html.is-entry-pending,
  html.is-entry-running { overflow: auto; }

  html.is-entry-pending .owner-mark,
  html.is-entry-pending .scroll-progress,
  html.is-entry-pending .hero-media,
  html.is-entry-pending .identity-rail,
  html.is-entry-pending .identity-rail > *,
  html.is-entry-pending .hero-caption,
  html.is-entry-pending .hero-caption > *,
  html.is-entry-pending .telemetry {
    opacity: 1;
  }

  html.is-entry-pending .utility-nav { clip-path: none; }

  .identity-hazard__stripes { animation: none; }

}
