@font-face {
  font-family: "Ubuntu";
  src: url("./assets/fonts/Ubuntu-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ubuntu";
  src: url("./assets/fonts/Ubuntu-Medium.tff") format("ttf");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ubuntu";
  src: url("./assets/fonts/Ubuntu-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("./assets/fonts/SpaceGrotesk-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("./assets/fonts/SpaceGrotesk-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Black Ops One";
  src: url("./assets/fonts/BlackOpsOne-Regular.ttf") format("ttf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #151515;
  --paper: #f2efe4;
  --cyan: #19c5e8;
  --yellow: #ff9900;
  --magenta: #f22b8f;
  --orange: #ff4400;
  --line: #ff6a00;
  --accent-gradient: linear-gradient(90deg, #ff4400, #ff9900);
  --footer-height: 0px;
  --journey-nav-height: 48px;
  --rail-y: 18vh;
  --wall-render-height: 100vh;
  --font-body: "Ubuntu", system-ui, sans-serif;
  --font-heading: "Space Grotesk", "Arial Narrow", system-ui, sans-serif;
  --font-stencil: "Black Ops One", Impact, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #171717;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--paper);
  font-family: var(--font-body);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  transform: translateY(-200%);
  padding: 0.8rem 1rem;
  color: var(--ink);
  background: var(--accent-gradient);
  font-weight: 900;
}

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

.top-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: 5px;
  background: rgba(0, 0, 0, 0.3);
}

.top-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent-gradient);
  box-shadow: 0 0 14px rgba(255, 106, 0, 0.72);
}

.site-chrome {
  position: fixed;
  inset: 1.45rem 1.7rem auto;
  z-index: 70;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.wordmark {
  display: block;
  width: 165px;
  height: 18px;
  text-decoration: none;
  pointer-events: auto;
}

.wordmark img {
  display: block;
  width: 165px;
  height: 18px;
}

.site-chrome__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  pointer-events: auto;
}

.journey-state {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.7rem;
  background: rgba(15, 15, 15, 0.74);
  border: 0;
  border-radius:7px;
  backdrop-filter: blur(7px);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    
}

.journey-state__label {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.65rem;
  letter-spacing: 0.13em;
}

.journey-state strong {
  color: var(--line);
  background: var(--accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 0.78rem;
}

.language-switch {
  display: flex;
  padding: 0;
  background: rgba(15, 15, 15, 0.74);
  border: 0px solid rgba(255, 255, 255, 0.2);
    border-radius: 7px;
  backdrop-filter: blur(7px);
}

.language-switch button {
  min-width: 2.2rem;
  height: auto;
  padding: 0.55rem 0.7rem;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  border: 0;
  font: 800 0.75rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.language-switch button:hover,
.language-switch button:focus-visible {
  color: #fff;
  outline: 0px solid rgba(255, 255, 255, 0.5);
  outline-offset: -1px;
  
}
.language-switch button[data-language="de"][aria-pressed="true"] {
  border-radius: 7px 0 0 7px;
}

.language-switch button[data-language="en"][aria-pressed="true"] {
  border-radius: 0 7px 7px 0;
}




.language-switch button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--accent-gradient);
}

.horizontal-viewport {
  width: 100vw;
  height: 100dvh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: auto;
  scroll-snap-type: none;
  overscroll-behavior: contain;
  scrollbar-width: none;
  touch-action: pan-x;
  outline: none;
  cursor: grab;
}

.horizontal-viewport::-webkit-scrollbar {
  display: none;
}

.horizontal-viewport:focus-visible {
  box-shadow: inset 0 0 0 3px var(--line);
}

.horizontal-viewport.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.wall-track {
  position: relative;
  isolation: isolate;
  display: flex;
  width: max-content;
  min-width: 100%;
  height: 100%;
  background-color: #555;
  background-image:
    linear-gradient(rgba(8, 8, 8, 0.14), rgba(8, 8, 8, 0.28)),
    url("./assets/graffiti-wall-seamless.webp");
  background-repeat: no-repeat, repeat-x;
  background-position: left bottom;
  background-size: 100% 100%, auto var(--wall-render-height);
}

.wall-track::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 980px,
      rgba(0, 0, 0, 0.18) 981px 985px,
      rgba(255, 255, 255, 0.04) 986px 988px,
      transparent 989px 1960px
    ),
    radial-gradient(circle at 50% 36%, transparent 18%, rgba(0, 0, 0, 0.34) 100%);
  mix-blend-mode: multiply;
}

