/* =========================================================
   ORIVON — Editorial Space & Astrophotography Publication
   Design System: Space Black / Midnight Blue / Polar White /
                   Aurora Cyan / Metallic Silver
   ========================================================= */

/* ---------- Fonts (local, no external requests) ---------- */
@font-face {
  font-family: "Orivon Display";
  src: local("Georgia"), local("Times New Roman");
  font-display: swap;
}

:root {
  /* Color system */
  --space-black: #05070c;
  --space-black-2: #0a0e17;
  --midnight: #0d1526;
  --midnight-2: #121b30;
  --midnight-3: #1a2740;
  --polar-white: #f4f6fa;
  --polar-white-dim: #c9d0e0;
  --silver: #9aa7bd;
  --silver-2: #6c7690;
  --aurora-cyan: #4fb3c0;
  --aurora-cyan-dim: #2f7681;
  --aurora-amber: #e8b06a;
  --line: rgba(154, 167, 189, 0.14);
  --line-strong: rgba(154, 167, 189, 0.28);
  --glass-bg: rgba(18, 27, 48, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-deep: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  --shadow-soft: 0 10px 40px -12px rgba(0, 0, 0, 0.5);

  /* Type */
  --font-display: "Orivon Display", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;

  /* Spacing rhythm */
  --gutter: clamp(1.5rem, 5vw, 5rem);
  --section-y: clamp(5rem, 12vw, 10rem);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.35s;
  --dur-med: 0.7s;
  --dur-slow: 1.1s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--space-black);
  color: var(--polar-white-dim);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--aurora-cyan); color: var(--space-black); }

/* Defensive: split-text/reveal must never trap content invisible */
.reveal[data-split] { opacity: 1; transform: none; }

/* ---------- Background atmosphere ---------- */
body {
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(79, 179, 192, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(232, 176, 106, 0.05), transparent 55%),
    linear-gradient(180deg, var(--space-black) 0%, var(--space-black-2) 100%);
  background-attachment: fixed;
}

#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
  z-index: 1;
}
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); position: relative; z-index: 1; }
.section-tight { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }

/* Continues the hero's opaque fade into the section that follows it, so the
   fixed starfield behind the page doesn't "switch on" abruptly at the seam —
   it reveals gradually instead. */
.hero-fade-out::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: clamp(120px, 22vw, 260px);
  background: linear-gradient(180deg, var(--space-black) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aurora-cyan);
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--aurora-cyan);
  display: inline-block;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 { max-width: 640px; }
.section-head .lede { max-width: 420px; color: var(--silver); font-size: 0.98rem; padding-bottom: 0.3rem; }
.section-head-side { display: flex; align-items: flex-end; gap: 1.6rem; }

h1, h2, h3 { font-family: var(--font-display); color: var(--polar-white); font-weight: 500; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.15; }
h3 { font-size: 1.3rem; line-height: 1.3; }

.text-silver { color: var(--silver); }
.text-cyan { color: var(--aurora-cyan); }

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  transition: transform var(--dur-fast) var(--ease-premium), background var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--aurora-cyan), var(--aurora-cyan-dim));
  color: var(--space-black);
  box-shadow: 0 8px 30px -8px rgba(79, 179, 192, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(79, 179, 192, 0.65); }
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--polar-white-dim);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--aurora-cyan); color: var(--polar-white); transform: translateY(-2px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--polar-white-dim);
  transition: gap var(--dur-fast) var(--ease-premium), color var(--dur-fast);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease-premium); }
.link-arrow:hover { color: var(--aurora-cyan); gap: 0.8rem; }
.link-arrow:hover svg { transform: translateX(2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background var(--dur-fast), border-color var(--dur-fast), padding var(--dur-fast) var(--ease-premium);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(5, 7, 12, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { height: 34px; width: 34px; border-radius: 50%; }
.brand-word { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.14em; color: var(--polar-white); }

.nav-desktop { display: flex; align-items: center; gap: 2.1rem; }
.nav-desktop a {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--polar-white-dim);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--dur-fast);
}
.nav-desktop a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--aurora-cyan);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-fast) var(--ease-premium);
}
.nav-desktop a:hover { color: var(--polar-white); }
.nav-desktop a:hover::after { transform: scaleX(1); }
.nav-desktop a.is-active { color: var(--aurora-cyan); }

