/* ikaree.space. Palette from the IKAREE bridge: amber command ring, turquoise deck, hull grey. */
@font-face { font-family: "Saira SC"; src: url(/fonts/SairaSemiCondensed-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Saira SC"; src: url(/fonts/SairaSemiCondensed-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Saira SC"; src: url(/fonts/SairaSemiCondensed-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #05070b; --bg2: #090d14; --panel: #0d121b; --panel2: #121925; --line: #1e2735; --line2: #2b3647;
  --ink: #ebe7de; --ink2: #c9c6bf; --muted: #8f9aab;
  --amber: #f2a93b; --amber2: #ffc874; --teal: #3cc6c4; --red: #ff5a4e;
  --display: "Saira SC", "Arial Narrow", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --wrap: 1200px; --gut: clamp(16px, 4vw, 40px); --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--body); overflow-x: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
a { color: var(--amber2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: .01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(36px, 6vw, 72px); }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: #000; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.kicker { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin: 0 0 14px; }
.kicker .num { color: var(--teal); margin-right: 12px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink2); max-width: 62ch; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(5, 7, 11, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid rgba(43, 54, 71, .6); }
.bar { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .32em; color: var(--ink); text-decoration: none; margin: 0; }
.brand-mark { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--amber); box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 7px var(--teal); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink2); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .05em; padding: 8px 10px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current] { color: #fff; background: var(--panel2); }
.nav .nav-lang { color: var(--muted); }
.nav .nav-cta { margin-left: 8px; color: #120b00; background: var(--amber); padding: 8px 16px; }
.nav .nav-cta:hover { background: var(--amber2); color: #000; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line2); border-radius: 10px; background: transparent; cursor: pointer; }
.nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after { display: block; width: 18px; height: 2px; background: var(--ink); margin: auto; position: relative; content: ""; transition: transform .2s; }
.nav-toggle span:first-child::before { position: absolute; top: -6px; } .nav-toggle span:first-child::after { position: absolute; top: 6px; }
@media (max-width: 1220px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 90px; flex-direction: column; align-items: stretch; padding: 12px var(--gut) 20px; background: rgba(5, 7, 11, .97); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 17px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; margin: 0; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line2); }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: #140c00; box-shadow: 0 10px 40px -12px rgba(242, 169, 59, .6); }
.btn-primary:hover { background: var(--amber2); color: #000; }
.btn-ghost { border: 1px solid var(--line2); color: var(--ink); background: rgba(13, 18, 27, .5); }
.btn-ghost:hover { border-color: var(--teal); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link-arrow { font-family: var(--display); font-weight: 600; letter-spacing: .06em; text-decoration: none; color: var(--teal); display: inline-block; margin-top: 6px; }
.link-arrow::after { content: " →"; transition: margin .15s; } .link-arrow:hover { color: #fff; } .link-arrow:hover::after { margin-left: 4px; }
.link-out::after { content: " ↗"; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 72px; overflow: hidden; isolation: isolate; }
.hero.small { min-height: 72svh; justify-content: center; padding: 80px 0 60px; }
.sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 70% 38%, rgba(60, 198, 196, .10), transparent 70%), radial-gradient(50% 40% at 20% 80%, rgba(242, 169, 59, .08), transparent 70%), linear-gradient(180deg, transparent 50%, var(--bg) 100%); }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin-bottom: 18px; }
.wordmark { display: block; font-size: clamp(56px, 12vw, 160px); letter-spacing: .26em; line-height: .9; margin-left: -.04em; background: linear-gradient(180deg, #fff 30%, #b9c2cf 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h1-line { display: block; font-size: clamp(26px, 3.6vw, 48px); font-weight: 600; color: var(--ink); margin-top: 14px; letter-spacing: .01em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { border: 1px solid rgba(242, 169, 59, .45); border-radius: 999px; padding: 4px 12px; font-size: 12px; background: rgba(5, 7, 11, .4); }
.hero-ship { position: relative; z-index: 1; margin: 0 0 -3vw -5vw; width: 110vw; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 72%, transparent 100%); }
.hero-ship img { width: 100%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .7)); }
@media (max-width: 700px) { .hero-ship { width: 200vw; margin: 10px 0 0 -40vw; } }
.stats { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin: 0 auto 56px; padding-top: 0; padding-bottom: 0; position: relative; z-index: 2; }
.stats li { background: rgba(13, 18, 27, .72); border: 1px solid var(--line); padding: 16px 18px; display: flex; flex-direction: column; backdrop-filter: blur(6px); }
.stats li:first-child { border-radius: var(--r) 0 0 var(--r); } .stats li:last-child { border-radius: 0 var(--r) var(--r) 0; }
.stats strong { font-family: var(--display); font-size: clamp(24px, 3vw, 36px); color: var(--amber2); line-height: 1.1; }
.stats span { color: var(--muted); font-size: 14px; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 8px; } .stats li, .stats li:first-child, .stats li:last-child { border-radius: 12px; } .stats li:last-child { grid-column: 1 / -1; } }

/* ---------- sections ---------- */
.sec { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.sec + .sec { border-top: 1px solid rgba(30, 39, 53, .6); }
.sec-head { margin-bottom: 36px; max-width: 760px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.page-head { padding-top: clamp(32px, 5vw, 64px); padding-bottom: 32px; }
.page-head h1 { max-width: 18ch; }
.h-sm { font-size: clamp(24px, 2.6vw, 32px); margin-top: 48px; }

/* voice channel */
.comms { margin: 0; background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line2); border-radius: 20px; padding: 18px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .04); }
.comms-head { font-family: var(--display); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 10px; padding: 2px 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.led { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.comms-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.comms-log li { max-width: 88%; padding: 10px 14px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); }
.comms-log li b { display: block; font-family: var(--display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 2px; }
.comms-log li.me { align-self: flex-end; background: rgba(242, 169, 59, .1); border-color: rgba(242, 169, 59, .3); }
.comms-log li.me b { color: var(--amber); }
.js .comms-log:not(.static) li { opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.js .comms-log:not(.static) li.on { opacity: 1; transform: none; }
.comms figcaption { color: var(--muted); font-size: 13px; margin-top: 14px; }
.comms.small { align-self: start; }

/* crew */
.crew-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .crew-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .crew-grid { grid-template-columns: 1fr; } }
.crew-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, transform .2s; }
.crew-card:hover { border-color: var(--amber); transform: translateY(-3px); color: var(--ink); }
.crew-face { aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(circle at 50% 40%, var(--panel2), var(--bg2)); display: grid; place-items: center; }
.crew-face img { width: 100%; height: 100%; object-fit: cover; }
.crew-meta { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.crew-meta small { font-family: var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); font-size: 12px; }
.crew-meta b { font-family: var(--display); font-size: 22px; }
.crew-meta q { color: var(--muted); font-style: italic; font-size: 15px; }
.monogram { position: relative; width: 46%; max-width: 160px; aspect-ratio: 1; display: grid; place-items: center; }
.monogram svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--line2); stroke-width: 2; }
.monogram svg path { stroke: var(--amber); opacity: .35; }
.monogram b { font-family: var(--display); font-size: clamp(28px, 4vw, 44px); letter-spacing: .1em; color: var(--ink2); }
.monogram[data-role="cole"] svg path, .monogram[data-role="brooks"] svg path { stroke: var(--teal); }
.monogram[data-role="grant"] svg path, .monogram[data-role="bennett"] svg path { stroke: #9fb6ff; }

/* person page */
.person-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-top: 32px; }
@media (max-width: 900px) { .person-head { grid-template-columns: 1fr; gap: 24px; } }
.person-face { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: radial-gradient(circle at 50% 40%, var(--panel2), var(--bg)); display: grid; place-items: center; }
.person-face img { width: 100%; height: 100%; object-fit: cover; }
.person-face .monogram { width: 40%; }
.line { margin: 24px 0 0; padding: 18px 22px; border-left: 3px solid var(--amber); background: var(--panel); border-radius: 0 12px 12px 0; }
.line p { font-family: var(--display); font-size: 22px; margin: 0; line-height: 1.3; }
.line cite { color: var(--muted); font-style: normal; font-size: 14px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 40px 0; }
.facts div { background: var(--panel); padding: 14px 18px; }
.facts div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.facts.one { grid-template-columns: 1fr; }
.facts dt { font-family: var(--display); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: var(--muted); }
.facts dd { margin: 2px 0 0; }
.dest-head .facts, .split .facts { margin: 24px 0 0; }
.pager { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 56px; }
.pager a { display: flex; flex-direction: column; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--panel); font-family: var(--display); font-weight: 600; font-size: 18px; }
.pager a:hover { border-color: var(--teal); }
.pager small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pager.two { grid-template-columns: 1fr 1fr; } .pager .next { text-align: right; }

