/*
Theme Name: GPU Overclock
Theme URI: https://gpubsc.xyz/
Author: GPU
Description: The complete cinematic GPU meme-stock visual experience.
Version: 2.0.0
*/

:root {
  --font-display: Impact, "Arial Black", sans-serif;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ink: #030503;
  --panel: #080c08;
  --paper: #f3f5eb;
  --muted: #a6ad9d;
  --acid: #c7ff00;
  --gold: #ffb000;
  --line: rgba(199, 255, 0, 0.25);
}

* {
  box-sizing: border-box;
}

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

section[id] {
  scroll-margin-top: 108px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans), sans-serif;
  text-rendering: optimizeLegibility;
}

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

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

::selection {
  background: var(--acid);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 12px 16px;
  background: var(--acid);
  color: var(--ink);
  font-weight: 700;
}

.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;
  z-index: 20;
  top: 22px;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 40px), 1320px);
  min-height: 68px;
  padding: 0 22px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(3, 5, 3, 0.78);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
  transition: top 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.site-header[data-scrolled] {
  top: 12px;
  border-color: rgba(199, 255, 0, 0.42);
  background: rgba(3, 5, 3, 0.92);
}

.brand,
.footer-brand {
  font-family: var(--font-display), sans-serif;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--acid);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(199, 255, 0, 0.48);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(199, 255, 0, 0.13);
}

.brand span {
  color: var(--acid);
}

.site-header nav {
  display: flex;
  gap: clamp(16px, 2vw, 30px);
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sound-toggle {
  position: fixed;
  z-index: 32;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  min-height: 42px;
  padding: 0 15px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(3, 5, 3, 0.9);
  color: var(--paper);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-family: var(--font-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sound-toggle:hover,
.sound-toggle:focus-visible {
  border-color: var(--acid);
  color: var(--acid);
}

.sound-bars {
  display: inline-flex;
  height: 15px;
  align-items: flex-end;
  gap: 2px;
}

.sound-bars i {
  display: block;
  width: 2px;
  height: 5px;
  background: currentColor;
}

.sound-bars i:nth-child(2) {
  height: 11px;
}

.sound-bars-active i {
  animation: sound-wave 720ms ease-in-out infinite alternate;
}

.sound-bars-active i:nth-child(2) {
  animation-delay: -240ms;
}

.sound-bars-active i:nth-child(3) {
  animation-delay: -480ms;
}

.site-header nav a,
.footer-links a {
  transition: color 180ms ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--acid);
}

.header-cta {
  justify-self: end;
  padding: 13px 17px;
  border-radius: 7px;
  background: var(--acid);
  color: var(--ink);
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.final-cta > img,
.chapter > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.hero-image {
  z-index: -4;
  object-position: center;
  animation: hero-breathe 14s ease-in-out infinite alternate;
}

.hero-scrim {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 5, 3, 0.96) 0%, rgba(3, 5, 3, 0.72) 37%, rgba(3, 5, 3, 0.16) 72%),
    linear-gradient(0deg, rgba(3, 5, 3, 0.9) 0%, transparent 42%);
}

.hero-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(199, 255, 0, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 255, 0, 0.18) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 65%);
}

.hero-content {
  display: flex;
  min-height: 100svh;
  width: min(calc(100% - 48px), 1320px);
  margin: 0 auto;
  padding: 150px 0 72px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow,
.section-index,
.pair-line,
.chapter-number,
.chapter-label,
.concept-label,
.copyright {
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 12px;
  padding: 9px 13px;
  border: 1px solid rgba(199, 255, 0, 0.6);
  border-radius: 999px;
  background: rgba(199, 255, 0, 0.11);
  color: var(--acid);
}

.hero-wordmark {
  margin: 0;
  color: var(--acid);
  font-family: var(--font-display), sans-serif;
  font-size: clamp(140px, 18vw, 270px);
  line-height: 0.82;
  letter-spacing: -0.02em;
  text-shadow: 0 0 40px rgba(199, 255, 0, 0.16);
}

.hero h1 {
  max-width: 640px;
  margin: 28px 0 18px;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 590px;
  margin: 0;
  color: rgba(243, 245, 235, 0.76);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 21px;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(243, 245, 235, 0.32);
  border-radius: 7px;
  font-family: var(--font-mono), monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--paper);
}

.button-ghost {
  background: rgba(3, 5, 3, 0.46);
  backdrop-filter: blur(10px);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--acid);
  color: var(--acid);
}

