/* Option 02, The Kit: only what is unique to this option.
   Night flight, calm, precise: moonlight accent, light numerals, boarding pass and cockpit instruments. */

html[data-option='kit'] {
  --accent: #b9dcff;
  --accent-hi: #e2f1ff;
  --accent-dim: rgba(185, 220, 255, 0.12);

  /* Option-local tokens, derived from the shared ones */
  --kit-line: color-mix(in srgb, var(--accent) 34%, transparent);
  --kit-night: color-mix(in srgb, var(--accent) 9%, var(--ink-1));
  --kit-shade: color-mix(in srgb, var(--ink-0) 72%, transparent);
  --kit-scrim: color-mix(in srgb, var(--ink-0) 88%, transparent);
  --kit-ok-line: color-mix(in srgb, var(--success) 40%, transparent);
  --kit-ok-dim: color-mix(in srgb, var(--success) 8%, transparent);
  --kit-dial: 62cqw;
  --kit-orbit: 140s;
  --kit-cruise: 7s;
  --kit-pulse: 2.2s;
}

[data-option='kit'] .screen-root { background: radial-gradient(130% 46% at 50% -6%, var(--kit-night), var(--ink-1) 70%); }

.unit { font-size: 0.3em; font-weight: 500; letter-spacing: 0.04em; margin-left: 0.2em; color: var(--text-3); font-family: var(--font-mono); }

/* Light, precise numerals: the Kit’s voice (Passport shouts in 800, the Kit speaks in 300) */
.kit-display { font-size: var(--fs-3xl); font-weight: 300; letter-spacing: -0.045em; line-height: 0.98; }
.kit-display b { font-weight: 700; }
.kit-display--sm { font-size: var(--fs-2xl); }
.kit-hero { font-size: var(--fs-hero); font-weight: 300; letter-spacing: -0.055em; line-height: 0.9; margin: var(--sp-2) 0 var(--sp-5); }

/* ---------------------------------------------------------------- Claim */

.claim-hero { position: relative; height: 46cqh; overflow: hidden; }
.claim-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.claim-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--kit-shade), transparent 26%, transparent 48%, var(--ink-1)); }
.claim-badge {
  position: absolute; left: 50%; top: calc(var(--safe-top) + var(--sp-2)); z-index: 2;
  translate: -50% 0;
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3); border-radius: var(--r-pill);
  font-size: var(--fs-2xs); white-space: nowrap;
  background: var(--kit-shade); border: 1px solid var(--kit-line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.claim-badge span { display: inline-flex; width: 1.3em; color: var(--success); }
.claim-body { position: relative; margin-top: -9cqh; padding: 0 var(--sp-5) calc(var(--safe-bottom) + var(--sp-6)); display: grid; gap: var(--sp-4); }
.claim-leg { display: grid; gap: var(--sp-2); }

/* The kit ring: four slots, one per product */
.ring { display: grid; justify-items: center; gap: var(--sp-4); padding: var(--sp-5) 0 var(--sp-2); }
.ring figcaption { text-align: center; max-width: 80%; }
.ring__dial { position: relative; width: var(--kit-dial); aspect-ratio: 1; }
.ring__dial svg { width: 100%; height: 100%; overflow: visible; }
.ring__ticks {
  fill: none; stroke: var(--text-4); stroke-width: 7; stroke-dasharray: 0.45 4.55;
  transform-box: fill-box; transform-origin: center;
  animation: kit-orbit var(--kit-orbit) linear infinite;
}
@keyframes kit-orbit { to { transform: rotate(360deg); } }
.ring__track { fill: none; stroke: var(--line); stroke-width: 1; }
.ring__arc { fill: none; stroke: var(--line-strong); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 0.015 0.04; }
.ring__arc.is-on { stroke: var(--accent); stroke-width: 5; stroke-dasharray: 1 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px var(--accent)); }
.screen.is-active .ring__arc.is-on { animation: kit-draw var(--t-xslow) var(--ease-out) calc(var(--t-slow) * 1.2) forwards; }
@keyframes kit-draw { to { stroke-dashoffset: 0; } }
.ring__core { fill: color-mix(in srgb, var(--accent) 5%, transparent); stroke: var(--line); }

