/* /advisors/join pilot. Family ADVISORS "Structure": the cool half of the light only (cyan to violet and their
   pastels), graphite lines, a drafting-table grammar. Signature: SUPERPOSITION (two ghosted states of a practice
   that converge along the move timeline and collapse into one solid plane at step 05).
   One custom property drives the instrument: --e on .stage, 1 = the two states apart, 0 = collapsed.
   Defaults are the poster (JS off). JS binds --e to scroll only with motion allowed (html.is-bound). */
/* ?full=900 (debug, documented in NOTES): vh-based sizes behave as on a 900 px viewport, so a tall-window
   full-page screenshot shows the real layout; it also skips the scroll binding (poster state). */
:root {
  --c-cyan: #4FC3E8;
  --c-violet: #9C7CF4;
  --c-cyan-p: #7FD6F2;
  --c-violet-p: #B49CF8;
  --hair: rgba(29, 33, 38, .14);
  --hair-2: rgba(29, 33, 38, .26);
  --grid-1: rgba(29, 33, 38, .045);
  --grid-2: rgba(29, 33, 38, .075);
  --head: 76px;
}
main { position: relative; z-index: 1; }
.page-join { background: var(--pearl); }

/* ---------- the move: hero + sticky superposition rail + timeline, one grid ---------- */
/* fix round 1 (D11): the rotated .scene (and, in .spec, the crop marks) reach past the viewport edge; clip them at
   these full-width blocks, whose edges ARE the viewport edges, so nothing inside the viewport changes. overflow-x: clip
   (not hidden) makes no scroll container, so the sticky .stage still sticks to the viewport. */
.move { position: relative; overflow-x: clip; }
.ground { position: absolute; inset: 0 0 auto 0; height: 1500px; z-index: -1; pointer-events: none; overflow: hidden; }
.ground::before {
  /* drafting grid, strongest under the rail, gone behind the copy */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-2) 1px, transparent 1px), linear-gradient(90deg, var(--grid-2) 1px, transparent 1px),
    linear-gradient(var(--grid-1) 1px, transparent 1px), linear-gradient(90deg, var(--grid-1) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(58% 62% at 78% 42%, #000 18%, rgba(0, 0, 0, .35) 52%, transparent 78%);
          mask-image: radial-gradient(58% 62% at 78% 42%, #000 18%, rgba(0, 0, 0, .35) 52%, transparent 78%);
}
.ground::after {
  /* cool light only */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(34vw 30vw at 74% 46%, rgba(127, 214, 242, .20), transparent 70%),
    radial-gradient(30vw 26vw at 90% 72%, rgba(180, 156, 248, .16), transparent 70%),
    radial-gradient(40vw 22vw at 8% 0%, rgba(127, 214, 242, .08), transparent 70%);
}

.move-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }

/* ---------- hero: wide serif, off-axis object ---------- */
.hero { grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 2; padding: 72px 0 0; }
.hero .eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.hero .eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--ink-2); }
.hero .eyebrow .sl { color: var(--ink-3); font-weight: 500; }
.hero h1 { font: 400 clamp(60px, 9.2vw, 150px)/.9 var(--serif); letter-spacing: -.028em; margin: 0; }
.hero h1 .l1, .hero h1 .l2 { display: block; }
.hero h1 .l2 { padding-left: 1.04em; }
.framed { position: relative; display: inline-block; padding: 0 .06em 0 .04em; }
.framed::before {
  /* a little cool light held behind the word; never the text colour */
  content: ""; position: absolute; inset: 18% -6% 4% -4%; z-index: -1; border-radius: 4px;
  background: radial-gradient(closest-side, rgba(127, 214, 242, .30), rgba(180, 156, 248, .14) 60%, transparent);
}
.framed::after {
  /* four drafting corners round "frame." */
  --t: .06em; --l: .2em; --c: rgba(29, 33, 38, .62);
  content: ""; position: absolute; inset: .2em -.1em .02em -.08em; pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--l) 1.5px no-repeat,
    linear-gradient(var(--c), var(--c)) left top / 1.5px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--l) 1.5px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 1.5px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--l) 1.5px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 1.5px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--l) 1.5px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 1.5px var(--l) no-repeat;
}
.hero .lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 27em; text-wrap: pretty; margin: 44px 0 0 calc(clamp(60px, 9.2vw, 150px) * 1.04); }

