/* The Compass, phone edition. Same story and brand as the kiosk (css/course.css), laid out for a phone held upright.
   Brand: Caslon for display (Libre Caslon Text until the licensed Big Caslon CC web font is installed), Mulish for UI.
   Copy is white on the dark screens (RCYC brand guidelines 2026, p.24). */
:root {
  --night: #0f1626;
  --navy: #0d1830;
  --cream: #FAF7F0;
  --ink: #ffffff;
  --dim: rgba(255, 255, 255, .74);
  --faint: rgba(255, 255, 255, .56);
  --hair: rgba(226, 234, 246, .3);
  --display: 'big-caslon-cc', 'Big Caslon CC', 'Big Caslon', 'Libre Caslon Text', Georgia, serif;
  --sans: 'Mulish', Arial, sans-serif;
  --col: min(100vw, 480px);
  --top: env(safe-area-inset-top, 0px);
  --bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }   /* class display rules (e.g. .link-btn) must never un-hide a hidden element */
html, body { height: 100%; background: var(--night); color: var(--ink); font-family: var(--sans); font-size: 16px; -webkit-text-size-adjust: 100%; }
body { overflow: hidden; overscroll-behavior: none; -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid rgba(250, 247, 240, .9); outline-offset: 3px; }

/* ---------- Background layers ---------- */
#bg { position: fixed; inset: 0; overflow: hidden; pointer-events: none; background: var(--night); }
.bg-layer { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; visibility: hidden; will-change: transform, opacity; }
#bg-sky { inset: -8%; background-image: url(../assets/g/rcyc-bg.jpg); opacity: 1; visibility: visible; }
#bg-saver { background-image: url(../assets/g/saver.jpg); }
#bg-deep { background-image: url(../assets/g/sky-nebula.jpg); }   /* Nov 25: BRDG's 11-24 boards, steps 3-6: black + dark red Milky Way (as the kiosk) */
#bg-chartsky { background-image: url(../assets/g/sky-nebula.jpg); }
#bg-sea { background-position: 50% 50%; }
#bg-ocean { background-image: linear-gradient(rgba(4, 12, 26, .45), rgba(4, 12, 26, .62)), url(../assets/g/ocean.jpg); }
#bg-shade { opacity: 1; visibility: visible; background: radial-gradient(ellipse 120% 70% at 50% 45%, rgba(8, 14, 30, .38) 0%, rgba(8, 14, 30, .2) 55%, rgba(8, 14, 30, .5) 100%); }
#sky { position: absolute; inset: 0; width: 100%; height: 100%; }
#flash { background: radial-gradient(circle at 50% 50%, rgba(250, 247, 240, .5), rgba(195, 214, 238, .14) 30%, rgba(195, 214, 238, 0) 60%); }
#routes { position: absolute; inset: 0; width: 100%; height: 100%; }
.rt path { fill: none; stroke: rgba(195, 214, 238, .55); stroke-width: .9; vector-effect: non-scaling-stroke; }
.rt path.lit { stroke: rgba(210, 226, 245, .7); }
.rt path.pulse { stroke: rgba(255, 255, 255, .95); stroke-width: 1.6; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(220, 235, 255, .9)); }
.rt circle.hit-glow { fill: rgba(240, 246, 255, .9); filter: blur(4px); }
.rt circle.hit-ring { fill: none; stroke: rgba(223, 233, 247, .8); stroke-width: .8; vector-effect: non-scaling-stroke; }

/* ---------- The column ---------- */
#app { position: relative; width: var(--col); height: 100vh; height: 100dvh; margin: 0 auto; overflow: hidden; }
#dial, #chart { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; visibility: hidden; }
#dial { touch-action: none; user-select: none; -webkit-user-select: none; }
#chart { pointer-events: none; }
.screen { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--top) + 24px) 24px calc(var(--bottom) + 24px); opacity: 0; visibility: hidden; }
.screen.scroll { display: block; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }

/* ---------- Type ---------- */
.logo { width: 132px; height: auto; }
.logo.small { width: 104px; margin: 0 auto; }
.script { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(38px, 11vw, 48px); line-height: 1.1; letter-spacing: -.01em; }
.script.small { font-size: 24px; }
.title { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 12vw, 52px); line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
.title.small { font-size: clamp(26px, 7.4vw, 32px); line-height: 1.15; }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.lede { font-size: 17px; line-height: 1.5; color: var(--dim); text-wrap: balance; }

.pill { min-height: 48px; min-width: 132px; padding: 0 20px; white-space: nowrap; border-radius: 999px; font-family: var(--sans); font-weight: 700; font-size: 14px;
  letter-spacing: .16em; text-transform: uppercase; background: rgba(250, 247, 240, .96); color: var(--navy);
  box-shadow: 0 0 22px rgba(223, 233, 247, .3); transition: transform .15s, background .2s; touch-action: manipulation; }
.pill:active { transform: scale(.97); }
.pill.dim { background: rgba(250, 247, 240, .16); color: var(--cream); box-shadow: inset 0 0 0 1px rgba(250, 247, 240, .3); }
.pill[disabled] { opacity: .45; }
.btns { display: flex; justify-content: center; gap: 12px; }
.link-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 6px; font-size: 16px; color: #fff;
  text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 4px; }

/* ---------- 1 Welcome ---------- */
#s-splash { justify-content: space-between; padding-top: calc(var(--top) + 56px); padding-bottom: calc(var(--bottom) + 48px); }
#s-splash .splash-copy { margin-top: auto; margin-bottom: 40px; display: flex; flex-direction: column; gap: 14px; max-width: 340px; }
#s-splash .script { text-shadow: 0 2px 24px rgba(5, 11, 24, .8); }
#s-splash .lede { text-shadow: 0 1px 14px rgba(5, 11, 24, .9); color: rgba(255, 255, 255, .86); }
#begin { min-width: 200px; }

/* ---------- 2 Entry ---------- */
#s-entry { padding-top: calc(var(--top) + 28px); }
#entry { display: flex; flex-direction: column; gap: 14px; max-width: 400px; margin: 0 auto; min-height: 100%; justify-content: center; }
#entry .script { margin-top: 6px; font-size: clamp(34px, 10vw, 42px); }
.fields { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; text-align: left; }
.row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; min-width: 0; }
.field > span, .field legend { font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.field legend em { font-style: normal; font-weight: 400; letter-spacing: .12em; color: var(--faint); }
.field input { width: 100%; min-height: 52px; padding: 0 14px; border: 0; border-radius: 10px; background: rgba(250, 247, 240, .95); color: var(--navy);
  font-family: var(--display); font-size: 19px; letter-spacing: .02em; box-shadow: 0 6px 22px rgba(0, 0, 0, .3); -webkit-appearance: none; appearance: none; }
.field input::placeholder { color: rgba(13, 24, 48, .42); font-family: var(--sans); font-size: 16px; letter-spacing: .14em; }
.field input[aria-invalid="true"] { box-shadow: 0 0 0 2px #fff, 0 6px 22px rgba(0, 0, 0, .3); }
.field input:focus { outline: none; box-shadow: 0 0 0 2px rgba(195, 214, 238, .95), 0 6px 22px rgba(0, 0, 0, .3); }
#f-email { font-size: 18px; }
.bday legend { margin-bottom: 6px; }
.bday-row { display: flex; align-items: center; gap: 10px; }
.bday-row input { width: 84px; text-align: center; }
.bday-row input.yr { width: 112px; }
.bday-row b { font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--dim); }
.bday small { font-size: 14px; line-height: 1.45; color: var(--faint); }
#entry .note { min-height: 0; font-size: 16px; line-height: 1.45; color: #fff; }
#entry .note:empty { display: none; }
#entry .consent { font-size: 13px; line-height: 1.5; color: var(--faint); }
#entry .consent:empty { display: none; }
#entry .consent a { color: var(--dim); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* honeypot field: off screen, never seen or focused by a guest */
#entry .hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
#entry .btns { margin-top: 6px; }
#entry .btns .pill { flex: 1; min-width: 0; }
#entry .btns .pill.dim { flex: 0 0 auto; min-width: 104px; }

/* ---------- 2b Welcome aboard ---------- */
#s-greet { gap: 14px; }

/* ---------- 3 + 4 The sextant ---------- */
#s-sextant { justify-content: space-between; pointer-events: none; padding-top: calc(var(--top) + 22px); padding-bottom: calc(var(--bottom) + 20px); }
#s-sextant .btns, #s-sextant button { pointer-events: auto; }
.sx-head { display: flex; flex-direction: column; gap: 8px; }
.sx-q { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 7.6vw, 31px); line-height: 1.15; text-shadow: 0 1px 16px rgba(5, 11, 24, .9); }
.sx-foot { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; }
/* a soft dark floor so the lower ring never fights the readout */
.sx-foot::before { content: ''; position: absolute; left: -24px; right: -24px; top: -40px; bottom: calc(-20px - var(--bottom));
  background: linear-gradient(180deg, rgba(10, 16, 32, 0) 0%, rgba(10, 16, 32, .78) 34%, rgba(10, 16, 32, .9) 100%); z-index: -1; }
