/* ==========================================================================
   Chapters 02 and 04–07, 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 03) ---- */
.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);
}

/* ==========================================================================
   02 — what ELIAN is: one plain statement, three parts, what you get
   ========================================================================== */
.about {
  padding: clamp(110px, 15vh, 170px) 0 clamp(20px, 4vh, 48px);
  overflow: clip;
}
.about::before {
  content: "";
  position: absolute;
  left: -18%;
  top: -6%;
  width: 70vw;
  aspect-ratio: 1.7;
  background: radial-gradient(closest-side, rgba(26, 127, 242, .14), transparent);
  pointer-events: none;
}
.about__wrap { position: relative; z-index: 1; }

.about__head { max-width: 980px; }
.about__title {
  margin: 0 0 28px;
  max-width: 17em;
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.14;
  letter-spacing: -.025em;
  color: var(--ink);
}
.about__title strong { font-weight: 600; color: #fff; }
.about__title .accent { font-weight: 400; }
.about__lead {
  margin: 0;
  max-width: 34em;
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.65;
  color: var(--ink-2);
}

/* the three things ELIAN joins */
.about__pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  margin: clamp(56px, 9vh, 96px) 0 0;
  padding: 0;
  list-style: none;
}
.about__pillars li { position: relative; padding-top: 26px; border-top: 1px solid var(--line-2); }
.about__pillars li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 56px;
  height: 1px;
  background: var(--cyan-300);
  box-shadow: 0 0 10px var(--cyan-400);
  transform-origin: left;
}
.about__no {
  display: block;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--cyan-300);
}
.about__pillars h3 {
  margin: 0 0 12px;
  font-size: clamp(19px, 1.5vw, 23px);
  font-weight: 600;
  letter-spacing: -.01em;
  color: #fff;
}
.about__pillars p {
  margin: 0;
  max-width: 24em;
  font-size: clamp(15.5px, 1.1vw, 17px);
  line-height: 1.65;
  color: var(--ink-2);
}

/* what is actually installed in your home */
.about__kit {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 2.3fr);
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(56px, 9vh, 96px);
  padding: clamp(28px, 3vw, 44px) clamp(24px, 3.2vw, 48px);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}
