/* =========================================================
   Aviation On The Radar
   Palette pulled from the logo: navy #121f50, sky #559dc5
   ========================================================= */

:root {
  --navy-950: #060c24;
  --navy-900: #0b1538;
  --navy-800: #121f50;
  --navy-700: #1a2b68;
  --navy-600: #24397f;
  --sky-500: #559dc5;
  --sky-400: #6fb0d4;
  --sky-300: #9ccbe5;
  --sky-100: #e3f1f9;
  --white: #ffffff;
  --text: #e8eef9;
  --text-muted: #a7b6d3;
  --live: #ff3b4e;
  --yt: #ff0033;

  --line: rgba(156, 203, 229, 0.16);
  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.07);

  --font-display: "Lilita One", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--base-size, 17px);
  line-height: 1.6;
  color: var(--text);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--sky-300); }
a:hover { color: var(--white); }

h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.1; color: var(--white); }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--text-muted); }
.small { font-size: 0.9rem; }
.center { text-align: center; margin-top: 40px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--navy-900); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font: 600 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sky-500); color: var(--navy-950); }
.btn-primary:hover { background: var(--sky-300); color: var(--navy-950); }
.btn-ghost { border-color: var(--sky-500); color: var(--white); }
.btn-ghost:hover { background: rgba(85, 157, 197, 0.15); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy-800); }
.btn-light:hover { background: var(--sky-100); color: var(--navy-800); }
.btn-yt { background: var(--yt); color: var(--white); }
.btn-yt:hover { background: #e0002d; color: var(--white); }
.btn-sm { padding: 10px 16px; font-size: 0.92rem; }
.btn-sm svg { width: 18px; height: 18px; }
.btn-block { width: 100%; margin-top: 8px; }

.dot-live {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--live); box-shadow: 0 0 0 0 rgba(255, 59, 78, 0.6);
  animation: pulse 1.8s infinite; flex: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 78, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 59, 78, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 78, 0); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(11, 21, 56, 0.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 44px; height: 44px; }
.brand-text { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.02em; text-transform: uppercase; }
.brand-text em { font-style: normal; color: var(--sky-400); font-size: 0.85em; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) {
  color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.97rem; position: relative;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--sky-500); transform: scaleX(0); transition: transform 0.2s ease;
}
.site-nav a:not(.btn):hover::after,
.site-nav a.is-current::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.2s, 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); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 78% 45%, rgba(85, 157, 197, 0.28), transparent 70%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
}
.hero::before {
  /* faint grid, like a scope overlay */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
  opacity: 0.6;
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px;
  padding-top: 72px; padding-bottom: 72px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font: 700 0.8rem/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sky-300); background: rgba(85, 157, 197, 0.12); border: 1px solid var(--line);
  padding: 9px 14px; border-radius: 999px;
}
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5rem); margin-bottom: 20px; text-transform: uppercase; }
.hero h1 .hl { color: var(--sky-400); display: block; }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 36em; }
.lead strong { color: var(--white); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 44px; }

.stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: 8px 36px; margin: 0;
  justify-content: start;
}
.stats div { border-left: 2px solid var(--sky-500); padding-left: 14px; }
.stats dt { font: 500 0.72rem/1.3 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.stats dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--white); }

/* Radar scope */
.scope {
  position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; justify-self: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 31, 80, 0.85) 0%, rgba(6, 12, 36, 0.95) 70%);
  box-shadow: 0 0 0 1px var(--line), 0 0 80px rgba(85, 157, 197, 0.25), inset 0 0 60px rgba(85, 157, 197, 0.15);
}
.scope-rings {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 24%, var(--line) 24.3% 24.6%, transparent 24.9% 49%, var(--line) 49.3% 49.6%, transparent 49.9% 74%, var(--line) 74.3% 74.6%, transparent 74.9%),
    linear-gradient(var(--line), var(--line)) center / 1px 100% no-repeat,
    linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat;
}
.scope-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(111, 176, 212, 0.55), rgba(111, 176, 212, 0.12) 40deg, transparent 90deg);
  animation: sweep var(--sweep-speed, 6s) linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.scope-logo {
  position: absolute; inset: 16%; width: 68%; height: 68%;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-8px); } }
