* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --void: #000308;
  --deep: #03080f;
  --mid: #050d18;
  --panel: #070f1c;
  --arc: #e8f4ff;
  --arc-dim: rgba(232, 244, 255, 0.5);
  --bolt: #5cc8f8;
  --bolt-dim: rgba(92, 200, 248, 0.4);
  --amber: #e8b84b;
  --amber-dim: rgba(232, 184, 75, 0.5);
  --rule: rgba(92, 200, 248, 0.1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--void);
  color: var(--arc);
  font-family: 'Cormorant Garamond', serif;
  overflow-x: hidden;
}

/* FILM GRAIN */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: .6;
  mix-blend-mode: screen;
}

/* CURSOR */
body {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4' fill='none' stroke='%235cc8f8' stroke-width='1'/%3E%3Cline x1='12' y1='2' x2='12' y2='8' stroke='%235cc8f8' stroke-width='1'/%3E%3Cline x1='12' y1='16' x2='12' y2='22' stroke='%235cc8f8' stroke-width='1'/%3E%3Cline x1='2' y1='12' x2='8' y2='12' stroke='%235cc8f8' stroke-width='1'/%3E%3Cline x1='16' y1='12' x2='22' y2='12' stroke='%235cc8f8' stroke-width='1'/%3E%3C/svg%3E") 12 12, crosshair;
}

a, button {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='6' fill='none' stroke='%23e8b84b' stroke-width='1.2'/%3E%3Ccircle cx='10' cy='10' r='2' fill='%23e8b84b'/%3E%3C/svg%3E") 10 10, pointer;
}

/* LOAD SCREEN */
#loadScreen {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--void);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.ls-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .6rem;
  letter-spacing: .5em;
  color: rgba(92, 200, 248, 0.3);
  text-transform: uppercase;
}

.ls-bar {
  width: 180px;
  height: 1px;
  background: rgba(92, 200, 248, 0.08);
  position: relative;
  overflow: hidden;
}

.ls-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, transparent, rgba(92, 200, 248, 0.8), transparent);
  transition: width .05s linear;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  padding: 1.2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 3, 8, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(92, 200, 248, 0.08);
  pointer-events: none;
  opacity: 0;
  transition: background .3s;
}

nav.scrolled {
  background: rgba(0, 3, 8, 0.97);
}

nav.interactive {
  pointer-events: all;
}

.nav-wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: .3em;
  color: rgba(92, 200, 248, 0.7);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .5rem;
  letter-spacing: .18em;
  color: rgba(232, 244, 255, 0.45);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: rgba(92, 200, 248, 0.9);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  padding: .5rem;
  cursor: pointer;
  position: relative;
  z-index: 901;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 1px;
  background: rgba(92, 200, 248, 0.85);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), opacity .25s;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  nav {
    padding: .9rem 1.4rem;
    mix-blend-mode: normal;
  }
  .nav-series {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.8rem;
    background: rgba(0, 3, 8, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
    z-index: 900;
    list-style: none;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links a {
    font-size: .9rem;
    letter-spacing: .28em;
    color: rgba(232, 244, 255, 0.7);
  }
  .nav-links a:hover {
    color: rgba(92, 200, 248, 1);
  }
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: var(--void);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-ui {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-name-wrap {
  text-align: center;
  position: relative;
  mix-blend-mode: screen;
}

.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-style: normal;
  font-size: clamp(.55rem, .9vw, .75rem);
  letter-spacing: .55em;
  color: rgba(92, 200, 248, 0.5);
  display: block;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(-22px) translateX(.275em);
}

.hero-name-nikola {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 5.5vw, 5rem);
  letter-spacing: .5em;
  color: rgba(200, 230, 255, 0.55);
  display: block;
  transform: translateY(-28px) translateX(.25em);
  opacity: 0;
}

.tesla-letters {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  line-height: .82;
  mix-blend-mode: screen;
  position: relative;
}

.tl-char {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5.5rem, 19vw, 21rem);
  letter-spacing: .04em;
  line-height: .88;
  display: inline-block;
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, rgba(210, 240, 255, 0.98) 20%, rgba(120, 210, 255, 0.85) 50%, rgba(60, 150, 230, 0.45) 78%, transparent 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 50px rgba(80, 200, 255, 0.55)) drop-shadow(0 0 120px rgba(40, 140, 220, 0.3));
  opacity: 0;
  transition: opacity 0.08s linear, filter 0.2s ease-out;
  position: relative;
  z-index: 1;
  will-change: opacity, filter;
}

.tl-char.revealed {
  opacity: 1;
}

.tl-char.glow-pulse {
  filter: drop-shadow(0 0 80px rgba(120, 220, 255, 0.95)) drop-shadow(0 0 140px rgba(80, 200, 255, 0.7));
}

.vertical-beam {
  position: absolute;
  top: -10%;
  bottom: -10%;
  width: 3px;
  background: linear-gradient(to bottom, transparent 0%, rgba(180, 235, 255, 0.6) 15%, rgba(220, 248, 255, 1) 50%, rgba(180, 235, 255, 0.6) 85%, transparent 100%);
  box-shadow: 0 0 12px 2px rgba(120, 220, 255, 0.9), 0 0 25px 5px rgba(80, 200, 255, 0.5);
  left: 0%;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%);
}

