:root {
  --navy-950: #07162d;
  --navy-900: #0c2a57;
  --navy-800: #123a73;
  --gold-500: #c6972f;
  --gold-300: #e7c06c;
  --ink-900: #101522;
  --ink-700: #2f3a4f;
  --paper: #f5f7fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow-soft: 0 16px 50px rgba(9, 27, 53, 0.14);
  --wrap: min(1120px, 92vw);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Public Sans", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--ink-900);
  background: radial-gradient(circle at 82% -5%, #dce5f6 0%, transparent 45%),
    radial-gradient(circle at -10% 20%, #f9eaca 0%, transparent 35%),
    var(--paper);
  line-height: 1.58;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--navy-900);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
}

.skip-link:focus {
  left: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(245, 247, 251, 0.9);
  border-bottom: 1px solid rgba(12, 42, 87, 0.08);
  transition: box-shadow 160ms ease, background-color 160ms ease;
}

.site-header.is-elevated {
  box-shadow: 0 6px 22px rgba(7, 22, 45, 0.12);
  background: rgba(245, 247, 251, 0.97);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.brand-block {
  display: grid;
  gap: 0.12rem;
}

.brand-kicker {
  margin: 0;
  font-family: "Barlow Condensed", "Franklin Gothic Medium", sans-serif;
  font-weight: 800;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  letter-spacing: 0.04em;
  color: var(--navy-900);
}

.header-tagline {
  margin: 0;
  color: var(--ink-700);
  font-size: clamp(0.78rem, 1.6vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.6rem, 7vw, 5.2rem) 0 2.4rem;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(0.5px);
  pointer-events: none;
}

.hero-bg-shape-a {
  width: 38rem;
  height: 38rem;
  right: -15rem;
  top: -16rem;
  background: linear-gradient(135deg, rgba(12, 42, 87, 0.2), rgba(198, 151, 47, 0.24));
}

.hero-bg-shape-b {
  width: 28rem;
  height: 28rem;
  left: -13rem;
  bottom: -13rem;
  background: linear-gradient(135deg, rgba(18, 58, 115, 0.18), rgba(198, 151, 47, 0.15));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(1.25rem, 3.8vw, 2.7rem);
  align-items: start;
}

.eyebrow {
  margin: 0;
  color: var(--gold-500);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
}

h1,
h2 {
  margin: 0;
  font-family: "Barlow Condensed", "Franklin Gothic Medium", sans-serif;
  line-height: 1.05;
  letter-spacing: 0.015em;
}

h1 {
  margin-top: 0.5rem;
  color: var(--navy-950);
  font-size: clamp(2.5rem, 7vw, 5rem);
}

.lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 70ch;
  color: var(--ink-700);
}

.history-hero {
  padding-bottom: clamp(2.2rem, 5vw, 3.2rem);
}

.notice {
  margin-top: 1rem;
  max-width: 76ch;
  background: rgba(12, 42, 87, 0.08);
  border: 1px solid rgba(12, 42, 87, 0.15);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
}

.notice p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink-700);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  padding: 0.66rem 1.1rem;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease,
    color 160ms ease;
}

.btn:focus-visible {
  outline: 3px solid var(--gold-300);
  outline-offset: 2px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(100deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(12, 42, 87, 0.25);
}

.btn-secondary,
.btn-ghost {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-900);
}

.signal-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(18, 58, 115, 0.08);
}

.signal-card h2 {
  color: var(--navy-900);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
}

.section {
  padding: clamp(2rem, 4vw, 3.2rem) 0;
}

#objectives,
#support,
#join {
  scroll-margin-top: 92px;
}

.objectives,
.support {
  background: var(--white);
  border-top: 1px solid rgba(12, 42, 87, 0.08);
  border-bottom: 1px solid rgba(12, 42, 87, 0.08);
}

.support {
  background: #fbfcff;
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  color: var(--navy-900);
  margin-bottom: 1rem;
}

.board-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 255, 1));
}

.question-board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.9rem;
}