.revolution-mural {
  --mural-progress: 0%;
  --mural-mask: linear-gradient(
    90deg,
    #000 0 13.5%,
    transparent 14.4% 16%,
    #000 17% 31%,
    transparent 32% 34.4%,
    #000 35.3% 51%,
    transparent 52% 54.1%,
    #000 55% 69%,
    transparent 70% 72.4%,
    #000 73.4% 87%,
    transparent 88% 90%,
    #000 91% 100%
  );
  position: absolute;
  z-index: 1;
  left: 62vw;
  right: 62vw;
  top: 47%;
  height: clamp(260px, 34vh, 390px);
  isolation: isolate;
  pointer-events: none;
  transform: translateY(-50%);
  -webkit-mask-image: var(--mural-mask);
  mask-image: var(--mural-mask);
}

.revolution-mural::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./assets/revolution-mural-band.webp") left center / auto 100% repeat-x;
  opacity: 0.28;
  filter: grayscale(1) brightness(1.18) contrast(0.86);
}

.revolution-mural__progress {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  display: block;
  width: var(--mural-progress);
  overflow: visible;
  background: url("./assets/revolution-mural-band.webp") left center / auto 100% repeat-x;
  opacity: 0.82;
  filter: saturate(1.05) contrast(1.02) drop-shadow(0 5px 8px rgba(0, 0, 0, 0.2));
  transition: width 90ms linear, opacity 180ms ease, filter 180ms ease;
}

.revolution-mural__progress::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: clamp(170px, 15vw, 290px);
  height: 115%;
  background: radial-gradient(ellipse at center, rgba(255, 248, 232, 0.52) 0 3%, rgba(255, 153, 0, 0.36) 16%, rgba(255, 68, 0, 0.18) 38%, transparent 72%);
  opacity: 0.2;
  filter: blur(6px);
  transform: translate(50%, -50%);
  transition: opacity 180ms ease, filter 180ms ease;
}

.revolution-mural.is-moving-right .revolution-mural__progress {
  opacity: 0.98;
  filter: saturate(1.18) brightness(1.05) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.24));
}

.revolution-mural.is-moving-right .revolution-mural__progress::after {
  opacity: 0.9;
  animation: revolution-mural-glow 520ms ease-in-out infinite alternate;
}

@keyframes revolution-mural-glow {
  from {
    filter: blur(6px) brightness(1);
  }
  to {
    filter: blur(9px) brightness(1.35);
  }
}

.panel {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  height: 100%;
}

.intro-panel {
  width: 100vw;
  padding: 7.6rem clamp(1.5rem, 7vw, 7rem) 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.intro-panel__content {
  position: relative;
  z-index: 2;
  max-width: min(900px, 82vw);
  padding-left: clamp(1.15rem, 2vw, 2rem);
}

.intro-panel__content::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: clamp(5px, 0.6vw, 9px);
  background: var(--accent-gradient);
  box-shadow: 5px 0 18px rgba(255, 106, 0, 0.35);
}

.eyebrow {
  width: fit-content;
  margin: 0 0 1.15rem;
  padding: 0;
  color: #ff8a00;
  background: none;
  box-shadow: none;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--font-heading);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  position: relative;
  width: fit-content;
  margin-bottom: 1.55rem;
  padding-bottom: 1.1rem;
  color: #fff;
  font-size: clamp(4rem, 9.4vw, 8.7rem);
  font-weight: 950;
  line-height:1;
 
  text-shadow: 4px 5px 0 rgba(0, 0, 0, 0.58);
}