.ring__slot {
  position: absolute; left: 50%; top: 50%; width: 16cqw; aspect-ratio: 1;
  translate: -50% -50%;
  transform: rotate(var(--a)) translateY(calc(var(--kit-dial) * -0.393)) rotate(calc(var(--a) * -1));
}
.ring__slot img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 1px dashed var(--text-4); filter: grayscale(0.7) brightness(0.95); opacity: 0.7; }
.ring__slot.is-on img { border: 2px solid var(--accent); filter: none; opacity: 1; box-shadow: 0 0 26px -4px var(--accent); }
.ring__slot i {
  position: absolute; right: -4%; bottom: -4%;
  width: 6.2cqw; height: 6.2cqw; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink-3); border: 1px solid var(--line-strong); color: var(--text-3);
}
.ring__slot.is-on i { background: var(--accent); color: var(--ink-0); border-color: transparent; }
.ring__slot i svg { width: 58%; height: 58%; }
.ring__centre { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: var(--sp-1); }
.ring__centre b { font-size: var(--fs-3xl); font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.ring__centre small { font-size: 0.45em; color: var(--text-3); letter-spacing: 0; }
.ring__centre .mono { font-size: var(--fs-2xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-hi); }

/* A leg between two airports, shared by the claim and the pass */
.leg {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--sp-2) var(--sp-4);
  padding: var(--sp-4); border-radius: var(--r-md);
  background: var(--glass); border: 1px solid var(--line);
}
.leg__end { display: grid; gap: 2px; }
.leg__end b { font-size: var(--fs-xl); font-weight: 500; }
.leg__end small { font-size: var(--fs-2xs); color: var(--text-3); }
.leg__end--r { text-align: right; }
.leg__line { position: relative; height: 1px; background: repeating-linear-gradient(90deg, var(--text-4) 0 4px, transparent 4px 8px); }
.leg__line i { position: absolute; top: 50%; left: 0; width: 5cqw; color: var(--accent-hi); translate: -50% -50%; rotate: 90deg; filter: drop-shadow(0 0 6px var(--accent)); }
.leg__line i svg { width: 100%; height: auto; display: block; }
.screen.is-active .leg__line i { animation: kit-fly calc(var(--t-xslow) * 2) var(--ease-in-out) calc(var(--t-slow) * 1.6) forwards; }
@keyframes kit-fly { to { left: 100%; } }
.leg__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: var(--sp-2); padding-top: var(--sp-3); border-top: 1px dashed var(--line); font-size: var(--fs-xs); color: var(--text-3); }
.leg__foot .num { color: var(--text); font-weight: 600; }

/* ---------------------------------------------------------------- Trip: boarding pass */