@keyframes eFlicker {
  0%,86%,88%,91%,100% { opacity: 0; }
  87% { opacity: .9; }
  89% { opacity: .2; }
  90% { opacity: .7; }
}

.tl-char.revealed::after {
  content: attr(data-char);
  position: absolute;
  inset: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: inherit;
  letter-spacing: inherit;
  background: linear-gradient(180deg, rgba(160, 230, 255, 0.1) 0%, transparent 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(100, 220, 255, 0.9));
  animation: eFlicker 9s 1s ease-in-out infinite;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(.95rem, 2.2vw, 1.55rem);
  letter-spacing: .3em;
  color: rgba(180, 220, 255, 0.38);
  margin-top: .8rem;
  display: block;
  transform: translateY(18px) translateX(.15em);
  opacity: 0;
}

.hero-rule-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  margin: 1.6rem auto;
  width: clamp(140px, 22vw, 300px);
  opacity: 0;
}

.hero-rule-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(92, 200, 248, 0.4), transparent);
}

.hero-rule-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(92, 200, 248, 0.8);
  box-shadow: 0 0 12px 4px rgba(92, 200, 248, 0.4);
  animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 12px 4px rgba(92, 200, 248, 0.4); }
  50% { box-shadow: 0 0 22px 8px rgba(92, 200, 248, 0.2); }
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  opacity: 0;
}

.hero-scroll-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .48rem;
  letter-spacing: .35em;
  color: rgba(92, 200, 248, 0.28);
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(92, 200, 248, 0.35), transparent);
  animation: scrollDrop 2.2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%,100% { transform: scaleY(1); opacity: .4; }
  50% { transform: scaleY(.4); opacity: .1; }
}

/* Shared reveal animation base */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
}

/* CH-ORIGIN */
.ch-origin {
  position: relative;
  min-height: clamp(600px, 100vh, 100vh);
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 15% 50%, #060f20 0%, var(--void) 70%);
  display: flex;
  align-items: stretch;
}

.ch-origin-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 60% 80% at 10% 50%, rgba(20, 50, 90, 0.35) 0%, transparent 65%), radial-gradient(ellipse 40% 60% at 90% 20%, rgba(10, 30, 60, 0.2) 0%, transparent 60%);
}

#originCanvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.ch-origin-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 3, 8, 0.4) 0%, transparent 20%, transparent 80%, rgba(0, 3, 8, 0.6) 100%);
}

.ch-origin-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 90px 1fr 180px;
  gap: 0;
  width: 100%;
  padding: 12vmin 6vw 10vmin;
  align-items: start;
}

.ch-col-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 2.5rem;
  padding-top: .3rem;
}

.ch-chapter-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .5rem;
  letter-spacing: .35em;
  color: var(--bolt-dim);
  text-transform: uppercase;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  white-space: nowrap;
}

.ch-chapter-rule {
  width: 1px;
  flex: 1;
  background: rgba(92, 200, 248, 0.12);
  margin-top: 1rem;
}

.ch-col-body {
  padding: 0 4vw 0 0;
}

.ch-col-stat {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: .5rem;
  border-left: 1px solid var(--rule);
  padding-left: 2rem;
}

/* Shared Chapter Elements */
.ch-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .52rem;
  letter-spacing: .4em;
  color: var(--bolt-dim);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.ch-tag::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: var(--bolt-dim);
}

.ch-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: .88;
  letter-spacing: .02em;
  color: var(--arc);
  margin-bottom: 2.5rem;
}

.ch-heading em {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: .42em;
  letter-spacing: .1em;
  color: var(--amber-dim);
  margin-bottom: .2rem;
}

.ch-body {
  font-size: 1rem;
  line-height: 2;
  color: rgba(232, 244, 255, 0.5);
}

.ch-body p {
  margin-bottom: 1.4rem;
}

.ch-body strong {
  color: var(--arc);
  font-weight: 600;
}

.ch-quote {
  margin: 2.5rem 0 0;
  padding: 1.5rem 0 1.5rem 2rem;
  border-left: 1px solid rgba(232, 184, 75, 0.3);
}

.ch-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(232, 244, 255, 0.7);
}

.ch-quote cite {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .48rem;
  letter-spacing: .22em;
  color: var(--amber-dim);
  text-transform: uppercase;
  display: block;
  margin-top: .7rem;
}

.ch-quote-center {
  border-left: none;
  border-top: 1px solid rgba(232, 184, 75, 0.2);
  padding: 2rem 0 0;
  text-align: center;
}

.ch-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  color: var(--bolt);
  line-height: 1;
  letter-spacing: .04em;
  text-shadow: 0 0 30px rgba(92, 200, 248, 0.35);
}

.ch-stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .44rem;
  letter-spacing: .2em;
  color: var(--arc-dim);
  text-transform: uppercase;
  margin-top: .2rem;
  opacity: .55;
}

.ch-divider {
  width: 48px;
  height: 1px;
  background: rgba(92, 200, 248, 0.3);
  margin: 2rem 0;
}

/* CH-PORTRAIT */
.ch-portrait {
  background: var(--deep);
  padding: 10vmin 0;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.ch-portrait-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
  align-items: start;
}

.ch-portrait-image-col {
  padding: 0 4vw 0 5vw;
  position: sticky;
  top: 6rem;
  align-self: start;
}

.ch-portrait-frame {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--panel);
}

.ch-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  filter: sepia(.2) contrast(1.15) brightness(.82);
  transition: transform 8s ease;
}

