:root {
  --bg: #050914;
  --bg-soft: #0b1324;
  --panel: rgba(11, 19, 36, 0.88);
  --panel-strong: rgba(15, 26, 48, 0.96);
  --line: rgba(130, 168, 220, 0.24);
  --gold: #f6c85f;
  --gold-soft: #ffe7a8;
  --cyan: #71e4ff;
  --blue: #7aa5ff;
  --red: #ff6b6b;
  --ivory: #f4efe3;
  --muted: #aab8cd;
  --ink: #050914;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
  --font-display: "Cinzel Decorative", "Cinzel", Georgia, serif;
  --font-ui: "Cinzel", Georgia, serif;
  --font-body: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 8%, rgba(113, 228, 255, 0.14), transparent 26rem),
    radial-gradient(circle at 86% 0%, rgba(246, 200, 95, 0.16), transparent 24rem),
    linear-gradient(180deg, #050914 0%, #0b1324 44%, #050914 100%);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.68;
}

a {
  color: var(--gold-soft);
  text-decoration: none;
}

a:hover {
  color: #ffffff;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 9, 20, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: clamp(17px, 2.2vw, 24px);
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(246, 200, 95, 0.62);
  border-radius: 8px;
  background: linear-gradient(145deg, #182a4d, #070d1d);
  box-shadow: inset 0 0 18px rgba(246, 200, 95, 0.16), 0 0 26px rgba(113, 228, 255, 0.14);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links a {
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #e6edf7;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: rgba(246, 200, 95, 0.46);
  background: rgba(246, 200, 95, 0.1);
  color: #ffffff;
}

.official-link {
  border-color: rgba(113, 228, 255, 0.36) !important;
  background: rgba(113, 228, 255, 0.1) !important;
  color: #d9f7ff !important;
}

.hero {
  position: relative;
  min-height: min(780px, 92vh);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(84px, 12vh, 132px) clamp(18px, 5vw, 72px) 74px;
  background:
    linear-gradient(180deg, rgba(5, 9, 20, 0.18), rgba(5, 9, 20, 0.92)),
    radial-gradient(circle at 50% 40%, rgba(246, 200, 95, 0.14), transparent 26rem),
    url("https://img.youtube.com/vi/K3e9m9c5AJs/maxresdefault.jpg");
  background-position: center;
  background-size: cover;
}

.hero--compact {
  min-height: 460px;
  padding-top: 92px;
  padding-bottom: 54px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(100deg, rgba(5, 9, 20, 0.92) 0%, rgba(5, 9, 20, 0.62) 48%, rgba(5, 9, 20, 0.88) 100%),
    repeating-linear-gradient(90deg, rgba(113, 228, 255, 0.08) 0 1px, transparent 1px 96px);
  pointer-events: none;
}

.embers {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.ember {
  position: absolute;
  border-radius: 999px;
  background: #fff4c8;
  box-shadow: 0 0 12px rgba(246, 200, 95, 0.86);
  opacity: 0.65;
  animation: ember-rise 10s linear infinite;
}

@keyframes ember-rise {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 0.05;
  }
  20% {
    opacity: 0.76;
  }
  to {
    transform: translate3d(30px, -78vh, 0);
    opacity: 0;
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-title,
.title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 8.5vw, 118px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
  color: var(--gold);
  text-shadow: 0 0 34px rgba(246, 200, 95, 0.32), 0 4px 0 rgba(34, 20, 4, 0.74);
}

.hero--compact .hero-title {
  font-size: clamp(34px, 6vw, 76px);
}

.title .ch,
.hero-title .ch {
  display: inline-block;
  color: transparent;
  background: linear-gradient(180deg, #fff8da 0%, #ffe69e 36%, #f6c85f 70%, #9d6b21 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.title .word,
.hero-title .word {
  display: inline-block;
  white-space: nowrap;
}

.hero-lede {
  max-width: 900px;
  margin: 24px auto 0;
  color: #f4efe3;
  font-size: clamp(21px, 2.8vw, 29px);
  line-height: 1.42;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid rgba(246, 200, 95, 0.62);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(246, 200, 95, 0.98), rgba(205, 137, 42, 0.98));
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(246, 200, 95, 0.22);
}

.button--ghost {
  background: rgba(8, 15, 31, 0.76);
  color: var(--gold-soft);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(130, 168, 220, 0.18);
  box-shadow: var(--shadow);
}

.stat {
  min-height: 108px;
  padding: 19px;
  background: rgba(5, 9, 20, 0.64);
}

.stat b {
  display: block;
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
}

.page-shell,
.video-section,
.media-band {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.page-shell {
  padding: 56px 0 74px;
}

.section {
  padding: 38px 0;
  border-top: 1px solid rgba(130, 168, 220, 0.18);
}

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

.section h2,
.section h3 {
  font-family: var(--font-ui);
  line-height: 1.16;
}

.section h2 {
  margin: 0 0 18px;
  color: var(--gold-soft);
  font-size: clamp(29px, 4vw, 46px);
}

.section h3 {
  margin: 28px 0 10px;
  color: var(--cyan);
  font-size: clamp(22px, 3vw, 30px);
}

.section p,
.section li {
  color: #e7dece;
}

.toc,
.callout,
.card,
.faq-list details,
.map-panel,
.quote-panel,
.timeline,
.feature-list,
.hero-media,
.source-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(15, 26, 48, 0.94), rgba(7, 13, 29, 0.92));
  box-shadow: var(--shadow);
}

.toc {
  padding: 22px;
}

.toc strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(246, 200, 95, 0.08);
  color: var(--gold-soft);
  font-family: var(--font-ui);
  font-size: 13px;
}

.video-section {
  padding: 48px 0 20px;
}

.video-section-title {
  margin: 0 0 24px;
  color: var(--gold-soft);
  font-family: var(--font-ui);
  font-size: clamp(24px, 3.5vw, 36px);
  text-align: center;
}

.video-grid,
.card-grid,
.source-grid,
.edition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

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

.video-card,
.card,
.source-card {
  display: block;
  overflow: hidden;
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.video-card {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(15, 26, 48, 0.94), rgba(7, 13, 29, 0.92));
  box-shadow: var(--shadow);
}

.video-card:hover,
.card:hover,
.source-card:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 200, 95, 0.52);
}