.pass {
  position: relative; margin-top: var(--sp-3);
  border-radius: var(--r-lg); overflow: hidden;
  background:
    radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
    var(--ink-2);
  border: 1px solid var(--kit-line);
  box-shadow: var(--shadow-card);
}
.pass__top { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2); padding: var(--sp-4) var(--sp-4) 0; }
.pass__brand { white-space: nowrap; display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-2xs); color: var(--text-3); }
.pass__brand img { height: var(--fs-xs); width: auto; }
.pass__route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--sp-3); padding: var(--sp-4); }
.pass__end { display: grid; gap: var(--sp-1); }
.pass__end--r { text-align: right; }
.pass__code { font-size: var(--fs-3xl); font-weight: 300; letter-spacing: -0.035em; line-height: 0.9; }
.pass__city { font-family: var(--font-mono); font-size: var(--fs-2xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.pass__path { position: relative; height: 1px; background: repeating-linear-gradient(90deg, var(--kit-line) 0 3px, transparent 3px 7px); }
.pass__plane { position: absolute; top: 50%; left: 50%; width: 6cqw; translate: -50% -50%; rotate: 90deg; color: var(--accent-hi); filter: drop-shadow(0 0 8px var(--accent)); animation: kit-cruise var(--kit-cruise) var(--ease-in-out) infinite alternate; }
.pass__plane svg { width: 100%; height: auto; display: block; }
@keyframes kit-cruise { from { left: 22%; } to { left: 78%; } }
.pass__tear { position: relative; margin: 0 var(--sp-4); border-top: 1px dashed var(--line-strong); }
.pass__tear::before,
.pass__tear::after {
  content: ''; position: absolute; top: 0; width: 6cqw; aspect-ratio: 1; border-radius: 50%;
  background: var(--ink-1); border: 1px solid var(--kit-line); translate: 0 -50%;
}
.pass__tear::before { left: calc(var(--sp-4) * -1 - 3cqw); }
.pass__tear::after { right: calc(var(--sp-4) * -1 - 3cqw); }
.pass__fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-2); padding: var(--sp-4) var(--sp-4) var(--sp-3); }
.pass__fields dt { font-family: var(--font-mono); font-size: var(--fs-2xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.pass__fields dd { font-size: var(--fs-lg); font-weight: 500; font-variant-numeric: tabular-nums; margin-top: 2px; }
.pass__fields sup { font-size: 0.5em; color: var(--accent-hi); margin-left: 1px; }
.pass__foot { padding: 0 var(--sp-4) var(--sp-4); font-size: var(--fs-2xs); color: var(--text-3); }

/* ---------------------------------------------------------------- Trip: phase stepper */

.phases {
  position: sticky; top: var(--safe-top); z-index: 5;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: var(--sp-5) 0 var(--sp-5); padding: var(--sp-1);
  border-radius: var(--r-md); background: color-mix(in srgb, var(--ink-1) 88%, transparent); border: 1px solid var(--line);
}
.phases__ind {
  position: absolute; top: var(--sp-1); bottom: var(--sp-1); left: var(--sp-1);
  width: calc((100% - 2 * var(--sp-1)) / 4);
  border-radius: calc(var(--r-md) - var(--sp-1));
  background: color-mix(in srgb, var(--accent) 16%, var(--ink-3));
  border: 1px solid var(--kit-line);
  box-shadow: 0 0 24px -8px var(--accent);
  transform: translateX(calc(var(--at, 0) * 100%));
  transition: transform var(--t-med) var(--ease-spring);
}
.phase {
  position: relative; z-index: 1;
  display: grid; justify-items: center; gap: 3px;
  padding: var(--sp-2) 0; min-height: var(--tap-min);
  color: var(--text-3); border-radius: calc(var(--r-md) - var(--sp-1));
  transition: color var(--t-fast);
}
.phase[aria-selected='true'] { color: var(--text); }
.phase__n { font-size: var(--fs-2xs); color: var(--text-4); }
.phase[aria-selected='true'] .phase__n { color: var(--accent-hi); }
.phase__name { font-size: var(--fs-xs); font-weight: 700; }
.phase__ticks { display: flex; gap: 2px; margin-top: 2px; }
.phase__ticks i { width: 3cqw; height: 3px; border-radius: 2px; background: var(--line-strong); }
.phase__ticks i.is-on { background: var(--accent); box-shadow: 0 0 6px var(--accent); }

.panel[hidden] { display: none; }
.panel.is-in { animation: kit-panel var(--t-slow) var(--ease-out) both; }
@keyframes kit-panel { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 18px)); } }
.panel__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--sp-1) var(--sp-3); margin-bottom: var(--sp-4); }
.panel__n { grid-column: 1 / -1; font-size: var(--fs-2xs); color: var(--accent-hi); letter-spacing: 0.16em; text-transform: uppercase; }
.panel__cover { font-family: var(--font-mono); font-size: var(--fs-2xs); color: var(--text-3); white-space: nowrap; padding-bottom: 0.3em; }
.panel__cover .num { color: var(--text); font-size: var(--fs-sm); }

/* ---------------------------------------------------------------- Pack */