.ch-portrait-frame:hover img {
  transform: scale(1.04);
}

.ch-portrait-frame.no-photo {
  background: radial-gradient(ellipse at 50% 30%, #0a1828 0%, #030508 100%);
  min-height: 480px;
}

.ch-portrait-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(transparent, transparent 3px, rgba(92, 200, 248, 0.015) 3px, rgba(92, 200, 248, 0.015) 4px);
}

.ch-portrait-corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cpc {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: rgba(92, 200, 248, 0.5);
  border-style: solid;
}

.cpc.tl {
  top: .8rem;
  left: .8rem;
  border-width: 1px 0 0 1px;
}

.cpc.tr {
  top: .8rem;
  right: .8rem;
  border-width: 1px 1px 0 0;
}

.cpc.bl {
  bottom: 4rem;
  left: .8rem;
  border-width: 0 0 1px 1px;
}

.cpc.br {
  bottom: 4rem;
  right: .8rem;
  border-width: 0 1px 1px 0;
}

.ch-portrait-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 1.5rem 1.2rem;
  background: linear-gradient(to top, rgba(3, 8, 15, 0.95) 0%, transparent 100%);
}

.ch-portrait-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: .1em;
  color: var(--arc);
  display: block;
  line-height: 1;
}

.ch-portrait-dates {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .48rem;
  letter-spacing: .22em;
  color: var(--bolt-dim);
  text-transform: uppercase;
  display: block;
  margin-top: .3rem;
}

.ch-portrait-label {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: .8rem;
  border-top: 1px solid var(--rule);
}

.ch-portrait-label span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .44rem;
  letter-spacing: .15em;
  color: rgba(232, 244, 255, 0.3);
  text-transform: uppercase;
}

.ch-portrait-text-col {
  padding: 0 6vw 0 4vw;
  border-left: 1px solid var(--rule);
}

.ch-portrait-data {
  margin-top: 2.5rem;
  border-top: 1px solid var(--rule);
}

.ch-pd-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .8rem 0;
  border-bottom: 1px solid rgba(92, 200, 248, 0.05);
}

.ch-pd-k {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .48rem;
  letter-spacing: .18em;
  color: var(--bolt-dim);
  text-transform: uppercase;
  opacity: .6;
}

.ch-pd-v {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: rgba(232, 244, 255, 0.65);
  text-align: right;
}

/* CH-WAR */
.ch-war {
  min-height: clamp(500px, 100vh, 100vh);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--deep);
  position: relative;
  overflow: hidden;
}

.ch-war-image {
  position: relative;
  overflow: hidden;
}

.ch-war-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  filter: brightness(.4) contrast(1.15) saturate(.45);
}

.ch-war-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 40%, var(--deep) 100%), linear-gradient(to top, var(--deep) 0%, transparent 30%);
}

.ch-war-content {
  padding: 12vmin 7vw 10vmin 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.ch-heading-lg {
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: .82;
}

.ch-war-verdict {
  margin-top: 2.5rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(92, 200, 248, 0.15);
  background: rgba(92, 200, 248, 0.03);
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.ch-war-v-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .48rem;
  letter-spacing: .25em;
  color: var(--bolt-dim);
  text-transform: uppercase;
}

.ch-war-v-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: .06em;
  color: var(--arc);
}

/* CH-NIAGARA */
.ch-niagara {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.ch-niagara-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 60% 80% at 40% 40%, #061528 0%, #000308 100%);
}

.ch-niagara-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: brightness(.32) contrast(1.2) saturate(.5);
}

.ch-niagara-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 3, 8, 0.92) 0%, rgba(0, 3, 8, 0.5) 60%, rgba(0, 3, 8, 0.75) 100%), linear-gradient(to top, rgba(0, 3, 8, 0.98) 0%, transparent 40%);
}

.ch-niagara-content {
  position: relative;
  z-index: 2;
  padding: 10vmin 7vw;
  max-width: 700px;
}

.ch-niagara-stats {
  display: flex;
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.ch-nstat {
  flex: 1;
  padding: 1.5rem 1.8rem;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.ch-nstat:last-child {
  border-right: none;
}

.ch-nstat-n {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  color: var(--bolt);
  line-height: 1;
  text-shadow: 0 0 25px rgba(92, 200, 248, 0.35);
}

.ch-nstat-u {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .48rem;
  letter-spacing: .2em;
  color: var(--arc-dim);
  text-transform: uppercase;
  opacity: .6;
}

.ch-nstat-l {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .44rem;
  letter-spacing: .15em;
  color: var(--arc-dim);
  opacity: .4;
  text-transform: uppercase;
}

/* CH-TRINITY */
.ch-trinity {
  background: var(--void);
  padding: 10vmin 0 0;
}

.ch-trinity-header {
  padding: 0 6vw 5rem;
  max-width: 700px;
}

.ch-trinity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}

.ch-inv-card {
  border-right: 1px solid var(--rule);
  display: grid;
  grid-template-rows: auto 1fr;
  transition: background .3s;
}

.ch-inv-card:last-child {
  border-right: none;
}

.ch-inv-card:hover {
  background: rgba(92, 200, 248, 0.02);
}

.ch-inv-art {
  border-bottom: 1px solid var(--rule);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--deep);
  min-height: 280px;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.ch-inv-card:hover .ch-inv-art {
  transform: scale(1.03);
}

.ch-inv-art svg {
  width: 100%;
  max-width: 280px;
  height: auto;
}

.ch-inv-body {
  padding: 2.5rem 2.5rem 3rem;
}

.ch-inv-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  color: rgba(92, 200, 248, 0.06);
  line-height: 1;
  margin-bottom: -.5rem;
  letter-spacing: .02em;
}

