/* Home page "Next launch" strip */
.nl { padding: 0 0 clamp(60px, 7vw, 90px); }
.nl[hidden] { display: none; }
.nl-wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--sp-16) var(--sp-48); padding: var(--sp-32) var(--sp-32); border-radius: var(--radius);
  background: radial-gradient(70% 120% at 85% 20%, rgba(255, 170, 90, .18), transparent 60%), linear-gradient(160deg, #1d3058, var(--night) 70%); color: #f3ebdc; }
.nl-eye { grid-column: 1 / -1; margin: 0; color: #ffcf6b; }
.nl-item { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-32); align-items: start; }
.nl-item[hidden] { display: none; }
.nl-when { margin: 0; display: flex; flex-direction: column; gap: var(--sp-8); }
.nl-day { font: 600 .75rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: rgba(243, 235, 220, .75); }
.nl-time { font: 500 italic 2.1rem/1 var(--serif); color: #ffcf6b; white-space: nowrap; }
.nl-title { margin: 0 0 var(--sp-8); font-size: var(--h3-card); color: #fbf4e6; }
.nl-text { margin: 0; color: rgba(243, 235, 220, .85); }
@media (max-width: 760px) {
  .nl-wrap { grid-template-columns: 1fr; padding: var(--sp-24) var(--sp-24); }
  .nl-item { grid-template-columns: 1fr; gap: var(--sp-8); }
  .nl-when { flex-direction: row; align-items: baseline; gap: var(--sp-12); }
  .nl-time { font-size: 1.5rem; }
  .nl-btn { justify-self: start; }
}

/* Launch Watch page (/launches/) */
.sn-launch { margin: 0 0 var(--sp-16); color: var(--ink-2); }
.sn-launch a { color: var(--tile); font-weight: 600; }
.lw-map-sec { padding: var(--sp-48) 0 var(--sp-8); }
.lw-map-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .07); }
.lw-map { height: min(66vh, 620px); min-height: 420px; background: #0d1a30; }
.lw-cap { position: absolute; left: 14px; bottom: 14px; right: 60px; margin: 0; max-width: 34em; padding: var(--sp-12) var(--sp-16); border-radius: var(--radius);
  background: rgba(10, 20, 36, .86); color: #f3ebdc; font-size: .9rem; line-height: 1.45; pointer-events: none; }
.lw-cap:empty { display: none; }

.lw-pin { display: flex; align-items: center; gap: var(--sp-8); pointer-events: none; }
.lw-dot { width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid #0a1424; flex: none; }
.lw-lab { font: 600 .75rem/1 var(--sans); color: #fbf4e6; background: rgba(10, 20, 36, .8); padding: var(--sp-4) var(--sp-8); border-radius: 8px; white-space: nowrap; }
.pin-pad .lw-dot { background: #ffb867; box-shadow: 0 0 0 5px rgba(255, 184, 103, .25); }
.pin-town .lw-dot { background: #9cc5bb; box-shadow: 0 0 0 5px rgba(156, 197, 187, .25); }
.pin-boat .lw-dot { width: 11px; height: 11px; background: #f3ebdc; }
.pin-boat .lw-lab { font-weight: 500; }
.lw-pin.is-below { flex-direction: column; gap: var(--sp-8); }
.lw-pin.is-below .lw-lab { text-align: center; line-height: 1.25; }
.lw-lab small { display: block; font-weight: 500; font-size: .92em; color: #cfe5df; }

.lw-sec { padding-top: var(--sp-48); }
.lw-list { list-style: none; margin: 0 0 var(--sp-48); padding: 0; border-top: 1.5px solid rgba(243, 235, 220, .3); }
.lw { display: grid; grid-template-columns: 170px 1fr; gap: var(--sp-24); padding: var(--sp-24) var(--sp-12); border-bottom: 1px solid rgba(243, 235, 220, .12); border-radius: 4px; transition: background .3s var(--ease); }
.lw.is-sel { background: rgba(255, 207, 107, .06); }
.lw-when { display: flex; flex-direction: column; gap: var(--sp-8); padding-top: var(--sp-4); }
.lw-day { font: 600 .75rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: rgba(243, 235, 220, .7); }
.lw-time { font: 500 italic 1.75rem/1 var(--serif); color: #ffcf6b; }
.lw-title { margin: 0 0 var(--sp-8); font-size: var(--h3-card); color: #fbf4e6; }
.lw-text, .lw-path { margin: 0; color: rgba(243, 235, 220, .85); max-width: 46em; }
.lw-path { margin-top: var(--sp-8); font-size: .9rem; color: rgba(243, 235, 220, .7); }
.lw-sky { display: inline-block; margin-right: var(--sp-8); padding: .3em .7em; border-radius: var(--r-tag); font: 600 .75rem/1.2 var(--sans); letter-spacing: .05em; text-transform: uppercase; vertical-align: .1em; border: 1.5px solid rgba(243, 235, 220, .3); color: #f3ebdc; }
.sky-prime { background: #ffcf6b; border-color: #ffcf6b; color: #0a1424; }
.sky-possible { border-color: #ffcf6b; color: #ffcf6b; }
.sky-tbd { border-style: dashed; }
.sky-moved { border-color: #ffa94d; color: #ffa94d; }
.lw-moved { margin: var(--sp-8) 0 0; font-size: .9rem; font-weight: 600; color: #ffc285; }
.lw-btn { margin-top: var(--sp-12); font: 600 .82rem/1 var(--sans); color: #fbf4e6; background: transparent; border: 1.5px solid rgba(243, 235, 220, .35); padding: .7em 1.1em; border-radius: var(--r-ctl); cursor: pointer; }
.lw-btn:hover, .lw-btn:focus-visible { border-color: #ffcf6b; color: #ffcf6b; }
.lw-btn[aria-pressed="true"] { background: #ffcf6b; border-color: #ffcf6b; color: #0a1424; }
.lw-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-24); margin: 0 0 var(--sp-32); }
.lw-how > div { padding: var(--sp-24); border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.lw-how h2 { margin: 0 0 var(--sp-8); }
.lw-how p { margin: 0; color: rgba(243, 235, 220, .8); }
.lw-how a { color: #ffcf6b; }
.night-page .fine-print { color: rgba(243, 235, 220, .6); }
@media (max-width: 900px) { .lw-how { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .lw { grid-template-columns: 1fr; gap: var(--sp-8); padding: var(--sp-20) var(--sp-4); }
  .lw-when { flex-direction: row; align-items: baseline; gap: var(--sp-12); }
  .lw-time { font-size: 1.5rem; }
  .lw-map { min-height: 380px; height: 58vh; }
  .lw-cap { position: static; max-width: none; border-radius: 0; background: #0a1424; }
}

/* Launch Watch flagship (2026-11-25): answer card, twilight scale, board, watch spots, calendar, questions */
.ph.lx-hero { position: relative; overflow: hidden; isolation: isolate; padding-bottom: var(--sp-24);
  background: radial-gradient(70% 60% at 80% 30%, rgba(255, 170, 90, .14), transparent 60%), radial-gradient(120% 100% at 50% -10%, #1d3058 0%, var(--night) 62%); }
.ph.lx-hero h1 { max-width: 24ch; color: #fbf4e6; } /* .ph beats pages.css's .ph h1, which loads after this file */
.lx-hero .crumbs a { color: var(--sun-2); }
.lx-hero .share-btn { color: inherit; border-color: rgba(255, 255, 255, .35); }
.lx-hero .share-btn:hover { color: #fff; border-color: rgba(255, 255, 255, .7); }
.lx-checked { margin: 0; font-size: .9rem; color: rgba(243, 235, 220, .72); }

.lx-next-sec { padding: 0 0 var(--sp-48); }
.lx-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(70% 120% at 0% 0%, rgba(255, 170, 90, .14), transparent 60%), linear-gradient(160deg, #1d3058, var(--night-2) 75%);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08); }
.lx-card[hidden] { display: none; }
.lx-card-b { padding: var(--sp-32); min-width: 0; }
.lx-k { margin: 0; font: 600 .75rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #ffcf6b; }
.lx-when { margin: var(--sp-8) 0 0; }
.lx-time { font: 400 clamp(2.5rem, 6vw, 4rem)/1 var(--serif); /* type-ok: display */ color: #ffcf6b; }
.lx-cd { display: flex; flex-wrap: wrap; gap: var(--sp-8); margin: var(--sp-16) 0 0; min-height: 56px; }
.lx-cd span { display: flex; align-items: baseline; gap: var(--sp-4); padding: var(--sp-8) var(--sp-12); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .07);
  font: 600 .75rem/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; color: rgba(243, 235, 220, .7); }
.lx-cd b { font: 400 1.75rem/1 var(--serif); letter-spacing: 0; color: #fbf4e6; font-variant-numeric: tabular-nums; min-width: 1.2em; text-align: right; }
.lx-cd.is-now { align-items: center; font: 600 1rem/1.4 var(--sans); color: #ffcf6b; }
.no-js .lx-cd { display: none; }
.lx-hold { margin: var(--sp-16) 0 0; font-weight: 600; color: #ffc285; }
.lx-tbc { display: inline-block; vertical-align: middle; margin-left: var(--sp-8); padding: var(--sp-4) var(--sp-8); border-radius: var(--radius-sm); font: 600 .75rem/1.2 var(--sans); color: #ffc285; background: rgba(255, 194, 133, .12); }
/* without JavaScript the map can't draw: its box, the map buttons and "See the flight path" go, the note stays */
.no-js .lx-board .lw-map, .no-js .lx-board .lw-btn, .no-js .lx-card .lx-path[data-id] { display: none; }
.lx-nomap { margin: 0; padding: var(--sp-16); color: rgba(243, 235, 220, .82); background: #0d1a30; }
.lx-board .lw[hidden], .lx-scale .lx-mark[hidden] { display: none; }
.lx-title { margin: var(--sp-16) 0 var(--sp-8); font-size: var(--h3-card); line-height: 1.2; color: #fbf4e6; }
.lx-see { margin: 0; color: rgba(243, 235, 220, .88); max-width: 40em; }
.lx-boom { margin: var(--sp-8) 0 0; font-size: .9rem; font-weight: 600; color: #ffc285; max-width: 44em; }
.lx-acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-8); margin-top: var(--sp-16); color: rgba(243, 235, 220, .88); }
.lx-acts .add-cal { margin-top: 0; }
.lx-path { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1.1em; border-radius: var(--r-ctl); background: #ffcf6b; color: #0a1424; font: 600 .82rem/1 var(--sans); text-decoration: none; }
.lx-path:hover, .lx-path:focus-visible { background: #ffe0a0; }
.lx-ph { position: relative; margin: 0; min-height: 260px; background: #070d18; }
.lx-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 68%; }
.lx-ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--sp-24) 52px var(--sp-12) var(--sp-16); /* sp-ok: room for the credit button */
  background: linear-gradient(transparent, rgba(5, 10, 20, .85)); font-size: .75rem; color: rgba(243, 235, 220, .8); }

/* The twilight scale: daylight, sunset, the jellyfish window, night; marks are launches */
.lx-scale { position: relative; margin-top: var(--sp-16); padding-top: calc(var(--rows, 1) * 18px + 8px); max-width: 560px; }
.lx-scale.is-big { max-width: none; margin: 0 0 var(--sp-32); padding-top: calc(var(--rows, 1) * 22px + 12px); }
.lx-bar { position: relative; height: 10px; }
.lx-scale.is-big .lx-bar { height: 16px; }
.lx-z { position: absolute; top: 0; bottom: 0; }
.lx-z:first-child { border-radius: 999px 0 0 999px; }
.lx-z:nth-child(5) { border-radius: 0 999px 999px 0; }
.z-day { background: linear-gradient(90deg, #8fb9dc, #c9dbe6); }
.z-possible { background: #e98d4c; }
.z-prime { background: linear-gradient(90deg, #f6a75a, #ffcf6b 50%, #f6a75a); }
.z-night { background: linear-gradient(90deg, #3a4f86, #1a2748); }
.lx-mark { position: absolute; top: -6px; bottom: -6px; width: 0; }
.lx-mark i { position: absolute; left: -2px; top: 0; bottom: 0; width: 4px; border-radius: 2px; background: #fbf4e6; box-shadow: 0 0 0 2px var(--night); }
.lx-mark b { position: absolute; bottom: calc(100% + 4px + var(--row, 0) * 20px); left: 0; transform: translateX(-50%); white-space: nowrap;
  font: 600 .75rem/1.2 var(--sans); color: #fbf4e6; }
.lx-scale.is-big .lx-mark b { bottom: calc(100% + 4px + var(--row, 0) * 22px); }
.lx-mark.is-r b { transform: translateX(-100%); left: 4px; }
.lx-mark.is-l b { transform: none; left: -4px; }
.lx-scale-l, .lx-scale-t { position: relative; height: 1.4em; margin-top: var(--sp-8); }
.lx-scale-l span, .lx-scale-t span { position: absolute; transform: translateX(-50%); white-space: nowrap; font: 600 .68rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: rgba(243, 235, 220, .7); }
.lx-scale-t { margin-top: var(--sp-4); }
.lx-scale-t span { font-weight: 500; letter-spacing: 0; text-transform: none; font-size: .75rem; color: rgba(243, 235, 220, .55); }

.lx-h2 { margin: 0 0 var(--sp-16); font-size: var(--h2-sec); color: #fbf4e6; }
.lx-intro { margin: 0 0 var(--sp-24); max-width: 46em; color: rgba(243, 235, 220, .8); }
.lx-more { margin: var(--sp-24) 0 0; font-size: .9rem; color: rgba(243, 235, 220, .75); }
.lx-more a, .lx-q a { color: #ffcf6b; }

/* Every launch: list beside a sticky map on wide screens */
.lx-board-sec { padding-top: 0; }
.lx-board .lw-list { margin: 0; }
.lx-board .lw-map-sec { padding: var(--sp-24) 0 0; }
@media (min-width: 1100px) {
  .lx-board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--sp-32); align-items: start; }
  .lx-board .lw { grid-template-columns: 130px 1fr; }
  .lx-board .lw-map-sec { position: sticky; top: 96px; padding: 0; }
  .lx-board .lw-map { height: min(72vh, 640px); }
}

/* What you'll see */
.lx-looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-24); }
.lx-look { min-width: 0; }
.lx-look-ph { position: relative; margin: 0 0 var(--sp-12); aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #070d18; }
.lx-look-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lx-look-ph:has(> .pcred[open]) { overflow: visible; } /* the credit note shows whole, as photos.css does for thumbnails */
.lx-look.is-prime img { object-position: 30% 70%; }
.lx-look-day { background: linear-gradient(180deg, #5f93c6, #b9d3e6); }
.lx-look-day svg { width: 100%; height: 100%; display: block; }
.lx-trail { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; opacity: .9; }
.lx-look-h { margin: 0 0 var(--sp-4); font-size: var(--h2-card); color: #fbf4e6; }
.lx-look p { margin: 0; color: rgba(243, 235, 220, .8); }

/* Where to watch */
.lx-spots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-24); }
@media (max-width: 1000px) { .lx-spots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .lx-spots { grid-template-columns: 1fr; gap: var(--sp-16); } }
.lx-spot { border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, .04); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.lx-spot .pcard { margin: 0; }
.lx-spot .pcard img { border-radius: 0; background: #0d1a30; }
.lx-spot-b { padding: var(--sp-16) var(--sp-20) var(--sp-20); }
.lx-spot-n { margin: 0 0 var(--sp-4); font-size: var(--h2-card); }
.lx-spot-n a { color: #fbf4e6; text-decoration: none; }
.lx-spot-n a:hover { color: #ffcf6b; }
.lx-spot-d { margin: 0 0 var(--sp-8); font: 600 .75rem/1.3 var(--sans); letter-spacing: .05em; text-transform: uppercase; color: #ffcf6b; }
.lx-spot-l { margin: 0; font-size: .9rem; color: rgba(243, 235, 220, .82); }
.lx-sky { display: block; width: 100%; height: auto; margin: var(--sp-12) 0 var(--sp-4); }
.lx-sky-land { fill: #4a64a3; }
.lx-sky-e { fill: rgba(243, 235, 220, .7); stroke: #141d2e; stroke-width: 3px; paint-order: stroke; font: 500 9px var(--sans); /* type-ok: svg/drawn label */ }
.lx-sky-eye { stroke: rgba(243, 235, 220, .4); stroke-width: 1; stroke-dasharray: 3 3; }
.lx-sky-pad { stroke: #ffcf6b; stroke-width: 1.5; }
.lx-sky-dot { fill: #ffcf6b; }
.lx-sky-t { fill: #ffcf6b; font: 600 10px var(--sans); /* type-ok: svg/drawn label */ }
.lx-spot-s { margin: 0; font-size: .82rem; color: rgba(243, 235, 220, .68); }

/* Calendar */
.lx-cal-sec { padding-top: 0; }
.lx-cal { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-24); align-items: center; padding: var(--sp-32); border-radius: var(--radius);
  background: rgba(255, 207, 107, .07); box-shadow: 0 0 0 1px rgba(255, 207, 107, .22); }
.lx-cal p { margin: 0; max-width: 40em; color: rgba(243, 235, 220, .82); }
.lx-cal .lx-h2 { margin-bottom: var(--sp-8); }
.lx-cal-b { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-12); }
.lx-cal .lx-btn-g { --b: transparent; --c: #f3ebdc; box-shadow: inset 0 0 0 1.5px rgba(243, 235, 220, .45); }
.lx-cal-more { color: #ffcf6b; font-weight: 600; font-size: .9rem; }

/* Questions */
.lx-faq { display: grid; max-width: 52em; border-top: 1px solid rgba(243, 235, 220, .14); }
.lx-q { border-bottom: 1px solid rgba(243, 235, 220, .14); }
.lx-q summary { cursor: pointer; padding: var(--sp-16) 0; font: 600 1.12rem/1.35 var(--sans); color: #fbf4e6; }
.lx-q p { margin: 0 0 var(--sp-16); color: rgba(243, 235, 220, .82); }

@media (max-width: 900px) {
  .lx-card { grid-template-columns: 1fr; }
  .lx-ph { min-height: 0; aspect-ratio: 16 / 9; }
  .lx-looks { grid-template-columns: 1fr; }
  .lx-look { display: grid; grid-template-columns: 120px 1fr; gap: 0 var(--sp-16); align-items: start; }
  .lx-look-ph { grid-row: span 2; margin: 0; }
  .lx-look-ph > .pcred .pcred-t { right: auto; left: 0; } /* thumbnail sits at the left: the note opens rightward */
  .lx-cal { grid-template-columns: 1fr; padding: var(--sp-24); }
}
@media (max-width: 600px) {
  .lx-card-b { padding: var(--sp-24) var(--sp-16); }
  .lx-cd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lx-cd span { flex-direction: column; align-items: center; gap: var(--sp-4); padding: var(--sp-8) var(--sp-4); font-size: .68rem; }
  .lx-cd b { font-size: 1.5rem; min-width: 0; text-align: center; }
  .lx-cd.is-now { display: flex; }
  .lx-look { grid-template-columns: 96px 1fr; }
  .lx-spot-b { padding: var(--sp-16); }
}
