:root {
  --ink: #02070b;
  --deep: #07131a;
  --paper: #e9e7d8;
  --muted-ink: #8c9999;
  --glass: #83c6be;
  --gold: #e4c993;
  --line: rgba(201, 217, 205, .17);
  --font-sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-serif: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; min-height: 100%; background: var(--ink); scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 32%, rgba(33, 81, 94, .3), transparent 33rem),
    radial-gradient(circle at 13% 24%, rgba(235, 220, 183, .6) 0 .5px, transparent .8px),
    radial-gradient(circle at 84% 15%, rgba(235, 220, 183, .5) 0 .6px, transparent .9px),
    radial-gradient(circle at 75% 74%, rgba(124, 184, 181, .36) 0 .5px, transparent .8px),
    linear-gradient(180deg, #020609 0%, #061119 48%, #02070b 100%);
  background-size: auto, 89px 97px, 131px 119px, 157px 173px, auto;
  color: var(--paper);
  font-family: var(--font-sans);
}
button, a, input { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.voyage-app { position: relative; min-height: 100svh; isolation: isolate; }
.voyage-app::before, .passage-page::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, transparent 49.9%, rgba(228, 201, 147, .04) 50%, transparent 50.1%);
  content: "";
  pointer-events: none;
}

.app-header, .passage-page-header {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  padding: 16px clamp(18px, 3.2vw, 54px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(2, 7, 11, .92), rgba(2, 7, 11, .4));
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 12px; color: var(--paper); text-decoration: none; }
.brand-star {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(228, 201, 147, .5);
  border-radius: 50%;
  color: var(--gold);
  font-size: 15px;
  box-shadow: inset 0 0 18px rgba(184, 138, 82, .08);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 12px; font-weight: 650; letter-spacing: .28em; }
