:root {
  --bg: #030303;
  --panel: #0a0a0a;
  --panel-2: #111;
  --text: #f7f7f7;
  --muted: #8e8e8e;
  --line: rgba(255, 255, 255, 0.14);
  --red: #ed1c24;
  --red-dark: #8d0d13;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-150%);
  background: #fff;
  color: #000;
  padding: 10px 14px;
  font-weight: 800;
  transition: transform 180ms ease;
}

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

.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;
}

.site-header {
  position: fixed;
  inset: 16px 16px auto;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0;
  pointer-events: none;
}

.nav-shell {
  position: relative;
  width: min(620px, 100%);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 14px 24px;
  overflow: hidden;
  color: #fff;
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.nav-shell::before,
.nav-shell::after {
  content: "";
  position: absolute;
  top: -38%;
  width: 2px;
  height: 180%;
  background: var(--red);
  box-shadow: 0 0 14px rgba(237, 28, 36, 0.9);
}

.nav-shell::before {
  left: 0;
}

.nav-shell::after {
  right: 0;
}

.brand {
  position: relative;
  z-index: 2;
  display: none;
  width: 92px;
  color: #fff;
}

.brand svg,
.hero-mark svg,
.footer-logo {
  width: 100%;
  height: auto;
  fill: currentColor;
}

.nav-links {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  color: #d0d0d0;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--red);
  transform: translateY(-1px);
}

.menu-button {
  position: relative;
  z-index: 3;
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-button__line {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-open .menu-button__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .menu-button__line:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-button__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero-scroll {
  position: relative;
  height: 300vh;
  background: #030303;
  overflow: clip;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 0, transparent 68%);
  opacity: 0.42;
}

.hero-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 12%, rgba(0, 0, 0, 0.48) 48%, #000 90%);
}

.spread {
  position: absolute;
  inset: 0;
  z-index: 2;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.spread-card {
  --x: 0px;
  --y: 0px;
  --r: 0deg;
  --s: 0;
  --o: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(104px, 14vw, 188px);
  aspect-ratio: 2 / 3;
  margin: 0;
  padding: 5px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 3px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.56);
  opacity: var(--o);
  transform: translate3d(calc(-50% + var(--x)), calc(-50% + var(--y)), 0) rotate(var(--r)) scale(var(--s));
  transition: border-color 250ms ease;
}

.spread-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.36) contrast(1.1);
}

.spread-card--one {
  --tx: -34vw;
  --ty: -18vh;
  --tr: -12deg;
}

.spread-card--two {
  --tx: -18vw;
  --ty: 20vh;
  --tr: 8deg;
}

.spread-card--three {
  --tx: 5vw;
  --ty: -23vh;
  --tr: 7deg;
}

.spread-card--four {
  --tx: 26vw;
  --ty: 18vh;
  --tr: -8deg;
}

.spread-card--five {
  --tx: 38vw;
  --ty: -10vh;
  --tr: 13deg;
}

.spread-card--six {
  --tx: -42vw;
  --ty: 10vh;
  --tr: 14deg;
}

.hero-mark {
  position: relative;
  z-index: 10;
  width: min(42vw, 420px);
  min-width: 210px;
  color: #fff;
  opacity: 0.24;
  filter: drop-shadow(0 0 42px rgba(237, 28, 36, 0.34));
  transform-origin: center;
}