.checklist { list-style: none; display: grid; padding: 0 var(--sp-4); border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line); }
.checklist li + li { border-top: 1px solid var(--line); }
.check {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--sp-3);
  width: 100%; min-height: max(var(--tap-min), 13cqw); padding: var(--sp-2) 0;
  text-align: left; font-size: var(--fs-sm);
}
.check__box {
  display: grid; place-items: center;
  width: 6.4cqw; height: 6.4cqw; min-width: 20px; min-height: 20px;
  border-radius: 30%; border: 1.5px solid var(--line-strong); color: var(--ink-0);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.check__box svg { width: 78%; height: 78%; }
.check__box path { stroke-width: 2.6; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset var(--t-med) var(--ease-out); }
.check.is-on .check__box { background: var(--accent); border-color: transparent; }
.check.is-on .check__box path { stroke-dashoffset: 0; }
.check.is-on .check__name { color: var(--text-3); }
.check__name small { display: block; font-size: var(--fs-2xs); color: var(--accent-hi); margin-top: 2px; }
.check.is-scanned .check__name { color: var(--text); font-weight: 600; }

/* The hoodie ticks itself: its label was the scan */
.check.is-scanned .check__box { background: transparent; border-color: var(--line-strong); }
.check.is-scanned .check__box path { stroke-dashoffset: 24; transition: none; }
.panel.is-in .check.is-scanned .check__box { animation: kit-fill var(--t-med) var(--ease-out) calc(var(--t-xslow) * 0.9) forwards; }
.panel.is-in .check.is-scanned .check__box path { animation: kit-tick var(--t-slow) var(--ease-out) calc(var(--t-xslow) * 1.05) forwards; }
@keyframes kit-fill { to { background: var(--accent); border-color: transparent; box-shadow: 0 0 16px -2px var(--accent); } }
@keyframes kit-tick { to { stroke-dashoffset: 0; } }
.check__chip { position: relative; }
.check__chip::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--accent-hi); opacity: 0; }
.panel.is-in .check__chip::after { animation: kit-ping var(--kit-pulse) var(--ease-out) calc(var(--t-slow)) 2; }
@keyframes kit-ping { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35, 1.8); } }

.suggest-list { display: grid; gap: var(--sp-2); }
.suggest {
  display: grid; grid-template-columns: 19cqw 1fr auto; gap: var(--sp-3); align-items: center;
  width: 100%; padding: var(--sp-2) var(--sp-4) var(--sp-2) var(--sp-2);
  border-radius: var(--r-lg); border: 1px dashed var(--line-strong); background: var(--glass);
  text-align: left;
  transition: border-color var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.suggest:hover { border-color: var(--kit-line); }
.suggest:active { transform: scale(0.985); }
.suggest__img { aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; }
.suggest__img img { width: 100%; height: 100%; object-fit: cover; }
.suggest__body { display: grid; gap: 2px; }
.suggest__moment { font-size: var(--fs-2xs); color: var(--accent-hi); text-transform: uppercase; letter-spacing: 0.12em; }
.suggest b { font-size: var(--fs-sm); }
.suggest .small { line-height: 1.35; }
.suggest__plus { display: grid; justify-items: center; font-size: var(--fs-xl); font-weight: 300; color: var(--accent-hi); line-height: 1; }
.suggest__plus small { font-family: var(--font-mono); font-size: var(--fs-2xs); color: var(--text-3); margin-top: var(--sp-1); }

/* ---------------------------------------------------------------- Gate */

.board { padding: 0; background: var(--ink-2); }
.board__img { position: relative; height: 38cqw; }
.board__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.board__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, var(--ink-2)); }
.board__body { position: relative; display: grid; gap: var(--sp-2); padding: 0 var(--sp-5) var(--sp-5); margin-top: -6cqw; }
.prep { list-style: none; display: grid; gap: var(--sp-5); margin-top: var(--sp-3); }
.prep__item { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3); }
.prep__n { font-size: var(--fs-xs); color: var(--accent-hi); padding-top: 0.15em; }
.prep__item b { display: block; font-size: var(--fs-sm); }
.prep__item .small { margin: 2px 0 var(--sp-3); }
.btn.is-done { color: var(--success); border-color: var(--kit-ok-line); background: var(--kit-ok-dim); }

