:root {
  --bg: #0c0a14;
  --panel: #16122a;
  --panel-raised: #211c38;
  --line: #2e2850;
  --ink: #faf8ff;
  --ink-muted: #b8b0d4;
  --ink-faint: #7a7298;
  --rose: #ff6b9d;
  --teal: #3dd9c4;
  --violet: #a855f7;
  --amber: #ffb84d;
  --dock-h: 72px;
  --radius: 18px;
  --font-display: "SF Pro Rounded", "Avenir Next", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(168, 85, 247, 0.18), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(61, 217, 196, 0.14), transparent 40%),
    radial-gradient(circle at 70% 88%, rgba(255, 107, 157, 0.12), transparent 38%),
    linear-gradient(180deg, #1a0f2e 0%, var(--bg) 45%);
  z-index: -1;
}

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

a {
  color: var(--teal);
}

.page {
  min-height: 100vh;
  padding-bottom: calc(var(--dock-h) + 24px);
}

.content {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 32px 20px 0;
}

/* Hero — split_asymmetric */
.hero--split {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 24px 0 56px;
}

.hero__kicker {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__tagline {
  margin: 0 0 24px;
  max-width: 34ch;
  font-size: 1.05rem;
  color: var(--ink-muted);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--violet));
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero__visual {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero__visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero__pride-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--rose), var(--amber), #b8ff5c, var(--teal), #5cb8ff, var(--violet));
}

/* Sections — alternating_lr intros */
.section {
  padding: 48px 0;
}

.section__label {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
}

.section h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
}

.section__intro p:last-child {
  margin: 0;
  color: var(--ink-muted);
  max-width: 52ch;
}

.section--intro-right .section__intro {
  margin-bottom: 28px;
  text-align: left;
}

.section--intro-left .section__intro {
  margin-bottom: 28px;
  text-align: right;
  margin-left: auto;
}

.section--intro-left .section__intro p:last-child {
  margin-left: auto;
}

.section__intro--center {
  text-align: center;
  margin-bottom: 24px;
}

.section__intro--center p:last-child {
  margin-inline: auto;
}

/* Timeline — vertical_timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 28px;
  border-left: 2px solid var(--line);
}

.timeline__item {
  position: relative;
  padding: 0 0 32px 24px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__node {
  position: absolute;
  left: -35px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--teal));
  box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.15);
}

.timeline__body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.timeline__body p {
  margin: 0;
  color: var(--ink-muted);
}

/* Film strip — film_strip */
.film-strip {
  overflow-x: auto;
  padding: 8px 0 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.film-strip__track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 4px 2px 8px;
}

.film-strip__frame {
  margin: 0;
  flex: 0 0 auto;
  width: min(260px, 72vw);
  padding: 10px 10px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.film-strip__frame img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* Accordion — accordion legal */
.accordion {
  display: grid;
  gap: 12px;
}

.accordion__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.accordion__item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.accordion__item summary::-webkit-details-marker {
  display: none;
}

.accordion__item summary::after {
  content: "+";
  float: right;
  color: var(--teal);
  font-size: 1.2rem;
  line-height: 1;
}

.accordion__item[open] summary::after {
  content: "−";
}

.accordion__panel {
  padding: 0 20px 20px;
  color: var(--ink-muted);
  border-top: 1px solid var(--line);
}

.accordion__panel p {
  margin: 0 0 14px;
}

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

/* Bottom dock — bottom_dock */
.bottom-dock {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  gap: 4px;
  width: min(520px, calc(100% - 24px));
  padding: 8px;
  border-radius: 999px;
  background: rgba(22, 18, 42, 0.92);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.bottom-dock__link {
  flex: 1 1 0;
  min-width: 0;
  padding: 10px 6px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bottom-dock__link:hover,
.bottom-dock__link:focus-visible {
  color: var(--ink);
  background: rgba(255, 107, 157, 0.12);
  outline: none;
}

@media (min-width: 860px) {
  .hero--split {
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
  }

  .section--intro-left {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    align-items: start;
  }

  .section--intro-left .section__intro {
    order: 2;
    margin-bottom: 0;
  }

  .section--intro-left .film-strip {
    order: 1;
  }

  .gallery-band {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
    align-items: center;
  }

  .gallery-band .section__intro {
    margin-bottom: 0;
  }
}

@media (max-width: 720px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section--intro-left .section__intro {
    text-align: left;
  }

  .section--intro-left .section__intro p:last-child {
    margin-left: 0;
  }
}