/* ---------- rail + stage ---------- */
.rail {
  grid-column: 7 / -1; grid-row: 1 / span 2; position: relative; z-index: 1;
  margin-right: calc((min(1240px, 100vw - 48px) - 100vw) / 2);
  padding-top: 262px;
}
.stage {
  --e: 1; --w: 0;
  --sh: min(700px, calc(var(--vh, 1vh) * 100 - var(--head) - 48px));
  position: sticky; top: calc(var(--head) + (var(--vh, 1vh) * 100 - var(--head) - var(--sh)) / 2);
  height: var(--sh); margin: 0;
  perspective: 1700px; perspective-origin: 38% 30%;
}
.stage::before {
  /* the light the two states make between them; brightest where they overlap */
  content: ""; position: absolute; left: 6%; right: 14%; top: 10%; bottom: 14%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(127, 214, 242, .30), rgba(180, 156, 248, .18) 58%, transparent);
  filter: blur(6px); opacity: calc(.75 + (1 - var(--e)) * .25);
}
.scene { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(10deg) rotateY(-16deg); }

.plane { position: absolute; left: 19%; top: 24%; width: 55%; height: 42%; transform-style: preserve-3d; }
.plane-a {
  transform: translate3d(calc(var(--e) * -25% + var(--w) * -1.2%), calc(var(--e) * -15%), calc(var(--e) * -90px))
             rotateZ(calc(var(--e) * -2.6deg + var(--w) * -.6deg));
}
.plane-b {
  transform: translate3d(calc(var(--e) * 19% + var(--w) * 1.2%), calc(var(--e) * 14%), calc(var(--e) * 70px))
             rotateZ(calc(var(--e) * 2.2deg + var(--w) * .6deg));
}
.plane-c { transform: translateZ(-2px); opacity: 0; transition: opacity .9s var(--ease) .05s; }

