/* ==========================================================================
   Launchpad Technology — homepage journey (v0.12.0, 24 Oct 2026)
   Load after premium.css. The hero is the product-theatre opening; the
   chapters are paper panels over a sticky 3D flight.
   Default (no script, no WebGL, reduced motion): a normal page on navy.
   html.jr-motion: the stage is shown and the gaps open up for the scene.
   html.jr-live:   the scene is drawing.
   ========================================================================== */

:root {
  --jr-navy: var(--lp-brand-navy, #0D1123);
  --jr-navy-2: #131830;
  --jr-blue: var(--lp-brand-blue, #4490E2);
  --jr-blue-400: var(--lp-blue-400, #6FA8E8);
  --jr-hair: rgba(255, 255, 255, 0.14);
  --jr-on-dark: rgba(255, 255, 255, 0.78);
  --jr-on-dark-2: rgba(255, 255, 255, 0.56);
  --jr-mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --jr-panel-w: 46rem;
  --jr-gap: clamp(3rem, 7vw, 5rem);
  --jr-gap-motion: 64vh;
}

/* ---------- Journey shell ---------- */
.jr {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(70rem 40rem at 85% 0%, rgba(68, 144, 226, 0.12), transparent 60%),
    var(--jr-navy);
  padding-bottom: var(--jr-gap);
}

.jr-stage { display: none; }

html.jr-motion .jr {
  background: var(--jr-navy);
  padding-bottom: 0;
}

.jr-stage-track { display: none; }

/* The track spans the whole journey; the stage sticks inside it, so the
   scene can never extend past the last chapter. */
html.jr-motion .jr-stage-track {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

html.jr-motion .jr-stage {
  display: block;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100lvh;
  overflow: hidden;
}

.jr-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 900ms ease;
}

html.jr-live .jr-canvas { opacity: 1; }

.jr-hero,
.jr-ch { position: relative; z-index: 1; }

/* ---------- Telemetry over the scene (concept A register) ---------- */
.jr-hud {
  position: absolute;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vh, 32px);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 22px;
  max-width: calc(100% - 32px);
  font-family: var(--jr-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jr-on-dark);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 600ms ease;
}

html.jr-live .jr-hud { opacity: 1; }

.jr-hud__item { display: inline-flex; gap: 8px; white-space: nowrap; }

/* phones: one short line at the left edge, where the panels cover it */
@media (max-width: 699px) {
  .jr-hud { left: var(--gutter-mobile); right: auto; justify-content: flex-start; font-size: 10px; gap: 14px; }
  .jr-hud__item--stage { display: none; }
}
.jr-hud__k { color: var(--jr-blue-400); }

.jr-label {
  position: absolute;
  left: 0;
  top: 0;
  margin-top: -0.7em;
  padding-left: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
  opacity: 0;
  white-space: nowrap;
  will-change: transform, opacity;
}

.jr-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
}

.jr-label::after {
  content: "";
  position: absolute;
  left: -3px;
  top: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jr-blue);
}

/* ---------- Hero (concept D, product theatre opening) ---------- */
.jr-hero {
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(640px, 100svh, 1040px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: var(--jr-navy);
}

.jr-hero__bg {
  position: absolute;
  inset: 0 auto 0 0;
  width: 134%;
  max-width: none;
  z-index: -2;
}

.jr-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transform-origin: 64% 58%;
  animation: jr-kenburns 32s ease-in-out infinite alternate;
}

@keyframes jr-kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.1) translate3d(-1%, -0.8%, 0); }
}

.jr-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 17, 35, 0.9) 0%, rgba(13, 17, 35, 0.66) 36%, rgba(13, 17, 35, 0.14) 68%, rgba(13, 17, 35, 0.05) 100%),
    linear-gradient(180deg, rgba(13, 17, 35, 0.55) 0%, rgba(13, 17, 35, 0) 22%, rgba(13, 17, 35, 0) 52%, rgba(13, 17, 35, 0.9) 86%, var(--jr-navy) 100%);
}