.question-board-card {
  grid-column: span 4;
  min-height: 9rem;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  color: var(--white);
  background: linear-gradient(145deg, rgba(12, 42, 87, 0.98), rgba(18, 58, 115, 0.94));
  box-shadow: 0 12px 30px rgba(7, 22, 45, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform-origin: center;
  animation: board-float 8s ease-in-out infinite;
}

.question-board-card:nth-child(2n) {
  animation-duration: 9.5s;
}

.question-board-card:nth-child(3n) {
  animation-duration: 11s;
}

.question-board-card:nth-child(4n) {
  animation-duration: 12.5s;
}

.question-board-card--wide {
  grid-column: span 8;
}

.question-board-card--tall {
  grid-column: span 4;
  min-height: 11.5rem;
}

.question-board-card--accent {
  background: linear-gradient(145deg, var(--gold-500), #a76f11);
  color: #0b1730;
}

.question-board-card:nth-child(12n + 1) {
  background: linear-gradient(145deg, #0c2a57, #123a73);
  color: var(--white);
}

.question-board-card:nth-child(12n + 2) {
  background: linear-gradient(145deg, #e7c06c, #c6972f);
  color: #0b1730;
}

.question-board-card:nth-child(12n + 3) {
  background: linear-gradient(145deg, #0f766e, #115e59);
  color: var(--white);
}

.question-board-card:nth-child(12n + 4) {
  background: linear-gradient(145deg, #f97316, #c2410c);
  color: #101522;
}

.question-board-card:nth-child(12n + 5) {
  background: linear-gradient(145deg, #6d28d9, #4c1d95);
  color: var(--white);
}

.question-board-card:nth-child(12n + 6) {
  background: linear-gradient(145deg, #22c55e, #15803d);
  color: #08131f;
}

.question-board-card:nth-child(12n + 7) {
  background: linear-gradient(145deg, #1d4ed8, #1e3a8a);
  color: var(--white);
}

.question-board-card:nth-child(12n + 8) {
  background: linear-gradient(145deg, #38bdf8, #0ea5e9);
  color: #08131f;
}

.question-board-card:nth-child(12n + 9) {
  background: linear-gradient(145deg, #be123c, #881337);
  color: var(--white);
}

.question-board-card:nth-child(12n + 10) {
  background: linear-gradient(145deg, #fde68a, #f59e0b);
  color: #0b1730;
}

.question-board-card:nth-child(12n + 11) {
  background: linear-gradient(145deg, #475569, #1e293b);
  color: var(--white);
}

.question-board-card:nth-child(12n + 12) {
  background: linear-gradient(145deg, #84cc16, #4d7c0f);
  color: #08131f;
}

.question-board-card:nth-child(12n + 2) h3,
.question-board-card:nth-child(12n + 4) h3,
.question-board-card:nth-child(12n + 6) h3,
.question-board-card:nth-child(12n + 8) h3,
.question-board-card:nth-child(12n + 10) h3,
.question-board-card:nth-child(12n + 12) h3 {
  color: inherit;
}

.question-board-card h3 {
  margin: 0;
  font-family: "Barlow Condensed", "Franklin Gothic Medium", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.question-board-card:nth-child(odd) {
  animation-delay: -1.2s;
}

.question-board-card:nth-child(even) {
  animation-delay: -3.5s;
}

@keyframes board-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-6px) rotate(-0.4deg);
  }
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  font-weight: 500;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--navy-900), var(--gold-500));
  box-shadow: 0 2px 8px rgba(12, 42, 87, 0.28);
}

.cta {
  background: linear-gradient(140deg, var(--navy-950) 0%, var(--navy-900) 70%);
  color: var(--white);
}

.cta-kicker {
  margin: 0;
  color: var(--gold-300);
  font-weight: 800;
}

.cta h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  max-width: 20ch;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.15rem;
  align-items: start;
}

@media (min-width: 900px) {
  .join-embed {
    grid-column: 1 / -1;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding: 1rem 0;
  }

  .join-embed__iframe {
    min-height: 760px;
    border-radius: 0;
  }
}

.join-embed {
  display: grid;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 0.9rem;
}

.join-embed__mobile-link {
  display: none;
}

.join-embed__iframe {
  width: 100%;
  min-height: 620px;
  border: 0;
  border-radius: 12px;
  background: var(--white);
}

.join-form {
  display: grid;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 1rem;
}

label {
  font-size: 0.93rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  padding: 0.62rem 0.7rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink-900);
}

.form-help {
  margin: 0.1rem 0 0;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.84);
}

.site-footer {
  background: var(--navy-950);
  color: var(--white);
  padding: 1rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--gold-300);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.timeline li {
  background: var(--white);
  border: 1px solid rgba(12, 42, 87, 0.12);
  border-radius: var(--radius);
  padding: 0.8rem 0.95rem;
  box-shadow: var(--shadow-soft);
}

.timeline h3 {
  margin: 0;
  color: var(--navy-900);
  font-family: "Barlow Condensed", "Franklin Gothic Medium", sans-serif;
  letter-spacing: 0.015em;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
}

.timeline p {
  margin: 0.4rem 0 0;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.question-card {
  background: var(--white);
  border: 1px solid rgba(12, 42, 87, 0.1);
  border-radius: var(--radius);
  padding: 0.9rem;
}

.question-card h3 {
  margin: 0;
  color: var(--navy-900);
  font-family: "Barlow Condensed", "Franklin Gothic Medium", sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
}

.question-card p {
  margin: 0.45rem 0 0;
  color: var(--ink-700);
}

.history-card h3 {
  margin: 0;
  color: var(--navy-900);
  font-family: "Barlow Condensed", "Franklin Gothic Medium", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

.timeline-hero {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(231, 192, 108, 0.14));
}

.timeline-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(17rem, 0.7fr);
  gap: clamp(1rem, 4vw, 2.4rem);
  align-items: end;
}

.timeline-summary-card {
  display: grid;
  gap: 0.55rem;
  background: var(--navy-950);
  color: var(--white);
  border-radius: 22px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(231, 192, 108, 0.28);
}

.timeline-summary-card__label {
  width: fit-content;
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  background: var(--gold-300);
  color: var(--navy-950);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.timeline-page-section {
  background: linear-gradient(180deg, #f8faff 0%, #eef3fb 48%, #f8faff 100%);
  overflow: hidden;
}

.timeline-section-heading {
  margin-bottom: 1.35rem;
}

.event-timeline {
  position: relative;
  display: grid;
  gap: clamp(1.6rem, 4vw, 3rem);
  padding: 0.4rem 0 1rem;
}

.event-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 1rem;
  bottom: 1rem;
  width: 0.34rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--navy-900), var(--gold-500), #0f766e, #be123c, var(--navy-950));
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.76), 0 16px 40px rgba(7, 22, 45, 0.14);
  transform: translateX(-50%);
}

.timeline-phase {
  --phase-color: var(--navy-900);
  position: relative;
  display: grid;
  gap: 1rem;
}

.timeline-phase--navy { --phase-color: #0c2a57; }
.timeline-phase--gold { --phase-color: #c6972f; }
.timeline-phase--teal { --phase-color: #0f766e; }
.timeline-phase--orange { --phase-color: #f97316; }
.timeline-phase--red { --phase-color: #be123c; }
.timeline-phase--blue { --phase-color: #1d4ed8; }
.timeline-phase--purple { --phase-color: #6d28d9; }
.timeline-phase--slate { --phase-color: #475569; }
.timeline-phase--green { --phase-color: #15803d; }
.timeline-phase--black { --phase-color: #111827; }

.timeline-phase-marker {
  position: absolute;
  left: 50%;
  top: 0.35rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--phase-color);
  border: 0.28rem solid var(--phase-color);
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(7, 22, 45, 0.18);
  transform: translateX(-50%);
}

.timeline-phase-band {
  position: relative;
  z-index: 1;
  width: min(34rem, 44%);
  min-height: 5.5rem;
  padding: 0.9rem 1.1rem;
  background: var(--phase-color);
  color: var(--white);
  box-shadow: var(--shadow-soft);
  border-radius: 18px 0 0 18px;
  justify-self: end;
  margin-right: calc(50% + 2.4rem);
}

.timeline-phase-band::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1rem;
  border-top: 1rem solid transparent;
  border-bottom: 1rem solid transparent;
  border-left: 1rem solid var(--phase-color);
  transform: translateY(-50%);
}

.timeline-phase:nth-child(even) .timeline-phase-band {
  border-radius: 0 18px 18px 0;
  justify-self: start;
  margin-right: 0;
  margin-left: calc(50% + 2.4rem);
}

.timeline-phase:nth-child(even) .timeline-phase-band::after {
  right: auto;
  left: -1rem;
  border-left: 0;
  border-right: 1rem solid var(--phase-color);
}

.timeline-phase-band p,
.timeline-phase-band h2 {
  margin: 0;
}

.timeline-phase-band p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.timeline-phase-band h2 {
  margin-top: 0.2rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.timeline-event-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-event {
  --side-offset: calc(50% + 2.6rem);
  position: relative;
  display: grid;
  width: calc(50% - 2.6rem);
  margin-left: var(--side-offset);
}

.timeline-event:nth-child(even) {
  margin-left: 0;
}

.timeline-event::before {
  content: "";
  position: absolute;
  top: 1.3rem;
  right: calc(100% + 0.65rem);
  width: 1.85rem;
  height: 2px;
  background: rgba(12, 42, 87, 0.22);
}

.timeline-event:nth-child(even)::before {
  right: auto;
  left: calc(100% + 0.65rem);
}

.timeline-event::after {
  content: "";
  position: absolute;
  top: 0.8rem;
  right: calc(100% + 2rem);
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: var(--phase-color);
  border: 0.22rem solid var(--white);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--phase-color) 35%, transparent);
}

.timeline-event:nth-child(even)::after {
  right: auto;
  left: calc(100% + 2rem);
}

.timeline-event-card {
  position: relative;
  overflow: hidden;
  min-height: 8.5rem;
  padding: 1rem 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(12, 42, 87, 0.1);
  border-top: 0.32rem solid var(--phase-color);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(7, 22, 45, 0.12);
}

.timeline-event-card::before {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: -2.8rem;
  width: 6rem;
  height: 6rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--phase-color) 13%, transparent);
}

.timeline-event-date {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.4rem;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  background: color-mix(in srgb, var(--phase-color) 11%, var(--white));
  color: var(--phase-color);
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.timeline-event-card h3 {
  margin: 0;
  color: var(--navy-950);
  font-family: "Barlow Condensed", "Franklin Gothic Medium", sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1;
}

.timeline-event-card p {
  margin: 0.5rem 0 0;
  color: var(--ink-700);
  font-size: 0.94rem;
  line-height: 1.48;
}

.timeline-evidence {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.45rem;
}

.timeline-evidence img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(12, 42, 87, 0.16);
  box-shadow: 0 10px 24px rgba(7, 22, 45, 0.12);
}

.timeline-evidence-caption {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-700);
}

.timeline-doc-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 0.8rem;
  border: 0;
  border-radius: 999px;
  padding: 0.58rem 0.86rem;
  background: linear-gradient(100deg, var(--gold-500), var(--gold-300));
  color: var(--navy-950);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(198, 151, 47, 0.34);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.timeline-doc-button::before {
  content: "";
  width: 0.7rem;
  height: 0.9rem;
  margin-right: 0.45rem;
  border: 2px solid currentColor;
  border-radius: 2px;
  box-shadow: 0.18rem -0.18rem 0 -0.08rem currentColor;
}

.timeline-doc-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(198, 151, 47, 0.42);
}

.timeline-doc-button:focus-visible {
  outline: 3px solid var(--navy-900);
  outline-offset: 3px;
}

.document-dialog {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(7, 22, 45, 0.72);
  color: var(--ink-900);
  backdrop-filter: blur(6px);
}

.document-dialog[hidden] {
  display: none;
}

.document-dialog__panel {
  width: min(1100px, 94vw);
  max-height: 88vh;
  overflow: hidden;
  background: #f8faff;
  border: 1px solid rgba(231, 192, 108, 0.34);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(7, 22, 45, 0.42);
}

.document-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-900));
  color: var(--white);
}

.document-dialog__eyebrow {
  margin: 0;
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.document-dialog__header h2 {
  margin-top: 0.2rem;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.document-dialog__close {
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  padding: 0.48rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.document-dialog__close:focus-visible {
  outline: 3px solid var(--gold-300);
  outline-offset: 2px;
}

.document-dialog__body {
  display: grid;
  grid-template-columns: minmax(15rem, 0.34fr) minmax(0, 1fr);
  min-height: min(680px, 72vh);
}

.document-list {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: 1rem;
  background: var(--white);
  border-right: 1px solid rgba(12, 42, 87, 0.12);
}

.document-list__item {
  display: grid;
  gap: 0.22rem;
  border: 1px solid rgba(12, 42, 87, 0.12);
  border-left: 0.35rem solid var(--gold-500);
  border-radius: 14px;
  padding: 0.85rem;
  color: var(--ink-900);
  text-decoration: none;
  background: #fbfcff;
}

.document-list__item--pending {
  opacity: 0.82;
}

.document-list__item:hover,
.document-list__item:focus-visible {
  outline: 0;
  border-color: rgba(12, 42, 87, 0.28);
  box-shadow: 0 10px 24px rgba(7, 22, 45, 0.12);
}

.document-list__item.is-active {
  border-color: rgba(12, 42, 87, 0.28);
  box-shadow: 0 10px 24px rgba(7, 22, 45, 0.12);
}

.document-list__item span {
  color: var(--gold-500);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.document-list__item strong {
  font-family: "Barlow Condensed", "Franklin Gothic Medium", sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--navy-950);
}

.document-list__item small {
  color: var(--ink-700);
  font-size: 0.86rem;
  line-height: 1.35;
}

.document-preview {
  width: 100%;
  height: min(680px, 72vh);
  border: 0;
  background: #eef2f7;
}

.document-preview--image {
  display: grid;
  place-items: center;
  padding: 0.8rem;
}

.document-preview-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(12, 42, 87, 0.14);
  background: #ffffff;
}

.document-preview--empty {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.45rem;
  padding: 2rem;
  text-align: center;
}

.document-preview--empty h3 {
  margin: 0;
  color: var(--navy-950);
  font-family: "Barlow Condensed", "Franklin Gothic Medium", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.document-preview--empty p {
  max-width: 46ch;
  margin: 0;
  color: var(--ink-700);
}

.timeline-event--key .timeline-event-card {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-900));
  color: var(--white);
  border-color: rgba(231, 192, 108, 0.44);
  border-top-color: var(--gold-300);
}

.timeline-event--key .timeline-event-card h3,
.timeline-event--key .timeline-event-card p {
  color: var(--white);
}

.timeline-event--key .timeline-event-date {
  background: var(--gold-300);
  color: var(--navy-950);
}

@media (max-width: 900px) {
  .hero-grid,
  .cta-grid,
  .timeline-hero-grid {
    grid-template-columns: 1fr;
  }

  .event-timeline::before {
    left: 1.4rem;
  }

  .timeline-phase-marker {
    left: 1.4rem;
  }

  .timeline-phase-band,
  .timeline-phase:nth-child(even) .timeline-phase-band {
    width: auto;
    margin: 0 0 0 3.9rem;
    justify-self: stretch;
    border-radius: 18px;
  }

  .timeline-phase-band::after,
  .timeline-phase:nth-child(even) .timeline-phase-band::after {
    right: auto;
    left: -1rem;
    border-left: 0;
    border-right: 1rem solid var(--phase-color);
  }

  .timeline-event,
  .timeline-event:nth-child(even) {
    width: auto;
    margin-left: 3.9rem;
  }

  .timeline-event::before,
  .timeline-event:nth-child(even)::before {
    right: auto;
    left: -2.5rem;
    width: 2rem;
  }

  .timeline-event::after,
  .timeline-event:nth-child(even)::after {
    right: auto;
    left: -3.05rem;
  }

  .document-dialog__body {
    grid-template-columns: 1fr;
  }

  .document-list {
    border-right: 0;
    border-bottom: 1px solid rgba(12, 42, 87, 0.12);
  }

  .document-preview {
    height: min(580px, 62vh);
  }

  .question-board {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .question-board-card,
  .question-board-card--wide,
  .question-board-card--tall {
    grid-column: span 6;
    min-height: 8.5rem;
  }

  .signal-card {
    order: -1;
  }

  .join-embed__iframe {
    display: none;
  }

  .join-embed__mobile-link {
    display: inline-flex;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .btn {
    width: 100%;
  }

  .question-board {
    grid-template-columns: 1fr;
  }

  .question-board-card,
  .question-board-card--wide,
  .question-board-card--tall {
    grid-column: span 1;
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9rem 0;
  }

  .nav-actions {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .question-board-card {
    animation: none !important;
    transform: none !important;
  }
}
