/* Virtual Skyblazers — responsive + motion
   Dark navy / black + demo-team red, white, gold */

:root {
  --bg: #05080f;
  --bg-elev: #0b1220;
  --bg-alt: #0a101c;
  --navy: #0d1b2a;
  --text: #e8edf5;
  --muted: #8b9bb4;
  --red: #e63946;
  --red-hot: #ff4d5a;
  --gold: #f5d76e;
  --gold-dim: #c9a227;
  --white: #f4f6fa;
  --line: rgba(245, 215, 110, 0.18);
  --radius: 12px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --max: 1140px;
  --narrow: 720px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--white);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #111;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(100% - 2rem, var(--narrow));
}

/* Ambient sky */
.sky-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.sky-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.45), transparent),
    radial-gradient(1px 1px at 28% 62%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1.5px 1.5px at 48% 22%, rgba(245,215,110,0.4), transparent),
    radial-gradient(1px 1px at 72% 44%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 88% 16%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 64% 78%, rgba(255,255,255,0.25), transparent),
    radial-gradient(1px 1px at 18% 88%, rgba(245,215,110,0.3), transparent),
    radial-gradient(1px 1px at 92% 72%, rgba(255,255,255,0.35), transparent);
  animation: star-twinkle 8s ease-in-out infinite alternate;
  opacity: 0.55;
}

.sky-haze {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  will-change: transform;
}

.sky-haze-a {
  width: 55vw;
  height: 55vw;
  max-width: 640px;
  max-height: 640px;
  top: -10%;
  right: -8%;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.14), transparent 70%);
  animation: haze-drift 22s var(--ease-soft) infinite alternate;
}

.sky-haze-b {
  width: 45vw;
  height: 45vw;
  max-width: 520px;
  max-height: 520px;
  bottom: 10%;
  left: -12%;
  background: radial-gradient(circle, rgba(245, 215, 110, 0.1), transparent 70%);
  animation: haze-drift 28s var(--ease-soft) infinite alternate-reverse;
}

@keyframes star-twinkle {
  from { opacity: 0.4; }
  to { opacity: 0.7; }
}

@keyframes haze-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3%, 4%, 0) scale(1.08); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 8, 15, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease-soft), border-color 0.35s, box-shadow 0.35s;
}

.site-header.is-scrolled {
  background: rgba(5, 8, 15, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s, transform 0.25s var(--ease-out);
}

.logo:hover {
  color: var(--gold);
  transform: translateY(-1px);
}

.logo-mark {
  width: 1.35rem;
  height: 1.35rem;
  background: linear-gradient(135deg, var(--red), var(--gold));
  clip-path: polygon(50% 0%, 100% 100%, 50% 80%, 0% 100%);
  flex-shrink: 0;
  animation: mark-pulse 3.5s ease-in-out infinite;
}

.logo-img {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(245, 215, 110, 0.35);
  box-shadow: 0 0 12px rgba(230, 57, 70, 0.25);
  flex-shrink: 0;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.hero-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.mission-quote {
  margin: 0 0 1.25rem;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--gold);
  background: rgba(245, 215, 110, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
}

@keyframes mark-pulse {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); transform: scale(1); }
  50% { filter: drop-shadow(0 0 8px rgba(230, 57, 70, 0.55)); transform: scale(1.06); }
}

.logo-text {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.site-nav a:not(.btn):hover {
  color: var(--white);
}

.site-nav a:not(.btn):hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin-inline: auto;
  background: var(--white);
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), #b91c28);
  color: var(--white);
  box-shadow: 0 0 0 1px rgba(230, 57, 70, 0.4), 0 8px 24px rgba(230, 57, 70, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.22) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease-out);
}

.btn-primary:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--red-hot), var(--red));
  box-shadow: 0 0 0 1px rgba(230, 57, 70, 0.5), 0 12px 32px rgba(230, 57, 70, 0.35);
}

.btn-primary:hover::before {
  transform: translateX(120%);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245, 215, 110, 0.06);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1.05rem;
}

.site-nav .btn {
  color: var(--white);
}

.site-nav .btn:hover {
  color: var(--white);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: 0s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 5rem 0 4rem;
  min-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #05080f;
  border-bottom: 1px solid var(--line);
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: 8%;
  top: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.22), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  will-change: transform;
  animation: glow-breathe 6s ease-in-out infinite;
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 215, 110, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 215, 110, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  pointer-events: none;
  opacity: 0.5;
  animation: grid-drift 40s linear infinite;
}