.nav-has-menu { position: relative; }
/* .mega-menu is an invisible hover bridge: it starts flush against the nav
   link (top: 100%, no gap) so the mouse never leaves a hoverable box while
   moving from the link down into the panel. The visual gap and glass panel
   styling live on .mega-menu-inner instead, offset via padding-top — this
   keeps the floating look without breaking hover continuity. */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  padding-top: 1.4rem;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-premium);
}
.nav-has-menu:hover .mega-menu,
.nav-has-menu:focus-within .mega-menu {
  opacity: 1; pointer-events: auto;
}
.mega-menu-inner {
  min-width: 560px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
  padding: 1.7rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem;
  transform: translateY(6px);
  transition: transform var(--dur-fast) var(--ease-premium);
}
.nav-has-menu:hover .mega-menu-inner,
.nav-has-menu:focus-within .mega-menu-inner {
  transform: translateY(0);
}
.mega-menu a {
  display: block;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}
.mega-menu a:hover { background: rgba(255, 255, 255, 0.05); }
.mega-menu .mega-label { display: block; color: var(--polar-white); margin-bottom: 0.15rem; }
.mega-menu .mega-desc { display: block; color: var(--silver-2); font-size: 0.72rem; }
.mega-menu a::after { display: none; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; width: 40px; height: 40px; place-items: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 1px; background: var(--polar-white);
  position: relative; transition: transform var(--dur-fast), opacity var(--dur-fast);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 6rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(79,179,192,0.10), transparent 65%);
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero-media canvas, .hero-media img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  object-position: 50% 50%;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 38%, rgba(5,7,12,0.55), transparent 70%),
    linear-gradient(180deg, rgba(5,7,12,0.35) 0%, rgba(5,7,12,0.45) 45%, var(--space-black) 80%, var(--space-black) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; margin: 0 auto; max-width: 900px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--glass-border); background: var(--glass-bg);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--polar-white-dim); margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--aurora-cyan); box-shadow: 0 0 12px var(--aurora-cyan); }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.05;
  color: var(--polar-white);
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--aurora-cyan), var(--polar-white) 60%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede {
  margin: 1.8rem auto 0; max-width: 560px;
  font-size: 1.08rem; color: var(--polar-white-dim);
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; margin-top: 2.6rem; flex-wrap: wrap; }
.hero-strip {
  position: relative; z-index: 2;
  display: flex; justify-content: center; gap: clamp(1.4rem, 4vw, 3.2rem);
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  flex-wrap: wrap;
  padding: 0 1rem;
}
.hero-strip a { display: flex; align-items: center; gap: 0.55rem; font-size: 0.78rem; letter-spacing: 0.05em; color: var(--polar-white-dim); text-shadow: 0 1px 10px rgba(0,0,0,0.55); transition: color var(--dur-fast); }
.hero-strip a:hover { color: var(--aurora-cyan); }
.hero-strip svg { width: 17px; height: 17px; opacity: 0.95; filter: drop-shadow(0 1px 6px rgba(0,0,0,0.5)); }

/* ---------- Cards ---------- */
.card {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0));
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease-premium), border-color var(--dur-fast), box-shadow var(--dur-med) var(--ease-premium);
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card-media img, .card-media .art { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-premium); }
.card:hover .card-media img, .card:hover .card-media .art { transform: scale(1.06); }
.card-media .tag {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2;
  padding: 0.35rem 0.75rem; border-radius: 999px;
  font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
  background: rgba(5,7,12,0.6); backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border); color: var(--aurora-cyan);
}
.card-body { padding: 1.5rem 1.4rem 1.7rem; }
.card-kicker { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--aurora-cyan); margin-bottom: 0.6rem; display: block; }
.card-body h3 { margin-bottom: 0.6rem; }
.card-body p { font-size: 0.9rem; color: var(--silver); }
.card-meta { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.2rem; font-size: 0.72rem; color: var(--silver-2); letter-spacing: 0.03em; }
.card-meta .dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--silver-2); }