h1::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: clamp(5px, 0.65vw, 9px);
  background: var(--accent-gradient);
  box-shadow: 0 5px 0 rgba(21, 21, 21, 0.75);
}

.intro-panel__lead {
  max-width: 54ch;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
  background: none;
  box-shadow: none;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 500;
  line-height: 1.55;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.walk-cue {
  position: absolute;
  z-index: 4;
  right: 3rem;
  bottom: calc(var(--rail-y) + 2rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.walk-cue__feet {
  color: var(--line);
  background: var(--accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0;
  transform: rotate(-15deg);
}

.walk-cue i {
  position: relative;
  display: block;
  width: 115px;
  height: 2px;
  background: var(--paper);
}

.walk-cue i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -5px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--paper);
  border-right: 2px solid var(--paper);
  transform: rotate(45deg);
}

.milestone {
  width: clamp(650px, 72vw, 1020px);
}

.wall-number {
  position: absolute;
  right: 2vw;
  top: 50%;
  z-index: -1;
  color: rgba(255, 255, 255, 0.1);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
  font-size: clamp(10rem, 22vw, 19rem);
  font-weight: 950;
  letter-spacing: -0.1em;
  line-height: 1;
  transform: translateY(-55%);
}

.poster {
  --tilt: -0.4deg;
  --poster-y: -50%;
  --paper-surface: url("./assets/poster-fold-overlay-01.webp");
  --edge-shape: polygon(1% 0, 99% 0, 100% 0.7%, 100% 23%, 99.5% 23.5%, 100% 24%, 100% 99.3%, 99% 100%, 30.3% 100%, 29.8% 99.6%, 29.1% 100%, 1.2% 100%, 0 99.2%, 0 73.7%, 0.5% 73.4%, 0 72.9%, 0 0.8%);
  isolation: isolate;
  position: absolute;
  z-index: 3;
  left: 50%;
  top: calc((100dvh - var(--journey-nav-height) - var(--footer-height)) / 2);
  display: flex;
  flex-direction: column;
  width: min(505px, calc(100vw - 48px), calc((100dvh - 145px) * 0.7063));
  aspect-ratio: 594 / 841;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: #fff;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(2px 2px 2px rgba(43, 43, 43, 0.78));
  -webkit-clip-path: var(--edge-shape);
  clip-path: var(--edge-shape);
  opacity: 0;
  transform: translate3d(calc(-50% + 110px), var(--poster-y), 0) rotate(calc(var(--tilt) + 2deg)) scale(0.96);
  transition:
    opacity 550ms ease,
    transform 750ms cubic-bezier(0.2, 0.82, 0.2, 1);
  will-change: transform, opacity;
  cursor: zoom-in;
}

.poster::before,
.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.poster::before {
  z-index: 6;
  background: var(--paper-surface) center / 100% 100% no-repeat;
  mix-blend-mode: normal;
  opacity: 0.84;
}

.poster::after {
  z-index: 7;
  box-shadow: inset 0 0 18px rgba(30, 30, 30, 0.08);
  opacity: 0.65;
}

.milestone:nth-of-type(1) .poster,
.milestone:nth-of-type(5) .poster,
.milestone:nth-of-type(8) .poster {
  --paper-surface: url("./assets/poster-fold-overlay-01.webp");
  --edge-shape: polygon(1% 0, 99% 0, 100% 0.7%, 100% 23%, 99.5% 23.5%, 100% 24%, 100% 99.3%, 99% 100%, 30.3% 100%, 29.8% 99.6%, 29.1% 100%, 1.2% 100%, 0 99.2%, 0 73.7%, 0.5% 73.4%, 0 72.9%, 0 0.8%);
}

.milestone:nth-of-type(2) .poster,
.milestone:nth-of-type(4) .poster,
.milestone:nth-of-type(6) .poster,
.milestone:nth-of-type(10) .poster {
  --paper-surface: url("./assets/poster-fold-overlay-02.webp");
  --edge-shape: polygon(0 0.6%, 0.8% 0, 56.9% 0, 57.6% 0.4%, 58.2% 0, 99.2% 0, 100% 0.6%, 100% 54.2%, 99.5% 54.7%, 100% 55.1%, 100% 99.4%, 99.2% 100%, 1.3% 100%, 0 99.2%, 0 33.4%, 0.7% 33.1%, 0 32.6%);
}

.milestone:nth-of-type(3) .poster,
.milestone:nth-of-type(7) .poster {
  --paper-surface: url("./assets/poster-fold-overlay-03.webp");
  --edge-shape: polygon(1.2% 0, 99% 0, 100% 0.7%, 100% 11.4%, 99.3% 11.8%, 100% 12.2%, 100% 98.9%, 98.5% 100%, 69.2% 100%, 68.7% 99.5%, 67.8% 100%, 1% 100%, 0 99.3%, 0 58.5%, 0.5% 58.1%, 0 57.7%, 0 1%);
}


.milestone:nth-of-type(9) .poster {
  --paper-surface: url("./assets/poster-fold-overlay-04.webp");
  --edge-shape: polygon(0.8% 0, 42.3% 0, 42.9% 0.4%, 43.8% 0, 99.3% 0, 100% 0.6%, 100% 36.5%, 99.5% 36.9%, 100% 37.3%, 100% 99.3%, 99% 100%, 1% 100%, 0 99.3%, 0 83.4%, 0.7% 83%, 0 82.5%, 0 0.8%);
}

.milestone:nth-of-type(even) .poster {
  --tilt: 0.2deg;
}

.milestone--high .poster {
  top: calc((100dvh - var(--journey-nav-height) - var(--footer-height)) / 2);
}

.milestone--low .poster {
  top: calc((100dvh - var(--journey-nav-height) - var(--footer-height)) / 2);
}

.milestone.is-visible .poster {
  opacity: 1;
  transform: translate3d(-50%, var(--poster-y), 0) rotate(var(--tilt)) scale(1);
}

.poster__open {
  position: absolute;
  z-index: 8;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.poster:focus-within {
  outline: 4px solid var(--line);
  outline-offset: 7px;
}

.poster__copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 39%;
  margin-top: auto;
  padding: clamp(3.8rem, 8vh, 5.7rem) clamp(1.25rem, 2.4vw, 2rem) clamp(1.1rem, 2.1vh, 1.45rem);
  background: linear-gradient(180deg, transparent 0%, rgba(13, 13, 13, 0.2) 16%, rgba(13, 13, 13, 0.84) 62%, rgba(13, 13, 13, 0.94) 100%);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}

.poster h2 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(1.75rem, 2.6vw, 2.55rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.poster__image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
  filter: saturate(0.9) contrast(1.06);
}

.poster__teaser {
  max-width: 38ch;
  margin: clamp(0.55rem, 1.2vh, 0.8rem) 0 0;
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  font-weight: 500;
  line-height: 1.4;
}

.poster__year-band {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: clamp(72px, 10vh, 92px);
  padding: 0.75rem clamp(1.25rem, 2.4vw, 2rem) 0.55rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.94) 0%, rgba(13, 13, 13, 0.72) 100%);
  box-shadow: none;
  backdrop-filter: none;
}