.blip {
  position: absolute; left: var(--x); top: var(--y);
  font: 700 0.68rem/1 var(--font-mono); color: var(--sky-300); letter-spacing: 0.05em;
  padding-left: 14px; opacity: 0; animation: blip 6s infinite; animation-delay: var(--d);
}
.blip::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%; background: var(--sky-300); box-shadow: 0 0 10px var(--sky-400);
}
@keyframes blip { 0%, 100% { opacity: 0; } 8% { opacity: 1; } 45% { opacity: 0.6; } 70% { opacity: 0; } }

/* Ticker */
.ticker {
  position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--navy-800); overflow: hidden; padding: 14px 0;
}
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span {
  font: 700 0.8rem/1 var(--font-mono); letter-spacing: 0.14em; color: var(--sky-300);
  padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 28px;
}
.ticker span::after { content: attr(data-sep); color: var(--sky-500); letter-spacing: 0; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p:not(.kicker) { color: var(--text-muted); font-size: 1.08rem; }
.section-head.flush { margin-bottom: 0; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row h2 { margin-bottom: 0; }
.sub-head { margin-top: 80px; }
.kicker {
  font: 700 0.78rem/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sky-400); margin-bottom: 14px;
}

/* ---------- Live ---------- */
.live-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 28px; align-items: start; }

.player {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--navy-950); border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.facade {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer;
  background: var(--navy-950); color: var(--white); text-align: left;
}
.facade img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease, opacity 0.3s; opacity: 0.85; }
.facade:hover img { transform: scale(1.03); opacity: 1; }
.facade::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 12, 36, 0.92));
}
.play-btn {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sky-500); box-shadow: 0 0 0 10px rgba(85, 157, 197, 0.25);
  transition: transform 0.2s ease, background-color 0.2s;
}
.play-btn svg { width: 34px; height: 34px; fill: var(--navy-950); margin-left: 5px; }
.facade:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); background: var(--sky-300); }
.facade-meta { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 2; }
.facade-meta .tag-row { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.facade-meta strong { display: block; font-size: 1.25rem; line-height: 1.25; }
.facade-meta span.date { color: var(--text-muted); font-size: 0.92rem; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 0.7rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 6px; background: rgba(85, 157, 197, 0.2); color: var(--sky-100);
  backdrop-filter: blur(6px);
}
.pill-live { background: var(--live); color: var(--white); }
.pill-live .dot-live { width: 7px; height: 7px; background: var(--white); animation: none; }

.live-info {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.live-info h3 { font-size: 0.8rem; font-family: var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky-400); margin-bottom: 16px; }
.feature-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list svg { width: 40px; height: 40px; padding: 9px; flex: none; border-radius: 10px; background: rgba(85, 157, 197, 0.15); fill: var(--sky-300); }
.feature-list strong { display: block; color: var(--white); font-size: 1rem; }
.feature-list span { color: var(--text-muted); font-size: 0.92rem; line-height: 1.45; display: block; }

.airports { display: grid; gap: 10px; margin-bottom: 12px; }
.airport {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  border-radius: var(--radius-sm); background: rgba(6, 12, 36, 0.5); border: 1px solid var(--line);
}
.icao { font: 700 1rem/1 var(--font-mono); color: var(--sky-300); letter-spacing: 0.06em; background: var(--navy-700); padding: 7px 9px; border-radius: 6px; }

/* ---------- Shows ---------- */
.show-feature {
  display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center;
  background: linear-gradient(120deg, rgba(85, 157, 197, 0.22), rgba(85, 157, 197, 0.04));
  border: 1px solid var(--line); border-radius: 24px; padding: 44px; margin-bottom: 28px;
}
.show-feature-art { position: relative; width: 220px; }
.show-feature-art img { width: 220px; height: 220px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35); }
.show-feature-art img.round { border-radius: 50%; }
.show-feature.no-art { grid-template-columns: 1fr; }
.badge-live {
  position: absolute; right: 6px; bottom: 18px;
  font: 700 0.85rem/1 var(--font-mono); letter-spacing: 0.12em;
  background: var(--live); color: var(--white); padding: 8px 12px; border-radius: 8px;
  box-shadow: 0 8px 20px rgba(255, 59, 78, 0.4);
}
.show-feature h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3rem); text-transform: uppercase; }
.show-feature p:not(.kicker) { color: var(--text-muted); max-width: 40em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; }
.tags li { font-size: 0.85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(6, 12, 36, 0.45); border: 1px solid var(--line); color: var(--sky-100); }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-grid.count-1 { grid-template-columns: 1fr; }
.cards-grid.count-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid.count-4 { grid-template-columns: repeat(4, 1fr); }
.card-image { margin: -28px -28px 20px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.support-card .card-image { margin: -32px -32px 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: background-color 0.2s, transform 0.2s, border-color 0.2s;
}
.card:hover { background: var(--card-hover); transform: translateY(-4px); border-color: rgba(156, 203, 229, 0.35); }
.card p { color: var(--text-muted); font-size: 0.97rem; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--sky-500); color: var(--navy-950);
}
.card-icon svg { width: 28px; height: 28px; fill: var(--navy-950); }
.card-icon svg [fill="none"] { fill: none; }