.grid { display: grid; gap: clamp(1.3rem, 2.4vw, 2rem); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Generative "art" placeholder media (used where no photo is available) */
.art {
  position: relative;
  background: radial-gradient(circle at 30% 20%, rgba(79,179,192,0.25), transparent 55%),
              radial-gradient(circle at 75% 75%, rgba(232,176,106,0.18), transparent 50%),
              linear-gradient(160deg, var(--midnight-3), var(--space-black-2));
}
.art::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(1px 1px at 20% 30%, #fff, transparent),
    radial-gradient(1px 1px at 70% 60%, #fff, transparent),
    radial-gradient(1px 1px at 40% 80%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 85% 20%, #fff, transparent),
    radial-gradient(1px 1px at 55% 45%, #fff, transparent),
    radial-gradient(1px 1px at 10% 65%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 92% 85%, #fff, transparent);
  opacity: 0.55;
}
.art-ring { position: absolute; border: 1px solid rgba(255,255,255,0.14); border-radius: 50%; }

/* ---------- Editor's Picks strip ---------- */
.picks-strip { display: flex; gap: 1.3rem; overflow-x: auto; padding-bottom: 1rem; scrollbar-width: none; scroll-behavior: smooth; }
.picks-strip::-webkit-scrollbar { display: none; }
.pick-card { flex: 0 0 320px; }

.scroll-arrows { display: flex; gap: 0.6rem; flex-shrink: 0; }
.scroll-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--polar-white-dim);
  display: grid; place-items: center;
  transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast) var(--ease-premium), opacity var(--dur-fast);
}
.scroll-arrow svg { width: 18px; height: 18px; }
.scroll-arrow:hover:not(:disabled) { border-color: var(--aurora-cyan); color: var(--polar-white); background: rgba(79, 179, 192, 0.08); transform: translateY(-2px); }
.scroll-arrow:disabled { opacity: 0.3; pointer-events: none; }
@media (max-width: 640px) { .scroll-arrows { display: none; } }

/* ---------- Split feature blocks ---------- */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.feature-split.reverse .feature-media { order: 2; }
.feature-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 6/5; border: 1px solid var(--line); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy .stat-row { display: flex; gap: 2.4rem; margin-top: 2.2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.stat-row .stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--polar-white); }
.stat-row .stat span { font-size: 0.72rem; color: var(--silver-2); letter-spacing: 0.04em; }

/* ---------- Glass panel ---------- */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
}

/* ---------- Mission Control preview ---------- */
.mc-preview { padding: clamp(2.4rem, 5vw, 4rem); }
.mc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; margin-top: 2.4rem; }
.mc-tile { background: var(--midnight); padding: 1.6rem; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; }
.mc-tile .mc-icon { font-size: 1.4rem; opacity: 0.9; }
.mc-tile h4 { font-family: var(--font-display); color: var(--polar-white); font-size: 1rem; font-weight: 500; }
.mc-tile p { font-size: 0.78rem; color: var(--silver); }