.milestone__year {
  position: static;
  margin: 0;
  color: #fff;
  font-family: var(--font-stencil);
  font-size: clamp(2.7rem, 4.4vw, 3.9rem);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 0.82;
  opacity: 1;
  pointer-events: none;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
  transform: rotate(-1.5deg);
}

.outro-panel {
  width: 100vw;
  overflow: hidden;
  color: #fff;
  background-color: #ff5a00;
  background-image:
    linear-gradient(112deg, rgba(255, 68, 0, 0.96) 0%, rgba(255, 104, 0, 0.9) 43%, rgba(255, 153, 0, 0.72) 72%, rgba(18, 18, 18, 0.68) 100%),
    url("./assets/sps-stand.webp");
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: cover;
}

.outro-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 19, 19, 0.22), transparent 55%, rgba(19, 19, 19, 0.18));
  pointer-events: none;
}

.outro-panel__content {
  position: relative;
  z-index: 2;
  height: 100%;
  width: min(780px, 76vw);
  padding: clamp(6.5rem, 12vh, 9.5rem) 7vw calc(var(--rail-y) + 6.4rem);
}

.outro-panel__eyebrow {
  width: fit-content;
  margin-bottom: 1.5rem;
  padding: 0.55rem 0.75rem;
  color: var(--ink);
  background: #fff;
  font: 900 0.8rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.15em;
  transform: rotate(-1deg);
}