.jr-hero__inner {
  padding-top: calc(var(--space-24, 6rem) + 32px);
  padding-bottom: clamp(var(--space-6), 3vw, var(--space-10, 2.5rem));
}

.jr-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--space-6);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--jr-on-dark);
}

.jr-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--jr-blue); flex: none; }

.jr-hero__title {
  margin: 0;
  max-width: 14em;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
}

.jr-hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--jr-blue-400);
}

.jr-hero__lede {
  margin: var(--space-5, 1.25rem) 0 0;
  max-width: 40em;
  font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.2rem);
  line-height: 1.6;
  color: var(--jr-on-dark);
}

.jr-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-6); }

.jr-hero .btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(13, 17, 35, 0.2);
}

.jr-hero .btn-secondary:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.45); }

.jr-hero__meta {
  margin: var(--space-4) 0 0;
  font-size: var(--text-small);
  color: var(--jr-on-dark-2);
  max-width: 40rem;
}

/* Playbill: the running order, pinned to the base of the hero */
.jr-playbill { padding-bottom: var(--space-6); }

.jr-playbill__title {
  max-width: none;
  margin: 0 0 var(--space-4);
  padding-top: var(--space-5, 1.25rem);
  border-top: 1px solid var(--jr-hair);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jr-on-dark-2);
}

.jr-playbill__acts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5, 1.25rem) var(--space-6);
}

@media (min-width: 900px) {
  .jr-playbill__acts { grid-template-columns: 1.1fr 1.7fr 1fr 1fr 1fr 1.1fr; gap: var(--space-6); }
}

.jr-act { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.jr-act--wide { grid-column: span 2; }
@media (min-width: 900px) { .jr-act--wide { grid-column: auto; } }

.jr-act__n {
  font-family: var(--jr-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jr-blue-400);
}

.jr-act__name,
.jr-act__list a {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.jr-act__name:hover,
.jr-act__list a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--jr-blue); }

.jr-act__name:focus-visible,
.jr-act__list a:focus-visible { outline: 2px solid var(--jr-blue); outline-offset: 3px; border-radius: 2px; }

.jr-act__sub { font-size: 13px; color: var(--jr-on-dark-2); line-height: 1.4; }

.jr-act__list {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
}

.jr-act__list a { font-weight: 500; font-size: 14px; color: var(--jr-on-dark); }
.jr-act__list span { font-size: 12px; color: var(--jr-on-dark-2); }

.jr-act--finale .jr-act__name { color: var(--jr-blue-400); }

/* Wide screens with the scene running: the photo dissolves into the 3D pad. */
@media (min-width: 900px) {
  html.jr-live .jr-hero { background: transparent; }
  html.jr-live .jr-hero__bg {
    -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 74%, transparent 100%);
  }
  html.jr-live .jr-hero__veil {
    background:
      linear-gradient(90deg, rgba(13, 17, 35, 0.9) 0%, rgba(13, 17, 35, 0.66) 36%, rgba(13, 17, 35, 0.14) 68%, rgba(13, 17, 35, 0.05) 100%),
      linear-gradient(180deg, rgba(13, 17, 35, 0.55) 0%, rgba(13, 17, 35, 0) 22%, rgba(13, 17, 35, 0) 50%, rgba(13, 17, 35, 0.86) 76%, rgba(13, 17, 35, 0.86) 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
  }
}