/* prose */
.prose h2 { font-size: clamp(22px, 2.4vw, 30px); margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose code { background: var(--panel2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.steps { list-style: none; padding: 0 !important; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 48px; margin-bottom: 18px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--amber); color: var(--amber); display: grid; place-items: center; font-family: var(--display); font-weight: 700; }
.page-article { padding-top: 40px; }
.page-article h1 { font-size: clamp(32px, 5vw, 56px); }
.page-article figure { margin: 32px 0; border-radius: var(--r); overflow: hidden; }
.privacy h1 { font-size: clamp(30px, 4vw, 44px); }
.table { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--panel2); color: var(--ink2); font-weight: 600; }
.privacy table { min-width: 640px; }
.compare { margin: 28px 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: block; overflow-x: auto; }
.compare td:nth-child(2) { color: var(--amber2); }
figure { margin: 0; }
figure > img { border-radius: var(--r); border: 1px solid var(--line); }
figure figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* trailer */
.video { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line2); background: #000; aspect-ratio: 16 / 9; box-shadow: 0 50px 100px -50px rgba(60, 198, 196, .35); }
.video video { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(5, 7, 11, .45); backdrop-filter: blur(6px); cursor: pointer; transition: transform .2s, background .2s; }
.video-play span { display: block; width: 0; height: 0; margin-left: 38px; border-style: solid; border-width: 15px 0 15px 26px; border-color: transparent transparent transparent var(--amber); }
.video-play:hover { transform: scale(1.06); background: rgba(242, 169, 59, .2); }
.video.playing .video-play { display: none; }

/* galaxy */
.orbit-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 12px; }
.orbit-row a { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--ink); }
.orbit-row .planet { width: 100%; max-width: 150px; transition: transform .4s; }
.orbit-row a:hover .planet { transform: scale(1.06) rotate(-4deg); }
.orbit-row span { font-family: var(--display); font-weight: 600; margin-top: 6px; line-height: 1.2; }
.orbit-row small { color: var(--muted); font-size: 13px; }
.dest-group { margin-top: 56px; }
.dest-group h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 4px; }
.dest-grid { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.dest-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); text-decoration: none; color: var(--ink); height: 100%; transition: border-color .2s, transform .2s; }
.dest-card:hover { border-color: var(--teal); transform: translateY(-2px); color: var(--ink); }
.dest-card .planet { width: 120px; }
.dest-card b { font-family: var(--display); font-size: 18px; display: block; line-height: 1.2; }
.dest-card small { color: var(--muted); font-size: 13px; }
.dist-chart { margin: 24px 0 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; overflow-x: auto; }
.dist-chart svg { min-width: 760px; }
.dist-chart .grid { stroke: var(--line2); stroke-dasharray: 3 5; }
.dist-chart .lbl { fill: var(--muted); font: 12px var(--body); text-anchor: middle; }
.dist-chart .dot { fill: var(--teal); } .dist-chart .ep-dot { fill: var(--amber); }
.dist-chart .name { fill: var(--ink2); font: 12px var(--body); }
.dist-chart a:hover .name { fill: #fff; } .dist-chart a:hover .dot { fill: #fff; }
.dest-head { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-top: 24px; }
@media (max-width: 900px) { .dest-head { grid-template-columns: 1fr; } }
.dest-visual { position: relative; }
.planet.big { width: 100%; max-width: 560px; margin: auto; filter: drop-shadow(0 0 60px rgba(60, 198, 196, .12)); animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateY(-10px) rotate(2deg); } }
.note { text-align: center; color: var(--muted); font-size: 13px; }
.dest-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; margin-top: 56px; }
@media (max-width: 900px) { .dest-body { grid-template-columns: 1fr; } }
.factlist { list-style: none; padding: 0 !important; }
.factlist li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative; }
.factlist li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