.outro-panel h2 {
  max-width: 780px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 6.2vw, 6.5rem);
  font-weight: 950;
  line-height: 0.86;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  text-shadow: 4px 5px 0 rgba(21, 21, 21, 0.48);
}

.outro-panel__lead {
  max-width: 58ch;
  margin-bottom: 1.35rem;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  font-weight: 500;
  line-height: 1.52;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.outro-panel__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.7rem;
}

.outro-panel__facts span {
  padding: 0.55rem 0.7rem;
  background: rgba(21, 21, 21, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font: 800 0.74rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.outro-panel .outro-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  color: #fff;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 5px 5px 0 rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.outro-panel .outro-panel__cta:hover,
.outro-panel .outro-panel__cta:focus-visible {
  color: var(--ink);
  background: #fff;
  box-shadow: 3px 3px 0 var(--ink);
  outline: none;
  transform: translate(2px, 2px);
}

.outro-panel__note {
  position: absolute;
  z-index: 2;
  left: 7vw;
  bottom: calc(var(--footer-height) + 62px);
  margin: 0;
  font: 800 0.72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.13em;
}

.journey-nav {
  --wall-shift: 0px;
  position: fixed;
  z-index: 75;
  inset: auto 0 var(--footer-height);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0.35rem 1.7rem;
  background-color: #242424;
  background-image:
    linear-gradient(rgba(7, 7, 7, 0.7), rgba(7, 7, 7, 0.82)),
    url("./assets/graffiti-wall-seamless.webp");
  background-repeat: no-repeat, repeat-x;
  background-position: 0 0, var(--wall-shift) bottom;
  background-size: auto, auto var(--wall-render-height);
  box-shadow: 0 -15px 35px rgba(0, 0, 0, 0.22);
}

.site-footer {
  position: fixed;
  z-index: 78;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 1.7rem;
  color: rgba(255, 255, 255, 0.58);
  background: transparent;
  font: 500 0.7rem/1 var(--font-body);
  letter-spacing: 0.04em;
  pointer-events: none;
}

.site-footer nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  pointer-events: auto;
}

.site-footer > span {
  pointer-events: auto;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ff7a00;
  outline: none;
}

.journey-nav__label {
  justify-self: start;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.journey-nav ol {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  list-style: none;
}

.journey-nav ol::-webkit-scrollbar {
  display: none;
}

.journey-nav a {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.66);
  font: 800 0.68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-decoration: none;
  transition: 160ms ease;
}

.journey-nav .journey-nav__endpoint {
  width: auto;
  min-width: 4.4rem;
  padding-inline: 0.7rem;
  letter-spacing: 0.06em;
}

.journey-nav a:hover,
.journey-nav a:focus-visible,
.journey-nav a.is-active {
  color: var(--ink);
  background: var(--accent-gradient);
  border-color: var(--line);
  outline: none;
  transform: translateY(-3px) rotate(-4deg);
}

.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--paper);
  background: #111;
  border: 0;
  opacity: 0;
  transition: opacity 320ms ease;
  will-change: opacity;
}

.lightbox::backdrop {
  background: #070707;
  opacity: 0;
  transition: opacity 320ms ease;
}