@media (max-width: 899px) {
  .jr-hero { justify-content: flex-start; }
  .jr-hero__bg {
    bottom: auto;
    width: 100%;
    height: 460px;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  }
  .jr-hero__bg img { object-position: 58% 50%; }
  .jr-hero__veil {
    bottom: auto;
    height: 460px;
    background: linear-gradient(180deg, rgba(13, 17, 35, 0.5) 0%, rgba(13, 17, 35, 0) 20%, rgba(13, 17, 35, 0) 50%, rgba(13, 17, 35, 0.86) 82%, var(--jr-navy) 100%);
  }
  .jr-hero__inner { padding-top: 300px; }
  .jr-hero__kicker { font-size: 11px; letter-spacing: 0.05em; margin-bottom: var(--space-4); }
  .jr-hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------- Chapters ---------- */
.jr-gap {
  height: var(--jr-gap);
  display: flex;
  align-items: flex-end;
}

html.jr-motion .jr-gap { height: var(--jr-gap-motion); }
@media (max-width: 899px) { html.jr-motion { --jr-gap-motion: 78vh; } }

html:not(.jr-motion) .jr-gap__tele { justify-content: center; }

.jr-gap__tele {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto var(--space-6);
  padding-inline: var(--gutter-mobile);
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--jr-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jr-on-dark);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

@media (min-width: 768px) { .jr-gap__tele { padding-inline: var(--gutter-tablet); } }
@media (min-width: 1024px) { .jr-gap__tele { padding-inline: var(--gutter-desktop); } }

.jr-gap__tele span {
  color: var(--jr-blue-400);
  padding-right: 14px;
  border-right: 1px solid var(--jr-hair);
}

.jr-panel {
  position: relative;
  max-width: var(--jr-panel-w);
  padding: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  background: var(--ed-paper);
  border-radius: 22px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 40px 80px -40px rgba(0, 0, 0, 0.65);
}

/* static layouts: one centred reading column */
html:not(.jr-motion) .jr-panel { margin-inline: auto; max-width: 52rem; }

/* with the scene: a left column, leaving the right of the screen to the flight */
@media (min-width: 1000px) {
  html.jr-motion .jr-panel { width: min(var(--jr-panel-w), 56%); }
  html.jr-motion .jr-panel--editorial { --jr-panel-w: 48rem; width: min(var(--jr-panel-w), 60%); }
}

.jr-panel .ed-head { margin-bottom: clamp(var(--space-8), 4vw, var(--space-12)); }
.jr-panel .ed-head h2 { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.9rem); }
.jr-panel .ed-cap { padding-block: clamp(var(--space-6), 3vw, var(--space-8)); }

@media (min-width: 1000px) {
  /* inside the narrower panel the capability rows read better stacked */
  .jr-panel .ed-cap { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-3) var(--space-8); }
}

.jr-caps--compact .ed-cap h3 { font-size: 1.35rem; }
.jr-caps--compact .ed-cap p { margin: 0; }

html.jr-motion .jr-ch--finale { padding-bottom: 46vh; }

/* ---------- Product pitches ---------- */
.jr-product {
  padding-block: clamp(var(--space-8), 4vw, var(--space-12));
  border-top: 1px solid var(--ed-rule);
}

.jr-product:last-child { padding-bottom: 0; }

.jr-product h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--ed-h3);
  line-height: 1.15;
  color: var(--ed-ink);
  margin: var(--space-3) 0 var(--space-4);
}

.jr-product > p,
.jr-plain,
.jr-scene-note { color: var(--ed-body); line-height: 1.7; margin: 0 0 var(--space-6); max-width: var(--ed-measure); }

.jr-scene-note { display: none; font-size: var(--text-small); color: var(--ed-muted); }
html.jr-live .jr-scene-note { display: block; }

.jr-outcomes {
  list-style: none;
  margin: 0 0 var(--space-8);
  padding: 0;
  border-top: 1px solid var(--ed-rule);
}

.jr-outcomes li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid var(--ed-rule);
  color: var(--ed-ink);
  line-height: 1.5;
}

.jr-outcomes li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(12px + 0.55em);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jr-blue);
}

.jr-product__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-8);
}

.jr-more { margin: var(--space-12) 0 0; }

/* ---------- Product theatre (concept D) ---------- */
.jr-theatre {
  margin: 0 0 var(--space-8);
  padding-top: var(--space-6);
}

.jr-theatre__note { font-size: var(--text-small); color: var(--ed-muted); line-height: 1.6; margin: 0 0 var(--space-4); }

.jr-tabs { display: none; }

.jr-theatre.is-tabs .jr-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-4);
}