.ch-inv-year {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .48rem;
  letter-spacing: .22em;
  color: var(--amber-dim);
  text-transform: uppercase;
  display: block;
  margin-bottom: .6rem;
  opacity: .7;
}

.ch-inv-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: .03em;
  color: var(--arc);
  margin-bottom: .8rem;
  line-height: .95;
}

.ch-inv-card p {
  font-size: .9rem;
  line-height: 1.9;
  color: rgba(232, 244, 255, 0.45);
  margin-bottom: 1.2rem;
}

.ch-inv-patent {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .44rem;
  letter-spacing: .2em;
  color: var(--bolt-dim);
  text-transform: uppercase;
  border: 1px solid rgba(92, 200, 248, 0.15);
  padding: .3rem .9rem;
  background: rgba(92, 200, 248, 0.03);
}

/* SVG Animations */
@keyframes coil-pulse {
  0%,100% { opacity: .7; filter: drop-shadow(0 0 6px rgba(92, 200, 248, 0.6)); }
  50% { opacity: 1; filter: drop-shadow(0 0 18px rgba(92, 200, 248, 0.9)) drop-shadow(0 0 40px rgba(92, 200, 248, 0.4)); }
}

@keyframes rotor-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes discharge-flash {
  0%,85%,100% { opacity: .4; }
  88% { opacity: 1; }
  92% { opacity: .6; }
}

@keyframes wave-travel {
  0% { stroke-dashoffset: 40; }
  100% { stroke-dashoffset: 0; }
}

@keyframes orbit-glow {
  0%,100% { opacity: .65; stroke-width: 1.3; }
  50% { opacity: 1; stroke-width: 1.8; }
}

@keyframes amber-pulse {
  0%,100% { opacity: .45; filter: drop-shadow(0 0 4px rgba(232, 184, 75, 0.4)); }
  50% { opacity: .85; filter: drop-shadow(0 0 14px rgba(232, 184, 75, 0.9)) drop-shadow(0 0 28px rgba(232, 184, 75, 0.4)); }
}

@keyframes arc-flash {
  0%,70%,100% { opacity: 0; }
  72% { opacity: .8; }
  75% { opacity: .3; }
  78% { opacity: .7; }
  82% { opacity: 0; }
}

.ch-inv-art svg .coil-path { animation: coil-pulse 2.2s ease-in-out infinite; }
.ch-inv-art svg .coil-toroid { animation: coil-pulse 1.8s ease-in-out infinite; }
.ch-inv-art svg .coil-primary { animation: amber-pulse 2.4s ease-in-out infinite; }
.ch-inv-art svg .coil-arc { animation: arc-flash 3.5s ease-in-out infinite; }
.ch-inv-art svg .rotor-group { transform-origin: 150px 150px; animation: rotor-spin 4s linear infinite; }
.ch-inv-art svg .orbit-ring { animation: orbit-glow 2.5s ease-in-out infinite; }
.ch-inv-art svg .wave-path { stroke-dasharray: 6 4; animation: wave-travel .8s linear infinite; }
.ch-inv-art svg .discharge-line { animation: discharge-flash 3s ease-in-out infinite; }

/* CH-COLORADO */
.ch-colorado {
  position: relative;
  min-height: clamp(560px, 100vh, 100vh);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse 70% 60% at 50% 30%, #040c1a 0%, var(--void) 75%);
  text-align: center;
}

#coloradoCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.ch-colorado-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0, 3, 8, 0.1) 0%, rgba(0, 3, 8, 0.88) 100%);
}

.ch-colorado-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 6rem 6vw;
}

.ch-colorado-body {
  font-size: 1rem;
  line-height: 2;
  color: rgba(232, 244, 255, 0.5);
  margin: 1.5rem 0 2rem;
  text-align: left;
}

.ch-colorado-body p {
  margin-bottom: 1.2rem;
}

.ch-colorado-body strong {
  color: var(--arc);
}

/* CH-WARDENCLYFFE */
.ch-wardenclyffe {
  background: var(--mid);
  overflow: hidden;
  position: relative;
}

.ch-ward-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(500px, 100vh, 100vh);
  background: var(--mid);
}

.ch-ward-visual {
  position: relative;
  overflow: hidden;
}

.ch-ward-img-wrap {
  position: absolute;
  inset: 0;
}

.ch-ward-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% 20%;
  filter: brightness(.38) contrast(1.1) saturate(.4);
}

.ch-ward-img-wrap.no-img {
  background: radial-gradient(ellipse at 40% 40%, #081f40 0%, #030508 100%);
}

.ch-ward-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 30%, var(--mid) 100%), linear-gradient(to top, var(--mid) 0%, transparent 30%);
}

.ch-ward-svg-underlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .4;
}