.video-card h3 {
  margin: 0;
  padding: 14px 16px 4px;
  color: var(--ivory);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.video-card p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 17px;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #071022;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-card:hover .video-play {
  background: rgba(246, 200, 95, 0.92);
  color: var(--ink);
  transform: translate(-50%, -50%) scale(1.08);
}

.card h3,
.source-card h3 {
  margin-top: 0;
}

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(113, 228, 255, 0.12);
  color: var(--cyan);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 26px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 13, 29, 0.82);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 18px;
}

caption {
  padding: 14px 16px;
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

th,
td {
  padding: 14px 16px;
  border-top: 1px solid rgba(130, 168, 220, 0.18);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--gold-soft);
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.callout,
.quote-panel {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--cyan);
}

.quote-panel {
  border-left-color: var(--gold);
}

.hero-media {
  margin: 34px auto 0;
  max-width: 820px;
  overflow: hidden;
}

.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  margin: 26px 0;
}

.feature-list div {
  padding: 16px;
  border: 1px solid rgba(113, 228, 255, 0.18);
  border-radius: 8px;
  background: rgba(5, 9, 20, 0.46);
}

.feature-list strong {
  display: block;
  color: var(--gold-soft);
  font-family: var(--font-ui);
  font-size: 15px;
}

.timeline {
  display: grid;
  gap: 14px;
  padding: 20px;
  margin: 26px 0;
}

.timeline div {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 18px;
  padding: 14px;
  border: 1px solid rgba(130, 168, 220, 0.16);
  border-radius: 8px;
  background: rgba(5, 9, 20, 0.42);
}

.timeline strong {
  color: var(--cyan);
  font-family: var(--font-ui);
  font-size: 15px;
}

.map-panel {
  min-height: 360px;
  margin: 28px 0;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(5, 9, 20, 0.72), rgba(5, 9, 20, 0.92)),
    radial-gradient(circle at 25% 28%, rgba(113, 228, 255, 0.18), transparent 18rem),
    radial-gradient(circle at 76% 20%, rgba(246, 200, 95, 0.14), transparent 16rem);
}

.map-pins {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.pin {
  padding: 14px;
  border: 1px solid rgba(113, 228, 255, 0.28);
  border-radius: 8px;
  background: rgba(5, 9, 20, 0.58);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--gold-soft);
  font-family: var(--font-ui);
  font-weight: 700;
}

.footer {
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #030712;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1040px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .stat-strip,
  .card-grid,
  .video-grid,
  .source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  body {
    font-size: 18px;
  }

  .site-header {
    position: relative;
    width: 100%;
    padding-inline: 20px;
  }

  .brand {
    white-space: normal;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero-title,
  .title {
    font-size: clamp(30px, 9vw, 40px);
  }

  .hero-lede {
    font-size: 21px;
  }

  .stat-strip,
  .card-grid,
  .video-grid,
  .source-grid,
  .edition-grid,
  .feature-list,
  .map-pins {
    grid-template-columns: 1fr;
  }

  .timeline div {
    grid-template-columns: 1fr;
  }

  .page-shell,
  .video-section,
  .media-band {
    width: min(100% - 28px, 1180px);
  }

  .page-shell {
    padding-top: 34px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    font-size: 11px;
  }

  .hero-actions,
  .inline-actions {
    align-items: center;
    flex-direction: column;
  }

  .button {
    width: min(100%, 320px);
  }
}