.jr-tab {
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--ed-rule);
  background: var(--ed-paper);
  color: var(--ed-ink);
  font: 600 14px/1 var(--font-sans);
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.jr-tab:hover { border-color: var(--ed-ink); }
@media (max-width: 479px) { .jr-tab { padding: 8px 12px; font-size: 13px; } .jr-theatre.is-tabs .jr-tabs { gap: 6px; } }
.jr-tab[aria-selected="true"] { background: var(--jr-navy); border-color: var(--jr-navy); color: #fff; }
.jr-tab:focus-visible { outline: 2px solid var(--jr-blue); outline-offset: 2px; }

.jr-tabpanel { margin-bottom: var(--space-4); }
.jr-tabpanel__cap { margin: 0 0 var(--space-3); color: var(--ed-body); line-height: 1.55; font-size: 0.975rem; }
.jr-tabpanel__cap strong { color: var(--ed-ink); margin-right: 6px; }

.jr-tabpanel__status {
  display: inline-block;
  margin-left: 6px;
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #92400E;
}

.jr-theatre .lp-see__stage { max-width: none; }
/* reserve room for a scene before it mounts, so the page does not jump */
.jr-theatre.is-tabs .lp-see__stage:empty { aspect-ratio: 16 / 11; }
.jr-theatre .lp-player { box-shadow: none; }

/* ---------- Estate check: shared heading rules ---------- */
.jr-check {
  margin-top: clamp(var(--space-8), 4vw, var(--space-12));
  padding-top: var(--space-8);
  border-top: 2px solid var(--ed-ink);
}

.jr-check__lead {
  display: block;
  margin: 0 0 var(--space-4);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 1.15rem + 0.6vw, 1.65rem);
  line-height: 1.25;
  color: var(--ed-ink);
}

.jr-brief__note { margin: 0 0 var(--space-6); font-size: var(--text-small); color: var(--ed-muted); line-height: 1.6; }
.jr-check .jr-brief__note { margin: var(--space-4) 0 0; }

.jr-check .jr-brief__k {
  margin: 0 0 var(--space-3);
  font-family: var(--jr-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ed-accent);
}

/* ---------- Mission brief console (concept A, scripted; v0.12.4) ----------
   Its own dark glass surface in every layout, so it reads as a console on
   the flight and on the static white page alike. */
.jr-brief {
  --cn-ink: #F3F6FC;
  --cn-body: rgba(222, 230, 244, 0.84);
  --cn-dim: rgba(186, 200, 224, 0.62);
  --cn-rule: rgba(255, 255, 255, 0.12);
  --cn-glow: rgba(68, 144, 226, 0.55);
  position: relative;
  margin-top: clamp(var(--space-8), 4vw, var(--space-12));
  padding: clamp(1.25rem, 1rem + 1.2vw, 1.9rem);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(68, 144, 226, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(12, 18, 38, 0.74), rgba(6, 10, 24, 0.84));
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 0 0 1px rgba(68, 144, 226, 0.06),
    inset 0 0 48px rgba(68, 144, 226, 0.07),
    0 24px 60px -30px rgba(0, 0, 0, 0.8);
  color: var(--cn-body);
}

/* static page: no flight behind it, so the console is solid navy */
html:not(.jr-motion) .jr-brief {
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(68, 144, 226, 0.16), transparent 60%),
    linear-gradient(180deg, #111832, #0A0F22);
}

.jr-brief__bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 var(--space-4);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cn-rule);
  font-family: var(--jr-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.jr-brief__k { color: var(--jr-blue-400); white-space: nowrap; }
.jr-brief__status { color: var(--cn-dim); white-space: nowrap; }
.jr-brief__status::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
  vertical-align: 1px;
}
.jr-brief.is-busy .jr-brief__status::before { background: #FBBF24; box-shadow: 0 0 8px rgba(251, 191, 36, 0.8); }

.jr-brief__head {
  margin: 0 0 var(--space-6);
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 1.25rem + 0.9vw, 2rem);
  line-height: 1.18;
  color: var(--cn-ink);
}