.pair-line {
  margin: 30px 0 0;
  color: var(--acid);
}

.contract-card {
  display: flex;
  width: min(100%, 630px);
  margin-top: 18px;
  padding: 10px 10px 10px 14px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(199, 255, 0, 0.34);
  border-radius: 10px;
  background: rgba(3, 5, 3, 0.7);
  box-shadow: inset 0 0 30px rgba(199, 255, 0, 0.035);
  backdrop-filter: blur(12px);
}

.contract-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.contract-copy span {
  color: rgba(243, 245, 235, 0.52);
  font-family: var(--font-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contract-copy code {
  overflow: hidden;
  color: var(--paper);
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contract-card button {
  display: inline-flex;
  min-height: 40px;
  padding: 0 13px;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 6px;
  background: var(--acid);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contract-card button:hover,
.contract-card button:focus-visible {
  background: var(--paper);
}

.scroll-cue {
  position: absolute;
  right: 42px;
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(243, 245, 235, 0.6);
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-cue i {
  width: 1px;
  height: 80px;
  background: linear-gradient(var(--acid), transparent);
}

.manifesto {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 760px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.manifesto-copy {
  display: flex;
  padding: clamp(64px, 8vw, 130px);
  flex-direction: column;
  justify-content: center;
}

.section-index {
  margin: 0 0 20px;
  color: var(--acid);
}

.manifesto h2,
.gallery-heading h2,
.final-copy h2 {
  margin: 0;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(72px, 9vw, 150px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.manifesto-copy > p:not(.section-index) {
  max-width: 560px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.35;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 44px;
}

.signal-row span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--acid);
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.manifesto-art {
  min-height: 680px;
  margin: 0;
  overflow: hidden;
}

.manifesto-art img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.manifesto-art:hover img {
  transform: scale(1.025);
}

.article-section {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 820px;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.article-visual {
  position: relative;
  min-height: 680px;
  overflow: hidden;
}

.article-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 56%, var(--ink)), linear-gradient(0deg, rgba(3, 5, 3, 0.72), transparent 40%);
  content: "";
}

.article-visual img {
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.article-visual:hover img {
  transform: scale(1.025);
}

.article-visual-label {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--acid);
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-copy {
  display: flex;
  padding: clamp(64px, 7vw, 110px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.article-copy h2 {
  margin: 0;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(70px, 7vw, 118px);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.025em;
}

.article-copy > p:not(.section-index) {
  max-width: 570px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
}

.article-copy > p + p {
  margin-top: 14px !important;
}

.article-copy .button {
  margin-top: 32px;
}

.timeline-section {
  padding: clamp(80px, 9vw, 140px) max(24px, calc((100vw - 1320px) / 2));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 14% 10%, rgba(199, 255, 0, 0.1), transparent 28%),
    var(--panel);
}

.timeline-heading {
  display: flex;
  margin-bottom: 64px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.timeline-heading h2 {
  margin: 0;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(72px, 9vw, 150px);
  font-weight: 400;
  line-height: 0.87;
  letter-spacing: -0.025em;
}

.timeline-heading > p {
  max-width: 380px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.timeline-shell {
  position: relative;
}

.timeline-controls {
  position: absolute;
  z-index: 6;
  top: -56px;
  right: 0;
  display: flex;
  gap: 8px;
}

.timeline-controls button,
.gallery-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(3, 5, 3, 0.72);
  color: var(--paper);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.timeline-controls button:hover,
.timeline-controls button:focus-visible,
.gallery-controls button:hover,
.gallery-controls button:focus-visible {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
  transform: translateY(-2px);
}

.timeline-rail {
  display: grid;
  grid-auto-columns: minmax(500px, min(54vw, 760px));
  grid-auto-flow: column;
  gap: 20px;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: 18px max(24px, calc((100vw - 1320px) / 2)) 42px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: max(24px, calc((100vw - 1320px) / 2));
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--acid) rgba(243, 245, 235, 0.08);
  scrollbar-width: thin;
}

.timeline-rail::-webkit-scrollbar {
  height: 4px;
}

.timeline-rail::-webkit-scrollbar-track {
  background: rgba(243, 245, 235, 0.08);
}

.timeline-rail::-webkit-scrollbar-thumb {
  background: var(--acid);
}

.timeline-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid rgba(243, 245, 235, 0.13);
  border-radius: 14px;
  background: #090d09;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  transition: border-color 220ms ease, transform 220ms ease;
}

.timeline-card:hover,
.timeline-card:focus-visible {
  border-color: rgba(199, 255, 0, 0.62);
  transform: translateY(-5px);
}

.timeline-image {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.timeline-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, #090d09), linear-gradient(0deg, rgba(3, 5, 3, 0.58), transparent 50%);
  content: "";
}

.timeline-image img {
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.timeline-card:hover .timeline-image img {
  transform: scale(1.035);
}

.timeline-image > span {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(199, 255, 0, 0.64);
  border-radius: 50%;
  background: rgba(3, 5, 3, 0.74);
  color: var(--acid);
  font-family: var(--font-mono), monospace;
  font-size: 10px;
}

.timeline-copy {
  display: flex;
  padding: clamp(28px, 3vw, 46px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.timeline-copy > div {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--acid);
  font-family: var(--font-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.timeline-copy > div p {
  margin: 0;
}

.timeline-copy > div span {
  color: rgba(243, 245, 235, 0.48);
}

.timeline-copy h3 {
  margin: 36px 0 0;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.timeline-copy > p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.timeline-copy strong {
  margin-top: 32px;
  color: var(--acid);
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chapters {
  background: var(--ink);
}

.chapter {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.chapter > img {
  z-index: -3;
  object-position: center;
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.chapter:hover > img {
  transform: scale(1.025);
}

.chapter-scrim {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 5, 3, 0.9) 0%, rgba(3, 5, 3, 0.56) 39%, transparent 72%);
}

.chapter-copy {
  display: flex;
  min-height: 92svh;
  width: min(calc(100% - 48px), 1320px);
  margin: 0 auto;
  padding: 100px 0;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.chapter-number {
  margin: 0 0 46px;
  color: rgba(243, 245, 235, 0.5);
}

.chapter-label {
  margin: 0 0 13px;
  color: var(--acid);
}

.chapter h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(50px, 7vw, 110px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.chapter-copy > p:last-child {
  max-width: 540px;
  margin: 24px 0 0;
  color: rgba(243, 245, 235, 0.72);
  font-size: 18px;
  line-height: 1.55;
}

.gallery-section {
  padding: clamp(80px, 9vw, 140px) max(24px, calc((100vw - 1320px) / 2));
  background:
    radial-gradient(circle at 80% 10%, rgba(199, 255, 0, 0.08), transparent 30%),
    var(--panel);
}

.gallery-heading {
  display: flex;
  margin-bottom: 64px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.gallery-heading > p {
  max-width: 250px;
  margin: 0 0 8px;
  color: var(--muted);
  font-family: var(--font-mono), monospace;
  font-size: 12px;
  line-height: 1.6;
  text-transform: uppercase;
}

.gallery-rail-shell {
  position: relative;
}

.gallery-controls {
  position: absolute;
  z-index: 6;
  top: -56px;
  right: 0;
  display: flex;
  gap: 8px;
}

.gallery-grid {
  position: relative;
  display: grid;
  grid-auto-columns: minmax(720px, min(76vw, 1080px));
  grid-auto-flow: column;
  gap: 22px;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: 34px max(24px, calc((100vw - 1320px) / 2)) 46px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: max(24px, calc((100vw - 1320px) / 2));
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--acid) rgba(243, 245, 235, 0.08);
  scrollbar-width: thin;
}

.gallery-grid::-webkit-scrollbar {
  height: 4px;
}

.gallery-grid::-webkit-scrollbar-track {
  background: rgba(243, 245, 235, 0.08);
}

.gallery-grid::-webkit-scrollbar-thumb {
  background: var(--acid);
}

.gallery-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(243, 245, 235, 0.13);
  border-radius: 12px;
  background: #090d09;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.gallery-image {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.gallery-image img {
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 350ms ease;
}

.gallery-card:hover .gallery-image img {
  transform: scale(1.04);
  filter: saturate(1.15) contrast(1.04);
}

.gallery-card figcaption {
  display: flex;
  padding: 14px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-card figcaption span {
  color: var(--acid);
  font-family: var(--font-mono), monospace;
}

.concept-label {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(199, 255, 0, 0.55);
  border-radius: 5px;
  background: rgba(3, 5, 3, 0.84);
  color: var(--acid);
}

.final-cta {
  position: relative;
  display: grid;
  min-height: 82svh;
  overflow: hidden;
  place-items: center;
  isolation: isolate;
}

.final-cta > img {
  z-index: -3;
}

.final-scrim {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: rgba(3, 5, 3, 0.62);
}

.final-copy {
  width: min(calc(100% - 48px), 1050px);
  padding: 110px 0;
  text-align: center;
}

.final-copy .section-index {
  margin-bottom: 26px;
}

.final-copy > p:not(.section-index) {
  margin: 28px 0 0;
  font-size: clamp(20px, 3vw, 34px);
}

.final-copy .hero-actions {
  justify-content: center;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding: 72px max(24px, calc((100vw - 1320px) / 2));
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 74px;
}

.footer-brand img {
  width: 82px;
  height: 82px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.footer-brand span {
  color: var(--acid);
}

.footer-links {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.disclaimer {
  max-width: 720px;
  margin: 0;
  color: rgba(243, 245, 235, 0.48);
  font-size: 12px;
  line-height: 1.6;
}

.copyright {
  margin: 0;
  align-self: end;
  color: var(--acid);
  text-align: right;
}

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 720ms ease, transform 900ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

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

@keyframes hero-breathe {
  from { transform: scale(1.015); }
  to { transform: scale(1.06); }
}

@keyframes sound-wave {
  from { height: 4px; }
  to { height: 14px; }
}

@media (max-width: 840px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero-content {
    justify-content: flex-end;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-scrim {
    background: linear-gradient(0deg, rgba(3, 5, 3, 0.98) 0%, rgba(3, 5, 3, 0.72) 58%, rgba(3, 5, 3, 0.18));
  }

  .hero-wordmark {
    font-size: clamp(112px, 34vw, 170px);
  }

  .scroll-cue {
    display: none;
  }

  .manifesto {
    grid-template-columns: 1fr;
  }

  .manifesto-art {
    min-height: 52svh;
    order: -1;
  }

  .article-section {
    grid-template-columns: 1fr;
  }

  .article-visual {
    min-height: 56svh;
  }

  .article-visual::after {
    background: linear-gradient(0deg, var(--ink), transparent 45%);
  }

  .timeline-rail {
    grid-auto-columns: 88vw;
    margin-inline: -24px;
    padding-inline: 24px;
  }

  .timeline-card {
    grid-template-columns: 1fr;
  }

  .timeline-image {
    min-height: 360px;
  }

  .timeline-image::after {
    background: linear-gradient(0deg, #090d09, transparent 48%);
  }

  .chapter-scrim {
    background: linear-gradient(0deg, rgba(3, 5, 3, 0.96), rgba(3, 5, 3, 0.12) 70%);
  }

  .chapter-copy {
    justify-content: flex-end;
  }

  .gallery-grid {
    grid-auto-columns: 88vw;
    margin-inline: -24px;
    padding-inline: 24px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .copyright {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
    min-height: 58px;
    padding: 0 14px;
  }

  .brand {
    gap: 8px;
    font-size: 24px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .header-cta {
    padding: 11px 12px;
    font-size: 9px;
  }

  .hero-content {
    width: calc(100% - 36px);
    padding-bottom: 88px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .button {
    width: 100%;
    justify-content: space-between;
  }

  .pair-line {
    font-size: 9px;
  }

  .contract-card {
    align-items: stretch;
    flex-direction: column;
  }

  .contract-copy code {
    overflow: visible;
    font-size: 9px;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .contract-card button {
    justify-content: space-between;
  }

  .manifesto-copy {
    padding: 64px 24px;
  }

  .manifesto h2,
  .article-copy h2,
  .timeline-heading h2,
  .gallery-heading h2,
  .final-copy h2 {
    font-size: 62px;
  }

  .chapter-copy {
    width: calc(100% - 36px);
  }

  .chapter h2 {
    font-size: 50px;
  }

  .gallery-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-copy {
    padding: 64px 24px 76px;
  }

  .timeline-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .timeline-controls {
    position: static;
    margin: -36px 0 18px;
    justify-content: flex-end;
  }

  .timeline-card {
    min-height: 0;
  }

  .timeline-image {
    min-height: 280px;
  }

  .timeline-copy {
    padding: 28px 24px 34px;
  }

  .timeline-copy h3 {
    margin-top: 28px;
  }

  .sound-toggle {
    right: 12px;
    bottom: 12px;
  }

  .gallery-controls {
    position: static;
    margin: -36px 0 18px;
    justify-content: flex-end;
  }

  .gallery-image {
    aspect-ratio: 1.45 / 1;
  }

  .concept-label {
    font-size: 8px;
  }
}

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

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

  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .sound-bars-active i {
    animation: none;
  }
}
