/* /clients/start: family CLIENTS "Light", signature instrument ENTANGLEMENT.
   You and us as two discs of light. Our half is your half mirrored, and every state is one class
   on <main>, so the two sides change in the same frame: nothing travels between them. The page is the first tap: a
   short start on form[data-capture] (shell capture.js), then the booking step. Spectrum is light, never text colour. */
.cs { --pair-bleed: 56px; }
main { position: relative; display: block; overflow-x: clip; }
[data-q="1"] { --h: 244, 221, 181; --h2: 246, 226, 190; }
[data-q="2"] { --h: 244, 221, 181; --h2: 246, 226, 190; }
[data-q="3"] { --h: 244, 221, 181; --h2: 246, 226, 190; }
[data-q="4"] { --h: 244, 221, 181; --h2: 246, 226, 190; }

/* ---- the start: the pair on the left, held in view, the questions on the right ---- */
.start { position: relative; isolation: isolate; padding: 40px 0 72px; }
.start::before {
  content: ""; position: absolute; inset: -76px 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(34vw 30vw at 6% 14%, rgba(245, 196, 215, 0.12), transparent 70%),
    radial-gradient(30vw 26vw at 40% 34%, rgba(195, 237, 219, 0.11), transparent 70%),
    radial-gradient(38vw 26vw at 98% -2%, rgba(246, 226, 190, 0.16), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 80%); mask-image: linear-gradient(180deg, #000 30%, transparent 80%);
}
.start-grid { display: grid; grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); grid-template-rows: auto 1fr; column-gap: clamp(32px, 4.4vw, 72px); }
.start-copy { grid-column: 2; grid-row: 1; padding-top: 52px; }
.start-form { grid-column: 2; grid-row: 2; }
.pair-col { grid-column: 1; grid-row: 1 / span 2; }

.start-copy h1 { font: 400 clamp(50px, 5.5vw, 84px)/.98 var(--serif); letter-spacing: -.022em; margin: 0; }
.start-copy h1 .l { display: block; }
.start-copy h1 em { padding-left: .55em; }
.lede { font-size: 19px; line-height: 1.62; color: var(--ink-2); max-width: 27em; margin: 30px 0 0; }