.link-arrow { font-weight: 600; text-decoration: none; color: var(--sky-300); display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform 0.2s; }
.link-arrow:hover::after,
.support-card:hover .link-arrow::after { transform: translateX(4px); }

/* ---------- Videos ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: 600 0.9rem/1 var(--font-body); padding: 10px 16px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--text); border: 1px solid var(--line);
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.chip:hover { border-color: var(--sky-500); }
.chip.is-active { background: var(--sky-500); color: var(--navy-950); border-color: var(--sky-500); }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card {
  display: flex; flex-direction: column; text-align: left; padding: 0; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  color: inherit; font: inherit; transition: transform 0.2s, background-color 0.2s, border-color 0.2s;
}
.video-card:hover { transform: translateY(-4px); background: var(--card-hover); border-color: rgba(156, 203, 229, 0.35); }
.video-card[hidden] { display: none; }
.thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-950); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.video-card:hover .thumb img { transform: scale(1.05); }
.thumb .pill { position: absolute; left: 12px; top: 12px; }
.thumb-play {
  position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(6, 12, 36, 0.75); opacity: 0; transform: scale(0.8);
  transition: opacity 0.2s, transform 0.2s;
}
.thumb-play svg { width: 18px; height: 18px; fill: var(--white); margin-left: 3px; }
.video-card:hover .thumb-play { opacity: 1; transform: scale(1); }
.video-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.video-title { font-weight: 700; color: var(--white); line-height: 1.35; font-size: 1.02rem; }
.video-sub { color: var(--sky-300); font-size: 0.85rem; font-weight: 500; }
.video-meta { color: var(--text-muted); font-size: 0.84rem; margin-top: auto; padding-top: 6px; font-family: var(--font-mono); }
.empty-note { color: var(--text-muted); text-align: center; padding: 32px 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.about-grid p:not(.kicker) { color: var(--text-muted); font-size: 1.05rem; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.mini-card.wide { grid-column: 1 / -1; }
.mini-num { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; color: var(--white); }
.mini-label { font: 500 0.75rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.social-row a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: rgba(85, 157, 197, 0.14); color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.92rem;
  transition: background-color 0.15s;
}
.social-row a:hover { background: var(--sky-500); color: var(--navy-950); }
.social-row svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Support ---------- */
.support-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.support-grid.count-1 { grid-template-columns: 1fr; max-width: 520px; }
.support-grid.count-2 { grid-template-columns: 1fr 1fr; }
.support-grid.count-4 { grid-template-columns: repeat(4, 1fr); }
.support-card {
  display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius); text-decoration: none; color: var(--text);
  background: var(--card); border: 1px solid var(--line); transition: transform 0.2s, background-color 0.2s, border-color 0.2s;
}
.support-card:hover { transform: translateY(-4px); background: var(--card-hover); border-color: rgba(156, 203, 229, 0.35); color: var(--text); }
.support-card p { color: var(--text-muted); flex: 1; }
.support-card.merch { background: linear-gradient(140deg, var(--sky-500), #3f86b0); border-color: transparent; color: var(--navy-950); }
.support-card.merch h3,
.support-card.merch p,
.support-card.merch .link-arrow { color: var(--navy-950); }
.support-card.merch:hover { background: linear-gradient(140deg, var(--sky-400), var(--sky-500)); }
.support-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: rgba(85, 157, 197, 0.16); }
.support-icon svg { width: 26px; height: 26px; fill: var(--sky-300); }
.support-card.merch .support-icon { background: var(--navy-800); }
.support-card.merch .support-icon svg { fill: var(--white); }

/* ---------- Contact ---------- */
.contact { padding: 0 0 96px; }
.contact-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.12), transparent 50%),
    var(--navy-700);
  border: 1px solid var(--line); border-radius: 24px; padding: 44px 48px;
}
.contact h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 18em; }
.contact p { color: var(--text-muted); margin: 0; }
.contact .btn { white-space: normal; text-align: center; word-break: break-all; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--line); padding-top: 64px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; padding-bottom: 48px; }
.footer-brand img { width: 64px; height: 64px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); max-width: 26em; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-links h4 { font: 700 0.75rem/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky-400); margin-bottom: 16px; }
.footer-links a { display: block; color: var(--text); text-decoration: none; padding: 5px 0; font-size: 0.95rem; }
.footer-links a:hover { color: var(--sky-300); }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 32px;
  font-size: 0.85rem; color: var(--text-muted);
}
.footer-base p { margin: 0; }
.footer-base a { color: var(--text-muted); text-decoration: none; }
.footer-base p a { color: var(--sky-300); }
.footer-base a:hover { color: var(--white); }