/* ---------- Newsletter ---------- */
.newsletter { text-align: center; padding: clamp(3.5rem, 8vw, 6rem) clamp(2rem, 6vw, 5rem); }
.newsletter h2 { max-width: 560px; margin: 0 auto; }
.newsletter-form { display: flex; gap: 0.7rem; max-width: 460px; margin: 2.2rem auto 0; }
.newsletter-form input {
  flex: 1; padding: 0.95rem 1.3rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,0.03); color: var(--polar-white);
  font-size: 0.9rem; outline: none; transition: border-color var(--dur-fast);
}
.newsletter-form input:focus { border-color: var(--aurora-cyan); }
.newsletter-form input::placeholder { color: var(--silver-2); }
.newsletter-note { margin-top: 1rem; font-size: 0.72rem; color: var(--silver-2); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(3.5rem, 6vw, 5rem) 0 2.5rem; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2.5rem; }
.footer-brand img { height: 42px; width: 42px; border-radius: 50%; margin-bottom: 1.1rem; }
.footer-brand p { font-size: 0.85rem; color: var(--silver); max-width: 280px; }
.footer-col h5 { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--silver-2); margin-bottom: 1.1rem; }
.footer-col a { display: block; font-size: 0.85rem; color: var(--polar-white-dim); padding: 0.35rem 0; transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--aurora-cyan); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 3.5rem; padding-top: 1.8rem; border-top: 1px solid var(--line); font-size: 0.75rem; color: var(--silver-2); flex-wrap: wrap; gap: 1rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: border-color var(--dur-fast), color var(--dur-fast); }
.footer-social a:hover { border-color: var(--aurora-cyan); color: var(--aurora-cyan); }
.footer-social svg { width: 15px; height: 15px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--silver-2); margin-bottom: 1.6rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--silver); transition: color var(--dur-fast); }
.breadcrumb a:hover { color: var(--aurora-cyan); }
.breadcrumb .sep { opacity: 0.5; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(8rem, 14vw, 11rem) 0 clamp(3rem, 6vw, 5rem); position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero .lede { max-width: 620px; font-size: 1.05rem; color: var(--silver); margin-top: 1.2rem; }

/* ---------- Filter / tab pills ---------- */
.pill-row { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.pill {
  padding: 0.55rem 1.15rem; border-radius: 999px; font-size: 0.78rem;
  border: 1px solid var(--line-strong); color: var(--silver); transition: all var(--dur-fast);
}
.pill:hover, .pill.is-active { border-color: var(--aurora-cyan); color: var(--polar-white); background: rgba(79,179,192,0.08); }

/* ---------- Article / Review content ---------- */
.article-shell { max-width: 800px; margin: 0 auto; }
.article-shell.wide { max-width: 1000px; }
.article-header { text-align: left; margin-bottom: 2.4rem; }
.article-header h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.article-meta { display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem; font-size: 0.82rem; color: var(--silver-2); }
.author-chip { display: flex; align-items: center; gap: 0.6rem; }
.author-chip .avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--aurora-cyan), var(--midnight-3)); }
.hero-figure { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; margin: 2.2rem 0 2.6rem; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.figcap { font-size: 0.75rem; color: var(--silver-2); margin-top: 0.7rem; text-align: center; }

.prose { font-size: 1.04rem; color: var(--polar-white-dim); }
.prose > * + * { margin-top: 1.4rem; }
.prose h2 { font-size: 1.55rem; margin-top: 2.6rem; }
.prose h3 { font-size: 1.2rem; margin-top: 2rem; }
.prose p { line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-top: 0.5rem; line-height: 1.7; }
.prose li::marker { color: var(--aurora-cyan); }
.prose blockquote {
  border-left: 2px solid var(--aurora-cyan); padding: 0.2rem 0 0.2rem 1.4rem;
  font-family: var(--font-display); font-size: 1.25rem; color: var(--polar-white); font-style: italic;
}
.prose strong { color: var(--polar-white); }

/* Specs table */
.spec-table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: 0.9rem; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table td { padding: 0.85rem 0.5rem; }
.spec-table td:first-child { color: var(--silver-2); width: 42%; }
.spec-table td:last-child { color: var(--polar-white); }

/* Pros/cons */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1.6rem 0; }
.proscons .box { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.4rem; }
.proscons .box h4 { font-family: var(--font-display); font-weight: 500; margin-bottom: 0.9rem; font-size: 1rem; }
.proscons .pros h4 { color: var(--aurora-cyan); }
.proscons .cons h4 { color: var(--aurora-amber); }
.proscons ul li { font-size: 0.88rem; padding-left: 1.2rem; position: relative; }
.proscons .pros li::before { content: "+"; position: absolute; left: 0; color: var(--aurora-cyan); }
.proscons .cons li::before { content: "–"; position: absolute; left: 0; color: var(--aurora-amber); }

