:root {
  --bg: #09111f;
  --bg-deep: #0f1d32;
  --ink: #fbf4ea;
  --muted: rgba(251, 244, 234, 0.72);
  --line: rgba(255, 255, 255, 0.1);
  --panel: rgba(8, 16, 29, 0.66);
  --dispatcher: #1d8f77;
  --master: #c56243;
  --sand: #f3e5d0;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #07111f 0%, #0a1628 44%, #112341 100%);
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  inset: auto;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
}

.ambient-left {
  top: -12rem;
  left: -10rem;
  background: rgba(29, 143, 119, 0.24);
}

.ambient-right {
  right: -12rem;
  top: 12rem;
  background: rgba(197, 98, 67, 0.22);
}

.poster,
.content,
.footer {
  position: relative;
  z-index: 1;
}

.poster {
  min-height: 100svh;
  padding: 28px 28px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at top left, rgba(29, 143, 119, 0.14), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(197, 98, 67, 0.14), transparent 30%);
}

.poster-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 46%, transparent 92%);
  opacity: 0.25;
}

.masthead,
.poster-grid,
.section,
.footer {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-bottom: 32px;
}

.brand-mark {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-note {
  display: inline-block;
  margin-top: 8px;
  color: rgba(251, 244, 234, 0.6);
  font-size: 0.95rem;
}

.masthead a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.poster-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: end;
  padding-bottom: 10px;
}

.poster-copy {
  max-width: 780px;
  padding: 32px 0 18px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #9be3d1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.lead {
  margin: 22px 0 0;
  max-width: 48rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.78;
}

.poster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.poster-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.poster-cta.primary {
  color: #05111d;
  background: linear-gradient(90deg, #f5d3aa, #ffffff);
  box-shadow: 0 18px 42px rgba(245, 211, 170, 0.18);
}

.poster-cta.secondary {
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.poster-cta:hover {
  transform: translateY(-2px);
}

.poster-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.poster-meta span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(251, 244, 234, 0.84);
  background: rgba(255, 255, 255, 0.04);
}

.signal-board {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(180deg, rgba(8, 15, 28, 0.92) 0%, rgba(9, 18, 34, 0.84) 100%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.board-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.board-head p,
.track-label strong {
  margin: 0;
}

.board-head span,
.track-label span {
  color: rgba(251, 244, 234, 0.6);
}

.board-track {
  padding: 18px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.board-track:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.board-track.dispatcher .track-label strong {
  color: #9be3d1;
}

.board-track.master .track-label strong {
  color: #f3b39d;
}

.track-label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.board-track ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: rgba(251, 244, 234, 0.8);
  line-height: 1.6;
}

.content {
  padding: 48px 28px 72px;
}

.section {
  display: grid;
  gap: 22px;
  margin-top: 28px;
  padding: 30px 0;
}

.section:first-child {
  margin-top: 0;
}

.section-head {
  max-width: 58rem;
}

.section-head.compact {
  max-width: 40rem;
}

.section-head h2,
.final-call h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
}

.section-head p:last-child,
.final-call p {
  color: var(--muted);
  line-height: 1.72;
}

.manifesto-grid,
.tracks-grid {
  display: grid;
  gap: 18px;
}

.manifesto-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.manifesto-grid article,
.track-card,
.depth-list article,
.final-call {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 16, 29, 0.52);
  box-shadow: var(--shadow);
}

.manifesto-grid article {
  padding: 22px;
}

.manifesto-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.02rem;
}

.manifesto-grid p,
.track-card p,
.depth-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.tracks-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.track-card {
  padding: 28px;
  display: grid;
  gap: 16px;
}

.track-card.dispatcher {
  background:
    linear-gradient(180deg, rgba(11, 31, 31, 0.72) 0%, rgba(8, 16, 29, 0.56) 100%);
}

.track-card.master {
  background:
    linear-gradient(180deg, rgba(37, 22, 18, 0.72) 0%, rgba(8, 16, 29, 0.56) 100%);
}

.track-index {
  margin: 0;
  color: rgba(251, 244, 234, 0.55);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.track-card h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.track-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.track-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(251, 244, 234, 0.84);
}

.track-card a {
  width: fit-content;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  padding: 12px 16px;
  border-radius: 999px;
}

.track-card.dispatcher a {
  background: linear-gradient(90deg, #0f6b59, #20a286);
}

.track-card.master a {
  background: linear-gradient(90deg, #9d4b34, #ce6f50);
}

.depth-list {
  display: grid;
  gap: 16px;
}

.depth-list article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
}

.depth-list span {
  color: rgba(251, 244, 234, 0.42);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
}

.depth-list h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.final-call {
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: end;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer {
  padding: 0 28px 34px;
  color: rgba(251, 244, 234, 0.56);
}

.footer p {
  margin: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

body.ready .poster-copy,
body.ready .signal-board {
  animation: rise 0.6s ease both;
}

body.ready .signal-board {
  animation-delay: 0.08s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .poster-grid,
  .manifesto-grid,
  .tracks-grid,
  .final-call {
    grid-template-columns: 1fr;
  }

  .final-call {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 780px) {
  .content,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  h1 {
    max-width: 100%;
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

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

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