/*! ===========================================================================
 *  ARXEON DESIGN SYSTEM — "PRISM"
 *  AI.aspx — the page's own layer                                   round 71
 *  ---------------------------------------------------------------------------
 *  Loaded by AI.aspx only, after the system (fonts, tokens, base, components,
 *  graphics, webforms). Sizes, spaces, easings and the colours of words are
 *  system tokens, and nothing below redefines one; the only literal colours
 *  are the near-blacks the room is painted in.
 *
 *  SECTION 1 · THE REFLECTION
 *  The mark on black glass in an anechoic chamber, drawn by
 *  Scripts/arxeon.echo.js. What shows in the glass is a model learning the
 *  song as it plays. On a wide screen the room fills the section, the words
 *  stand on the left and the mark on the right, and the note under the glass
 *  stands on the mark's own axis. On a phone the words come first, then the
 *  room, then the note. The script measures the room and writes where the
 *  mark stands (--echo-vx, --echo-mt, --echo-mh); --echo-fx, -ft and -fh
 *  are the same rule in units of the room, for a page with no script.
 *
 *  SECTION 2 · THE MICROPRINT (round 110; round 107's floor and round 72's
 *  "rebuilt from yours" before it)
 *  What Arxeon builds, at work, and what it is made of: four desks after
 *  hours in the dark, visited one by one by Scripts/arxeon.floor.js, which
 *  dives into each screen and then into one word on it, down to the lines
 *  of the client's own work it was printed from. The picture is in the
 *  column, as sections 3 and 4's are (16:9; 16:10 on a tablet, 4:5 on a
 *  phone); under it, the line of what it is doing, the four chapters and
 *  Pause; under them, the four offerings, the one the picture is on lit
 *  along its top edge. The interfaces on the screens are laid out here, in
 *  their own pixels (.ax-ui). The section's head is section 1's words, one
 *  step down, and sections 3 to 5 borrow it.
 *
 *  SECTION 3 · THE MIRROR (round 108b; round 108's exam hall and the sphere,
 *  rounds 73-74, before it)
 *  How a model is trained and proven, as a mirror: a photograph of a
 *  colossal telescope mirror in a dark test hall, its 270 segments each one
 *  of the client's own cases, aligned, tested and phased by
 *  Scripts/arxeon.mirror.js until the model clears the client's bar, with an
 *  eyepiece beside it where the star it sees is computed from the same
 *  segments. The head stands above it; the photograph runs the width of the
 *  column, with the eyepiece standing in the hall to the right of the mirror
 *  on a wide screen and under the photograph on a tablet or a phone; the
 *  gauge and the line of what it is doing come under that, and the five
 *  steps, which light up as the picture reaches each one, stand in a row
 *  under them on a wide screen and one under another on a tablet or a
 *  phone. The gauge is the system's one accent, not the spectrum: it is a
 *  control's language.
 *
 *  SECTION 4 · YOUR OBSERVATORY (round 109; round 77's keep before it)
 *  Whose it is: section 3's mirror at home, one observatory on a snowy
 *  summit, other companies' on their own peaks, under the visitor's own sky
 *  tonight (Scripts/arxeon.observatory.js). The words stand in the column
 *  above; the picture is in the column too, as section 3's is, never taller
 *  than the window allows; under it, the line of what it is doing, the off
 *  switch, and the four promises: four across on a wide screen, two by two
 *  on a tablet, one under another on a phone. The promise the picture is
 *  showing is lit along its top edge in the system's one accent, as section
 *  3's steps are.
 *
 *  SECTION 5 · THE CASE FILE (round 111; round 75's way in before it, which
 *  was section 4 until round 77)
 *  The home page channel's first AI question, asked here, with the site's
 *  own answer box, and the visitor's case file beside it: their case number,
 *  printed from their own words by Scripts/arxeon.way.js, stamped Opened when
 *  the answer says enough; section 2's four kinds of work, lit as the answer
 *  touches them, a tap to correct one; and what a first project like that
 *  costs, an estimate from the price engine. On a wide screen the words, the
 *  box and Send stand on the left and the file on the right; narrower, the
 *  file comes between the box and Send. The kinds are lit as section 2's
 *  offerings are, along their top edge in the system's one accent.
 *  ======================================================================== */

.ax-echo {
  /* where the mark stands without the script: the script's own rule, in
     units of the room (cqw, cqh) */
  --echo-fx: 64cqw;
  --echo-ft: 13cqh;
  --echo-fh: min(38.5cqh, 34cqw);
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  background: var(--ax-bg);
}

/* ── the room ────────────────────────────────────────────────────────────── */

.ax-echo__room {
  position: relative;
  z-index: 0;
  container-type: size;
  background: var(--ax-bg);
}
/* the canvas is revealed with its first frame (.is-live-gl), never before:
   the room behind it is the same black, so the lights coming on are the
   only thing anyone sees */
.ax-echo__gl {
  position: absolute;
  inset: 0;
  display: block;
  inline-size: 100%;
  block-size: 100%;
  opacity: 0;
  transition: opacity .6s var(--ax-ease-out);
}
.ax-echo.is-live-gl .ax-echo__gl { opacity: 1; }

/* the room's edges fade into the page, so the chamber has no frame */
.ax-echo__room::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--ax-bg) 0%, rgb(5 5 5 / 0) 14%),
    linear-gradient(0deg, var(--ax-bg) 0%, rgb(5 5 5 / 0) 12%);
}

/* WITHOUT THE CANVAS. The mark as a picture, standing where the canvas
   would draw it, over a quiet room in CSS, with its reflection turned over
   under it and fading into the glass. From the <noscript>, or added by the
   script when there is no WebGL; gone once the canvas has a frame. */
.ax-echo__flat {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(38cqw 44cqh at var(--echo-vx, var(--echo-fx)) calc(var(--echo-mt, var(--echo-ft)) + var(--echo-mh, var(--echo-fh)) * .55),
      rgb(var(--ax-spec-4-rgb) / .16), rgb(var(--ax-spec-6-rgb) / .05) 55%, transparent 100%),
    linear-gradient(180deg, #040507 0%, #07090e 100%);
}
.ax-echo__flat::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block: calc(var(--echo-mt, var(--echo-ft)) + var(--echo-mh, var(--echo-fh))) 0;
  background: linear-gradient(180deg, rgb(var(--ax-white-rgb) / .05) 0, #020203 2px, var(--ax-bg) 100%);
}
.ax-echo__still {
  position: absolute;
  z-index: 1;
  inset-block-start: var(--echo-mt, var(--echo-ft));
  inset-inline-start: var(--echo-vx, var(--echo-fx));
  display: block;
  block-size: var(--echo-mh, var(--echo-fh));
  inline-size: auto;
  max-inline-size: none;
  transform: translateX(-50%);
}
.ax-echo__still--glass {
  inset-block-start: calc(var(--echo-mt, var(--echo-ft)) + var(--echo-mh, var(--echo-fh)));
  transform: translateX(-50%) scaleY(-1);
  opacity: .3;
  -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 72%);
  mask-image: linear-gradient(0deg, #000 0%, transparent 72%);
}
.ax-echo.is-live-gl .ax-echo__flat { display: none; }

/* what a blade listens to, next to its tip (the script places it) */
.ax-echo__plate {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 2;
  margin: 0;
  padding: var(--ax-sp-2) var(--ax-sp-3);
  border-radius: var(--ax-r-sm);
  background: rgb(5 7 12 / .74);
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-2xs);
  line-height: 1.2;
  letter-spacing: .04em;
  white-space: nowrap;
  color: var(--ax-text-body);
  pointer-events: none;
}
.ax-echo__plate b { font-weight: var(--ax-fw-semibold); color: var(--ax-text-strong); }

/* ── the words ───────────────────────────────────────────────────────────── */

.ax-echo__stage {
  position: relative;
  z-index: 1;
}
.ax-echo__copy {
  display: grid;
  justify-items: start;
  row-gap: var(--ax-sp-7);
}

/* the eyebrow: the system's mono read-out, its hairline at the thirty
   degrees every diagonal on this site uses */
.ax-echo__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--ax-sp-5);
  margin: 0;
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  font-weight: var(--ax-fw-medium);
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ax-text-body);
}
.ax-echo__eyebrow::before {
  content: "";
  flex: none;
  inline-size: 14px;
  block-size: 1px;
  background: rgb(var(--ax-white-rgb) / .42);
  transform: rotate(-60deg);
}

/* two lines: the size is set so each half of the claim fits on one line of
   the column it stands in (the suite checks it at ten screen sizes) */
.ax-echo__title {
  margin: 0;
  font-size: clamp(1.9rem, 1.02rem + 2.45vw, 3.9rem);
  line-height: 1.04;
  font-weight: var(--ax-fw-bold);
  letter-spacing: -.038em;
  text-wrap: balance;
}
.ax-echo__claim,
.ax-echo__reach { display: block; }
.ax-echo__claim { color: var(--ax-text-strong); }
.ax-echo__reach { color: var(--ax-text-muted); }

.ax-echo__lead {
  margin: 0;
  max-inline-size: 50ch;
  font-size: clamp(1rem, .92rem + .26vw, 1.22rem);
  line-height: 1.6;
  color: var(--ax-text-muted);
  text-wrap: pretty;
}

.ax-echo__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ax-sp-5);
  margin-block-start: var(--ax-sp-3);
}
/* lit while the glass is listening: the accent as text, the way the
   header's own sound button marks itself on */
.ax-echo__listen.is-on {
  color: var(--ax-accent-text);
  border-color: rgb(var(--ax-accent-text-rgb) / .45);
}

/* what we build, as a read-out: two by two, each with the thirty-degree
   hairline the eyebrow carries */
.ax-echo__caps {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: var(--ax-sp-4) var(--ax-sp-9);
  margin: var(--ax-sp-4) 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  line-height: var(--ax-lh-micro);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ax-text-subtle);
}
.ax-echo__caps li {
  display: flex;
  align-items: center;
  gap: var(--ax-sp-4);
}
.ax-echo__caps li::before {
  content: "";
  flex: none;
  inline-size: 10px;
  block-size: 1px;
  background: rgb(var(--ax-white-rgb) / .34);
  transform: rotate(-60deg);
}

/* ── under the glass ─────────────────────────────────────────────────────── */

.ax-echo__foot {
  position: relative;
  z-index: 1;
  text-align: center;
  pointer-events: none;
}
.ax-echo__note {
  margin: 0 auto;
  max-inline-size: 44ch;
  font-size: var(--ax-fs-xs);
  line-height: 1.5;
  color: var(--ax-text-muted);
  text-wrap: balance;
}
.ax-echo__live {
  margin: var(--ax-sp-4) 0 0;
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--ax-text-body);
}

/* A WIDE SCREEN: one screen under the header, like a photograph. The room
   fills it, the words stand on the left over the darkest part of the room,
   the mark stands to their right, and the note stands under the glass on
   the mark's axis. svh, not dvh: a collapsing address bar must not resize
   the canvas mid-scroll. */
@media (min-width: 960px) {
  .ax-echo {
    align-items: center;
    min-block-size: max(600px, calc(100vh - 86px));
    min-block-size: max(600px, calc(100svh - 86px));
  }
  .ax-echo__room {
    position: absolute;
    inset: 0;
  }
  .ax-echo__stage {
    padding-block: clamp(40px, 8svh, 104px) clamp(64px, 12svh, 132px);
  }
  .ax-echo__copy { max-inline-size: min(40rem, 48%); }
  .ax-echo__foot {
    position: absolute;
    inset-block-end: clamp(18px, 3.4svh, 36px);
    inset-inline-start: var(--echo-vx, 64%);
    inline-size: min(30rem, 40vw);
    transform: translateX(-50%);
  }
}

/* A PHONE OR A TABLET: the words, the room under them, the note under the
   glass. The room is a little taller than it is wide; held sideways, a
   phone gets no more room than its own screen. */
@media (max-width: 959px) {
  .ax-echo {
    --echo-fx: 50cqw;
    --echo-ft: 9cqh;
    --echo-fh: min(44cqh, 55cqw);
    grid-template-rows: auto auto auto;
    padding-block: clamp(32px, 7svh, 64px) 0;
  }
  .ax-echo__stage { grid-row: 1; }
  .ax-echo__copy {
    justify-items: center;
    row-gap: var(--ax-sp-6);
    max-inline-size: 36rem;
    margin-inline: auto;
    text-align: center;
  }
  .ax-echo__eyebrow::after {
    content: "";
    flex: none;
    inline-size: 14px;
    block-size: 1px;
    background: rgb(var(--ax-white-rgb) / .42);
    transform: rotate(-60deg);
  }
  .ax-echo__lead { max-inline-size: 46ch; }
  .ax-echo__row { justify-content: center; gap: var(--ax-sp-4); }
  .ax-echo__row .ax-btn { --btn-px: var(--ax-sp-6); }
  .ax-echo__caps { justify-content: center; }
  @media (max-width: 599px) {
    .ax-echo__caps { grid-template-columns: max-content; justify-items: start; }
    /* the live line stays one line on the narrowest phones */
    .ax-echo__live { letter-spacing: .08em; text-wrap: balance; }
  }
  @media (max-width: 399px) {
    .ax-echo__live { letter-spacing: .04em; }
  }
  .ax-echo__room {
    grid-row: 2;
    inline-size: 100%;
    aspect-ratio: 1 / 1.08;
    max-block-size: calc(100vh - 70px);
    max-block-size: calc(100svh - 70px);
    margin-block-start: var(--ax-sp-8);
  }
  .ax-echo__room::after {
    background:
      linear-gradient(180deg, var(--ax-bg) 0%, rgb(5 5 5 / 0) 7%),
      linear-gradient(0deg, var(--ax-bg) 0%, rgb(5 5 5 / 0) 12%);
  }
  .ax-echo__foot {
    grid-row: 3;
    padding: var(--ax-sp-2) var(--ax-gutter) var(--ax-section);
  }
}
@media (min-width: 600px) and (max-width: 959px) {
  .ax-echo__room { aspect-ratio: 1 / .82; }
}

/* ── arrival ─────────────────────────────────────────────────────────────── */

/* The words come up while the mark lights behind them: quickly, because the
   headline is what the page is judged by. The note comes once the mark is
   lit. */
@media (prefers-reduced-motion: no-preference) {
  .ax-echo__copy > * { animation: ax-echo-in .9s var(--ax-ease-out) both; }
  .ax-echo__copy > :nth-child(1) { animation-delay: .06s; }
  .ax-echo__copy > :nth-child(2) { animation-delay: .14s; }
  .ax-echo__copy > :nth-child(3) { animation-delay: .26s; }
  .ax-echo__copy > :nth-child(4) { animation-delay: .38s; }
  .ax-echo__copy > :nth-child(5) { animation-delay: .46s; }
  .ax-echo__foot:not([hidden]) { animation: ax-echo-fade 1.2s var(--ax-ease-out) 1.5s both; }
}
@keyframes ax-echo-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
@keyframes ax-echo-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media print, (forced-colors: active) {
  .ax-echo__room, .ax-echo__foot { display: none; }
  .ax-echo { min-block-size: 0; }
}


/* ══ SECTION 2 · THE MICROPRINT ════════════════════════════════════════ */

.ax-made {
  position: relative;
  padding-block: var(--ax-section) var(--ax-section-lg);
  background: var(--ax-bg);
}

/* the head: section 1's words, in style, one step down */
.ax-made__head {
  display: grid;
  justify-items: start;
  row-gap: var(--ax-sp-5);
  max-inline-size: 46rem;
  margin-block-end: clamp(var(--ax-sp-7), 3vw, var(--ax-sp-10));
}
.ax-made__eyebrow,
.ax-proof__eyebrow,
.ax-keep__eyebrow,
.ax-way__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--ax-sp-5);
  margin: 0;
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  font-weight: var(--ax-fw-medium);
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ax-text-body);
}
.ax-made__eyebrow::before,
.ax-proof__eyebrow::before,
.ax-keep__eyebrow::before,
.ax-way__eyebrow::before {
  content: "";
  flex: none;
  inline-size: 14px;
  block-size: 1px;
  background: rgb(var(--ax-white-rgb) / .42);
  transform: rotate(-60deg);
}
.ax-made__title,
.ax-proof__title,
.ax-keep__title,
.ax-way__title {
  margin: 0;
  font-size: var(--ax-fs-d3);
  font-weight: var(--ax-fw-bold);
  line-height: var(--ax-lh-display);
  letter-spacing: var(--ax-tr-hero);
  color: var(--ax-text-strong);
  text-wrap: balance;
}
.ax-made__lead,
.ax-proof__lead,
.ax-keep__lead,
.ax-way__lead {
  margin: 0;
  max-inline-size: 52ch;
  font-size: var(--ax-fs-md);
  line-height: var(--ax-lh-lead);
  color: var(--ax-text-muted);
  text-wrap: pretty;
}

/* ── the picture ─────────────────────────────────────────────────────────── */
/* In the column, never taller than the window allows, and centred when that makes it
   narrower than the column: 16:9 on a wide screen, 16:10 on a tablet, 4:5 on a phone,
   where the camera reads each screen a part at a time, as a document camera would. The
   script draws into whatever shape it is given. */
.ax-made__bench { display: grid; }
.ax-print__frame {
  position: relative;
  isolation: isolate;
  justify-self: center;
  overflow: hidden;
  inline-size: min(100%, calc((100vh - 13rem) * 16 / 9));
  aspect-ratio: 16 / 9;
  border-radius: var(--ax-r-lg);
  background: #000;
  box-shadow: 0 0 0 1px rgb(var(--ax-white-rgb) / .08), var(--ax-el-4);
}
@media (max-width: 1023px) { .ax-print__frame { inline-size: min(100%, calc((100vh - 13rem) * 1.6)); aspect-ratio: 16 / 10; } }
@media (max-width: 599px) { .ax-print__frame { inline-size: 100%; aspect-ratio: 4 / 5; } }
.ax-print__frame::after {                     /* its own edge, over everything in it */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(var(--ax-white-rgb) / .06), inset 0 0 90px rgb(0 0 0 / .28);
  pointer-events: none;
}
/* the four desks as photographed, two by two: without script, until the picture is
   drawn (then they fade into the dark it starts from), and where it cannot be */
.ax-print__still {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: #000;
}
.ax-print__room {
  inline-size: 100%;
  block-size: 100%;
  max-inline-size: none;
  object-fit: cover;
  object-position: 60% 46%;
}
.ax-made__bench.is-drawn .ax-print__still { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .ax-print__still { transition: opacity 1.4s var(--ax-ease-out), visibility 0s linear 1.4s; }
}
/* drawn by the script: the rooms and their light (WebGL), the screens over them
   (each its own element, so its words stay sharp), the microprint over those */
.ax-print__gl,
.ax-print__micro {
  position: absolute;
  inset: 0;
  display: block;
  inline-size: 100%;
  block-size: 100%;
  pointer-events: none;
}
.ax-print__gl { z-index: 1; }
.ax-print__screens {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}
.ax-print__micro { z-index: 3; }
/* how close the camera is, and to what */
.ax-print__hud {
  position: absolute;
  z-index: 5;
  inset-block-end: var(--ax-sp-5);
  inset-inline-end: var(--ax-sp-5);
  margin: 0;
  padding: var(--ax-sp-3) var(--ax-sp-5);
  border: 1px solid rgb(var(--ax-white-rgb) / .16);
  border-radius: var(--ax-r-full);
  background: rgb(0 0 0 / .7);
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  font-weight: var(--ax-fw-medium);
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--ax-text-strong);
  white-space: nowrap;
  opacity: 0;
}
.ax-print__hud.is-on { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .ax-print__hud { transition: opacity .3s var(--ax-ease-out); }
}
@media (max-width: 599px) {
  .ax-print__hud { inset-block-end: var(--ax-sp-4); inset-inline-end: var(--ax-sp-4); padding: 5px var(--ax-sp-4); letter-spacing: .06em; }
}

/* an example, and of what */
.ax-print__plate,
.ax-mirror__plate,
.ax-sky__plate {
  position: absolute;
  z-index: 3;
  inset-block-start: var(--ax-sp-5);
  inset-inline-start: var(--ax-sp-5);
  display: inline-flex;
  align-items: center;
  gap: var(--ax-sp-4);
  margin: 0;
  padding: var(--ax-sp-3) var(--ax-sp-5);
  border: 1px solid rgb(var(--ax-white-rgb) / .16);
  border-radius: var(--ax-r-full);
  background: rgb(0 0 0 / .7);
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  font-weight: var(--ax-fw-medium);
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ax-text-strong);
  white-space: nowrap;
}
.ax-print__plate span,
.ax-mirror__plate span,
.ax-sky__plate span {
  letter-spacing: .06em;
  text-transform: none;
  color: var(--ax-text-body);
}
@media (max-width: 599px) {
  .ax-print__plate,
  .ax-mirror__plate,
  .ax-sky__plate { inset-block-start: var(--ax-sp-4); inset-inline-start: var(--ax-sp-4); gap: var(--ax-sp-3); padding: 5px var(--ax-sp-4); letter-spacing: .1em; }
}
.ax-print__plate { z-index: 5; }             /* over the microprint */

/* ── the screen ──────────────────────────────────────────────────────────── */
/* The interface, at its own size, set into the photograph's screen by the script's
   matrix3d, which carries it from the room to the frame; the glass over it keeps a
   little of the room's reflection and the panel's falloff, and turns it down (--dim). */
.ax-print__screen {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  overflow: hidden;
  transform-origin: 0 0;
  background: #000;
  visibility: hidden;
}
.ax-print__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(rgb(0 0 0 / var(--dim, 0)), rgb(0 0 0 / var(--dim, 0))),
    linear-gradient(116deg, rgb(255 255 255 / .05) 0%, rgb(255 255 255 / 0) 34%),
    radial-gradient(130% 120% at 50% 42%, rgb(0 0 0 / 0) 62%, rgb(0 0 0 / .2) 100%);
}

/* what lifts off the paper: the photograph's own pixels, unbent, in flight */
.ax-print__ghost {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 4;
  visibility: hidden;
  transform-origin: 0 0;
  box-shadow:
    0 0 0 2px rgb(150 215 255 / calc(var(--lift, 0) * .85)),
    0 0 36px 4px rgb(110 185 255 / calc(var(--lift, 0) * .4)),
    0 18px 50px rgb(0 0 0 / calc(var(--lift, 0) * .5));
}
.ax-print__unbent {
  position: relative;
  overflow: hidden;
  transform-origin: 0 0;
}
.ax-print__unbent-in {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  transform-origin: 0 0;
  background-repeat: no-repeat;
  background-size: 2400px 1600px;
}
/* the light the room's paper took, on the piece that lifts off it */
.ax-print__ghost .ax-print__unbent-in { filter: brightness(var(--lit, 1)); }
.ax-print__landed {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  opacity: 0;
}
/* what the clinic's fax printed, at the strength the room's paper takes it */
.ax-print__fax {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  opacity: .72;
}
.ax-print__pagecopy { position: absolute; inset-block-start: 0; inset-inline-start: 0; }
.ax-print__pagemark {
  position: absolute;
  background: rgb(41 151 255 / .42);
  mix-blend-mode: multiply;
}
/* where the picture cannot be drawn (no WebGL 2, or its card reset): the photographs */
.ax-made__bench.is-flat .ax-print__gl,
.ax-made__bench.is-flat .ax-print__screens,
.ax-made__bench.is-flat .ax-print__micro,
.ax-made__bench.is-flat .ax-print__hud { display: none; }

/* ── the interfaces (the screens' own pixels: px, not the page's rem) ────── */

.ax-ui {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: radial-gradient(120% 90% at 28% 0%, #111c2a 0%, #0a1119 56%, #070b10 100%);
  font-family: var(--ax-font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: start;
  color: #e2eaf4;
}
.ax-ui p { margin: 0; }
.ax-ui svg {
  display: inline-block;
  flex: none;
  inline-size: 1em;
  block-size: 1em;
  max-inline-size: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -.14em;
}
.ax-ui [data-at] { transform: translateY(calc((1 - var(--in, 0)) * 6px)); }
.ax-ui__bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  block-size: 46px;
  padding-inline: 18px;
  border-block-end: 1px solid rgb(255 255 255 / .08);
  background: rgb(255 255 255 / .03);
  font-size: 15px;
  white-space: nowrap;
}
.ax-ui__bar b { font-weight: 700; color: #f4f7fb; }
.ax-ui__mark {
  inline-size: 14px;
  block-size: 2px;
  border-radius: 1px;
  background: #2997ff;
  transform: rotate(-60deg);
}
.ax-ui__crumb { font-size: 13px; color: #8ea0b4; }
.ax-ui__live,
.ax-ui__lock,
.ax-ui__tools { margin-inline-start: auto; }
.ax-ui__live,
.ax-ui__lock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 12px;
}
.ax-ui__live {
  border: 1px solid rgb(41 151 255 / .3);
  background: rgb(41 151 255 / .12);
  color: #a8d4ff;
  opacity: .3;
}
.ax-ui__live.is-on { opacity: 1; }
.ax-ui__live::before {
  content: "";
  inline-size: 6px;
  block-size: 6px;
  border-radius: 50%;
  background: #2997ff;
  box-shadow: 0 0 8px #2997ff;
}
.ax-ui__lock { border: 1px solid rgb(255 255 255 / .14); color: #b9c6d4; }
.ax-ui__tools { display: inline-flex; gap: 6px; }
.ax-ui__tools i {
  padding: 4px 8px;
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: 99px;
  font-size: 11px;
  font-style: normal;
  color: #7f91a6;
}
.ax-ui__tools i.is-on { border-color: rgb(41 151 255 / .55); background: rgb(41 151 255 / .16); color: #cfe6ff; }
.ax-ui__k {
  margin-block-end: 6px !important;
  font-family: var(--ax-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8194a9;
}
.ax-ui__k--swap { display: grid; }               /* two labels in one place, one at a time */
.ax-ui__k--swap > span { grid-area: 1 / 1; }
.ax-ui__p { font-size: 15px; line-height: 1.45; color: #dbe5f0; }
.ax-ui__p--lg { font-size: 19px; line-height: 1.32; font-weight: 600; color: #f3f7fb; }
.ax-ui__mono {
  padding: 10px 12px;
  border: 1px solid rgb(255 255 255 / .07);
  border-radius: 8px;
  background: #0e1621;
  font-family: var(--ax-font-mono);
  font-size: 13px;
  line-height: 1.55;
  color: #cad7e5;
  white-space: nowrap;
}
.ax-ui .is-typing::after {
  content: "";
  display: inline-block;
  inline-size: 2px;
  block-size: 1.05em;
  margin-inline-start: 1px;
  vertical-align: -.16em;
  background: #2997ff;
}
.ax-ui__slot {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #0e1621;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08);
}
.ax-ui__btn {
  display: inline-grid;
  flex: none;
  place-items: center;
  padding: 9px 15px;
  border-radius: 8px;
  background: #0d66d8;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.ax-ui__btn b { grid-area: 1 / 1; font-weight: inherit; }
.ax-ui__btn b + b,
.is-on > .ax-ui__btn b:first-child,
.ax-ui__btn.is-on b:first-child { visibility: hidden; }
.is-on > .ax-ui__btn b + b,
.ax-ui__btn.is-on b + b { visibility: visible; }
.ax-ui__btn.is-on,
.is-on > .ax-ui__btn { background: #00936c; }
.ax-ui__toast {
  position: absolute;
  inset-block-start: 58px;
  inset-inline-end: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgb(0 216 159 / .45);
  border-radius: 10px;
  background: #0d2a20;
  box-shadow: 0 10px 28px rgb(0 0 0 / .55);
  font-size: 14px;
  color: #aef3db;
  white-space: nowrap;
}
.ax-ui__cursor {
  position: absolute;
  z-index: 4;
  inset-block-start: calc(var(--y0) + (var(--y1) - var(--y0)) * var(--k, 0));
  inset-inline-start: calc(var(--x0) + (var(--x1) - var(--x0)) * var(--k, 0));
  inline-size: 18px !important;
  block-size: 24px !important;
  fill: #fff !important;
  stroke: #0a0f16 !important;
  stroke-width: 1.2 !important;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / .6));
}

/* 01 · the claims desk: notes and photos on the left, the letter on the right */
.ax-ui__claims {
  flex: 1 1 auto;
  display: flex;
  gap: 16px;
  min-block-size: 0;
  padding: 14px 18px 0;
}
.ax-ui__side { flex: none; inline-size: 222px; }
.ax-ui__side .ax-ui__k + .ax-ui__mono { margin-block-end: 14px; }
.ax-ui__photos { display: flex; gap: 8px; }
.ax-ui__photos .ax-ui__slot { inline-size: 138px; block-size: 92px; }
.ax-ui__slot--more {
  display: grid;
  place-items: center;
  inline-size: 56px !important;
  font-size: 14px;
  color: #8ea0b4;
}
.ax-ui__seen {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-block-start: 10px !important;
  font-size: 12.5px;
  color: #9eead0;
}
.ax-ui__seen svg { color: #00d89f; }
.ax-ui__doc {
  flex: 1 1 auto;
  min-inline-size: 0;
  padding: 12px 16px;
  border-radius: 8px;
  background: #e4e9ef;
  color: #1b2430;
}
.ax-ui__doc .ax-ui__k { color: #66768a; }
.ax-ui__doc .ax-ui__p { margin-block-end: 7px; font-size: 13.5px; line-height: 1.5; color: #1b2430; }
.ax-ui__foot {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  block-size: 66px;
  padding-inline: 18px;
}
.ax-ui__chips { display: flex; gap: 5px; min-inline-size: 0; flex: 1 1 auto; }
.ax-ui__chips span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 7px;
  border: 1px solid rgb(41 151 255 / .3);
  border-radius: 6px;
  background: rgb(41 151 255 / .1);
  font-family: var(--ax-font-mono);
  font-size: 10.5px;
  color: #a8d4ff;
  white-space: nowrap;
}
.ax-ui__to { inline-size: 11px !important; block-size: 11px !important; color: #5fb2ff; }
.ax-ui--claims .ax-ui__cursor { --x0: 400px; --y0: 236px; --x1: 548px; --y1: 360px; }

/* 02 · the manual: the question, the answer and its line; then the page */
.ax-ui__ask {
  display: flex;
  align-items: center;
  gap: 10px;
  block-size: 44px;
  margin: 14px 18px 0;
  padding-inline: 14px;
  border: 1px solid rgb(41 151 255 / .38);
  border-radius: 10px;
  background: #0f1824;
  font-size: 16px;
  color: #f0f5fa;
  white-space: nowrap;
}
.ax-ui__ask svg { color: #8ea0b4; inline-size: 18px; block-size: 18px; }
.ax-ui__answer { inline-size: 376px; margin: 16px 18px 0; }
.ax-ui__answer .ax-ui__p--lg { min-block-size: 50px; }
.ax-ui__cite {
  display: inline-block;
  margin-block-start: 10px !important;
  padding: 3px 8px;
  border: 1px solid rgb(41 151 255 / .4);
  border-radius: 6px;
  font-family: var(--ax-font-mono);
  font-size: 12px;
  color: #9fd0ff;
}
.ax-ui__quote {
  margin-block-start: 10px;
  padding: 6px 8px;
  border-inline-start: 2px solid #2997ff;
  background: rgb(41 151 255 / .07);
}
.ax-ui__quote { position: relative; }
.ax-ui__quote .ax-ui__slot { inline-size: 352px; block-size: 24px; border-radius: 2px; background: #e9e6e2; }
.ax-ui__said {
  position: absolute;
  inset-block-start: 6px;
  inset-inline-start: 8px;
  display: grid;
  align-items: center;
  inline-size: 352px;
  block-size: 24px;
  padding-inline: 8px;
  font-size: 12px;
  font-style: italic;
  color: #1f2833;
  white-space: nowrap;
}
.ax-ui__src {
  position: absolute;
  inset-block-start: 106px;
  inset-inline-end: 18px;
  inline-size: 196px;
  padding: 10px;
  border: 1px solid rgb(255 255 255 / .08);
  border-radius: 10px;
  background: #0d1520;
}
.ax-ui__srow {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 8px;
  border-inline-start: 2px solid transparent;
  font-size: 12.5px;
  color: #9fb0c2;
}
.ax-ui__srow span { font-family: var(--ax-font-mono); font-size: 11px; color: #6f8296; }
.ax-ui__srow.is-on { border-inline-start-color: #2997ff; background: rgb(41 151 255 / .1); color: #e6f0fb; }
.ax-ui__page {
  position: absolute;
  inset-block: 106px 14px;
  inset-inline-end: 18px;
  display: flex;
  flex-direction: column;
  inline-size: 196px;
  padding: 10px;
  border: 1px solid rgb(255 255 255 / .1);
  border-radius: 10px;
  background: #0f1824;
  transform: translateX(calc((1 - var(--in, 0)) * 26px));
}
.ax-ui__sheet { position: relative; flex: 1 1 auto; overflow: hidden; border-radius: 3px; }

/* 03 · the field readings: five rows, checked, one flagged */
.ax-ui__rows { display: grid; row-gap: 6px; margin: 12px 18px 0; }
.ax-ui__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 26px;
  align-items: center;
  column-gap: 12px;
  block-size: 36px;
  padding-inline: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #0f1722;
  font-size: 15px;
  color: #c3d0de;
}
.ax-ui__row b { font-family: var(--ax-font-mono); font-size: 15px; font-weight: 600; color: #f2f6fb; }
.ax-ui__row i { display: grid; place-items: center; font-style: normal; color: #00d89f; opacity: 0; }
.ax-ui__row i.is-on { opacity: 1; }
.ax-ui__row--odd.is-on { border-color: rgb(245 180 48 / .55); background: rgb(245 180 48 / .13); }
.ax-ui__row--odd.is-on b,
.ax-ui__row--odd.is-on i { color: #f5b430; }
.ax-ui__row--odd.is-on i svg { display: none; }
.ax-ui__row--odd.is-on i::after { content: "!"; font-weight: 800; }
.ax-ui__check { margin: 12px 18px 0; font-size: 13px; color: #a9b8c8; }
.ax-ui__check b { font-family: var(--ax-font-mono); color: #f2f6fb; }
.ax-ui__meter {
  display: block;
  block-size: 4px;
  margin-block-start: 7px;
  border-radius: 2px;
  background: linear-gradient(to right, #2997ff calc(var(--k, 0) * 100%), rgb(255 255 255 / .1) 0);
}
.ax-ui__alert {
  position: absolute;
  inset-inline: 18px;
  inset-block-end: 14px;
  padding: 10px 12px;
  border: 1px solid rgb(245 180 48 / .55);
  border-radius: 10px;
  background: #241c0e;
  font-size: 13.5px;
  line-height: 1.4;
  color: #ffdca3;
}
.ax-ui__alert b { color: #f5b430; }
.ax-ui__sent { display: flex; align-items: center; gap: 7px; margin-block-start: 5px !important; color: #aef3db; }
.ax-ui__sent svg { color: #00d89f; }
.ax-ui__wait {
  position: absolute;
  inset-block-start: 64px;
  inset-inline-start: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #9fb0c2;
}
.ax-ui__wait::before {
  content: "";
  inline-size: 7px;
  block-size: 7px;
  border-radius: 50%;
  background: #2997ff;
  box-shadow: 0 0 8px #2997ff;
}

/* 04 · the front desk: the referral, the booking, the text; and a person */
.ax-ui__desk {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 12px;
  padding: 14px 18px 0;
}
.ax-ui__ref { display: flex; gap: 12px; align-items: flex-start; }
.ax-ui__ref .ax-ui__slot { inline-size: 96px; block-size: 57px; flex: none; background: #e9e6e2; }
.ax-ui__ref > div { min-inline-size: 0; }
.ax-ui__ref .ax-ui__p { font-size: 13.5px; }
.ax-ui__book { padding-inline-start: 14px; border-inline-start: 1px solid rgb(255 255 255 / .08); }
.ax-ui__sms { grid-column: 1 / -1; }
.ax-ui__bubble {
  max-inline-size: 470px;
  padding: 10px 13px;
  border-radius: 14px 14px 14px 4px;
  background: #1c3a5c;
  font-size: 14px;
  line-height: 1.42;
  color: #e6f0fb;
  min-block-size: 46px;
}
.ax-ui__hold {
  position: absolute;
  inset-inline: 18px;
  inset-block-end: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px 9px 13px;
  border: 1px solid rgb(245 180 48 / .55);
  border-radius: 10px;
  background: #241c0e;
  font-size: 13.5px;
  color: #ffdca3;
}
.ax-ui__hold p { flex: 1 1 auto; }
.ax-ui__hold b { color: #f5b430; }
.ax-ui__hold.is-on { border-color: rgb(0 216 159 / .5); background: #0d2a20; color: #aef3db; }
.ax-ui__hold.is-on b { color: #00d89f; }
.ax-ui--desk .ax-ui__cursor { --x0: 420px; --y0: 196px; --x1: 572px; --y1: 316px; }

/* the words the camera goes into: the interface's own type, no slant */
.ax-ui__w { font-style: normal; }
/* a line that appears a word at a time */
.ax-ui__wd { opacity: 0; }
/* a general model's words (grey) give way to the team's own, which glow a moment
   as they land (--fresh, from the script) */
.ax-ui__swap { display: grid; }
.ax-ui__swap > span { grid-area: 1 / 1; }
.ax-ui__doc .ax-ui__was { color: #7f8a97; }
.ax-ui__now {
  opacity: 0;
  color: rgb(calc(27 - 17 * var(--fresh, 0)) calc(36 + 70 * var(--fresh, 0)) calc(48 + 150 * var(--fresh, 0)));
  text-shadow: 0 0 calc(var(--fresh, 0) * 9px) rgb(41 151 255 / calc(var(--fresh, 0) * .5));
}
/* the reading nothing could print stays hollow */
.ax-ui__row--odd.is-on .ax-ui__w {
  color: transparent;
  -webkit-text-stroke: 1px #f5b430;
}
/* the date of birth the fax gives two ways; then, checked by a person */
.ax-ui__dob {
  margin-block-start: 6px !important;
  font-family: var(--ax-font-mono);
  font-size: 12px;
  color: #c3d0de;
  white-space: nowrap;
}
.ax-ui__dob .ax-ui__w { font-weight: 600; color: #f2f6fb; }
.ax-ui__dob.is-on .ax-ui__w { color: #f5b430; }
.ax-ui__dob:has(.ax-ui__dobok.is-on) .ax-ui__w { color: #aef3db; }
.ax-ui__dobx { display: inline-grid; vertical-align: baseline; }
.ax-ui__dobx > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 4px; }
.ax-ui__dob:not(.is-on) .ax-ui__dobq { visibility: hidden; }
.ax-ui__dobq { color: #f5b430; }
.ax-ui__dobok { color: #aef3db; }
.ax-ui__dobok svg { color: #00d89f; }
/* 03 · the readings on the left, this well's history on the right */
.ax-ui--field .ax-ui__rows,
.ax-ui--field .ax-ui__check { inline-size: 396px; }
.ax-ui--field .ax-ui__alert { inset-inline-end: 226px; }
.ax-ui__well {
  position: absolute;
  inset-block: 58px 14px;
  inset-inline: 430px 18px;
  padding: 10px 10px 8px;
  border: 1px solid rgb(255 255 255 / .08);
  border-radius: 10px;
  background: #0d1520;
}
.ax-ui .ax-ui__chart {
  display: block;
  inline-size: 100%;
  block-size: auto;
  margin-block-start: 6px;
  stroke: none;
  vertical-align: top;
  overflow: visible;
}
.ax-ui__chart text { font-family: var(--ax-font-mono); font-size: 9px; fill: #6f8296; }
.ax-ui__band { fill: rgb(41 151 255 / .12); }
.ax-ui__past circle { fill: #6cb8ff; opacity: .75; }
.ax-ui__today { opacity: 0; }
.ax-ui__today.is-on { opacity: 1; }
.ax-ui__today line { stroke: #f5b430; stroke-width: 1.2; stroke-dasharray: 2 2.5; }
.ax-ui__today circle { fill: #f5b430; }
.ax-ui__today text { fill: #f5b430; font-weight: 600; }

/* ── under the picture: what it is doing, the four chapters and Pause ────── */
.ax-made__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--ax-sp-4) var(--ax-sp-7);
  margin-block-start: var(--ax-sp-5);
}
.ax-made__read {
  flex: 1 1 16rem;
  min-inline-size: 0;
  min-block-size: 1.3em;
  margin: 0;
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  line-height: 1.3;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--ax-text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ax-made.is-off .ax-made__read { color: var(--ax-text-muted); }
@media (max-width: 599px) {
  .ax-made__read { flex-basis: 100%; min-block-size: 2.6em; white-space: normal; }
}
.ax-made__acts {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ax-sp-3);
}
/* the chapters, as one control; the one playing is lit */
.ax-made__chs {
  display: none;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-full);
}
.ax-made__bench.is-live + .ax-made__bar .ax-made__chs { display: inline-flex; }
.ax-made__ch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  block-size: calc(var(--ax-btn-h-sm) - 8px);
  margin: 0;
  padding: 0 var(--ax-sp-4);
  border: 0;
  border-radius: var(--ax-r-full);
  background: transparent;
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  font-weight: var(--ax-fw-medium);
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ax-text-muted);
  cursor: pointer;
}
.ax-made__chi { color: var(--ax-text-subtle); }
.ax-made__ch:hover { color: var(--ax-text-strong); }
.ax-made__ch:focus-visible { outline: none; box-shadow: var(--ax-ring); }
.ax-made__ch.is-on { background: rgb(var(--ax-white-rgb) / .09); color: var(--ax-text-strong); }
.ax-made__ch.is-on .ax-made__chi { color: var(--ax-accent-text); }
@media (prefers-reduced-motion: no-preference) {
  .ax-made__ch { transition: color .2s var(--ax-ease-out), background-color .2s var(--ax-ease-out); }
}
/* on a phone, the chapters by number (their names still read by a screen reader), each a
   finger's width */
@media (max-width: 599px) {
  .ax-made__ch { block-size: 34px; min-inline-size: 40px; justify-content: center; padding-inline: var(--ax-sp-4); }
  .ax-made__chn {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
  }
}
.ax-made__pause { flex: none; }
.ax-made__ic-play { display: none; }
.ax-made__pause.is-on .ax-made__ic-pause { display: none; }
.ax-made__pause.is-on .ax-made__ic-play { display: inline; }
.ax-made__pause.is-on {
  color: var(--ax-accent-text);
  border-color: rgb(var(--ax-accent-text-rgb) / .45);
}

/* ── the four offerings; the one the picture is on is lit along its top edge ─ */
.ax-made__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ax-sp-9) var(--ax-sp-8);
  margin: clamp(var(--ax-sp-9), 4vw, var(--ax-sp-11)) 0 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 1199px) {
  .ax-made__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .ax-made__list { grid-template-columns: minmax(0, 1fr); gap: var(--ax-sp-9); }
}
.ax-made__item {
  position: relative;
  display: grid;
  align-content: start;
  row-gap: var(--ax-sp-3);
  padding-block-start: var(--ax-sp-6);
  border-block-start: 1px solid var(--ax-line-soft);
}
.ax-made__item::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: -1px;
  block-size: 1px;
  background: var(--ax-accent-text);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.ax-made__item.is-on::before { transform: scaleX(1); }
.ax-made__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--ax-sp-4);
  margin: 0;
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  font-weight: var(--ax-fw-medium);
  line-height: 1;
  letter-spacing: .16em;
  color: var(--ax-text-muted);
}
.ax-made__tag span { color: var(--ax-text-subtle); }
.ax-made__item.is-on .ax-made__tag span { color: var(--ax-accent-text); }
.ax-made__name {
  margin: var(--ax-sp-2) 0 0;
  font-size: var(--ax-fs-lg);
  font-weight: var(--ax-fw-bold);
  line-height: var(--ax-lh-head);
  letter-spacing: var(--ax-tr-head);
  color: var(--ax-text-body);
}
.ax-made__item.is-on .ax-made__name { color: var(--ax-text-strong); }
.ax-made__line {
  margin: 0;
  font-size: var(--ax-fs-sm);
  line-height: 1.55;
  color: var(--ax-text-body);
  text-wrap: pretty;
}
.ax-made__points {
  display: grid;
  row-gap: var(--ax-sp-3);
  margin: var(--ax-sp-2) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--ax-fs-xs);
  line-height: 1.5;
  color: var(--ax-text-muted);
}
.ax-made__points li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  column-gap: var(--ax-sp-4);
  align-items: baseline;
}
.ax-made__points li::before {
  content: "";
  inline-size: 10px;
  block-size: 1px;
  background: rgb(var(--ax-white-rgb) / .34);
  transform: translateY(-.28em) rotate(-60deg);
}
/* the example, step by step; the step the picture is on is lit */
.ax-made__eg {
  margin: var(--ax-sp-5) 0 0;
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  font-weight: var(--ax-fw-medium);
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ax-text-subtle);
}
.ax-made__steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ax-made-step;
}
.ax-made__step {
  position: relative;
  padding: var(--ax-sp-3) 0 var(--ax-sp-3) var(--ax-sp-8);
  border-block-start: 1px solid var(--ax-line-soft);
  font-size: var(--ax-fs-xs);
  line-height: 1.5;
  color: var(--ax-text-muted);
  counter-increment: ax-made-step;
  text-wrap: pretty;
}
.ax-made__step::before {
  content: counter(ax-made-step, decimal-leading-zero);
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: calc(var(--ax-sp-3) + .3em);
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  line-height: 1;
  letter-spacing: .1em;
  color: var(--ax-text-subtle);
}
.ax-made__step.is-now { color: var(--ax-text-strong); }
.ax-made__step.is-now::before { color: var(--ax-accent-text); }
@media (prefers-reduced-motion: no-preference) {
  .ax-made__item::before { transition: transform .7s var(--ax-ease-out); }
  .ax-made__tag span, .ax-made__name, .ax-made__step, .ax-made__step::before { transition: color .3s var(--ax-ease-out); }
  .ax-ui .is-typing::after { animation: ax-ui-caret 1s steps(1) infinite; }
}
@keyframes ax-ui-caret { 50% { opacity: 0; } }

/* switched off from the page's off switch: the screens are dark, the rooms stay */
.ax-made.is-off .ax-print__ghost { visibility: hidden !important; }

@media print, (forced-colors: active) {
  .ax-made__bench, .ax-made__bar { display: none; }
}


/* ══ SECTION 3 · PROVEN ON YOURS ═════════════════════════════════════════ */

.ax-proof {
  position: relative;
  padding-block: 0 var(--ax-section-lg);      /* section 2 already leaves the room above */
  background: var(--ax-bg);
}
.ax-proof__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "bench" "steps";
  row-gap: clamp(var(--ax-sp-9), 4.5vw, var(--ax-sp-11));
}

/* the words: section 2's, in style */
.ax-proof__head {
  grid-area: head;
  display: grid;
  justify-items: start;
  row-gap: var(--ax-sp-5);
  max-inline-size: 46rem;
}

/* the bench: the mirror, its eyepiece, the gauge with the client's bar on it,
   and a line of what the picture is doing */
.ax-proof__bench {
  grid-area: bench;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "stage" "gauge" "read" "note";
  row-gap: var(--ax-sp-4);
  inline-size: 100%;
}
.ax-proof__bench > .ax-proof__gauge { grid-area: gauge; }
.ax-proof__bench > .ax-proof__read { grid-area: read; }
.ax-proof__bench > .ax-proof__note { grid-area: note; }

/* the stage: the photograph and its eyepiece; never taller than the window
   allows, and centred when that makes it narrower than the column */
.ax-mirror__stage {
  grid-area: stage;
  position: relative;
  justify-self: center;
  inline-size: min(100%, calc((100vh - 13rem) * 2));
}
@media (max-width: 1023px) { .ax-mirror__stage { inline-size: min(100%, calc((100vh - 13rem) * 1.6)); } }
@media (max-width: 599px) { .ax-mirror__stage { inline-size: 100%; } }
/* the mirror: wide as a cinema screen on a wide screen, the mirror itself on a
   phone; the script frames it (the camera) to whatever shape it is given */
.ax-mirror__frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  inline-size: 100%;
  aspect-ratio: 2 / 1;
  border-radius: var(--ax-r-lg);
  background: #000;
  box-shadow: 0 0 0 1px rgb(var(--ax-white-rgb) / .08), var(--ax-el-4);
}
@media (max-width: 1023px) { .ax-mirror__frame { aspect-ratio: 16 / 10; } }
@media (max-width: 599px) { .ax-mirror__frame { aspect-ratio: 4 / 3; } }
.ax-mirror__frame::after {                    /* its own edge, over everything in it */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(var(--ax-white-rgb) / .06), inset 0 0 110px rgb(0 0 0 / .4);
  pointer-events: none;
}
/* without the script: the photograph, filling the frame */
.ax-mirror__photo {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  max-inline-size: none;
  object-fit: cover;
  object-position: 50% 46%;
}
/* with it: the photograph at its own size, moved by the script's camera */
.ax-proof__bench.is-live .ax-mirror__photo {
  inset: auto;
  inset-block-start: 0;
  inset-inline-start: 0;
  inline-size: 2400px;
  block-size: 1350px;
  object-fit: fill;
  transform-origin: 0 0;
}
/* the segments, redrawn (WebGL), and the laser's light, added as light is */
.ax-mirror__faces,
.ax-mirror__light {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  inline-size: 100%;
  block-size: 100%;
  pointer-events: none;
}
.ax-mirror__light { mix-blend-mode: screen; }
.ax-proof__bench.is-still .ax-mirror__light { mix-blend-mode: normal; }
/* first light: the deep sky, opened by the script out of the mirror's centre */
.ax-mirror__sky {
  position: absolute;
  inset: 0;
  z-index: 2;
  visibility: hidden;
  background: #000;
  pointer-events: none;
}
.ax-mirror__sky.is-on { visibility: visible; }
.ax-mirror__deep {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  max-inline-size: none;
  object-fit: cover;
  object-position: 50% 50%;
}
/* what the live model is not sure of: ringed, for a person */
.ax-mirror__mark {
  position: absolute;
  inline-size: 30px;
  block-size: 30px;
  margin: -15px 0 0 -15px;
  border: 1.5px solid rgb(255 178 64 / .95);
  border-radius: 50%;
  box-shadow: 0 0 12px rgb(255 160 40 / .55), inset 0 0 8px rgb(255 160 40 / .3);
  opacity: 0;
}
/* the case under the pointer, named (and in section 4, the dome, window, star or planet) */
.ax-mirror__case,
.ax-sky__label {
  position: absolute;
  z-index: 4;
  margin: 0;
  padding: 5px 9px;
  border: 1px solid rgb(var(--ax-white-rgb) / .16);
  border-radius: var(--ax-r-xs);
  background: rgb(0 0 0 / .8);
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  line-height: 1.2;
  letter-spacing: .04em;
  white-space: nowrap;
  color: var(--ax-text-strong);
  transform: translate(-50%, -100%);
  opacity: 0;
  pointer-events: none;
}
.ax-mirror__case.is-on,
.ax-sky__label.is-on { opacity: 1; }

/* the eyepiece: what the mirror sees, computed by the script; without it, the
   finished star. Under the photograph on a tablet or a phone... */
.ax-mirror__eye {
  display: grid;
  justify-items: center;
  row-gap: var(--ax-sp-3);
  inline-size: min(76vw, 300px);
  margin: var(--ax-sp-6) auto 0;
}
/* ...and in the hall, to the right of the mirror, on a wide screen */
@media (min-width: 1024px) {
  .ax-mirror__eye {
    position: absolute;
    z-index: 3;
    inset-block-start: 50%;
    inset-inline-end: 3.4%;
    inline-size: clamp(150px, 18%, 300px);
    margin: 0;
    transform: translateY(-56%);
  }
}
.ax-mirror__lens {
  position: relative;
  inline-size: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px rgb(var(--ax-white-rgb) / .16), 0 0 0 6px rgb(0 0 0 / .55), 0 0 0 7px rgb(var(--ax-white-rgb) / .07), 0 24px 70px rgb(0 0 0 / .65);
}
.ax-mirror__lens::after {                     /* the reticle */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background:
    linear-gradient(rgb(var(--ax-white-rgb) / .22), rgb(var(--ax-white-rgb) / .22)) 50% 4% / 1px 8% no-repeat,
    linear-gradient(rgb(var(--ax-white-rgb) / .22), rgb(var(--ax-white-rgb) / .22)) 50% 96% / 1px 8% no-repeat,
    linear-gradient(rgb(var(--ax-white-rgb) / .22), rgb(var(--ax-white-rgb) / .22)) 4% 50% / 8% 1px no-repeat,
    linear-gradient(rgb(var(--ax-white-rgb) / .22), rgb(var(--ax-white-rgb) / .22)) 96% 50% / 8% 1px no-repeat;
  box-shadow: inset 0 0 0 1px rgb(var(--ax-white-rgb) / .1), inset 0 0 40px rgb(0 0 0 / .6);
  pointer-events: none;
}
.ax-mirror__star,
.ax-mirror__eyegl {
  position: absolute;
  inset: 0;
  display: block;
  inline-size: 100%;
  block-size: 100%;
  max-inline-size: none;
}
.ax-proof__bench.is-gl .ax-mirror__star { visibility: hidden; }
.ax-mirror__eyelabel {
  margin: 0;
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  font-weight: var(--ax-fw-medium);
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ax-text-subtle);
  white-space: nowrap;
}

.ax-proof__gauge {
  position: relative;
  block-size: 2px;
  margin-block-start: var(--ax-sp-7);        /* room for the bar's label */
  border-radius: 1px;
  background: rgb(var(--ax-white-rgb) / .1);
}
.ax-proof__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--ax-accent-text);
  transform: scaleX(var(--proof-rate, 0));
  transform-origin: 0 50%;
}
.ax-proof__bar {                             /* the client's bar: its label ends at 95% */
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 95%;
  padding-block-end: var(--ax-sp-3);
  padding-inline-end: var(--ax-sp-3);
  transform: translateX(-100%);
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ax-text-subtle);
  transition: color .3s var(--ax-ease-out);
}
.ax-proof__bar::after {                      /* and the bar itself, across the track */
  content: "";
  position: absolute;
  inset-inline-end: 0;
  inset-block-end: -5px;
  inline-size: 1px;
  block-size: 12px;
  background: currentColor;
}
.ax-proof__bench.is-cleared .ax-proof__bar { color: var(--ax-accent-text); }
.ax-proof__read {
  min-block-size: 1.3em;
  margin: 0;
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  line-height: 1.3;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--ax-text-body);
  white-space: nowrap;
  overflow: hidden;
}
.ax-proof__note {
  margin: 0;
  font-size: var(--ax-fs-xs);
  line-height: 1.5;
  color: var(--ax-text-muted);
}

/* the five steps; the one the picture is on is lit along its top edge */
.ax-proof__steps {
  grid-area: steps;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ax-proof__step {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  column-gap: var(--ax-sp-5);
  row-gap: var(--ax-sp-2);
  padding-block: var(--ax-sp-6);
  border-block-start: 1px solid var(--ax-line-soft);
}
.ax-proof__step:last-child { border-block-end: 1px solid var(--ax-line-soft); }
@media (min-width: 1024px) {
  .ax-proof__steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: clamp(var(--ax-sp-6), 2.4vw, var(--ax-sp-9));
  }
  .ax-proof__step { grid-template-columns: minmax(0, 1fr); row-gap: var(--ax-sp-4); align-content: start; }
  .ax-proof__step:last-child { border-block-end: 0; }
  .ax-proof__num { grid-row: auto; padding-block-start: 0; }
}
.ax-proof__step::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: -1px;
  block-size: 1px;
  background: var(--ax-accent-text);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .7s var(--ax-ease-out);
}
.ax-proof__step.is-on::before { transform: scaleX(1); }
.ax-proof__num {
  grid-row: 1 / span 2;
  padding-block-start: .3rem;
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  font-weight: var(--ax-fw-medium);
  line-height: 1;
  letter-spacing: .16em;
  color: var(--ax-text-subtle);
  transition: color .3s var(--ax-ease-out);
}
.ax-proof__name {
  margin: 0;
  font-size: var(--ax-fs-lg);
  font-weight: var(--ax-fw-bold);
  line-height: var(--ax-lh-head);
  letter-spacing: var(--ax-tr-head);
  color: var(--ax-text-body);
  transition: color .3s var(--ax-ease-out);
}
.ax-proof__text {
  margin: 0;
  font-size: var(--ax-fs-sm);
  line-height: 1.55;
  color: var(--ax-text-muted);
  text-wrap: pretty;
}
.ax-proof__step.is-on .ax-proof__num { color: var(--ax-accent-text); }
.ax-proof__step.is-on .ax-proof__name { color: var(--ax-text-strong); }

/* reduced motion: the finished map, simply there */
@media (prefers-reduced-motion: reduce) {
  .ax-proof__step::before, .ax-proof__num, .ax-proof__name, .ax-proof__bar { transition: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .ax-mirror__case { transition: opacity var(--ax-d-fast) var(--ax-ease); }
}
/* on a phone the line of what the picture is doing may take two lines */
@media (max-width: 599px) { .ax-proof__read { white-space: normal; } }

@media print, (forced-colors: active) {
  .ax-proof__bench { display: none; }
}

/* ══ SECTION 4 · YOURS, AND ONLY YOURS ═══════════════════════════════════ */

.ax-keep {
  position: relative;
  padding-block: 0 var(--ax-section-lg);      /* section 3 already leaves the room above */
  background: var(--ax-bg);
}

/* the words: section 2's, in style */
.ax-keep__head {
  display: grid;
  justify-items: start;
  row-gap: var(--ax-sp-5);
  max-inline-size: 46rem;
}

/* the picture: in the column, never taller than the window allows, and centred
   when that makes it narrower than the column. As wide as the photograph (16:9)
   on a wide screen, 16:10 on a tablet, 4:3 on a phone; the script frames the
   photograph to whatever shape it is given (centred, its full height kept) */
.ax-keep__bench {
  display: grid;
  margin-block-start: clamp(var(--ax-sp-7), 3vw, var(--ax-sp-10));
}
.ax-sky__frame {
  position: relative;
  isolation: isolate;
  justify-self: center;
  overflow: hidden;
  inline-size: min(100%, calc((100vh - 13rem) * 16 / 9));
  aspect-ratio: 16 / 9;
  border-radius: var(--ax-r-lg);
  /* until the sky is drawn: a winter night's own gradient */
  background: linear-gradient(180deg, #03050d 0%, #050a18 55%, #0b1424 86%, #0e1727 100%);
  box-shadow: 0 0 0 1px rgb(var(--ax-white-rgb) / .08), var(--ax-el-4);
}
@media (max-width: 1023px) { .ax-sky__frame { inline-size: min(100%, calc((100vh - 13rem) * 1.6)); aspect-ratio: 16 / 10; } }
@media (max-width: 599px) { .ax-sky__frame { inline-size: 100%; aspect-ratio: 4 / 3; } }
.ax-sky__frame::after {                       /* its own edge, over everything in it */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(var(--ax-white-rgb) / .06), inset 0 0 110px rgb(0 0 0 / .4);
  pointer-events: none;
}
/* the land (its sky cut out) while the sky is coming, and the still: the
   photograph cropped as the script crops it */
.ax-sky__land,
.ax-sky__poster {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  max-inline-size: none;
  object-fit: cover;
  object-position: 50% 50%;
}
.ax-keep__bench.is-gl .ax-sky__land,
.ax-keep__bench.is-still .ax-sky__land { visibility: hidden; }
/* the sky, the stars and the land, drawn (WebGL) */
.ax-sky__gl {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  inline-size: 100%;
  block-size: 100%;
  pointer-events: none;
}
/* switched off, the still goes to sleep: grey and dark */
.ax-keep__bench .ax-sky__poster { transition: filter 1.6s var(--ax-ease-out); }
.ax-keep__bench.is-asleep .ax-sky__poster { filter: grayscale(.75) brightness(.3); }
/* the scan: a reticle on the sky and its readout (the sky's own coordinates and
   the names of the stars it passes), moved by the script */
.ax-sky__hud {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}
.ax-sky__reticle {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  inline-size: 46px;
  block-size: 46px;
  margin: -23px 0 0 -23px;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 0 0 / 1.5px 12px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 1.5px 12px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 1.5px 12px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 100% / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 100% / 1.5px 12px no-repeat;
  color: rgb(205 192 255 / .92);
  filter: drop-shadow(0 0 4px rgb(150 120 255 / .7));
  transition: color .3s var(--ax-ease-out);
}
.ax-sky__reticle::after {                     /* its centre */
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  inline-size: 4px;
  block-size: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: currentColor;
}
.ax-sky__reticle.is-locked { color: rgb(255 214 150 / .96); }
.ax-sky__scan {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  margin: 0;
  padding: 4px 8px;
  border: 1px solid rgb(var(--ax-white-rgb) / .14);
  border-radius: var(--ax-r-xs);
  background: rgb(0 0 0 / .62);
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ax-text-strong);
}
/* in a narrow picture the readout wraps rather than run past its edge */
@media (max-width: 479.98px) {
  .ax-sky__scan { max-inline-size: calc(100% - 20px); white-space: normal; }
}

/* under the picture: what it is doing, and the switch, on one line; the note
   under them */
.ax-keep__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--ax-sp-4) var(--ax-sp-7);
  margin-block-start: var(--ax-sp-5);
}
.ax-keep__read {
  flex: 1 1 16rem;
  min-inline-size: 0;
  min-block-size: 1.3em;
  margin: 0;
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  line-height: 1.3;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--ax-text-body);
  white-space: nowrap;
  overflow: hidden;
}
.ax-keep.is-off .ax-keep__read { color: var(--ax-text-muted); }
/* the song and the switch, side by side */
.ax-keep__acts {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: var(--ax-sp-3);
}
.ax-keep__switch,
.ax-keep__song { flex: none; }
/* switched off: the button says how to switch it back on, in the accent as
   text, as the header's own sound button marks itself; the song button the
   same while the song plays */
.ax-keep__switch.is-off,
.ax-keep__song.is-on {
  color: var(--ax-accent-text);
  border-color: rgb(var(--ax-accent-text-rgb) / .45);
}
.ax-keep__note {
  margin: var(--ax-sp-4) 0 0;
  max-inline-size: 64ch;
  font-size: var(--ax-fs-xs);
  line-height: 1.5;
  color: var(--ax-text-muted);
  text-wrap: pretty;
}

/* the four promises; the one the picture is showing is lit along its top edge */
.ax-keep__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ax-sp-8) var(--ax-sp-8);
  margin: clamp(var(--ax-sp-9), 4vw, var(--ax-sp-11)) 0 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 1199px) {
  .ax-keep__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .ax-keep__list { grid-template-columns: minmax(0, 1fr); gap: var(--ax-sp-7); }
}
.ax-keep__item {
  position: relative;
  display: grid;
  align-content: start;
  row-gap: var(--ax-sp-3);
  padding-block-start: var(--ax-sp-6);
  border-block-start: 1px solid var(--ax-line-soft);
}
.ax-keep__item::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: -1px;
  block-size: 1px;
  background: var(--ax-accent-text);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .7s var(--ax-ease-out);
}
.ax-keep__item.is-on::before { transform: scaleX(1); }
.ax-keep__num {
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  font-weight: var(--ax-fw-medium);
  line-height: 1;
  letter-spacing: .16em;
  color: var(--ax-text-subtle);
  transition: color .3s var(--ax-ease-out);
}
.ax-keep__name {
  margin: var(--ax-sp-2) 0 0;
  font-size: var(--ax-fs-lg);
  font-weight: var(--ax-fw-bold);
  line-height: var(--ax-lh-head);
  letter-spacing: var(--ax-tr-head);
  color: var(--ax-text-body);
  transition: color .3s var(--ax-ease-out);
}
.ax-keep__text {
  margin: 0;
  font-size: var(--ax-fs-sm);
  line-height: 1.55;
  color: var(--ax-text-muted);
  text-wrap: pretty;
}
.ax-keep__item.is-on .ax-keep__num { color: var(--ax-accent-text); }
.ax-keep__item.is-on .ax-keep__name { color: var(--ax-text-strong); }

/* reduced motion: one still frame, and the words simply there */
@media (prefers-reduced-motion: reduce) {
  .ax-keep__bench .ax-sky__poster, .ax-keep__item::before, .ax-keep__num, .ax-keep__name { transition: none; }
}
@media print, (forced-colors: active) {
  .ax-keep__bench, .ax-keep__bar { display: none; }
}


/* ══ SECTION 5 · THE CASE FILE ═══════════════════════════════════════════ */

.ax-way {
  position: relative;
  padding-block: 0 var(--ax-section-lg);      /* section 4 already leaves the room above */
  background: var(--ax-bg);
}
/* narrower than the two columns: the words, the question and the box, then the
   file the answer prints, then Send */
.ax-way__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "ask" "file" "go";
  row-gap: var(--ax-sp-8);
}
@media (min-width: 1024px) {
  /* the words, the box and Send stand together, centred on the file's height */
  .ax-way__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    grid-template-rows: minmax(0, 1fr) auto auto auto minmax(0, 1fr);
    grid-template-areas: ". file" "head file" "ask file" "go file" ". file";
    column-gap: clamp(var(--ax-sp-10), 5vw, var(--ax-sp-14));
    align-items: start;
  }
}

.ax-way__head {
  grid-area: head;
  display: grid;
  justify-items: start;
  row-gap: var(--ax-sp-5);
  max-inline-size: 40rem;
  margin-block-end: var(--ax-sp-3);
}

/* the question, in the channel's own voice: its name in the accent with the
   point of the face's light, as the home page writes it */
.ax-way__ask {
  grid-area: ask;
  display: grid;
  row-gap: var(--ax-sp-4);
  max-inline-size: 40rem;
}
.ax-way__who {
  margin: 0;
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgb(var(--ax-accent-text-rgb));
}
.ax-way__who::before {
  content: "";
  display: inline-block;
  inline-size: 5px;
  block-size: 5px;
  margin-inline-end: .7em;
  border-radius: var(--ax-r-full);
  background: rgb(var(--ax-eye-rgb));
  box-shadow: 0 0 8px 1px rgb(var(--ax-eye-rgb) / .55);
  vertical-align: .12em;
}
.ax-way__q {
  margin: 0 0 var(--ax-sp-3);
  font-size: var(--ax-fs-lg);
  font-weight: var(--ax-fw-semibold);
  line-height: var(--ax-lh-lead);
  color: var(--ax-text-strong);
  text-wrap: pretty;
}
/* said like the channel says it: every letter in its place from the start,
   so nothing below moves, and lit two at a time */
.ax-way__q.is-waiting span,
.ax-way__q.is-typing span { opacity: 0; }
.ax-way__q span.is-on { opacity: 1; }

.ax-way__input { min-block-size: 132px; }
@media (max-width: 599px) {
  .ax-way__input { min-block-size: 112px; }
}
.ax-way__hint {
  margin: 0;
  min-block-size: 1.5em;
  font-size: var(--ax-fs-xs);
  line-height: 1.5;
  color: var(--ax-text-body);
}
.ax-way__go {
  grid-area: go;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ax-sp-5) var(--ax-sp-7);
  max-inline-size: 40rem;
}
.ax-way__note {
  flex: 1 1 16rem;
  margin: 0;
  font-size: var(--ax-fs-xs);
  line-height: 1.5;
  color: var(--ax-text-muted);
  text-wrap: pretty;
}

/* ── the file ────────────────────────────────────────────────────────────── */
.ax-way__file {
  grid-area: file;
  position: relative;
  display: grid;
  row-gap: var(--ax-sp-6);
  min-inline-size: 0;
  padding: clamp(var(--ax-sp-6), 2.2vw, var(--ax-sp-8));
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-xl);
  background: rgb(var(--ax-white-rgb) / .022);
}
/* its head: what it is, and when it was opened */
.ax-way__strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--ax-sp-2) var(--ax-sp-5);
  margin: 0;
  padding-block-end: var(--ax-sp-4);
  border-block-end: 1px solid var(--ax-line-soft);
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--ax-text-muted);
}

/* the number, printed from the answer, and the stamp it gets when the answer
   says enough */
.ax-way__stage {
  position: relative;
  inline-size: 100%;
  aspect-ratio: 16 / 10;
}
.ax-way__print {
  position: absolute;
  inset: 0;
  display: block;
  inline-size: 100%;
  block-size: 100%;
  opacity: 0;
}
.ax-way.is-printed .ax-way__print { opacity: 1; }
.ax-way__stamp {
  position: absolute;
  inset-inline-end: 4%;
  inset-block-end: 3%;
  display: grid;
  justify-items: center;
  row-gap: 5px;
  margin: 0;
  padding: 8px 14px 7px;
  border: 2px solid rgb(var(--ax-accent-text-rgb) / .9);
  border-radius: 7px;
  outline: 1px solid rgb(var(--ax-accent-text-rgb) / .45);
  outline-offset: 3px;
  background: rgb(var(--ax-black-rgb) / .8);
  font-family: var(--ax-font-mono);
  line-height: 1;
  text-transform: uppercase;
  color: rgb(var(--ax-accent-text-rgb));
  pointer-events: none;
  opacity: 0;
  transform: rotate(-7deg) scale(1.3);
}
.ax-way__stamp-word {
  font-size: var(--ax-fs-sm);
  font-weight: 600;
  letter-spacing: .26em;
  margin-inline-end: -.26em;                    /* the last letter's spacing, so the word stands centred */
}
.ax-way__stamp-at {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  margin-inline-end: -.16em;
  font-variant-numeric: tabular-nums;
}
.ax-way.is-ready .ax-way__stamp { opacity: .94; transform: rotate(-7deg) scale(1); }
.ax-way__read {
  min-block-size: 1.3em;
  margin: 0;
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  line-height: 1.3;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--ax-text-body);
  white-space: nowrap;
  overflow: hidden;
}
.ax-way.is-ready .ax-way__read { color: var(--ax-accent-text); }

/* ── the four kinds ──────────────────────────────────────────────────────── */
.ax-way__kinds,
.ax-way__cost {
  display: grid;
  row-gap: var(--ax-sp-4);
  padding-block-start: var(--ax-sp-6);
  border-block-start: 1px solid var(--ax-line-soft);
}
.ax-way__label {
  margin: 0;
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  font-weight: var(--ax-fw-medium);
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ax-text-muted);
}
.ax-way__chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ax-sp-3);
}
@media (max-width: 599px) {
  .ax-way__chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ax-way__kind {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: start;
  row-gap: 7px;
  min-inline-size: 0;
  min-block-size: 66px;
  margin: 0;
  padding: var(--ax-sp-4) var(--ax-sp-4) var(--ax-sp-5);
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  background: transparent;
  font: inherit;
  text-align: start;
  color: var(--ax-text-muted);
  cursor: pointer;
  overflow: hidden;
}
/* lit along its top edge, as section 2's offerings are */
.ax-way__kind::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  block-size: 2px;
  background: var(--ax-accent-text);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.ax-way__tag {
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-3xs);
  font-weight: var(--ax-fw-medium);
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ax-text-muted);
}
.ax-way__tag span { color: var(--ax-text-subtle); }
.ax-way__name {
  font-size: var(--ax-fs-xs);
  font-weight: var(--ax-fw-semibold);
  line-height: 1.3;
  color: var(--ax-text-body);
}
.ax-way__kind:hover { border-color: var(--ax-line-strong); }
.ax-way__kind:focus-visible { outline: none; box-shadow: var(--ax-ring); }
.ax-way__kind[aria-pressed="true"] {
  border-color: rgb(var(--ax-accent-text-rgb) / .5);
  background: rgb(var(--ax-accent-text-rgb) / .07);
}
.ax-way__kind[aria-pressed="true"]::before { transform: scaleX(1); }
.ax-way__kind[aria-pressed="true"] .ax-way__tag { color: var(--ax-text-strong); }
.ax-way__kind[aria-pressed="true"] .ax-way__tag span { color: var(--ax-accent-text); }
.ax-way__kind[aria-pressed="true"] .ax-way__name { color: var(--ax-text-strong); }
.ax-way__tap {
  margin: 0;
  font-size: var(--ax-fs-xs);
  line-height: 1.5;
  color: var(--ax-text-muted);
  text-wrap: pretty;
}

/* ── what a first project like that costs ────────────────────────────────── */
.ax-way__cost { row-gap: var(--ax-sp-3); }
.ax-way__figs {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--ax-sp-2) var(--ax-sp-6);
  margin: 0;
}
.ax-way__money {
  font-size: var(--ax-fs-xl);
  font-weight: var(--ax-fw-bold);
  line-height: var(--ax-lh-head);
  letter-spacing: var(--ax-tr-head);
  font-variant-numeric: tabular-nums;
  color: var(--ax-text-strong);
}
.ax-way__cost.is-none .ax-way__money { color: var(--ax-text-subtle); }
.ax-way__weeks {
  font-family: var(--ax-font-mono);
  font-size: var(--ax-fs-xs);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  color: var(--ax-text-body);
}
.ax-way__fine {
  margin: 0;
  font-size: var(--ax-fs-xs);
  line-height: 1.5;
  color: var(--ax-text-muted);
  text-wrap: pretty;
}

@media (prefers-reduced-motion: no-preference) {
  .ax-way__print { transition: opacity .6s var(--ax-ease-out); }
  /* the stamp comes down hard and lifts off soft */
  .ax-way__stamp { transition: opacity .25s var(--ax-ease-out), transform .25s var(--ax-ease-out); }
  .ax-way.is-ready .ax-way__stamp { transition: opacity .12s linear, transform .3s cubic-bezier(.3, 1.45, .5, 1); }
  .ax-way__kind { transition: border-color .25s var(--ax-ease-out), background-color .25s var(--ax-ease-out); }
  .ax-way__kind::before { transition: transform .5s var(--ax-ease-out); }
  .ax-way__tag, .ax-way__tag span, .ax-way__name { transition: color .25s var(--ax-ease-out); }
  /* lit by the answer, not by a tap: once, a breath of the accent */
  .ax-way__kind.is-new { animation: ax-way-lit 1s var(--ax-ease-out); }
}
@keyframes ax-way-lit {
  0% { box-shadow: 0 0 0 0 rgb(var(--ax-accent-text-rgb) / .5); }
  100% { box-shadow: 0 0 0 10px rgb(var(--ax-accent-text-rgb) / 0); }
}

@media print, (forced-colors: active) {
  .ax-way__strip, .ax-way__stage, .ax-way__read { display: none; }
}
@media print {
  .ax-way__file, .ax-way__field, .ax-way__hint, .ax-way__go { display: none; }
}