.dl {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--sp-3);
  width: 100%; min-height: var(--tap-min); padding: var(--sp-2) var(--sp-4) var(--sp-2) var(--sp-2);
  border-radius: var(--r-pill); border: 1px solid var(--kit-line); background: var(--accent-dim);
  text-align: left;
  transition: border-color var(--t-med), background var(--t-med);
}
.dl__ring { position: relative; width: 12cqw; aspect-ratio: 1; display: grid; place-items: center; }
.dl__ring > svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.dl__bg { fill: none; stroke: var(--line-strong); stroke-width: 2.5; }
.dl__fg { fill: none; stroke: var(--accent-hi); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 4px var(--accent)); }
.dl__pct { display: grid; place-items: center; width: 55%; font-family: var(--font-mono); font-size: var(--fs-2xs); color: var(--accent-hi); }
.dl__pct svg { width: 100%; height: auto; }
.dl__text { display: grid; gap: 2px; }
.dl__label { font-size: var(--fs-sm); }
.dl__meta { font-family: var(--font-mono); font-size: var(--fs-2xs); color: var(--text-3); }
.dl.is-done { border-color: var(--kit-ok-line); background: var(--kit-ok-dim); }
.dl.is-done .dl__fg { stroke: var(--success); filter: none; }
.dl.is-done .dl__pct { color: var(--success); }
.dl.is-done .dl__ring { animation: kit-pop var(--t-slow) var(--ease-spring); }
@keyframes kit-pop { 40% { transform: scale(1.18); } }

.jl { list-style: none; display: grid; }
.jl li { display: grid; grid-template-columns: 15cqw 1fr; gap: var(--sp-3); }
.jl__time { font-family: var(--font-mono); text-align: right; padding-top: 1px; }
.jl__time b { display: block; font-size: var(--fs-md); font-weight: 500; }
.jl__time small { font-size: var(--fs-2xs); color: var(--text-4); }
.jl__body { position: relative; display: grid; gap: 2px; padding: 0 0 var(--sp-5) var(--sp-4); border-left: 1px solid var(--kit-line); }
.jl__body::before {
  content: ''; position: absolute; left: 0; top: 0.4em;
  width: 2.4cqw; aspect-ratio: 1; border-radius: 50%; translate: -50% 0;
  background: var(--accent); box-shadow: 0 0 0 3px var(--ink-1), 0 0 10px var(--accent);
}
.jl__body b { font-size: var(--fs-sm); }
.jl li:last-child .jl__body { border-left-color: transparent; }
.jl li.is-locked .jl__time,
.jl li.is-locked .jl__body > :not(.sr-only) { filter: blur(3px); opacity: 0.5; }
.jl li.is-locked .jl__body::before { background: var(--ink-4); box-shadow: 0 0 0 3px var(--ink-1); }
.jl li.is-locked .jl__body { border-left-style: dashed; border-left-color: var(--line-strong); }
.jl__unlock {
  display: grid; grid-template-columns: 13cqw 1fr auto; gap: var(--sp-3); align-items: center;
  width: 100%; margin-top: calc(var(--sp-7) * -1.6); position: relative;
  padding: var(--sp-2) var(--sp-4) var(--sp-2) var(--sp-2);
  border-radius: var(--r-lg); text-align: left;
  background: var(--kit-scrim); border: 1px solid var(--kit-line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px -18px var(--ink-0);
}
.jl__unlock[hidden] { display: none; }
.jl__unlock-img { aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; }
.jl__unlock-img img { width: 100%; height: 100%; object-fit: cover; }
.jl__unlock b { display: block; font-size: var(--fs-sm); }
.jl__unlock .small { display: block; }
.jl__unlock > svg { width: 4.5cqw; color: var(--accent-hi); }

.gaps { display: grid; gap: var(--sp-2); margin-top: var(--sp-4); }
.gaps:empty { display: none; }
.gap {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--sp-3);
  width: 100%; padding: var(--sp-3); border-radius: var(--r-md);
  border: 1px dashed var(--line-strong); text-align: left;
  transition: border-color var(--t-fast);
}
.gap:hover { border-color: var(--kit-line); }
.gap__icon { display: grid; place-items: center; width: 9cqw; height: 9cqw; border-radius: var(--r-sm); background: var(--glass-strong); color: var(--text-3); }
.gap__icon svg { width: 50%; height: 50%; }
.gap b { display: block; font-size: var(--fs-sm); }
.gap small { display: block; font-size: var(--fs-2xs); color: var(--text-3); margin-top: 1px; }
.gap > svg { width: 4.5cqw; color: var(--text-4); }

