/* ============================================================
   Antariksh Yatra — अंतरिक्ष यात्रा
   Shared design system
   Concept: "The departures hall for civilian spaceflight."
   Layout identity (distinct from sister sites):
     - sticky top navigation bar
     - asymmetric split heroes (not centered)
     - a "departures board" motif
   Palette: deep indigo base, violet + coral accents, teal data.
   ============================================================ */

:root {
  --bg:        #0a0713;
  --bg-2:      #0f0b1d;
  --surface:   #171227;
  --surface-2: #1e1836;
  --line:      #2c2547;
  --line-soft: #221c3a;

  --text:      #f4f1fb;
  --muted:     #a99fc7;
  --faint:     #6f6690;

  --violet:    #8b7bf0;
  --violet-2:  #b3a6ff;
  --coral:     #ff8a5b;
  --coral-2:   #ffb08a;
  --teal:      #35d3b6;
  --gold:      #ffcf6b;

  --grad-hero: radial-gradient(1200px 700px at 78% -10%, rgba(139,123,240,.35), transparent 60%),
               radial-gradient(900px 600px at 10% 110%, rgba(255,138,91,.18), transparent 55%);

  --sidebar-w: 248px;
  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 18px 50px -22px rgba(0,0,0,.75);
  --maxw:      1080px;

  --font: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

/* subtle starfield on the page background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.5px 1.5px at 35% 85%, rgba(179,166,255,.6), transparent),
    radial-gradient(1px 1px at 90% 55%, rgba(255,255,255,.4), transparent),
    radial-gradient(1px 1px at 12% 62%, rgba(255,255,255,.35), transparent);
  background-repeat: repeat;
  background-size: 520px 520px;
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================================================
   LAYOUT — top header + full-width main
   ============================================================ */
.page { position: relative; z-index: 1; }
.main { width: 100%; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 52px); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,7,19,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 52px);
  height: 74px; display: flex; align-items: center; gap: 26px;
}
.brand-h { display: flex; flex-direction: column; line-height: 1.05; margin-right: auto; }
.brand-h .deva {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: .2px;
  background: linear-gradient(90deg, var(--gold), var(--coral));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.brand-h .rom { font-size: .6rem; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav-h { display: flex; align-items: center; gap: 3px; }
.nav-h a {
  padding: 9px 15px; border-radius: 10px;
  color: var(--muted); font-weight: 500; font-size: .93rem;
  transition: color .18s, background .18s, box-shadow .18s;
}
.nav-h a:hover { color: var(--text); background: var(--surface); }
.nav-h a.active {
  color: var(--text);
  background: linear-gradient(180deg, rgba(139,123,240,.15), rgba(255,138,91,.06));
  box-shadow: inset 0 -2px 0 var(--coral);
}

.hamb {
  display: none;
  background: none; border: 1px solid var(--line); color: var(--text);
  border-radius: 9px; padding: 7px 11px; font-size: 1.15rem; cursor: pointer;
}

/* mobile dropdown nav (shown only when open on small screens) */
.nav-mobile { display: none; }
.scrim { display: none; }

/* ============================================================
   TYPO + SECTIONS
   ============================================================ */
section { position: relative; padding: clamp(48px, 7vw, 88px) 0; }
.section-line { border: none; border-top: 1px solid var(--line-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--coral-2); font-weight: 600; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--coral); display: inline-block; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.5px; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.2px; }
.lede { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 60ch; }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head p { color: var(--muted); margin-top: 12px; }

.gcoral { color: var(--coral-2); }
.gviolet { color: var(--violet-2); }
.gteal { color: var(--teal); }

/* ============================================================
   HERO — asymmetric split
   ============================================================ */
.hero { background: var(--grad-hero); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center;
  padding-top: clamp(40px, 6vw, 72px);
}
.hero h1 span { color: var(--coral-2); }
.hero .lede { margin: 22px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s;
}
.btn-primary { background: linear-gradient(90deg, var(--coral), var(--gold)); color: #2a1400; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(255,138,91,.6); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--violet); color: var(--violet-2); transform: translateY(-2px); }

/* orbit visual */
.orbit-wrap { position: relative; aspect-ratio: 1/1; display: grid; place-items: center; }
.orbit {
  position: absolute; border: 1px solid var(--line); border-radius: 50%;
  inset: 0; opacity: .7;
}
.orbit.o2 { inset: 13%; border-color: rgba(139,123,240,.45); }
.orbit.o3 { inset: 27%; border-color: rgba(255,138,91,.35); }
.planet {
  width: 44%; aspect-ratio: 1/1; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #b3a6ff, #6b5ce0 40%, #2a1f5c 78%, #150e33);
  box-shadow: inset -18px -14px 44px rgba(0,0,0,.6), 0 0 60px -8px rgba(139,123,240,.5);
  position: relative;
}
.planet::after {
  content: ""; position: absolute; inset: -14% -30%;
  border-radius: 50%; border: 6px solid rgba(255,207,107,.28);
  transform: rotate(-18deg); border-right-color: transparent; border-left-color: transparent;
}
.sat {
  position: absolute; width: 15px; height: 15px; border-radius: 50%;
  background: var(--coral); box-shadow: 0 0 16px 3px rgba(255,138,91,.7);
  top: 50%; left: 50%; margin: -7px;
  animation: spin 14s linear infinite;
  transform-origin: -1px -1px;
}
.sat.s2 { background: var(--teal); box-shadow: 0 0 16px 3px rgba(53,211,182,.6); animation-duration: 22s; }
@keyframes spin { to { transform: rotate(360deg) translateX(0); } }
.orbit-wrap .ring-spin { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.orbit-wrap .ring-spin.rev { animation: spin 60s linear infinite reverse; }
.dot-on-ring { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; }

/* ============================================================
   STAT ROW
   ============================================================ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 8px;
}
.stat {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 20px 18px;
}
.stat .num { font-family: var(--serif); font-size: 1.9rem; color: var(--gold); font-weight: 600; }
.stat .lab { font-size: .82rem; color: var(--muted); margin-top: 4px; }

/* ============================================================
   DEPARTURES BOARD (signature component)
   ============================================================ */
.board {
  background: linear-gradient(180deg, #0c0918, #0a0713);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.board-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; border-bottom: 1px solid var(--line);
  background: rgba(139,123,240,.06);
}
.board-head .t { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .5px; }
.blink { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.board-head .live { font-size: .72rem; letter-spacing: 2px; color: var(--teal); text-transform: uppercase; }

.board-row {
  display: grid; grid-template-columns: 92px 1.4fr 1fr 108px;
  gap: 14px; align-items: center;
  padding: 15px 22px; border-bottom: 1px solid var(--line-soft);
  font-size: .92rem;
}
.board-row:last-child { border-bottom: none; }
.board-row .when { font-family: var(--serif); color: var(--gold); font-size: 1.05rem; }
.board-row .dest { font-weight: 600; }
.board-row .dest small { display: block; color: var(--faint); font-weight: 400; font-size: .78rem; }
.board-row .op { color: var(--muted); }
.pill {
  justify-self: end; font-size: .7rem; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; font-weight: 600; white-space: nowrap;
}
.pill.go   { background: rgba(53,211,182,.14); color: var(--teal); border: 1px solid rgba(53,211,182,.4); }
.pill.soon { background: rgba(255,207,107,.13); color: var(--gold); border: 1px solid rgba(255,207,107,.4); }
.pill.dev  { background: rgba(139,123,240,.14); color: var(--violet-2); border: 1px solid rgba(139,123,240,.4); }
.pill.hold { background: rgba(255,138,91,.12); color: var(--coral-2); border: 1px solid rgba(255,138,91,.4); }

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 26px 24px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: var(--shadow); }
.card .kico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.35rem; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(139,123,240,.25), rgba(255,138,91,.18));
  border: 1px solid var(--line);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--coral-2); font-weight: 600; font-size: .88rem; }
.card .more::after { content: "→"; transition: transform .2s; }
.card:hover .more::after { transform: translateX(4px); }

/* pathway cards (big) */
.pathway { display: flex; flex-direction: column; min-height: 210px; }
.pathway .num { font-family: var(--serif); font-size: .9rem; color: var(--faint); }
.pathway h3 { font-size: 1.35rem; margin-top: 6px; }

/* operator cards */
.op-card { display: flex; flex-direction: column; gap: 4px; }
.op-card .op-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.op-card .logo-txt { font-family: var(--serif); font-size: 1.3rem; }
.op-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; margin: 16px 0; }
.op-meta div { border-left: 2px solid var(--line); padding-left: 12px; }
.op-meta .k { font-size: .7rem; letter-spacing: 1px; text-transform: uppercase; color: var(--faint); }
.op-meta .v { font-weight: 600; color: var(--text); font-size: .96rem; }