.sx-value { font-family: var(--display); font-size: clamp(30px, 9vw, 38px); line-height: 1.1; min-height: 1.1em; }
.sx-detail { font-family: var(--display); font-style: italic; font-size: 17px; line-height: 1.4; color: var(--dim); min-height: 2.8em; max-width: 330px; text-wrap: balance; }
.sx-hint { font-size: 16px; line-height: 1.4; color: var(--faint); min-height: 2.8em; margin-top: 4px; max-width: 330px; text-wrap: balance; }
#s-sextant .btns { margin-top: 12px; width: 100%; max-width: 360px; }
#sx-lock { flex: 1; }
#sx-back { min-width: 104px; }
.sx-setting { position: absolute; left: 24px; right: 24px; bottom: calc(var(--bottom) + 9%); display: flex; flex-direction: column; gap: 10px; opacity: 0; visibility: hidden; }
.sx-picks { font-family: var(--display); font-style: italic; font-size: 18px; line-height: 1.45; color: var(--dim); text-wrap: balance; }

/* the rings (drawn in px; the camera scales the whole group) */
#dial .c-orbit { fill: none; stroke: rgba(226, 234, 246, .34); stroke-width: 1; vector-effect: non-scaling-stroke; }
#dial .c-orbit.faint { stroke: rgba(226, 234, 246, .16); }
#dial .c-orbit.dot { stroke-dasharray: 1 5; stroke: rgba(226, 234, 246, .42); }
#dial .c-orbit.dash { stroke-dasharray: 5 6; stroke: rgba(226, 234, 246, .32); }
#dial .c-divider { stroke: rgba(226, 234, 246, .38); stroke-width: 1; vector-effect: non-scaling-stroke; }
#dial .c-beacon { fill: #fff; filter: drop-shadow(0 0 3px rgba(255, 255, 255, .95)); }
#dial .c-beacon-glow { mix-blend-mode: screen; }
#dial .c-point { fill: rgba(226, 234, 246, .55); font-family: var(--display); font-style: italic; font-size: 15px; letter-spacing: .1em; }
#dial .c-arrow { fill: none; stroke: rgba(226, 234, 246, .5); stroke-width: 1; vector-effect: non-scaling-stroke; }
#dial .c-faint { opacity: .12; }
#dial .r-opt { fill: rgba(240, 244, 250, .9); opacity: .4; transition: fill .3s, opacity .3s; pointer-events: none; }
#dial .r-opt.sign { font-family: var(--display); font-size: 30px; }
#dial .r-opt.passion { font-family: var(--sans); font-weight: 600; font-size: 13.5px; letter-spacing: .18em; }
#dial .r-opt.energy { font-family: var(--display); font-style: italic; font-size: 31px; letter-spacing: .04em; }
#dial .r-opts.active .r-opt { opacity: .66; }
#dial .r-opts .r-opt.locked { fill: #fff; opacity: 1; }
#dial .r-opts .r-opt.on { opacity: 1; fill: #fff; filter: drop-shadow(0 0 7px rgba(223, 233, 247, .9)); }
#dial .r-window { fill: rgba(223, 233, 247, .08); stroke: rgba(223, 233, 247, .55); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .4s; }
#dial .r-window.on { opacity: 1; }
#dial .hit { fill: transparent; pointer-events: none; cursor: pointer; }
#dial .c-face.active .hit { pointer-events: all; }
#dial .c-star { fill: #fff; filter: drop-shadow(0 0 8px rgba(255, 255, 255, .95)) drop-shadow(0 0 22px rgba(159, 183, 218, .9)); }
/* step 5: light shafts and rings of light (STEP-5 preview) */
#dial .r-opts .r-opt.locked.chosen { fill: #fff; opacity: 1; filter: drop-shadow(0 0 5px rgba(255, 255, 255, .7)) drop-shadow(0 0 16px rgba(90, 141, 179, .9)); }
#dial .c-shaft, #dial .c-halo, #dial .c-lightring { mix-blend-mode: screen; }
#dial .c-halo.strong { filter: brightness(1.5); }
#dial .c-lightring .soft { fill: none; stroke: rgba(120, 165, 205, .38); }
#dial .c-lightring.faint .soft { stroke: rgba(110, 155, 200, .2); }
#dial .c-lightring.star .soft { stroke: rgba(120, 170, 215, .42); }
#dial .c-lightring.grey .soft { stroke: rgba(205, 212, 222, .16); }
#dial .c-lightring .crisp { fill: none; stroke: rgba(205, 222, 238, .3); vector-effect: non-scaling-stroke; }
#dial .r-opt.passion.chosen { font-size: 18px; }
#dial .r-opt.energy.chosen { font-size: 44px; }
#dial .c-star5-core { fill: #fff; filter: drop-shadow(0 0 10px #fff) drop-shadow(0 0 26px rgba(120, 175, 225, .95)); }
#dial .c-star5-ring { fill: none; stroke: rgba(140, 190, 235, .95); stroke-width: 1.8; vector-effect: non-scaling-stroke; }

/* ---------- 6 Star chart ---------- */
#s-chart { justify-content: flex-end; padding-bottom: calc(var(--bottom) + 84px); pointer-events: none; }
.chart-copy { display: flex; flex-direction: column; gap: 8px; text-shadow: 0 1px 16px rgba(5, 11, 24, .9); }
#chart .ch-orbits circle { fill: none; stroke: rgba(226, 234, 246, .2); stroke-width: 1; vector-effect: non-scaling-stroke; }
#chart .ch-orbits circle.dash { stroke-dasharray: 2 7; }
#chart .ch-orbiter { fill: #eaf1fb; filter: drop-shadow(0 0 5px rgba(190, 215, 240, .9)); }
#chart .ch-spark { fill: #fff; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .95)) drop-shadow(0 0 12px rgba(159, 183, 218, .9)); }
#chart .ch-med .ring { fill: rgba(223, 233, 247, .05); stroke: rgba(226, 234, 246, .22); stroke-width: 1; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 18px rgba(159, 183, 218, .4)); }
#chart .ch-med .edge { fill: none; stroke: rgba(250, 250, 255, .85); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
#chart .ch-med.sign .edge { fill: rgba(6, 12, 26, .4); stroke: rgba(250, 250, 255, .7); }
#chart .ch-med .blank { fill: rgba(10, 18, 36, .75); stroke: rgba(250, 250, 255, .7); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
#chart .ch-med .mark { fill: var(--cream); }
#chart .ch-med .glyph { fill: #fff; font-family: var(--display); }
#chart .ch-arc { fill: none; stroke: rgba(234, 241, 251, .75); stroke-width: 1.4; stroke-dasharray: 30 400; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0; filter: drop-shadow(0 0 4px rgba(190, 215, 240, .8)); }
#chart .ch-label { fill: rgba(250, 250, 255, .95); font-family: var(--display); font-style: italic; font-size: 14px; letter-spacing: .1em; }

/* ---------- 7 Key card ---------- */
#s-card { gap: 26px; }
.card-wrap { position: relative; width: 100%; }
.keycard { position: relative; width: 100%; aspect-ratio: 85.6 / 54; border-radius: 1.6% / 2.55%; overflow: hidden; container-type: inline-size; background: #0b1428;
  box-shadow: 0 3cqw 8cqw rgba(0, 0, 0, .6), 0 1cqw 2.4cqw rgba(0, 0, 0, .35); }
.kc-photo { position: absolute; inset: 0; background: center / cover no-repeat; }
.kc-photo::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 45% 55% at 22% 40%, rgba(6, 12, 28, .45), rgba(6, 12, 28, 0) 70%),
  linear-gradient(180deg, rgba(8, 16, 34, .7) 0%, rgba(8, 16, 34, .15) 40%, rgba(8, 16, 34, 0) 55%, rgba(8, 16, 34, .6) 100%); }