/* ---------- Video modal ---------- */
.video-modal {
  width: min(1100px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; background: transparent; color: var(--text);
}
.video-modal::backdrop { background: rgba(3, 6, 20, 0.85); backdrop-filter: blur(4px); }
.video-modal-inner { position: relative; }
.modal-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 14px; }
.modal-title { margin: 0 4px; font-weight: 600; color: var(--white); }
.modal-close {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, 0.12); color: var(--white); font: 600 0.95rem/1 var(--font-body); cursor: pointer;
}
.modal-close span { font-size: 1.4rem; line-height: 0.6; }
.modal-close:hover { background: rgba(255, 255, 255, 0.24); }

/* ---------- CMS section options ---------- */
.section.space-compact { padding: 56px 0; }
.section.space-spacious { padding: 132px 0; }
.hero.space-compact .hero-inner { padding-top: 40px; padding-bottom: 40px; }
.hero.space-spacious .hero-inner { padding-top: 120px; padding-bottom: 120px; }
.contact.space-compact { padding-bottom: 56px; }
.contact.space-spacious { padding: 40px 0 132px; }
.section-dark { background: var(--navy-950); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-inner.no-scope { grid-template-columns: 1fr; max-width: 900px; }
.site-header.not-sticky { position: relative; }
.no-upper .hero h1, .no-upper .show-feature h3 { text-transform: none; }
.center-head { margin-left: auto; margin-right: auto; text-align: center; }

/* Rich text from the editor */
.rich > :last-child { margin-bottom: 0; }
.rich ul, .rich ol { padding-left: 1.3em; margin: 0 0 1em; }
.rich li { margin-bottom: 0.35em; }
.rich h2, .rich h3, .rich h4 { margin-top: 1.2em; }
.rich blockquote { margin: 0 0 1em; padding: 4px 0 4px 18px; border-left: 3px solid var(--sky-500); color: var(--text); font-style: italic; }
.rich mark { background: rgba(85, 157, 197, 0.3); color: var(--white); padding: 0 3px; border-radius: 3px; }
.rich .hl { color: var(--sky-400); }
.lead.rich p { margin-bottom: 0.6em; }
.section-intro { color: var(--text-muted); font-size: 1.08rem; }
.about-grid .rich { color: var(--text-muted); font-size: 1.05rem; }
.about-side { display: grid; gap: 16px; }
.about-image { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }

/* Text & image */
.content-block { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.content-block.img-left { grid-template-columns: 0.9fr 1.1fr; }
.content-block.img-none, .content-block.img-top, .content-block.img-bottom { grid-template-columns: 1fr; max-width: 860px; gap: 32px; }
.content-block.align-center { text-align: center; margin-left: auto; margin-right: auto; }
.content-block.align-center .section-head { margin-left: auto; margin-right: auto; }
.content-block.align-center .hero-ctas { justify-content: center; }
.content-block .hero-ctas { margin: 28px 0 0; }
.content-text .rich { color: var(--text-muted); font-size: 1.05rem; }
.content-image { margin: 0; }
.content-image img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-item { margin: 0; }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: var(--navy-950); border-radius: var(--radius); overflow: hidden; aspect-ratio: var(--aspect, 4/3); }
.gallery.natural .gallery-open { aspect-ratio: auto; }
.gallery-open img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-open:hover img { transform: scale(1.04); }
.gallery-item figcaption { color: var(--text-muted); font-size: 0.9rem; padding: 8px 4px 0; }
.lightbox { max-width: none; max-height: none; width: 100vw; height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(3, 6, 20, 0.94); color: var(--text); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(3, 6, 20, 0.9); }
.lightbox figure { margin: 0; max-width: calc(100vw - 140px); text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { margin-top: 12px; color: var(--text); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.12); color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-nav:hover { background: rgba(255, 255, 255, 0.25); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-close { position: absolute; top: 20px; right: 20px; }

/* Single video + custom HTML */
.embed-wrap { margin: 0 auto; }
.embed-wrap.width-medium { max-width: 860px; }
.embed-wrap.width-narrow { max-width: 640px; }
.custom-html { overflow-x: auto; }
.player-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-muted); }

/* Footer column counts */
.footer-links.cols-1 { grid-template-columns: 1fr; }
.footer-links.cols-2 { grid-template-columns: repeat(2, 1fr); }
.footer-links.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Preview bar (only shown to signed-in editors) */
.preview-bar {
  position: sticky; top: 0; z-index: 60; display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 10px 16px; background: #f5b83d; color: #1b1300; font-weight: 600; font-size: 0.92rem; text-align: center;
}
.preview-bar a { color: #1b1300; text-decoration: underline; }
.preview-bar ~ .site-header { top: 42px; }

/* Maintenance page */
.maintenance { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 40px 20px; }
.maintenance img { width: 140px; height: 140px; margin-bottom: 12px; }
.maintenance h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); text-transform: uppercase; }
.maintenance .rich { color: var(--text-muted); max-width: 34em; margin-bottom: 16px; }