/* ============================================================
   TIMELINE (vertical)
   ============================================================ */
.timeline { position: relative; margin-top: 20px; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--coral), var(--violet), transparent); }
.tl-item { position: relative; padding: 0 0 30px 8px; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--coral); box-shadow: 0 0 0 4px rgba(255,138,91,.12);
}
.tl-item.future::before { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139,123,240,.14); }
.tl-item .yr { font-family: var(--serif); color: var(--gold); font-size: 1.05rem; font-weight: 600; }
.tl-item h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.tl-item p { color: var(--muted); font-size: .92rem; max-width: 62ch; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .92rem; }
table.cmp th, table.cmp td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
table.cmp thead th { background: var(--surface-2); color: var(--violet-2); font-size: .74rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }
table.cmp tbody tr:hover { background: rgba(139,123,240,.05); }
table.cmp td strong { color: var(--text); }
table.cmp .accent { color: var(--gold); font-weight: 600; }

/* ============================================================
   CALLOUT / NOTE
   ============================================================ */
.note {
  border: 1px solid var(--line); border-left: 3px solid var(--coral);
  background: var(--surface); border-radius: var(--radius-sm);
  padding: 18px 22px; color: var(--muted); font-size: .95rem;
}
.note strong { color: var(--text); }

/* faq */
.faq details { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 4px 20px; margin-bottom: 12px; background: var(--surface); }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 1.4rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 16px; font-size: .95rem; }