.kc-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kc-chart { position: absolute; left: 4%; top: 24%; width: 29%; aspect-ratio: 1; z-index: 1; }
.kc-chart img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; filter: brightness(1.25) drop-shadow(0 0 1.4cqw rgba(255, 255, 255, .7)); }
.kc-face { position: absolute; inset: 0; z-index: 2; padding: 4.6% 5%; display: flex; flex-direction: column; justify-content: space-between; }
.kc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 4cqw; text-shadow: 0 1px 10px rgba(5, 11, 24, .75); }
.kc-top dl { display: grid; grid-template-columns: auto; row-gap: .4cqw; margin: 0; }
.kc-top dt { font-family: var(--sans); font-weight: 400; font-size: 2.3cqw; letter-spacing: .16em; text-transform: uppercase; color: rgba(240, 244, 250, .82); }
.kc-top dd { margin: 0 0 1.2cqw; font-family: var(--display); font-size: 3.1cqw; letter-spacing: .06em; text-transform: uppercase; color: #fff; line-height: 1.25; }
.kc-top dl.r { text-align: right; }
.kc-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.kc-welcome span { display: block; margin-bottom: 1.4cqw; font-family: var(--display); font-size: 3.2cqw; letter-spacing: .16em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 10px rgba(5, 11, 24, .7); }
.kc-welcome img { display: block; height: 10.5cqw; width: auto; max-width: none; }
.kc-lion { height: 8.4cqw; width: auto; opacity: .95; }
/* Nov 25 (Peter): the stacked RCYC logo replaces the ship wordmark and lion */
.kc-welcome img.kc-logo { height: 12cqw; width: auto; margin-left: -.4cqw; }
#orbits7 { position: absolute; left: 0; top: 0; background: url(../assets/g/orbits7.png) center / contain no-repeat; mix-blend-mode: screen; opacity: 0; visibility: hidden; pointer-events: none; }
.card-line { font-family: var(--display); font-style: italic; font-size: 18px; line-height: 1.45; color: var(--dim); max-width: 340px; text-wrap: balance; opacity: 0; text-shadow: 0 1px 14px rgba(5, 11, 24, .9); }

/* ---------- 8 Voyages ---------- */
#s-voyages { padding-left: 20px; padding-right: 20px; padding-top: calc(var(--top) + 36px); padding-bottom: calc(var(--bottom) + 40px); text-align: left; }
.vy-inner { max-width: 440px; margin: 0 auto; }
.vy-logo { width: 116px; height: auto; margin: 0 auto 26px; }
.vy-title { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 9.4vw, 40px); line-height: 1.1; text-align: center; }
.vy-course { margin: 10px auto 0; max-width: 320px; font-family: var(--display); font-style: italic; font-size: 17px; line-height: 1.45; color: var(--dim); text-align: center; text-wrap: balance; }
.deck { display: flex; flex-direction: column; gap: 56px; margin-top: 40px; }
.vy-card { display: flex; flex-direction: column; gap: 14px; }
.vy-kind { display: flex; align-items: baseline; gap: .5em; color: #fff; }
.vy-kind i { font-family: var(--display); font-style: italic; font-size: 21px; }
.vy-kind b { font-family: var(--display); font-weight: 400; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; }
.vy-card h3 { margin-top: 6px; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 7.6vw, 30px); line-height: 1.12; color: #fff; }
.vy-when { font-family: var(--display); font-style: italic; font-size: 18px; line-height: 1.3; color: #fff; }
.vy-horo { margin-top: 4px; font-weight: 600; font-size: 14px; line-height: 1.55; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.vy-why { font-weight: 400; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.vy-ports { font-size: 15px; line-height: 1.55; color: var(--faint); }
.vy-ports b { font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-right: .4em; }
/* See this voyage: a slim outlined pill, quieter than the main buttons */
.vy-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; min-height: 46px; margin-top: 6px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: #fff;
  box-shadow: inset 0 0 0 1px rgba(250, 247, 240, .45); transition: background .2s, box-shadow .2s; touch-action: manipulation; }
.vy-link span { font-size: 16px; letter-spacing: 0; transition: transform .2s; }
.vy-link:hover, .vy-link:focus-visible { background: rgba(250, 247, 240, .1); box-shadow: inset 0 0 0 1px rgba(250, 247, 240, .8); }
.vy-link:hover span { transform: translateX(3px); }
.vy-link:active { transform: scale(.98); }
.vy-end { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 72px; padding-top: 44px; text-align: center; border-top: 1px solid var(--hair); }
.vy-mail { font-size: 18px; line-height: 1.5; color: var(--dim); max-width: 300px; text-wrap: balance; }
.vy-end .pill { margin-top: 12px; min-width: 200px; }
.vy-end .link-btn[href=""], .vy-end .link-btn:not([href]) { display: none; }

/* ---------- Skip ---------- */
.skip { position: absolute; right: 16px; bottom: calc(var(--bottom) + 14px); z-index: 10; min-height: 44px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; letter-spacing: .08em; color: rgba(255, 255, 255, .78); background: rgba(10, 18, 36, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.skip[hidden] { display: none; }

/* ---------- Short phones (iPhone SE and landscape-ish windows) ---------- */
@media (max-height: 700px) {
  .logo.small { display: none; }
  #entry .script { font-size: 32px; }
  .sx-q { font-size: 24px; }
  .sx-value { font-size: 28px; }
  .sx-detail { font-size: 16px; }
  .sx-foot { gap: 4px; }
  #s-sextant .btns { margin-top: 8px; }
}

/* ---------- Larger screens: the phone column sits in the middle of the sky ---------- */
@media (min-width: 600px) {
  .sx-foot::before { background: radial-gradient(ellipse 62% 100% at 50% 100%, rgba(10, 16, 32, .9) 30%, rgba(10, 16, 32, .6) 60%, rgba(10, 16, 32, 0) 100%); }
  #app::before { content: ''; position: absolute; inset: 0; border-left: 1px solid rgba(226, 234, 246, .08); border-right: 1px solid rgba(226, 234, 246, .08); pointer-events: none; }
}

/* ---------- Wide screens: laptop, desktop, landscape tablet. Must match WIDE in web.js.
   The experience fills the window: the chart on the left, the words in a column on the right. ---------- */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  :root { --col: 100vw; --side: min(440px, 34vw); --gut: 7vw; }
  #app::before { display: none; }
  .screen { padding: 48px var(--gut); }

  /* type steps up for reading at arm's length */
  .script { font-size: clamp(52px, 4.6vw, 72px); }
  .title { font-size: clamp(54px, 4.8vw, 76px); }
  .title.small { font-size: clamp(34px, 2.8vw, 44px); }
  .lede { font-size: 19px; }
  .eyebrow { font-size: 14px; }

  /* 1 Welcome */
  .logo { width: 190px; }
  #s-splash { padding-top: 72px; padding-bottom: 72px; }
  #s-splash .splash-copy { max-width: 560px; gap: 18px; margin-bottom: 48px; }

  /* 2 Entry: the headline beside the form */
  #entry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); column-gap: 7vw; row-gap: 14px; align-content: center;
    max-width: 1080px; text-align: left; }
  #entry > .logo.small, #entry > .script, #entry > .lede { grid-column: 1; margin-left: 0; }
  #entry > .logo.small { width: 150px; grid-row: 1; align-self: end; }
  #entry > .script { grid-row: 2; font-size: clamp(52px, 4.6vw, 72px); }
  #entry > .lede { grid-row: 3; align-self: start; }
  #entry > :not(.logo):not(.script):not(.lede) { grid-column: 2; }
  #entry > .fields { grid-row: 1 / span 3; align-self: center; margin-top: 0; }
  #entry .btns { justify-content: flex-start; }

  /* 3 + 4 The sextant: words on the right, the chart fills the rest */
  #s-sextant { justify-content: center; align-items: flex-end; gap: 36px; padding: 48px var(--gut); }
  .sx-head, .sx-foot { width: var(--side); align-items: flex-start; text-align: left; }
  .sx-q { font-size: clamp(32px, 2.6vw, 40px); }
  .sx-foot::before { display: none; }
  .sx-value { font-size: clamp(36px, 3vw, 46px); }
  .sx-detail, .sx-hint { max-width: none; }
  .sx-detail { font-size: 19px; }
  .sx-hint { font-size: 17px; }
  #s-sextant .btns { justify-content: flex-start; max-width: none; }
  #sx-lock { flex: 0 0 auto; min-width: 200px; }
  .sx-setting { left: auto; right: var(--gut); top: 50%; bottom: auto; width: var(--side); transform: translateY(-50%); text-align: left; align-items: flex-start; }
  .sx-picks { font-size: 21px; }

  /* 6 Star chart: copy in the same right column */
  #s-chart { justify-content: center; align-items: flex-end; padding: 48px var(--gut); }
  .chart-copy { width: var(--side); text-align: left; gap: 12px; }
  .script.small { font-size: 30px; }
  #chart .ch-label { font-size: 16px; }

  /* 7 Key card: larger, still centred */
  #s-card { gap: 34px; }
  .card-wrap { width: min(760px, 62vw, 128vh); }
  .card-line { font-size: 22px; max-width: 520px; }

  /* 8 Voyages: three across */
  #s-voyages { padding: 64px var(--gut) 72px; }
  .vy-inner { max-width: 1280px; }
  .vy-logo { width: 150px; margin-bottom: 30px; }
  .vy-title { font-size: clamp(44px, 3.8vw, 60px); }
  .vy-course { max-width: 560px; font-size: 20px; }
  .deck { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; margin-top: 56px; }
  .vy-card h3 { font-size: clamp(26px, 2.1vw, 32px); }
  .vy-link { margin-top: auto; }
  .vy-card .vy-ports { margin-bottom: 8px; }
  .vy-end { margin-top: 88px; }
  .vy-mail { max-width: 420px; }

  .skip { right: 32px; bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .pill { transition: none; }
}

/* ==========================================================================================================
   Nov 25: matched to BRDG's 11-24 boards, the way the kiosk (/course) now is. Later rules win over the ones above.
   ========================================================================================================== */

/* step 4: the constellation lit blue as it grows in the centre */
#dial .c-const { filter: drop-shadow(0 0 5px rgba(150, 190, 230, .9)) drop-shadow(0 0 16px rgba(90, 140, 200, .6)); }

/* step 5 (board 5): chosen words plain bright white with a faint glow; the upright constellation, glow and petals over the tilted chart */
#dial .r-opts .r-opt.locked.chosen { filter: drop-shadow(0 0 4px rgba(223, 233, 247, .45)); }
#dial .r-opt.passion.chosen { font-size: 13.5px; }
#dial .r-opt.energy.chosen { font-size: 31px; }
#dial .c-halo { fill-opacity: .5; }
#dial .c-lightring ellipse { stroke-opacity: .5; }
#holo { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
#holo .h-glow, #holo .h-petal { mix-blend-mode: screen; }
#holo .h-bubble { fill: none; stroke: rgba(170, 205, 240, .22); stroke-width: 1.5; }
#holo .h-const { filter: brightness(1.35) drop-shadow(0 0 5px rgba(255, 255, 255, .85)) drop-shadow(0 0 16px rgba(120, 170, 220, .7)); }

/* step 6 (board 6, 11-24 icons): see-through circles, a blue glow inside behind the icon, a soft light halo outside,
   an outer rim, ticks on the passions, the arcs between the circles. Label sizes come from web.js (screen px). */
#chart .ch-orbits circle.thru { stroke: rgba(226, 234, 246, .3); }
#chart .ch-orbits circle.faint { stroke: rgba(226, 234, 246, .16); }
#chart .ch-point { fill: rgba(226, 234, 246, .45); font-family: var(--display); font-style: italic; letter-spacing: .1em; }
#chart .ch-column { fill: url(#ch-col); opacity: .55; filter: blur(16px); }
#chart .ch-trail { filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 16px rgba(159, 183, 218, .95)); }
#chart .ch-med .glow { mix-blend-mode: screen; filter: blur(10px); opacity: .45; }
#chart .ch-med .inglow { mix-blend-mode: screen; }
#chart .ch-med .rim { fill: none; stroke: rgba(240, 242, 246, .28); stroke-width: 1; vector-effect: non-scaling-stroke; }
#chart .ch-med .edge { fill: none; stroke: rgba(240, 242, 246, .62); stroke-width: 1; vector-effect: non-scaling-stroke; }
#chart .ch-med .tick { stroke: rgba(240, 242, 246, .62); stroke-width: 1; vector-effect: non-scaling-stroke; }
#chart .ch-label { font-family: var(--display); font-style: italic; letter-spacing: .1em; fill: rgba(240, 244, 250, .92); }
#chart .ch-label.big { letter-spacing: .1em; fill: #fff; }
#chart .ch-label.sign { letter-spacing: .12em; fill: #fff; }

/* step 7 (board 7, Card v2): each label right before its value; the rings run across the card and stop at the waterline;
   the card's constellation reads strongly */
.kc-rings { position: absolute; z-index: 1; background: url(../assets/g/orbits7.png) center / contain no-repeat; mix-blend-mode: screen; opacity: 0; visibility: hidden; pointer-events: none; }
#orbits7 { z-index: 1; }
.keycard .kc-chart { width: 31%; }
.keycard .kc-chart img { filter: brightness(1.55) contrast(1.15) drop-shadow(0 0 .45cqw rgba(255, 255, 255, .9)) drop-shadow(0 0 1.6cqw rgba(70, 160, 255, .6)); }
.keycard .kc-face { padding: 4.9% 6% 5% 5%; }
.keycard .kc-top dl { display: flex; flex-direction: column; gap: 1.6cqw; }
.keycard .kc-top dl > div { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 1.4cqw; row-gap: .3cqw; }
.keycard .kc-top dl.r > div { justify-content: flex-end; }
.keycard .kc-top dl:first-child { min-width: 0; flex: 1 1 auto; }
.keycard .kc-top dl.r { flex: none; max-width: 42%; }
.keycard .kc-top dt { font-family: var(--sans); font-weight: 500; font-size: 2.1cqw; letter-spacing: .135em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.keycard .kc-top dt::after { content: ':'; }
.keycard .kc-top dd { margin: 0; font-family: var(--display); font-size: 2.9cqw; letter-spacing: .05em; line-height: 1.25; text-transform: uppercase; color: #fff; }
.keycard .kc-top dl.r dd { text-align: right; }
#hero-card { box-shadow: 0 3cqw 7cqw rgba(0, 0, 0, .6), 0 1cqw 2.4cqw rgba(0, 0, 0, .35); }

/* step 8 (board 8): the voyage in focus in a soft white glow, lifted a little, no border; the others step back */
.vy-card .keycard.mini { transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s ease, filter .5s ease;
  box-shadow: 0 2.4cqw 6cqw rgba(0, 0, 0, .6), 0 .8cqw 2cqw rgba(0, 0, 0, .4); }
.vy-card > :not(.keycard) { transition: opacity .5s ease; }
.vy-card:not(.focus) .keycard.mini { filter: brightness(.72) saturate(.85); }
.vy-card:not(.focus) > :not(.keycard) { opacity: .55; }
.vy-card.focus .keycard.mini { transform: translateY(-3%) scale(1.03);
  box-shadow: 0 0 2cqw rgba(255, 255, 255, .32), 0 0 5cqw rgba(225, 236, 250, .14), 0 2cqw 5cqw rgba(0, 0, 0, .45); }
/* Collect your course on BRDG's hull (assets/g/boat-button.png, bow to the right); black Caslon caps over the hull's body */
.vy-collect { display: flex; align-items: center; justify-content: center; width: min(100%, 360px); aspect-ratio: 3.8 / 1; margin: 56px auto 0;
  padding: 0 4% 0 14%; background: url(../assets/g/boat-button.png) center / 100% 100% no-repeat; color: #000;
  font-family: var(--display); font-size: 15px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; touch-action: manipulation; transition: transform .15s; }
.vy-collect:active { transform: scale(.98); }
.vy-end { margin-top: 48px; }

@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  .keycard .kc-top dt { font-size: 1.3cqw; }
  .keycard .kc-top dd { font-size: 1.9cqw; }
  .keycard .kc-top dl { gap: 1.9cqw; }
  .keycard.mini .kc-top dt { font-size: 2cqw; }
  .keycard.mini .kc-top dd { font-size: 2.8cqw; }
  .vy-collect { width: 520px; font-size: 17px; margin-top: 64px; padding-left: 12%; }
  .vy-card .keycard.mini { transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s ease, filter .5s ease; }
}

/* Nov 25 (Peter): "Pick 1 of 2" on its own line */
#step-no { white-space: pre-line; }

/* ======================================================================
   Pass 2 (Dec 1): the kiosk's Nov 25 to 30 look, laid out for a phone
   ====================================================================== */

/* ---------- Site sky on the splash (js/r7-saver.js, kiosk css/r7-saver.css) ---------- */
#sitesky { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; overflow: hidden; }
#sitesky .ss-sky { position: absolute; inset: -6%; background: url(../assets/g/site/sky.jpg) center / cover no-repeat; will-change: transform; }
#sitesky .ss-rings { position: absolute; inset: 0; background: url(../assets/g/site/rings.png) center / cover no-repeat; will-change: transform; }
#sitesky .ss-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; will-change: transform; }
#sitesky .ss-dim { fill: #0b1527; }
#sitesky .ss-line { fill: none; stroke: rgba(236, 243, 252, .7); stroke-width: .8; vector-effect: non-scaling-stroke; stroke-linecap: round; }
#sitesky .ss-mesh { fill: none; stroke: rgba(196, 216, 246, .22); stroke-width: .6; vector-effect: non-scaling-stroke; }

/* ---------- 1 Welcome: the site's logo and its lockup, a quiet invitation to tap ---------- */
#s-splash { --lg: clamp(66px, 19vw, 92px); justify-content: flex-start; cursor: pointer;
  padding-top: calc(var(--top) + 9vh); padding-bottom: calc(var(--bottom) + 40px); }
#s-splash .sv-logo { width: 150px; height: auto; }
#s-splash .sv-lockup { margin: auto 0; display: flex; flex-direction: column; font-family: var(--display); font-weight: 400; color: #fff; white-space: nowrap;
  text-shadow: 0 0 18px rgba(6, 14, 32, .55); transform: translateX(-4%); }
#s-splash .sv-lockup .r1, #s-splash .sv-lockup .r2 { display: flex; align-items: flex-end; }
#s-splash .sv-lockup .r2 { margin-left: calc(var(--lg) * 1.3); margin-top: calc(var(--lg) * -.15); }
#s-splash .sv-lockup .sm { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; line-height: 1; }
#s-splash .sv-lockup .r1 .sm { align-self: flex-start; margin: calc(var(--lg) * .13) 8px 0 0; }
#s-splash .sv-lockup .r2 .sm { margin: 0 0 calc(var(--lg) * .14) 10px; }
#s-splash .sv-lockup .lg { font-style: italic; font-feature-settings: "swsh" 1; font-size: var(--lg); line-height: .92; letter-spacing: -.01em; }
#s-splash .sv-touch { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 12px 20px; min-height: 48px;
  font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: #fff; white-space: nowrap;
  text-shadow: 0 0 14px rgba(6, 14, 32, .8); opacity: 0; animation: svTouchIn 1.6s ease 1.6s forwards, svBreathe 3.2s ease-in-out 3.2s infinite; }
#s-splash .sv-touch i { position: relative; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .9); box-shadow: 0 0 14px rgba(200, 220, 250, .8); }
#s-splash .sv-touch i::before, #s-splash .sv-touch i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(230, 240, 252, .85); animation: svRing 2.4s ease-out infinite; }
#s-splash .sv-touch i::after { animation-delay: 1.2s; }
@keyframes svTouchIn { to { opacity: 1; } }
@keyframes svBreathe { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes svRing { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #s-splash .sv-touch, #s-splash .sv-touch i::before, #s-splash .sv-touch i::after { animation: none; opacity: 1; } }

/* ---------- The centre star: a smooth glow with no banding, and a feathered ripple (kiosk, Nov 30) ---------- */
#starpulse { position: absolute; left: 50%; top: 0; width: 150px; aspect-ratio: 1; margin: -75px 0 0 -75px; pointer-events: none; mix-blend-mode: screen; opacity: 0; visibility: hidden; z-index: 0; }
#starpulse i { position: absolute; inset: 0; border-radius: 50%; }
#starpulse .glow { background: radial-gradient(circle, rgba(255, 255, 255, .88) 0, rgba(246, 250, 255, .74) 4%, rgba(232, 240, 252, .56) 8%,
  rgba(218, 231, 249, .4) 12%, rgba(204, 222, 246, .27) 17%, rgba(190, 212, 242, .17) 23%, rgba(178, 203, 238, .1) 30%,
  rgba(168, 195, 234, .055) 38%, rgba(160, 188, 230, .026) 47%, rgba(155, 184, 228, .01) 57%, rgba(150, 180, 225, 0) 68%); opacity: .4; }
#starpulse .halo { inset: 20%; background: radial-gradient(circle, rgba(225, 236, 250, 0) 52%, rgba(225, 236, 250, .2) 64%, rgba(225, 236, 250, .07) 72%, rgba(225, 236, 250, 0) 80%); opacity: 0; }
.screen { z-index: 1; }
#touchburst { position: absolute; transform: translate(-50%, -50%); pointer-events: none; mix-blend-mode: screen; z-index: 0; }
#touchburst i { position: absolute; inset: 0; border-radius: 50%; opacity: 0; }
#touchburst .flare { background: radial-gradient(circle, rgba(255, 255, 255, .9) 0, rgba(225, 236, 250, .55) 12%, rgba(170, 196, 232, .18) 34%, rgba(150, 180, 225, 0) 62%); }
#touchburst .ring { inset: 22%; border: 1px solid rgba(225, 236, 250, .7); box-shadow: 0 0 12px rgba(170, 200, 240, .35); }
#touchburst .ring.two { border-color: rgba(225, 236, 250, .4); }

/* ---------- Entry moments: name = a star pulse, email = three fine shooting stars, birthday = a soft light turns round the star ---------- */
#entryfx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; overflow: visible; }
#entryfx .pulse-ring { fill: none; stroke: rgba(225, 236, 250, .8); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
#entryfx .soft-arc { fill: none; stroke: rgba(205, 225, 252, .9); stroke-width: 8; stroke-linecap: round; filter: blur(7px); }
#entryfx .name-line { stroke-width: .8; vector-effect: non-scaling-stroke; }
#entryfx .name-glint { fill: rgba(225, 236, 252, .55); filter: blur(4px); }
#entryfx .name-dot { fill: #fff; filter: drop-shadow(0 0 3px rgba(230, 240, 255, .95)); }
#warpbloom { position: absolute; inset: 0; pointer-events: none; opacity: 0; visibility: hidden; mix-blend-mode: screen; z-index: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .95) 0, rgba(220, 232, 250, .5) 7%, rgba(170, 150, 170, .12) 22%, rgba(0, 0, 0, 0) 46%); }

/* ---------- 2b Welcome: one line, "Welcome, Maya.", centred on the star ---------- */
#s-greet .title { white-space: nowrap; font-size: clamp(34px, 10vw, 48px); }
/* on an upright screen the rings fill the height, so the logo can sit in the site's small ring (18.2% down, as on the kiosk) */
@media (max-aspect-ratio: 1/1) { #s-splash { padding-top: calc(18.2vh - 36px); padding-top: calc(18.2dvh - 36px); } }

/* ---------- The dial's light (kiosk r7-dial.css): the gold glint on the lit window's outline and round the outer edge ---------- */
#dial .r-glaze { fill: none; stroke: url(#w-glaze); stroke-width: 1.8; vector-effect: non-scaling-stroke; pointer-events: none;
  filter: drop-shadow(0 0 3px rgba(214, 178, 106, .55)); }
#dial .c-glint { fill: none; stroke: #e6c98d; stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(226, 196, 134, .85)); }
#dial .c-bezel .c-tick { fill: none; stroke: rgba(226, 234, 246, .22); stroke-width: 1; vector-effect: non-scaling-stroke; }
#uni-script { position: absolute; left: 24px; top: calc(var(--top) + 36px); margin: 0; text-align: left; white-space: nowrap; pointer-events: none;
  opacity: 0; visibility: hidden; text-shadow: 0 0 18px rgba(5, 11, 24, .85); }
.chart-copy .title em { font-style: italic; }

/* ---------- Star chart (kiosk r7-chart.css): the circles hang off the constellation's own stars on dotted lines ---------- */
#chart .ch-link { stroke: rgba(240, 246, 253, .85); stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; fill: none; vector-effect: non-scaling-stroke; }
#chart .ch-node { fill: none; stroke: rgba(240, 246, 253, .75); stroke-width: 1.2; vector-effect: non-scaling-stroke; }

/* ---------- The star swipe (kiosk r7-chart.css, Nov 30): a wide, smooth sheet of light that fades toward both ends ---------- */
#starswipe { position: absolute; top: 50%; left: -30%; width: 0; height: 0; z-index: 40; pointer-events: none; opacity: 0; visibility: hidden; }
#starswipe .ss-band { position: absolute; left: calc(var(--col) * -.42); top: calc(var(--col) * -1.4); width: calc(var(--col) * .84); height: calc(var(--col) * 2.8); transform: rotate(15deg);
  background: linear-gradient(90deg, rgba(190, 215, 250, 0) 0%, rgba(190, 215, 250, .02) 14%, rgba(196, 219, 251, .06) 26%, rgba(208, 227, 252, .13) 36%,
    rgba(224, 236, 254, .21) 44%, rgba(236, 244, 255, .25) 50%, rgba(224, 236, 254, .21) 56%, rgba(208, 227, 252, .13) 64%, rgba(196, 219, 251, .06) 74%,
    rgba(190, 215, 250, .02) 86%, rgba(190, 215, 250, 0) 100%);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 0%, rgba(0, 0, 0, .75) 22%, rgba(0, 0, 0, .35) 50%, rgba(0, 0, 0, .1) 75%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 0%, rgba(0, 0, 0, .75) 22%, rgba(0, 0, 0, .35) 50%, rgba(0, 0, 0, .1) 75%, transparent 100%);
  filter: blur(calc(var(--col) * .05)); mix-blend-mode: screen; }

