/* ==========================================================================
   Chapters 03–04 and the journey rail
   ========================================================================== */
:root {
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --line: rgba(126, 206, 255, .12);
  --line-2: rgba(126, 206, 255, .24);
  --panel: linear-gradient(180deg, rgba(12, 24, 46, .72), rgba(6, 12, 26, .88));
  --bp-bg: #050d1e;
}

/* ---- chapter heads (shared with 02) ---- */
.chap { position: relative; background: var(--bg); }
.chap__head { position: relative; max-width: 800px; margin-bottom: clamp(36px, 6vh, 64px); }
.chap__eyebrow { margin-bottom: 22px; }
.chap__num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--cyan-300);
}
.chap__num::after {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan-400), rgba(60, 196, 255, 0));
}
.chap__title {
  margin: 0 0 20px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: -.03em;
}
.chap__lead {
  margin: 0;
  max-width: 34em;
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.65;
  color: var(--ink-2);
}

/* ==========================================================================
   03 — Eli remembers
   ========================================================================== */
.memo { padding: clamp(100px, 14vh, 160px) 0 clamp(50px, 7vh, 90px); overflow: clip; }
.memo::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 58%;
  width: 100vw;
  height: 60vw;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(26, 127, 242, .12), transparent);
  pointer-events: none;
}

.mem {
  --gap: clamp(32px, 6vw, 110px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gap);
}

/* the three weeks between the two moments */
.mem__track {
  position: absolute;
  left: 6px;
  top: 6px;
  width: calc(50% + var(--gap) / 2 - 6px);
  height: 1px;
  background: var(--line-2);
}
.mem__track i {
  position: absolute;
  inset: 0;
  transform-origin: left;
  background: linear-gradient(90deg, var(--cyan-300), rgb(var(--warm)));
  box-shadow: 0 0 10px rgba(60, 196, 255, .5);
}

.mem__moment { position: relative; display: grid; align-content: start; gap: 20px; }
.mem__when {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.mem__when i {
  flex: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--cyan-300);
  box-shadow: 0 0 0 5px var(--bg);
}
.mem__moment--later .mem__when i { border-color: rgb(var(--warm)); background: rgb(var(--warm)); box-shadow: 0 0 0 5px var(--bg), 0 0 14px rgba(var(--warm), .8); }

.mem__you {
  max-width: 16em;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 2.3vw, 36px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.022em;
  color: #fff;
}
.mem__eli { display: flex; align-items: center; gap: 14px; margin: 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.45; color: var(--ink-2); }
.mem__face {
  flex: none;
  position: relative;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #17335f, #0a1630);
  box-shadow: inset 0 0 0 1px rgba(127, 220, 255, .35);
}
.mem__face img { position: absolute; left: -50px; top: -3px; width: 110px; height: auto; max-width: none; }
.mem__note {
  justify-self: start;
  margin: 2px 0 0 58px;
  padding: 7px 12px;
  border-radius: 9px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgb(var(--warm));
  background: rgba(var(--warm), .07);
  border: 1px solid rgba(var(--warm), .25);
}

.mem__trust {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: clamp(44px, 7vh, 72px) 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
}
.mem__trust b { font-weight: 600; color: #fff; }
.mem__lock {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--cyan-300);
  border: 1px solid var(--line-2);
}
.mem__lock svg { width: 19px; height: 19px; }

/* the conversation plays out once, the second moment after the line has run */
.js .mem__moment > *,
.js .mem__trust { opacity: 0; transform: translate3d(0, 10px, 0); }
.js .mem__track i { transform: scaleX(0); }
.js .mem.is-in .mem__moment > *,
.js .mem.is-in .mem__trust {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease) var(--t), transform .8s var(--ease-out) var(--t);
}
.js .mem.is-in .mem__track i { transform: scaleX(1); transition: transform 1.3s var(--ease) 1.25s; }
.mem__moment > :nth-child(1) { --t: 0s; }
.mem__moment > :nth-child(2) { --t: .15s; }
.mem__moment > :nth-child(3) { --t: .6s; }
.mem__moment > :nth-child(4) { --t: 1s; }
.mem__moment--later > :nth-child(1) { --t: 2.5s; }
.mem__moment--later > :nth-child(2) { --t: 2.7s; }
.mem__moment--later > :nth-child(3) { --t: 3.15s; }
.mem__moment--later > :nth-child(4) { --t: 3.55s; }
.mem__trust { --t: 4s; }