.body {
  position: absolute; inset: 0; border-radius: 16px; transition: opacity .8s var(--ease);
  background:
    linear-gradient(90deg, rgba(29, 33, 38, .085) 1px, transparent 1px) 0 0 / calc(100% / 6) 100%,
    linear-gradient(rgba(29, 33, 38, .085) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(150deg, rgba(255, 255, 255, .66), rgba(255, 255, 255, .16) 58%, rgba(255, 255, 255, .40));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), inset 0 1px 0 #fff, 0 34px 60px -34px rgba(40, 60, 110, .30);
}
.body::before {
  /* the state's wave: concentric hairlines; two offset sets interfere (moire fringes) where the states overlap */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: repeating-radial-gradient(circle at 50% 50%, rgba(79, 195, 232, 0) 0 7.6px, rgba(79, 195, 232, .78) 8.6px, rgba(79, 195, 232, 0) 9.8px);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, rgba(0, 0, 0, .55) 70%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 30%, rgba(0, 0, 0, .55) 70%, transparent 100%);
}
.plane-b .body::before {
  background: repeating-radial-gradient(circle at 50% 50%, rgba(156, 124, 244, 0) 0 7.6px, rgba(156, 124, 244, .72) 8.6px, rgba(156, 124, 244, 0) 9.8px);
}
.body::after {
  /* a cool rim, cyan to violet only */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.3px; pointer-events: none;
  background: conic-gradient(from 210deg, #7FD6F2, #B49CF8, #9C7CF4, #4FC3E8, #7FD6F2);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .85;
}
.plane-a .body { opacity: .95; }
.plane-b .body {
  background:
    linear-gradient(90deg, rgba(29, 33, 38, .085) 1px, transparent 1px) 0 0 / calc(100% / 6) 100%,
    linear-gradient(rgba(29, 33, 38, .085) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(150deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .04) 58%, rgba(255, 255, 255, .2));
}

/* the one solid plane: thickness by stacked edges, a single coherent wave, a crisp frame */
.plane-c .body {
  background:
    linear-gradient(90deg, rgba(29, 33, 38, .07) 1px, transparent 1px) 0 0 / calc(100% / 6) 100%,
    linear-gradient(rgba(29, 33, 38, .07) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(150deg, rgba(255, 255, 255, .96), rgba(236, 240, 248, .86) 60%, rgba(255, 255, 255, .94));
  box-shadow:
    inset 0 0 0 1px #fff,
    1px 1px 0 #E2E6EE, 2px 2px 0 #DCE1EA, 3px 3px 0 #D6DCE6, 4px 4px 0 #D1D7E3, 5px 5px 0 #CCD2DF, 6px 6px 0 #C7CEDC,
    7px 7px 0 #C2C9D8,
    0 0 70px 6px rgba(127, 214, 242, .30), 0 0 120px 20px rgba(180, 156, 248, .18),
    0 50px 80px -36px rgba(40, 60, 110, .42);
}
.plane-c .body::before {
  background: repeating-radial-gradient(circle at 50% 50%,
    rgba(79, 195, 232, 0) 0 7.6px, rgba(79, 195, 232, .6) 8.6px, rgba(79, 195, 232, 0) 9.8px,
    rgba(156, 124, 244, 0) 0 17.2px, rgba(156, 124, 244, .55) 18.2px, rgba(156, 124, 244, 0) 19.4px);
}
.plane-c .body::after { padding: 1.6px; opacity: 1; }
.plane-c::after {
  /* one sweep of light across the plane at the moment of collapse (motion only) */
  content: ""; position: absolute; inset: 0; border-radius: 16px; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(127, 214, 242, .45) 47%, rgba(255, 255, 255, .8) 50%, rgba(180, 156, 248, .45) 53%, transparent 62%) 0 0 / 260% 100% no-repeat;
}
.plane-c .body { overflow: hidden; }

.tag {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  font: 600 11.5px/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--ink);
  background: rgba(251, 250, 247, .94); padding: 9px 12px 9px 10px; border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(29, 33, 38, .16), 0 6px 14px -8px rgba(40, 60, 110, .3);
}
.tag::before { content: ""; width: 9px; height: 9px; border-radius: 2px; box-shadow: inset 0 0 0 1.5px var(--c-cyan); }
.tag-b::before { box-shadow: inset 0 0 0 1.5px var(--c-violet); }
.tag-a { left: 16px; top: 16px; }
.tag-b { right: 16px; bottom: 16px; }

/* registration marks: the stage is a drafting plate */
.reg { position: absolute; width: 22px; height: 22px; pointer-events: none;
  background:
    radial-gradient(circle, transparent 4.5px, rgba(29, 33, 38, .42) 5px, rgba(29, 33, 38, .42) 6px, transparent 6.5px),
    linear-gradient(rgba(29, 33, 38, .42), rgba(29, 33, 38, .42)) center / 1px 100% no-repeat,
    linear-gradient(rgba(29, 33, 38, .42), rgba(29, 33, 38, .42)) center / 100% 1px no-repeat; }
.reg-tl { display: none; }
.reg-tr { right: 12%; top: 4%; }
.reg-bl { left: 2%; bottom: 4%; }
.reg-br { right: 12%; bottom: 4%; }

/* the gap between the states, drawn as a dimension line that closes to a point */
.gap { position: absolute; left: 44%; bottom: 7%; height: 16px; width: calc(var(--e) * 44%); transform: translateX(-50%); }
.gap::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(29, 33, 38, .5); }
.gap-l, .gap-r { position: absolute; top: 0; width: 1px; height: 16px; background: rgba(29, 33, 38, .6); }
.gap-l { left: 0; } .gap-r { right: 0; }
.gap-l::after, .gap-r::after { content: ""; position: absolute; left: -4px; top: 4px; width: 9px; height: 1px; background: rgba(29, 33, 38, .6); transform: rotate(-45deg); }
.gap-dot {
  position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-cyan), var(--c-violet));
  box-shadow: 0 0 0 4px rgba(180, 156, 248, .2), 0 0 18px rgba(127, 214, 242, .7);
  opacity: 0; transform: scale(.4); transition: opacity .6s var(--ease), transform .6s var(--ease);
}

