/* Starship Nomadic — LCARS site styles (from the approved mock-up) */
:root {
  --black: #000;
  --red: #C1121F;
  --gold: #F2B705;
  --amber: #E8771E;
  --steel: #9AA6B8;
  --pale: #FFD66B;
  --navy: #3E5C8A;
  --ink: #F3EEE2;
  --muted: #C9C3B6;
  --dim: #B8B2A6;
  --panel: #0B0F19;
  --panel2: #0E1322;
  --chip: #1A2234;
  --line: #22304A;
  --well: #05070D;
  --side: 160px;
  --elbow: 200px;
  --gap: 6px;
  --display: 'Antonio', 'Arial Narrow', sans-serif;
  --body: 'Barlow', 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--black); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; }
a { color: var(--pale); }
a:hover { color: #FFE9A8; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 20px; font-family: var(--display); font-weight: 700; z-index: 10; }
.skip:focus { left: 16px; }
.lc { transition: filter .15s; }
.lc:hover { filter: brightness(1.15); }
.d { font-family: var(--display); }

.page { padding: 16px; min-height: 100vh; }
.wrap { max-width: 1400px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }

/* ---------- header ---------- */
.top-row { display: flex; flex-wrap: wrap; }
.side-stack { flex: 0 0 var(--side); display: flex; flex-direction: column; gap: var(--gap); justify-content: flex-end; padding-bottom: var(--gap); }
.side-stack div, .blk { color: #000; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .08em; display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 10px 6px; }
.side-stack .s1 { height: 64px; background: var(--gold); }
.side-stack .s2 { height: 40px; background: var(--steel); }
.brand-nav { flex: 999 1 560px; min-width: 0; padding: 12px 0 18px 28px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.brand img { height: 78px; width: auto; display: block; }
.brand .t1 { display: block; font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: .06em; color: var(--gold); }
.brand .t2 { display: block; font-family: var(--display); font-size: 16px; letter-spacing: .18em; color: var(--steel); margin-top: 6px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 22px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .08em; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.pill:hover { color: inherit; }
.pill.sm { height: 30px; font-size: 16px; padding: 0 18px; }
.pill.lg { height: 50px; padding: 0 28px; font-size: 19px; border-radius: 25px; }

/* colour helpers */
.bg-red { background: var(--red); color: #fff; }
.bg-gold { background: var(--gold); color: #000; }
.bg-amber { background: var(--amber); color: #000; }
.bg-steel { background: var(--steel); color: #000; }
.bg-pale { background: var(--pale); color: #000; }
.bg-navy { background: var(--navy); color: #fff; }
.bg-chip { background: var(--chip); color: var(--ink); }
a.bg-red:hover, a.bg-navy:hover { color: #fff; }
a.bg-gold:hover, a.bg-amber:hover, a.bg-steel:hover, a.bg-pale:hover { color: #000; }

/* ---------- LCARS elbows ---------- */
.elbow { display: flex; height: 90px; }
.elbow .corner { position: relative; flex: 0 0 var(--elbow); }
.elbow .corner::after { content: ""; position: absolute; left: var(--side); width: calc(var(--elbow) - var(--side)); height: 62px; background: var(--black); }
.elbow .bars { flex: 1; min-width: 0; height: 28px; display: flex; gap: var(--gap); }
.elbow .bars > div:first-child { margin-left: -1px; }
.elbow.down .corner { border-bottom-left-radius: 72px; }
.elbow.down .corner::after { top: 0; border-bottom-left-radius: 30px; }
.elbow.down .bars { align-self: flex-end; }
.elbow.up .corner { border-top-left-radius: 72px; }
.elbow.up .corner::after { bottom: 0; border-top-left-radius: 30px; }
.elbow.up .bars { align-self: flex-start; }
.elbow.foot { height: 70px; }
.elbow.foot .corner { border-bottom-left-radius: 56px; }
.elbow.foot .corner::after { height: 42px; border-bottom-left-radius: 24px; }
.bars .end { flex: 0 0 60px; border-radius: 0 14px 14px 0; }

/* ---------- body frame ---------- */
.frame-body { display: flex; flex-wrap: wrap; }
.series-col { flex: 0 0 var(--side); display: flex; flex-direction: column; gap: var(--gap); padding-top: var(--gap); }
.series-col .label { font-family: var(--display); font-size: 13px; letter-spacing: .16em; color: var(--steel); text-align: right; padding: 0 10px 2px; }
.series-col a { display: flex; justify-content: space-between; align-items: flex-end; height: 50px; padding: 0 10px 5px; text-decoration: none; font-family: var(--display); }
.series-col a .y { font-size: 13px; letter-spacing: .06em; }
.series-col a .c { font-size: 22px; font-weight: 700; letter-spacing: .06em; }
.series-col .fill { flex: 1; min-height: 120px; background: var(--steel); }
main { flex: 999 1 560px; min-width: 0; padding: 4px 0 40px 32px; display: flex; flex-direction: column; gap: 48px; }
main.tight { gap: 34px; }

/* ---------- headings ---------- */
.kicker { font-family: var(--display); font-size: 15px; letter-spacing: .16em; color: var(--steel); }
h1.big { margin: 0; font-family: var(--display); font-weight: 700; font-size: 64px; line-height: 1; letter-spacing: .04em; color: var(--gold); }
.intro { display: flex; flex-direction: column; gap: 14px; }
.intro p { margin: 0; max-width: 700px; color: var(--muted); }
.bar-h { display: flex; align-items: center; gap: 8px; }
.bar-h .cap { flex: 0 0 34px; height: 30px; border-radius: 15px 0 0 15px; }
.bar-h h2 { margin: 0; padding: 0 8px; font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: .06em; color: var(--pale); line-height: 1.1; }
.bar-h .run { flex: 1; height: 30px; }
.bar-h .tail { flex: 0 0 60px; height: 30px; border-radius: 0 15px 15px 0; }
.bar-h .tail.txt { flex: 0 0 auto; padding: 0 18px; display: flex; align-items: center; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .08em; text-decoration: none; }
.bar-h.s .cap { flex-basis: 30px; height: 26px; border-radius: 13px 0 0 13px; }
.bar-h.s h2 { font-size: 26px; padding: 0 6px; letter-spacing: .08em; }
.bar-h.s .run { height: 26px; }
.bar-h.s .run.end { border-radius: 0 13px 13px 0; }
.bar-h.s .tag { height: 26px; padding: 0 14px; border-radius: 0 13px 13px 0; display: flex; align-items: center; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .1em; }
.sect { display: flex; flex-direction: column; gap: 22px; }
.sect.s { gap: 12px; }

/* ---------- home hero ---------- */
.hero { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }
.hero .viewer-col { flex: 3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.viewer-label { display: flex; gap: 6px; height: 22px; }
.viewer-label .a { flex: 0 0 30px; background: var(--gold); border-radius: 11px 0 0 11px; }
.viewer-label span { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: .16em; color: var(--gold); line-height: 22px; padding: 0 8px; }
.viewer-label .b { flex: 1; background: var(--gold); }
.viewer-label .c { flex: 0 0 22px; background: var(--amber); border-radius: 0 11px 11px 0; }
.viewer { position: relative; aspect-ratio: 16 / 9; background: var(--well); border: 2px solid var(--line); border-radius: 20px; overflow: hidden; }
.stars, .stars2 { position: absolute; inset: -50%; background-repeat: repeat; }
.stars { background-image:
  radial-gradient(1.5px 1.5px at 20px 30px, #fff, transparent),
  radial-gradient(1px 1px at 120px 80px, #ffe9a8, transparent),
  radial-gradient(1px 1px at 200px 150px, #fff, transparent),
  radial-gradient(1.5px 1.5px at 300px 40px, #cfd8e6, transparent),
  radial-gradient(1px 1px at 60px 200px, #fff, transparent),
  radial-gradient(1px 1px at 250px 230px, #ffd66b, transparent);
  background-size: 340px 260px; animation: drift 90s linear infinite; opacity: .9; }
.stars2 { background-image:
  radial-gradient(1px 1px at 40px 60px, #fff, transparent),
  radial-gradient(1px 1px at 160px 20px, #9aa6b8, transparent),
  radial-gradient(1px 1px at 90px 140px, #fff, transparent),
  radial-gradient(1px 1px at 190px 110px, #fff, transparent);
  background-size: 220px 170px; animation: drift 45s linear infinite; opacity: .6; }
@keyframes drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-340px, -130px, 0); } }
.planet { position: absolute; right: -8%; bottom: -38%; width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #e8543c 0%, #a3121c 38%, #4a0710 70%, #12030a 100%);
  box-shadow: -10px -6px 60px rgba(232, 119, 30, .25); }
.viewer video.ship { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: transparent; }
.viewer .readout { z-index: 1; text-shadow: 0 1px 6px #000; position: absolute; left: 22px; bottom: 18px; display: flex; flex-direction: column; gap: 2px; font-family: var(--display); letter-spacing: .14em; }
.viewer .readout b { font-size: 26px; color: var(--ink); font-weight: 700; }
.viewer .readout span { font-size: 15px; color: var(--steel); }
.viewer .blip { z-index: 1; position: absolute; top: 18px; right: 20px; font-family: var(--display); font-size: 14px; letter-spacing: .14em; color: var(--gold); }
.viewer .blip::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); margin-right: 8px; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.hero .welcome { flex: 2 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.hero .welcome img { width: 100%; max-width: 380px; height: auto; display: block; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 52px; line-height: 1; letter-spacing: .04em; color: var(--gold); }
.hero p { margin: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- LCARS strips ---------- */
.strip { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--gap); min-height: 64px; }
.strip .head { flex: 0 0 auto; border-radius: 32px 0 0 32px; padding: 0 22px 0 30px; display: flex; align-items: center; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .08em; }
.strip .mid { flex: 1 1 320px; background: var(--panel2); padding: 10px 22px; display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: center; }
.strip .mid .k { font-family: var(--display); color: var(--steel); letter-spacing: .1em; font-size: 15px; margin-right: 6px; }
.strip .act { flex: 0 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: .08em; text-decoration: none; }
.strip .last { border-radius: 0 32px 32px 0; padding: 6px 30px 6px 22px; flex-direction: column; justify-content: center; align-items: flex-start; line-height: 1.1; }
.strip .last b { font-weight: 700; font-size: 19px; letter-spacing: .08em; }
.strip .last small { font-size: 13px; letter-spacing: .12em; }
.strip .soon { background: var(--chip); color: var(--steel); }

/* ---------- cards ---------- */
.grid { display: grid; gap: 18px; }
.grid.posts { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid.games { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid.guides { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.post { background: var(--panel); border-radius: 0 0 20px 20px; overflow: hidden; display: flex; flex-direction: column; }
.post .tab { height: 32px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .12em; }
.post .tab span + span { font-weight: 400; }
.post .in { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.15; }
.post h3 a { color: var(--ink); text-decoration: none; }
.post h3 a:hover { color: var(--pale); }
.post p { margin: 0; color: var(--muted); font-size: 16px; flex: 1; }
.more { font-family: var(--display); font-size: 16px; letter-spacing: .1em; text-decoration: none; }
.game { background: var(--panel); border-radius: 24px; padding: 18px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.game:hover { color: var(--ink); }
.game .art { aspect-ratio: 4 / 3; border-radius: 14px; background: var(--well); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.game .art img { height: 88%; width: auto; }
.game .name { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.15; }
.game .desc { font-size: 15px; color: var(--muted); flex: 1; }
.badge { align-self: flex-start; border-radius: 14px; padding: 2px 14px; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .1em; }
.art.hail { background: var(--navy); flex-direction: column; gap: 4px; }
.art.hail b { font-family: var(--display); font-weight: 700; font-size: 46px; letter-spacing: .06em; color: #fff; line-height: 1; }
.art.hail span { font-family: var(--display); font-size: 15px; letter-spacing: .2em; color: var(--pale); }
.art.gen { background: var(--red); flex-direction: column; gap: 2px; }
.art.gen b { font-family: var(--display); font-weight: 700; font-size: 40px; letter-spacing: .05em; color: var(--pale); line-height: 1; text-align: center; }
.art.gen span { font-family: var(--display); font-size: 15px; letter-spacing: .2em; color: #fff; }
.tile { min-height: 132px; padding: 14px 18px; border-radius: 30px 6px 6px 6px; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; }
.tile .c { font-family: var(--display); font-weight: 700; font-size: 42px; line-height: 1; letter-spacing: .04em; text-align: right; }
.tile .n { font-weight: 600; font-size: 16px; line-height: 1.2; display: block; }
.tile .m { font-family: var(--display); font-size: 14px; letter-spacing: .08em; display: block; }

/* ---------- split panels ---------- */
.split { display: flex; flex-wrap: wrap; gap: var(--gap); }
.split .l { flex: 0 1 280px; min-height: 280px; border-radius: 48px 0 0 48px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.split .r { flex: 999 1 420px; min-width: 0; background: var(--panel); border-radius: 0 48px 48px 0; padding: 30px 36px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.split .l .huge { font-family: var(--display); font-weight: 700; font-size: 110px; line-height: .85; letter-spacing: .02em; }
.split .l .lab { font-family: var(--display); font-size: 15px; letter-spacing: .16em; font-weight: 700; }
.split h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 58px; line-height: 1; letter-spacing: .03em; }
.split h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 1.1; }
.split p { margin: 0; max-width: 760px; }
.pre { font-family: var(--display); font-size: 18px; letter-spacing: .18em; color: var(--steel); }
.facts { margin: 4px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.facts div { background: var(--chip); border-radius: 16px; padding: 8px 16px; }
.facts dt { font-family: var(--display); font-size: 13px; letter-spacing: .14em; color: var(--steel); }
.facts dd { margin: 0; font-weight: 600; }
.credit { margin: 0; font-size: 15px; color: var(--dim); }
.credit .k { font-family: var(--display); letter-spacing: .12em; color: var(--steel); margin-right: 6px; }
.chip { display: inline-block; border-radius: 14px; padding: 2px 14px; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .1em; white-space: nowrap; }
.pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--muted); }

/* ---------- breadcrumb ---------- */
.crumb { font-family: var(--display); font-size: 16px; letter-spacing: .1em; color: var(--steel); text-transform: uppercase; }
.crumb a { text-decoration: none; }

/* ---------- series page ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button, .tabs a { min-width: 150px; height: 64px; padding: 6px 18px; border: 0; border-radius: 32px 8px 8px 32px; font-family: var(--display); text-align: right; cursor: pointer; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; text-decoration: none; }
.tabs .t1 { font-weight: 700; font-size: 22px; letter-spacing: .08em; line-height: 1.1; }
.tabs .t2 { font-size: 14px; letter-spacing: .08em; }
.tabs [aria-selected="true"] { background: var(--red) !important; color: #fff !important; }
.season { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 20px; }
.season h3 { margin: 0; font-family: var(--display); font-size: 22px; letter-spacing: .1em; color: var(--pale); }
.season .note { margin: 0; color: var(--muted); }
.js .season[hidden] { display: none; }
.eps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ep { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; background: var(--panel); border-radius: 0 26px 26px 0; padding: 10px 22px 10px 0; text-decoration: none; color: var(--ink); }
.ep:hover { color: var(--ink); background: #111829; }
.ep .num { flex: 0 0 76px; align-self: stretch; min-height: 52px; color: #000; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 24px; margin: -10px 0; }
.ep .ttl { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; }
.ep .ttl b { font-family: var(--display); font-weight: 600; font-size: 23px; line-height: 1.2; }
.ep .ttl span { font-size: 15px; color: var(--steel); }
.ep .why { flex: 2 1 320px; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.ep .why span:last-child { font-size: 15px; color: var(--muted); }
.ep .why .chip { font-size: 14px; letter-spacing: .08em; padding: 1px 12px; }

/* ---------- episode page ---------- */
.ep-title .l { flex-basis: 200px; min-height: 220px; padding: 24px; }
.ep-title .l .huge { font-size: 96px; }
.cols { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.cols .mainc { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 30px; }
.cols .side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.lead { margin: 0; font-size: 19px; }
.spoil { display: flex; flex-direction: column; gap: 12px; }
.spoil summary { list-style: none; background: var(--panel2); border-radius: 20px; padding: 18px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; color: var(--muted); }
.spoil summary::-webkit-details-marker { display: none; }
.spoil summary .pill { height: 44px; font-size: 17px; }
.spoil summary .hide { display: none; }
.spoil[open] summary { background: transparent; padding: 0 0 6px; }
.spoil[open] summary .msg { display: none; }
.spoil[open] summary .show { display: none; }
.spoil[open] summary .hide { display: inline-flex; background: transparent; color: var(--ink); border: 2px solid var(--red); }
.spoil .txt p { margin: 0 0 12px; }
.dyk { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.dyk li { display: flex; gap: 14px; background: var(--panel); border-radius: 0 20px 20px 0; padding: 14px 20px 14px 0; }
.dyk .n { flex: 0 0 52px; align-self: stretch; margin: -14px 0; background: var(--amber); color: #000; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 22px; }
.pn { display: flex; flex-wrap: wrap; gap: var(--gap); }
.pn a { flex: 1 1 240px; min-height: 76px; padding: 10px 24px; display: flex; flex-direction: column; justify-content: center; text-decoration: none; }
.pn a.prev { border-radius: 38px 0 0 38px; padding-left: 32px; }
.pn a.next { border-radius: 0 38px 38px 0; padding-right: 32px; align-items: flex-end; text-align: right; }
.pn .k { font-family: var(--display); font-size: 14px; letter-spacing: .14em; }
.pn b { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.15; }
.box { background: var(--panel); border-radius: 24px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.box h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .1em; color: var(--pale); }
.box.talk { background: var(--navy); color: #fff; border-radius: 30px 30px 30px 6px; padding: 22px 24px; }
.box.talk h2 { font-size: 22px; }
.box.talk p { margin: 0; font-size: 18px; }
.box.family { background: var(--panel2); }
.box p { margin: 0; }
.themes { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.themes li { background: var(--chip); border-radius: 14px; padding: 3px 14px; font-size: 15px; }
.cast { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.cast span { color: var(--steel); }
.sources { font-size: 14px; color: var(--dim); }
.sources summary { cursor: pointer; font-family: var(--display); letter-spacing: .12em; color: var(--steel); }
.sources ul { margin: 8px 0 0; padding-left: 18px; word-break: break-all; }
.plain { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }

/* ---------- article ---------- */
.article { max-width: 760px; display: flex; flex-direction: column; gap: 20px; }
.article h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 56px; line-height: 1.05; letter-spacing: .02em; color: var(--gold); }
.article .by { color: var(--steel); font-size: 15px; }
.article .body p { margin: 0 0 1.05em; font-size: 18px; line-height: 1.7; }
.article .body blockquote { margin: 0 0 1.05em; padding: 14px 22px; border-left: 6px solid var(--amber); background: var(--panel2); border-radius: 0 20px 20px 0; font-size: 20px; font-style: italic; }
.article sup { font-size: .7em; color: var(--steel); }
.article .notes { background: var(--panel); border-radius: 24px; padding: 20px 24px; font-size: 14px; color: var(--dim); }
.article .notes h2 { margin: 0 0 8px; font-family: var(--display); font-size: 18px; letter-spacing: .12em; color: var(--steel); }
.article .notes p { margin: 0 0 8px; word-break: break-word; }

/* ---------- about ---------- */
.about-intro { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.about-intro .t { flex: 3 1 460px; display: flex; flex-direction: column; gap: 14px; }
.about-intro .t p { margin: 0; max-width: 700px; }
.about-intro .i { flex: 2 1 280px; display: flex; justify-content: center; }
.about-intro .i img { width: 100%; max-width: 380px; height: auto; }
.what { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.what div { background: var(--panel); border-radius: 0 24px 24px 24px; padding: 20px; display: flex; flex-direction: column; gap: 6px; border-top: 6px solid var(--amber); }
.what div:nth-child(2) { border-top-color: var(--gold); }
.what div:nth-child(3) { border-top-color: var(--steel); }
.what div:nth-child(4) { border-top-color: var(--red); }
.what span { font-family: var(--display); font-size: 14px; letter-spacing: .14em; color: var(--steel); }
.what h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 26px; }
.what p { margin: 0; color: var(--muted); font-size: 16px; }
.idic .l { background: var(--navy); color: #fff; }
.idic .l .q { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1.1; color: var(--pale); }
.crew { display: flex; flex-wrap: wrap; gap: 14px; }
.crew .m { display: flex; align-items: stretch; background: var(--panel); border-radius: 0 30px 30px 0; overflow: hidden; min-width: 280px; }
.crew .m .bar { flex: 0 0 18px; background: var(--red); }
.crew .m div:last-child { padding: 16px 24px; display: flex; flex-direction: column; }
.crew .m b { font-family: var(--display); font-size: 26px; font-weight: 600; }
.crew .m span { font-family: var(--display); font-size: 14px; letter-spacing: .14em; color: var(--steel); }
.fiction-note { background: var(--panel2); border: 2px dashed var(--amber); border-radius: 20px; padding: 16px 22px; display: flex; flex-direction: column; gap: 4px; }
.fiction-note b { font-family: var(--display); letter-spacing: .14em; color: var(--amber); font-size: 15px; }
.ship { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.specs { flex: 1 1 300px; margin: 0; background: var(--panel); border-radius: 30px; overflow: hidden; }
.specs .h { background: var(--red); color: #fff; font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: .1em; padding: 14px 24px; }
.specs div:not(.h) { padding: 12px 24px; border-top: 1px solid var(--line); }
.specs dt { font-family: var(--display); font-size: 13px; letter-spacing: .14em; color: var(--steel); }
.specs dd { margin: 0; font-weight: 600; }
.timeline { flex: 2 1 420px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.timeline li { display: flex; gap: 18px; background: var(--panel); border-radius: 0 24px 24px 0; padding: 16px 22px 16px 0; }
.timeline .yr { flex: 0 0 90px; align-self: stretch; margin: -16px 0; background: var(--gold); color: #000; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 24px; }
.timeline li:nth-child(2) .yr { background: var(--amber); }
.timeline li:nth-child(3) .yr { background: var(--steel); }
.timeline li:nth-child(4) .yr { background: var(--pale); }

/* ---------- contact ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.form-box { flex: 3 1 460px; min-width: 0; background: var(--panel); border-radius: 0 40px 40px 40px; overflow: hidden; }
.form-box .h { height: 34px; background: var(--navy); color: #fff; padding: 0 22px; display: flex; align-items: center; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .14em; }
.form-box form > .fld { flex: none; }
.form-box form { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 18px; }
.form-box h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 30px; }
.row2 { display: flex; flex-wrap: wrap; gap: 16px; }
.fld { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.fld label { font-family: var(--display); font-size: 15px; letter-spacing: .12em; color: var(--steel); }
.fld input, .fld select, .fld textarea { height: 48px; padding: 0 16px; border: 2px solid var(--line); border-radius: 14px; background: var(--well); color: var(--ink); font: inherit; width: 100%; }
.fld textarea { height: auto; padding: 14px 16px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--gold); flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; }
.aside { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.come { background: var(--red); color: #fff; border-radius: 40px 40px 40px 8px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.come h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1.05; }
.come ul { margin: 0; padding-left: 20px; }
.come .k { font-family: var(--display); font-size: 15px; letter-spacing: .16em; color: var(--pale); }
.come .note { background: rgba(0,0,0,.28); border-radius: 16px; padding: 10px 16px; font-size: 15px; }

/* ---------- footer ---------- */
.foot-row { display: flex; flex-wrap: wrap; }
.foot-row .fs { flex: 0 0 var(--side); background: var(--navy); }
.foot-row .fc { flex: 999 1 560px; min-width: 0; padding: 26px 0 22px 32px; display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.foot-row .fc p { margin: 0; max-width: 560px; font-size: 14px; color: var(--dim); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--display); letter-spacing: .1em; font-size: 15px; }
.foot-links a { text-decoration: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  :root { --side: 92px; --elbow: 120px; }
  .side-stack div, .blk { font-size: 12px; }
  .brand img { height: 60px; }
  .brand .t1 { font-size: 30px; }
  .brand .t2 { font-size: 13px; letter-spacing: .12em; }
  main { padding-left: 20px; }
  .series-col a .y { display: none; }
  .series-col a { justify-content: flex-end; }
}
@media (max-width: 640px) {
  :root { --side: 34px; --elbow: 60px; }
  .page { padding: 10px; }
  .side-stack { display: none; }
  .brand-nav { padding: 6px 0 12px; gap: 14px; }
  .brand { gap: 12px; }
  .brand img { height: 52px; }
  .brand .t1 { font-size: 26px; }
  .brand .t2 { font-size: 12px; letter-spacing: .08em; }
  .main-nav { gap: 6px; }
  .pill { height: 40px; padding: 0 16px; font-size: 16px; }
  .elbow { height: 54px; }
  .elbow .corner::after { height: 36px; }
  .elbow.down .corner { border-bottom-left-radius: 40px; }
  .elbow.up .corner { border-top-left-radius: 40px; }
  .elbow .corner::after { border-radius: 0 !important; }
  .elbow.down .corner::after { border-bottom-left-radius: 16px !important; }
  .elbow.up .corner::after { border-top-left-radius: 16px !important; }
  .elbow .bars { height: 18px; }
  .elbow .bars > div:nth-child(n+3):not(:last-child) { display: none; }
  .elbow.foot { height: 46px; }
  .elbow.foot .corner::after { height: 28px; }
  .frame-body { flex-direction: column; flex-wrap: nowrap; }
  .series-col { flex: none; min-width: 0; flex-direction: row; overflow-x: auto; padding: 0 0 6px; scrollbar-width: thin; }
  .series-col .label, .series-col .fill { display: none; }
  .series-col a { flex: 0 0 auto; height: 42px; padding: 0 12px 4px; border-radius: 0; }
  .series-col a:first-of-type { border-radius: 21px 0 0 21px; }
  .series-col a .c { font-size: 18px; }
  main { padding: 18px 0 30px; gap: 36px; }
  h1.big { font-size: 46px; }
  .hero h1 { font-size: 42px; }
  .bar-h h2 { font-size: 24px; }
  .bar-h .cap { flex-basis: 22px; }
  .bar-h .tail { flex-basis: 30px; }
  .bar-h.s h2 { font-size: 21px; }
  .strip .head, .strip .last { border-radius: 0; }
  .strip .head { flex: 1 1 100%; border-radius: 26px 26px 0 0; padding: 12px 22px; }
  .strip .mid { flex-basis: 100%; }
  .strip .act { flex: 1 1 auto; min-height: 52px; justify-content: center; }
  .strip .last { border-radius: 0 0 26px 26px; flex: 1 1 100%; align-items: center; }
  .split .l, .split .r { border-radius: 0; flex-basis: 100%; }
  .split .l { border-radius: 32px 32px 0 0; min-height: 0; flex-direction: row; align-items: flex-end; flex-wrap: wrap; }
  .split .r { border-radius: 0 0 32px 32px; padding: 22px; }
  .split .l .huge { font-size: 72px; }
  .ep-title .l .huge { font-size: 64px; }
  .split h1 { font-size: 40px; }
  .split h2 { font-size: 30px; }
  .article h1 { font-size: 40px; }
  .tabs button, .tabs a { min-width: 0; flex: 1 1 130px; height: 56px; }
  .ep { padding-right: 16px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div { padding: 8px 12px; }
  .ep .num { flex-basis: 64px; font-size: 20px; }
  .pn a.prev, .pn a.next { border-radius: 26px; }
  .pn a.next { align-items: flex-start; text-align: left; }
  .foot-row .fc { padding-left: 14px; }
  .timeline .yr { flex-basis: 70px; font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .stars, .stars2, .viewer .blip::before { animation: none; }
  html { scroll-behavior: auto; }
}