/* ==========================================================================
   04 — recognise yourself, then try it on the tablet
   ========================================================================== */
.who { padding: clamp(110px, 15vh, 170px) 0 clamp(80px, 11vh, 130px); overflow: clip; }

/* the four sentences */
.ptabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line-2);
}
.ptab {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 0 clamp(14px, 2vw, 28px) 24px 0;
  text-align: left;
  color: var(--ink-3);
  transition: color .3s var(--ease);
}
.ptab b { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; transition: color .3s var(--ease); }
.ptab span {
  font-family: var(--display);
  font-size: clamp(19px, 1.75vw, 27px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
  color: rgba(214, 228, 244, .42);
  transition: color .3s var(--ease);
}
.ptab:hover span { color: rgba(255, 255, 255, .78); }
.ptab[aria-selected="true"] b { color: rgb(var(--warm)); }
.ptab[aria-selected="true"] span { color: #fff; }
.ptabs__ink {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: var(--w, 0);
  height: 2px;
  transform: translateX(var(--x, 0));
  background: rgb(var(--warm));
  box-shadow: 0 0 14px rgba(var(--warm), .8);
  transition: transform .6s var(--ease-out), width .6s var(--ease-out);
}

/* promise + tablet */
.wstage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  padding-top: clamp(34px, 6vh, 64px);
}
.wstage::before {
  content: "";
  position: absolute;
  right: -8%;
  top: 0;
  width: 78%;
  aspect-ratio: 1.3;
  background: radial-gradient(closest-side, rgba(26, 127, 242, .24), transparent);
  pointer-events: none;
}
.wcopy { position: relative; }
.wcopy__k { margin: 0 0 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; color: var(--ink-3); }
.wcopy__title {
  margin: 0 0 clamp(20px, 3.4vh, 32px);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 3.1vw, 48px);
  line-height: 1.08;
  letter-spacing: -.028em;
}
.wcopy__list { margin: 0; padding: 0; list-style: none; }
.wcopy__list li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.wcopy__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 13px;
  height: 7px;
  border-left: 1.6px solid var(--cyan-300);
  border-bottom: 1.6px solid var(--cyan-300);
  transform: rotate(-45deg) scale(.82);
}
.wcopy.is-in .wcopy__title { animation: softIn .6s var(--ease-out) both; }
.wcopy.is-in .wcopy__list li { animation: softIn .6s var(--ease-out) calc(.08s + var(--d, 0s)) both; }

/* the ELIAN tablet */
.slate {
  position: relative;
  padding: 13px;
  border-radius: 34px;
  background: linear-gradient(150deg, #2b3446, #0d1320 34%, #070b14);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .13),
    0 60px 100px -46px #000,
    0 30px 90px -40px rgba(26, 127, 242, .55);
}
.slate__cam {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 5px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: #27354a;
}
.slate__screen {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: clamp(460px, 37vw, 560px);
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(90% 70% at 85% 0%, rgba(43, 170, 255, .22), transparent 70%),
    linear-gradient(180deg, #0b1a35, #060d1e);
}
.slate__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(214, 228, 244, .08);
  font-size: 14px;
  color: var(--ink-2);
}
.slate__hi b { font-weight: 600; color: #fff; }
.slate__state { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.slate__state i { width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--warm)); transition: background-color .3s var(--ease); }
.slate.is-busy .slate__state i { background: var(--cyan-300); animation: stateBlink 1s ease-in-out infinite; }
@keyframes stateBlink { 50% { opacity: .35; } }

.slate__talk {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-height: 0;
  padding: 14px clamp(20px, 3vw, 40px);
}
.slate__you {
  align-self: flex-end;
  max-width: 82%;
  min-height: 1.4em;
  margin: 0;
  text-align: right;
  font-size: clamp(19px, 1.75vw, 26px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.012em;
  color: #fff;
}
.slate__eli { display: flex; align-items: flex-start; gap: 13px; min-height: 46px; opacity: 0; transition: opacity .3s var(--ease); }
.slate__eli.is-on { opacity: 1; }
.slate__face {
  flex: none;
  position: relative;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #17335f, #0a1630);
  box-shadow: inset 0 0 0 1px rgba(127, 220, 255, .35);
}
.slate__face img { position: absolute; left: -50px; top: -3px; width: 110px; height: auto; max-width: none; }
.slate__eli.is-thinking .slate__face { animation: faceThink .9s ease-in-out infinite; }
@keyframes faceThink { 50% { box-shadow: inset 0 0 0 1px var(--cyan-300), 0 0 18px rgba(60, 196, 255, .7); } }
.slate__eli p { margin: 0; padding-top: 9px; font-size: clamp(14.5px, 1.2vw, 17px); line-height: 1.5; color: var(--ink-2); }

.scard { min-height: 120px; margin-left: 57px; }
.scard:empty { visibility: hidden; }
.scard__title { margin: 0 0 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--cyan-300); }
.scard dl { margin: 0; }
.scard dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-top: 1px solid rgba(214, 228, 244, .1);
  font-size: 14px;
}
.scard dt { color: var(--ink-3); }
.scard dd { margin: 0; font-weight: 600; color: #fff; transition: color .3s var(--ease); }
.scard dd.is-ok { color: rgb(var(--warm)); }
.scard.is-in .scard__title { animation: softIn .4s var(--ease-out) both; }
.scard.is-in dl div { animation: softIn .45s var(--ease-out) var(--d, 0s) both; }
.scard__act {
  height: 36px;
  margin-top: 8px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--warm-ink);
  background: var(--warm-grad);
  box-shadow: 0 10px 22px -12px rgba(var(--warm), .9), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: filter .2s var(--ease), transform .2s var(--ease-out);
  animation: softIn .45s var(--ease-out) .2s both;
}
.scard__act:hover { filter: brightness(1.1); }
.scard__act:active { transform: scale(.97); }