.brand small { margin-top: 3px; color: var(--muted-ink); font-size: 8px; font-weight: 600; letter-spacing: .22em; }
.view-tabs {
  display: flex;
  height: 34px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 21, 28, .66);
}
.view-tab {
  display: inline-flex;
  min-width: 92px;
  height: 26px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #728387;
  cursor: pointer;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .08em;
}
.view-tab.is-active { background: rgba(228, 201, 147, .12); color: var(--gold); }
.cycle-mark { justify-self: end; text-align: right; }
.cycle-mark span, .cycle-mark strong, .cycle-mark small { display: block; }
.cycle-mark span, .cycle-mark small { color: #6e8082; font-size: 8px; font-weight: 650; letter-spacing: .2em; }
.cycle-mark strong { margin: 3px 0; color: var(--gold); font-family: var(--font-serif); font-size: 11px; font-weight: 500; letter-spacing: .12em; }

.main-surface { position: relative; min-height: calc(100svh - 116px); }
.wheel-view { display: flex; min-height: calc(100svh - 116px); flex-direction: column; }
.calendar-workspace {
  position: relative;
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: minmax(130px, .6fr) minmax(480px, 760px) minmax(180px, .8fr);
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 32px);
  padding: 18px clamp(18px, 4vw, 64px) 4px;
}
.date-readout { align-self: start; margin-top: clamp(42px, 8vh, 92px); padding-left: 13px; border-left: 1px solid rgba(228, 201, 147, .5); }
.date-readout span, .date-readout strong { display: block; }
.date-readout span { color: var(--gold); font-family: var(--font-serif); font-size: clamp(17px, 1.6vw, 23px); font-weight: 400; letter-spacing: .09em; }
.date-readout strong { margin-top: 6px; color: #738589; font-size: 8px; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; }

.wheel-stage {
  position: relative;
  width: min(72vh, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.wheel-stage:active { cursor: grabbing; }
.calendar-wheel, .voyage-geometry-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wheel-halo { fill: none; stroke: rgba(126, 194, 187, .045); stroke-width: 15px; }
.wheel-line { fill: none; stroke: rgba(228, 201, 147, .22); stroke-width: .8px; }
.wheel-line-outer { stroke: rgba(228, 201, 147, .42); stroke-dasharray: 1 6; }
.turning-wheel, .voyage-geometry-rotator { transition: transform 780ms cubic-bezier(.19, .75, .2, 1); transform-origin: 300px 300px; }
.wheel-stage.is-dragging .turning-wheel, .wheel-stage.is-dragging .voyage-geometry-rotator { transition: none; }
.tick { stroke: rgba(228, 201, 147, .2); stroke-width: .55px; }
.tick.tick-major { stroke: rgba(228, 201, 147, .65); stroke-width: 1.25px; }
.month-label { fill: rgba(218, 224, 210, .54); font-size: 7px; font-weight: 650; letter-spacing: .2em; }
.moon-tick { fill: rgba(130, 195, 188, .38); }
.axis-mark { fill: rgba(228, 201, 147, .55); font-size: 6px; font-weight: 650; letter-spacing: .23em; }
.voyage-geometry-layer { z-index: 6; }
.voyage-route-progress {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 4px rgba(228, 201, 147, .24));
  pointer-events: none;
}
.voyage-step { cursor: pointer; outline: none; }
.voyage-step-hit { fill: transparent; pointer-events: all; }
.voyage-step-marker { fill: #07141b; stroke: rgba(228, 201, 147, .62); stroke-width: 1px; vector-effect: non-scaling-stroke; transition: fill 180ms ease, stroke 180ms ease, filter 180ms ease; }
.voyage-step-number { fill: var(--gold); font-family: var(--font-serif); font-size: 9px; pointer-events: none; transition: fill 180ms ease; }
.voyage-step-label-bg { fill: rgba(3, 11, 15, .9); stroke: rgba(228, 201, 147, .16); stroke-width: 1px; vector-effect: non-scaling-stroke; opacity: 0; pointer-events: none; transition: opacity 160ms ease; }
.voyage-step-label { fill: var(--paper); font-size: 7px; font-weight: 650; letter-spacing: .13em; opacity: 0; pointer-events: none; text-transform: uppercase; transition: opacity 160ms ease; }
.voyage-step:hover .voyage-step-marker, .voyage-step:focus-visible .voyage-step-marker { stroke: #fff0c9; filter: drop-shadow(0 0 5px rgba(228, 201, 147, .38)); }
.voyage-step:hover .voyage-step-label-bg, .voyage-step:focus-visible .voyage-step-label-bg, .voyage-step.is-active .voyage-step-label-bg,
.voyage-step:hover .voyage-step-label, .voyage-step:focus-visible .voyage-step-label, .voyage-step.is-active .voyage-step-label { opacity: 1; }
.voyage-step.is-active .voyage-step-marker { fill: var(--gold); stroke: #fff0c9; filter: drop-shadow(0 0 5px rgba(228, 201, 147, .42)); }
.voyage-step.is-active .voyage-step-number { fill: #071017; font-weight: 700; }
.time-index { position: absolute; z-index: 4; top: .7%; left: 50%; width: 17px; height: 34px; transform: translateX(-50%); pointer-events: none; }
.time-index::before { position: absolute; top: 0; left: 4px; width: 0; height: 0; border-right: 4px solid transparent; border-left: 4px solid transparent; border-top: 7px solid var(--gold); content: ""; filter: drop-shadow(0 0 6px rgba(228, 201, 147, .75)); }
.time-index span { position: absolute; top: 6px; left: 7.5px; width: 1px; height: 27px; background: linear-gradient(var(--gold), transparent); }

.globe-positioner { position: absolute; inset: 17.3%; display: grid; place-items: center; pointer-events: none; }
.globe-shell { position: relative; width: 100%; height: 100%; }
.realistic-earth::before { position: absolute; inset: 4%; border: 1px solid rgba(128, 203, 210, .12); border-radius: 50%; background: radial-gradient(circle at 36% 30%, #12303c, #05151d 68%, #02090d); content: ""; transform: scaleY(.9967); box-shadow: 0 22px 34px rgba(0, 0, 0, .52); }
.earth-canvas { position: relative; z-index: 1; display: block; width: 100%; height: 100%; opacity: 0; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .42)); transition: opacity 700ms ease; }
.realistic-earth.is-ready .earth-canvas { opacity: 1; }
.earth-loading-state { position: absolute; z-index: 6; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; color: #789093; text-align: center; text-shadow: 0 2px 12px rgba(0, 0, 0, .85); }
.earth-loader-symbol { position: relative; display: grid; width: 44px; height: 44px; margin-bottom: 5px; place-items: center; }
.earth-loader-symbol::before { position: absolute; inset: 0; border: 1px solid rgba(128, 198, 190, .24); border-top-color: var(--gold); border-radius: 50%; content: ""; animation: earth-loader-turn 1.5s linear infinite; }
.earth-loader-symbol b { color: var(--gold); font-size: 10px; }
.earth-loading-state > span:not(.earth-loader-symbol) { color: rgba(228, 201, 147, .82); font-size: 7px; font-weight: 700; letter-spacing: .2em; }
.earth-loading-state small { color: #718589; font-family: var(--font-serif); font-size: 9px; letter-spacing: .04em; }
.realistic-earth .focus-reticle, .realistic-earth .globe-label, .realistic-earth .earth-scale { opacity: 0; transition: opacity 450ms ease; }
.realistic-earth.is-ready .focus-reticle, .realistic-earth.is-ready .globe-label, .realistic-earth.is-ready .earth-scale { opacity: 1; }
.earth-atmosphere { position: absolute; z-index: 2; inset: 4%; border: 1px solid rgba(137, 219, 225, .22); border-radius: 50%; background: radial-gradient(circle at 34% 27%, rgba(195, 236, 224, .055), transparent 42%); transform: scaleY(.9967); box-shadow: inset -28px -18px 38px rgba(0, 3, 8, .34), 0 0 7px rgba(100, 198, 211, .18), 0 0 18px rgba(60, 148, 167, .07); }
.focus-reticle { position: absolute; z-index: 4; top: 50%; left: 50%; width: 34px; height: 34px; transform: translate(-50%, -50%); border: 1px solid rgba(228, 201, 147, .9); border-radius: 50%; filter: drop-shadow(0 0 4px rgba(228, 201, 147, .55)); }
.focus-reticle::before, .focus-reticle::after { position: absolute; background: var(--gold); content: ""; }
.focus-reticle::before { top: -8px; bottom: -8px; left: 50%; width: 1px; transform: translateX(-50%); }
.focus-reticle::after { top: 50%; right: -8px; left: -8px; height: 1px; transform: translateY(-50%); }
.focus-reticle span { position: absolute; z-index: 2; top: 50%; left: 50%; width: 6px; height: 6px; transform: translate(-50%, -50%); border: 1px solid #fff2cf; border-radius: 50%; background: var(--gold); }
.focus-reticle i { position: absolute; inset: -7px; border: 1px solid rgba(228, 201, 147, .2); border-radius: 50%; }
.globe-label { position: absolute; z-index: 5; top: 53%; left: 50%; min-width: 140px; transform: translate(-50%, 34px); text-align: center; text-shadow: 0 2px 11px rgba(0, 0, 0, .9); }
.globe-label span, .globe-label strong { display: block; }
.globe-label span { color: rgba(220, 238, 226, .65); font-size: 6.5px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; }
.globe-label strong { margin-top: 4px; color: #f2eedc; font-family: var(--font-serif); font-size: clamp(11px, 1.2vw, 16px); font-weight: 500; letter-spacing: .03em; }
.earth-scale { position: absolute; z-index: 5; right: 8%; bottom: 11%; padding-right: 8px; border-right: 1px solid rgba(228, 201, 147, .36); color: rgba(216, 232, 220, .46); text-align: right; text-shadow: 0 1px 7px rgba(0, 0, 0, .9); }
.earth-scale span, .earth-scale strong, .earth-scale small { display: block; }
.earth-scale span, .earth-scale small { font-size: 4.8px; font-weight: 650; letter-spacing: .14em; }
.earth-scale strong { margin: 3px 0; color: rgba(228, 201, 147, .72); font-family: var(--font-serif); font-size: 7px; font-weight: 400; letter-spacing: .05em; }
.drag-note { position: absolute; right: 0; bottom: 4.5%; left: 0; margin: 0; color: rgba(140, 153, 153, .7); font-size: 7px; font-weight: 600; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
@keyframes earth-loader-turn { to { transform: rotate(360deg); } }

.active-passage { display: grid; max-width: 250px; grid-template-columns: auto 1fr; align-self: end; gap: 16px; margin-bottom: clamp(38px, 8vh, 86px); }
.passage-index { padding-right: 14px; border-right: 1px solid rgba(228, 201, 147, .3); }
.passage-index span, .passage-index strong { display: block; }
.passage-index span { color: #64777b; font-size: 7px; font-weight: 650; letter-spacing: .18em; }
.passage-index strong { margin-top: 4px; color: var(--gold); font-family: var(--font-serif); font-size: 22px; font-weight: 400; }
.active-passage p, .active-passage h1 { margin: 0; }
.active-passage > div > p:first-child { color: #789093; font-size: 7px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.active-passage h1 { margin-top: 5px; color: var(--paper); font-family: var(--font-serif); font-size: clamp(20px, 2.2vw, 32px); font-weight: 400; line-height: 1; }
.active-passage .passage-note { margin-top: 11px; color: #849496; font-family: var(--font-serif); font-size: 12px; line-height: 1.5; }

.time-controls { position: relative; z-index: 4; display: grid; width: min(720px, calc(100% - 34px)); grid-template-columns: 32px 44px 1fr 32px; align-items: center; gap: 12px; margin: 0 auto 16px; padding: 12px 16px; border: 1px solid rgba(228, 201, 147, .18); border-radius: 999px; background: rgba(4, 13, 18, .84); box-shadow: 0 20px 50px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .025); backdrop-filter: blur(18px); }
.transport-button, .play-button { display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: #74878a; cursor: pointer; }
.transport-button { width: 32px; height: 32px; font-family: var(--font-serif); font-size: 25px; }
.transport-button:hover { color: var(--paper); }
.transport-button:disabled { opacity: .25; cursor: default; }
.play-button { width: 44px; height: 44px; border: 1px solid rgba(228, 201, 147, .48); border-radius: 50%; background: rgba(228, 201, 147, .08); color: var(--gold); font-size: 12px; }
.slider-wrap { position: relative; padding: 2px 5px 0; }
.slider-labels { display: flex; justify-content: space-between; margin-bottom: 8px; color: #607377; font-size: 6.5px; font-weight: 650; letter-spacing: .14em; }
.slider-labels span:nth-child(2) { color: rgba(228, 201, 147, .62); }
#voyage-progress { display: block; width: 100%; height: 14px; margin: 0; appearance: none; background: transparent; cursor: pointer; }
#voyage-progress::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--glass), var(--gold)); }
#voyage-progress::-moz-range-track { height: 2px; background: rgba(228, 201, 147, .18); }
#voyage-progress::-moz-range-progress { height: 2px; background: linear-gradient(90deg, var(--glass), var(--gold)); }
#voyage-progress::-webkit-slider-thumb { width: 12px; height: 12px; margin-top: -5px; appearance: none; border: 2px solid var(--gold); border-radius: 50%; background: #071119; box-shadow: 0 0 0 4px rgba(228, 201, 147, .08), 0 0 12px rgba(228, 201, 147, .36); }
#voyage-progress::-moz-range-thumb { width: 12px; height: 12px; border: 2px solid var(--gold); border-radius: 50%; background: #071119; box-shadow: 0 0 0 4px rgba(228, 201, 147, .08), 0 0 12px rgba(228, 201, 147, .36); }
.stop-dots { position: absolute; right: 7px; bottom: 4px; left: 7px; height: 4px; pointer-events: none; }
.stop-dots span { position: absolute; width: 3px; height: 3px; transform: translateX(-50%); border-radius: 50%; background: #657c7b; }

.itinerary-view { width: min(980px, calc(100% - 36px)); min-height: calc(100svh - 116px); margin: 0 auto; padding: clamp(48px, 9vw, 110px) 0 80px; }
.itinerary-heading { display: grid; grid-template-columns: minmax(170px, .65fr) minmax(300px, 1fr); column-gap: 34px; margin-bottom: 54px; }
.itinerary-heading > span { color: var(--gold); font-size: 8px; font-weight: 650; letter-spacing: .2em; }
.itinerary-heading h1, .itinerary-heading p { grid-column: 2; margin: 0; }
.itinerary-heading h1 { color: var(--paper); font-family: var(--font-serif); font-size: clamp(38px, 6vw, 72px); font-weight: 400; line-height: .95; letter-spacing: -.035em; }
.itinerary-heading p { margin-top: 16px; color: #728589; font-family: var(--font-serif); font-size: 15px; }
.itinerary-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.itinerary-list li { border-bottom: 1px solid var(--line); }
.itinerary-stop { display: grid; width: 100%; grid-template-columns: 54px 90px 1.2fr 1fr 28px; align-items: center; gap: 18px; padding: 22px 12px; border: 0; background: transparent; color: inherit; cursor: pointer; text-align: left; transition: background 220ms ease, padding 220ms ease; }
.itinerary-stop:hover, .itinerary-stop.is-active { padding-right: 18px; padding-left: 18px; background: rgba(128, 192, 185, .06); }
.itinerary-numeral { color: var(--gold); font-family: var(--font-serif); font-size: 19px; }
.itinerary-date, .itinerary-phase { color: #728589; font-size: 8px; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }
.itinerary-place strong, .itinerary-place small { display: block; }
.itinerary-place strong { color: var(--paper); font-family: var(--font-serif); font-size: 21px; font-weight: 400; }
.itinerary-place small { margin-top: 3px; color: #6d8084; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.itinerary-icon { color: rgba(228, 201, 147, .38); font-size: 16px; }
.itinerary-stop.is-active .itinerary-icon { color: var(--gold); filter: drop-shadow(0 0 5px rgba(228, 201, 147, .45)); }

.passage-panel { position: fixed; inset: 0 0 0 auto; width: min(92vw, 460px); max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; overflow-y: auto; border: 0; border-left: 1px solid rgba(228, 201, 147, .3); background: radial-gradient(circle at 100% 0, rgba(74, 124, 126, .16), transparent 26rem), linear-gradient(180deg, rgba(7, 20, 27, .99), rgba(2, 8, 12, .99)); color: var(--paper); box-shadow: -28px 0 80px rgba(0, 0, 0, .5); }
.passage-panel::backdrop { background: rgba(0, 4, 7, .68); backdrop-filter: blur(3px); }
.panel-close { position: absolute; z-index: 2; top: 20px; right: 20px; width: 36px; height: 36px; border: 0; background: transparent; color: rgba(233, 231, 216, .72); cursor: pointer; font-size: 25px; }
.passage-panel-header { padding: 38px 38px 30px; border-bottom: 1px solid var(--line); }
.sheet-passage-mark { display: flex; align-items: baseline; justify-content: space-between; padding-right: 36px; }
.sheet-passage-mark span { color: var(--gold); font-size: 8px; font-weight: 650; letter-spacing: .2em; }
.sheet-passage-mark strong { color: #6e8184; font-family: var(--font-serif); font-size: 13px; font-weight: 400; letter-spacing: .09em; }
.sheet-location { display: flex; align-items: center; gap: 7px; margin-top: 68px; color: #769093; font-size: 8px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.sheet-location > span:first-child { color: var(--gold); font-size: 14px; }
.passage-panel h2 { margin: 10px 0 0; color: var(--paper); font-family: var(--font-serif); font-size: clamp(36px, 5vw, 54px); font-weight: 400; line-height: .92; letter-spacing: -.035em; }
.passage-panel-header > p { margin: 16px 0 0; color: #91a1a1; font-family: var(--font-serif); font-size: 15px; line-height: 1.55; }
.passage-panel-body { display: grid; gap: 34px; padding: 30px 38px 34px; }
.passage-panel-body section { display: grid; gap: 13px; }
.sheet-section-label, .detail-section-label { color: var(--gold); font-size: 7px; font-weight: 700; letter-spacing: .22em; }
.passage-panel-body section > p { margin: 0; color: #c4c7ba; font-family: var(--font-serif); font-size: 16px; line-height: 1.65; }
.sheet-focus-list { display: grid; gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.sheet-focus-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.sheet-focus-list li > span { padding-top: 2px; color: #708286; font-size: 7px; font-weight: 650; letter-spacing: .12em; }
.sheet-focus-list p { margin: 0; color: var(--paper); font-size: 12px; line-height: 1.45; }
.sheet-position { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 5px 12px; padding: 14px 0 0; border-top: 1px solid rgba(228, 201, 147, .3); }
.sheet-position span { color: #667a7e; font-size: 7px; font-weight: 650; letter-spacing: .18em; }
.sheet-position strong { color: var(--gold); font-family: var(--font-serif); font-size: 12px; font-weight: 400; letter-spacing: .06em; }
.passage-panel-footer { padding: 0 38px 38px; }
.detail-link-button { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: space-between; padding: 0 18px; background: var(--gold); color: #071017; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }

.passage-page { position: relative; display: flex; min-height: 100svh; flex-direction: column; isolation: isolate; }
.passage-page::before { background: radial-gradient(circle at 13% 38%, rgba(55, 115, 122, .18), transparent 30rem), linear-gradient(90deg, transparent 49.9%, rgba(228, 201, 147, .035) 50%, transparent 50.1%); }
.passage-page-header { display: flex; grid-template-columns: none; justify-content: space-between; }
.passage-back { display: inline-flex; align-items: center; gap: 9px; color: #849598; font-size: 8px; font-weight: 650; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; transition: color 180ms ease; }
.passage-back:hover { color: var(--gold); }
.passage-detail-main { width: min(1080px, calc(100% - 36px)); margin: 0 auto; padding: clamp(56px, 10vw, 128px) 0 70px; }
.detail-hero { display: grid; grid-template-columns: minmax(120px, .32fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); align-items: start; }
.detail-orbit-mark { display: grid; width: clamp(100px, 14vw, 150px); aspect-ratio: 1; place-content: center; border: 1px solid rgba(228, 201, 147, .25); border-radius: 50%; background: radial-gradient(circle, rgba(116, 175, 169, .08), transparent 68%); text-align: center; box-shadow: 0 0 0 12px rgba(228, 201, 147, .025), inset 0 0 40px rgba(74, 131, 132, .07); }
.detail-orbit-mark span, .detail-orbit-mark strong { display: block; }
.detail-orbit-mark span { color: #708387; font-size: 7px; font-weight: 650; letter-spacing: .2em; }
.detail-orbit-mark strong { margin-top: 5px; color: var(--gold); font-family: var(--font-serif); font-size: 34px; font-weight: 400; }
.detail-heading { max-width: 760px; }
.detail-kicker { margin: 0; color: var(--gold); font-size: 8px; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; }
.detail-heading h1 { margin: 16px 0 0; color: var(--paper); font-family: var(--font-serif); font-size: clamp(58px, 9vw, 116px); font-weight: 400; line-height: .83; letter-spacing: -.055em; }
.detail-region { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; color: #7d9295; font-size: 8px; font-weight: 650; letter-spacing: .17em; text-transform: uppercase; }
.detail-region span { color: var(--gold); font-size: 14px; }
.detail-lead { max-width: 710px; margin: 34px 0 0; color: #b7beb5; font-family: var(--font-serif); font-size: clamp(20px, 2.5vw, 30px); line-height: 1.42; }
.detail-divider { display: flex; align-items: center; gap: 12px; margin: clamp(54px, 9vw, 105px) 0 clamp(42px, 7vw, 78px); }
.detail-divider::before { width: 5px; height: 5px; transform: rotate(45deg); border: 1px solid var(--gold); content: ""; }
.detail-divider span { height: 1px; flex: 1; background: linear-gradient(90deg, rgba(228, 201, 147, .38), var(--line)); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .75fr); gap: clamp(48px, 10vw, 128px); }
.detail-copy { display: grid; align-content: start; gap: 25px; }
.detail-copy #detail-copy { display: grid; gap: 25px; }
.detail-copy p { margin: 0; color: #c2c8bd; font-family: var(--font-serif); font-size: clamp(18px, 2vw, 23px); line-height: 1.72; }
.detail-copy p:first-child::first-letter { float: left; margin: 8px 9px 0 0; color: var(--gold); font-size: 55px; line-height: .62; }
.detail-focus { align-self: start; padding-top: 1px; }
.detail-focus ol { margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.detail-focus li { display: grid; grid-template-columns: 33px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.detail-focus li > span { padding-top: 2px; color: var(--gold); font-size: 7px; font-weight: 650; letter-spacing: .14em; }
.detail-focus li p { margin: 0; color: var(--paper); font-size: 12px; line-height: 1.5; }
.detail-coordinate { display: grid; grid-template-columns: 22px 1fr; gap: 3px 10px; margin-top: 28px; padding: 17px; border: 1px solid rgba(228, 201, 147, .18); background: rgba(9, 24, 30, .42); }
.detail-coordinate > span { grid-row: 1 / 3; color: var(--gold); font-size: 18px; }
.detail-coordinate small { color: #6f8386; font-size: 6px; font-weight: 650; letter-spacing: .17em; }
.detail-coordinate strong { color: #c9c9bb; font-family: var(--font-serif); font-size: 11px; font-weight: 400; letter-spacing: .06em; }
.passage-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(70px, 11vw, 130px); padding-top: 24px; border-top: 1px solid var(--line); }
.passage-pagination-link { display: flex; min-width: 0; align-items: center; gap: 15px; color: inherit; text-decoration: none; }
#detail-next { justify-self: end; }
.passage-pagination-link.next { text-align: right; }
.passage-pagination-link > b { color: var(--gold); font-size: 18px; font-weight: 400; transition: transform 180ms ease; }
.passage-pagination-link:hover > b { transform: translateX(4px); }
.passage-pagination-link.previous:hover > b { transform: translateX(-4px); }
.passage-pagination-link small, .passage-pagination-link strong { display: block; }
.passage-pagination-link small { color: #63777a; font-size: 6px; font-weight: 650; letter-spacing: .18em; }
.passage-pagination-link strong { overflow: hidden; margin-top: 5px; color: var(--paper); font-family: var(--font-serif); font-size: clamp(15px, 2vw, 21px); font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.app-footer { position: relative; z-index: 4; display: flex; min-height: 34px; align-items: center; justify-content: space-between; padding: 8px clamp(18px, 3.2vw, 54px); border-top: 1px solid var(--line); color: #4f6165; font-size: 6.5px; font-weight: 650; letter-spacing: .2em; }
.passage-page-footer { margin-top: auto; }
.noscript { position: fixed; right: 20px; bottom: 20px; left: 20px; z-index: 20; margin: 0; padding: 14px; border: 1px solid var(--gold); background: var(--deep); text-align: center; }

@media (max-width: 920px) {
  .calendar-workspace { grid-template-columns: 1fr; padding-top: 8px; }
  .wheel-stage { width: min(68vh, calc(100vw - 34px)); }
  .date-readout, .active-passage { position: absolute; z-index: 3; }
  .date-readout { top: 26px; left: 22px; margin: 0; }
  .active-passage { right: 22px; bottom: 34px; width: 220px; margin: 0; }
}
@media (max-width: 680px) {
  .app-header { grid-template-columns: 1fr auto; min-height: 92px; padding: 12px 16px 8px; }
  .view-tabs { grid-row: 2; grid-column: 1 / -1; justify-self: center; margin-top: 8px; }
  .cycle-mark { display: none; }
  .main-surface, .wheel-view, .itinerary-view { min-height: calc(100svh - 126px); }
  .calendar-workspace { min-height: 500px; padding: 44px 10px 0; }
  .wheel-stage { width: min(58vh, 112vw); max-width: none; }
  .date-readout { top: 27px; left: 18px; }
  .date-readout span { font-size: 16px; }
  .active-passage { right: 18px; bottom: 21px; width: 185px; gap: 10px; }
  .active-passage h1 { font-size: 20px; }
  .active-passage .passage-note { display: none; }
  .earth-scale { display: none; }
  .time-controls { grid-template-columns: 38px 1fr 38px; gap: 6px; margin-bottom: 12px; padding: 10px 12px; }
  .play-button { grid-column: 1; grid-row: 1; width: 38px; height: 38px; }
  #previous-stop { display: none; }
  .slider-wrap { grid-column: 2; }
  .slider-labels span:first-child, .slider-labels span:last-child { display: none; }
  .slider-labels { justify-content: center; }
  .itinerary-heading { display: block; margin-bottom: 35px; }
  .itinerary-heading h1 { margin-top: 18px; }
  .itinerary-heading p { margin-top: 12px; }
  .itinerary-stop { grid-template-columns: 35px 1fr 22px; gap: 12px; padding: 17px 8px; }
  .itinerary-date, .itinerary-phase { display: none; }
  .itinerary-place strong { font-size: 18px; }
  .passage-panel-header { padding: 32px 26px 26px; }
  .sheet-location { margin-top: 46px; }
  .passage-panel-body { padding: 25px 26px 30px; }
  .passage-panel-footer { padding: 0 26px 30px; }
  .passage-page-header { min-height: 72px; padding: 12px 16px; }
  .passage-back { width: 40px; height: 40px; justify-content: center; font-size: 0; }
  .passage-back span { font-size: 18px; }
  .passage-detail-main { padding-top: 54px; }
  .detail-hero { grid-template-columns: 1fr; gap: 34px; }
  .detail-orbit-mark { width: 86px; }
  .detail-orbit-mark strong { font-size: 28px; }
  .detail-heading h1 { font-size: clamp(52px, 17vw, 76px); }
  .detail-lead { margin-top: 28px; font-size: 20px; }
  .detail-grid { grid-template-columns: 1fr; gap: 52px; }
  .detail-copy p { font-size: 18px; }
  .passage-pagination { gap: 14px; }
  .passage-pagination-link { gap: 9px; }
  .passage-pagination-link strong { max-width: 116px; font-size: 15px; }
  .app-footer { gap: 14px; text-align: center; }
}
@media (max-height: 760px) and (min-width: 681px) {
  .wheel-stage { width: min(64vh, 690px); }
  .date-readout { margin-top: 25px; }
  .active-passage { margin-bottom: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