/* ---------------------------------------------------------------- Flight */

.fpath { padding: var(--sp-4); margin-bottom: var(--sp-3); border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line); }
.fpath__top { display: flex; justify-content: space-between; align-items: baseline; }
.fpath svg { display: block; width: 100%; height: auto; overflow: visible; margin: var(--sp-3) 0 var(--sp-2); }
.fpath__track { fill: none; stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 3 4; }
.fpath__done { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 0 1; filter: drop-shadow(0 0 4px var(--accent)); }
.panel.is-in .fpath__done { animation: kit-progress var(--t-xslow) var(--ease-out) var(--t-med) forwards; }
@keyframes kit-progress { to { stroke-dasharray: var(--p) 1; } }
.fpath__dot { fill: var(--text-3); }
.fpath__dot--to { fill: none; stroke: var(--accent-hi); stroke-width: 1.5; }
.fpath__label { font-family: var(--font-mono); font-size: 11px; fill: var(--text-3); letter-spacing: 0.08em; }
.fpath__plane { color: var(--accent-hi); filter: drop-shadow(0 0 6px var(--accent)); }
.fpath__plane svg { fill: var(--ink-1); }
.panel.is-in .fpath__plane { animation: kit-appear var(--t-med) var(--ease-out) calc(var(--t-xslow) + var(--t-med)) both; }
@keyframes kit-appear { from { opacity: 0; } }
.fpath__foot { display: flex; justify-content: space-between; gap: var(--sp-2); font-size: var(--fs-2xs); color: var(--text-3); }

.window { height: 112cqw; border: 1px solid var(--line); }
.window > img { object-position: 40% 50%; }
.window .media__body { gap: var(--sp-3); justify-items: start; }
.window .btn { margin-top: var(--sp-1); }

/* ---------------------------------------------------------------- Arrive */

.arrive { height: 118cqw; border: 1px solid var(--line); }
.arrive > img { object-position: 50% 40%; transition: transform var(--t-xslow) var(--ease-out), filter var(--t-xslow); }
.arrive.is-reading > img { transform: scale(1.06); filter: brightness(0.6); }
.arrive .media__body { gap: var(--sp-2); }
.arrive.is-in .arrive__status { color: var(--success); }
.arrive.is-in .arrive__hint { display: none; }
.arrive .btn[hidden] { display: none; }
.arrive__rings { position: absolute; left: 50%; top: 36%; display: grid; place-items: center; pointer-events: none; }
.arrive__rings span { position: absolute; width: 30cqw; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--accent-hi); opacity: 0; }
.arrive.is-reading .arrive__rings span { animation: ring 1.6s var(--ease-out) infinite; }
.arrive.is-reading .arrive__rings span:nth-child(2) { animation-delay: 0.5s; }
.arrive.is-reading .arrive__rings span:nth-child(3) { animation-delay: 1s; }

.landed {
  display: grid; gap: var(--sp-1); margin-top: var(--sp-3); padding: var(--sp-4);
  border-radius: var(--r-lg); border: 1px solid var(--kit-line);
  background: linear-gradient(160deg, var(--accent-dim), transparent 70%), var(--glass);
  animation: reveal var(--t-slow) var(--ease-out) both;
}
.landed:empty { display: none; }
.landed__num { font-size: var(--fs-3xl); font-weight: 300; letter-spacing: -0.045em; line-height: 1; color: var(--accent-hi); }
.landed__num small { font-family: var(--font-mono); font-size: 0.32em; letter-spacing: 0.04em; color: var(--text-3); margin-left: 0.2em; }
.arrive-globe { width: 108%; margin: var(--sp-2) -4% 0; }
.privacy { display: flex; gap: var(--sp-2); align-items: flex-start; margin-bottom: var(--sp-5); }
.privacy > span { flex: none; width: 4.5cqw; color: var(--success); }

.trade-prompt { display: grid; grid-template-columns: 20cqw 1fr auto; gap: var(--sp-4); align-items: center; padding: var(--sp-3); margin-bottom: var(--sp-3); }
.trade-prompt__img { aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; }
.trade-prompt__img img { width: 100%; height: 100%; object-fit: cover; }
.trade-prompt .eyebrow { display: block; margin-bottom: 2px; }
.trade-prompt__chev { width: 4.5cqw; color: var(--text-3); }