/* collapsed: the ghosts give way to the one plane; both labels now sit on it */
.stage.is-collapsed .plane-a .body,
.stage.is-collapsed .plane-b .body { opacity: 0; }
.stage.is-collapsed .plane-c { opacity: 1; }
.stage.is-collapsed .gap-dot { opacity: 1; transform: scale(1); }
.stage.is-collapsed .gap-l, .stage.is-collapsed .gap-r, .stage.is-collapsed .gap::before { opacity: 0; }
.js .motion .stage.is-collapsed .plane-c::after { animation: sweep 1.5s var(--ease) .15s both; }
@keyframes sweep { 0% { opacity: 1; background-position: 120% 0; } 100% { opacity: 1; background-position: -60% 0; } }

/* ---------- timeline: the spine ---------- */
.timeline { grid-column: 1 / 7; grid-row: 2; position: relative; z-index: 2; padding: 104px 0 calc(var(--vh, 1vh) * 27); }
.timeline h2 { font: 400 clamp(42px, 4.6vw, 68px)/1 var(--serif); letter-spacing: -.015em; margin: 0 0 72px; padding-left: 76px; position: relative; }
.timeline h2::before { content: ""; position: absolute; left: 7px; top: 100%; height: 72px; width: 1px; background: linear-gradient(transparent, var(--hair-2)); }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.step { position: relative; padding: 0 0 0 76px; min-height: calc(var(--vh, 1vh) * 40); }
.step-last { min-height: 0; }
.step::before { content: ""; position: absolute; left: 7px; top: 22px; height: 100%; width: 1px; background: var(--hair-2); }
.step::after {
  content: ""; position: absolute; left: 6px; top: 22px; height: 100%; width: 3px; border-radius: 3px;
  background: linear-gradient(var(--hue), var(--hue-next));
  box-shadow: 0 0 12px color-mix(in srgb, var(--hue) 70%, transparent);
  transform-origin: top; transform: scaleY(var(--f, 1));
}
.step-last::before, .step-last::after { display: none; }
.node {
  position: absolute; left: 0; top: 14px; width: 17px; height: 17px; border-radius: 50%; z-index: 1;
  background: var(--pearl); box-shadow: inset 0 0 0 1.5px var(--ink-2);
  transition: box-shadow .6s var(--ease);
}
.node::after {
  content: ""; position: absolute; inset: 3.5px; border-radius: 50%; background: var(--hue);
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.step.is-lit .node, html:not(.is-bound) .node {
  box-shadow: inset 0 0 0 1.5px var(--ink-2), 0 0 0 6px color-mix(in srgb, var(--hue) 18%, transparent), 0 0 22px color-mix(in srgb, var(--hue) 75%, transparent);
}
.is-bound .step:not(.is-lit) .node::after { opacity: 0; transform: scale(.2); }
.step-num {
  position: relative; display: flex; align-items: center; height: 45px;
  font: 600 13px/1 var(--sans); letter-spacing: .22em; color: var(--ink-3); font-variant-numeric: tabular-nums;
}
.step-num::before { content: ""; position: absolute; left: -58px; width: 44px; top: 50%; height: 1px; background: var(--hair-2); }
.step h3 { font: 400 clamp(34px, 3.3vw, 50px)/1.04 var(--serif); letter-spacing: -.01em; margin: 6px 0 16px; max-width: 12em; }
.step p { font-size: 18px; line-height: 1.6; color: var(--ink-2); margin: 0; max-width: 25em; }
.glyph { display: none; }

/* ---------- spec sheet: questions we will ask you ---------- */
.spec { position: relative; z-index: 2; padding: 40px 0 120px; overflow-x: clip; }
.sheet {
  position: relative; margin-left: calc((100% + 24px) / 12);
  background:
    linear-gradient(var(--grid-1) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, var(--grid-1) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(251, 250, 247, .9));
  box-shadow: inset 0 0 0 1px rgba(29, 33, 38, .32), 0 40px 80px -60px rgba(40, 60, 110, .35);
}
.crop { position: absolute; width: 34px; height: 34px; pointer-events: none; --cc: rgba(29, 33, 38, .5); }
.crop-tl { left: -34px; top: -34px;
  background: linear-gradient(var(--cc), var(--cc)) left bottom / 24px 1px no-repeat, linear-gradient(var(--cc), var(--cc)) right top / 1px 24px no-repeat; }
.crop-tr { right: -34px; top: -34px;
  background: linear-gradient(var(--cc), var(--cc)) right bottom / 24px 1px no-repeat, linear-gradient(var(--cc), var(--cc)) left top / 1px 24px no-repeat; }
.crop-bl { left: -34px; bottom: -34px;
  background: linear-gradient(var(--cc), var(--cc)) left top / 24px 1px no-repeat, linear-gradient(var(--cc), var(--cc)) right bottom / 1px 24px no-repeat; }
.crop-br { right: -34px; bottom: -34px;
  background: linear-gradient(var(--cc), var(--cc)) right top / 24px 1px no-repeat, linear-gradient(var(--cc), var(--cc)) left bottom / 1px 24px no-repeat; }
.ruler {
  height: 26px; border-bottom: 1px solid var(--hair-2);
  background:
    repeating-linear-gradient(90deg, rgba(29, 33, 38, .5) 0 1px, transparent 1px 80px) 0 100% / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, rgba(29, 33, 38, .3) 0 1px, transparent 1px 16px) 0 100% / 100% 7px no-repeat;
}
.sheet-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 54px 56px 34px 120px; border-bottom: 1px solid var(--hair-2); position: relative; }
.sheet-head::after {
  /* the only light on the sheet: one cool hairline under the title */
  content: ""; position: absolute; left: 120px; bottom: -1px; width: 220px; height: 2px;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-violet));
}
.sheet-head h2 { font: 400 clamp(40px, 4.4vw, 64px)/1 var(--serif); letter-spacing: -.015em; margin: 0; }
.sheet-mark { display: block; width: 46px; height: 46px; flex: none; }
.sheet-mark svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 12px rgba(60, 70, 110, .18)); }
.spec-list { list-style: none; margin: 0; padding: 0; }
.spec-list li { display: grid; grid-template-columns: 120px minmax(0, 1.35fr) minmax(0, 1fr); border-bottom: 1px solid var(--hair); min-height: 104px; }
.q-ix {
  display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--hair-2);
  font: 600 13px/1 var(--sans); letter-spacing: .22em; color: var(--ink-3); font-variant-numeric: tabular-nums;
}
.q { font: 400 clamp(24px, 2.3vw, 33px)/1.2 var(--serif); margin: 0; padding: 30px 36px; align-self: center; }
.q-field { position: relative; border-left: 1px solid var(--hair); }
.q-field::before { content: ""; position: absolute; left: 32px; right: 40px; bottom: 32px; border-bottom: 1px dashed rgba(29, 33, 38, .34); }
.q-field::after {
  content: ""; position: absolute; left: 32px; bottom: 31px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-violet)); transition: width .7s var(--ease);
}
.spec-list li:hover .q-field::after { width: calc(100% - 72px); }
.title-block { display: grid; grid-template-columns: 1fr 72px repeat(3, 96px); height: 72px; }
.title-block > *, .tb-cells i { border-left: 1px solid var(--hair); }
.title-block::before {
  content: ""; display: block;
  background: repeating-linear-gradient(135deg, rgba(29, 33, 38, .12) 0 1px, transparent 1px 9px);
}
.tb-mark { display: grid; place-items: center; }
.tb-mark svg { width: 34px; height: 34px; overflow: visible; }
.tb-cells { display: contents; }
.tb-cells i { display: block; }

