:root {
  --bg: #1a2b24;
  --bg-soft: #243d32;
  --accent: #ffd700;
  --accent2: #ff1493;
  --text: #f8f5ef;
  --muted: #9cb8a8;
  --dock-h: 4.25rem;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(ellipse 120% 80% at 50% -10%, #2d5a45 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: var(--accent2);
}

.wrap {
  width: min(1080px, 100% - 2.5rem);
  margin-inline: auto;
}

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

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

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.hero-copy .hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: var(--accent);
  margin: 0 0 1rem;
  font-weight: 600;
}

.hero-copy p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36ch;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 215, 0, 0.25);
}

.hero-visual .gallery-float {
  position: absolute;
  width: 28%;
  border-radius: 16px;
  border: 2px solid rgba(255, 20, 147, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.hero-visual .gallery-float.one {
  bottom: -8%;
  left: -4%;
  transform: rotate(-6deg);
}

.hero-visual .gallery-float.two {
  top: 6%;
  right: -5%;
  transform: rotate(8deg);
}

/* Section intros — left_aligned */
.section-intro {
  text-align: left;
  margin-bottom: 1.75rem;
}

.section-intro h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

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

/* Features — vertical_timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.25rem;
  border-left: 2px solid rgba(255, 215, 0, 0.35);
}

.timeline li {
  position: relative;
  padding: 0 0 2rem 1.5rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -1.56rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent2);
  box-shadow: 0 0 0 4px rgba(255, 20, 147, 0.25);
}

.timeline h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--accent);
}

.timeline p {
  margin: 0;
  color: var(--text);
  opacity: 0.92;
}

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

.film-strip figure {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  margin: 0;
}

.film-strip img {
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.film-strip figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Legal — single_column_dropcap */
.legal-block {
  background: var(--bg-soft);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 215, 0, 0.12);
}

.legal-block h2 {
  margin-top: 0;
}

.legal-block p.dropcap::first-letter {
  float: left;
  font-size: 3.2rem;
  line-height: 0.85;
  padding-right: 0.12em;
  color: var(--accent);
  font-weight: 700;
}

.legal-block p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.site-footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 2rem 0 0.5rem;
}

/* Nav — bottom_dock */
.bottom-dock {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0.75rem;
  z-index: 40;
  display: flex;
  gap: 0.35rem;
  padding: 0.45rem 0.55rem;
  background: rgba(26, 43, 36, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  max-width: calc(100% - 1.25rem);
  overflow-x: auto;
}

.bottom-dock a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.bottom-dock a:hover,
.bottom-dock a:focus-visible {
  background: rgba(255, 215, 0, 0.15);
  color: var(--accent);
  outline: none;
}