.challenge { padding: 0; }
.challenge__img { position: relative; height: 34cqw; }
.challenge__img img { width: 100%; height: 100%; object-fit: cover; }
.challenge__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, var(--ink-2)); }
.challenge { background: var(--ink-2); }
.challenge__body { position: relative; display: grid; gap: var(--sp-2); padding: 0 var(--sp-4) var(--sp-4); margin-top: -6cqw; }
.mini-board { list-style: none; display: grid; gap: 2px; margin: var(--sp-2) 0; }
.mini-board li { display: grid; grid-template-columns: 10cqw 1fr auto; align-items: center; gap: var(--sp-2); padding: var(--sp-2) var(--sp-3); border-radius: var(--r-sm); font-size: var(--fs-xs); }
.mini-board li .mono { color: var(--text-3); }
.mini-board li .num { font-weight: 600; }
.mini-board li.is-you { background: linear-gradient(90deg, var(--accent-dim), transparent); box-shadow: inset 2px 0 0 var(--accent); }
.mini-board li.is-you .mono { color: var(--accent-hi); }
.challenge__fine { display: flex; gap: var(--sp-2); align-items: flex-start; font-size: var(--fs-2xs); color: var(--text-3); line-height: 1.45; }
.challenge__fine svg { flex: none; width: 1.4em; height: 1.4em; color: var(--gold); }

/* ---------------------------------------------------------------- Kit: the moments gauge */

.gauge { position: relative; width: 88%; margin: var(--sp-2) auto 0; }
.gauge svg { display: block; width: 100%; height: auto; overflow: visible; }
.gauge__minor { fill: none; stroke: var(--text-4); stroke-width: 5; stroke-dasharray: 0.06 0.94; }
.gauge__major { fill: none; stroke: var(--text-3); stroke-width: 11; stroke-dasharray: 0.04 0.96; stroke-dashoffset: 0.02; }
.gauge__seg { fill: none; stroke: var(--line-strong); stroke-width: 12; transition: stroke var(--t-med); }
.gauge__seg.is-on { stroke: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }
.gauge__seg.is-ghost { stroke: var(--accent-hi); animation: kit-ghost var(--kit-pulse) ease-in-out infinite alternate; }
@keyframes kit-ghost { from { opacity: 0.25; } to { opacity: 0.8; } }
.gauge__needle {
  transform-box: view-box; transform-origin: 150px 150px;
  transform: rotate(var(--deg));
  transition: transform var(--t-xslow) var(--ease-spring);
}
.gauge__needle line { stroke: var(--text); stroke-width: 2.5; stroke-linecap: round; }
.gauge__needle circle { fill: var(--ink-1); stroke: var(--accent-hi); stroke-width: 2.5; }
.gauge__end { font-family: var(--font-mono); font-size: 11px; fill: var(--text-4); }
.gauge__read { position: absolute; left: 0; right: 0; top: 75%; display: grid; justify-items: center; gap: 2px; }
.gauge__read b { font-size: var(--fs-3xl); font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.gauge__read .mono { font-size: var(--fs-2xs); color: var(--text-3); letter-spacing: 0.14em; text-transform: uppercase; }
.gauge__caption { text-align: center; margin: var(--sp-5) auto 0; max-width: 88%; min-height: 3.1em; }
.gauge__caption b { color: var(--text); }

.mrows { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); padding: var(--sp-4); border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line); }
.mrow { display: grid; grid-template-columns: 15cqw 1fr; gap: var(--sp-3); align-items: start; }
.mrow + .mrow { padding-top: var(--sp-3); border-top: 1px solid var(--line); }
.mrow__phase { font-size: var(--fs-2xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); padding-top: 0.35em; }
.mrow__chips { display: flex; flex-wrap: wrap; gap: var(--sp-1); }
.mchip {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-2); border-radius: var(--r-pill);
  font-size: var(--fs-2xs); color: var(--text-4); border: 1px dashed var(--line-strong);
  transition: color var(--t-med), border-color var(--t-med), background var(--t-med);
}
.mchip svg { width: 1.15em; height: 1.15em; flex: none; }
.mchip.is-on { color: var(--accent-hi); border-style: solid; border-color: var(--kit-line); background: var(--accent-dim); }
.mchip.is-ghost { color: var(--text); border-color: var(--accent-hi); animation: kit-ghost var(--kit-pulse) ease-in-out infinite alternate; }