/* ---- THE PAIR ---- */
.pair { position: sticky; top: max(92px, calc(50vh - 330px)); margin: 0 0 0 calc(-1 * var(--pair-bleed)); }
.pair-art { position: relative; }
.pl { display: block; width: 100%; height: auto; overflow: visible; }
/* each disc's edge: one ring of light (glow both sides, a white filament), never a hard outline */
.pl-r { fill: none; }
.pl-r1 { stroke-width: 24; opacity: .1; }
.pl-r2 { stroke-width: 10; opacity: .2; }
.pl-r3 { stroke-width: 3.6; opacity: .5; }
.pl-r4 { stroke: #FFFFFF; stroke-width: 1.3; opacity: .95; }
.pl-you .pl-r1, .pl-you .pl-r2 { stroke: #F5C4D7; }
.pl-you .pl-r3 { stroke: #E79FC4; }
.pl-adv .pl-r1, .pl-adv .pl-r2 { stroke: #C3EDDB; }
.pl-adv .pl-r3 { stroke: #92D9BC; }
/* the shared light: brighter with every answer */
.pl-lens { opacity: .86; transition: opacity 1.4s var(--ease); }
.pl-bloom { opacity: .55; transition: opacity 1.4s var(--ease); }
main[data-n="1"] .pl-lens { opacity: .9; } main[data-n="1"] .pl-bloom { opacity: .65; }
main[data-n="2"] .pl-lens { opacity: .93; } main[data-n="2"] .pl-bloom { opacity: .75; }
main[data-n="3"] .pl-lens { opacity: .96; } main[data-n="3"] .pl-bloom { opacity: .85; }
main[data-n="4"] .pl-lens, main.met .pl-lens { opacity: 1; }
main[data-n="4"] .pl-bloom, main.met .pl-bloom { opacity: 1; }

/* the comet on each disc: a white point with a short warm tail, mirrored on the advisor's side */
.pl-tail { fill: none; stroke-linecap: round; }
.pl-tail-1 { stroke-width: 2.2; opacity: .45; }
.pl-tail-2 { stroke-width: 3; opacity: .7; }
.pl-tail-3 { stroke-width: 3.4; stroke: #FFFFFF; opacity: .95; }
.pl-you .pl-tail-1, .pl-you .pl-tail-2 { stroke: #E79FC4; }
.pl-adv .pl-tail-1, .pl-adv .pl-tail-2 { stroke: #92D9BC; }
.pl-comet { fill: #FFFFFF; }

/* marks: one bead per question, the same bead on both discs (one class on <main> lights both). At rest every bead
   is already there and softly lit on both rims, so a still frame shows the mirror; an answer brings it to full light. */
.mk-dot { fill: #FFFFFF; opacity: .95; transform-box: fill-box; transform-origin: center; transition: opacity .5s var(--ease); }
.mk-glow { opacity: .72; transform-box: fill-box; transform-origin: center; transform: scale(.66); transition: opacity .9s var(--ease), transform 1.1s cubic-bezier(.3, 1.7, .4, 1); }
main.q1 .mk1 .mk-glow, main.q2 .mk2 .mk-glow, main.q3 .mk3 .mk-glow, main.q4 .mk4 .mk-glow { opacity: 1; transform: scale(1); }
main.q1 .mk1 .mk-dot, main.q2 .mk2 .mk-dot, main.q3 .mk3 .mk-dot, main.q4 .mk4 .mk-dot { opacity: 1; }

/* the lens holds the answers: one socket per question on the mirror axis (in both discs at once). An empty socket is
   a fine warm ring; an answered one lights in its question's colour, so a still frame shows what was chosen. */
.ax-ring { fill: none; stroke: #D3AE72; stroke-width: 1.1; opacity: .62; transition: opacity .6s var(--ease); }
.ax-dot { fill: #FFFFFF; opacity: 0; transition: opacity .5s var(--ease); }
.ax-glow { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); transition: opacity .9s var(--ease), transform 1.1s cubic-bezier(.3, 1.7, .4, 1); }
main.q1 .ax1 .ax-glow, main.q2 .ax2 .ax-glow, main.q3 .ax3 .ax-glow, main.q4 .ax4 .ax-glow { opacity: 1; transform: scale(1); }
main.q1 .ax1 .ax-dot, main.q2 .ax2 .ax-dot, main.q3 .ax3 .ax-dot, main.q4 .ax4 .ax-dot { opacity: 1; }
main.q1 .ax1 .ax-ring, main.q2 .ax2 .ax-ring, main.q3 .ax3 .ax-ring, main.q4 .ax4 .ax-ring { opacity: 0; }

/* the crossings, where the two comets meet: at rest the pair waits at the top one */
.pl-flare-c { transform-box: fill-box; transform-origin: center; }
.pl-flare-top { opacity: .62; }
main.met .pl-flare-top { opacity: .95; }
.pl-flare-bot { opacity: .38; }
main.cs-live .pl-flare { opacity: .42; }
main.cs-live.met .pl-flare-top { opacity: 1; }

.pair-names { position: relative; height: 40px; margin-top: 4px; }
.pn { position: absolute; top: 0; transform: translateX(-50%); font: italic 400 clamp(26px, 2.2vw, 34px)/1 var(--serif); color: var(--ink); white-space: nowrap; }
.pn::before { content: ""; display: inline-block; width: 9px; height: 9px; margin: 0 10px 0 0; vertical-align: .22em; border-radius: 50%; }
.pn-you { left: 31.2%; }
.pn-adv { left: 68.8%; }
.pn-you::before { background: radial-gradient(circle, #fff 0 25%, #F5C4D7 60%); box-shadow: 0 0 10px 3px rgba(245, 196, 215, 0.5); }
.pn-adv::before { background: radial-gradient(circle, #fff 0 25%, #C3EDDB 60%); box-shadow: 0 0 10px 3px rgba(174, 228, 205, 0.54); }

.reads { display: block; margin: 26px 0 0 var(--pair-bleed); max-width: 31em; }
.reads-h { display: block; font: 600 12px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 10px; }
.reads-static { display: none; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
html:not(.js) .reads-static { display: block; }
html:not(.js) .reads-list { display: none; }
.reads-list { margin: 0; }
.reads-list div { display: grid; grid-template-columns: 9.6em minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); }
.reads-list dt { font-size: 14px; color: var(--ink-3); }
.reads-list dd { margin: 0; font: italic 400 19px/1.3 var(--serif); color: var(--ink-3); transition: color .6s; }
.reads-list dd.is-set { font-style: normal; color: var(--ink); }

/* ---- the questions ---- */
.start-form { padding-top: 18px; }
/* a legend sits in the fieldset border, so the space between questions is margin, never padding */
.q { border: 0; margin: 50px 0 0; padding: 0; min-width: 0; }
.q:first-of-type { margin-top: 44px; }
.q legend { padding: 0; font: 400 clamp(30px, 2.6vw, 40px)/1.12 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.bead {
  display: inline-block; width: 12px; height: 12px; margin: 0 14px 0 0; vertical-align: .3em; border-radius: 50%;
  background: var(--pearl); box-shadow: inset 0 0 0 1.2px rgba(29, 33, 38, .4);
  transition: background .6s var(--ease), box-shadow .8s var(--ease), transform .9s cubic-bezier(.3, 1.7, .4, 1);
}
main.q1 [data-q="1"] .bead, main.q2 [data-q="2"] .bead, main.q3 [data-q="3"] .bead, main.q4 [data-q="4"] .bead {
  background: radial-gradient(circle, #fff 0 28%, rgba(var(--h2), 1) 62%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .9), 0 0 16px 5px rgba(var(--h2), .65); transform: scale(1.15);
}
.hint { margin: 10px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-3); }
.hint a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: rgba(29, 33, 38, .45); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.chip span {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .58); box-shadow: inset 0 0 0 1px rgba(29, 33, 38, .2);
  font: 500 16px/1.2 var(--sans); color: var(--ink);
  transition: background .3s, box-shadow .6s var(--ease);
}
.chip span::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.2px rgba(29, 33, 38, .42); transition: background .4s, box-shadow .6s var(--ease); }
.chip:hover span { background: rgba(255, 255, 255, .92); }
.chip input:checked + span { background: #FFFFFF; box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 5px rgba(var(--h2), .3), 0 12px 26px -16px rgba(29, 33, 38, .55); }
.chip input:checked + span::before { background: radial-gradient(circle, #fff 0 25%, rgba(var(--h2), 1) 62%); box-shadow: 0 0 10px 3px rgba(var(--h2), .85); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }

.fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px 30px; margin-top: 26px; }
.field label { display: block; font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 4px; }
.field input, .field select {
  display: block; width: 100%; min-height: 52px; padding: 8px 2px; margin: 0;
  border: 0; border-bottom: 1.5px solid rgba(29, 33, 38, .42); border-radius: 0; background: transparent;
  font: 400 24px/1.2 var(--serif); color: var(--ink); -webkit-appearance: none; appearance: none;
  transition: border-color .3s, box-shadow .5s var(--ease);
}
.field select {
  padding-right: 30px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 13px) 55%, calc(100% - 7px) 55%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.field input:focus, .field select:focus { border-bottom-color: var(--ink); box-shadow: 0 1.5px 0 0 var(--ink), 0 16px 18px -16px rgba(244, 221, 181, 0.68); }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 6px; }

/* the inline echo (single-column layouts, where the pair is not beside the question) */
.echo { display: none; margin: 16px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); align-items: center; gap: 10px; }
.echo span[data-echo] { font: 400 18px/1.3 var(--serif); color: var(--ink); }
.echo-pair { position: relative; flex: none; width: 26px; height: 16px; }
.echo-pair::before, .echo-pair::after { content: ""; position: absolute; top: 1px; width: 14px; height: 14px; border-radius: 50%; }
.echo-pair::before { left: 1px; background: radial-gradient(circle, rgba(255, 255, 255, .9) 0 20%, rgba(245, 196, 215, 0.54) 70%, rgba(245, 196, 215, 0.14)); }
.echo-pair::after { right: 1px; background: radial-gradient(circle, rgba(255, 255, 255, .9) 0 20%, rgba(195, 237, 219, 0.58) 70%, rgba(195, 237, 219, 0.14)); mix-blend-mode: multiply; }

.f-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 48px; }
.f-actions .btn { min-height: 52px; padding: 0 30px; font-size: 16px; }
.f-actions .btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.progress { margin: 0; font: 500 14px/1.2 var(--sans); color: var(--ink-3); }
html:not(.js) .progress { display: none; }
.form-msg { margin: 18px 0 0; font: 500 15px/1.4 var(--sans); color: var(--ink); }
.form-msg:empty { display: none; }
.form-msg:not(:empty) { display: inline-block; padding: 10px 16px; background: rgba(255, 255, 255, .92); border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(29, 33, 38, .16), 0 0 0 5px rgba(246, 226, 190, 0.16); }
.fineprint { margin: 16px 0 0; font-size: 13.5px; color: var(--ink-3); }

/* ---- the booking step: the hand-off to a booking calendar ---- */
.book { position: relative; padding: 140px 0 40px; text-align: center; scroll-margin-top: 64px; }
.book-in { position: relative; isolation: isolate; }
.book-lens {
  position: absolute; left: 50%; top: 58%; z-index: -1; width: min(1100px, 120vw); height: 700px; transform: translate(-50%, -50%); pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(255, 252, 245, .95), rgba(246, 226, 190, 0.24) 38%, rgba(245, 196, 215, 0.09) 64%, transparent),
    radial-gradient(30% 50% at 34% 50%, rgba(245, 196, 215, 0.1), transparent),
    radial-gradient(30% 50% at 66% 50%, rgba(195, 237, 219, 0.12), transparent);
  opacity: .6; transition: opacity 1.8s var(--ease);
}
.book.is-open .book-lens, html:not(.js) .book-lens { opacity: 1; }
.book h2 { font: 400 clamp(50px, 6.6vw, 108px)/.98 var(--serif); letter-spacing: -.022em; margin: 0 auto 22px; }
.book h2:focus { outline: none; }
.book-done { margin: 18px auto 0; font: 500 15px/1.4 var(--sans); color: var(--ink); }
.book-done:empty { display: none; }
/* the hand-off: who the first call is with, on a line of warm light (the lens colour: the conversation) */
.handoff { margin: 64px auto 0; }
.ho-glyph { display: block; width: 66px; height: 38px; margin: 0 auto 26px; overflow: visible; }
.ho-you { fill: rgba(245, 196, 215, 0.22); stroke: #E79FC4; stroke-opacity: .75; stroke-width: 1.2; }
.ho-us { fill: rgba(195, 237, 219, 0.23); stroke: #92D9BC; stroke-opacity: .8; stroke-width: 1.2; }
.ho-lens { fill: #F9EBCF; }
.ho-line { margin: 0; font: 400 clamp(36px, 3.7vw, 56px)/1.08 var(--serif); letter-spacing: -.012em; color: var(--ink); }
.ho-line em { font-style: italic; }
.ho-line::after {
  content: ""; display: block; width: min(460px, 72%); height: 2px; margin: 24px auto 0; border-radius: 2px;
  background: linear-gradient(90deg, rgba(246, 226, 190, 0), rgba(246, 226, 190, 0.68) 26%, #FFFFFF 50%, rgba(246, 226, 190, 0.68) 74%, rgba(246, 226, 190, 0));
  box-shadow: 0 0 14px 1px rgba(246, 226, 190, 0.4); transition: box-shadow 1.4s var(--ease);
}
.book.is-open .ho-line::after { box-shadow: 0 0 24px 4px rgba(246, 226, 190, 0.61); }
.ho-cta { margin: 30px auto 0; }
.ho-cta .btn { min-height: 52px; padding: 0 30px; font-size: 16px; }
.ho-next { margin: 14px auto 0; font-size: 15px; line-height: 1.6; color: var(--ink-3); }

/* ---- before you talk ---- */
.before { padding: 96px 0 112px; }
.before-in { max-width: 41em; margin: 0 auto; text-align: center; }
.before h2 { font: 400 clamp(34px, 3.4vw, 50px)/1.05 var(--serif); letter-spacing: -.012em; margin: 0 0 16px; }
.before p { font-size: 17px; line-height: 1.62; color: var(--ink-2); margin: 0; }
.before-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 30px; margin-top: 18px !important; }
.text-link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 4px; font: 500 15px/1 var(--sans); color: var(--ink); text-decoration: underline; text-decoration-color: rgba(29, 33, 38, .4); text-underline-offset: 6px; }
.text-link:hover { text-decoration-color: currentColor; }

/* ---- one column: the pair sits above the questions; each answer echoes inline ---- */
@media (max-width: 1020px) {
  .start-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .start-copy, .pair-col, .start-form { grid-column: 1; grid-row: auto; }
  .start-copy { padding-top: 36px; }
  .start-copy h1 { font-size: clamp(50px, 8.4vw, 84px); }
  .pair { position: relative; top: auto; margin: 26px auto 0; max-width: 640px; }
  .reads { display: none; }
  .echo { display: flex; }
  .echo[hidden] { display: none; }
  .start-form { padding-top: 0; }
}
@media (max-width: 760px) {
  .start { padding: 16px 0 56px; }
  .start-copy { padding-top: 26px; }
  .start-copy h1 { font-size: clamp(44px, 12.4vw, 60px); line-height: 1; }
  .start-copy h1 em { padding-left: 0; }
  .lede { font-size: 17.5px; margin-top: 22px; }
  .pair { margin: 18px -16px 0; max-width: none; }
  .pair-names { height: 34px; margin-top: 0; }
  .pn { font-size: 24px; }
  .pn::before { width: 8px; height: 8px; margin-right: 8px; }
  .q { margin-top: 42px; }
  .q legend { font-size: clamp(27px, 7.6vw, 32px); }
  .bead { margin-right: 10px; width: 10px; height: 10px; }
  .chip span { font-size: 15.5px; padding: 0 16px 0 14px; }
  .fields { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .field input, .field select { font-size: 22px; }
  .f-actions { margin-top: 40px; }
  .f-actions .btn { width: 100%; }
  .book { padding: 96px 0 24px; text-align: left; }
  .book h2 { font-size: clamp(46px, 12.6vw, 60px); margin-left: 0; }
  .book-done { margin-left: 0; }
  .book-lens { top: 50%; width: 760px; height: 900px; }
  .handoff { margin-top: 44px; }
  .ho-glyph { margin-left: 0; margin-bottom: 20px; }
  .ho-line { font-size: clamp(32px, 9vw, 40px); }
  .ho-line::after { margin-left: 0; width: 78%; }
  .ho-next { margin-left: 0; font-size: 17.5px; }
  .book-note { margin-left: 0; }
  .before { padding: 72px 0 84px; }
  .before-in { text-align: left; }
  .before-links { justify-content: flex-start; }
}