@keyframes grid-drift {
  from { background-position: 0 0; }
  to { background-position: 64px 64px; }
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
  align-items: end;
}

.hero-inner {
  max-width: 36rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.eyebrow-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.5);
  animation: live-dot 2s ease-out infinite;
}

@keyframes live-dot {
  0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(230, 57, 70, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(3rem, 10vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--white);
}

.hero h1 .accent {
  color: var(--red);
  display: inline-block;
  animation: accent-shimmer 5s ease-in-out infinite;
  background: linear-gradient(90deg, var(--red), var(--red-hot), var(--gold-dim), var(--red));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes accent-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.tagline {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-formation {
  position: relative;
  width: min(340px, 100%);
  margin-inline: auto;
  opacity: 0.97;
  pointer-events: none;
}

.formation-orbit {
  position: absolute;
  inset: 8% 12%;
  border: 1px dashed rgba(245, 215, 110, 0.2);
  border-radius: 50%;
  animation: orbit-spin 28s linear infinite;
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

.formation-svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35));
}

.formation-links {
  animation: dash-flow 4s linear infinite;
}

@keyframes dash-flow {
  to { stroke-dashoffset: -40; }
}

.jet {
  transform-box: fill-box;
  transform-origin: center;
  animation: jet-hold 5s ease-in-out infinite;
}

.jet-lead { animation-delay: 0s; }
.jet-left { animation-delay: 0.35s; filter: drop-shadow(0 0 10px rgba(230, 57, 70, 0.55)); }
.jet-right { animation-delay: 0.7s; }
.jet-slot { animation-delay: 1.05s; }

@keyframes jet-hold {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.contrail {
  opacity: 0.35;
  stroke-dasharray: 2 6;
  animation: contrail-fade 2.4s ease-in-out infinite;
}

@keyframes contrail-fade {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.55; }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(245, 215, 110, 0.35);
  border-radius: 12px;
  opacity: 0.7;
}

.hero-scroll-hint span {
  display: block;
  width: 3px;
  height: 8px;
  margin: 6px auto 0;
  border-radius: 2px;
  background: var(--gold);
  animation: scroll-chip 1.8s var(--ease-soft) infinite;
}

@keyframes scroll-chip {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.section-alt {
  background: rgba(10, 16, 28, 0.72);
  border-block: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--white);
}

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

.section p strong {
  color: var(--text);
  font-weight: 600;
}

.section-lead {
  max-width: 40rem;
  margin-bottom: 2rem !important;
}

.pillars {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillars li {
  padding: 1.25rem 1.25rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--red);
  transition: transform 0.35s var(--ease-out), border-color 0.3s, box-shadow 0.35s;
}

.pillars li:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 215, 110, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.pillars strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pillars span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Lineup */
.lineup-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 800px) {
  .lineup-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
  }
}

.diamond-panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: box-shadow 0.4s, border-color 0.4s;
}

.diamond-panel:hover {
  border-color: rgba(245, 215, 110, 0.3);
  box-shadow: 0 0 40px rgba(230, 57, 70, 0.08);
}

.diamond-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.slot-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
}

.slot-node {
  min-width: 8.5rem;
  padding: 0.85rem 1rem;
  text-align: center;
  background: rgba(13, 27, 42, 0.8);
  border: 1px dashed rgba(139, 155, 180, 0.35);
  border-radius: 10px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.slot-node:hover {
  transform: translateY(-2px);
}

.slot-node.filled {
  border-style: solid;
  border-color: var(--red);
  background: linear-gradient(160deg, rgba(230, 57, 70, 0.18), rgba(13, 27, 42, 0.9));
  box-shadow: 0 0 24px rgba(230, 57, 70, 0.15);
}

.pulse-slot {
  animation: slot-glow 3s ease-in-out infinite;
}

@keyframes slot-glow {
  0%, 100% { box-shadow: 0 0 18px rgba(230, 57, 70, 0.12); }
  50% { box-shadow: 0 0 32px rgba(230, 57, 70, 0.35); }
}

.slot-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.slot-name {
  display: block;
  font-weight: 700;
  color: var(--white);
  font-size: 1.05rem;
}

.slot-name.muted,
.muted {
  color: var(--muted);
  font-weight: 500;
}

.slot-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--gold);
  margin-top: 0.15rem;
}