.ch-ward-content {
  padding: 12vmin 7vw 10vmin 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.ch-ward-facts {
  display: flex;
  gap: 0;
  margin-top: 2.5rem;
  border: 1px solid var(--rule);
}

.ch-ward-fact {
  flex: 1;
  padding: 1.2rem 1.4rem;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.ch-ward-fact:last-child {
  border-right: none;
}

.cwf-n {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--bolt);
  line-height: 1;
  text-shadow: 0 0 20px rgba(92, 200, 248, 0.3);
}

.cwf-l {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .44rem;
  letter-spacing: .18em;
  color: var(--arc-dim);
  text-transform: uppercase;
  opacity: .5;
}

/* CH-FREQUENCY */
.ch-frequency {
  background: var(--deep);
  padding: 10vmin 0;
  overflow: hidden;
}

.ch-freq-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
}

.ch-freq-text {
  padding: 0 5vw 0 7vw;
}

.ch-freq-modes {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.ch-freq-btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .48rem;
  letter-spacing: .18em;
  color: rgba(232, 244, 255, 0.3);
  text-transform: uppercase;
  background: none;
  border: 1px solid rgba(92, 200, 248, 0.12);
  padding: .55rem 1.1rem;
  cursor: pointer;
  transition: all .2s;
}

.ch-freq-btn:hover, .ch-freq-btn.active {
  color: var(--bolt);
  border-color: rgba(92, 200, 248, 0.4);
  background: rgba(92, 200, 248, 0.04);
}

.ch-freq-readout {
  display: flex;
  gap: 0;
  border: 1px solid var(--rule);
  margin-top: 2rem;
}

.ch-freq-stat {
  flex: 1;
  padding: 1rem 1.2rem;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.ch-freq-stat:last-child {
  border-right: none;
}

.cfs-n {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--bolt);
  line-height: 1;
}

.cfs-u {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .44rem;
  letter-spacing: .15em;
  color: var(--arc-dim);
  opacity: .55;
}

.cfs-l {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .42rem;
  letter-spacing: .18em;
  color: var(--arc-dim);
  opacity: .4;
  text-transform: uppercase;
}

.ch-freq-canvas-wrap {
  position: relative;
  border-left: 1px solid var(--rule);
}

#freqCanvas {
  display: block;
  width: 100%;
  height: 380px;
}

.ch-freq-canvas-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(transparent, transparent 3px, rgba(3, 8, 15, 0.12) 3px, rgba(3, 8, 15, 0.12) 4px);
}

/* CH-TIMELINE */
.ch-timeline {
  background: var(--void);
  padding: 10vmin 0;
}

.ch-tl-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 6vw;
}

.ch-timeline .ch-heading {
  margin-bottom: 5rem;
}

.ch-tl-track {
  position: relative;
  padding-left: 0;
}

.ch-tl-spine {
  position: absolute;
  left: 88px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(92, 200, 248, 0.2) 5%, rgba(92, 200, 248, 0.2) 95%, transparent);
}

.ch-tl-entry {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0 2.5rem;
  padding: 2.8rem 0;
  border-top: 1px solid rgba(92, 200, 248, 0.05);
}

.ch-tl-entry:first-child {
  border-top: none;
}

.ch-tl-year-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
  padding-right: 0;
  position: relative;
  padding-top: .15rem;
}

.ch-tl-year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--bolt-dim);
  line-height: 1;
  letter-spacing: .05em;
  opacity: .65;
}

.ch-tl-node {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(92, 200, 248, 0.5);
  background: var(--void);
  transform: rotate(45deg) translateX(6px);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: background .3s, border-color .3s;
}

.ch-tl-node-final {
  background: var(--bolt);
  border-color: var(--arc);
}

.ch-tl-entry:hover .ch-tl-node {
  background: rgba(92, 200, 248, 0.3);
}

.ch-tl-body {
  padding-top: .15rem;
}

.ch-tl-event {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: .02em;
  color: var(--arc);
  margin-bottom: .5rem;
  line-height: 1.1;
}

.ch-tl-detail {
  font-family: 'Cormorant Garamond', serif;
  font-size: .95rem;
  line-height: 1.9;
  color: rgba(232, 244, 255, 0.42);
}

.ch-tl-tag {
  display: inline-block;
  margin-top: .7rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .42rem;
  letter-spacing: .2em;
  color: var(--amber-dim);
  text-transform: uppercase;
  border: 1px solid rgba(232, 184, 75, 0.2);
  padding: .2rem .65rem;
  background: rgba(232, 184, 75, 0.04);
}

/* CH-PHILOSOPHY */
.ch-philosophy {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse 100% 80% at 50% 50%, #030d1c 0%, var(--void) 80%);
}

#philCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.ch-phil-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(0, 3, 8, 0.05) 0%, rgba(0, 3, 8, 0.9) 100%);
}

.ch-phil-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 8vmin 7vw;
  max-width: 900px;
}

.ch-phil-quote {
  margin: 2.5rem 0;
  padding: 2.5rem 3rem;
  position: relative;
}

.ch-phil-quote::before {
  content: "“";
  font-family: 'Cormorant Garamond', serif;
  font-size: 10rem;
  color: rgba(92, 200, 248, 0.06);
  position: absolute;
  top: -2rem;
  left: 0;
  line-height: 1;
}

.ch-phil-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.8rem, 4.5vw, 3.8rem);
  line-height: 1.45;
  color: var(--arc);
}