/* ---------- Voyages (kiosk, Nov 27): italic taglines; on wide screens only the voyage in focus shows its write-up ---------- */
.vy-horo { margin-top: 2px; font-family: var(--display); font-style: italic; font-weight: 400; font-size: 19px; line-height: 1.35; letter-spacing: 0; text-transform: none; }
@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  .vy-card .vy-why { transition: opacity .7s cubic-bezier(.22, 1, .36, 1); }
  .vy-card:not(.focus) .vy-why { opacity: 0 !important; }
}

/* ---------- Collect your course: the foot of the compass circle, the button a band of it above S (kiosk, Nov 25) ---------- */
#s-voyages .vy-collect { all: unset; display: block; position: relative; width: min(100%, 400px); aspect-ratio: 520 / 200; margin: 40px auto 0; cursor: pointer;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
#s-voyages .vy-collect svg { display: block; width: 100%; height: 100%; overflow: visible; }
#s-voyages .vy-collect:focus-visible { outline: 2px solid rgba(250, 247, 240, .9); outline-offset: 4px; border-radius: 8px; }
.vy-collect .vc-orbit { fill: none; stroke: rgba(226, 234, 246, .38); stroke-width: 1; vector-effect: non-scaling-stroke; }
.vy-collect .vc-orbit.dash { stroke-dasharray: 2 7; stroke: rgba(226, 234, 246, .32); }
.vy-collect .vc-orbit.faint { stroke: rgba(226, 234, 246, .16); }
.vy-collect .vc-tick { fill: none; stroke: rgba(226, 234, 246, .4); stroke-width: 1; vector-effect: non-scaling-stroke; }
.vy-collect .vc-arrow { fill: none; stroke: rgba(226, 234, 246, .6); stroke-width: 1; vector-effect: non-scaling-stroke; }
.vy-collect .vc-point { fill: rgba(240, 244, 250, .72); font-family: var(--display); font-style: italic; font-size: 17px; letter-spacing: .1em; }
.vy-collect .vc-btn { fill: rgba(240, 246, 253, .07); stroke: rgba(240, 246, 253, .78); stroke-width: 1.2; vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px rgba(170, 200, 240, .45)); transition: fill .4s ease, filter .4s ease; }
.vy-collect:hover .vc-btn, .vy-collect:focus-visible .vc-btn, .vy-collect:active .vc-btn { fill: rgba(240, 246, 253, .16); filter: drop-shadow(0 0 10px rgba(190, 215, 245, .75)); }
.vy-collect .vc-label { fill: #fff; font-family: var(--display); font-size: 17px; letter-spacing: .18em; text-transform: uppercase; }
.vy-collect .vc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Sound on / off (Dec 1): a hairline ring with a fine speaker, quiet until touched ---------- */
.snd { position: absolute; top: calc(var(--top) + 8px); right: 8px; z-index: 11; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; color: rgba(255, 255, 255, .62); transition: color .3s ease; -webkit-tap-highlight-color: transparent; }
.snd::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); transition: box-shadow .3s ease; }
.snd svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.snd .x { display: none; }
.snd[aria-pressed="false"] { color: rgba(255, 255, 255, .42); }
.snd[aria-pressed="false"] .wv { display: none; }
.snd[aria-pressed="false"] .x { display: inline; }
.snd:focus-visible { outline: none; }
.snd:focus-visible::before, .snd:hover::before { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.snd:hover, .snd:focus-visible { color: #fff; }
@media (min-width: 900px) { .snd { top: 20px; right: 20px; } }

/* Dec 1: on a phone the lockup sits centred with real gutters (the -4% nudge put it 18px off the left edge) */
@media (max-width: 560px) {
  #s-splash { --lg: clamp(58px, 17.5vw, 92px); }
  #s-splash .sv-lockup { transform: none; max-width: calc(100% - 8px); }
}

/* Dec 1: the column can't be scrolled at all, even by focus or scrollIntoView (the warp bloom and the star run wider than it,
   and a programmatic scroll once left every screen 58px off centre) */
#app { overflow: clip; }

/* ---------- Dec 3: catch-up with the kiosk (Nicky's Dec 1 to 3 rounds) ---------- */
/* splash: the site's own lockup, then under the dot the question and the invitation */
#s-splash .sv-lockup { display: block; width: min(78vw, 340px); max-width: none; white-space: normal; transform: none; text-shadow: none; }
#s-splash .sv-lockup img { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 18px rgba(6, 14, 32, .6)); }
#s-splash .sv-touch { gap: 14px; white-space: normal; }
#s-splash .sv-touch .sv-q { margin-top: 4px; font-family: var(--display); font-weight: 400; font-size: clamp(20px, 5.6vw, 24px); letter-spacing: 0; text-transform: none; text-wrap: balance; }
#s-splash .sv-touch .sv-go { font-size: 12px; }
@media (max-width: 560px) { #s-splash .sv-lockup { transform: none; } }
/* entry: the ask in the serif, small, all caps */
#s-entry .lede.ask { font-family: var(--display); font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
/* consent (Danie): the short line above Submit; the bold words open the full text */
#entry .consent { font-size: 13px; line-height: 1.55; color: var(--dim); text-wrap: pretty; }
.consent .c-more { all: unset; font-weight: 800; color: #fff; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; }
.consent .c-more:focus-visible { outline: 2px solid rgba(250, 247, 240, .9); outline-offset: 2px; border-radius: 2px; }
.nb { white-space: nowrap; }
#terms { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: calc(var(--top) + 16px) 18px calc(var(--bottom) + 16px);
  background: rgba(5, 12, 29, .97); }
#terms[hidden] { display: none; }
#terms .t-box { width: min(100%, 560px); max-height: 100%; overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 6px 4px; text-align: left; outline: none; }
#terms .t-title { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 6.4vw, 28px); line-height: 1.2; color: var(--cream); text-align: center; text-wrap: balance; margin: 0 0 4px; }
#terms p { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(250, 247, 240, .86); }
#terms a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 3px; }
#terms .pill { flex: none; margin-top: 8px; }
/* star chart: the title in the site lockup's layout reading YOUR; lines as round points of light, like the artwork */
.chart-copy .title.small { line-height: 0; }
.chart-copy .ch-lockup { display: block; width: min(76vw, 300px); height: auto; margin: 0 auto; overflow: visible; filter: drop-shadow(0 0 14px rgba(5, 11, 24, .85)); }
.chart-copy .ch-lockup .ly { fill: #fff; font-family: var(--display); font-size: 80px; letter-spacing: .14em; }
@media (min-width: 900px) and (min-aspect-ratio: 5/4) { .chart-copy .ch-lockup { width: 100%; max-width: 420px; margin: 0; } }
#chart .ch-link { stroke: rgba(244, 248, 254, .92); stroke-width: 2.2; stroke-dasharray: 0 7; stroke-linecap: round; filter: drop-shadow(0 0 1.5px rgba(200, 222, 250, .7)); }
/* the welcome comet */
#entryfx .comet-tail-glow { filter: blur(3px); opacity: .55; }
#entryfx .comet-halo { fill: rgba(220, 234, 255, .35); filter: blur(3px); }
/* voyages: the two-line hint above Collect; Collect breathes slowly once everything has landed */
.vy-hint { margin: 48px auto 0; font-size: 15px; line-height: 1.45; color: rgba(240, 244, 250, .78); text-align: center; }
.vy-hint span { display: block; }
.vy-hint + .vy-collect, #s-voyages .vy-hint + .vy-collect { margin-top: 14px; }
@keyframes vc-breathe { 0%, 100% { filter: drop-shadow(0 0 2px rgba(190, 215, 245, .15)); } 50% { filter: drop-shadow(0 0 14px rgba(190, 215, 245, .75)); } }
#vy-collect.breathe .vc-btn { animation: vc-breathe 3.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { #vy-collect.breathe .vc-btn { animation: none; filter: drop-shadow(0 0 10px rgba(190, 215, 245, .6)); } }
/* key card film (The Gathery's energy films): a soft shade under the card's words only, so they read over the film */
.keycard.hero:has(video.kc-film) .kc-face::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 62% 58% at 14% 96%, rgba(6, 12, 28, .62) 0%, rgba(6, 12, 28, .46) 26%, rgba(6, 12, 28, .24) 50%, rgba(6, 12, 28, .08) 72%, rgba(6, 12, 28, 0) 100%),
    linear-gradient(180deg, rgba(6, 12, 28, .58) 0%, rgba(6, 12, 28, .42) 12%, rgba(6, 12, 28, .22) 24%, rgba(6, 12, 28, .08) 36%, rgba(6, 12, 28, 0) 48%); }
.keycard.hero .kc-film { z-index: 0; }

/* Dec 3 (Davidson): Bon voyage on the phone: a light travelling along the compass ring, and one shooting star above the words */
.vy-collect .vc-glint { fill: none; stroke: rgba(246, 250, 255, .95); stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0; pointer-events: none; }
.vy-collect .vc-glint.soft { stroke: rgba(200, 222, 250, .5); stroke-width: 7; filter: blur(3px); }
.vy-end { position: relative; }
.vy-shoot { position: absolute; left: 8%; top: 6px; width: 120px; height: 1.5px; rotate: 12deg; pointer-events: none; opacity: 0; visibility: hidden;
  background: linear-gradient(90deg, rgba(240, 246, 253, 0), rgba(240, 246, 253, .85)); border-radius: 2px; }
.vy-shoot::after { content: ''; position: absolute; right: -3px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 6px 2px rgba(210, 228, 250, .8), 0 0 16px 5px rgba(180, 210, 245, .35); }

/* Dec 4 (Davidson: on desktop the splash read small and spread out): on a wide screen the logo, the lockup and the
   invitation sit together as one group, centred and larger, with "Tap to begin" well up from the bottom edge */
@media (min-aspect-ratio: 1/1) and (min-width: 900px) {
  #s-splash { justify-content: center; gap: clamp(28px, 5vh, 56px); padding-top: var(--top); padding-bottom: var(--bottom); }
  #s-splash .sv-logo { width: clamp(170px, 14vw, 230px); }
  #s-splash .sv-lockup { margin: 0; width: clamp(440px, 38vw, 640px); width: min(clamp(440px, 38vw, 640px), 58vh); }
  #s-splash .sv-touch { gap: 18px; }
  #s-splash .sv-touch .sv-q { font-size: clamp(26px, 2.1vw, 34px); }
  #s-splash .sv-touch .sv-go { font-size: 13px; }
}
/* Dec 4 (Davidson: "fix the first scene for mobile also"): on a phone too the logo, lockup and invitation sit together as one
   centred group, larger, instead of logo at the top and the invitation at the foot */
@media (max-aspect-ratio: 1/1), (max-width: 899px) {
  #s-splash { justify-content: center; gap: clamp(26px, 5.2vh, 48px); padding-top: var(--top); padding-bottom: calc(var(--bottom) + 24px); }
  #s-splash .sv-logo { width: clamp(150px, 46vw, 190px); }
  #s-splash .sv-lockup { margin: 0; width: min(88vw, 420px); }
  #s-splash .sv-touch .sv-q { font-size: clamp(22px, 6.2vw, 28px); }
  #s-splash .sv-touch .sv-go { font-size: 13px; }
}
/* Dec 4 (Davidson): on a computer, a quiet line under the buttons says how to work the ring (phones swipe, and the hint says so) */
.sx-keys { display: none; }
@media (hover: hover) and (pointer: fine) {
  .sx-keys { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 18px; font-size: 14px; letter-spacing: .04em; color: var(--faint); }
  .sx-keys span { margin: 0 6px; opacity: .6; }
  .sx-keys kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 24px; padding: 0 7px; border-radius: 5px;
    border: 1px solid rgba(250, 247, 240, .32); font-family: var(--sans); font-size: 12px; letter-spacing: .06em; color: rgba(250, 247, 240, .85); }
}
/* Dec 4 (Davidson: the rings' lines run through the words on the right): a soft dark veil behind the right-hand column
   fades the ring lines where they pass behind the text */
@media (min-aspect-ratio: 1/1) and (min-width: 900px) {
  #s-sextant::before { content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: calc(var(--side) + var(--gut) + 160px); pointer-events: none;
    background: linear-gradient(to right, rgba(4, 8, 18, 0), rgba(4, 8, 18, .82) 160px); }
  #s-sextant .sx-head, #s-sextant .sx-foot { position: relative; }
}
/* Dec 4: the voyages' keys line sits centred under the hint; a card that isn't chosen shows it can be clicked */
.vy-keys { justify-content: center; margin: 14px auto 0; }
#s-voyages .vy-card:not(.focus) { cursor: pointer; }