/* Animations switched off in the CMS */
.no-anim *, .no-anim *::before, .no-anim *::after { animation: none !important; transition: none !important; }
.no-anim .reveal { opacity: 1; transform: none; }
.no-anim .blip { opacity: 0.8; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; padding-top: 48px; }
  .scope { max-width: 380px; order: -1; }
  .live-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid.count-3, .cards-grid.count-4 { grid-template-columns: 1fr 1fr; }
  .cards-grid.count-3 .card:last-child { grid-column: 1 / -1; }
  .support-grid.count-3, .support-grid.count-4 { grid-template-columns: 1fr 1fr; }
  .support-grid.count-3 .support-card:first-child { grid-column: 1 / -1; }
  .content-block, .content-block.img-left { grid-template-columns: 1fr; gap: 32px; }
  .content-block.img-right .content-image { order: -1; }
  .gallery.cols-3, .gallery.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-links.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, auto); gap: 20px 36px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px;
    background: var(--navy-900); border-bottom: 1px solid var(--line);
    transform: translateY(-110%); visibility: hidden; transition: transform 0.25s ease, visibility 0.25s;
    z-index: -1;
  }
  .site-nav.is-open { transform: none; visibility: visible; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 18px; }
  .show-feature { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
  .show-feature-art, .show-feature-art img { width: 160px; height: 160px; }
  .badge-live { right: -4px; bottom: 10px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .brand-text { font-size: 1.05rem; }
  .brand img { width: 38px; height: 38px; }
  .video-grid, .cards-grid.count-2, .cards-grid.count-3, .cards-grid.count-4,
  .support-grid.count-2, .support-grid.count-3, .support-grid.count-4 { grid-template-columns: 1fr; }
  .gallery.cols-2, .gallery.cols-3, .gallery.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lightbox figure { max-width: calc(100vw - 32px); }
  .lb-nav { top: auto; bottom: 20px; transform: none; }
  .preview-bar ~ .site-header { top: 0; }
  .preview-bar { position: relative; }
  .hero-ctas .btn { width: 100%; }
  .stats dd { font-size: 1.7rem; }
  .scope { max-width: 240px; }
  .hero-inner { gap: 32px; padding-top: 32px; }
  .play-btn { width: 56px; height: 56px; top: 38%; }
  .play-btn svg { width: 22px; height: 22px; }
  .facade-meta { left: 14px; right: 14px; bottom: 12px; }
  .facade-meta .tag-row { display: none; }
  .facade-meta strong { font-size: 0.98rem; }
  .facade-meta span.date { font-size: 0.8rem; }
  .live-info { padding: 22px; }
  .contact-inner { padding: 32px 22px; }
  .contact .btn { width: 100%; font-size: 0.92rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .about-cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .blip { opacity: 0.8; }
}