/* Verdict box */
.verdict-box { border-radius: var(--radius-lg); padding: 2rem; margin: 2rem 0; display: flex; gap: 1.6rem; align-items: flex-start; }
.verdict-score { flex: 0 0 auto; text-align: center; }
.verdict-score .num { font-family: var(--font-display); font-size: 2.6rem; color: var(--aurora-cyan); line-height: 1; }
.verdict-score .of { font-size: 0.7rem; color: var(--silver-2); letter-spacing: 0.05em; }

/* Recommendation box (affiliate, styled as expert pick, not an ad) */
.reco-box {
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: 1.8rem 2rem; margin: 2rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(79,179,192,0.05), transparent);
}
.reco-box .reco-label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--aurora-cyan); margin-bottom: 0.4rem; }
.reco-box .reco-title { font-family: var(--font-display); color: var(--polar-white); font-size: 1.15rem; }
.reco-box .reco-note { font-size: 0.82rem; color: var(--silver); margin-top: 0.3rem; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 0; cursor: pointer; }
.faq-q h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; color: var(--polar-white); }
.faq-icon { width: 20px; height: 20px; position: relative; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--silver); top: 50%; left: 50%; transform: translate(-50%,-50%); transition: transform var(--dur-fast) var(--ease-premium), opacity var(--dur-fast); }
.faq-icon::before { width: 12px; height: 1px; }
.faq-icon::after { width: 1px; height: 12px; }
.faq-item.is-open .faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-med) var(--ease-premium); }
.faq-a p { padding-bottom: 1.4rem; font-size: 0.92rem; color: var(--silver); line-height: 1.7; }
.faq-item.is-open .faq-a { max-height: 260px; }

/* Comparison table */
.compare-wrap { overflow-x: auto; margin: 1.5rem 0; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); text-align: left; font-size: 0.88rem; }
.compare-table th { color: var(--silver-2); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.compare-table td { color: var(--polar-white-dim); }
.compare-table tr:first-child th { border-bottom: 1px solid var(--line-strong); }

/* ---------- Mission Control page ---------- */
.mc-hero-stat { display: flex; gap: 3rem; flex-wrap: wrap; margin-top: 2.6rem; }
.mc-panel { padding: 2rem; height: 100%; }
.mc-panel h3 { display: flex; align-items: center; gap: 0.6rem; }
.mc-panel .icon { font-size: 1.3rem; }
.event-row { display: flex; justify-content: space-between; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.event-row:last-child { border-bottom: none; }
.event-row .date { color: var(--aurora-cyan); font-size: 0.78rem; min-width: 70px; }
.moon-phase-row { display: flex; justify-content: space-between; align-items: center; }
.editor-quote { font-family: var(--font-display); font-size: 1.15rem; color: var(--polar-white); font-style: italic; line-height: 1.6; }

/* ---------- Reveal animation base ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-premium), transform 0.9s var(--ease-premium); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(0.96); transition: opacity 0.9s var(--ease-premium), transform 0.9s var(--ease-premium); }
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.mobile-only { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega-menu-inner { min-width: 460px; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: grid; }
  .feature-split { grid-template-columns: 1fr; }
  .feature-split.reverse .feature-media { order: 0; }
  .proscons { grid-template-columns: 1fr; }
  .mc-grid { grid-template-columns: repeat(2, 1fr); }
  .verdict-box { flex-direction: column; }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .newsletter-form { flex-direction: column; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { justify-content: center; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .mc-grid { grid-template-columns: 1fr; }
  .mobile-only { display: block; }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(5,7,12,0.98);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  padding: 6.5rem 2rem 2rem;
  transform: translateY(-8px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-fast) var(--ease-premium), transform var(--dur-fast) var(--ease-premium), visibility var(--dur-fast);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav a { font-family: var(--font-display); font-size: 1.6rem; color: var(--polar-white); padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 2rem; align-self: flex-start; }