.roster {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.roster li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  transition: background 0.25s, padding-left 0.25s var(--ease-out);
}

.roster li:last-child {
  border-bottom: none;
}

.roster li:hover {
  background: rgba(245, 215, 110, 0.04);
  padding-left: 1.4rem;
}

.roster-active {
  background: linear-gradient(90deg, rgba(230, 57, 70, 0.12), var(--bg-elev) 60%);
  border-left: 3px solid var(--red);
}

.roster-active:hover {
  background: linear-gradient(90deg, rgba(230, 57, 70, 0.18), var(--bg-elev) 60%);
}

.roster-role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  min-width: 6.5rem;
}

.roster-who {
  text-align: right;
  color: var(--text);
}

.roster-who em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Coming soon */
.coming-soon {
  padding: 2.25rem 1.5rem;
  border: 1px dashed rgba(245, 215, 110, 0.35);
  border-radius: var(--radius);
  background: rgba(245, 215, 110, 0.04);
  text-align: center;
  transition: border-color 0.3s, background 0.3s;
}

.coming-soon:hover {
  border-color: rgba(245, 215, 110, 0.55);
  background: rgba(245, 215, 110, 0.07);
}

.coming-badge {
  display: inline-block;
  margin: 0 0 0.75rem !important;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(245, 215, 110, 0.15);
  color: var(--gold) !important;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: badge-breathe 2.8s ease-in-out infinite;
}

@keyframes badge-breathe {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.04); opacity: 1; }
}

/* CTA band */
.cta-band {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(230, 57, 70, 0.2), transparent 55%),
    var(--navy);
  border-top: 1px solid var(--line);
  text-align: center;
}

.cta-glow {
  position: absolute;
  width: 480px;
  height: 200px;
  left: 50%;
  bottom: -40%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(230, 57, 70, 0.35), transparent 70%);
  filter: blur(30px);
  animation: cta-pulse 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cta-pulse {
  0%, 100% { opacity: 0.55; transform: translateX(-50%) scaleX(1); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1.15); }
}

.cta-inner {
  position: relative;
}

.cta-inner h2 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--white);
}

.cta-inner p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1.25rem;
  color: var(--white);
}

.footer-note,
.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-note {
  margin-bottom: 0.75rem;
  max-width: 36rem;
  margin-inline: auto;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1.25rem;
    background: rgba(5, 8, 15, 0.98);
    border-bottom: 1px solid var(--line);
    animation: nav-drop 0.3s var(--ease-out);
  }

  .site-nav.is-open {
    display: flex;
  }

  @keyframes nav-drop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .site-nav a {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:not(.btn)::after {
    display: none;
  }

  .site-nav .btn {
    margin-top: 0.75rem;
    border-bottom: none;
    justify-content: center;
  }

  .hero {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
    min-height: 0;
  }

  .hero-formation {
    width: min(260px, 70vw);
    margin-top: 0.5rem;
  }

  .hero-inner {
    max-width: none;
  }

  .hero-scroll-hint {
    display: none;
  }
}



/* Shows */
.show-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .show-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.show-card {
  margin: 0;
  padding: 1.35rem 1.4rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--red);
  transition: transform 0.35s var(--ease-out), border-color 0.3s, box-shadow 0.35s;
}

.show-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 215, 110, 0.35);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

.show-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}

.show-meta time {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.show-badge {
  display: inline-block;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: rgba(139, 155, 180, 0.15);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.show-badge-recent {
  background: rgba(230, 57, 70, 0.18);
  color: var(--gold);
}

.show-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 600;
}

.show-card p {
  margin: 0 !important;
  font-size: 0.95rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
  }
}

@media (min-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-elev);
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  transition: transform 0.35s var(--ease-out), border-color 0.3s, box-shadow 0.35s;
}