/* news list */
.news-item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); align-items: baseline; }
.news-item .date { flex: 0 0 92px; color: var(--faint); font-size: .82rem; font-family: var(--serif); }
.news-item .body h3 { font-size: 1.08rem; margin-bottom: 4px; }
.news-item .body p { color: var(--muted); font-size: .92rem; }
.news-item .tagx { font-size: .68rem; letter-spacing: 1px; text-transform: uppercase; color: var(--coral-2); }

/* ============================================================
   CROSS-PROMO (sister sites)
   ============================================================ */
.sisters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sister {
  display: block; background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 20px; transition: border-color .2s, transform .2s;
}
.sister:hover { border-color: var(--violet); transform: translateY(-3px); }
.sister .nm { font-family: var(--serif); font-size: 1.1rem; color: var(--text); }
.sister .ds { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.sister .go { font-size: .78rem; color: var(--coral-2); margin-top: 10px; display: inline-block; }

/* cta band */
.cta-band {
  background: var(--grad-hero), var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(30px, 5vw, 54px); text-align: center;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--muted); max-width: 54ch; margin: 0 auto 24px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot { border-top: 1px solid var(--line-soft); background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 30px; padding: 52px 0 30px; }
.foot-grid h4 { font-size: .74rem; letter-spacing: 2px; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.foot-grid a { display: block; color: var(--muted); font-size: .9rem; padding: 5px 0; }
.foot-grid a:hover { color: var(--coral-2); }
.foot-brand .deva { font-family: var(--serif); font-size: 1.4rem; color: var(--gold); }
.foot-brand p { color: var(--muted); font-size: .9rem; margin-top: 10px; max-width: 34ch; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px 0; border-top: 1px solid var(--line-soft); color: var(--faint); font-size: .82rem; }
.disc { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px,4vw,52px) 30px; }
.disc p { color: var(--faint); font-size: .78rem; line-height: 1.6; }

/* utility */
.mt0 { margin-top: 0; }
.center { text-align: center; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .orbit-wrap { max-width: 360px; margin: 0 auto; order: -1; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .sisters { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-h { display: none; }
  .hamb { display: block; }
  .nav-mobile {
    flex-direction: column;
    padding: 6px clamp(20px, 4vw, 52px) 16px;
    border-top: 1px solid var(--line-soft);
    background: var(--bg-2);
  }
  body.nav-open .nav-mobile { display: flex; }
  .nav-mobile a { padding: 13px 4px; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--line-soft); }
  .nav-mobile a:last-child { border-bottom: none; }
  .nav-mobile a.active { color: var(--coral-2); }
}

@media (max-width: 620px) {
  .g2, .g3 { grid-template-columns: 1fr; }
  .op-meta { grid-template-columns: 1fr 1fr; }
  .board-row { grid-template-columns: 64px 1fr 78px; }
  .board-row .op { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .news-item { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   v2 ADDITIONS — logos, imagery, galleries, flights, live feed
   ============================================================ */

/* --- operator emblem badges (original SVG marks) --- */
.op-head { display: flex; align-items: center; gap: 15px; margin-bottom: 6px; }
.op-emblem {
  width: 60px; height: 60px; border-radius: 15px; flex: 0 0 auto;
  display: grid; place-items: center; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(139,123,240,.22), rgba(255,138,91,.14));
}
.op-emblem svg { width: 34px; height: 34px; display: block; }
.em-spacex { background: linear-gradient(135deg, rgba(120,140,180,.30), rgba(20,26,44,.5)); }
.em-blue   { background: linear-gradient(135deg, rgba(90,150,230,.28), rgba(30,50,90,.4)); }
.em-vg     { background: linear-gradient(135deg, rgba(255,120,140,.26), rgba(120,40,70,.35)); }
.em-axiom  { background: linear-gradient(135deg, rgba(139,123,240,.30), rgba(60,45,120,.4)); }
.em-eos    { background: linear-gradient(135deg, rgba(53,211,182,.26), rgba(30,80,80,.4)); }
.op-head .op-title { display: flex; flex-direction: column; }
.op-head .logo-txt { line-height: 1.1; }
.op-head .op-sub { font-size: .74rem; letter-spacing: 1px; text-transform: uppercase; color: var(--faint); }

/* --- image bands / SVG scenes used as "photos" --- */
.scene {
  border-radius: var(--radius); overflow: hidden; position: relative;
  border: 1px solid var(--line-soft); background: #0b0817; display: block;
}
.scene svg { width: 100%; height: 100%; display: block; }
.scene.band { aspect-ratio: 16 / 6; }
.scene .scene-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px;
  background: linear-gradient(180deg, transparent, rgba(6,4,12,.9));
  font-size: .82rem; color: var(--muted);
}
.scene .scene-cap b { color: var(--text); font-family: var(--serif); font-weight: 600; }

/* --- gallery grid of plates --- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plate {
  position: relative; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--line-soft); background: #0b0817; aspect-ratio: 4 / 3;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.plate:hover { transform: translateY(-4px); border-color: var(--violet); box-shadow: var(--shadow); }
.plate svg { width: 100%; height: 100%; display: block; }
.plate .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(6,4,12,.94));
}
.plate .cap b { display: block; font-family: var(--serif); font-weight: 600; font-size: .96rem; }
.plate .cap span { color: var(--muted); font-size: .78rem; }

/* --- video grid --- */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.video {
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; background: var(--surface);
}
.video .frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video .frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { padding: 15px 18px; }
.video figcaption b { font-family: var(--serif); font-weight: 600; }
.video figcaption span { display: block; color: var(--muted); font-size: .86rem; margin-top: 3px; }
.video .chan { font-size: .7rem; letter-spacing: 1px; text-transform: uppercase; color: var(--coral-2); }

/* --- flight history list --- */
.flights { margin-top: 16px; border-top: 1px solid var(--line-soft); }
.flight {
  display: grid; grid-template-columns: 104px 1fr auto; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid var(--line-soft); align-items: baseline;
}
.flight .fd { font-family: var(--serif); color: var(--gold); font-size: .92rem; white-space: nowrap; }
.flight .fn b { font-weight: 600; }
.flight .fn span { display: block; color: var(--muted); font-size: .86rem; }
.flight .ft {
  font-size: .66rem; letter-spacing: 1px; text-transform: uppercase; color: var(--faint);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; white-space: nowrap;
}
.flight .ft.test { color: var(--violet-2); border-color: rgba(139,123,240,.4); }
.flight .ft.crew { color: var(--teal); border-color: rgba(53,211,182,.4); }
.flight .ft.land { color: var(--coral-2); border-color: rgba(255,138,91,.4); }

/* --- live news feed --- */
.feed-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.refresh {
  font-size: .85rem; color: var(--coral-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 15px; cursor: pointer; background: none; transition: border-color .2s;
}
.refresh:hover { border-color: var(--coral); }
.updated-line { font-size: .82rem; color: var(--faint); margin-bottom: 18px; }
.feed-item { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.feed-item a.t { font-family: var(--serif); font-size: 1.08rem; color: var(--text); line-height: 1.35; }
.feed-item a.t:hover { color: var(--coral-2); }
.feed-meta { display: flex; gap: 12px; margin-top: 6px; font-size: .8rem; color: var(--faint); flex-wrap: wrap; }
.feed-meta .src { color: var(--violet-2); }
.loading { display: flex; align-items: center; gap: 12px; color: var(--muted); padding: 26px 0; }
.spinner { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--coral); border-radius: 50%; animation: spin .8s linear infinite; }
.errbox { padding: 20px 22px; border: 1px solid var(--line); border-left: 3px solid var(--coral); border-radius: var(--radius-sm); background: var(--surface); color: var(--muted); }
.errbox a { color: var(--coral-2); }
.credit-note { margin-top: 26px; font-size: .82rem; color: var(--faint); border-top: 1px solid var(--line-soft); padding-top: 16px; }
.credit-note a { color: var(--muted); }

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .videos { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .flight { grid-template-columns: 78px 1fr; }
  .flight .ft { grid-column: 2; justify-self: start; margin-top: 4px; }
}

/* ============================================================
   v3 — ads slot + cookie consent banner
   ============================================================ */
.ad-slot { max-width: var(--maxw); margin: 34px auto 0; padding: 0 clamp(20px,4vw,52px); text-align: center; }
.ad-slot small { display:block; font-size:.64rem; letter-spacing:2px; text-transform:uppercase; color: var(--faint); margin-bottom: 8px; }
.ad-slot ins { background: rgba(255,255,255,.015); border: 1px dashed var(--line-soft); border-radius: var(--radius-sm); min-height: 90px; }

.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  max-width: 640px; margin: 0 auto;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow);
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.cookie-banner a { color: var(--coral-2); }
.cookie-banner .row { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner button {
  cursor: pointer; border-radius: 999px; padding: 9px 20px; font-weight: 600; font-size: .85rem;
  border: 1px solid var(--line); background: none; color: var(--text); font-family: var(--font);
}
.cookie-banner button.accept { background: linear-gradient(90deg, var(--coral), var(--gold)); color: #2a1400; border-color: transparent; }
.cookie-banner button:hover { border-color: var(--coral); }

/* ============================================================
   v4 — real company logos (with emblem fallback)
   ============================================================ */
.op-emblem { position: relative; overflow: hidden; }
.op-emblem .brandlogo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 8px; background: #fff; border-radius: inherit;
}