.ch-phil-attr {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .55rem;
  letter-spacing: .32em;
  color: var(--bolt-dim);
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.ch-phil-secondary {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.7;
  color: rgba(232, 244, 255, 0.3);
  max-width: 700px;
  margin: 0 auto;
}

/* CH-LEGACY */
.ch-legacy {
  background: var(--deep);
  padding: 10vmin 0 0;
}

.ch-legacy-header {
  padding: 0 6vw 5rem;
  max-width: 820px;
}

.ch-legacy-intro {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(232, 244, 255, 0.4);
  max-width: 600px;
  margin-top: 1.5rem;
}

.ch-legacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}

.ch-leg-item {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ch-leg-item:nth-child(3n) {
  border-right: none;
}

.ch-leg-visual {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--panel);
  min-height: 160px;
}

.ch-leg-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.4) saturate(.45) contrast(1.1);
  transition: filter .6s ease, transform .6s ease;
}

.ch-leg-item:hover .ch-leg-visual img {
  filter: brightness(.6) saturate(.7) contrast(1.1);
  transform: scale(1.04);
}

.ch-leg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 8, 15, 0.85) 0%, transparent 50%);
}

.ch-leg-body {
  padding: 1.8rem 2rem 2.2rem;
  flex: 1;
}

.ch-leg-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .44rem;
  letter-spacing: .22em;
  color: var(--bolt-dim);
  text-transform: uppercase;
  display: block;
  margin-bottom: .5rem;
}

.ch-leg-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: .03em;
  color: var(--arc);
  margin-bottom: .7rem;
  line-height: .95;
}

.ch-leg-item p {
  font-size: .85rem;
  line-height: 1.85;
  color: rgba(232, 244, 255, 0.4);
}

/* CH-FUTURE */
.ch-future {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--void);
}

#futureCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.ch-future-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(5, 20, 50, 0.5) 0%, rgba(0, 3, 8, 0.9) 100%);
}

.ch-future-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 8vmin 6vw;
  text-align: center;
}

.ch-future-body {
  font-size: 1rem;
  line-height: 2;
  color: rgba(232, 244, 255, 0.45);
  margin: 2rem 0;
  text-align: left;
}

.ch-future-body p {
  margin-bottom: 1.2rem;
}

.ch-future-body strong {
  color: var(--arc);
}

.ch-future-rule {
  width: 60px;
  height: 1px;
  background: var(--bolt-dim);
  margin: 2.5rem auto;
  opacity: .5;
}

.ch-future-colophon {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  align-items: center;
}

.ch-future-series {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .5rem;
  letter-spacing: .3em;
  color: var(--bolt-dim);
  text-transform: uppercase;
}

.ch-future-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(232, 244, 255, 0.4);
  letter-spacing: .08em;
}

.ch-future-signal {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .44rem;
  letter-spacing: .25em;
  color: rgba(232, 184, 75, 0.4);
  text-transform: uppercase;
  margin-top: .3rem;
}

/* FOOTER */
.ch-footer {
  background: var(--deep);
  padding: 4rem 6vw 3rem;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: end;
}

.ch-footer-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: .15em;
  color: var(--bolt);
  opacity: .7;
}

.ch-footer-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .46rem;
  letter-spacing: .18em;
  color: var(--arc-dim);
  opacity: .35;
  line-height: 1.9;
  margin-top: .4rem;
}

.ch-footer-series-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .44rem;
  letter-spacing: .25em;
  color: rgba(232, 244, 255, 0.25);
  text-transform: uppercase;
  margin-bottom: .8rem;
}

.ch-footer-nav {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.ch-footer-nav a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .48rem;
  letter-spacing: .15em;
  color: rgba(232, 244, 255, 0.25);
  text-decoration: none;
  transition: color .2s;
  text-transform: uppercase;
}

.ch-footer-nav a:hover {
  color: rgba(92, 200, 248, 0.7);
}

.ch-footer-right {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .44rem;
  letter-spacing: .14em;
  color: rgba(232, 244, 255, 0.12);
  line-height: 1.9;
  text-align: right;
}

/* Image Captions */
.img-caption {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .42rem;
  letter-spacing: .12em;
  color: rgba(232, 244, 255, 0.25);
  line-height: 1.6;
  padding: .5rem 0 0;
  text-align: left;
  border-top: 1px solid rgba(92, 200, 248, 0.06);
  margin-top: .5rem;
}

.img-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .38rem;
  letter-spacing: .1em;
  color: rgba(232, 244, 255, 0.3);
  line-height: 1.5;
  padding: .5rem 1rem .6rem;
  text-align: left;
}

/* Offset for fixed nav */
[id] {
  scroll-margin-top: 70px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .ch-portrait-inner { max-width: 100%; }
  .ch-inv-art { min-height: 240px; padding: 2.5rem; }
  .ch-freq-text { padding: 0 4vw 0 5vw; }
  nav { padding: 1rem 2rem; }
}