/* the prompt line */
.jr-brief__prompt { margin: 0; }
.jr-brief__line {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.jr-brief__line:focus-within {
  border-color: var(--jr-blue-400);
  box-shadow: 0 1px 0 0 var(--jr-blue-400), 0 8px 18px -12px var(--cn-glow);
}
.jr-brief__sigil { font-family: var(--jr-mono); font-size: 15px; color: var(--jr-blue-400); }
.jr-brief__input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 52px;
  padding: 8px 0 8px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cn-ink);
  caret-color: var(--jr-blue-400);
  font: 400 clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem)/1.3 var(--font-serif);
}
.jr-brief__input::placeholder { color: rgba(196, 208, 228, 0.42); opacity: 1; }
.jr-brief__input:focus { outline: none; }
.jr-brief__input:focus-visible { outline: none; }
/* a block caret that blinks while the prompt is empty and idle */
.jr-brief__caret {
  position: absolute;
  left: 22px;
  top: 50%;
  width: 8px;
  height: 1.25em;
  margin-top: -0.62em;
  background: var(--jr-blue-400);
  opacity: 0.85;
  pointer-events: none;
  animation: jr-blink 1.1s steps(1) infinite;
}
.jr-brief__line:focus-within .jr-brief__caret,
.jr-brief.has-text .jr-brief__caret { display: none; }
@keyframes jr-blink { 50% { opacity: 0; } }
.jr-brief__hint {
  flex: none;
  font-family: var(--jr-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cn-dim);
  border: 1px solid var(--cn-rule);
  border-radius: 5px;
  padding: 2px 6px;
}
.jr-brief__actions { display: flex; justify-content: flex-end; margin-top: var(--space-3); }
.jr-brief__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 2px;
  border: 0;
  background: none;
  font: 600 14px/1 var(--font-sans);
  letter-spacing: 0.02em;
  color: var(--cn-dim);
  cursor: pointer;
  transition: color 200ms ease, text-shadow 200ms ease;
}
.jr-brief__go span { transition: transform 200ms ease; }
.jr-brief.has-text .jr-brief__go { color: #fff; text-shadow: 0 0 14px var(--cn-glow); }
.jr-brief.has-text .jr-brief__go span { color: var(--jr-blue-400); }
.jr-brief__go:hover span { transform: translateX(3px); }
.jr-brief__go:focus-visible { outline: 2px solid var(--jr-blue-400); outline-offset: 3px; border-radius: 4px; }

/* suggested briefs */
.jr-brief__list { list-style: none; margin: var(--space-4) 0 0; padding: 0; }
.jr-brief__list-k {
  margin: var(--space-6) 0 0;
  font-family: var(--jr-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cn-dim);
}
.jr-brief__opt {
  position: relative;
  display: flex;
  gap: 14px;
  width: 100%;
  min-height: 44px;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid var(--cn-rule);
  background: none;
  text-align: left;
  font: 400 13px/1.45 var(--jr-mono);
  letter-spacing: 0.02em;
  color: var(--cn-body);
  cursor: pointer;
  transition: color 180ms ease;
}
.jr-brief__opt::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--jr-blue-400), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}
.jr-brief__opt:hover, .jr-brief__opt:focus-visible { color: #fff; }
.jr-brief__opt:hover::after, .jr-brief__opt:focus-visible::after { transform: scaleX(1); }
.jr-brief__opt:focus-visible { outline: 2px solid var(--jr-blue-400); outline-offset: 2px; }
.jr-brief__n { flex: none; color: var(--jr-blue-400); }

/* the flight plan */
.jr-brief__out { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--cn-rule); }
.jr-brief__tele {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 var(--space-3);
  font-family: var(--jr-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cn-dim);
}
.jr-brief__tele span { white-space: nowrap; }
.jr-brief__tele span:first-child { color: var(--jr-blue-400); }
.jr-brief__title {
  margin: 0 0 var(--space-5);
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem);
  line-height: 1.25;
  color: var(--cn-ink);
}
.jr-flight { list-style: none; margin: 0 0 var(--space-6); padding: 0; }
.jr-flight li {
  position: relative;
  padding: 0 0 var(--space-5) 30px;
  transition: opacity 420ms ease, transform 420ms ease;
}
.jr-flight li::before {
  content: "";
  position: absolute;
  left: 4px; top: 5px;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--jr-blue-400);
  background: rgba(6, 10, 24, 1);
  box-shadow: 0 0 10px var(--cn-glow);
}
.jr-flight li::after {
  content: "";
  position: absolute;
  left: 8px; top: 18px; bottom: 2px;
  width: 1px;
  background: linear-gradient(180deg, rgba(111, 168, 232, 0.6), rgba(111, 168, 232, 0.1));
}
.jr-flight li:last-child { padding-bottom: 0; }
.jr-flight li:last-child::after { display: none; }
.jr-flight li.is-pending { opacity: 0; transform: translateY(6px); }
.jr-flight__k {
  display: block;
  margin-bottom: 4px;
  font-family: var(--jr-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jr-blue-400);
}
.jr-flight__k b { color: var(--cn-ink); font-weight: 500; margin-left: 8px; }
.jr-flight__v { display: block; color: var(--cn-body); line-height: 1.6; font-size: 0.95rem; }
.jr-brief .jr-brief__note { color: var(--cn-dim); }