/* ---------- the form ---------- */
.join { position: relative; z-index: 2; padding: 40px 0 150px; }
.join-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.join-head h2 { font: 400 clamp(50px, 5.8vw, 88px)/.96 var(--serif); letter-spacing: -.02em; margin: 0; max-width: 7em; }
.solid { position: relative; width: 250px; aspect-ratio: 4 / 3; margin: 64px 0 0 12px; perspective: 900px; }
.solid-face {
  position: absolute; inset: 0; border-radius: 14px; transform: rotateX(14deg) rotateY(-22deg);
  background:
    linear-gradient(90deg, rgba(29, 33, 38, .07) 1px, transparent 1px) 0 0 / calc(100% / 6) 100%,
    linear-gradient(rgba(29, 33, 38, .07) 1px, transparent 1px) 0 0 / 100% 25%,
    repeating-radial-gradient(circle at 50% 50%, rgba(79, 195, 232, 0) 0 6.6px, rgba(79, 195, 232, .5) 7.4px, rgba(79, 195, 232, 0) 8.4px, rgba(156, 124, 244, 0) 0 14.8px, rgba(156, 124, 244, .45) 15.6px, rgba(156, 124, 244, 0) 16.6px),
    linear-gradient(150deg, rgba(255, 255, 255, .96), rgba(236, 240, 248, .86) 60%, rgba(255, 255, 255, .94));
  box-shadow: inset 0 0 0 1px #fff, 1px 1px 0 #E2E6EE, 2px 2px 0 #DCE1EA, 3px 3px 0 #D6DCE6, 4px 4px 0 #D1D7E3, 5px 5px 0 #CCD2DF,
    0 0 50px 4px rgba(127, 214, 242, .26), 0 30px 50px -28px rgba(40, 60, 110, .4);
}
.solid-face::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.4px;
  background: conic-gradient(from 210deg, #7FD6F2, #B49CF8, #9C7CF4, #4FC3E8, #7FD6F2);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.join-form {
  position: relative; padding: 44px 44px 36px;
  background: rgba(255, 255, 255, .6);
  box-shadow: inset 0 0 0 1px var(--hair-2), 0 40px 80px -60px rgba(40, 60, 110, .35);
}
.join-form::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--c-cyan), var(--c-violet) 60%, transparent); }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 24px; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 10px; }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 52px; padding: 14px 14px; margin: 0;
  font: 400 17px/1.4 var(--sans); color: var(--ink);
  background: rgba(255, 255, 255, .9); border: 1px solid rgba(29, 33, 38, .34); border-radius: 4px;
  transition: border-color .3s, box-shadow .3s;
}
.field select { padding-right: 30px; cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 13px) 55%, calc(100% - 7px) 55%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); box-shadow: 0 0 0 6px rgba(127, 214, 242, .22); }
.f-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }
.btn { border: 0; cursor: pointer; }
.form-msg { margin: 0; font: 500 15px/1.4 var(--sans); color: var(--ink); }
.form-msg:not(:empty) { padding: 10px 14px 10px 16px; background: rgba(255, 255, 255, .9); box-shadow: inset 3px 0 0 var(--c-violet), inset 0 0 0 1px var(--hair); border-radius: 4px; }
.fineprint { margin: 20px 0 0; font-size: 13.5px; color: var(--ink-3); }