/* episodes */
.ep-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .ep-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ep-grid { grid-template-columns: 1fr; } }
.ep a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, transform .2s; }
.ep a:hover { border-color: var(--amber); transform: translateY(-3px); color: var(--ink); }
.ep img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.ep-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.ep-body small { color: var(--amber); font-family: var(--display); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.ep-body b { font-family: var(--display); font-size: 24px; }
.ep-body span { color: var(--muted); font-size: 15px; }
.ep-hero { position: relative; min-height: 62svh; display: flex; align-items: flex-end; isolation: isolate; padding-bottom: 40px; }
.ep-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ep-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 7, 11, .2) 0%, rgba(5, 7, 11, .4) 50%, var(--bg) 100%); }
.ep-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; margin-top: 40px; }
@media (max-width: 900px) { .ep-layout { grid-template-columns: 1fr; } }
.dilemma { font-family: var(--display); font-size: 24px; line-height: 1.3; color: var(--amber2); }
.starcard { align-self: start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; position: sticky; top: 112px; }
.starcard h2 { font-size: 28px; }
.starcard dl { margin: 0 0 14px; }
.starcard dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.starcard dt { color: var(--muted); } .starcard dd { margin: 0; text-align: right; }

/* systems */
.sys-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .sys-grid { grid-template-columns: 1fr; } }
.sys { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.sys img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.sys > div { padding: 20px 22px 24px; }
.sys p:last-child { color: var(--muted); margin: 0; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-list li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.feature-list b { display: block; font-family: var(--display); font-size: 20px; color: var(--amber2); }
.feature-list span { color: var(--muted); font-size: 15px; }
.station-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
@media (max-width: 900px) { .station-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .station-grid { grid-template-columns: 1fr; } }
.station { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.station h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; color: var(--amber2); }
.station h3 a { font-size: 14px; font-family: var(--body); font-weight: 400; color: var(--muted); }
.station ul { margin: 0; padding: 0; list-style: none; } .station li { padding: 6px 0; border-top: 1px solid var(--line); color: var(--ink2); }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 26px; color: var(--amber); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink2); padding-bottom: 8px; }
section.faq h2 { font-size: 28px; margin-top: 48px; color: var(--teal); }