@media (max-width: 479px) {
  .jr-brief__hint { display: none; }
  .jr-brief__bar, .jr-brief__tele { letter-spacing: 0.08em; font-size: 10.5px; }
  .jr-brief__tele-x { display: none; }
  .jr-brief__opt { font-size: 12.5px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .jr-brief__caret { animation: none; }
  .jr-flight li, .jr-brief__opt::after, .jr-brief__go span { transition: none; }
}

/* ---------- Estate check (concept C) ---------- */
.jr-check { margin-bottom: var(--space-8); }

.jr-check__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ed-rule); }
.jr-check__list li { border-bottom: 1px solid var(--ed-rule); }

.jr-check__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 0;
  cursor: pointer;
  color: var(--ed-ink);
  line-height: 1.5;
}

.jr-check__item input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.jr-check__box {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1.5px solid #94A3B8;
  border-radius: 6px;
  background: var(--ed-paper) center / 14px no-repeat;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.jr-check__item input:checked + .jr-check__box {
  background-color: var(--jr-navy);
  border-color: var(--jr-navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}

.jr-check__item input:focus-visible + .jr-check__box { outline: 2px solid var(--jr-blue); outline-offset: 2px; }

.jr-check__out { margin-top: var(--space-6); }

.jr-check__meter { display: flex; gap: 6px; max-width: 18rem; }

.jr-check__meter i {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--ed-rule);
  transition: background-color 240ms ease;
}

.jr-check__meter i.on { background: var(--jr-blue); }

.jr-check__score {
  margin: var(--space-3) 0 var(--space-2);
  font-family: var(--jr-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ed-muted);
}

.jr-check__next { margin: 0; color: var(--ed-ink); line-height: 1.65; max-width: var(--ed-measure); }

/* ---------- Work chapter (concept B, editorial) ---------- */
.jr-panel .ed-work { gap: clamp(var(--space-12), 6vw, var(--space-16)); }
.jr-panel .ed-work-row { grid-template-columns: 1fr; gap: var(--space-6); }
.jr-panel .ed-work-row .ed-frame { order: 0; }
.jr-panel .ed-work-copy p { margin-bottom: var(--space-4); }

.jr-process {
  margin-top: clamp(var(--space-12), 6vw, var(--space-16));
  padding-top: var(--space-8);
  border-top: 2px solid var(--ed-ink);
}

.jr-process__title {
  margin: 0 0 var(--space-3);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--ed-h3);
  line-height: 1.15;
  color: var(--ed-ink);
}

.jr-process__lead { margin: 0 0 var(--space-8); color: var(--ed-body); line-height: 1.7; }