/* ---------- motion (JS + motion allowed only; the poster reads complete without it) ---------- */
.js .motion .framed::after { animation: frame-in 1.8s var(--ease) .35s both; }
@keyframes frame-in { from { inset: -.12em -.5em -.3em -.48em; opacity: 0; } 40% { opacity: 1; } }
.js .motion .hero h1 .l2 { animation: settle 1.4s var(--ease) .1s both; }
@keyframes settle { from { transform: translateX(.18em); } }

/* ---------- reduced motion: static final states (collapsed plane, every node lit) ---------- */
@media (prefers-reduced-motion: reduce) {
  .stage { --e: 0 !important; --w: 0 !important; }
  .stage .plane-a .body, .stage .plane-b .body { opacity: 0; }
  .stage .plane-c { opacity: 1; }
  .stage .gap-dot { opacity: 1; transform: scale(1); }
  .stage .gap-l, .stage .gap-r, .stage .gap::before { opacity: 0; }
}

/* ---------- short desktop viewports (1280x720 class): smaller states so both clear the fold at scroll 0 ---------- */
@media (min-width: 761px) and (max-height: 780px) {
  .plane { left: 24%; top: 22%; width: 50%; height: 38%; }
}

/* ---------- tablet ---------- */
@media (max-width: 1100px) and (min-width: 761px) {
  .rail { padding-top: 300px; }
  .step h3 { font-size: 34px; }
  .tag { font-size: 10.5px; letter-spacing: .12em; }
  .spec-list li { grid-template-columns: 88px minmax(0, 1fr) 30%; }
  .sheet-head { padding-left: 88px; }
  .sheet-head::after { left: 88px; }
}