.gallery-item.featured {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

@media (max-width: 639px) {
  .gallery-item.featured {
    grid-column: span 2;
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.gallery-item:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 215, 110, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.gallery-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.75rem;
  background: linear-gradient(transparent, rgba(5, 8, 15, 0.88));
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}

/* Watch / video */
.video-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.video-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.35s, transform 0.35s var(--ease-out);
}

.video-card:hover {
  border-color: rgba(245, 215, 110, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card h3 {
  margin: 0.9rem 1rem 0.25rem;
  font-size: 1.05rem;
  color: var(--white);
}

.video-card p {
  margin: 0 1rem 1rem !important;
  font-size: 0.9rem;
}

.watch-more {
  margin-top: 1.5rem !important;
  text-align: center;
  font-size: 0.95rem;
}

/* Social */
.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .social-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.social-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.2rem 1.25rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}

.social-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 215, 110, 0.4);
  color: var(--white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.social-card strong {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.social-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--gold);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 8, 15, 0.92);
  backdrop-filter: blur(8px);
  padding: 1rem;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-img {
  max-width: min(96vw, 1200px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(245, 215, 110, 0.25);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 1px solid var(--line);
  background: rgba(11, 18, 32, 0.85);
  color: var(--white);
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(13, 27, 42, 0.95);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.75rem;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.25rem;
}

.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }

@media (max-width: 600px) {
  .lightbox-prev { left: 0.25rem; }
  .lightbox-next { right: 0.25rem; }
}

body.lightbox-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .pillars li:hover,
  .slot-node:hover,
  .roster li:hover,
  .logo:hover {
    transform: none;
  }
  .gallery-item:hover,
  .gallery-item:hover img,
  .show-card:hover,
  .video-card:hover,
  .social-card:hover {
    transform: none;
  }


  .sky-stars,
  .sky-haze-a,
  .sky-haze-b,
  .logo-mark,
  .hero-glow,
  .hero-grid,
  .formation-orbit,
  .formation-links,
  .jet,
  .contrail,
  .eyebrow-pulse,
  .hero-scroll-hint span,
  .pulse-slot,
  .coming-badge,
  .cta-glow,
  .hero h1 .accent,
  .btn-primary::before {
    animation: none !important;
  }
}


/* Full-bleed cinematic YouTube banner (embed only — not hosted) */
.hero-cinematic {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #05080f;
  pointer-events: none;
}
.hero-cinematic-scale {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh; /* 16:9 cover by height */
  min-width: 100%;
  height: 56.25vw; /* 16:9 cover by width */
  min-height: 100%;
  transform: translate(-50%, -50%) scale(1.18); /* crop YouTube chrome */
}
.hero-cinematic-scale iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}
.hero-cinematic-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.88) 0%, rgba(5, 8, 15, 0.55) 42%, rgba(5, 8, 15, 0.35) 100%),
    linear-gradient(180deg, rgba(5, 8, 15, 0.55) 0%, transparent 35%, rgba(5, 8, 15, 0.75) 100%);
}
.hero--cinematic .wrap.hero-layout {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 6vw, 4.5rem);
  box-sizing: border-box;
}
.hero--cinematic .hero-inner {
  max-width: 38rem;
  margin-left: 0;
  padding-left: clamp(0.25rem, 1.5vw, 1rem);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}
@media (min-width: 1100px) {
  .hero--cinematic .wrap.hero-layout {
    padding-left: clamp(2rem, 8vw, 6rem);
  }
}
.hero--cinematic .hero-logo,
.hero--cinematic .logo-img {
  background: transparent;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45));
}
.hero-video-caption {
  position: relative;
  z-index: 2;
  margin: 1.25rem auto 0;
  padding: 0 1.25rem;
  font-size: 0.85rem;
  color: rgba(232, 232, 232, 0.75);
  text-align: center;
}
.hero-video-caption a {
  color: #f5d76e;
  text-decoration: none;
}
.hero-video-caption a:hover {
  text-decoration: underline;
}
@media (prefers-reduced-motion: reduce) {
  .hero-cinematic-scale {
    display: none;
  }
  .hero--cinematic {
    background:
      radial-gradient(ellipse 80% 60% at 70% 20%, rgba(230, 57, 70, 0.12), transparent 55%),
      linear-gradient(180deg, var(--navy) 0%, var(--bg) 100%);
  }
}

.show-link {
  color: inherit;
  text-decoration: none;
}
.show-link:hover {
  color: #f5d76e;
  text-decoration: underline;
}
.show-watch {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f5d76e;
  text-decoration: none;
}
.show-watch:hover {
  text-decoration: underline;
}


.slot-row-support {
  justify-content: space-between;
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  width: 100%;
  max-width: 22rem;
}
.slot-solo,
.slot-narrator {
  min-width: 7.5rem;
  border-color: rgba(245, 215, 110, 0.55) !important;
  background: linear-gradient(160deg, rgba(245, 215, 110, 0.12), rgba(13, 27, 42, 0.9)) !important;
  box-shadow: 0 0 20px rgba(245, 215, 110, 0.12) !important;
}