.about__kit-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 1.9vw, 30px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #fff;
}
.about__kit ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px clamp(24px, 3vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.about__kit li {
  position: relative;
  padding-left: 30px;
  font-size: clamp(15px, 1.05vw, 16.5px);
  line-height: 1.6;
  color: var(--ink-2);
}
.about__kit li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .8em;
  width: 16px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan-300), rgba(60, 196, 255, .2));
}
.about__kit b { font-weight: 600; color: #fff; }

/* calm reveal, once, as each part scrolls in */
.js .about__head,
.js .about__pillars li,
.js .about__kit,
.js .about__kit li { opacity: 0; transform: translate3d(0, 14px, 0); }
.js .about__pillars li::before { transform: scaleX(0); }
.js .about__r.is-in,
.js .about__pillars.is-in li,
.js .about__kit.is-in li {
  opacity: 1;
  transform: none;
  transition: opacity .8s var(--ease) var(--t, 0s), transform .9s var(--ease-out) var(--t, 0s);
}
.js .about__pillars.is-in li::before {
  transform: none;
  transition: transform 1.1s var(--ease-out) calc(var(--t, 0s) + .25s);
}

/* ==========================================================================
   04 — Eli remembers
   ========================================================================== */
.memo { padding: clamp(100px, 14vh, 160px) 0 clamp(60px, 8vh, 100px); overflow: clip; }
.memo .mem { max-width: 1600px; }
.mem svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* intro + Eli at home */
.mem__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  margin-bottom: clamp(18px, 3vh, 34px);
}
.mem__intro .chap__title { margin-bottom: 18px; }
.mem__lead { max-width: 31em; margin: 0; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.55; color: var(--ink-2); }
.mem__visual { position: relative; height: clamp(230px, 20vw, 340px); }
.mem__visual::before {
  content: "";
  position: absolute;
  left: 22%;
  top: 50%;
  width: 70%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(26, 127, 242, .3), transparent);
  pointer-events: none;
}
.mem__spot { position: absolute; left: 0; top: 0; bottom: 0; width: 44%; }
.mem__house {
  position: absolute;
  right: -2%;
  top: 50%;
  width: 66%;
  height: auto;
  transform: translateY(-50%);
  -webkit-mask-image: radial-gradient(62% 64% at 52% 50%, #000 70%, transparent 100%);
  mask-image: radial-gradient(62% 64% at 52% 50%, #000 70%, transparent 100%);
}
.mem__visual.no-house .mem__house { display: none; }
.mem__visual.no-house .mem__spot { width: 100%; }

/* two moments, three weeks apart */
.mem__cards {
  --gap: clamp(64px, 6.2vw, 104px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--gap) minmax(0, 1fr);
  align-items: stretch;
}
.mem__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "when  art"
    "quote art"
    "reply reply";
  grid-template-rows: auto 1fr auto;
  column-gap: 18px;
  padding: clamp(20px, 1.9vw, 30px);
  border-radius: 26px;
  background:
    radial-gradient(110% 80% at 80% 0%, rgba(26, 127, 242, .16), transparent 65%),
    linear-gradient(180deg, rgba(12, 26, 50, .82), rgba(6, 13, 27, .92));
  box-shadow:
    inset 0 0 0 1px rgba(127, 220, 255, .24),
    inset 0 1px 0 rgba(255, 255, 255, .07),
    0 40px 90px -50px rgba(26, 127, 242, .6);
}

.mem__when {
  grid-area: when;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  margin: 0;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  background: rgba(60, 196, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(127, 220, 255, .3);
}
.mem__when svg { width: 19px; height: 19px; color: var(--cyan-300); }
.mem__quote {
  grid-area: quote;
  align-self: center;
  max-width: 15em;
  margin: clamp(14px, 2vh, 22px) 0;
  font-family: var(--display);
  font-size: clamp(19px, 1.62vw, 29px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.02em;
  color: #fff;
}

/* the reply bar */
.mem__reply {
  grid-area: reply;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 10px 20px 10px 10px;
  border-radius: 18px;
  font-size: clamp(14.5px, 1.05vw, 16px);
  line-height: 1.45;
  text-wrap: pretty;
  color: var(--ink);
  background: linear-gradient(90deg, rgba(10, 22, 44, .95), rgba(10, 22, 44, .6));
  box-shadow: inset 0 0 0 1px rgba(127, 220, 255, .16);
}
.mem__face {
  flex: none;
  position: relative;
  width: 50px;
  height: 50px;
  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: -57px; top: -4px; width: 125px; height: auto; max-width: none; }
.mem__ok {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--warm-ink);
  background: rgb(var(--warm));
  box-shadow: 0 0 14px rgba(var(--warm), .7);
}
.mem__ok svg { width: 15px; height: 15px; stroke-width: 2.6; }

/* card art: the thermostat and the bulb, then the house getting ready */
.mem__art { grid-area: art; align-self: center; position: relative; }
.mem__card:not(.mem__card--later) .mem__art { width: clamp(150px, 12.4vw, 215px); aspect-ratio: 1.15; margin-top: 12px; }
.mem__thermo {
  position: absolute;
  left: 0;
  top: 50%;
  display: grid;
  place-items: center;
  width: 68%;
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #22324d 0%, #0b1426 56%, #050a15 100%);
  box-shadow:
    inset 0 0 0 5px #1b2537,
    inset 0 0 0 6px rgba(255, 255, 255, .09),
    inset 0 3px 16px rgba(255, 255, 255, .07),
    0 0 0 1px rgba(255, 255, 255, .07),
    0 22px 40px -14px #000,
    0 0 50px -8px rgba(60, 196, 255, .6);
}
.mem__thermo::before {
  content: "";
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  border: 2px solid rgba(80, 200, 255, .9);
  box-shadow: 0 0 14px rgba(60, 196, 255, .8), inset 0 0 14px rgba(60, 196, 255, .4);
  -webkit-mask: conic-gradient(from 215deg, #000 0 290deg, transparent 0);
  mask: conic-gradient(from 215deg, #000 0 290deg, transparent 0);
}
.mem__thermo i { position: absolute; top: 15%; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--cyan-200); box-shadow: 0 0 8px var(--cyan-300); }
.mem__thermo b { display: flex; align-items: flex-start; font-weight: 300; font-size: clamp(26px, 2.3vw, 40px); line-height: 1; letter-spacing: -.03em; color: #fff; }
.mem__thermo small { margin: .12em 0 0 .08em; font-size: .38em; letter-spacing: 0; color: var(--ink-2); }
.mem__bulb {
  position: absolute;
  right: 0;
  bottom: 4%;
  width: 34%;
  height: auto;
  overflow: visible;
  stroke: none;
  filter: drop-shadow(0 0 18px rgba(var(--warm), .75)) drop-shadow(0 0 40px rgba(255, 190, 120, .35));
}

.mem__card--later .mem__art { width: clamp(130px, 10.5vw, 180px); margin: 18px 8px 0 0; }
.mem__homeico {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.22;
  border-radius: 22px;
  background: linear-gradient(160deg, #132a4f, #0a1630 70%);
  box-shadow:
    inset 0 0 0 1px rgba(127, 220, 255, .3),
    inset 0 1px 0 rgba(255, 255, 255, .1),
    0 24px 40px -20px #000,
    0 0 40px -12px rgba(60, 196, 255, .6);
}
.mem__homeico > svg {
  width: 52%;
  stroke-width: 3;
  color: rgba(214, 228, 244, .35);
  transition: color .8s var(--ease), filter .8s var(--ease);
}
.mem__moon {
  position: absolute;
  right: -14%;
  top: -24%;
  display: grid;
  place-items: center;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #dff6ff;
  background: radial-gradient(circle at 40% 35%, #1a3a6c, #0a1734);
  box-shadow: inset 0 0 0 1.5px rgba(127, 220, 255, .55), 0 0 26px rgba(60, 196, 255, .6);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .5s var(--ease), transform .6s cubic-bezier(.3, 1.5, .5, 1);
}
.mem__moon svg { width: 50%; fill: currentColor; stroke: none; }

/* the arrow between the two moments */
.mem__arrow {
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--cyan-200);
  background: rgba(6, 14, 30, .9);
  box-shadow: inset 0 0 0 1.5px rgba(127, 220, 255, .75), 0 0 26px rgba(60, 196, 255, .45);
}
.mem__arrow svg { width: 24px; height: 24px; stroke-width: 2; }

/* what memory gives you */
.mem__feats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(34px, 5.5vh, 56px) 0 0;
  padding: 0;
  list-style: none;
}
.mem__feats li { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 4px clamp(14px, 1.8vw, 30px); }
.mem__feats li:first-child { padding-left: 0; }
.mem__feats li + li { box-shadow: -1px 0 0 var(--line); }
.mem__feats i {
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(54px, 4.2vw, 66px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--cyan-200);
  background: radial-gradient(circle at 50% 30%, #11264a, #081326);
  box-shadow: inset 0 0 0 1px rgba(127, 220, 255, .32), 0 0 28px -8px rgba(60, 196, 255, .6);
}
.mem__feats i svg { width: 46%; height: 46%; stroke-width: 1.6; }
.mem__feats p { display: grid; gap: 2px; margin: 0; font-size: clamp(14.5px, 1.1vw, 17px); line-height: 1.35; }
.mem__feats b { font-weight: 600; color: #fff; }
.mem__feats span { color: var(--ink-2); }

/* the story plays once: saved today, used three weeks later.
   Side by side, both moments play as one sequence. Stacked (tablets, phones), each moment plays
   when it scrolls in, and --t0 pulls the later moment's delays forward. */
.js .mem__cards .mem__r,
.js .mem__feats li { opacity: 0; transform: translate3d(0, 12px, 0); }
.js .mem__cards .is-in .mem__r,
.js .mem__cards .mem__r.is-in,
.js .mem__feats.is-in li {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease) calc(var(--t, 0s) - var(--t0, 0s)), transform .8s var(--ease-out) calc(var(--t, 0s) - var(--t0, 0s));
}
.js .mem__arrow.is-in { animation: memArrow 1.1s var(--ease-out) calc(1.7s - var(--t0, 0s)); }
@keyframes memArrow { 40% { box-shadow: inset 0 0 0 1.5px #fff, 0 0 40px 6px rgba(60, 196, 255, .8); } }
.mem__card.is-in .mem__homeico > svg,
html:not(.js) .mem__homeico > svg {
  color: rgb(var(--warm));
  filter: drop-shadow(0 0 10px rgba(var(--warm), .85)) drop-shadow(0 0 22px rgba(var(--warm), .45));
  transition-delay: calc(2.7s - var(--t0, 0s));
}
.mem__card.is-in .mem__moon { opacity: 1; transform: none; transition-delay: calc(2.9s - var(--t0, 0s)); }
html:not(.js) .mem__moon { opacity: 1; transform: none; }
.mem__homeico > svg { transition-property: color, filter; }

/* ==========================================================================
   05 — who ELIAN is for
   ========================================================================== */
.who {
  padding: clamp(110px, 15vh, 170px) 0 clamp(120px, 13vw, 230px);
  overflow: clip;
}
.who::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -20%;
  width: 70vw;
  aspect-ratio: 1.6;
  background: radial-gradient(closest-side, rgba(26, 127, 242, .2), transparent);
  pointer-events: none;
}
.who svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.who__wrap {
  position: relative;
  z-index: 1;
  max-width: 1600px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 2.08fr);
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
}
.who__title {
  margin: 0 0 20px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 3.3vw, 58px);
  line-height: 1.06;
  letter-spacing: -.028em;
}
.who__lead { margin: 0; max-width: 26em; font-size: clamp(15.5px, 1.15vw, 18px); line-height: 1.6; color: var(--ink-2); }

/* the four groups, aligned row by row */
.pers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pers li { position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; }
.pers li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6%;
  bottom: 6%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(126, 206, 255, .24) 30%, rgba(126, 206, 255, .24) 70%, transparent);
}
.per {
  position: relative;
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  align-content: start;
  justify-items: start;
  row-gap: 0;
  width: 100%;
  padding: clamp(18px, 2vw, 28px) clamp(14px, 1.6vw, 28px) clamp(22px, 2.4vw, 32px);
  border-radius: 22px;
  text-align: left;
  isolation: isolate;
  transition: transform .45s var(--ease-out);
}
.per::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(90% 70% at 30% 10%, rgba(26, 127, 242, .22), transparent 70%);
  box-shadow: inset 0 0 0 1px rgba(127, 220, 255, .16);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.per:hover,
.per:focus-visible { transform: translateY(-4px); }
.per:hover::before,
.per:focus-visible::before,
.per[aria-pressed="true"]::before { opacity: 1; }
.per[aria-pressed="true"]::before { box-shadow: inset 0 0 0 1px rgba(var(--warm), .45); }

.per__icon {
  display: grid;
  place-items: center;
  width: clamp(56px, 4.6vw, 72px);
  aspect-ratio: 1;
  margin-bottom: clamp(16px, 1.8vw, 24px);
  border-radius: 20px;
  color: var(--cyan-200);
  background: linear-gradient(160deg, #13294f, #0a1630 72%);
  box-shadow:
    inset 0 0 0 1px rgba(127, 220, 255, .32),
    inset 0 1px 0 rgba(255, 255, 255, .1),
    0 18px 30px -18px #000,
    0 0 34px -10px rgba(60, 196, 255, .65);
  transition: box-shadow .35s var(--ease), color .35s var(--ease);
}
.per__icon svg { width: 46%; height: 46%; stroke-width: 1.6; }
.per:hover .per__icon,
.per:focus-visible .per__icon {
  color: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(127, 220, 255, .7),
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 18px 30px -18px #000,
    0 0 44px -6px rgba(60, 196, 255, .9);
}
.per[aria-pressed="true"] .per__icon { color: rgb(var(--warm)); box-shadow: inset 0 0 0 1px rgba(var(--warm), .6), 0 18px 30px -18px #000, 0 0 40px -8px rgba(var(--warm), .7); }
.per__name {
  align-self: end;
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: clamp(17px, 1.3vw, 23px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.015em;
  color: #fff;
}
.per__text { font-size: clamp(14px, 1.02vw, 16.5px); line-height: 1.55; color: var(--ink-2); }

/* a beam of light runs under the whole section */
.who__curve { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; aspect-ratio: 16 / 2.7; pointer-events: none; }
.who__glow { stroke: rgba(60, 196, 255, .5); stroke-width: 18; }
.who__line { stroke: url(#whoCurveGrad); stroke-width: 2; }
.who__spark {
  stroke: #e6f8ff;
  stroke-width: 3;
  stroke-dasharray: .07 1;
  stroke-dashoffset: .07;
  opacity: 0;
  filter: drop-shadow(0 0 6px #7fdcff) drop-shadow(0 0 14px #3cc4ff);
}

/* once: the groups settle in, the beam draws itself, then light keeps travelling along it */
.js .pers li { opacity: 0; transform: translate3d(0, 14px, 0); }
.js .who.is-in .pers li {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease) calc(var(--i) * .1s), transform .8s var(--ease-out) calc(var(--i) * .1s);
}
.js .who__line,
.js .who__glow { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .who__glow { stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0; }
.js .who.is-in .who__line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.js .who.is-in .who__glow { opacity: 1; transition: opacity 1.2s var(--ease) 1.2s; }
.who.is-in .who__spark { animation: whySpark 6s linear 2.2s infinite; }
@keyframes whySpark {
  0% { stroke-dashoffset: .07; opacity: 0; }
  6% { opacity: 1; }
  55% { stroke-dashoffset: -1; opacity: 1; }
  56%, 100% { stroke-dashoffset: -1; opacity: 0; }
}

/* ==========================================================================
   06 — the configurator
   ========================================================================== */
.cfgx-wrap { width: 100%; max-width: 1600px; margin-inline: auto; padding-inline: var(--gutter); }
.cfgx {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.55fr) minmax(0, 1fr);
  grid-template-areas:
    "intro home pick"
    "intro sum  cta";
  gap: 22px clamp(18px, 1.8vw, 28px);
  align-items: stretch;
}
.cfgx svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* left: what this is */
.cfgx__intro { grid-area: intro; display: flex; flex-direction: column; padding-top: 6px; }
.cfgx__title {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 2.9vw, 50px);
  line-height: 1.06;
  letter-spacing: -.028em;
}
.cfgx__lead { margin: 0 0 26px; font-size: clamp(15.5px, 1.1vw, 18px); line-height: 1.6; color: var(--ink-2); }
.cfgx__perks { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.cfgx__perks li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; color: var(--ink-2); }
.cfgx__perks i {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--cyan-300);
  background: rgba(60, 196, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(60, 196, 255, .28);
}
.cfgx__perks svg { width: 17px; height: 17px; }
.cfgx__eli { flex: 1; min-height: 240px; margin-top: 34px; }

/* shared card look */
.cfgx__home,
.cfgx__pick,
.cfgx__sum {
  position: relative;
  border-radius: 26px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(26, 127, 242, .14), transparent 70%),
    linear-gradient(180deg, rgba(12, 26, 50, .82), rgba(6, 13, 27, .92));
  box-shadow:
    inset 0 0 0 1px rgba(127, 220, 255, .18),
    inset 0 1px 0 rgba(255, 255, 255, .07),
    0 40px 90px -50px rgba(26, 127, 242, .55);
}

/* center: the home */
.cfgx__home { grid-area: home; margin: 0; padding: clamp(16px, 1.6vw, 24px); display: flex; flex-direction: column; }
.cfgx__head { display: flex; align-items: center; gap: 14px; }
.cfgx__badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--cyan-200);
  background: rgba(60, 196, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(60, 196, 255, .3);
}
.cfgx__badge svg { width: 22px; height: 22px; }
.cfgx__name { flex: 1; display: grid; gap: 2px; min-width: 0; }
.cfgx__name b { font-size: clamp(17px, 1.35vw, 21px); font-weight: 600; }
.cfgx__name small { font-size: 14px; color: var(--ink-3); }

.cfgx__type { position: relative; flex: none; }
.cfgx__typebtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px 0 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(214, 228, 244, .16);
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.cfgx__typebtn:hover,
.cfgx__typebtn[aria-expanded="true"] { background: rgba(60, 196, 255, .12); box-shadow: inset 0 0 0 1px rgba(127, 220, 255, .5); }
.cfgx__typebtn svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.cfgx__typebtn[aria-expanded="true"] svg { transform: rotate(180deg); }
.cfgx__typelist {
  position: absolute;
  z-index: 5;
  right: 0;
  top: calc(100% + 8px);
  width: 230px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 14px;
  background: rgba(8, 16, 32, .97);
  box-shadow: inset 0 0 0 1px rgba(127, 220, 255, .25), 0 24px 50px -16px #000;
  animation: softIn .25s var(--ease-out) both;
}
.cfgx__typelist[hidden] { display: none; }
.cfgx__typelist li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 14.5px;
  color: var(--ink-2);
}
.cfgx__typelist li:hover,
.cfgx__typelist li:focus-visible { outline: none; color: #fff; background: rgba(60, 196, 255, .1); }
.cfgx__typelist li[aria-selected="true"] { color: #fff; }
.cfgx__typelist li[aria-selected="true"] b::before { content: "✓ "; color: var(--cyan-300); }
.cfgx__typelist b { font-weight: 600; }
.cfgx__typelist small { font-size: 12.5px; color: var(--ink-3); }

.cfgx__stage { position: relative; aspect-ratio: 3 / 2; margin: auto 0; }
/* the renders carry their own dark margin, so the plan is drawn a little larger than its box */
.cfgx__plan { position: absolute; inset: -5% -5%; }
.cfgx__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .6s var(--ease);
  -webkit-mask-image: radial-gradient(70% 72% at 50% 50%, #000 78%, transparent 100%);
  mask-image: radial-gradient(70% 72% at 50% 50%, #000 78%, transparent 100%);
}
.cfgx__stage img.is-on { opacity: 1; }
.cfgx__pins { position: absolute; inset: 0; }

/* markers */
.pin {
  --s: clamp(36px, 3.1vw, 50px);
  position: absolute;
  display: grid;
  place-items: center;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  color: #e3f7ff;
  background: radial-gradient(circle at 50% 35%, rgba(18, 50, 96, .95), rgba(6, 18, 40, .95));
  box-shadow:
    inset 0 0 0 1.6px rgba(127, 220, 255, .9),
    0 0 0 6px rgba(60, 196, 255, .12),
    0 0 24px 2px rgba(60, 196, 255, .55);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform .45s cubic-bezier(.3, 1.5, .5, 1), opacity .25s var(--ease), left .7s var(--ease-out), top .7s var(--ease-out);
}
.pin svg { width: 46%; height: 46%; stroke-width: 1.8; }
.pin.is-on { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.pin.is-on::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(127, 220, 255, .7);
  animation: pinPulse 2.8s var(--ease-out) infinite;
}
.pin.is-new::after { animation: pinPulse .9s var(--ease-out) 3; }
@keyframes pinPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.pin--hub { color: #fff; background: var(--btn-grad); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 6px rgba(60, 196, 255, .14), 0 0 30px 4px rgba(37, 182, 255, .7); }
.pin.is-hl { transform: translate(-50%, -50%) scale(1.18); box-shadow: inset 0 0 0 1.6px #fff, 0 0 0 8px rgba(60, 196, 255, .2), 0 0 34px 6px rgba(60, 196, 255, .8); }
.pin__tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  color: #fff;
  background: rgba(5, 12, 26, .94);
  box-shadow: inset 0 0 0 1px rgba(127, 220, 255, .3);
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity .2s var(--ease), transform .25s var(--ease-out);
}
.cfgx__stage { pointer-events: none; }
.cfgx__pins .pin.is-on { pointer-events: auto; }
.pin:hover .pin__tip,
.pin.is-hl .pin__tip { opacity: 1; transform: translate(-50%, 0); }

/* right: what to control */
.cfgx__pick { grid-area: pick; padding: clamp(18px, 1.6vw, 24px); display: flex; flex-direction: column; gap: 14px; }
.cfgx__pickhead { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 4px; }
.cfgx__step {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  color: var(--cyan-200);
  background: rgba(60, 196, 255, .08);
  box-shadow: inset 0 0 0 1.5px rgba(60, 196, 255, .55);
}
.cfgx__pickhead h3 { margin: 2px 0 4px; font-size: clamp(16.5px, 1.3vw, 20px); font-weight: 600; line-height: 1.25; }
.cfgx__pickhead p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.cfgx__note {
  margin: 0;
  padding: 9px 12px;
  border-radius: 11px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-2);
  background: rgba(var(--warm), .07);
  box-shadow: inset 0 0 0 1px rgba(var(--warm), .28);
  animation: softIn .5s var(--ease-out) both;
}
.cfgx__note[hidden] { display: none; }
.cfgx__note span { display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: rgb(var(--warm)); }

.cfgx__feats { display: grid; gap: 8px; }
.ft {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 60px;
  padding: 10px 16px;
  border-radius: 15px;
  text-align: left;
  color: var(--ink-2);
  background: rgba(255, 255, 255, .025);
  box-shadow: inset 0 0 0 1px rgba(214, 228, 244, .1);
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease-out);
}
.ft:hover { box-shadow: inset 0 0 0 1px rgba(214, 228, 244, .26); }
.ft:active { transform: scale(.985); }
.ft__icon { display: grid; place-items: center; color: var(--ink-3); transition: color .25s var(--ease); }
.ft__icon svg { width: 25px; height: 25px; }
.ft__text { display: grid; gap: 2px; min-width: 0; }
.ft__text b { font-size: 15px; font-weight: 600; color: var(--ink-2); transition: color .25s var(--ease); }
.ft__text small { font-size: 12.5px; line-height: 1.35; color: var(--ink-3); }
.ft__box {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: center / 13px no-repeat;
  box-shadow: inset 0 0 0 1.5px rgba(214, 228, 244, .3);
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.ft[aria-pressed="true"] {
  background: linear-gradient(90deg, rgba(26, 127, 242, .2), rgba(26, 127, 242, .06));
  box-shadow: inset 0 0 0 1px rgba(127, 220, 255, .55), 0 0 26px -10px rgba(60, 196, 255, .8);
}
.ft[aria-pressed="true"] .ft__icon { color: var(--cyan-200); }
.ft[aria-pressed="true"] .ft__text b { color: #fff; }
.ft[aria-pressed="true"] .ft__box {
  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");
  box-shadow: 0 0 12px rgba(60, 196, 255, .7);
}

/* bottom: the result */
.cfgx__sum {
  grid-area: sum;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  padding: 18px 8px;
}
.cfgx__sum > div { display: flex; align-items: center; gap: 12px; padding: 4px clamp(12px, 1.3vw, 22px); min-width: 0; }
.cfgx__sum > div + div { box-shadow: -1px 0 0 rgba(214, 228, 244, .1); }
.cfgx__sum i {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--cyan-200);
  background: rgba(60, 196, 255, .08);
}
.cfgx__sum i svg { width: 21px; height: 21px; }
.cfgx__sum > div > span { display: grid; gap: 2px; min-width: 0; }
.cfgx__sum b { font-size: clamp(16px, 1.25vw, 19px); font-weight: 700; white-space: nowrap; }
.cfgx__sum small { font-size: 13px; color: var(--ink-3); }
.cfgx__total { color: rgb(var(--warm)); font-variant-numeric: tabular-nums; }
.cfgx__cta { grid-area: cta; align-self: center; height: 68px; font-size: 17px; justify-content: center; }

/* 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); }

/* ==========================================================================
   07 — contact: the end of the journey
   ========================================================================== */
.contact { padding: clamp(110px, 15vh, 170px) 0 0; overflow: clip; }
.contact::before {
  content: "";
  position: absolute;
  right: -16%;
  top: 8%;
  width: 70vw;
  aspect-ratio: 1.5;
  background: radial-gradient(closest-side, rgba(26, 127, 242, .16), transparent);
  pointer-events: none;
}
.contact__wrap { position: relative; z-index: 1; }
.contact__head { max-width: 860px; margin-bottom: clamp(44px, 7vh, 72px); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}

/* how to reach us */
.contact__info { display: grid; margin: 0; padding: 0; list-style: none; }
.contact__info li { display: grid; gap: 6px; padding: 22px 0; border-top: 1px solid var(--line); }
.contact__info li:last-child { border-bottom: 1px solid var(--line); }
.contact__info small {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.contact__info a,
.contact__info span { font-size: clamp(17px, 1.4vw, 21px); font-weight: 500; color: #fff; }
.contact__info a { justify-self: start; transition: color .25s var(--ease); }
.contact__info a:hover { color: var(--cyan-200); }
/* Eli waits here, next to the form, once the heading has scrolled away */
.contact__eli { height: clamp(200px, 30vh, 280px); margin-top: 24px; }

/* the form */
.cform {
  padding: clamp(24px, 2.8vw, 40px);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.cform__title { margin: 0 0 18px; font-size: clamp(20px, 1.6vw, 24px); font-weight: 600; letter-spacing: -.01em; color: #fff; }

/* what the visitor picked in the configurator travels with the request */
.cform__pick {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 26px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(var(--warm), .05);
  box-shadow: inset 0 0 0 1px rgba(var(--warm), .22);
}
.cform__pick p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.cform__pick small {
  display: block;
  margin-bottom: 3px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgb(var(--warm));
}
.cform__pick a {
  flex: none;
  margin-top: 1px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(var(--warm), .6);
  text-underline-offset: 4px;
}
.cform__pick a:hover { color: rgb(var(--warm)); }

.cform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field > label { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.field > label em { font-style: normal; font-weight: 400; color: var(--ink-3); }
.field input:not([type="checkbox"]),
.field textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  color: #fff;
  background: rgba(4, 10, 22, .7);
  box-shadow: inset 0 0 0 1px rgba(126, 206, 255, .16);
  outline: none;
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.field textarea { height: 110px; min-height: 80px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.field ::placeholder { color: rgba(138, 157, 182, .75); }
.field input:not([type="checkbox"]):hover,
.field textarea:hover { box-shadow: inset 0 0 0 1px rgba(126, 206, 255, .3); }
.field input:not([type="checkbox"]):focus-visible,
.field textarea:focus-visible {
  border-radius: 12px;
  background: rgba(6, 16, 34, .92);
  box-shadow: inset 0 0 0 1.5px var(--cyan-300), 0 0 0 4px rgba(60, 196, 255, .14);
}
.field [aria-invalid="true"]:not([type="checkbox"]) { box-shadow: inset 0 0 0 1.5px rgba(var(--warm), .85); }
.field__err { margin: 0; font-size: 13px; line-height: 1.45; color: rgb(var(--warm)); }
.field__err:empty { display: none; }

.cform__consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.cform__consent input {
  flex: none;
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  border-radius: 6px;
  background: rgba(4, 10, 22, .7) center / 14px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(126, 206, 255, .35);
  cursor: pointer;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.cform__consent input:checked {
  background-color: var(--cyan-400);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307101f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%3E%3C/svg%3E");
  box-shadow: none;
}
.cform__consent input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px rgba(var(--warm), .85); }
.cform__consent input:focus-visible { outline-offset: 2px; border-radius: 6px; }

.cform__send { margin-top: 26px; }

/* sent */
.cform__done { display: grid; justify-items: start; gap: 10px; padding: clamp(12px, 3vh, 36px) 0; outline: none; }
.cform__done[hidden] { display: none; }
.cform__ok {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 10px;
  border-radius: 50%;
  color: var(--warm-ink);
  background: var(--warm-grad);
  box-shadow: 0 0 44px -6px rgba(var(--warm), .75);
}
.cform__ok svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cform__done h3 { margin: 0; font-size: clamp(22px, 1.9vw, 28px); font-weight: 600; letter-spacing: -.015em; color: #fff; }
.cform__done p { margin: 0; max-width: 30em; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* the last line of the page */
.contact__end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(80px, 12vh, 140px);
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-3);
}
.contact__end p { margin: 0; }
.contact__logo { width: 92px; height: auto; color: #fff; }

/* calm reveal, once */
.js .contact__r { opacity: 0; transform: translate3d(0, 14px, 0); }
.js .contact__r.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .8s var(--ease) var(--t, 0s), transform .9s var(--ease-out) var(--t, 0s);
}

/* ==========================================================================
   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(7 * 9px + 6 * 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; }
}

/* the memory cards get too narrow side by side: stack them, arrow pointing down */
@media (max-width: 1100px) {
  .about__kit { grid-template-columns: minmax(0, 1fr); }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__eli { display: none; }
  .contact__info { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .contact__info li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .who__wrap { grid-template-columns: minmax(0, 1fr); }
  .who__lead { max-width: 34em; }
  .mem__cards { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .mem__card--later,
  .mem__arrow { --t0: 1.5s; }
  .mem__arrow { width: 50px; height: 50px; }
  .mem__arrow svg { transform: rotate(90deg); }
  .mem__quote { max-width: 17em; }
}

/* three columns get tight: the summary keeps its words, drops its icons */
@media (min-width: 1361px) and (max-width: 1560px) {
  .cfgx__sum i { display: none; }
}

@media (max-width: 1360px) {
  .cfgx {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    grid-template-areas:
      "intro intro"
      "home  pick"
      "sum   cta";
  }
  .cfgx__intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: 40px; align-items: end; }
  .cfgx__intro > .chap__eyebrow,
  .cfgx__title,
  .cfgx__lead { grid-column: 1; }
  .cfgx__perks { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin-bottom: 26px; }
  .cfgx__eli { display: none; }
}

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

  /* headings break into even lines instead of leaving one word alone */
  .chap__title,
  .caps__title,
  .who__title,
  .cfgx__title,
  .steps__title,
  .about__title { text-wrap: balance; }
  .chap__lead,
  .about__lead,
  .caps__lead,
  .who__lead,
  .cfgx__lead,
  .mem__lead,
  .steps__lead { text-wrap: pretty; }

  /* memory: until the house picture exists, the empty picture area stays out of the way */
  .mem__visual.no-house { display: none; }

  /* what ELIAN is: everything in one column */
  .about { padding-top: 96px; }
  .about__title { margin-bottom: 20px; }
  .about__pillars { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 48px; }
  .about__pillars li { padding-top: 20px; }
  .about__no { margin-bottom: 12px; }
  .about__kit { margin: 48px calc(var(--gutter) * -.5) 0; padding: 24px 20px; border-radius: 20px; gap: 18px; }
  .about__kit ul { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .about__kit li { padding-left: 26px; }

  /* contact: details, then the form, all in one column */
  .contact { padding-top: 96px; }
  .contact__info { grid-template-columns: minmax(0, 1fr); }
  .contact__info li { padding: 12px 0; }
  .contact__info small { font-size: 12px; }
  .contact__info a { padding-block: 8px; margin-block: -8px; }
  .cform__pick small { font-size: 11px; }
  .cform__pick a { padding: 10px 12px; margin: -10px -12px -10px 0; }
  .contact__info li:nth-last-child(2) { border-bottom: 0; }
  .cform { margin-inline: calc(var(--gutter) * -.5); padding: 22px 18px; border-radius: 20px; }
  .cform__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cform__send { width: 100%; height: 58px; }
  .contact__end { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 72px; }

  /* memory: intro, then the house, then the two moments under each other */
  .mem__top { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .mem__visual { height: 210px; }
  .mem__spot { width: 40%; }
  .mem__house { width: 72%; right: -6%; }
  .mem__card { grid-template-areas: "when art" "quote quote" "reply reply"; padding: 18px; border-radius: 22px; margin-inline: calc(var(--gutter) * -.4); }
  .mem__card:not(.mem__card--later) .mem__art { width: 108px; margin-top: 0; }
  .mem__card--later .mem__art { width: 92px; margin: 14px 10px 0 0; }
  .mem__homeico { border-radius: 16px; }
  .mem__quote { max-width: none; font-size: 21px; }
  .mem__reply { padding: 8px 14px 8px 8px; gap: 10px; font-size: 14px; }
  .mem__face { width: 42px; height: 42px; }
  .mem__face img { left: -48px; top: -3px; width: 105px; }
  .mem__ok { width: 22px; height: 22px; }
  .mem__feats { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .mem__feats li { padding: 0; gap: 14px; }
  .mem__feats li + li { box-shadow: none; }
  .mem__feats i { width: 46px; }
  .mem__feats p { display: block; font-size: 15px; }
  .mem__feats b { margin-right: .3em; }

  /* who: two by two, each group on its own soft card */
  .who { padding-bottom: 110px; }
  .pers li,
  .per { display: flex; flex-direction: column; align-items: flex-start; }
  .pers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pers li + li::before { display: none; }
  .per { padding: 16px 14px 18px; border-radius: 18px; }
  .per::before { opacity: 1; background: linear-gradient(180deg, rgba(14, 30, 58, .7), rgba(7, 14, 28, .7)); }
  .per:hover,
  .per:focus-visible { transform: none; }
  .per__icon { width: 48px; margin-bottom: 14px; border-radius: 15px; }
  .per__name { align-self: flex-start; margin-bottom: 8px; font-size: 16.5px; }
  .per__text { font-size: 13.5px; }
  .who__curve { width: 180%; left: -40%; }

  /* configurator: one column, plan on top of the choices */
  .cfgx { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "home" "pick" "sum" "cta"; gap: 14px; }
  .cfgx__intro { display: block; }
  .cfgx__lead { margin-bottom: 18px; }
  .cfgx__perks { display: flex; flex-wrap: wrap; gap: 10px 16px; margin: 0 0 6px; }
  .cfgx__perks li { gap: 8px; font-size: 13px; white-space: nowrap; }
  .cfgx__perks i { width: 28px; height: 28px; }
  .cfgx__perks svg { width: 14px; height: 14px; }
  .cfgx__home,
  .cfgx__pick { margin-inline: calc(var(--gutter) * -.5); border-radius: 20px; }
  .cfgx__head { gap: 10px; }
  .cfgx__badge { width: 40px; height: 40px; }
  .cfgx__name small { font-size: 12.5px; }
  .cfgx__typebtn { height: 40px; padding: 0 12px 0 14px; font-size: 13px; }
  .cfgx__stage { margin-top: 12px; }
  .cfgx__plan { inset: 0; }
  .pin { --s: 32px; }
  .pin__tip { display: none; }
  .ft { min-height: 54px; padding: 8px 12px; gap: 12px; }
  .cfgx__sum { grid-template-columns: minmax(0, 1fr); padding: 6px 0; margin-inline: calc(var(--gutter) * -.5); border-radius: 20px; }
  .cfgx__sum > div { padding: 12px 16px; }
  .cfgx__sum > div + div { box-shadow: 0 -1px 0 rgba(214, 228, 244, .1); }
  .cfgx__cta { width: 100%; height: 58px; font-size: 16px; }

  .steps__head { display: block; }
  .steps__title { 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; }
}

/* the narrowest phones: the moment label and the picture share one row without touching */
@media (max-width: 389px) {
  .mem__when { gap: 8px; height: 36px; padding: 0 12px 0 10px; font-size: 11.5px; letter-spacing: .03em; }
  .mem__when svg { width: 16px; height: 16px; }
  .mem__card:not(.mem__card--later) .mem__art { width: 96px; }
  .mem__card--later .mem__art { width: 76px; margin: 14px 4px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .js .contact__r { opacity: 1; transform: none; transition: none; }
  .js .about__head,
  .js .about__pillars li,
  .js .about__kit,
  .js .about__kit li { opacity: 1; transform: none; transition: none; }
  .js .about__pillars li::before { transform: none; transition: none; }
  .who.is-in .who__spark,
  .pin.is-on::after { animation: none !important; }
  .pin { transition: opacity .2s; }
  .journey { transition: none; }
  .js .mem__cards .mem__r,
  .js .mem__feats li { opacity: 1; transform: none; transition: none; }
  .js .mem__arrow.is-in { animation: none; }
  .mem__homeico > svg,
  .mem__moon { transition: none !important; }
  .js .pers li { opacity: 1; transform: none; transition: none; }
  .js .who__line { stroke-dashoffset: 0; transition: none; }
  .js .who__glow { opacity: 1; transition: none; }
}
