:root {
  --bg: #14110f;
  --accent: #ffd700;
  --accent2: #d22b2b;
  --text: #f7f0e8;
  --muted: #a89b8e;
  --panel: #1f1a17;
  --dock-h: 4.25rem;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(ellipse 120% 80% at 50% -20%, #2a1518 0%, var(--bg) 55%);
  color: var(--text);
  line-height: 1.55;
  padding-bottom: calc(var(--dock-h) + 1.5rem);
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #fff3b0;
}

.page-wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0;
}

.section-intro {
  text-align: left;
  margin-bottom: 1.75rem;
}

.section-intro h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  margin: 0 0 0.35rem;
  letter-spacing: 0.02em;
}

.section-intro p {
  margin: 0;
  color: var(--muted);
  max-width: 38rem;
}

/* Hero — split_asymmetric */
.hero-split {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: 2rem 0 3rem;
}

@media (min-width: 840px) {
  .hero-split {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: min(72vh, 38rem);
  }
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 0.5rem;
}

.hero-copy .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero-copy .tagline {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 28rem;
  margin: 0 0 1.25rem;
}

.hero-visual {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(210, 43, 43, 0.15), transparent 55%);
  pointer-events: none;
}

/* Features — vertical_timeline */
.timeline {
  position: relative;
  padding: 0.5rem 0 2.5rem 0.25rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(var(--accent2), var(--accent));
  opacity: 0.65;
}

.timeline-item {
  position: relative;
  padding-left: 2.25rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}

.timeline-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

/* Screens — film_strip */
.film-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.film-strip figure {
  flex: 0 0 min(78vw, 16rem);
  scroll-snap-align: start;
  margin: 0;
  background: var(--panel);
  border-radius: 1rem;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.film-strip img {
  border-radius: 0.65rem;
  width: 100%;
  height: auto;
}

.film-strip figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.5rem 0.25rem 0.15rem;
}

/* Legal — single_column_dropcap */
.legal-scroll {
  background: var(--panel);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem 2.5rem;
  border: 1px solid rgba(255, 215, 0, 0.12);
  margin-bottom: 2rem;
}

.legal-scroll h2 {
  margin-top: 0;
  font-size: 1.6rem;
}

.dropcap p:first-of-type::first-letter {
  float: left;
  font-size: 3.4rem;
  line-height: 0.85;
  padding-right: 0.45rem;
  color: var(--accent);
  font-weight: 600;
}

.legal-scroll p,
.legal-scroll ul {
  color: var(--muted);
  max-width: 42rem;
}

.legal-scroll ul {
  padding-left: 1.2rem;
}

#support {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Bottom dock nav */
.bottom-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--dock-h);
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0.25rem;
  padding: 0.45rem 0.75rem calc(0.45rem + env(safe-area-inset-bottom));
  background: rgba(20, 17, 15, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 215, 0, 0.18);
  z-index: 20;
}

.bottom-dock a {
  flex: 1;
  max-width: 6.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  border-radius: 0.75rem;
  transition: background 0.2s, color 0.2s;
}

.bottom-dock a span {
  font-size: 1.1rem;
  line-height: 1;
  margin-bottom: 0.15rem;
}

.bottom-dock a:hover,
.bottom-dock a:focus-visible {
  color: var(--text);
  background: rgba(255, 215, 0, 0.08);
}

.bottom-dock a.is-active {
  color: var(--accent);
}