@media (max-width: 960px) {
  .ch-portrait-inner { grid-template-columns: 1fr; }
  .ch-portrait-image-col { position: static; padding: 0 5vw 2.5rem; }
  .ch-portrait-frame { aspect-ratio: 3/2; max-height: 50vw; height: auto; }
  .ch-portrait-text-col { padding: 3rem 5vw 0; border-left: none; border-top: 1px solid var(--rule); }
  .ch-origin-inner { grid-template-columns: 48px 1fr; padding: 7rem 5vw 5rem; }
  .ch-col-stat { display: none; }
  .ch-war { grid-template-columns: 1fr; min-height: auto; }
  .ch-war-image { height: 55vw; min-height: 260px; max-height: 420px; }
  .ch-war-img-overlay { background: linear-gradient(to bottom, transparent 30%, var(--deep) 100%), linear-gradient(to right, transparent, transparent); }
  .ch-niagara { min-height: auto; }
  .ch-niagara-stats { flex-direction: column; }
  .ch-nstat { border-right: none; border-bottom: 1px solid var(--rule); padding: 1.2rem 1.5rem; }
  .ch-trinity-grid { grid-template-columns: 1fr; }
  .ch-inv-card { border-right: none; border-bottom: 1px solid var(--rule); }
  .ch-inv-art { min-height: 220px; }
  .ch-ward-split { grid-template-columns: 1fr; min-height: auto; }
  .ch-ward-visual { height: 55vw; min-height: 260px; max-height: 420px; position: relative; }
  .ch-ward-img-wrap { position: absolute; inset: 0; }
  .ch-ward-content { padding: 4rem 5vw; }
  .ch-freq-inner { grid-template-columns: 1fr; }
  .ch-freq-text { padding: 5vmin 5vw 3rem; }
  .ch-freq-canvas-wrap { border-left: none; border-top: 1px solid var(--rule); }
  #freqCanvas { height: 260px; }
  .ch-legacy-grid { grid-template-columns: 1fr 1fr; }
  .ch-leg-item:nth-child(3n) { border-right: 1px solid var(--rule); }
  .ch-leg-item:nth-child(2n) { border-right: none; }
  .ch-footer { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .ch-footer-right { grid-column: 1/-1; text-align: left; border-top: 1px solid var(--rule); padding-top: 1.5rem; }
}

@media (max-width: 768px) {
  nav { padding: .9rem 1.4rem; }
  .hero-name-nikola { font-size: clamp(2rem, 8.5vw, 3.5rem); letter-spacing: .35em; }
  .hero-eyebrow { font-size: .65rem; letter-spacing: .3em; margin-bottom: 1rem; }
  .hero-subtitle { font-size: 1rem; letter-spacing: .2em; margin-top: .6rem; }
  .hero-rule-wrap { width: clamp(110px, 42vw, 200px); margin: 1rem auto; }
  .hero-scroll { bottom: 1.2rem; }
  .hero-ui { padding-top: 52px; }
  .ch-heading { font-size: clamp(2.2rem, 8.5vw, 4rem); }
  .ch-heading-lg { font-size: clamp(2.6rem, 10vw, 4.5rem); }
  .ch-tag { font-size: .45rem; letter-spacing: .26em; margin-bottom: 1.2rem; }
  .ch-body { font-size: .9rem; line-height: 1.9; }
  .ch-quote { padding-left: 1rem; margin-top: 2rem; }
  .ch-quote p { font-size: 1rem; }
  .ch-origin-inner { grid-template-columns: 28px 1fr; padding: 6rem 4vw 4rem; }
  .ch-col-meta { padding-right: .6rem; }
  .ch-chapter-num { font-size: .4rem; letter-spacing: .22em; }
  .ch-portrait { padding: 5vmin 0 8vmin; }
  .ch-portrait-image-col { padding: 0 5vw 1.5rem; }
  .ch-portrait-frame { aspect-ratio: 3/2; height: auto; max-height: 52vw; min-height: 220px; }
  .ch-portrait-text-col { padding: 2rem 5vw 0; }
  .ch-portrait-data { margin-top: 1.5rem; }
  .ch-portrait-label { margin-top: .8rem; padding-top: .6rem; }
  .ch-war-image { height: 52vw; min-height: 220px; max-height: 360px; }
  .ch-war-content { padding: 3rem 4vw; }
  .ch-niagara { min-height: auto; }
  .ch-niagara-content { padding: 3rem 4vw 4rem; }
  .ch-nstat-n { font-size: 1.6rem; }
  .ch-nstat { padding: 1rem 1.2rem; }
  .ch-trinity { padding: 8vmin 0 0; }
  .ch-trinity-header { padding: 0 4vw 3rem; }
  .ch-inv-art { min-height: 190px; padding: 1.8rem; }
  .ch-inv-body { padding: 1.4rem 1.4rem 1.8rem; }
  .ch-inv-num { font-size: 3rem; }
  .ch-inv-title { font-size: 1.5rem; }
  .ch-inv-card p { font-size: .85rem; }
  .ch-colorado-content { padding: 3.5rem 4vw; text-align: left; }
  .ch-quote-center { text-align: left; border-left: 1px solid rgba(232, 184, 75, 0.25); border-top: none; padding: 1rem 0 0 1rem; margin-top: 1.5rem; }
  .ch-ward-visual { height: 50vw; min-height: 220px; max-height: 340px; }
  .ch-ward-content { padding: 2.5rem 4vw 3.5rem; }
  .ch-ward-facts { flex-wrap: wrap; margin-top: 2rem; }
  .ch-ward-fact { flex: 1 1 calc(50% - 1px); padding: 1rem 1.2rem; }
  .ch-ward-fact:nth-child(3) { border-top: 1px solid var(--rule); }
  .cwf-n { font-size: 1.4rem; }
  .ch-frequency { padding: 8vmin 0; }
  .ch-freq-text { padding: 3rem 4vw 2.5rem; }
  .ch-freq-modes { gap: .35rem; margin: 1.2rem 0; }
  .ch-freq-btn { padding: .4rem .8rem; font-size: .42rem; letter-spacing: .12em; }
  .ch-freq-readout { flex-direction: column; margin-top: 1.5rem; }
  .ch-freq-stat { border-right: none !important; border-bottom: 1px solid var(--rule); padding: .8rem 1rem; }
  .cfs-n { font-size: 1.3rem; }
  #freqCanvas { height: 220px; }
  .ch-timeline { padding: 8vmin 0; }
  .ch-tl-inner { padding: 0 4vw; }
  .ch-timeline .ch-heading { margin-bottom: 2.5rem; }
  .ch-tl-spine { left: 50px; }
  .ch-tl-entry { grid-template-columns: 50px 1fr; gap: 0 1rem; padding: 1.6rem 0; }
  .ch-tl-year { font-size: .9rem; letter-spacing: .03em; }
  .ch-tl-node { transform: rotate(45deg) translateX(3px); width: 9px; height: 9px; }
  .ch-tl-event { font-size: 1.1rem; margin-bottom: .4rem; }
  .ch-tl-detail { font-size: .86rem; line-height: 1.7; }
  .ch-tl-tag { font-size: .38rem; padding: .18rem .55rem; }
  .ch-philosophy { min-height: auto; padding: 8vmin 0; }
  .ch-phil-content { padding: 4rem 4vw; }
  .ch-phil-quote { padding: 1rem .25rem; margin: 1.5rem 0; }
  .ch-phil-quote p { font-size: clamp(1.25rem, 5.5vw, 1.9rem); line-height: 1.4; }
  .ch-phil-attr { margin-bottom: 2rem; font-size: .5rem; }
  .ch-phil-secondary { font-size: .9rem; }
  .ch-legacy { padding: 8vmin 0 0; }
  .ch-legacy-header { padding: 0 4vw 2.5rem; max-width: 100%; }
  .ch-legacy-intro { font-size: .92rem; margin-top: 1rem; }
  .ch-legacy-grid { grid-template-columns: 1fr 1fr; }
  .ch-leg-body { padding: 1rem 1.2rem 1.4rem; }
  .ch-leg-title { font-size: 1.1rem; margin-bottom: .5rem; }
  .ch-leg-item p { font-size: .78rem; }
  .ch-future { min-height: auto; padding: 8vmin 0; }
  .ch-future-content { padding: 4rem 4vw; text-align: left; max-width: 100%; }
  .ch-future-body { font-size: .9rem; text-align: left; }
  .ch-future-rule { margin: 1.8rem 0; }
  .ch-future-colophon { align-items: flex-start; gap: .3rem; }
  .ch-footer { grid-template-columns: 1fr; gap: 1.8rem; padding: 2.5rem 4vw 2rem; }
  .ch-footer-right { text-align: left; grid-column: 1; border-top: 1px solid var(--rule); padding-top: 1.5rem; margin-top: .5rem; }
  .ch-footer-title { font-size: 1.6rem; }
  .img-caption { font-size: .38rem; }
  .img-caption-overlay { font-size: .34rem; padding: .4rem .8rem .5rem; }
}

@media (max-width: 480px) {
  nav { padding: .75rem 1rem; }
  .nav-wordmark { font-size: .95rem; letter-spacing: .15em; }
  .hero-eyebrow { font-size: .44rem; letter-spacing: .2em; }
  .tl-char { font-size: clamp(4rem, 16vw, 18rem) !important; }
  .ch-origin-inner { grid-template-columns: 0 1fr; padding: 5.5rem 4vw 3.5rem; gap: 0; }
  .ch-col-meta { display: none; }
  .ch-portrait-frame { aspect-ratio: 1/1; max-height: 80vw; }
  .ch-portrait-name { font-size: 1.4rem; }
  .ch-pd-row { flex-direction: column; gap: .15rem; padding: .55rem 0; }
  .ch-pd-v { text-align: left; font-size: .85rem; }
  .ch-war-image { height: 48vw; min-height: 200px; }
  .ch-ward-fact { flex: 1 1 100%; border-right: none !important; border-top: 1px solid var(--rule); }
  .ch-ward-fact:first-child { border-top: none; }
  .ch-legacy-grid { grid-template-columns: 1fr; }
  .ch-leg-item { border-right: none !important; }
  .ch-leg-item:nth-child(3n) { border-right: none !important; }
  .ch-leg-item:nth-child(2n) { border-right: none !important; }
  .ch-tl-spine { left: 44px; }
  .ch-tl-entry { grid-template-columns: 44px 1fr; gap: 0 .8rem; }
  .ch-tl-year { font-size: .82rem; }
  .ch-tl-event { font-size: 1rem; }
  .ch-freq-btn { font-size: .38rem; padding: .35rem .65rem; letter-spacing: .1em; }
  .ch-phil-quote p { font-size: clamp(1.1rem, 5vw, 1.6rem); }
  .ch-footer { padding: 2rem 4vw 2rem; }
}

@media (max-width: 360px) {
  .tl-char { font-size: clamp(3.5rem, 14vw, 16rem) !important; }
  .ch-heading { font-size: clamp(2rem, 8vw, 3.5rem); }
  .nav-links a { font-size: .8rem; letter-spacing: .2em; }
}

@media (min-width: 961px) {
  .ch-war-image img { height: 110%; }
  .ch-ward-img-wrap img { object-position: 25% 20%; }
}