.hero-copy {
  position: absolute;
  left: clamp(20px, 6vw, 90px);
  bottom: clamp(78px, 11vh, 124px);
  z-index: 11;
  max-width: 580px;
  opacity: 0;
  transform: translateY(24px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(4.8rem, 20vw, 18rem);
  font-weight: 950;
  font-style: italic;
  line-height: 0.78;
  letter-spacing: 0;
}

.hero-copy p:last-child {
  max-width: 470px;
  margin: 22px 0 0;
  color: #c8c8c8;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.6;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 12;
  display: grid;
  justify-items: center;
  gap: 12px;
  transform: translateX(-50%);
  color: #858585;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(237, 28, 36, 0.58);
  border-radius: 999px;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 9px;
  border-radius: 999px;
  background: var(--red);
  transform: translateX(-50%);
  animation: wheel 1.25s ease-in-out infinite;
}

@keyframes wheel {
  0%, 100% {
    transform: translate(-50%, 0);
    opacity: 0.25;
  }
  45% {
    transform: translate(-50%, 10px);
    opacity: 1;
  }
}

.systems {
  position: relative;
  background:
    linear-gradient(180deg, #030303, #090909 38%, #050505),
    radial-gradient(circle at 78% 18%, rgba(237, 28, 36, 0.22), transparent 28%);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.systems__inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 12vw, 142px) 0;
}

.systems h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 7rem);
  font-weight: 950;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.systems dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 54px 0 0;
}

.systems dl div {
  min-height: 132px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.systems dt {
  color: #fff;
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 950;
  line-height: 1;
}

.systems dd {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.horizontal-scroll {
  position: relative;
  height: 430vh;
  background: #080808;
}

.horizontal-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.track {
  --track-x: 0px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  padding: 0 10vw;
  transform: translate3d(var(--track-x), 0, 0);
  will-change: transform;
}

.title-panel,
.cta-panel {
  flex: 0 0 min(86vw, 980px);
}

.title-panel h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(4rem, 16vw, 14rem);
  font-weight: 950;
  font-style: italic;
  line-height: 0.78;
  letter-spacing: 0;
}

.title-panel h2 span {
  display: block;
  color: var(--red);
}

.title-panel p:last-child,
.cta-panel p {
  max-width: 560px;
  color: #aaa;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
}

.showcase-card {
  flex: 0 0 clamp(320px, 48vw, 640px);
}

.media {
  position: relative;
  height: clamp(280px, 50vh, 430px);
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.36));
  opacity: 0.72;
  transition: opacity 300ms ease;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.45) contrast(1.08);
  transform: scale(1.09);
  transition: transform 600ms ease, filter 600ms ease;
}

.showcase-card:hover .media img,
.showcase-card:focus-within .media img {
  filter: grayscale(0) contrast(1.06);
  transform: scale(1);
}

.showcase-card:hover .media::after,
.showcase-card:focus-within .media::after {
  opacity: 0.24;
}

.card-caption {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
  margin-top: 22px;
}

.card-caption p {
  margin: 0 0 8px;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 800;
}

