:root {
  color-scheme: light;
  --pad: clamp(20px, 3.4vw, 52px);
  --lake: #90A9BD; --lake-edge: #84A2B9; --lake-deep: #7C9AB1;
  --margin: 46px;
}
* { box-sizing: border-box; }
html { overflow-x: hidden; overflow-y: scroll; background: var(--lake-deep); }
body { margin: 0; color: var(--ink); font: 450 16px/1.5 var(--text); -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: #F4F0E8; }

.hero { position: relative; height: 100vh; height: 100svh; height: var(--hero-h, 100svh); overflow: hidden; background: var(--lake); }
.plate, .plate-l { position: absolute; inset: 0; }
.plate-l { opacity: 0; transition: opacity 0.6s cubic-bezier(0.3, 0.1, 0.3, 1); }
.plate-l.is-in { opacity: 1; }
.plate img, .plate canvas { position: absolute; display: block; max-width: none; }
.plate [hidden] { display: none; }
.plate, .plate *, .hero canvas { -webkit-user-select: none; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 0; pointer-events: none; opacity: 0; }
.hero-fade.is-on { opacity: 1; }
.drones, .hero-ov { position: absolute; left: 0; top: 0; display: block; pointer-events: none; }
.hero-ov { z-index: 3; }
.hero-nav, .hero-name { position: absolute; z-index: 2; visibility: hidden; opacity: 0; transition: opacity 0.5s cubic-bezier(0.25, 0.6, 0.3, 1); }
.type-in .hero-nav, .type-in .hero-name, .no-hero .hero-nav, .no-hero .hero-name { visibility: visible; opacity: 1; }
.hero-nav { left: 46px; top: 40px; font-size: 15px; }
.hero-name { left: 0; right: 0; top: 13vh; text-align: center; font-size: 8.7vw; }
[data-name="left"] .hero:not(.type-in) .hero-name { text-align: left; padding: 0 var(--margin); }
[data-name="right"] .hero:not(.type-in) .hero-name { text-align: right; padding: 0 var(--margin); }
.hero-nav ul { display: flex; gap: var(--gap, 0 26px); margin: 0; padding: 0; list-style: none; font: 450 1em/1 var(--text); white-space: nowrap; }
.hero-nav.is-wrap ul { flex-wrap: wrap; }
.hero:not(.type-in) .hero-nav { right: 20px; }
.hero:not(.type-in) .hero-nav ul { flex-wrap: wrap; row-gap: 10px; }
.hero-nav.is-end ul { justify-content: flex-end; }
.hero-nav a { position: relative; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.32em; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: text-decoration-color 0.2s linear; }
.hero-nav a:hover { text-decoration-color: currentColor; }
.hero-nav a::before { content: ""; position: absolute; inset: -9px -7px -10px; }

.notes { position: relative; color: var(--ink); background: var(--notes-bg, linear-gradient(var(--lake-edge), var(--paper) 280px)); padding: calc(var(--ramp, clamp(180px, 26vh, 260px)) * 0.62) var(--margin) clamp(104px, 16vh, 176px); }
.notes-in { width: min(100%, 880px); }
[data-name="centre"] .notes-in { margin: 0 auto; }
[data-name="right"] .notes-in { margin-left: auto; }
.notes-h { margin: 0 0 26px; font: 500 13px/1 var(--text); letter-spacing: 0.02em; }
.notes-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid color-mix(in srgb, var(--ink) 26%, transparent); }
.notes-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 10px 32px; padding: 22px 0 21px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 26%, transparent); color: inherit; text-decoration: none; }
.notes-t { font: 400 clamp(26px, 2.4vw, 36px)/1.15 var(--disp); letter-spacing: -0.004em; text-wrap: balance; }
.notes-list a:hover .notes-t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.17em; }
.notes-list a:focus-visible { outline-offset: 6px; }
.notes-list time { font: 450 14px/1 var(--text); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
@media (max-width: 600px) {
  .notes { padding: calc(var(--ramp, clamp(180px, 26vh, 260px)) * 0.62) 20px 96px; }
  .notes-list a { grid-template-columns: 1fr; gap: 10px; padding: 20px 0 19px; }
}

:root[data-content^="launch"] .notes-in { display: none; }
:root[data-content^="launch"] .notes { padding: var(--ramp, clamp(180px, 26vh, 260px)) 0 0; }

#site-footer { scroll-margin-top: 0; }

@font-face { font-family: "Fragment Mono"; src: url("fonts/fragment-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
body.page { background: var(--paper); color: var(--paper-ink); }
.page-top { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; width: min(100% - 2 * var(--pad), 760px); margin: 0 auto; padding: 28px 0 0; }
.page-top .mark { font-size: 27px; font-weight: 340; }
.page-top .lk { --lk: 36px; position: relative; display: inline-block; font-size: var(--lk); font-weight: 380; letter-spacing: -0.006em; padding-bottom: calc(var(--lk) * 0.26); }
.page-top .lk:is([data-desc="on"], [data-desc="station"]) { padding-bottom: calc(var(--lk) * 0.19 + 22px); }
.lk .lk-mark { display: inline-flex; align-items: flex-end; vertical-align: -0.012em; line-height: 0; margin-right: var(--gap, 0em); }
.lk .lk-mark:empty { display: none; }
.lk .lk-svg { display: block; flex: none; fill: currentColor; overflow: visible; }
.lk .lk-rule { display: block; flex: none; width: 0; height: 0.98em; margin: 0 0 -0.17em 0.15em; border-left: 0.5px solid currentColor; opacity: 0.6; }
.lk .lk-sp { font-size: 0; }
.lk .lk-b { position: absolute; right: 0.069em; top: 3.12em; font-size: 0.29em; text-transform: lowercase; font-variant-caps: small-caps; font-weight: 500; letter-spacing: 0.16em; margin-right: -0.16em; }
.lk .lk-desc { position: absolute; left: calc(var(--lk) * var(--mk, 0) + 0.02 * var(--lk)); top: calc(var(--lk) * 1.19 + 9px); font: 400 13px/1 var(--disp); letter-spacing: 0.01em; color: var(--paper-muted); white-space: nowrap; }
.lk .lk-desc:empty { display: none; }
.lk .lk-desc :is(.lk-k, .lk-c) { font: 400 11px/1 "Fragment Mono", ui-monospace, "SF Mono", Menlo, monospace; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.lk .lk-desc .lk-k { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.lk .lk-desc .lk-c { margin-left: 12px; }
.lk .lk-desc .lk-c:first-child { margin-left: 0; }
.lk .lk-desc .lk-s { font-size: 0; line-height: 0; letter-spacing: 0; word-spacing: 0; }
.page-top a { color: inherit; text-decoration: none; }
.page-notes { color: var(--paper-muted) !important; font-size: 14px; }
.page-top .page-notes { margin-right: calc(100% - min(100%, 532px)); }
[data-generated="notes-index"] .page-top .page-notes { margin-right: 0; }
.page-notes:hover { color: var(--paper-ink) !important; }
.note { width: min(100% - 2 * var(--pad), 760px); margin: 0 auto; padding: clamp(56px, 10vh, 120px) 0 clamp(96px, 15vh, 170px); }
.note-meta { display: flex; gap: 18px; margin-bottom: 26px; }
.note-meta a { color: inherit; text-decoration: none; }
.note-meta a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.note .t-title { margin-bottom: 14px; }
.note .t-dek { margin-bottom: 40px; max-width: 30em; }
.note .t-quote { margin: 42px 0 44px; }
.note .t-quote p { margin: 0; }
.note-end { margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--paper-rule); max-width: 32em; display: flex; justify-content: space-between; gap: 24px; }
.note-end a { color: var(--paper-ink); font: 300 27px/1.15 var(--disp); letter-spacing: -0.004em; text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.note-end a[rel="next"] { text-align: right; }
.note-end a:hover .note-end-t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.17em; }
.note-end a time { font-variant-numeric: lining-nums tabular-nums; }
.note.stub, .note.notes-index { min-height: calc(100vh - 55px); min-height: calc(100svh - 55px); }
.stub .t-dek { margin-bottom: 0; }
.stub .t-dek a, .stub-home a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.24em; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.stub-home { margin: clamp(36px, 6vh, 56px) 0 0; font: 460 16px/1 var(--text); color: var(--paper-ink); }
.stub-home a { padding: 6px 0 8px; }
.stub .t-dek a:hover, .stub-home a:hover { text-decoration-color: currentColor; }
.notes-index .t-title { margin-bottom: clamp(36px, 6vh, 56px); }

.fig { margin: 46px 0 40px; max-width: 32em; }
.fig-plot { position: relative; color: var(--paper-ink); }
.fig-series .fig-plot { height: 150px; margin: 30px 0 30px 34px; outline: none; touch-action: pan-y; cursor: crosshair; }
.fig-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; display: block; }
.fig-map .fig-plot svg { position: static; height: auto; }
.fig-grid { stroke: var(--paper-rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.fig-ref { stroke: var(--paper-muted); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0.55; }
.fig-line { fill: none; stroke: currentColor; stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.fig-labels { position: absolute; inset: 0; pointer-events: none; font: 450 12px/1 var(--text); color: var(--paper-muted); font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0.01em; }
.fig-y { position: absolute; right: calc(100% + 9px); transform: translateY(-50%); white-space: nowrap; }
.fig-x { position: absolute; top: calc(100% + 10px); transform: translateX(-50%); white-space: nowrap; }
.fig-x.is-first { transform: none; }
.fig-x.is-last { transform: translateX(-100%); }
.fig-reflabel { position: absolute; right: 0; transform: translateY(-100%); padding-bottom: 4px; white-space: nowrap;
  text-shadow: 0 0 3px var(--paper), 0 0 3px var(--paper), 0 0 6px var(--paper); }
.fig-cross { position: absolute; top: 0; bottom: 0; width: 1px; margin-left: -0.5px; background: var(--paper-ink); opacity: 0; pointer-events: none; }
.fig-dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--paper-ink); box-shadow: 0 0 0 2px var(--paper); opacity: 0; pointer-events: none; }
.fig-read { position: absolute; bottom: calc(100% + 8px); white-space: nowrap; font: 450 13px/1 var(--text); color: var(--paper-muted); font-variant-numeric: lining-nums tabular-nums; opacity: 0; pointer-events: none; }
.fig-read.is-flip { transform: translateX(-100%); }
.fig-say { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fig-read b { font-weight: 600; color: var(--paper-ink); }
.is-reading .fig-cross { opacity: 0.32; }
.is-reading .fig-dot, .is-reading .fig-read { opacity: 1; }
.fig-plot:focus-visible { outline: 1px solid var(--paper-muted); outline-offset: 10px; border-radius: 2px; }
.fig-leg { stroke: var(--paper-muted); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0.7; }
.fig-from { fill: var(--paper); stroke: var(--paper-ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.fig-to { fill: var(--paper-ink); stroke: var(--paper); stroke-width: 2; vector-effect: non-scaling-stroke; paint-order: stroke; }
.fig-key { display: flex; gap: 22px; margin-top: 14px; }
.fig-key span { display: inline-flex; align-items: center; gap: 7px; }
.fig-key svg { width: 10px; height: 10px; overflow: visible; }
.fig-key span:last-child svg { width: 16px; }
.fig figcaption { margin-top: 14px; line-height: 1.45; max-width: 34em; }
.fig-data { margin-top: 10px; }
.fig-data summary { display: inline-block; cursor: pointer; list-style: none; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; text-decoration-color: color-mix(in srgb, currentColor 38%, transparent); padding: 4px 0; }
.fig-data summary::-webkit-details-marker { display: none; }
.fig-data summary:hover { color: var(--paper-ink); }
.fig-data table { margin-top: 10px; border-collapse: collapse; font: 450 13px/1.3 var(--text); font-variant-numeric: lining-nums tabular-nums; }
.fig-data th, .fig-data td { text-align: right; padding: 5px 0 5px 22px; border-bottom: 1px solid var(--paper-rule); }
.fig-data th:first-child, .fig-data td:first-child { text-align: left; padding-left: 0; }
.fig-data th { font-weight: 500; color: var(--paper-muted); }
@media (max-width: 600px) {
  .fig-series .fig-plot { height: 128px; margin-left: 30px; }
}

body.lost { margin: 0; min-height: 100vh; min-height: 100svh; background: var(--lake); overflow: hidden; }
.lost .hero { position: fixed; inset: 0; height: auto; }
.lost figure { position: absolute; z-index: 2; left: 0; right: 0; margin: 0; padding: 0 var(--pad); text-align: center; color: var(--ink); top: var(--quote-top, 16vh); }
.lost figure { transition: opacity 0.6s cubic-bezier(0.3, 0.1, 0.3, 1); }
.q-wait .lost figure { visibility: hidden; opacity: 0; }
.lost blockquote { margin: 0; font: italic 340 clamp(28px, 3.4vw, 50px)/1.15 var(--disp); text-wrap: balance; }
.lost figcaption { margin-top: 16px; font: 450 13px/1.3 var(--text); letter-spacing: 0.01em; }
.lost blockquote a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; text-decoration-color: transparent; transition: text-decoration-color 0.4s linear; }
.lost blockquote a:hover, .lost blockquote a:focus-visible { text-decoration-color: currentColor; }
.lost blockquote a:focus-visible { outline-offset: 6px; }

@media (prefers-reduced-motion: reduce) {
  .plate-l, .hero-nav, .hero-name, .hero-nav a, .lost blockquote a, .lost figure { transition: none !important; }
}