.slate__ask {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 13px 20px 16px;
  border-top: 1px solid rgba(214, 228, 244, .08);
  background: rgba(3, 8, 18, .4);
}
.slate__mic {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: var(--btn-grad);
  box-shadow: 0 10px 24px -10px rgba(37, 182, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.slate__mic svg { width: 21px; height: 21px; }
.slate.is-busy .slate__mic::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--cyan-300);
  animation: slatePing 1.2s var(--ease-out) infinite;
}
@keyframes slatePing { to { transform: scale(1.5); opacity: 0; } }
.slate__chips p { margin: 0 0 7px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
.slate__chips > div { display: flex; flex-wrap: wrap; gap: 6px; }
.schip {
  position: relative;
  min-height: 34px;
  padding: 6px 13px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  text-align: left;
  color: var(--ink-2);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(214, 228, 244, .14);
  transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.schip:hover { color: #fff; background: rgba(60, 196, 255, .12); border-color: rgba(127, 220, 255, .55); }
.schip[aria-pressed="true"] { color: #fff; background: rgba(60, 196, 255, .16); border-color: rgba(127, 220, 255, .65); }
.schip.is-hint { animation: chipHint 2s var(--ease) infinite; }
@keyframes chipHint { 50% { border-color: rgb(var(--warm)); box-shadow: 0 0 16px -2px rgba(var(--warm), .7); } }

/* the way on */
.who__foot { margin-top: clamp(24px, 3vh, 36px); }
.handoff {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 3vw, 40px);
  margin-top: clamp(44px, 7vh, 72px);
  padding: 26px 0;
  border-block: 1px solid var(--line);
}
.handoff__k { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--warm)); }
.handoff__t {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(19px, 2vw, 28px);
  letter-spacing: -.02em;
  line-height: 1.2;
}
.handoff__go {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: rgb(var(--warm));
  border: 1px solid rgba(var(--warm), .55);
  transition: transform .45s var(--ease-out), background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.handoff__go svg { width: 18px; height: 18px; transform: rotate(90deg); }
.handoff:hover .handoff__go { transform: translateY(4px); color: var(--warm-ink); background: rgb(var(--warm)); border-color: transparent; }

/* ==========================================================================
   05 — the studio: plan, parts list, configurator
   ========================================================================== */
.how {
  --accent: 60, 196, 255;
  padding: clamp(90px, 13vh, 150px) 0 clamp(100px, 14vh, 160px);
  overflow: clip;
}
.how::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(60, 196, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 196, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 50% at 50% 30%, #000, transparent);
  mask-image: radial-gradient(70% 50% at 50% 30%, #000, transparent);
}

.studio {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 32px);
  align-items: start;
}
.studio__view {
  position: sticky;
  top: calc(var(--nav-h) + 12px);
  display: grid;
  gap: 12px;
}

/* blueprint */
.bp {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(110% 80% at 50% 0%, rgba(26, 127, 242, .14), transparent 62%),
    linear-gradient(rgba(126, 206, 255, .045) 1px, transparent 1px) 0 0 / 25px 25px,
    linear-gradient(90deg, rgba(126, 206, 255, .045) 1px, transparent 1px) 0 0 / 25px 25px,
    var(--bp-bg);
}
.bp__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px 0;
}
.bp__title { font-size: 15px; font-weight: 600; }
.bp__meta,
.bom__head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.bp__svg { display: block; width: 100%; height: auto; }
.bp__svg.is-redraw .bp__arch { animation: fadeIn .45s var(--ease) both; }
.bp__cap {
  margin: 0;
  padding: 0 22px 18px;
  min-height: 2.9em;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-3);
}
.bp__cap b { margin-right: 6px; font-weight: 600; color: #fff; }

.bp__plot { fill: none; stroke: rgba(126, 206, 255, .3); stroke-width: 1.2; stroke-dasharray: 9 7; }
.bp__tree { fill: rgba(60, 160, 255, .04); stroke: rgba(126, 206, 255, .2); stroke-width: 1.2; }
.bp__hatch { fill: url(#bpHatch); stroke: rgba(126, 206, 255, .3); stroke-width: 1; }
.bp__hatch-line { stroke: rgba(126, 206, 255, .2); stroke-width: 1; }
.bp__path { fill: none; stroke: rgba(126, 206, 255, .22); stroke-width: 1.2; }
.bp__room { fill: rgba(60, 160, 255, .035); }
.bp__furn { fill: none; stroke: rgba(126, 206, 255, .22); stroke-width: 1.2; }
.bp__wall { fill: none; stroke: rgba(160, 215, 255, .55); stroke-width: 1.6; }
.bp__shell { fill: none; stroke: rgba(126, 206, 255, .14); stroke-width: 10; }
.bp__shell-line { fill: none; stroke: rgba(170, 222, 255, .82); stroke-width: 1.4; }
.bp__win { fill: var(--bp-bg); stroke: rgba(170, 222, 255, .82); stroke-width: 1.2; }
.bp__gap { fill: var(--bp-bg); }
.bp__door { fill: none; stroke: rgba(170, 222, 255, .55); stroke-width: 1.2; }
.bp__label {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 1.4px;
  fill: rgba(190, 222, 255, .5);
}
.bp__label--out { fill: rgba(190, 222, 255, .32); }

.bp__link {
  fill: none;
  stroke: rgba(var(--warm), .7);
  stroke-width: 1.3;
  stroke-dasharray: 3 6;
  animation: linkFlow 1.1s linear infinite;
}
@keyframes linkFlow { to { stroke-dashoffset: -18; } }

/* device markers (also used as glyphs in the parts list) */
.mk,
.bom__g {
  fill: none;
  stroke: rgba(180, 226, 255, .9);
  stroke-width: 1.5;
}
.mk { --mk: 1.15; cursor: pointer; transition: opacity .35s var(--ease); }
.mk__s { transform: scale(var(--mk)); }
.mk .g-bg,
.bom__g .g-bg { fill: #071430; }
.mk .g-dot,
.bom__g .g-dot { fill: rgba(190, 230, 255, .95); stroke: none; }
.mk .g-ring,
.bom__g .g-ring { stroke-dasharray: 2 3; stroke-width: 1; opacity: .7; }
.mk .g-solid,
.bom__g .g-solid { fill: #1a7ff2; stroke: #a8e7ff; }
.mk .g-core,
.bom__g .g-core { fill: #fff; stroke: none; }
.mk .g-ping {
  stroke: rgba(127, 220, 255, .7);
  transform-box: fill-box;
  transform-origin: center;
  animation: hubPing 2.6s var(--ease-out) infinite;
}
@keyframes hubPing { from { transform: scale(.9); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
.bom__g .g-ping { display: none; }

.bp__svg.has-hl .mk:not(.is-hl) { opacity: .2; }
.mk.is-hl { stroke: rgb(var(--warm)); filter: url(#mkGlow); }
.mk.is-hl .g-bg { fill: #2a1a12; }
.mk.is-hl .g-dot { fill: rgb(var(--warm)); }
.mk.is-hl .g-solid { fill: rgb(var(--warm)); stroke: #ffd9bd; }
.mk.is-hl .g-core { fill: var(--warm-ink); }
.mk.is-hl .g-ping { stroke: rgba(var(--warm), .7); }
.mk.is-new .mk__s { animation: mkIn .6s var(--ease-out) var(--d, 0s) both; }
@keyframes mkIn {
  from { transform: scale(0); opacity: 0; }
  60% { transform: scale(calc(var(--mk) * 1.35)); opacity: 1; }
  to { transform: scale(var(--mk)); }
}

.bp__tip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  white-space: nowrap;
  pointer-events: none;
  color: #fff;
  background: rgba(5, 12, 26, .92);
  border: 1px solid var(--line-2);
  transform: translate(-50%, calc(-100% - 12px));
}
.bp__tip small { margin-left: 6px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }

/* parts list */
.bom {
  padding: 14px 10px 8px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.bom__head { display: flex; justify-content: space-between; margin: 0 12px 6px; }
.bom__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bom__list li { border-top: 1px solid rgba(214, 228, 244, .06); }
.bom__list li.is-new { animation: softIn .45s var(--ease-out) both; }
.bom__row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 40px;
  padding: 0 10px 0 6px;
  border-radius: 10px;
  text-align: left;
  font-size: 13.5px;
  color: var(--ink-2);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.bom__row:hover,
.bom__row[aria-pressed="true"] { color: #fff; background: rgba(var(--warm), .1); }
.bom__row[aria-pressed="true"] .bom__g { stroke: rgb(var(--warm)); }
.bom__row[aria-pressed="true"] .g-dot { fill: rgb(var(--warm)); }
.bom__row[aria-pressed="true"] .g-solid { fill: rgb(var(--warm)); stroke: #ffd9bd; }
.bom__row[aria-pressed="true"] .g-core { fill: var(--warm-ink); }
.bom__n { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bom__g { width: 26px; height: 26px; overflow: visible; }
.bom__q { font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; color: #fff; }
.bom__q.is-bump { animation: bump .5s var(--ease-out); color: rgb(var(--warm)); }

/* configurator */
.opts {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 2.2vw, 30px);
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.opts__kicker,
.sum__label {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan-300);
}
.opts__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(24px, 2.1vw, 30px);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.opts__note {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
  background: rgba(var(--warm), .07);
  border: 1px solid rgba(var(--warm), .28);
  animation: softIn .5s var(--ease-out) both;
}
.opts__note[hidden] { display: none; }
.opts__note span {
  display: block;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgb(var(--warm));
}

.opt { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.opt__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.opt__label > span,
.opt__label label { display: inline-flex; align-items: baseline; gap: 10px; }
.opt__num { font-family: var(--mono); font-size: 11.5px; font-style: normal; font-weight: 500; color: var(--ink-3); }
.opt__label output { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--cyan-200); }
.opt__ticks {
  display: flex;
  justify-content: space-between;
  margin-top: -6px;
  padding: 0 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}

.opts .seg button[aria-checked="true"] {
  background: rgba(60, 196, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(60, 196, 255, .5);
}
.opts .range::-webkit-slider-runnable-track { height: 4px; box-shadow: none; }
.opts .range::-webkit-slider-thumb { margin-top: -9px; }
.opts .range::-moz-range-track,
.opts .range::-moz-range-progress { height: 4px; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  min-height: 62px;
  padding: 11px 28px 11px 13px;
  border-radius: 14px;
  text-align: left;
  border: 1px solid rgba(214, 228, 244, .1);
  background: rgba(255, 255, 255, .02);
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .2s var(--ease-out);
}
.tile:hover { border-color: rgba(214, 228, 244, .26); }
.tile:active { transform: scale(.98); }
.tile b { font-size: 14px; font-weight: 600; line-height: 1.25; color: var(--ink-2); transition: color .25s; }
.tile small { font-family: var(--mono); font-size: 11px; line-height: 1.35; color: var(--ink-3); transition: color .25s; }
.tiles--2 .tile small { font-family: var(--font); font-size: 12px; }
.tile::after {
  content: "";
  position: absolute;
  top: 11px;
  right: 11px;
  width: 15px;
  height: 15px;
  border-radius: 5px;
  border: 1px solid rgba(214, 228, 244, .28);
  background: center / 9px no-repeat;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.tile[aria-pressed="true"] {
  border-color: rgba(60, 196, 255, .55);
  background: rgba(60, 196, 255, .07);
}
.tile[aria-pressed="true"] b { color: #fff; }
.tile[aria-pressed="true"] small { color: var(--cyan-200); }
.tile[aria-pressed="true"]::after {
  border-color: var(--cyan-400);
  background-color: var(--cyan-400);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-5' fill='none' stroke='%23041226' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.tile.is-flash { animation: tileFlash 1.2s var(--ease-out); }
@keyframes tileFlash { 0%, 40% { box-shadow: 0 0 0 3px rgba(var(--warm), .4); } }

.sum { display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.sum__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.sum__label { margin: 0 0 6px; color: var(--ink-3); }
.sum__total { text-align: right; color: var(--ink-2); }
.sum__total b {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: rgb(var(--warm));
}
.sum__total small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }
.sum__cta { width: 100%; justify-content: center; }
.sum__note { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--ink-3); }

/* process */
.steps { margin-top: clamp(90px, 13vh, 150px); }
.steps__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vh, 54px);
}
.steps__title {
  margin: 0;
  max-width: 15em;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.steps__lead { margin: 0; max-width: 22em; color: var(--ink-3); }
.steps__track { position: relative; }
.steps__line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
.steps__line > i {
  position: absolute;
  inset: 0;
  transform: scaleX(var(--fill, 0));
  transform-origin: left;
  background: linear-gradient(90deg, var(--cyan-300), var(--blue-600));
  box-shadow: 0 0 12px rgba(60, 196, 255, .7);
}
.steps__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 44px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.pstep { position: relative; padding-top: 30px; }
.pstep::before {
  content: "";
  position: absolute;
  left: 0;
  top: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.pstep.is-on::before { background: var(--cyan-300); border-color: var(--cyan-300); box-shadow: 0 0 12px var(--cyan-400); }
.pstep.is-cur::before { background: rgb(var(--warm)); border-color: rgb(var(--warm)); box-shadow: 0 0 12px rgba(var(--warm), .9); }
.pstep__num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  transition: color .4s var(--ease);
}
.pstep.is-on .pstep__num { color: var(--cyan-300); }
.pstep.is-cur .pstep__num { color: rgb(var(--warm)); }
.pstep__title { margin: 0 0 10px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.pstep__text { margin: 0; max-width: 22em; font-size: 14.5px; line-height: 1.6; color: var(--ink-3); }

/* ==========================================================================
   Journey rail — where you are on the way through the page
   ========================================================================== */
.journey {
  position: fixed;
  left: 22px;
  top: 50%;
  z-index: 40;
  display: grid;
  justify-items: start;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-10px, -50%);
  transition: opacity .5s var(--ease), transform .6s var(--ease-out);
}
.journey.is-on { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.journey__num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--ink-3);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-left: -1px;
}
.journey__num span { color: #fff; }
.journey ol { position: relative; z-index: 1; display: grid; gap: 30px; margin: 0; padding: 0; list-style: none; }
.journey a { position: relative; display: block; width: 9px; height: 9px; }
.journey a::after { content: ""; position: absolute; inset: -10px; }
.journey a i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid rgba(214, 228, 244, .3);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease-out);
}
.journey a.is-done i { background: rgba(127, 220, 255, .55); border-color: transparent; }
.journey a.is-on i { background: rgb(var(--warm)); border-color: rgb(var(--warm)); box-shadow: 0 0 12px rgba(var(--warm), .9); transform: scale(1.25); }
.journey a span {
  position: absolute;
  left: 22px;
  top: 50%;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  color: #fff;
  background: rgba(5, 12, 26, .92);
  border: 1px solid var(--line-2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-4px, -50%);
  transition: opacity .25s var(--ease), transform .3s var(--ease-out);
}
.journey a:hover span,
.journey a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.journey__line {
  position: absolute;
  left: 4px;
  bottom: 4px;
  width: 1px;
  height: calc(5 * 9px + 4 * 30px - 8px);
  background: rgba(214, 228, 244, .14);
}
.journey__line i {
  position: absolute;
  inset: 0;
  transform: scaleY(var(--p, 0));
  transform-origin: top;
  background: var(--cyan-300);
  box-shadow: 0 0 8px var(--cyan-400);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .journey { display: none; }
}

@media (max-width: 1100px) {
  .studio { grid-template-columns: minmax(0, 1fr); }
  .studio__view { position: relative; top: 0; }
}

@media (max-width: 900px) {
  .chap__title { padding-right: 84px; }
  .chap__lead { max-width: none; }

  /* memory: the two moments stack, the line between them runs down the left */
  .mem { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
  .mem__track { left: 6px; top: 6px; bottom: auto; width: 1px; height: var(--track-h, 50%); }
  .mem__track i { transform-origin: top; }
  .js .mem__track i { transform: scaleY(0); }
  .js .mem.is-in .mem__track i { transform: scaleY(1); }
  .mem__moment { gap: 14px; padding-left: 0; }
  .mem__when { flex-direction: row; align-items: center; gap: 14px; margin-bottom: 6px; }
  .mem__you { font-size: 23px; padding-right: 60px; }
  .mem__moment > :not(.mem__when) { margin-left: 27px; }
  .mem__eli { font-size: 15.5px; gap: 12px; }
  .mem__face { width: 38px; height: 38px; }
  .mem__face img { left: -43px; top: -3px; width: 95px; }
  .mem__note { margin-left: 27px; font-size: 11px; }
  .mem__trust { margin-top: 8px; align-items: flex-start; font-size: 15px; }
  .mem__lock { width: 38px; height: 38px; }

  .ptabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; border-bottom: 0; }
  .ptab { gap: 5px; padding: 12px 0 14px; border-top: 1px solid var(--line); }
  .ptab[aria-selected="true"] { border-top-color: rgb(var(--warm)); }
  .ptab b { font-size: 10px; letter-spacing: .06em; }
  .ptab span { font-size: 16px; }
  .ptabs__ink { display: none; }
  .wstage { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 18px; }
  .slate { order: -1; padding: 8px; border-radius: 26px; margin-inline: calc(var(--gutter) * -.4); }
  .slate__cam { top: 2px; }
  .slate__screen { height: 500px; border-radius: 19px; }
  .slate__bar { padding: 12px 16px; font-size: 13px; }
  .slate__talk { padding: 10px 16px; gap: 12px; }
  .slate__you { font-size: 18px; max-width: 94%; }
  .slate__eli p { font-size: 14px; padding-top: 5px; }
  .slate__face { width: 36px; height: 36px; }
  .slate__face img { left: -41px; top: -2px; width: 90px; }
  .scard { margin-left: 0; min-height: 112px; }
  .scard dl div { font-size: 13px; padding: 7px 0; }
  .slate__ask { grid-template-columns: minmax(0, 1fr); padding: 10px 12px 12px; }
  .slate__mic { display: none; }
  .handoff { grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding-right: 84px; }
  .handoff__go { display: none; }

  /* the plan stays in view while you configure below it */
  .studio { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
  .studio__view { display: contents; }
  .bp {
    position: sticky;
    top: var(--nav-h);
    z-index: 3;
    margin-inline: calc(var(--gutter) * -1);
    border-radius: 0;
    border-inline: 0;
    box-shadow: 0 24px 30px -24px rgba(0, 0, 0, .9);
  }
  .opts { order: 1; }
  .bom { order: 2; }
  .bp__head { padding: 10px 16px 0; }
  .bp__title { font-size: 14px; }
  .bp__cap { min-height: 0; padding: 0 16px 12px; font-size: 12.5px; }
  .bp__cap.is-hint { display: none; }
  .bom__row { height: 38px; }
  .mk { --mk: 1.9; }
  .bp__label { display: none; }
  .bom__list { grid-template-columns: minmax(0, 1fr); }
  .opts { padding: 20px 16px; margin-inline: calc(var(--gutter) * -.5); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles--2 { grid-template-columns: minmax(0, 1fr); }
  .sum__total b { font-size: 34px; }

  .steps__head { display: block; }
  .steps__title { padding-right: 84px; margin-bottom: 12px; }
  .steps__row { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-left: 28px; }
  .steps__line { left: 4px; right: auto; top: 4px; bottom: 0; width: 1px; height: auto; }
  .steps__line > i { transform: scaleY(var(--fill, 0)); transform-origin: top; }
  .pstep { padding-top: 0; }
  .pstep::before { left: -28px; top: 4px; }
  .pstep__num { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .slate__state i,
  .slate__mic::after,
  .slate__face,
  .schip.is-hint,
  .mk .g-ping,
  .bp__link { animation: none !important; }
  .mk.is-new .mk__s { animation: none; }
  .journey { transition: none; }
  .js .mem__moment > *,
  .js .mem__trust { opacity: 1; transform: none; }
  .js .mem__track i { transform: none; }
}