.jr-panel .ed-process { grid-template-columns: 1fr; }
@media (min-width: 640px) { .jr-panel .ed-process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Finale ---------- */
.jr-note { margin-top: clamp(var(--space-12), 6vw, var(--space-16)); padding-top: var(--space-8); border-top: 1px solid var(--ed-rule); }
.jr-panel .ed-note { grid-template-columns: 1fr; gap: var(--space-6); }
.jr-panel .ed-note blockquote { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }

/* ---------- Static layouts ---------- */
html.no-webgl .jr-stage-track,
html.jr-still .jr-stage-track { display: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .jr-hero__bg img { animation: none; transform: none; }
  .jr-canvas, .jr-hud, .jr-tab, .jr-check__box, .jr-check__meter i { transition: none; }
}

/* v0.12.2 photoreal sequence: no exploded-view labels */
html.jr-seq .jr-labels { display: none; }

/* ==========================================================================
   v0.12.4 tracking shot: card-free breathers, narrow glass cards that
   alternate sides, the rocket kept in view on phones.
   Only with the scene running (html.jr-motion); static layouts are unchanged.
   ========================================================================== */

/* breathers: long stretches with no card, while the rocket clears the pad and the cloud */
html.jr-motion .jr-gap--breath { height: 115vh; }
html.jr-motion .jr-gap--long {
  height: 175vh;
  flex-direction: column;
  justify-content: flex-end;
  gap: 62vh;
}
@media (max-width: 899px) {
  html.jr-motion .jr-gap--breath { height: 105vh; }
  html.jr-motion .jr-gap--long { height: 150vh; gap: 52vh; }
}
html.jr-motion .jr-gap--long .jr-gap__tele { margin-bottom: 0; }
html.jr-motion .jr-gap--long .jr-gap__tele:last-child { margin-bottom: var(--space-6); }

/* glass cards over the flight: the editorial tokens flip to light-on-dark */
html.jr-motion .jr-panel {
  --ed-ink: #F3F6FC;
  --ed-body: rgba(222, 230, 244, 0.86);
  --ed-muted: rgba(196, 208, 228, 0.72);
  --ed-rule: rgba(255, 255, 255, 0.14);
  --ed-paper: rgba(255, 255, 255, 0.06);
  --ed-accent: #8EBBF0;
  color: var(--ed-body);
  background: linear-gradient(180deg, rgba(14, 20, 40, 0.62), rgba(9, 13, 28, 0.7));
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  backdrop-filter: blur(16px) saturate(135%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 30px 70px -30px rgba(0, 0, 0, 0.7);
}
html.jr-motion .jr-panel :is(h2, h3, h4, strong, blockquote) { color: var(--ed-ink); }
html.jr-motion .jr-panel .jr-check__box { border-color: rgba(255, 255, 255, 0.28); }
html.jr-motion .jr-panel .jr-tab[aria-selected="true"] { background: var(--jr-blue); border-color: var(--jr-blue); color: #fff; }

@media (min-width: 1000px) {
  html.jr-motion .jr-panel,
  html.jr-motion .jr-panel--editorial { width: min(28.5rem, 40%); max-width: 28.5rem; padding: clamp(1.5rem, 1rem + 1.6vw, 2.4rem); }
  html.jr-motion .jr-ch--right .jr-panel { margin-left: auto; }
  html.jr-motion .jr-panel .ed-cap { grid-template-columns: 1fr; gap: var(--space-2); }
  html.jr-motion .jr-panel .ed-head h2 { font-size: clamp(1.8rem, 1.3rem + 1.1vw, 2.3rem); }
  html.jr-motion .jr-panel .ed-process { grid-template-columns: 1fr; }
}

/* phones: lighter glass so the rocket reads through it */
@media (max-width: 999px) {
  html.jr-motion .jr-panel {
    background: linear-gradient(180deg, rgba(14, 20, 40, 0.5), rgba(9, 13, 28, 0.62));
    -webkit-backdrop-filter: blur(10px) saturate(130%);
    backdrop-filter: blur(10px) saturate(130%);
  }
}

/* HUD in its own sticky layer above the cards, so they never hide it */
.jr-hud-track { display: none; }
html.jr-motion .jr-hud-track { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
html.jr-motion .jr-hud-stick { position: sticky; top: 0; height: 100vh; height: 100lvh; }
html.no-webgl .jr-hud-track, html.jr-still .jr-hud-track { display: none; }
html.jr-motion .jr-hud-stick .jr-hud {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(6, 9, 20, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