.prods { display: grid; gap: var(--sp-3); }
.prod {
  display: grid; grid-template-columns: 22cqw 1fr; gap: var(--sp-3);
  padding: var(--sp-3); border-radius: var(--r-lg);
  background: var(--glass); border: 1px dashed var(--line-strong);
  transition: border-color var(--t-med), box-shadow var(--t-med);
}
.prod.is-owned { border: 1px solid var(--kit-line); background: linear-gradient(160deg, var(--accent-dim), transparent 70%), var(--glass); }
.prod.is-preview { border-style: solid; border-color: var(--accent-hi); box-shadow: 0 0 34px -14px var(--accent); }
.prod__img { position: relative; align-self: start; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; }
.prod__img img { width: 100%; height: 100%; object-fit: cover; }
.prod:not(.is-owned) .prod__img img { filter: saturate(0.6) brightness(0.72); transition: filter var(--t-med); }
.prod.is-preview .prod__img img { filter: none; }
.prod__img i { position: absolute; right: 6%; bottom: 6%; width: 7cqw; height: 7cqw; display: grid; place-items: center; border-radius: 50%; background: var(--kit-shade); }
.prod__img i svg { width: 55%; height: 55%; }
.prod__body { display: grid; align-content: start; gap: 2px; min-width: 0; }
.prod__moment { font-size: var(--fs-2xs); color: var(--accent-hi); letter-spacing: 0.1em; text-transform: uppercase; }
.prod .small { margin-bottom: var(--sp-2); }
.prod__foot { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }

/* ---------------------------------------------------------------- Log */

.log-globe { position: relative; width: 112%; margin: calc(var(--sp-2) * -1) -6% var(--sp-2); }
.log-globe__hint { position: absolute; right: 8%; bottom: 10%; font-size: var(--fs-2xs); color: var(--text-4); pointer-events: none; }

.legs { list-style: none; display: grid; gap: var(--sp-2); }
.legrow {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--sp-1) var(--sp-3);
  padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md);
  background: var(--glass); border: 1px solid var(--line);
  box-shadow: inset 2px 0 0 var(--kit-line);
}
.legrow__route { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-lg); }
.legrow__route b { font-weight: 500; }
.legrow__route i { width: 9cqw; height: 1px; background: repeating-linear-gradient(90deg, var(--text-4) 0 3px, transparent 3px 6px); }
.legrow__date { justify-self: end; font-size: var(--fs-2xs); color: var(--text-3); }
.legrow__meta { font-size: var(--fs-2xs); color: var(--text-3); }
.legrow__mi { justify-self: end; font-size: var(--fs-sm); font-weight: 600; }
.legrow.is-factory { box-shadow: inset 2px 0 0 var(--gold); }
.legrow.is-new { border-color: var(--kit-line); background: linear-gradient(90deg, var(--accent-dim), transparent 70%), var(--glass); box-shadow: inset 2px 0 0 var(--accent); animation: reveal var(--t-slow) var(--ease-out) both; }
.legrow.is-new .legrow__date { color: var(--accent-hi); }

.prov-row { display: grid; grid-template-columns: auto 1fr auto; gap: var(--sp-3); align-items: center; margin-top: var(--sp-5); padding: var(--sp-4); }

/* ---------------------------------------------------------------- Reduced motion: final states, no loops */

@media (prefers-reduced-motion: reduce) {
  .ring__ticks, .pass__plane, .gauge__seg.is-ghost, .mchip.is-ghost, .panel.is-in,
  .check__chip::after, .arrive__rings span, .dl.is-done .dl__ring { animation: none !important; }
  .gauge__seg.is-ghost, .mchip.is-ghost { opacity: 0.7; }
  .pass__plane { left: 50%; }
}