/* news */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.news-card:hover { border-color: var(--teal); color: var(--ink); }
.news-card img { aspect-ratio: 16 / 9; object-fit: cover; }
.news-card > span { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.news-card time { color: var(--teal); font-size: 14px; }
.news-card b { font-family: var(--display); font-size: 22px; line-height: 1.2; }
.news-card span span { color: var(--muted); font-size: 15px; }

/* press */
.shots { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.shots img { border-radius: 10px; border: 1px solid var(--line); aspect-ratio: 16 / 9; object-fit: cover; }
.shots a:hover img { border-color: var(--amber); }
.logo-prev { background: var(--panel); padding: 24px; border-radius: var(--r); border: 1px solid var(--line); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding-left: 26px; position: relative; margin-bottom: 6px; color: var(--ink2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

/* get it */
.get { padding: clamp(56px, 8vw, 96px) 0; background: radial-gradient(80% 120% at 85% 0%, rgba(242, 169, 59, .14), transparent 60%), linear-gradient(180deg, var(--bg2), var(--bg)); border-top: 1px solid var(--line); margin-top: 80px; }
.get-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .get-in { grid-template-columns: 1fr; } }
.get-cta { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.get-cta .link-arrow { text-align: center; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--bg2); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot h2 { font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 6px; }
.foot a { color: var(--ink2); text-decoration: none; } .foot a:hover { color: #fff; text-decoration: underline; }
.foot-brand p { color: var(--ink2); }
.foot-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot-legal p { max-width: 110ch; }

/* dedication to Sir Patrick Stewart */
.mourning { margin: 0; height: 26px; display: flex; align-items: center; justify-content: center; background: #000; border-bottom: 1px solid rgba(255, 255, 255, .1); font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 16px; }
@media (max-width: 420px) { .mourning { letter-spacing: .08em; font-size: 11px; } }
.tagline { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: -4px 0 18px; }
.tagline a { color: var(--ink2); text-decoration: none; border-bottom: 1px solid var(--line2); }
.tagline a:hover { color: #fff; border-color: var(--amber); }
.dedic { padding: clamp(64px, 9vw, 120px) 0; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(60% 80% at 50% 0%, rgba(235, 231, 222, .05), transparent 70%); }
.dedic .kicker { color: var(--muted); }
.dedic blockquote { margin: 0 auto 18px; max-width: 760px; }
.dedic blockquote p { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.8vw, 32px); line-height: 1.35; color: var(--ink); margin: 0; }
.nav .nav-testers { color: var(--teal); }

/* crew extras, aliens, manoeuvres */
.intercom { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--muted); font-size: 15px; }
.intercom b { font-family: var(--display); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: var(--teal); }
.aliens { margin-top: 28px; padding: 24px 26px; border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: 0 var(--r) var(--r) 0; background: var(--panel); max-width: 820px; }
.aliens p:last-child { margin: 0; color: var(--ink2); }
.manoeuvres { margin-top: 20px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.manoeuvres h3 { font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.manoeuvres ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.manoeuvres li { border: 1px solid var(--line2); border-radius: 999px; padding: 6px 14px; font-family: var(--display); font-weight: 600; color: var(--amber2); }

/* gallery + lightbox */
.gal { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 700px) { .gal { grid-template-columns: repeat(2, 1fr); } }
.gal a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.gal img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform .4s; }
.gal a:hover { border-color: var(--amber); } .gal a:hover img { transform: scale(1.04); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(96vw, 1600px); width: 100%; color: var(--ink); }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; border-radius: 10px; }
.lightbox p { text-align: center; color: var(--ink2); margin: 12px 48px 0; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(5, 7, 11, .7); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox button:hover { border-color: var(--amber); color: #fff; }
.lb-close { top: 10px; right: 10px; } .lb-prev { left: 10px; top: 40%; } .lb-next { right: 10px; top: 40%; }

/* ---------- pillars, Live mode, ship, universe, create ---------- */
.pillars { padding: 8px 0 24px; }
.pillar-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.pillar { position: relative; background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--amber); border-radius: var(--r); padding: 22px 18px 18px; display: flex; flex-direction: column; }
.pillar h2 { font-size: 21px; margin-bottom: 10px; }
.pillar p { color: var(--ink2); font-size: 15px; flex: 1; }
.pillar .tag { align-self: flex-start; font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); border: 1px solid rgba(60, 198, 196, .45); border-radius: 999px; padding: 2px 10px; margin-bottom: 12px; }
@media (max-width: 1100px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } .pillar:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .pillar-grid { grid-template-columns: 1fr; } }
.deck-strip { list-style: none; margin: 8px 0 14px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.deck-strip a { display: block; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); text-decoration: none; color: var(--ink); }
.deck-strip a:hover { border-color: var(--amber); color: var(--ink); }
.deck-strip img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.deck-strip span { display: block; padding: 10px 14px 12px; font-family: var(--display); font-weight: 600; font-size: 18px; }
.deck-strip small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
@media (max-width: 800px) { .deck-strip { grid-template-columns: repeat(2, 1fr); } }
.deck-list { list-style: none; margin: 20px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.deck { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; scroll-margin-top: 110px; }
.deck img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.deck div { padding: 18px 20px 6px; }
.deck .kicker { margin-bottom: 6px; }
.deck p { color: var(--ink2); }
@media (max-width: 760px) { .deck-list { grid-template-columns: 1fr; } }
.sp-grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.sp-card { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); }
.sp-card:hover { border-color: var(--teal); color: var(--ink); }
.sp-card b { font-family: var(--display); font-size: 21px; }
.sp-card small { color: var(--amber2); font-size: 13px; }
.sp-card span { color: var(--muted); font-size: 14px; }
@media (max-width: 1000px) { .sp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sp-grid { grid-template-columns: 1fr; } }
.emblem img { width: 100%; max-width: 520px; margin: 0 auto; border-radius: var(--r); }
.emblem figcaption { text-align: center; font-family: var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--amber2); margin-top: 10px; }
.umap { margin: 16px 0 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; overflow-x: auto; }
.umap svg { min-width: 720px; }
.umap .hostile { fill: rgba(255, 90, 78, .08); stroke: rgba(255, 90, 78, .5); }
.umap .ashline { stroke: var(--red); stroke-width: 2; stroke-dasharray: 8 8; }
.umap .border { fill: none; stroke: var(--line2); stroke-width: 1.5; stroke-dasharray: 4 6; }
.umap .core { fill: rgba(60, 198, 196, .08); stroke: var(--teal); stroke-width: 2; }
.umap .neb { fill: rgba(242, 169, 59, .07); stroke: rgba(242, 169, 59, .55); }
.umap .pt { fill: var(--amber); }
.umap text { font: 14px var(--body); fill: var(--ink2); }
.umap .c { text-anchor: middle; } .umap .strong { font: 600 17px var(--display); fill: var(--ink); }
.umap .name { fill: var(--ink); } .umap .lbl { fill: var(--muted); font-size: 12px; }
.umap .sector { font: 600 13px var(--display); letter-spacing: .2em; fill: var(--muted); text-anchor: middle; }
.sector-list { list-style: none; margin: 16px 0 64px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sector-list li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.sector-list b { display: block; font-family: var(--display); font-size: 19px; color: var(--amber2); }
.sector-list span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .sector-list { grid-template-columns: 1fr 1fr; } }
.glossary dt { font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--amber2); margin-top: 14px; }
.glossary dd { margin: 2px 0 0; color: var(--ink2); }
.timeline { list-style: none; padding: 0 !important; border-left: 1px solid var(--line2); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 16px 22px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.timeline b { display: block; font-family: var(--display); color: var(--teal); letter-spacing: .06em; }
.timeline span { color: var(--ink2); }
.code { margin: 0; min-width: 0; }
.split > * { min-width: 0; }
.code pre { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; overflow-x: auto; font: 13.5px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--ink2); }
.code figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }
