/* scenes/intake.css (W11, spec 2.14). Prefix: .ix*. The intake is one viewport on the ink world: the question on the left,
   the system you are describing on the right. Every answer adds order to that picture. Animation exists only under
   html.js:not(.static); without JavaScript or under reduced motion the composed frame is the picture and every control
   still works. Vermilion marks the choice you made, the gate and the one call to action. D2 and D3 of addendum v1.3: the picture
   is dots only (no paper), and no stripes: every vermilion edge is a solid rule. */

#intake { --mut: rgb(241 236 224 / .86); --ix-pt: clamp(16px, 2.2vw, 36px); padding-block: var(--ix-pt) clamp(24px, 3vw, 48px); min-height: calc(100svh - 4.5rem); }
/* The fixed picture would paint over the footer's text when the page scrolls: the footer rises above it. */
.site-footer { position: relative; z-index: 4; background: var(--ink); }
.ix { position: relative; display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); grid-template-areas: "copy plate" "report report"; column-gap: 0; align-items: start; }
.ix__copy { grid-area: copy; padding-right: clamp(16px, 3vw, 48px); max-width: 44rem; }
.ix__plate { grid-area: plate; position: relative; margin-right: calc(var(--gutter) * -1); }
.ix__report { grid-area: report; }
/* The wrapper only matters on a phone, where it is the scroller under the stage band; elsewhere its children are the grid's. */
.ix__sheet { display: contents; }

#intake .ix__copy h1 { font-size: clamp(1.9rem, 2.9vw, 3rem); margin-bottom: .8rem; }
.ix__copy .label { margin-bottom: .8rem; }
.ix__lede { font-size: clamp(1rem, 1.1vw, 1.15rem); max-width: 62ch; }
.ix__disclaimer { margin-top: .6rem; max-width: 62ch; color: var(--fg); font-size: .92rem; line-height: 1.45; }
.ix__nojs { margin-top: 1.4rem; padding: .8rem 1rem; border-left: 4px solid var(--signal); background: var(--ink-2); }

/* Intro folds away after the first answer so the question and its options always fit. */
.ix__intro { display: grid; grid-template-rows: 1fr; }
.ix__intro-in { min-height: 0; overflow: hidden; }
.ix__intro.is-collapsed { grid-template-rows: 0fr; }
.ix__intro.is-collapsed .ix__intro-in { visibility: hidden; }
html.js:not(.static) .ix__intro { transition: grid-template-rows .45s cubic-bezier(.77, 0, .175, 1); }

/* The picture's plate: the composed frame (the whole system, ordered), always visible. */
.ix__plate .composed { border-bottom: 1px solid var(--line); }

/* ---- progress: a readout and six named pips (indicators) ---- */
.ix__app { margin-top: .8rem; }
.ix-progress { display: grid; gap: .45rem; margin-bottom: .8rem; }
.ix-progress__label { display: flex; align-items: baseline; gap: .8rem; margin: 0; font-family: var(--font-mono); font-size: var(--t-data); letter-spacing: .12em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.ix-progress__count { font-size: 1.15rem; font-weight: 600; letter-spacing: .06em; color: var(--fg); }
.ix-progress__name { color: var(--mut); }
.ix-pips { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.ix-pip { display: grid; gap: .35rem; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); min-width: 0; }
.ix-pip i { display: block; height: 4px; background: var(--line); transform-origin: left center; }
.ix-pip.is-done i { background: var(--fg); }
.ix-pip.is-now i { background: var(--signal); }
.ix-pip.is-now { color: var(--fg); }
.ix-pip span { overflow: hidden; text-overflow: clip; white-space: nowrap; }
html.js:not(.static) .ix-pip i { transition: background-color .3s linear, transform .5s cubic-bezier(.7, 0, .2, 1); }
html.js:not(.static) .ix-pip.is-now i { animation: ix-pip-in .55s cubic-bezier(.7, 0, .2, 1) both; }
@keyframes ix-pip-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---- the question card ---- */
.ix-card-stage { position: relative; }
.ix-choices { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: .4rem; }
.ix-choices legend { padding: 0; float: left; width: 100%; margin-bottom: .35rem; }
.ix-choices legend:focus { outline: none; }
.ix-choices legend:focus-visible { outline: 2px solid var(--signal); outline-offset: 6px; }
.ix-choices legend h2 { font-size: clamp(1.25rem, 1.7vw, 1.75rem); line-height: 1.08; letter-spacing: -.025em; }
.ix-sub { clear: both; margin: 0 0 .4rem; color: var(--mut); font-size: .9rem; }

/* Option slabs: a solid vermilion left rule, chamfered. Choosing one inverts it to vermilion with a wipe from where you touched it. */
.ix-choice { position: relative; display: block; cursor: pointer; isolation: isolate; }
.ix-choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
.ix-choice:has(input:focus-visible) { outline: 2px solid var(--signal); outline-offset: 3px; }
.ix-choice__box {
  position: relative; display: grid; gap: .1rem; overflow: hidden;
  padding: .5rem 1rem .5rem 1.45rem;
  border: 1px solid var(--line); background: var(--ink-2);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.ix-choice__box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--signal); z-index: 1; }
.ix-choice__box > * { position: relative; z-index: 1; }
.ix-choice__box strong { font-size: 1rem; font-weight: 600; line-height: 1.2; }
.ix-choice__d { font-size: .86rem; line-height: 1.3; color: color-mix(in srgb, var(--fg) 82%, var(--bg)); }
.ix-choice__wipe { position: absolute !important; inset: 0; z-index: 0 !important; background: var(--signal); clip-path: circle(0 at var(--px, 12%) var(--py, 50%)); }
.ix-choice input:checked + .ix-choice__box { color: var(--on-signal); border-color: var(--signal); }
.ix-choice input:checked + .ix-choice__box .ix-choice__d { color: rgb(11 12 15 / .78); }
.ix-choice input:checked + .ix-choice__box::before { background: var(--ink); }
.ix-choice input:checked + .ix-choice__box .ix-choice__wipe { clip-path: circle(160% at var(--px, 12%) var(--py, 50%)); }
html.js:not(.static) .ix-choice__wipe { transition: clip-path .36s cubic-bezier(.7, 0, .2, 1); }
html.js:not(.static) .ix-choice__box { transition: color .2s linear .12s, border-color .2s linear, transform .25s cubic-bezier(.2, 0, .1, 1); }
@media (hover: hover) and (pointer: fine) {
  .ix-choice:hover .ix-choice__box { border-color: var(--fg); }
  html.js:not(.static) .ix-choice:hover .ix-choice__box { transform: translateX(5px); }
}
.ix-scan { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--signal); pointer-events: none; z-index: 3; }

.ix-link { padding: .3rem 0; border: 0; background: none; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: .28em; text-decoration-thickness: 1px; color: var(--fg); cursor: pointer; }
.ix-link:hover { text-decoration-thickness: 2px; }
.ix-undo { margin-top: .8rem; display: flex; align-items: center; gap: .6rem; font-family: var(--font-mono); font-size: var(--t-data); letter-spacing: .1em; text-transform: uppercase; }
.ix-undo[hidden] { display: none; }

/* Back and Next: Next stays focusable when it cannot act and says why. */
.step-nav { position: sticky; bottom: 0; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: .9rem; padding: .7rem 0 .9rem; background: var(--bg); border-top: 1px solid var(--line); }
.step-nav .btn { min-height: 46px; padding-block: .8em; }
.step-nav .btn:disabled { opacity: .35; cursor: default; pointer-events: none; }
.step-nav .btn.primary { margin-left: auto; }
.step-nav .btn.primary[aria-disabled="true"], .step-nav .btn.primary[aria-disabled="true"]:hover { background: transparent; border: 1px dashed var(--line); color: var(--mut); cursor: not-allowed; }
.ix-hint { order: 3; flex-basis: 100%; margin: 0; font-size: .92rem; color: var(--mut); }
.ix-hint[hidden] { display: none; }
.ix-hint.is-alert { color: var(--fg); font-weight: 600; }

/* ---- the result: a sheet that rises over the picture ---- */
.ix.is-result .ix__app { display: none; }
.ix__report { position: relative; z-index: 3; margin-inline: calc(var(--gutter) * -1); padding: calc(var(--seam) + 1.5rem) var(--gutter) 4.5rem; background: var(--ink-2); color: var(--fg); }
.ix__report[hidden] { display: none; }
.ix__report { clip-path: polygon(0 var(--seam), 100% 0, 100% 100%, 0 100%); }
.ix__report > * { max-width: 70rem; }
#report-title { font-size: clamp(1.8rem, 3.6vw, 3.4rem); margin-bottom: 1.6rem; }
#report-title:focus { outline: none; }
.ix-note { max-width: 62ch; margin-bottom: 1.6rem; padding: .7rem 1rem; border-left: 3px solid var(--signal); font-size: .98rem; }
.ix-h2 { font-size: clamp(1.4rem, 2.2vw, 2.1rem); margin: 2.4rem 0 1rem; }
.ix-answers h2 { font-size: clamp(1.4rem, 2.2vw, 2.1rem); margin: 2.4rem 0 .5rem; }
.ix-small { font-size: .9rem; color: var(--mut); max-width: 62ch; }
.ix-card { display: grid; gap: .65rem; align-content: start; padding: 1.2rem 1.35rem 1.35rem; border: 1px solid var(--line); background: var(--ink-3); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
.ix-card h3 { font-size: clamp(1.15rem, 1.7vw, 1.6rem); }
.ix-card h4 { font-family: var(--font-mono); font-size: var(--t-data); letter-spacing: .12em; text-transform: uppercase; color: var(--mut); margin-top: .5rem; }
.ix-card--lead { border-color: var(--fg); background: var(--ink-3); max-width: 52rem; }
.ix-card--lead::before { content: ""; height: 3px; margin: -1.2rem -1.35rem .2rem; background: var(--signal); }
.ix-alts, .ix-paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.ix-needs { display: grid; gap: .45rem; max-width: 52rem; padding-left: 1.2rem; list-style: square; }
.ix-needs li::marker { color: var(--signal); }
.ix-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.chip { padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; font: inherit; font-size: .9rem; color: var(--fg); cursor: pointer; text-align: left; }
.chip:hover { background: var(--fg); color: var(--bg); }
.ix__continue { margin-top: 3rem; }
.ix__continue h2 { font-size: clamp(1.4rem, 2.2vw, 2.1rem); margin-bottom: 1.1rem; }
.ix-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .8rem 1.2rem; margin-top: 1.6rem; }
.ix-act { display: grid; gap: .4rem; justify-items: start; }
.ix-act .ix-small { margin: 0; }
.ix-restart { padding-inline: 0; border-color: transparent; text-decoration: underline; text-underline-offset: .28em; text-decoration-thickness: 1px; }

/* Dot-bar meters: a band, never a measurement. */
.ix-meters { display: grid; gap: .7rem; margin: .3rem 0; }
.ix-meter { display: grid; grid-template-columns: minmax(0, 11rem) 1fr; align-items: center; gap: .3rem 1rem; }
.ix-meter dt { font-family: var(--font-mono); font-size: var(--t-data); letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }
.ix-meter dd { margin: 0; display: flex; align-items: center; gap: .8rem; }
.ix-meter__word { min-width: 4.2rem; font-weight: 600; }
.ix-meter__dots { display: flex; gap: 4px; }
.ix-meter__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.ix-meter__dots i.on { background: var(--fg); }
html.js:not(.static) .ix-meter__dots i { transform: scale(0); }
html.js:not(.static) .ix-card:not(.rise) .ix-meter__dots i, html.js:not(.static) .ix-card.is-in .ix-meter__dots i { animation: ix-dot .4s cubic-bezier(.2, 0, .1, 1) both; animation-delay: calc(var(--i, 0) * 38ms + var(--d, 0ms) + .45s); }
@keyframes ix-dot { from { transform: scale(0); } to { transform: scale(1); } }

/* The report rises as it is seen: every block waits hidden until it scrolls into view (intake.mjs adds .rise, then .is-in), then rises
   through a clip. Blocks that arrive together stagger through --d. Without JavaScript, motion or IntersectionObserver nothing is hidden. */
html.js:not(.static) .ix__report .rise:not(.is-in) { opacity: 0; }
html.js:not(.static) .ix__report .rise.is-in { animation: ix-rise .8s cubic-bezier(.77, 0, .175, 1) backwards; animation-delay: var(--d, 0ms); }
html.js:not(.static) .ix__report .ix-card.rise.is-in { animation-name: ix-rise-card; }
html.js:not(.static) .ix__report .ix-needs li.rise.is-in { animation-name: ix-rise-soft; }
@keyframes ix-rise { from { opacity: 0; transform: translateY(28px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes ix-rise-card { from { opacity: 0; transform: translateY(28px); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 0, 100% 0, 0 0); } to { opacity: 1; transform: none; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); } }
@keyframes ix-rise-soft { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
html.js:not(.static) .ix-card--lead.is-in::before { transform-origin: left center; animation: ix-rule .9s cubic-bezier(.77, 0, .175, 1) backwards; animation-delay: calc(var(--d, 0ms) + .25s); }
@keyframes ix-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
html.js:not(.static) .ix-answers.is-in .chip { animation: ix-chip .5s cubic-bezier(.2, 0, .1, 1) backwards; animation-delay: calc(var(--d, 0ms) + .3s + var(--c, 0) * 60ms); }
@keyframes ix-chip { from { opacity: 0; transform: translateY(12px) scale(.9); } to { opacity: 1; transform: none; } }

/* ---- the live picture (built by the scene) ---- */
.ix-plate, .ix-mini { position: fixed; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.ix-plate { z-index: -1; color: var(--on-ink); overflow: visible; }
.ix-mini { z-index: -1; }
.ix-plate text { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; fill: color-mix(in srgb, var(--on-ink) 82%, transparent); paint-order: stroke fill; stroke: var(--ink); stroke-width: 9px; stroke-linejoin: round; text-decoration: none; }
/* The words live above the swarm canvas on their own ground, so no dot ever strikes through a label. */
.ix-plate--text { z-index: 4; }
.ix-plate--text text { fill: var(--on-ink); font-size: 11px; stroke-width: 18px; }
/* Backing plates: solid ground under every word of the picture, so no swarm dot sits behind a label (D12). */
.ix-plate .ix-plate-bg { fill: var(--ink); fill-opacity: .94; stroke: var(--on-ink); stroke-opacity: .1; stroke-width: 1; }
.ix-plate .ix-scrim { fill-opacity: .88; }
/* The thick ink halo is a backing plate: letters and the gaps between them sit on solid ground, so a swarm dot can never strike through a label. */
.ix-plate .ix-cap { fill: var(--on-ink); stroke-width: 22px; text-transform: uppercase; letter-spacing: .12em; }
.ix-plate .ix-label { text-transform: none; }
.ix-plate .ix-ring-burst { fill: none; stroke: var(--signal); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ix-burst .95s cubic-bezier(.2, 0, .1, 1) forwards; }
@keyframes ix-burst { from { transform: scale(.1); opacity: 1; } to { transform: scale(1); opacity: 0; } }
.ix-plate .ix-lane { animation: ix-flow calc(.5s / var(--ix-speed, 1)) linear infinite; }
.ix-plate.is-calm .ix-lane { animation-play-state: paused; }
@keyframes ix-flow { to { stroke-dashoffset: -11; } }
.ix-plate .ix-head { fill: var(--signal); }
.ix-plate g.is-calm .ix-head { fill: var(--on-ink); }
.ix-plate .ix-pulse { fill: none; stroke: var(--signal); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ix-pulse .8s ease-out forwards; }
@keyframes ix-pulse { from { transform: scale(.7); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
/* With the GL swarm drawing, the overlay keeps only the structure: the swarm supplies lane dashes, packets and the mess. */
html.fx-ready:not(.gl-fail) .ix-plate .ix-lane, html.fx-ready:not(.gl-fail) .ix-plate .ix-packet, html.fx-ready:not(.gl-fail) .ix-plate .ix-problem, html.fx-ready:not(.gl-fail) .ix-mini { display: none; }
html.fx-ready:not(.gl-fail) .ix-plate .ix-sys { opacity: .6; }
/* A live picture replaces the composed frame; if the runtime fails the frame returns. */
.ix.ix-live .composed { opacity: 0; visibility: hidden; }
html.fx-fail .ix-plate, html.fx-fail .ix-mini { display: none; }
.ix.ix-away .ix-plate, .ix.ix-away .ix-mini { visibility: hidden; }
html.fx-fail .ix.ix-live .composed { opacity: 1; visibility: visible; }

/* ---- the recommendation preview: a desktop strip under the pill, in the stroke language (no paper, no controls, nothing stored) ----
   One node per answered step on a rail, one line into it, then the frame of the first workflow: a dashed ghost until the result, solid after. */
.ix-rec .ix-rec-line { fill: none; stroke: var(--on-ink); stroke-width: 1.25; stroke-linecap: square; }
.ix-rec .ix-rec-ghost { fill: none; stroke: var(--on-ink-dim); stroke-width: 1; stroke-dasharray: 3 4; }
.ix-rec .ix-rec-node { fill: var(--ink); stroke: var(--on-ink-dim); stroke-width: 1; }
.ix-rec .ix-rec-node.is-on { fill: var(--on-ink); stroke: var(--on-ink); }
.ix-rec .ix-rec-now { fill: none; stroke: var(--signal); stroke-width: 1.5; }
.ix-rec .ix-rec-box { fill: none; stroke: var(--on-ink); stroke-width: 1.25; }
.ix-rec .ix-rec-person { fill: var(--on-ink-dim); }
.ix-rec .ix-rec-mark { fill: var(--signal); }
.ix-rec .ix-rec-q { fill: none; stroke: var(--signal); stroke-width: 1.6; stroke-linecap: round; }
.ix-rec .ix-rec-rule { fill: none; stroke: var(--signal); stroke-width: 2.2; }
.ix-plate .ix-rec-step { fill: color-mix(in srgb, var(--on-ink) 82%, transparent); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.ix-plate .ix-rec-ans { fill: var(--on-ink); font-size: 11px; text-transform: none; letter-spacing: .02em; }

/* ---- cinematic desktop: the plate is a sticky 100svh column the picture lives in; on the result the report reads beside it ---- */
@media (min-width: 901px) {
  html.js:not(.fx-fail):not(.static) .ix__plate { position: sticky; top: 0; height: 100svh; margin-top: calc(var(--ix-pt) * -1); align-self: start; }
  /* The left column is a solid ink panel: the swarm lives on the right half only, so no dot or bar ever crosses a question, an option or a line of the report. */
  html.js:not(.fx-fail):not(.static) .ix__copy, html.js:not(.fx-fail):not(.static) .ix__report { position: relative; isolation: isolate; }
  html.js:not(.fx-fail):not(.static) .ix__copy { align-self: stretch; }
  html.js:not(.fx-fail):not(.static) .ix__copy::before, html.js:not(.fx-fail):not(.static) .ix.is-result .ix__report::before { content: ""; position: absolute; z-index: -1; inset: calc(var(--ix-pt) * -1) 0 0 calc(var(--gutter) * -1); background: var(--bg); border-right: 1px solid var(--line); pointer-events: none; }
  html.js:not(.fx-fail):not(.static) .ix.is-result .ix__report::before { inset: 0 0 0 calc(var(--gutter) * -1); }
  html.js:not(.fx-fail):not(.static) .ix.is-result { grid-template-areas: "copy plate" "report plate"; }
  html.js:not(.fx-fail):not(.static) .ix.is-result .ix__report { margin-inline: 0; padding: .4rem clamp(16px, 3vw, 48px) 4.5rem 0; background: none; clip-path: none; max-width: 44rem; }
  html.js:not(.fx-fail):not(.static) .ix.is-result .ix__report > * { max-width: none; }
  .ix-pip span { display: block; }
}

/* ---- phone: the stage band stays on screen, the question and the report scroll in their own sheet under it ----
   The picture is the progress bar, so it must never be covered: the page does not scroll while answering. The band's
   height and the header offset are variables the scene re-measures (the stub chrome sits in the flow, the real one floats). */
@media (max-width: 900px) {
  #intake { padding-block: 1.2rem 2rem; }
  .ix { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "plate" "report"; }
  .ix__plate { margin-right: 0; }
  #intake .ix__copy h1 { font-size: clamp(1.4rem, 6vw, 2rem); margin-bottom: .4rem; }
  .ix__copy .label { margin-bottom: .45rem; }
  .ix__lede { font-size: .92rem; }
  .ix__disclaimer { margin-top: .4rem; font-size: .78rem; }
  .ix.is-result .ix__disclaimer { display: none; }
  .ix__copy { max-width: none; padding-right: 0; }
  .ix__app { margin-top: .6rem; }
  .ix-pip span { display: none; }
  .ix-progress { margin-bottom: .55rem; }
  .step-nav { position: sticky; bottom: 0; z-index: 4; display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: .4rem .8rem; margin: .9rem calc(var(--gutter) * -1) 0; padding: .45rem var(--gutter) calc(.45rem + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 1px solid var(--line); }
  .ix-hint { grid-column: 1 / -1; order: 0; text-align: center; font-size: .82rem; line-height: 1.2; }
  .step-nav .btn { min-height: 44px; padding-block: .6em; }
  .step-nav .btn.primary { width: 100%; min-width: 0; margin-left: 0; padding-inline: .7rem; white-space: normal; text-align: center; line-height: 1.1; justify-content: center; }
  .ix-choice__box { padding: .46rem .9rem .46rem 1.3rem; }
  .ix-choice__d { font-size: .8rem; }
  .ix-choices legend h2 { font-size: clamp(1.15rem, 5vw, 1.4rem); }
  .ix-meter { grid-template-columns: 1fr; }

  /* the tilted footer rises over the section's bottom edge by about two seams: leave that much room so it never covers Next */
  html.js:not(.fx-fail):not(.static) #intake { padding-block: 0 calc(2 * var(--seam, 4vw)); min-height: 0; }
  html.js:not(.fx-fail):not(.static) .ix {
    --ix-band: clamp(108px, 24svh, 230px);
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "plate" "sheet";
    height: calc(100svh - var(--ix-off, 0px)); align-items: stretch;
  }
  html.js:not(.fx-fail):not(.static) .ix__plate { height: calc(var(--ix-pad, 72px) + var(--ix-band)); min-height: 0; margin: 0; }
  html.js:not(.fx-fail):not(.static) .ix__plate .composed { height: 100%; width: 100%; object-fit: cover; object-position: 50% 50%; }
  html.js:not(.fx-fail):not(.static) .ix__sheet {
    display: block; grid-area: sheet; min-height: 0; overflow-x: clip; overflow-y: auto; overscroll-behavior: contain; position: relative; z-index: 4;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); background: var(--bg); border-top: 1px solid var(--line);
    clip-path: polygon(0 var(--seam), 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--seam) + .25rem);
  }
  html.js:not(.fx-fail):not(.static) .ix__copy { grid-area: auto; padding: 0; display: flex; flex-direction: column; }
  /* the disclaimer sits after the question so the first option shares the screen with the picture */
  html.js:not(.fx-fail):not(.static) .ix__copy > .ix__disclaimer { order: 5; margin-top: 1rem; }
  html.js:not(.fx-fail):not(.static) .ix__report { grid-area: auto; margin-inline: 0; padding: .5rem 0 3rem; background: none; clip-path: none; }
  /* short phones: a thinner band */
  @media (max-height: 760px) {
    html.js:not(.fx-fail):not(.static) .ix { --ix-band: clamp(88px, 17svh, 130px); }
    .ix__lede { font-size: .86rem; line-height: 1.3; }
    .ix__copy .label { margin-bottom: .3rem; }
    .ix-sub { font-size: .82rem; margin-bottom: .3rem; }
    .ix-choices legend h2 { font-size: clamp(1.05rem, 4.6vw, 1.25rem); }
  }
}

@media print {
  .ix-plate, .ix-mini { display: none !important; }
  .ix__report { clip-path: none; }
}

/* The floating nav pill (about 72px tall) never sits on the label or the headline at scroll 0. */
@media (min-width: 901px) {
  #intake { --ix-pt: 6.9rem; }
  .ix-pip { color: var(--mut); }
}
/* Eight options plus the question must fit a laptop viewport without clipping the last row. */
@media (min-width: 901px) and (max-height: 960px) {
  #intake .ix__copy h1 { font-size: clamp(1.8rem, 2.5vw, 2.6rem); margin-bottom: .5rem; }
  .ix-choices { gap: .3rem; }
  .ix-choice__box { padding-block: .34rem; }
  .ix-choice__box strong { font-size: .96rem; }
  .ix-choice__d { font-size: .82rem; line-height: 1.25; }
  .ix__app { margin-top: .35rem; }
  .ix__lede { max-width: none; font-size: .95rem; }
  .ix__disclaimer { margin-top: .3rem; font-size: .88rem; }
  .ix__copy .label { margin-bottom: .4rem; }
  .ix-progress { gap: .3rem; }
  .ix-sub { margin-bottom: .25rem; }
  .ix-choices legend { margin-bottom: .2rem; }
  .ix-progress { margin-bottom: .5rem; }
  .step-nav { margin-top: .5rem; padding-block: .5rem .6rem; }
}

/* The fixed pill shrinks over the left column as the page scrolls: the column's top edge fades into the ground under it, so a row never
   sits half under the pill's rim. Left half only: the picture on the right needs no scrim. */
@media (min-width: 901px) {
  html.js:not(.fx-fail):not(.static) #intake::after { content: ""; position: fixed; left: 0; top: 0; width: 46vw; height: 5.2rem; z-index: 3; pointer-events: none; background: linear-gradient(to bottom, var(--bg) 0, var(--bg) 62%, transparent); }
}