.card-caption h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 3.4rem);
  font-weight: 950;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.card-caption a {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.card-caption a:hover,
.card-caption a:focus-visible {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(45deg);
}

.card-caption svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-panel h2 {
  max-width: 820px;
  margin: 0;
  color: transparent;
  font-size: clamp(4rem, 12vw, 11rem);
  font-weight: 950;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.76);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 34px;
  padding: 0 34px;
  background: #fff;
  color: #000;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

.progress {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  top: clamp(86px, 12vh, 122px);
  display: grid;
  justify-items: end;
  gap: 8px;
  pointer-events: none;
}

.progress span {
  color: rgba(237, 28, 36, 0.26);
  font-size: clamp(3.4rem, 5vw, 5.5rem);
  font-weight: 950;
  line-height: 1;
}

.progress i {
  width: 88px;
  height: 4px;
  overflow: hidden;
  background: rgba(237, 28, 36, 0.18);
}

.progress b {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}

.site-footer {
  overflow: hidden;
  background: #000;
}

.footer-light {
  position: relative;
  height: clamp(120px, 20vh, 170px);
  overflow: hidden;
  background: linear-gradient(180deg, #060606, #000);
}

.footer-light::before,
.footer-light::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  filter: blur(5px);
  opacity: 0.78;
  animation: footerSweep 3.2s ease-in-out infinite alternate;
}

.footer-light::before {
  left: 0;
  background: linear-gradient(90deg, transparent, var(--red), #000);
}

.footer-light::after {
  right: 0;
  background: linear-gradient(270deg, transparent, var(--red), #000);
  animation-delay: -1.2s;
}

.footer-light span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(28px, 4vw, 44px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 48px 18px rgba(237, 28, 36, 0.78);
  transform: translate(-50%, -50%);
}

@keyframes footerSweep {
  from {
    transform: translateX(-35%);
  }
  to {
    transform: translateX(12%);
  }
}

.footer-stage {
  position: relative;
  z-index: 1;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(38px, 7vw, 86px);
  background: var(--panel);
  border-radius: clamp(42px, 9vw, 108px) clamp(42px, 9vw, 108px) 0 0;
  box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.44);
}

.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
}

.tag {
  display: inline-flex;
  margin: 0 0 28px;
  padding: 7px 12px;
  color: var(--red);
  border: 1px solid currentColor;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-logo {
  width: min(260px, 60vw);
  color: #fff;
}

.footer-top nav {
  display: grid;
  gap: 10px;
  text-align: right;
}

.footer-top a,
.socials a {
  color: #ddd;
  font-weight: 850;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.footer-top a {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.footer-top a:hover,
.socials a:hover,
.footer-top a:focus-visible,
.socials a:focus-visible {
  color: var(--red);
}

.marquee {
  display: flex;
  gap: 32px;
  width: max-content;
  color: rgba(255, 255, 255, 0.08);
  font-size: clamp(4rem, 13vw, 14rem);
  font-weight: 950;
  font-style: italic;
  white-space: nowrap;
  animation: marquee 24s linear infinite;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.footer-bottom {
  align-items: center;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
}

.socials a {
  font-size: 0.84rem;
}

.footer-bottom p {
  margin: 0;
  color: #777;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: right;
}

@media (max-width: 780px) {
  .site-header {
    inset: 12px 16px auto;
  }

  .nav-shell {
    justify-content: space-between;
    min-height: 58px;
    padding: 10px 14px 10px 18px;
  }

  .brand,
  .menu-button {
    display: block;
  }

  .menu-button {
    flex: 0 0 42px;
    margin-right: 22px;
  }

  .nav-links {
    position: absolute;
    inset: calc(100% + 10px) 0 auto 0;
    display: grid;
    gap: 0;
    padding: 10px;
    background: rgba(14, 14, 14, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
    backdrop-filter: blur(18px);
  }

  .site-header.is-open .nav-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px 10px;
  }

  .hero-copy {
    left: 20px;
    right: 20px;
    bottom: 104px;
  }

  .spread-card {
    width: clamp(92px, 28vw, 132px);
  }

  .systems dl {
    grid-template-columns: 1fr;
  }

  .horizontal-scroll {
    height: auto;
  }

  .horizontal-sticky {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .track {
    display: grid;
    gap: 58px;
    height: auto;
    padding: 90px 20px;
    transform: none !important;
  }

  .title-panel,
  .cta-panel,
  .showcase-card {
    width: 100%;
    flex-basis: auto;
  }

  .media {
    height: auto;
    aspect-ratio: 1.08 / 1;
  }

  .progress {
    display: none;
  }

  .footer-stage {
    min-height: 620px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top nav,
  .footer-bottom p {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .scroll-cue {
    width: 100%;
    font-size: 0.56rem;
  }

  .hero-copy h1 {
    font-size: clamp(4rem, 24vw, 7rem);
  }

  .title-panel h2,
  .cta-panel h2 {
    overflow-wrap: anywhere;
  }

  .card-caption {
    align-items: center;
  }

  .card-caption h3 {
    font-size: 1.75rem;
  }

  .card-caption a {
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .horizontal-scroll {
    height: auto;
  }

  .horizontal-sticky {
    position: relative;
    height: auto;
  }

  .track {
    display: grid;
    height: auto;
    padding-block: 100px;
    transform: none !important;
  }
}