/* —— Heritage page —— */
.nav-active {
  color: var(--gold) !important;
}
.nav-active::after {
  transform: scaleX(1) !important;
}

.hero--page {
  min-height: min(52vh, 480px);
  padding: 4rem 0 3rem;
  background:
    radial-gradient(ellipse 70% 60% at 70% 20%, rgba(230, 57, 70, 0.14), transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--bg) 100%);
}

.page-toc {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 1rem 0 0.25rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.page-toc a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.page-toc a:hover {
  color: var(--gold);
}

.h2-sub {
  display: block;
  font-family: var(--font);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-top: 0.35rem;
  font-weight: 600;
}

.article-prose {
  max-width: 820px;
}
.article-prose .section-lead {
  max-width: 48rem;
}
.article-prose p {
  margin: 0 0 1rem;
}
.article-prose h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 600;
}
.article-prose h4 {
  margin: 1.15rem 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.article-prose .wrap,
.wrap.article-prose {
  width: min(100% - 2rem, 820px);
}
.article-prose sup a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  margin-left: 0.1em;
}
.article-prose sup a:hover {
  text-decoration: underline;
}

.disclaimer {
  margin-top: 1.75rem !important;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(245, 215, 110, 0.28);
  border-radius: var(--radius);
  background: rgba(245, 215, 110, 0.05);
  color: var(--text) !important;
  font-size: 0.95rem;
}

.note-aside {
  font-size: 0.9rem !important;
  color: var(--muted) !important;
  border-left: 2px solid rgba(139, 155, 180, 0.35);
  padding-left: 0.85rem;
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-left: 2px solid rgba(245, 215, 110, 0.28);
}
.timeline > li {
  position: relative;
  padding: 0 0 2rem 1.5rem;
}
.timeline > li:last-child {
  padding-bottom: 0.25rem;
}
.timeline > li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
}
.timeline time {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.timeline-compact > li {
  padding-bottom: 1.5rem;
}

/* Aircraft cards */
.aircraft-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .aircraft-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
  }
}
.aircraft-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.35s;
}
.aircraft-card:hover {
  border-color: rgba(245, 215, 110, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.aircraft-figure {
  margin: 0;
}
.aircraft-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.aircraft-figure figcaption {
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--line);
}
.aircraft-body {
  padding: 1.25rem 1.35rem 1.5rem;
}
.aircraft-eyebrow {
  margin: 0 0 0.25rem !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold) !important;
}
.aircraft-body h3 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--white);
}
.aircraft-body h4 {
  margin: 1.1rem 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-hot);
}
.aircraft-body p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}
.aircraft-body p:last-child {
  margin-bottom: 0;
}

/* Roster year cards */
.roster-years {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .roster-years {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: start;
  }
}
.roster-year-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.roster-year-card header {
  padding: 1rem 1.2rem 0.75rem;
  border-bottom: 1px solid var(--line);
}
.roster-year-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.roster-src {
  margin: 0.35rem 0 0 !important;
  font-size: 0.75rem !important;
  color: var(--muted) !important;
}
.roster-year-current {
  border-color: rgba(230, 57, 70, 0.45);
  box-shadow: 0 0 32px rgba(230, 57, 70, 0.1);
}
.badge-current {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(230, 57, 70, 0.2);
  color: var(--gold);
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: middle;
}
.roster-year-card .roster {
  border: none;
  border-radius: 0;
}
.former-block {
  margin-top: 2.5rem;
  padding: 1.5rem 1.5rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.former-block h3 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  color: var(--white);
}
.former-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
}
.former-list li {
  margin-bottom: 0.45rem;
}
.former-list strong {
  color: var(--gold);
}

/* Citations */
.cite-heading {
  margin: 2rem 0 0.75rem;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.04em;
}
.cite-list {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.cite-list li {
  margin-bottom: 0.55rem;
  padding-left: 0.25rem;
}
.cite-list a {
  word-break: break-word;
}
.cite-list code {
  font-size: 0.8em;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
.gap-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.gap-list li {
  margin-bottom: 0.45rem;
}

/* Heritage teaser on homepage */
.heritage-teaser {
  display: grid;
  gap: 1.25rem;
}
.heritage-teaser .btn {
  justify-self: start;
}
@media (min-width: 700px) {
  .heritage-teaser {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aircraft-card:hover {
    transform: none;
  }
}