.lightbox__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  background: url("./assets/grain.webp") repeat;
  background-size: 220px 220px;

  mix-blend-mode: soft-light;
  opacity: 0.22;
  filter: contrast(1.35);
}

.lightbox__shell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #111;
  border: 0;
  box-shadow: none;
}

.lightbox__shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, transparent 35%, rgba(8, 8, 8, 0.12) 60%, rgba(8, 8, 8, 0.72) 100%),
    linear-gradient(0deg, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0.28) 38%, transparent 68%);
  pointer-events: none;
}





.lightbox__close {
  position: absolute;
  z-index: 20;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  padding: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border: 0px solid rgba(255, 255, 255, 0.3);
  font: 300 2rem/1 Arial, sans-serif;
  cursor: pointer;
  backdrop-filter: blur(17px);
  border-radius: 15px;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  color: var(--ink);
  background: var(--accent-gradient);
  outline: none;
}

.lightbox__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.92);
  transform: scale(1.035);
  transition: transform 750ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.lightbox__copy {
  position: absolute;
  z-index: 3;
  right: clamp(1.5rem, 5vw, 5rem);
  bottom: clamp(1.5rem, 5vw, 4.5rem);
  width: max(50%, 640px);
  max-width: calc(100% - 3rem);
  max-height: calc(100dvh - 8rem);
  padding: 0;
  overflow: auto;
  color: #fff;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.88);
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 420ms ease 120ms,
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms;
  will-change: opacity, transform;
}

.lightbox.is-visible {
  opacity: 1;
}

.lightbox.is-visible::backdrop {
  opacity: 1;
}

.lightbox.is-visible .lightbox__image {
  transform: scale(1);
}

.lightbox.is-visible .lightbox__copy {
  opacity: 1;
  transform: translateY(0);
}

.lightbox.is-closing {
  opacity: 0;
}

.lightbox.is-closing .lightbox__image {
  transform: scale(1.02);
}

.lightbox.is-closing .lightbox__copy {
  opacity: 0;
  transform: translateY(24px);
  transition-delay: 0ms;
}

.lightbox__copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 4.5vw, 4.4rem);
  font-weight: 950;
  line-height: 1.1;
  

}

.lightbox__content {
  width: 100%;
}

.lightbox__body {
  width: 100%;
  margin-bottom: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  font-weight: 400;
  line-height: 1.75;
}

.lightbox__body p,
.lightbox__body ul,
.lightbox__body ol {
  margin: 0 0 1rem;
}

.lightbox__body ul,
.lightbox__body ol {
  padding-left: 1.35em;
}