/* Dec 4 (Davidson: "you never see Bon voyage unless you scroll"): Bon voyage is a light overlay over the voyages.
   The water and the cards stay faintly visible through a navy veil; the words sit in the middle. */
#app > .vy-end { position: absolute; inset: 0; z-index: 6; margin: 0; padding: var(--top) var(--gut) var(--bottom); border: 0;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse 70% 60% at 50% 48%, rgba(8, 17, 36, .78) 0, rgba(4, 9, 20, .9) 100%);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.vy-end-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; max-width: 720px; }
.vy-end-in .title { font-size: clamp(40px, 11vw, 64px); line-height: 1.05; }
.vy-end-in .vy-mail { margin-top: 2px; }
.vy-end-in .pill { margin-top: 18px; min-width: 220px; }
.vy-shoot { top: -36px; }
.vy-close { all: unset; position: absolute; top: calc(var(--top) + 16px); right: 20px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: rgba(250, 247, 240, .8); box-shadow: inset 0 0 0 1px rgba(250, 247, 240, .3);
  font-size: 24px; line-height: 1; transition: background .2s, color .2s; }
.vy-close:hover, .vy-close:focus-visible { background: rgba(250, 247, 240, .1); color: #fff; }
.vy-back { all: unset; margin-top: 2px; padding: 10px 14px; cursor: pointer; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.vy-back:hover, .vy-back:focus-visible { color: #fff; }
@media (min-aspect-ratio: 1/1) and (min-width: 900px) { .vy-end-in .title { font-size: clamp(64px, 5.6vw, 92px); } .vy-close { right: 32px; top: 28px; } }
/* the × sits top left (the sound button owns the top right); a little more blur so the cards read as texture, not text */
.vy-close { right: auto; left: 20px; }
@media (min-aspect-ratio: 1/1) and (min-width: 900px) { .vy-close { right: auto; left: 32px; } }
#app > .vy-end { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  background: radial-gradient(ellipse 70% 60% at 50% 48%, rgba(8, 17, 36, .7) 0, rgba(4, 9, 20, .86) 100%); }
/* Dec 4: the compass rings behind Bon voyage (full on a computer; on a phone they frame the words and run off the sides) */
.vy-rings { position: absolute; left: 50%; top: 50%; width: min(150vw, 640px); aspect-ratio: 1; transform: translate(-50%, -50%); overflow: visible; pointer-events: none; opacity: .75; }
@media (min-aspect-ratio: 1/1) and (min-width: 900px) { .vy-rings { width: min(92vh, 960px); opacity: 1; } }
.vy-rings .vr-o { fill: none; stroke: rgba(226, 234, 246, .3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.vy-rings .vr-o.faint { stroke: rgba(226, 234, 246, .14); }
.vy-rings .vr-o.dot { stroke-dasharray: 1 5; stroke: rgba(226, 234, 246, .36); }
.vy-rings .vr-o.dash { stroke-dasharray: 5 7; stroke: rgba(226, 234, 246, .2); }
.vy-rings .vr-t { stroke: rgba(226, 234, 246, .26); stroke-width: 1; vector-effect: non-scaling-stroke; }
.vy-rings .vr-t.big { stroke: rgba(226, 234, 246, .5); }
.vy-rings .vr-l { fill: rgba(226, 234, 246, .55); font-family: var(--display); font-style: italic; font-size: 22px; letter-spacing: .08em; }
.vy-rings .vr-glint { fill: none; stroke: #e6eefb; stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0; }
.vy-rings .vr-glint.soft { stroke-width: 7; filter: blur(3px); stroke: rgba(220, 232, 250, .7); }
.vy-end-in { z-index: 1; }
/* Dec 4 (Davidson: "have this fade in sooner"): the invitation arrives at half a second, not 1.6 */
#s-splash .sv-touch { animation: svTouchIn 1s ease .5s forwards, svBreathe 3.2s ease-in-out 1.5s infinite; }

/* Dec 4 (Davidson: "we need to see Collect your course without scrolling; a lot of info on these cards"): on a computer the
   voyages screen fits one view. Each card keeps its match, key card, voyage, date, tagline and link; the long write-up and
   the ports go (both are in the email). The hint keeps only its second line, and Collect sits right under the cards. */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  #s-voyages { padding-top: max(24px, 3.4vh); padding-bottom: max(18px, 2.4vh); }
  .vy-inner { max-width: min(1200px, 136vh); }
  .vy-logo { width: clamp(96px, 12vh, 130px); margin-bottom: 1.6vh; }
  .vy-title { font-size: clamp(36px, 5.4vh, 54px); }
  .vy-course { margin-top: .8vh; font-size: clamp(16px, 2.1vh, 20px); }
  .deck { margin-top: 3.6vh; gap: 36px; }
  .vy-card { gap: 1.3vh; }
  .vy-card h3 { margin-top: .6vh; font-size: clamp(22px, 3.3vh, 30px); }
  .vy-when { font-size: clamp(15px, 2vh, 18px); }
  .vy-horo { font-size: clamp(16px, 2.1vh, 19px); }
  .vy-card .vy-why, .vy-card .vy-ports { display: none; }
  .vy-link { margin-top: .4vh; min-height: 0; padding: 0; box-shadow: none !important; background: none !important; font-size: 12px; gap: 10px; }
  .vy-link:hover, .vy-link:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
  #s-voyages .vy-hint { margin-top: 3vh; }
  #s-voyages .vy-hint span:first-child { display: none; }
  .vy-keys { margin-top: 8px; }
  #s-voyages .vy-collect { width: min(360px, 44vh); margin-top: 1.2vh; }
}
/* Dec 4: the floating Collect pill, bottom centre over the voyages */
.vy-float { position: absolute; left: 50%; bottom: calc(var(--bottom) + 22px); translate: -50% 0; z-index: 5; display: inline-flex; align-items: center; gap: 12px;
  min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
  background: rgba(250, 247, 240, .94); color: #0b1527; font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  box-shadow: 0 0 22px rgba(200, 222, 248, .35), 0 8px 26px rgba(0, 0, 0, .45); touch-action: manipulation; }
.vy-float span { font-size: 16px; letter-spacing: 0; }
.vy-float:hover, .vy-float:focus-visible { background: #fff; }
.vy-float:active { transform: scale(.98); }
/* tighter fit on short laptop screens */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  .vy-inner { max-width: min(1200px, 128vh); }
  .deck { margin-top: 3vh; }
  #s-voyages .vy-hint { margin-top: 2.2vh; }
  #s-voyages .vy-collect { width: min(340px, 40vh); margin-top: .6vh; }
}
/* Dec 4: the logo is a way home */
#s-entry .logo, .vy-logo { cursor: pointer; }
#s-entry .logo:focus-visible, .vy-logo:focus-visible { outline: 1px solid rgba(250, 247, 240, .7); outline-offset: 8px; border-radius: 4px; }
/* Dec 4 (Davidson: "refine the phone always, that's where it'll mostly be done"): phone cards carry the same essentials as
   the desktop ones (match, key card, voyage, date, tagline, link); the write-up and ports are in the email */
.vy-card .vy-why, .vy-card .vy-ports { display: none; }
@media not all and (min-width: 900px) and (min-aspect-ratio: 5/4) {
  .deck { gap: 52px; }
  .vy-card { gap: 10px; }
  .vy-link { margin-top: 4px; }
}

/* Dec 4 (Davidson: "too much happening at the bottom"): on a computer the foot is just the keys line and the ring */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) { #s-voyages .vy-hint { display: none; } #s-voyages .vy-keys { margin-top: 3vh; } }

/* Read more + See this voyage, side by side under the tagline */
.vy-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; margin-top: 4px; }
.vy-acts .vy-link { margin-top: 0; }
.vy-more { all: unset; cursor: pointer; display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: #fff; background: rgba(250, 247, 240, .1);
  transition: background .2s; touch-action: manipulation; }
.vy-more:hover, .vy-more:focus-visible { background: rgba(250, 247, 240, .2); }
@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  .vy-more { min-height: 0; padding: 0; background: none; font-size: 12px; }
  .vy-more:hover, .vy-more:focus-visible { background: none; text-decoration: underline; text-underline-offset: 5px; }
}

/* the reading overlay: a calm panel over the voyages, the whole write-up and the ports, then the link */
.vy-read { position: absolute; inset: 0; z-index: 7; display: flex; align-items: center; justify-content: center; padding: calc(var(--top) + 16px) 16px calc(var(--bottom) + 16px);
  background: rgba(4, 9, 20, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vr-panel { position: relative; width: min(100%, 620px); max-height: 100%; display: flex; flex-direction: column; border-radius: 14px;
  background: linear-gradient(180deg, rgba(14, 26, 50, .96), rgba(8, 16, 34, .97)); box-shadow: 0 0 0 1px rgba(250, 247, 240, .14), 0 24px 60px rgba(0, 0, 0, .55); }
.vr-body { overflow-y: auto; overscroll-behavior: contain; padding: 40px 32px 32px; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.vr-body h3 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 7.6vw, 38px); line-height: 1.1; color: #fff; }
.vr-body .vy-why { font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .92); }
.vr-body .vy-ports { font-size: 15px; line-height: 1.6; color: var(--faint); }
.vr-body .vy-link { margin-top: 8px; padding: 0 22px; min-height: 46px; font-size: 13px; box-shadow: inset 0 0 0 1px rgba(250, 247, 240, .45) !important; }
.vr-body .vy-link:hover { background: rgba(250, 247, 240, .1) !important; text-decoration: none; }
.vr-x { position: absolute !important; top: 10px !important; right: 10px !important; left: auto !important; }
@media (max-width: 560px) { .vr-body { padding: 36px 22px 26px; } }
/* phone: Read more is a quiet text button (full tap height) so it sits on one row with See this voyage */
@media not all and (min-width: 900px) and (min-aspect-ratio: 5/4) {
  .vy-acts { flex-wrap: nowrap; gap: 18px; }
  .vy-more { padding: 0 2px; background: none; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: rgba(250, 247, 240, .45); }
  .vy-more:hover, .vy-more:focus-visible { background: none; text-decoration-color: #fff; }
  .vy-acts .vy-link { padding: 0 18px; }
}
/* Dec 4 (Davidson: "the text a bit bigger and closer to the left"): the star chart's title grows and its column widens
   leftward toward the chart */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  #s-chart .chart-copy { width: min(600px, 33vw); }
  .chart-copy .ch-lockup { max-width: none; }
}
/* Dec 4 (Davidson): on a computer "Your course is set..." sits centred over the rings (they're centred now), a bit smaller */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  #uni-script { left: 0; right: 0; text-align: center; top: calc(var(--top) + 40px); font-size: clamp(40px, 3.4vw, 56px); }
}
/* Dec 4 (Davidson: the keys line crowded the Collect ring): on a computer it sits top right, beside the sound button, and the
   ring gets room of its own under the cards */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  #s-voyages .vy-keys { position: absolute; top: 29px; right: 76px; margin: 0; font-size: 13px; }
  #s-voyages .vy-collect { margin-top: 4.5vh; }
}
/* Dec 4 (Davidson: "yes", and a little more room under Collect): the dial's keys line joins the voyages' one, top right beside
   the sound button; the voyages page keeps clear sea under the ring */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  #s-sextant .sx-keys:not(.vy-keys) { position: absolute; top: 29px; right: 76px; margin: 0; font-size: 13px; }
  #s-voyages { padding-bottom: max(34px, 6vh); }
  .deck { margin-top: 2.6vh; }
}

/* Dec 4 phone spacing: the course lockup sits higher above Skip, the voyage label clears the lifted card */
@media (max-width: 899px), (max-aspect-ratio: 5/4) {
  #s-chart { padding-bottom: calc(var(--bottom) + 150px); }
  .vy-card .keycard.mini { margin-top: 10px; }
  #entry > .logo.small { width: 140px; }
  /* Your course is set: centred, just above the tilted galaxy (its centre sits at 42% of the height) */
  #uni-script { left: 0; right: 0; text-align: center; top: max(calc(var(--top) + 36px), calc(42% - 37vw - 82px)); }
}

/* Dec 4 (Davidson: the start sky looked pixelated on desktop): wide screens get the site's full 3840 x 2160 sky, so it is no longer
   a 2160 square crop stretched across the window. The kiosk keeps the square (round screen). */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  #sitesky .ss-sky { background-image: url(../assets/g/site/sky-wide.webp); }
}
@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  #sitesky .ss-rings { background-image: url(../assets/g/site/rings-wide.webp); }
}