/* ---------- phone: no sticky, no scroll binding, the collapse told by a glyph per step ---------- */
@media (max-width: 760px) {
  :root { --head: 64px; }
  .ground { height: 900px; }
  .ground::before { -webkit-mask-image: radial-gradient(90% 50% at 70% 52%, #000 10%, transparent 75%); mask-image: radial-gradient(90% 50% at 70% 52%, #000 10%, transparent 75%); }
  .move-grid { display: block; }
  .hero { padding-top: 40px; }
  .hero .eyebrow { margin-bottom: 20px; }
  .hero .eyebrow::before { width: 24px; }
  .hero h1 { font-size: clamp(46px, 13vw, 64px); line-height: .94; }
  .hero h1 .l2 { padding-left: .62em; }
  .hero .lede { font-size: 17px; margin: 26px 0 0 calc(clamp(46px, 13vw, 64px) * .62); }
  .rail { margin: 8px -16px 0 -8px; padding: 0; }
  .stage { position: relative; top: auto; height: auto; aspect-ratio: 1 / .86; perspective: 1100px; }
  .scene { transform: rotateX(10deg) rotateY(-14deg); }
  .plane { left: 18%; top: 24%; width: 62%; height: 48%; }
  .tag { font-size: 10px; letter-spacing: .11em; padding: 7px 9px 7px 8px; gap: 7px; }
  .tag-a { left: 8px; top: 8px; } .tag-b { right: 8px; bottom: 8px; }
  .reg-tr, .reg-br { right: 6%; }
  .timeline { padding: 56px 0 40px; }
  .timeline h2 { padding-left: 52px; margin-bottom: 44px; }
  .step { min-height: 0; padding: 0 0 56px 52px; }
  .step-num::before { left: -40px; width: 28px; }
  .step h3 { font-size: 32px; padding-right: 56px; }
  .step p { font-size: 17px; }
  .glyph { display: block; position: absolute; right: 0; top: 8px; width: 48px; height: 38px; }
  .glyph::before, .glyph::after {
    content: ""; position: absolute; left: 10px; top: 9px; width: 28px; height: 20px; border-radius: 4px;
    background: rgba(255, 255, 255, .7);
  }
  .glyph::before { box-shadow: inset 0 0 0 1.5px var(--c-cyan); transform: translate(calc(var(--k) * -2.5px), calc(var(--k) * -2px)); }
  .glyph::after { box-shadow: inset 0 0 0 1.5px var(--c-violet); transform: translate(calc(var(--k) * 2.5px), calc(var(--k) * 2px)); mix-blend-mode: multiply; }
  .step-last .glyph::before { background: linear-gradient(150deg, #fff, #E8ECF5); box-shadow: inset 0 0 0 1.5px var(--c-violet), 2px 2px 0 #D6DCE6, 3px 3px 0 #CCD2DF, 0 0 16px rgba(127, 214, 242, .5); }
  .step-last .glyph::after { opacity: 0; }
  .spec { padding: 24px 0 80px; }
  .sheet { margin-left: 0; }
  .crop { display: none; }
  .sheet-head { padding: 36px 20px 24px 20px; }
  .sheet-head::after { left: 20px; width: 120px; }
  .sheet-mark { width: 34px; height: 34px; }
  .spec-list li { grid-template-columns: 52px minmax(0, 1fr); min-height: 0; }
  .q { padding: 22px 18px; font-size: 24px; }
  .q-field { display: none; }
  .title-block { grid-template-columns: 1fr 56px 56px; height: 52px; }
  .tb-cells i:nth-child(n + 2) { display: none; }
  .join { padding: 24px 0 96px; }
  .join-grid { grid-template-columns: 1fr; gap: 32px; }
  .join-head h2 { font-size: clamp(42px, 11.5vw, 56px); }
  .solid { display: none; }
  .join-form { padding: 28px 20px 26px; }
  .f-grid { grid-template-columns: 1fr; gap: 20px; }
  .f-actions .btn { width: 100%; }
}
