:root {
  --navy: #15283f;
  --navy-deep: #0d1c2d;
  --green: #477050;
  --green-light: #dfe9e1;
  --red: #ce2939;
  --red-light: #f8e3e5;
  --white: #ffffff;
  --paper: #f3f6f5;
  --ink: #17212b;
  --muted: #5d6873;
  --line: #d6dfe0;
  --shadow: 0 18px 55px rgba(21, 40, 63, .12);
  --display: "Arial Narrow", "Aptos Display", "Helvetica Neue", sans-serif;
  --body: "Trebuchet MS", "Aptos", sans-serif;
  --utility: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: linear-gradient(rgba(21,40,63,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(21,40,63,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
body.intro-active { overflow: hidden; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255,255,255,.13);
  background: rgba(21,40,63,.96);
  backdrop-filter: blur(16px);
  color: var(--white);
}
.nav-shell {
  width: min(calc(100% - 40px), var(--max));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 2px 12px;
  background: var(--white);
  text-decoration: none;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.brand img { width: 190px; height: 54px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.site-nav a {
  position: relative;
  padding: 11px 10px;
  color: rgba(255,255,255,.76);
  font-family: var(--display);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .075em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 4px;
  left: 10px;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0 33%, var(--white) 33% 66%, #6c9d77 66%);
}
.lang-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.35);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.lang-switch button {
  border: 0;
  padding: 8px 10px;
  background: transparent;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  font-family: var(--utility);
  font-size: .72rem;
  font-weight: 800;
}
.lang-switch button[aria-pressed="true"] { background: var(--white); color: var(--navy); }
.menu-toggle { display: none; margin-left: auto; border: 0; background: transparent; color: white; cursor: pointer; font-size: 1.4rem; }
.mobile-lang { display: none; padding: 10px; }

.intro-layer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
  opacity: 1;
  transition: opacity 1.4s cubic-bezier(.45, 0, .55, 1);
}
.intro-layer[hidden] { display: none; }
.intro-layer::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0 33.33%, white 33.33% 66.66%, var(--green) 66.66%);
}
.intro-video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.intro-skip {
  position: absolute;
  top: max(20px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  min-height: 44px;
  border: 1px solid rgba(255,255,255,.48);
  padding: 9px 14px;
  background: rgba(13,28,45,.74);
  color: white;
  cursor: pointer;
  font-family: var(--utility);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.intro-skip:hover { border-color: white; background: rgba(21,40,63,.95); }
.intro-layer.is-fading { pointer-events: none; opacity: 0; }
.intro-layer.is-skipping { pointer-events: none; opacity: 0; transition-duration: .35s; }

.page { min-height: calc(100vh - 82px); }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-compact { padding: 56px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--red);
  font-family: var(--utility);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
h1, h2, h3 { margin-top: 0; color: var(--navy); font-family: var(--display); line-height: 1.02; }
h1 { max-width: 920px; margin-bottom: 22px; font-size: clamp(3rem, 8vw, 7.5rem); letter-spacing: -.055em; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 4.2rem); letter-spacing: -.04em; }
h3 { margin-bottom: 10px; font-size: 1.4rem; letter-spacing: -.02em; }
.lede { max-width: 720px; margin: 0; color: var(--muted); font-size: clamp(1.04rem, 1.5vw, 1.25rem); }
.kicker-red { color: var(--red); }
.kicker-green { color: var(--green); }

.hero {
  position: relative;
  min-height: min(780px, calc(100vh - 82px));
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--red) 0 33.33%, var(--white) 33.33% 66.66%, var(--green) 66.66%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
  align-items: center;
  gap: 60px;
  padding-block: 86px;
}
.hero h1 { color: var(--white); }
.hero .lede { color: rgba(255,255,255,.72); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  padding: 12px 20px;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  font-family: var(--display);
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: #ad1f2c; }
.button.secondary { border-color: rgba(255,255,255,.38); background: transparent; color: var(--white); }
.button.secondary:hover { background: rgba(255,255,255,.08); }
.button.navy { background: var(--navy); }
.button.green { background: var(--green); }
.button.ghost { border-color: var(--line); background: transparent; color: var(--navy); }
.button.danger { border-color: var(--red); background: transparent; color: var(--red); }
.button.small { min-height: 40px; padding: 8px 14px; font-size: .73rem; }
.orbit-stage { position: relative; min-height: 480px; display: grid; place-items: center; }
.orbit-stage::before, .orbit-stage::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  transform: rotate(-18deg);
}
.orbit-stage::before { width: 118%; aspect-ratio: 1.8; }
.orbit-stage::after { width: 145%; aspect-ratio: 2.25; border-style: dashed; animation: orbit-spin 28s linear infinite; }
.hero-symbol { position: relative; z-index: 2; width: min(360px, 78vw); filter: drop-shadow(0 24px 60px rgba(0,0,0,.28)); }
.telemetry-tag {
  position: absolute;
  z-index: 3;
  padding: 7px 10px;
  border-left: 2px solid var(--red);
  background: rgba(13,28,45,.74);
  color: rgba(255,255,255,.72);
  font-family: var(--utility);
  font-size: .65rem;
  letter-spacing: .1em;
}
.telemetry-tag.one { top: 14%; right: -2%; }
.telemetry-tag.two { bottom: 13%; left: 2%; border-left-color: #74a77f; }
@keyframes orbit-spin { to { transform: rotate(342deg); } }

.mission-strip { margin-top: -38px; position: relative; z-index: 4; }
.mission-grid { display: grid; grid-template-columns: minmax(240px, 300px); justify-content: start; }
.mission-stat { min-height: 118px; padding: 25px 28px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.mission-stat:last-child { border-right: 0; }
.mission-stat strong { display: block; color: var(--navy); font-family: var(--display); font-size: 2.2rem; line-height: 1; }
.mission-stat span { color: var(--muted); font-family: var(--utility); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(40px, 8vw, 110px); }
.panel {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}
.panel-body { padding: clamp(26px, 5vw, 52px); }
.mission-list { display: grid; gap: 1px; margin: 28px 0 0; background: var(--line); }
.mission-list article { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 26px; background: var(--white); }
.mission-code { color: var(--green); font-family: var(--utility); font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
.mission-list p { margin: 0; color: var(--muted); }
.dark-section { position: relative; overflow: hidden; background: var(--navy); color: white; }
.dark-section h2, .dark-section h3 { color: white; }
.dark-section .lede { color: rgba(255,255,255,.68); }

.page-hero { padding: 92px 0 62px; border-bottom: 1px solid var(--line); background: var(--white); }
.page-hero h1 { font-size: clamp(3rem, 7vw, 6.5rem); }
.page-hero .breadcrumb { margin-bottom: 24px; color: var(--muted); font-family: var(--utility); font-size: .72rem; text-transform: uppercase; }
.page-hero .breadcrumb a { color: var(--green); text-decoration: none; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.feed-card { overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: 0 12px 36px rgba(21,40,63,.08); }
.feed-card-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; }
.feed-avatar { width: 44px; height: 44px; padding: 4px; border-radius: 50%; background: var(--navy); }
.feed-author { display: block; color: var(--navy); font-weight: 800; }
.feed-meta { display: block; color: var(--muted); font-family: var(--utility); font-size: .67rem; text-transform: uppercase; }
.feed-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--navy); }
.feed-card-body { padding: 24px; }
.feed-card-body h2 { margin-bottom: 12px; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.feed-card-body p { margin: 0 0 22px; color: var(--muted); }
.feed-actions { padding-top: 18px; border-top: 1px solid var(--line); }
.empty-state { padding: 56px; border: 1px dashed #aebabc; background: rgba(255,255,255,.6); text-align: center; }
.empty-state img { width: 96px; margin: 0 auto 18px; }
.empty-state p { color: var(--muted); }
.supporter-empty { max-width: 780px; margin-inline: auto; padding: clamp(38px, 7vw, 76px); }
.supporter-empty p { max-width: 590px; margin: 0 auto 28px; }

.crew-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: 48px; background: var(--line); border: 1px solid var(--line); }
.crew-card { min-height: 270px; padding: 30px 25px; background: var(--white); }
.crew-card .crew-no { color: var(--red); font-family: var(--utility); font-size: .72rem; letter-spacing: .12em; }
.crew-card h2 { margin-top: 68px; font-size: 1.48rem; }
.crew-card p { color: var(--muted); font-size: .92rem; }
.sponsor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.sponsor-card { min-height: 260px; display: grid; place-items: center; padding: 32px; border: 1px solid var(--line); background: var(--white); text-align: center; }
.sponsor-card .placeholder { width: 88px; height: 88px; display: grid; place-items: center; margin: 0 auto 24px; border: 1px dashed var(--green); border-radius: 50%; color: var(--green); font-family: var(--utility); font-size: 1.6rem; }
.sponsor-card p { margin: 0; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
.contact-card { padding: 30px; border-left: 4px solid var(--green); background: var(--white); box-shadow: var(--shadow); }
.contact-card + .contact-card { margin-top: 18px; border-left-color: var(--red); }
.contact-card span { display: block; color: var(--muted); font-family: var(--utility); font-size: .7rem; text-transform: uppercase; }
.contact-card a { color: var(--navy); font-size: 1.15rem; font-weight: 800; text-decoration: none; }
.contact-card a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 70px; align-items: start; }
.article-image { width: 100%; max-height: 620px; object-fit: cover; border: 1px solid var(--line); background: var(--navy); }
.article-body { margin-top: 45px; font-size: 1.08rem; }
.article-body h2, .article-body h3, .article-body h4 { margin: 1.6em 0 .6em; }
.article-body h2 { font-size: 2.2rem; }
.article-body p { margin: 0 0 1.2em; }
.article-body blockquote { margin: 2em 0; padding: 20px 28px; border-left: 4px solid var(--red); background: var(--red-light); color: var(--navy); font-size: 1.2rem; }
.article-body pre { overflow: auto; padding: 20px; background: var(--navy-deep); color: white; }
.article-aside { position: sticky; top: 112px; padding: 24px; border-top: 4px solid var(--green); background: white; }
.article-aside strong { display: block; margin-bottom: 10px; color: var(--navy); }
.article-aside p { color: var(--muted); font-size: .85rem; }

.site-footer { padding: 52px 0 28px; background: var(--navy-deep); color: rgba(255,255,255,.68); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 30px; }
.footer-logo { width: 210px; padding: 8px 12px; background: white; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 18px; }
.footer-links a, .footer-links button { border: 0; padding: 0; background: transparent; color: inherit; cursor: pointer; font-size: .82rem; text-decoration: none; }
.footer-links a:hover, .footer-links button:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-family: var(--utility); font-size: .66rem; }

.policy-layout { max-width: 900px; }
.policy-updated { margin: 0 0 38px; color: var(--green); font-family: var(--utility); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.policy-content { display: grid; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.policy-content section { padding: clamp(24px, 5vw, 44px); background: white; }
.policy-content h2 { margin-bottom: 14px; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.policy-content p { max-width: 760px; margin: 0; color: var(--muted); }
.policy-content a { color: var(--green); font-weight: 800; text-underline-offset: 3px; }

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 900;
  width: min(calc(100% - 40px), 1120px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 34px;
  align-items: end;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255,255,255,.18);
  border-top: 5px solid var(--green);
  background: var(--navy-deep);
  color: white;
  box-shadow: 0 25px 80px rgba(4,12,20,.42);
}
.cookie-banner .eyebrow { margin-bottom: 10px; }
.cookie-banner h2 { margin-bottom: 10px; color: white; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.cookie-banner p { max-width: 680px; margin: 0 0 10px; color: rgba(255,255,255,.72); }
.cookie-banner a { color: white; font-size: .82rem; font-weight: 800; text-underline-offset: 4px; }
.cookie-current { color: #a9d4b2 !important; font-family: var(--utility); font-size: .72rem; text-transform: uppercase; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-actions .button { width: 100%; }
.cookie-actions .button.ghost { border-color: rgba(255,255,255,.4); color: white; }
.cookie-close { grid-column: 1 / -1; border: 0; padding: 7px; background: transparent; color: rgba(255,255,255,.68); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Admin content manager */
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 280px minmax(0, 1fr); background: #edf1f1; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 24px 18px; background: var(--navy-deep); color: white; }
.admin-brand { display: flex; align-items: center; gap: 12px; padding: 4px 8px 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.admin-brand img { width: 48px; height: 48px; }
.admin-brand strong { display: block; font-family: var(--display); font-size: 1.1rem; }
.admin-brand span { display: block; color: rgba(255,255,255,.55); font-family: var(--utility); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.admin-nav { display: grid; gap: 6px; margin-top: 26px; }
.admin-nav a, .admin-nav button { width: 100%; display: flex; align-items: center; gap: 12px; border: 0; padding: 12px 14px; background: transparent; color: rgba(255,255,255,.7); cursor: pointer; text-align: left; text-decoration: none; }
.admin-nav a:hover, .admin-nav a[aria-current="page"], .admin-nav button:hover { background: rgba(255,255,255,.08); color: white; }
.admin-nav .nav-mark { width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 50%; }
.admin-nav a[aria-current="page"] .nav-mark { border-color: var(--red); background: var(--red); }
.admin-sidebar-foot { position: absolute; right: 18px; bottom: 22px; left: 18px; }
.admin-sidebar .lang-switch { width: 100%; }
.admin-main { min-width: 0; }
.admin-topbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 15px clamp(24px, 5vw, 62px); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.82); backdrop-filter: blur(12px); }
.admin-topbar .utility { color: var(--muted); font-family: var(--utility); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.admin-content { width: min(calc(100% - 48px), 1040px); margin: 0 auto; padding: 58px 0 90px; }
.admin-content h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.admin-content .lede { margin-bottom: 36px; }
.dashboard-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dashboard-stat { padding: 28px; border-top: 4px solid var(--green); background: white; box-shadow: 0 10px 28px rgba(21,40,63,.07); }
.dashboard-stat:nth-child(2) { border-top-color: var(--red); }
.dashboard-stat strong { display: block; color: var(--navy); font-family: var(--display); font-size: 2.8rem; line-height: 1; }
.dashboard-stat span { color: var(--muted); font-family: var(--utility); font-size: .68rem; text-transform: uppercase; }
.analytics-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.analytics-heading h1 { margin-bottom: 22px; }
.analytics-heading .lede { margin-bottom: 0; }
.analytics-range { min-width: 190px; display: grid; gap: 8px; color: var(--navy); font-size: .78rem; font-weight: 800; }
.analytics-range select { min-height: 46px; border: 1px solid #bac5c6; border-radius: 0; padding: 8px 34px 8px 12px; background: white; color: var(--ink); }
.analytics-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 38px; border: 1px solid var(--line); background: var(--line); }
.analytics-overview > div { min-width: 0; padding: 25px; background: white; }
.analytics-overview strong { display: block; overflow: hidden; color: var(--navy); font-family: var(--display); font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1; text-overflow: ellipsis; }
.analytics-overview span { color: var(--muted); font-family: var(--utility); font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; }
.analytics-panel { margin-top: 24px; padding: 28px; border: 1px solid var(--line); background: white; box-shadow: 0 10px 28px rgba(21,40,63,.05); }
.analytics-panel h2 { margin-bottom: 24px; font-size: 1.55rem; }
.analytics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.analytics-empty { margin: 0; color: var(--muted); }
.chart-scroll { overflow-x: auto; padding-bottom: 8px; }
.bar-chart { width: max(100%, calc(var(--points) * 23px)); height: 230px; display: flex; align-items: end; gap: 5px; padding-top: 22px; }
.bar-column { position: relative; min-width: 18px; height: 100%; display: flex; flex: 1 0 18px; flex-direction: column; justify-content: flex-end; align-items: center; }
.bar-column .bar { width: 100%; min-height: 2px; max-height: 175px; background: var(--green); }
.bar-column:nth-child(5n) .bar { background: var(--red); }
.bar-column .bar-value { height: 20px; color: var(--muted); font-family: var(--utility); font-size: .6rem; }
.bar-column time { width: max-content; max-width: 44px; height: 27px; overflow: hidden; margin-top: 6px; color: var(--muted); font-family: var(--utility); font-size: .55rem; text-overflow: clip; white-space: nowrap; }
.analytics-ranking { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.analytics-ranking li > div { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 5px; }
.analytics-ranking span { overflow: hidden; color: var(--muted); font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.analytics-ranking strong { color: var(--navy); font-family: var(--utility); font-size: .75rem; }
.analytics-ranking .ranking-track { height: 4px; display: block; background: #e7eceb; }
.analytics-ranking .ranking-track span { height: 100%; display: block; background: var(--green); }
.admin-panel { margin-top: 28px; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); background: white; box-shadow: 0 12px 36px rgba(21,40,63,.07); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--navy); font-size: .82rem; font-weight: 800; }
.field .hint { color: var(--muted); font-size: .72rem; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid #bac5c6;
  border-radius: 0;
  padding: 12px 14px;
  background: #fbfcfc;
  color: var(--ink);
}
.field textarea { min-height: 118px; resize: vertical; }
.field textarea.tall { min-height: 240px; font-family: var(--utility); font-size: .82rem; }
.field input:focus, .field textarea:focus { border-color: var(--green); outline: 2px solid rgba(71,112,80,.18); }
.url-field { display: flex; align-items: stretch; }
.url-prefix { display: grid; place-items: center; padding: 0 12px; border: 1px solid #bac5c6; border-right: 0; background: #e9eeee; color: var(--muted); font-family: var(--utility); font-size: .75rem; }
.form-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.image-upload { position: relative; min-height: 190px; display: grid; place-items: center; overflow: hidden; border: 1px dashed #95a5a7; background: #f4f7f6; cursor: pointer; }
.image-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.image-upload img { width: 100%; height: 260px; object-fit: cover; }
.image-upload-copy { padding: 24px; text-align: center; }
.image-upload-copy strong { display: block; color: var(--navy); }
.image-upload-copy span { color: var(--muted); font-size: .78rem; }
.content-list { display: grid; gap: 14px; }
.content-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 14px; border: 1px solid var(--line); background: white; }
.content-row img { width: 110px; height: 82px; object-fit: cover; background: var(--navy); }
.content-row h2 { margin: 0 0 4px; font-size: 1.25rem; }
.content-row p { margin: 0; color: var(--muted); font-size: .8rem; }
.row-actions { display: flex; gap: 8px; }
.login-page { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--navy); }
.login-visual { position: relative; display: grid; place-items: center; overflow: hidden; padding: 50px; background: var(--navy-deep); }
.login-visual::after { content: ""; position: absolute; width: 75%; aspect-ratio: 1.8; border: 1px dashed rgba(255,255,255,.22); border-radius: 50%; transform: rotate(-18deg); }
.login-visual img { position: relative; z-index: 2; width: min(440px, 80%); }
.login-card-wrap { display: grid; place-items: center; padding: 40px; }
.login-card { width: min(440px, 100%); color: white; }
.login-card h1 { color: white; font-size: clamp(2.7rem, 6vw, 5rem); }
.login-card p { color: rgba(255,255,255,.65); }
.login-card .field label { color: white; }
.login-card .field input { min-height: 52px; border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.08); color: white; }
.login-card .button { width: 100%; margin-top: 20px; }
.login-back { display: inline-block; margin-top: 24px; color: rgba(255,255,255,.7); font-size: .82rem; }
.error-banner { margin: 16px 0; padding: 12px 14px; border-left: 3px solid var(--red); background: rgba(206,41,57,.14); color: inherit; font-size: .84rem; }
.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 1000; display: grid; gap: 10px; }
.toast { max-width: 360px; padding: 14px 18px; border-left: 4px solid var(--green); background: var(--navy-deep); color: white; box-shadow: var(--shadow); }
.toast.error { border-left-color: var(--red); }

@media (max-width: 1050px) {
  .site-nav { display: none; position: absolute; top: 82px; right: 0; left: 0; padding: 15px 20px 24px; background: var(--navy); flex-direction: column; align-items: stretch; }
  .site-nav.open { display: flex; }
  .mobile-lang { display: block; }
  .mobile-lang .lang-switch { width: 100%; }
  .menu-toggle { display: block; }
  .nav-shell > .lang-switch { margin-left: 0; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 70px; }
  .orbit-stage { min-height: 380px; }
  .mission-grid { grid-template-columns: minmax(240px, 300px); }
  .crew-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-shell { grid-template-columns: 220px minmax(0,1fr); }
}

@media (max-width: 760px) {
  .nav-shell { width: min(calc(100% - 24px), var(--max)); gap: 12px; }
  .brand img { width: 148px; }
  .intro-skip { top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); font-size: .62rem; }
  .nav-shell > .lang-switch button { padding: 7px; }
  .section { padding: 64px 0; }
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .hero-grid { gap: 10px; }
  .hero h1 { font-size: clamp(3.4rem, 17vw, 5.5rem); }
  .orbit-stage { min-height: 320px; }
  .mission-strip { margin-top: 0; }
  .split, .cards, .contact-grid, .article-layout, .footer-grid { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .crew-grid, .sponsor-grid { grid-template-columns: 1fr; }
  .crew-card { min-height: 220px; }
  .crew-card h2 { margin-top: 40px; }
  .footer-links { justify-content: flex-start; }
  .cookie-banner { right: 10px; bottom: 10px; left: 10px; width: calc(100% - 20px); grid-template-columns: 1fr; gap: 20px; max-height: calc(100vh - 20px); overflow-y: auto; }
  .admin-shell { display: block; }
  .admin-sidebar { position: relative; height: auto; padding-bottom: 18px; }
  .admin-nav { grid-template-columns: repeat(2, 1fr); }
  .admin-sidebar-foot { position: static; margin-top: 18px; }
  .admin-topbar { display: none; }
  .admin-content { width: min(calc(100% - 28px), 1040px); padding-top: 42px; }
  .dashboard-stats, .form-grid, .analytics-overview, .analytics-grid { grid-template-columns: 1fr; }
  .analytics-heading { display: grid; gap: 24px; }
  .analytics-range { width: 100%; }
  .field.full { grid-column: auto; }
  .content-row { grid-template-columns: 86px 1fr; }
  .content-row img { width: 86px; height: 76px; }
  .row-actions { grid-column: 1 / -1; }
  .login-page { grid-template-columns: 1fr; }
  .login-visual { display: none; }
}

@media (max-width: 480px) {
  .nav-shell > .lang-switch { display: none; }
  .mission-grid { grid-template-columns: 1fr; }
  .mission-stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-nav { grid-template-columns: 1fr; }
  .login-card-wrap { padding: 24px; }
}

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