.lightbox__body a {
  color: #ff9900;
  font-weight: 700;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.lightbox__body a:hover,
.lightbox__body a:focus-visible {
  color: #fff;
}

.lightbox__body > :last-child {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  :root {
    --footer-height: 24px;
    --journey-nav-height: 44px;
  }

  .journey-nav {
    min-height: 44px;
    padding-block: 0.3rem;
  }

  .site-footer {
    height: var(--footer-height);
    justify-content: center;
    background: #151515;
    pointer-events: auto;
  }

  .site-footer > span {
    display: none;
  }

  .site-footer nav {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .site-chrome {
    inset: 1.1rem 1rem auto;
  }

  .site-chrome__actions {
    gap: 0.35rem;
  }

  .journey-state {
    padding-inline: 0.55rem;
  }

  .language-switch button {
    min-width: 1.9rem;
    padding-inline: 0.35rem;
  }

  .journey-state__label,
  .journey-nav__label {
    display: none;
  }

  .intro-panel {
    padding-inline: 1.25rem;
  }

  .intro-panel__content {
    max-width: calc(100vw - 2.5rem);
  }

  h1 {
    font-size: clamp(3.75rem, 18vw, 6rem);
  }

  .intro-panel__lead {
    max-width: calc(100vw - 3.75rem);
  }

  .walk-cue {
    right: 1.2rem;
    gap: 0.7rem;
    font-size: 0.62rem;
  }

  .walk-cue i {
    width: 62px;
  }

  .revolution-mural {
    left: 34vw;
    right: 34vw;
    top: 43%;
    height: clamp(180px, 27vh, 235px);
  }

  .milestone {
    width: 100vw;
  }

  .poster,
  .milestone--high .poster,
  .milestone--low .poster {
    --poster-y: 0%;
    top: auto;
    bottom: calc(var(--rail-y) + 50px);
    width: min(425px, calc(100vw - 42px), calc((100dvh - 145px) * 0.7063));
  }

  .milestone__year {
    font-size: 2.8rem;
  }

  .poster__copy {
    min-height: 42%;
    padding-inline: 1.25rem;
  }

  .poster__year-band {
    min-height: 70px;
    padding-inline: 1.25rem;
  }

  .poster h2 {
    font-size: clamp(2rem, 9vw, 2.85rem);
  }

  .journey-nav {
    width: 100vw;
    min-height: 44px;
    padding: 0.3rem 0.75rem;
  }

  .journey-nav ol {
    width: 100%;
    justify-content: flex-start;
  }

  .lightbox {
    width: 100vw;
    height: 100dvh;
  }

  .lightbox__shell {
    border: 0;
  }

  .lightbox__copy {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    max-height: 58dvh;
    padding: 4.5rem 1.25rem max(1.25rem, env(safe-area-inset-bottom));
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.82) 34%, rgba(10, 10, 10, 0.97) 100%);
    box-shadow: none;
  }

  .lightbox__copy h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .lightbox__body {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .journey-nav a {
    width: 1.45rem;
    height: 1.75rem;
    font-size: 0.58rem;
  }

  .journey-nav .journey-nav__endpoint {
    min-width: 2.6rem;
    padding-inline: 0.25rem;
    font-size: 0.52rem;
  }

  .outro-panel__content {
    width: min(100%, 620px);
    padding-inline: 1.4rem;
  }

  .outro-panel__note {
    left: 1.4rem;
  }

  .site-footer {
    padding-inline: 0.75rem;
    font-size: 0.65rem;
  }

  .site-footer > span {
    display: none;
  }

  .site-footer nav {
    width: 100%;
    justify-content: center;
    gap: clamp(0.8rem, 6vw, 1.5rem);
  }
}

@media (max-width: 360px) {
  .journey-nav {
    padding-inline: 0.45rem;
  }

  .journey-nav a {
    width: 1.25rem;
  }

  .journey-nav .journey-nav__endpoint {
    min-width: 2.1rem;
    padding-inline: 0.15rem;
    font-size: 0.46rem;
    letter-spacing: 0;
  }
}

@media (max-height: 680px) {
  .poster,
  .milestone--high .poster,
  .milestone--low .poster {
    --poster-y: 0%;
    top: 7vh;
    bottom: auto;
    width: min(330px, calc(100vw - 42px), calc((100dvh - 120px) * 0.7063));
    padding: 0;
  }

  .milestone__year {
    font-size: 2rem;
  }

  .poster__copy {
    min-height: 43%;
    padding: 2.8rem 1.1rem 0.75rem;
  }

  .poster__year-band {
    min-height: 54px;
    padding: 0.55rem 1.1rem 0.35rem;
  }

  .poster h2 {
    font-size: 1.85rem;
  }

  .poster__teaser {
    font-size: 0.84rem;
  }

  .intro-panel {
    padding-top: 5rem;
  }

  .intro-panel h1 {
    font-size: clamp(3.6rem, 9vw, 6.7rem);
  }

  .outro-panel__content {
    padding-top: 5rem;
  }

  .outro-panel h2 {
    font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  }

  .outro-panel__eyebrow,
  .outro-panel__lead {
    margin-bottom: 0.85rem;
  }

  .outro-panel__facts {
    margin-bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  .horizontal-viewport {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .poster {
    opacity: 1;
    transform: translate3d(-50%, var(--poster-y), 0) rotate(var(--tilt));
  }
}