/* Dec 4 (Davidson: on a tablet everything looked small, in a strip down the middle). Portrait tablets fill the screen: the column
   is the full width, the dial and chart size themselves to it, and each screen's own type and buttons scale up with zoom.
   The key card screen stays unzoomed (its rings are placed in pixels by script) and grows through its own width rule. */
@media (min-width: 600px) and (max-aspect-ratio: 5/4) {
  :root { --col: 100vw; --tz: 1.25; }
  #app::before { display: none; }
  .screen:not(#s-card) { zoom: var(--tz); }
  .sx-foot::before { left: -50vw; right: -50vw; background: linear-gradient(180deg, rgba(10, 16, 32, 0) 0%, rgba(10, 16, 32, .78) 34%, rgba(10, 16, 32, .9) 100%); }
  .snd, .skip, .vy-float, #card-line, #app > .vy-end .vy-end-in, #app > .vy-end .vy-close, .vy-read .vr-panel { zoom: var(--tz); }
}
@media (min-width: 744px) and (max-aspect-ratio: 5/4) { :root { --tz: 1.4; } }
@media (min-width: 960px) and (max-aspect-ratio: 5/4) { :root { --tz: 1.65; } }
@media (min-width: 600px) and (max-aspect-ratio: 5/4) { #app > .vy-end .vy-end-in h2, #app > .vy-end .vy-end-in .title { font-size: 46px; } }
