/* THE MIND.

   One palette, held across the whole page: the product's own blue-black,
   its amber for the one thing that needs a person, its green for the things
   that do not. Nothing here is decorative for its own sake — every colour on
   this page means a state the product actually has.

   The page is composed twice, because it is two compositions rather than one
   composition at two sizes. Wide, the environment reads left to right across
   a single frame. In the hand, it reads top to bottom, and the hero becomes
   the briefing screen the product actually ships. `.only-wide` and
   `.only-tall` switch between them at 900px.

   Type: PP Mori carries the page. The mono is the system's own, used only
   where the content is genuinely data — an order id, a timestamp, a count,
   a column label — never as a costume for ordinary prose. */

@font-face {
  font-family: "PP Mori";
  src: url("../fonts/PPMori-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* surfaces */
  --page: #101010;
  --card: #141a23;
  --rule: #202936;
  --prod: #0c121b;
  --tile: #11171f;
  --deep: #151c26;
  --edge: #1b2534;
  --edge-2: #222d3c;
  --edge-3: #1e2836;

  /* state */
  --hot: #e8a33d;
  --watch: #1abe90;
  --brand: #4a90e2;
  --wait: #8fb4e0;
  --cash: #c98f4f;

  /* ink */
  --ink: #ffffff;
  --ink-1: #e4e8eb;
  --ink-2: #c9cfd4;
  --ink-3: #a2aab1;
  --ink-4: #8a93a0;
  --ink-5: #7e8890;
  --ink-6: #5f6874;
  --ink-7: #4d5661;

  --sans: "PP Mori", -apple-system, BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --h2: clamp(26px, 2.55vw, 44px);
  --sub: clamp(15px, 1.15vw, 20px);
  --body: clamp(14px, 1vw, 17px);
  --cap: clamp(10px, .78vw, 13px);

  --gap: clamp(88px, 9vw, 200px);
  --gut: clamp(20px, 4.2vw, 72px);
  --nav-h: 80px;
  --pane-r: clamp(18px, 1.6vw, 32px);
  --pane-p: clamp(18px, 2.6vw, 44px);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
b { font-weight: 400; }

canvas { display: block; width: 100%; height: 100%; }

.wrap { width: 100%; max-width: calc(1584px + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

.mono { font-family: var(--mono); letter-spacing: .12em; }
.dim { color: var(--ink-6); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--brand); color: #fff; padding: 12px 18px; border-radius: 4px;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--wait); outline-offset: 3px; }

/* The dot is the page's one repeated mark: a state, never an ornament. */
.dot {
  display: inline-block; width: .45em; height: .45em; min-width: 5px; min-height: 5px;
  border-radius: 50%; background: var(--ink-7); flex: none;
}
.dot--hot { background: var(--hot); }
.dot--watch { background: var(--watch); }
.dot--wait { background: var(--wait); }
.dot--brand { background: var(--brand); }
.dot--cash { background: var(--cash); }

/* Her presence, the same object the homepage uses: `vyraMakeOrb` fills this
   box with a breathing halo, a particle canvas and the core. The core is inset
   18%, so the sphere a reader sees is 64% of the box — every size below is the
   BOX, chosen so the sphere lands where the design put it. */
.vyra-orb { display: block; aspect-ratio: 1; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-size: clamp(13px, 1vw, 16px); line-height: 1;
  padding: 12px 20px; border-radius: 6px; border: 0; cursor: pointer;
  background: none; color: var(--ink-3);
  transition: background-color .22s ease, color .22s ease;
}
.btn--brand { background: #478fc6; color: #fff; }
.btn--brand:hover { background: #5a9fd6; }
.btn--amber { background: var(--hot); color: #1a1205; }
.btn--amber:hover { background: #f2b158; }
.btn--quiet:hover { color: var(--ink-1); }
.btn--wide { width: 100%; }
.btn--big { padding: 16px 28px; }

/* ---- nav ----------------------------------------------------------- */

/* THE HEADER.
   Fixed, so the way out of the page is always there on a page this long.
   It rides over the content rather than sitting in the flow, which means the
   hero has to carry its height back as padding — `--nav-h` is that number,
   stated once and used in both places.

   The scrim fades to nothing rather than ending on a line. A solid bar would
   cut a hard horizontal edge across the band's gradient every time the hero
   passed under it; this way content dims as it goes and never meets an edge.
   The bar itself is inert, so only the links take the pointer. */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 40;
  padding: 26px 0 38px;
  pointer-events: none;
  /* Near-opaque across the band the links actually occupy, then a long fade.
     Anything less and the content sliding underneath ghosts through behind
     the type; anything more abrupt and the fade becomes an edge. */
  background: linear-gradient(180deg,
      rgba(16, 16, 16, .97) 0%,
      rgba(16, 16, 16, .96) 40%,
      rgba(16, 16, 16, .78) 60%,
      rgba(16, 16, 16, .44) 76%,
      rgba(16, 16, 16, .16) 89%,
      rgba(16, 16, 16, 0) 100%);
}
.nav a { pointer-events: auto; }
/* the last defence for the glyphs themselves, wherever they end up sitting */
.nav__mark, .nav__sign, .nav__links a { text-shadow: 0 1px 8px rgba(16, 16, 16, .8); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav__mark { font-size: clamp(19px, 1.5vw, 26px); color: var(--ink); letter-spacing: .02em; }
.nav__links { display: flex; gap: clamp(20px, 2.4vw, 38px); font-size: 15px; color: var(--ink-3); }
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current] { color: var(--ink); }
.nav__cta { padding: 10px 22px; border-radius: 4px; }

/* The way back in, beside the way in. Deliberately not an outlined twin of the
   filled button: someone who already has an account needs a door, not a second
   offer, so it carries the nav's own weight and lets Apply keep all the colour. */
.nav__act { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px); }
.nav__sign { font-size: 15px; color: var(--ink-3); transition: color .22s ease; }
.nav__sign:hover { color: var(--ink); }

@media (max-width: 899px) {
  .nav { padding: 18px 0 30px; }
  .nav__links { display: none; }
  .nav__cta { padding: 8px 16px; font-size: 14px; }
  .nav__sign { font-size: 14px; }
}
/* ---- the way through, in the hand ------------------------------------

   Below 1024 the six links stand down and this takes their place. It is a
   native <details>, so it works with no JavaScript at all; nav.js only adds
   what a disclosure cannot do for itself (Escape, close-on-choose, a lock
   on the page behind it).

   The trigger is deliberately not three equal lines turning into a cross.
   It is the site's own index: six marks for six sections, with the one you
   are on carried at full length in brand. Opening extends every mark to
   that same length, and those marks are the same object that rules each row
   of the panel, so the control reads as a compressed form of what it opens.
   Every bar keeps its rounded caps in both states and travels its whole
   track, so nothing flips or stops half way.
   --------------------------------------------------------------------- */

.mnu {
  /* the component's own palette and measure, so every rule below is identical
     wherever this ships and only this header changes with the page's system */
  --mnu-surface: var(--card);
  --mnu-mark: var(--ink-4);
  --mnu-here: var(--brand);
  --mnu-link: var(--ink-2);
  --mnu-lit: var(--ink);
  --mnu-word: var(--ink-3);
  --mnu-gut: var(--gut);
  --mnu-bleed: 0px;
  --mnu-ring: var(--wait);
  --mnu-shade: rgba(16, 16, 16, .8);

  display: none;
  position: static;
  pointer-events: auto;
}

/* the bar is inert by default; the control and its panel have to opt back in */
.mnu__t,
.mnu__p {
  pointer-events: auto;
}

/* The summary keeps its own display: WebKit hangs the disclosure role off
   list-item, and changing it there can cost the control its semantics. The
   marker goes without touching display, and an inner span does the layout. */
.mnu__t {
  position: relative;
  /* the summary stays a list-item for its role, so its line box would otherwise
     add leading around the control and push the mark off centre */
  line-height: 0;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

/* The target is 44px without the bar being 44px tall. The control's own box
   stays the height of its mark and the hit area is cast around it, so adding
   the menu never pushed the header down over the hero behind it. */
.mnu__t::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  min-width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}

.mnu__tin {
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  gap: 10px;
  line-height: 1;
  padding-left: 2px;
}

.mnu__t::-webkit-details-marker {
  display: none;
}

.mnu__t::marker {
  content: "";
}

/* a fixed 18px slot per mark, so a short bar and a full one start on the
   same axis and the row beside them never shifts */
.mnu__i {
  filter: drop-shadow(0 1px 6px var(--mnu-shade));
  display: grid;
  gap: 2px;
  width: 18px;
  flex: none;
}

.mnu__b {
  width: 11px;
  height: 2px;
  border-radius: 1px;
  background: var(--mnu-mark);
  justify-self: start;
  transition: width .26s cubic-bezier(.33, .9, .3, 1), background-color .22s ease;
}

.mnu__b--here {
  width: 18px;
  background: var(--mnu-here);
}

/* only the trigger's own marks extend; the panel's rows keep encoding where
   you are, which is the whole point of them */
.mnu[open] .mnu__i .mnu__b {
  width: 18px;
}

.mnu__w {
  text-shadow: 0 1px 6px var(--mnu-shade);
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--mnu-word);
  transition: color .22s ease;
}

/* Focus and press answer everywhere. Hover is gated behind a device that has
   one, because on a touch screen it latches: tap the control and it stays lit
   until you tap something else. */
.mnu__t:focus-visible .mnu__w,
.mnu__t:active .mnu__w {
  color: var(--mnu-lit);
}

@media (hover: hover) {
  .mnu__t:hover .mnu__w {
    color: var(--mnu-lit);
  }
}

/* one word is in the accessible name at a time, never both */
.mnu[open] .mnu__w--shut,
.mnu:not([open]) .mnu__w--open {
  display: none;
}

/* ---- the panel ---- */

/* A sheet, not a section: it is lifted a step off the page rather than drawn
   with a line, and the bar lifts with it so the two read as one object. A fade
   was tried here first and was wrong, because as soon as the sheet has to
   scroll the fade lands on a live row and the page ghosts through it. */
.mnu__p {
  position: absolute;
  left: calc(-1 * var(--mnu-bleed));
  right: calc(-1 * var(--mnu-bleed));
  top: calc(100% + 16px);
  padding: 6px var(--mnu-gut) 26px;
  background: var(--mnu-surface);
  max-height: calc(100vh - 148px);
  max-height: calc(100dvh - 148px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mnu__l {
  display: grid;
}

.mnu__l a {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 56px;
  font-size: 19px;
  letter-spacing: .01em;
  text-decoration: none;
  color: var(--mnu-link);
  transition: color .2s ease;
}

.mnu__l a:focus-visible,
.mnu__l a:active {
  color: var(--mnu-lit);
}

@media (hover: hover) {
  .mnu__l a:hover {
    color: var(--mnu-lit);
  }
}

/* Where you are is carried by the type and its own mark, never by a dot tacked
   underneath. Reading it off aria-current means the markup states it once. */
.mnu__l a[aria-current] {
  color: var(--mnu-lit);
}

.mnu__l a[aria-current] .mnu__b {
  width: 18px;
  background: var(--mnu-here);
}

/* an account action, not a seventh section, so it carries no section mark and
   sits off the run of six on its own air */
.mnu__f {
  margin-top: 26px;
}

.mnu__f a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  text-decoration: none;
  color: var(--mnu-word);
  transition: color .2s ease;
}

.mnu__f a:focus-visible,
.mnu__f a:active {
  color: var(--mnu-lit);
}

@media (hover: hover) {
  .mnu__f a:hover {
    color: var(--mnu-lit);
  }
}

/* The six section pages carry a site-wide focus ring; the home page carries
   none, so the component brings its own rather than leaving a new keyboard
   control relying on the browser default over a dark hero. */
.mnu__t:focus-visible,
.mnu__l a:focus-visible,
.mnu__f a:focus-visible {
  outline: 2px solid var(--mnu-ring);
  outline-offset: 3px;
}

/* The entrance moves the sheet only. Opacity stays at 1 the whole way, so a
   transition that never runs still leaves every link fully readable. */
@media (prefers-reduced-motion: no-preference) {
  .mnu__p {
    transition: transform .24s cubic-bezier(.33, .9, .3, 1);
  }

  @starting-style {
    .mnu[open] .mnu__p {
      transform: translateY(-8px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {

  .mnu__b,
  .mnu__w,
  .mnu__l a,
  .mnu__f a {
    transition: none;
  }
}

@media (max-width: 1024px) {
  .nav__in {
    position: relative;
  }

  .nav__links {
    display: none;
  }

  /* the way back in moves into the panel; the bar keeps only the way in */
  .nav__sign {
    display: none;
  }

  .mnu {
    display: block;
  }

  /* Open, the scrim has nothing left to fade into, so it takes the sheet's own
     surface and the two become one object with a single edge at the bottom.
     An opaque sheet must also stop passing clicks through to the page under it.
     The class is set by nav.js; :has covers the no-JavaScript path. */
  .nav.is-menu,
  .nav:has(.mnu[open]) {
    background: var(--card);
    pointer-events: auto;
  }

  /* the page behind an open sheet should not travel under it */
  html.is-locked,
  html.is-locked body {
    overflow: hidden;
  }
}

/* Measured, not guessed: the bar needs 377px to hold the wordmark, Apply and a
   worded control on one line, and 329px without the word. Below that the
   wordmark is what breaks, so the word gives up its pixels and keeps its place
   in the accessible name. The hit area is unaffected: it is cast, not measured. */
@media (max-width: 379px) {
  .mnu__w {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    clip-path: inset(50%);
  }
}

/* On paper the control is dead and the sheet is not the page, so neither prints. */
@media print {
  .mnu {
    display: none;
  }
}



/* ---- section rhythm ------------------------------------------------ */

.sec { padding-top: var(--gap); }
.sec:first-of-type { padding-top: 0; }

.head { max-width: 700px; }
.head--mid { margin-inline: auto; text-align: center; }
.head h2 {
  font-size: var(--h2); line-height: 1.26; letter-spacing: -.03em;
  color: var(--ink); font-weight: 400; margin-top: 14px;
}
.head .kicker + h2 { margin-top: 16px; }
.head .sub { font-size: var(--sub); line-height: 1.6; color: var(--ink-3); margin-top: 16px; }
.kicker { font-size: var(--cap); color: var(--ink-3); }

.note {
  font-size: var(--body); line-height: 1.65; color: var(--ink-4);
  max-width: 1100px; margin-top: clamp(28px, 3vw, 48px);
}

/* The panel: a surface a shade off the page, with an edge in its own colour
   rather than a drawn line. */
.pane {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--pane-r);
  padding: var(--pane-p);
}
.pane--lit { background: var(--prod); border-color: var(--edge-2); }
.pane__cap { font-size: var(--cap); color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.pane__cap--hot { color: var(--hot); }
.pane__cap--watch { color: var(--watch); }
.pane__cap--dim { color: var(--ink-6); }
.pane__sub { font-size: clamp(13px, 1vw, 15px); color: var(--ink-5); margin-top: 12px; }
.pane__note { font-size: 12px; line-height: 1.5; color: #7d94ad; margin-top: 16px; }
.pane__foot { font-size: var(--cap); color: var(--ink-6); margin-top: 20px; }
.pane__foot--hot { color: var(--hot); }
.pane__caps { display: flex; justify-content: space-between; font-size: 9px; color: var(--wait); }
.pane__caps .mono, .pane__cap.mono { letter-spacing: .14em; }

/* ---- hero ---------------------------------------------------------- */

.hero { padding-top: calc(var(--nav-h) + clamp(28px, 4vw, 86px)); }

.statement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 80px); }
.statement__h {
  font-size: clamp(30px, 3.1vw, 52px); line-height: 1.25; letter-spacing: -.03em;
  color: var(--ink); font-weight: 400;
}
.statement__body { display: grid; gap: 22px; align-content: start; }
.statement__body p { font-size: var(--sub); line-height: 1.6; color: var(--ink-3); }

@media (max-width: 899px) {
  .statement { grid-template-columns: 1fr; gap: 22px; }
  .statement__body { gap: 18px; }
}

/* The band the constellation sits in. Its colour resolves back into the
   page at both ends, so neither edge is a seam. */
/* The atmosphere runs from above the constellation, past her, and down
   behind the mockup, resolving back into the page below it. It used to stop
   at the constellation's own edge, which put a hard colour seam across the
   hero right where the eye travels from her to the board.

   The fade is long and finely eased on purpose: carried this far on four
   stops it bands visibly, so the stops are close together and the steps
   between them small. Both ends land on the page colour exactly, so there is
   nothing for either edge to seam against.

   The peak sits at 11%, which is where her centre actually falls in this
   band — light coming off her rather than pooling in the gap below. */
.band {
  margin-top: clamp(40px, 4.5vw, 72px);
  padding: clamp(26px, 2.4vw, 40px) 0 clamp(40px, 5vw, 96px);
  /* Her centre lands at a different point in the band depending on which
     composition is running, so the peak is a variable and the stops around
     it move with her. The long tail below is the same either way. */
  --peak: 11%;
  background: linear-gradient(180deg,
      var(--page) 0%,
      #0c1018 calc(var(--peak) - 9%),
      #0d1220 calc(var(--peak) - 6.5%),
      #0f1729 calc(var(--peak) - 4%),
      #101a2e calc(var(--peak) - 2%),
      #101b30 var(--peak),
      #101a2e calc(var(--peak) + 3%),
      #0f182c calc(var(--peak) + 7%),
      #0e1627 calc(var(--peak) + 13%),
      #0d1423 32%,
      #0c1220 42%,
      #0c111c 54%,
      #0b1018 66%,
      #0b0e14 78%,
      #0a0c11 88%,
      var(--page) 100%);
}

.con { position: relative; width: 100%; aspect-ratio: 1584 / 360; }
.con__gl { position: absolute; inset: 0; }
.con__gl--tall { display: none; }

.con__n {
  position: absolute; left: var(--dx); top: var(--dy);
  transform: translate(-50%, calc(-100% - 22px));
  font-size: clamp(13px, 1.05vw, 18px); line-height: 1.35; color: var(--ink-2);
  white-space: nowrap;
}
/* the node itself, sitting exactly on the point the shader draws to */
.con__n::after {
  content: ""; position: absolute; left: 50%; top: calc(100% + 22px);
  width: clamp(12px, .95vw, 16px); height: clamp(12px, .95vw, 16px);
  transform: translate(-50%, -50%); border-radius: 50%; background: var(--watch);
}
.con__n--hot::after { background: var(--hot); }
/* How many live items sit on that domain, read straight off the node. */
.con__c {
  position: absolute; left: 50%; top: calc(100% + 22px);
  transform: translate(calc(-50% + 11px), calc(-50% - 11px));
  min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 99px;
  background: var(--hot); color: #241703;
  font-family: var(--mono); font-size: 11px; font-style: normal; line-height: 1;
}
/* The month's tally, in the corner of the field rather than on the board. */
/* The field's readout: what it is reading, and what the month came to. One row
   on the page's own margin, so the constellation resolves into the briefing
   below it rather than ending with a tally floating in its corner. */
.con__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-top: clamp(16px, 2.2vw, 34px);
}
.con__ctx { font-size: 12px; color: var(--ink-6); }
.con__run { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.con__run-a { font-size: 12px; color: var(--watch); }
.con__run-sep { font-size: 12px; color: var(--ink-7); }
.con__run-b { font-size: 12px; color: var(--ink-5); }
@media (max-width: 899px) { .con__ctx { display: none; } }

.con__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(88px, 9.4vw, 148px); aspect-ratio: 1;
  display: grid; place-items: center;
  border: 1px solid rgba(232, 163, 61, .35); border-radius: 50%;
}
.con__core .vyra-orb { width: 100%; }
.con__name {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, 0);
  margin-top: clamp(52px, 5.4vw, 84px);
  font-family: var(--mono); font-size: clamp(10px, .8vw, 13px); letter-spacing: .22em; color: var(--wait);
}

@media (max-width: 899px) {
  .band { --peak: 14.3%; }
  :root { --nav-h: 74px; }
  .con { aspect-ratio: 350 / 470; max-width: 350px; margin-inline: auto; }
  .con__gl--wide { display: none; }
  .con__gl--tall { display: block; }
  .con__n { left: var(--mx); top: var(--my); transform: translate(-50%, calc(-100% - 13px)); font-size: 13px; }
  .con__n::after { top: calc(100% + 13px); width: 12px; height: 12px; }
  .con__core { width: 88px; }
  .con__core .vyra-orb { width: 100%; }
  .con__name { margin-top: 58px; }
}

.facts { display: flex; gap: clamp(20px, 2.4vw, 44px); margin-top: 20px; }
.facts dt { font-size: 11px; color: var(--ink-6); }
.facts dd { margin: 6px 0 0; font-size: clamp(14px, 1.05vw, 17px); color: var(--ink-1); }

.act__row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.ask { display: flex; gap: 14px; margin-top: 18px; }
.ask:first-of-type { margin-top: 16px; }
.ask__who {
  flex: none; width: 30px; height: 30px; border-radius: 50%; background: #27394f;
  display: grid; place-items: center; font-size: 14px; color: #c9dcf0;
}
.ask__q { font-size: clamp(14px, 1.05vw, 16px); line-height: 1.5; color: var(--ink-1); }
.ask__meta { font-size: 14px; color: var(--ink-5); margin-top: 8px; }
.ask__age { font-size: 12px; color: var(--ink-6); margin-top: 6px; }

/* THE BRIEFING.

   What replaced the board. The three readings she took are separate things on
   the page, the curves between them are the product's actual reasoning, and the
   decision is what they resolve into — so the connecting is shown rather than
   written out in a paragraph nobody reads.

   The rows are a fixed 96px so the curve anchors (48 / 144 / 240 in a 288-tall
   viewBox) land on their centres at every width. The curves stretch with the
   column — `preserveAspectRatio: none` plus a non-scaling stroke keeps them a
   hairline however far they are squashed — while the node and the arrowhead are
   their own elements so neither is ever distorted into an ellipse. */

.brief { position: relative; margin-top: clamp(40px, 5vw, 86px); }
/* The decision arriving. Amber traces the thing that needs her and the state it
   belongs to, then fades — a moment, not a container, so nothing is boxed at
   rest. The two targets carry a radius and padding purely so the trace has a
   shape and some air; neither is visible until the shader draws. */
.brief__gl {
  /* The trace glows ~30px beyond whatever it frames, and both targets sit hard
     against the content edge — the counter on the left, the decision on the
     right. The canvas bleeds into the wrap's own gutters so neither glow is cut
     off, and never past them, so it cannot introduce a horizontal scroll. */
  position: absolute; top: 0; left: calc(var(--gut) * -1);
  /* A canvas carries an intrinsic size from its width/height attributes, so
     left + right cannot stretch it the way they would a div — the right offset
     is simply dropped. The width has to be stated. */
  width: calc(100% + var(--gut) * 2); height: 100%;
  pointer-events: none;
}
.brief__hello {
  text-align: center; font-weight: 400;
  font-size: clamp(26px, 2.6vw, 44px); line-height: 1.25; letter-spacing: -.03em; color: var(--ink);
}
.brief__hello-x { color: var(--brand); }
.brief__line {
  margin: 14px auto 0; max-width: 860px; text-align: center;
  font-size: clamp(14px, 1.15vw, 19px); color: var(--ink-3);
}

/* The four states as a readout, not four boxes. */
.tally {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(34px, 3.6vw, 62px);
}
.tally__i { display: grid; gap: 11px; align-content: start; padding-right: clamp(16px, 1.9vw, 30px); }
.tally__i + .tally__i { border-left: 1px solid #ffffff12; padding-left: clamp(16px, 1.9vw, 30px); }
.tally__i b { font-weight: 400; font-size: clamp(26px, 2.6vw, 40px); line-height: 1; color: var(--ink-1); }
.tally__i .mono { font-size: 12px; color: var(--ink-6); }
.tally__i--hot b { color: var(--hot); }
/* Room for the trace to sit off the content rather than on it. The padding is
   cancelled by an equal negative margin on every side it can be, so the figure
   stays exactly where the other three sit and the row keeps its height; the
   right side is left alone so the frame cannot cross the next cell's rule. */
.tally__i--hot {
  border-radius: 12px;
  padding: 18px 22px;
  margin: -18px clamp(26px, 3vw, 52px) -18px -22px;
}
.tally__i--done b { color: var(--watch); }

.reason__cap { font-size: 12px; color: var(--ink-6); margin-top: clamp(40px, 4.4vw, 76px); }
.reason {
  display: grid; align-items: center; margin-top: 16px;
  grid-template-columns: minmax(0, 1fr) clamp(120px, 17vw, 300px) minmax(0, 1fr);
}
.reason__rows { margin: 0; }
.reason__rows > div { min-height: 96px; display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px); }
.reason__rows dt { flex: none; width: clamp(88px, 9vw, 132px); font-size: 13px; color: var(--wait); }
.reason__rows dd { margin: 0; font-size: clamp(15px, 1.2vw, 19px); line-height: 1.5; color: var(--ink-2); }

.reason__join { position: relative; height: 288px; }
.reason__curves { position: absolute; inset: 0; width: 100%; height: 100%; }
.reason__curves path { fill: none; stroke: #3f4b5a; stroke-width: 1; vector-effect: non-scaling-stroke; }
.reason__node {
  position: absolute; left: 76.7%; top: 50%; transform: translate(-50%, -50%);
  width: 12px; height: 12px; border-radius: 50%; background: var(--wait);
}
.reason__node::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(143, 180, 224, .2);
}
.reason__tip {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 48px; height: 12px;
}
.reason__tip path { fill: none; stroke: var(--wait); stroke-width: 1.4; }

.reason__chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #3a2c11; border-radius: 99px; padding: 9px 16px;
  font-size: 12px; color: var(--hot);
}
.reason__chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--hot); }
.reason__h {
  margin-top: 18px; font-weight: 400;
  font-size: clamp(24px, 2.9vw, 44px); line-height: 1.18; letter-spacing: -.02em; color: var(--ink);
}
.reason__meta {
  display: inline-block; margin-top: 16px; padding: 8px 14px;
  background: #ffffff0a; border-radius: 8px; font-size: 15px; color: var(--ink-4);
}
.reason__say { margin-top: 22px; font-size: clamp(15px, 1.2vw, 19px); line-height: 1.55; color: var(--ink-3); }
.reason__out { padding: clamp(16px, 1.9vw, 28px); border-radius: 18px; }
.reason__out .facts { margin-top: 26px; }
.reason__out .act__row { margin-top: 28px; }
.btn--soft { background: #ffffff0f; color: var(--ink-1); }
.btn--soft:hover { background: #ffffff1a; }

.asks { margin-top: clamp(44px, 4.6vw, 80px); }
.asks__cap { font-size: 12px; color: var(--wait); }
.asks__row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 56px); margin-top: 24px;
}
.asks .ask { margin-top: 0; }

/* ---- the board in the hand ----------------------------------------- */

.app {
  margin-top: 40px; max-width: 350px; margin-inline: auto;
  background: var(--prod); border: 1px solid var(--edge); border-radius: 20px; overflow: hidden;
}
.app__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px; border-bottom: 1px solid var(--edge);
}
.app__brand { display: flex; align-items: center; gap: 7px; }
.app__brand .mono:first-of-type { font-size: 11px; color: var(--ink-1); letter-spacing: .16em; }
.app__brand .dim { font-size: 9px; }
.app__bar > .dim { font-size: 9px; }

.app__hello { text-align: center; padding: 26px 20px 0; display: grid; gap: 8px; }
.app__kicker { font-size: 9px; color: var(--ink-6); }
.app__greet { font-size: 21px; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.app__need { font-size: 13px; color: var(--hot); }

.app__orb { position: relative; height: 230px; display: grid; place-items: center; }
.vyra-orb--app { width: 120px; }
/* the count sits on the core, above it in the orb's own stack */
.app__count { position: absolute; z-index: 3; font-size: 30px; line-height: 1; color: #fff; transform: translateY(-7px); text-shadow: 0 1px 10px rgba(0, 30, 60, .55); }
.app__cap { position: absolute; z-index: 3; font-size: 8px; color: #eaf6ff; transform: translateY(24px); text-shadow: 0 1px 8px rgba(0, 30, 60, .6); }

.app__tally { display: flex; justify-content: center; gap: 76px; padding: 0 20px 26px; }
.app__tally li { display: grid; justify-items: center; gap: 5px; }
.app__tally b { font-size: 20px; line-height: 1; color: var(--ink-1); }
.app__tally .mono { font-size: 8px; color: var(--ink-6); }

.app__lanes { padding: 0 14px 16px; display: grid; gap: 22px; }
.lane { display: grid; gap: 10px; }
.lane__h { display: flex; align-items: center; gap: 7px; font-size: 9px; color: var(--ink-5); }
.lane__h .mono { letter-spacing: .14em; }

.card {
  background: var(--tile); border: 1px solid var(--edge-2); border-radius: 12px; padding: 13px;
  display: grid; gap: 9px;
}
.card--hot { background: var(--deep); border-color: #3a3020; gap: 12px; }
.card__h { font-size: 14px; line-height: 1.4; color: #fff; }
.card__meta { font-size: 9px; color: var(--ink-5); letter-spacing: .1em; }
.card__who { font-size: 9px; color: var(--wait); letter-spacing: .14em; }
.card__q { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.card__about { font-size: 11px; line-height: 1.4; color: #6b7482; }
.card__in { font-size: 8px; color: var(--ink-6); letter-spacing: .14em; }

.quiet {
  display: flex; justify-content: space-between; align-items: start; gap: 12px;
  font-size: 12px; line-height: 1.5; color: var(--ink-4);
}
.quiet__d { font-size: 9px; color: var(--ink-6); flex: none; letter-spacing: .08em; }

.app__foot { padding: 12px 14px 13px; border-top: 1px solid var(--edge); display: grid; gap: 9px; }
.app__foot .dim { font-size: 9px; letter-spacing: .08em; }
.app__key { display: flex; gap: 9px; }
.app__key span { display: flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 8px; color: var(--ink-6); }
.app__key .dot { min-width: 4px; min-height: 4px; width: 4px; height: 4px; }

.app__tabs {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 30px 15px; background: #0a0f16;
}
.app__tabs .mono { font-size: 8px; color: var(--ink-6); letter-spacing: .16em; }
.app__tabs .on { color: var(--ink-2); }
.vyra-orb--tab { width: 26px; }

/* ---- the environment, wide ----------------------------------------- */

.env {
  margin-top: clamp(40px, 4.4vw, 72px);
  background: var(--prod); border: 1px solid var(--edge); border-radius: var(--pane-r);
  padding: clamp(24px, 2.8vw, 44px);
}
.env__caps { position: relative; display: flex; justify-content: space-between; font-size: 12px; color: var(--wait); }
.env__caps-mid { position: absolute; left: 0; right: 0; text-align: center; }

.env__field { position: relative; width: 100%; aspect-ratio: 1496 / 460; margin-top: 26px; }
.env__field > canvas { position: absolute; inset: 0; }

.env__src li, .env__dom li, .env__out li {
  position: absolute; display: flex; align-items: center; gap: 12px;
  transform: translateY(-50%); white-space: nowrap; font-size: clamp(12px, 1vw, 15px);
}
.env__src li { right: calc(91.176% + 15.5px); }
.env__src li span { color: var(--ink-5); }
.env__src li .dot { position: absolute; left: calc(100% + 12px); width: 7px; height: 7px; min-width: 7px; min-height: 7px; }
.env__src .is-truth span { color: var(--ink-1); }
.env__src .is-truth .dot { background: var(--wait); }
.env__src .is-truth em {
  position: absolute; right: 0; top: calc(100% + 4px);
  font-style: normal; font-size: 12px; color: #7d94ad;
}
.env__src li:nth-child(1) { top: 24.667%; }
.env__src li:nth-child(2) { top: 50%; }
.env__src li:nth-child(3) { top: 62.667%; }
.env__src li:nth-child(4) { top: 75.333%; }
.env__src li:nth-child(5) { top: 88%; }

.env__dom li { right: calc(70.99% + 16px); font-size: clamp(13px, 1.07vw, 16px); }
.env__dom li span { color: var(--ink-2); }
.env__dom li .dot { position: absolute; left: calc(100% + 12px); width: 8px; height: 8px; min-width: 8px; min-height: 8px; }
.env__dom li:nth-child(1) { top: 12%; }
.env__dom li:nth-child(2) { top: 24.667%; }
.env__dom li:nth-child(3) { top: 37.333%; }
.env__dom li:nth-child(4) { top: 50%; }
.env__dom li:nth-child(5) { top: 62.667%; }
.env__dom li:nth-child(6) { top: 75.333%; }
.env__dom li:nth-child(7) { top: 88%; }

.env__out li { left: calc(82.5% - 4px); }
.env__out li span { color: var(--ink-4); }
.env__out .is-on span { color: var(--ink); }
.env__out li:nth-child(1) { top: 8%; }
.env__out li:nth-child(2) { top: 18.5%; }
.env__out li:nth-child(3) { top: 29%; }
.env__out li:nth-child(4) { top: 39.5%; }
.env__out li:nth-child(5) { top: 50%; }
.env__out li:nth-child(6) { top: 60.5%; }
.env__out li:nth-child(7) { top: 71%; }
.env__out li:nth-child(8) { top: 81.5%; }
.env__out li:nth-child(9) { top: 92%; }

.env__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  /* her halo reaches past the box it is drawn in, so the name needs clearing
     room rather than the gap the sphere alone would ask for */
  display: grid; justify-items: center; gap: 20px;
}
.vyra-orb--env { width: clamp(75px, 7.5vw, 112px); }
.env__core-n { font-size: 11px; letter-spacing: .22em; color: var(--wait); }

/* ---- the environment, in the hand ---------------------------------- */

.envm { margin-top: 32px; display: grid; max-width: 520px; margin-inline: auto; }
.feeds { margin-top: 16px; display: grid; gap: 13px; }
.feeds li { display: grid; grid-template-columns: 86px 44px 8px 1fr; align-items: center; }
.feeds__s { text-align: right; font-size: 13px; color: var(--ink-5); }
.feeds li .dot:first-of-type { justify-self: center; width: 5px; height: 5px; min-width: 5px; min-height: 5px; }
.feeds li .dot:nth-of-type(2) { width: 8px; height: 8px; }
.feeds__d { font-size: 15px; color: var(--ink-1); padding-left: 11px; }
.feeds .is-truth .feeds__s { color: var(--ink-1); }

.drop { width: 100%; height: 64px; }
.drop canvas { height: 100%; }

.envm__core { display: grid; justify-items: center; }
.envm__orb { width: 150px; display: grid; place-items: center; }
.vyra-orb--mid { width: 100%; }
.envm__n { font-size: 10px; letter-spacing: .2em; color: var(--wait); margin-top: 10px; }
.envm__say { font-size: 12px; color: var(--ink-5); margin-top: 10px; }

.boards { margin-top: 15px; display: grid; gap: 11px; }
.boards li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--ink-4); }
.boards .is-on { color: #fff; }
.boards li .dot { width: 6px; height: 6px; min-width: 6px; min-height: 6px; }

/* ---- the fulfillment board ----------------------------------------- */

/* The board is a board: the nine on the left, the one that is open on the
   right, and her note at the top of it in her own voice. */
.fulfil {
  margin-top: clamp(32px, 3.4vw, 56px);
  background: var(--prod); border: 1px solid var(--edge); border-radius: var(--pane-r);
  display: grid; overflow: hidden;
}
@media (min-width: 900px) { .fulfil { grid-template-columns: clamp(230px, 19vw, 268px) minmax(0, 1fr); } }

.rail { padding: clamp(18px, 1.8vw, 26px) clamp(12px, 1.2vw, 18px); }
@media (min-width: 900px) { .rail { border-right: 1px solid var(--edge); } }
@media (max-width: 899px) { .rail { border-bottom: 1px solid var(--edge); } }
.rail ul { display: grid; gap: 2px; }
.rail__b {
  width: 100%; font: inherit; text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: 11px;
  padding: 9px 12px; border: 0; border-radius: 8px; background: none;
  font-size: clamp(13px, 1.05vw, 15px); color: var(--ink-4);
  transition: background-color .18s ease, color .18s ease;
}
.rail__b:hover { color: var(--ink-2); background: #141a23; }
.rail__b.is-on { background: #171f2b; color: var(--ink); }
.rail__b .dot { width: 6px; height: 6px; min-width: 6px; min-height: 6px; }
.rail__n {
  margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: 0;
  background: var(--hot); color: #1a1205; border-radius: 99px; padding: 1px 6px;
}

/* Collapse to one board only once a script is there to open the others. */
.js .boardp:not(.is-open) { display: none; }
.boardp + .boardp { margin-top: clamp(28px, 3vw, 44px); }
.js .boardp + .boardp { margin-top: 0; }
.boardp:focus-visible { outline-offset: 6px; }

/* What the board holds, in a line, under its name. Quiet: it is a label for
   the thing below it, not a statement competing with her note. */
.boardp__holds {
  margin-top: 10px; max-width: 62em;
  font-size: clamp(13px, 1.05vw, 15px); line-height: 1.55; color: var(--ink-5);
}

/* Eight of the nine carry placeholder figures and say so in their own source
   line. It reads as part of the sentence rather than a badge stuck on, which
   is what keeps it honest without making the board look broken. */
.boardp:not(.is-open) .fulfil__src,
.boardp .fulfil__src { color: var(--ink-5); }

.fulfil__main { min-width: 0; padding: clamp(18px, 1.9vw, 28px); }
.fulfil__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fulfil__t { display: flex; align-items: center; gap: 9px; font-size: clamp(11px, .95vw, 14px); color: var(--ink-1); }
.fulfil__src { display: flex; align-items: center; gap: 9px; font-size: clamp(9px, .85vw, 12px); color: var(--ink-5); }

.fulfil__say {
  display: flex; gap: 16px; align-items: start;
  margin-top: clamp(14px, 1.5vw, 22px); padding: clamp(14px, 1.5vw, 20px);
  background: var(--deep); border: 1px solid var(--edge-2); border-radius: 14px;
}
.vyra-orb--say { width: 34px; flex: none; margin-top: -2px; }
.fulfil__say p { font-size: clamp(14px, 1.08vw, 17px); line-height: 1.6; color: var(--ink-2); }

.orders { width: 100%; border-collapse: collapse; margin-top: clamp(16px, 1.8vw, 26px); }
.orders th {
  text-align: left; font-weight: 400; font-size: clamp(10px, .82vw, 12px);
  color: var(--ink-5); padding: 0 14px 12px 0; border-bottom: 1px solid var(--edge-2);
}
.orders th:last-child, .orders td:last-child { padding-right: 0; }
.ord__h-did { color: var(--ink-2); }
.orders td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--edge-3); vertical-align: middle; }
.orders tr:last-child td { border-bottom: 0; }
.ord__id { font-size: clamp(12px, 1vw, 14px); color: var(--ink-2); letter-spacing: .05em; white-space: nowrap; }
/* An order number is a code and sits in mono; a supplier or a measure is a
   name and does not. It also has to be free to wrap. */
.ord__name { font-size: clamp(13px, 1.05vw, 16px); color: var(--ink-1); padding-right: 20px; }
.ord__age { font-size: clamp(11px, .95vw, 13px); color: var(--ink-4); letter-spacing: .05em; white-space: nowrap; }
.ord__age.is-hot { color: var(--hot); }
.ord__did { font-size: clamp(13px, 1.05vw, 16px); color: var(--ink-2); }

/* A contained status is the one place on this page a chip earns its keep:
   it is a state the board itself holds, not a label put on a noun. */
.chip {
  display: inline-block; white-space: nowrap;
  font-family: var(--mono); font-size: clamp(10px, .82vw, 12px); letter-spacing: .06em;
  padding: 5px 11px; border-radius: 7px;
  background: #1c2230; color: var(--ink-4);
}
.chip--hot { background: #3a2c11; color: var(--hot); }
.chip--wait { background: #1e2735; color: var(--ink-3); }
.chip--ok { background: #12301f; color: var(--watch); }
.chip--cool { background: #1a2433; color: var(--wait); }

.fulfil__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(14px, 1.5vw, 20px);
}
.fulfil__rest { font-size: clamp(12px, 1vw, 14px); color: #6b7482; }
.fulfil__tally { font-size: clamp(10px, .85vw, 12px); color: var(--ink-5); letter-spacing: .1em; }

/* In the hand there is no room for four columns, and a table that has to be
   clipped to fit is worse than no table. Each order becomes its own row:
   the id, how long it has waited and where it stands on one line, and what
   she did about it under them. The nine boards are listed in full in the
   section above, so the rail stands down rather than costing a screen. */
@media (max-width: 899px) {
  /* The rail is the only way to reach the other eight boards, so in the hand
     it turns on its side into a scrolling strip rather than disappearing. */
  .rail {
    padding: 12px 0 12px 14px;
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail ul { grid-auto-flow: column; grid-auto-columns: max-content; gap: 6px; padding-right: 14px; }
  .rail__b { white-space: nowrap; padding: 8px 14px; border-radius: 99px; background: #11161f; }
  .rail__b.is-on { background: #1d2635; }
  .rail__n { margin-left: 2px; }


  .orders { margin-top: clamp(14px, 1.6vw, 20px); }
  /* The column names still belong to the table for anyone reading it aloud,
     so they are hidden rather than dropped — on the cells themselves, so no
     header escapes a clipped parent. */
  .orders thead th {
    position: absolute; width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  /* tbody only: the head row still exists for anyone reading the table
     aloud, and must not be given a card of its own to paint. */
  .orders tbody, .orders tbody tr, .orders tbody td { display: block; }
  .orders tbody tr {
    display: grid; grid-template-columns: auto auto 1fr; gap: 9px 12px; align-items: center;
    background: var(--tile); border: 1px solid var(--edge-2); border-radius: 12px;
    padding: 13px; margin-top: 9px;
  }
  .orders tbody tr:first-child { margin-top: 0; }
  .orders tbody td { padding: 0; border: 0; }
  .orders tbody td:nth-child(3) { justify-self: end; }
  .ord__did { grid-column: 1 / -1; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
}

/* ---- context ------------------------------------------------------- */

/* One panel, one seam. The two halves are not separate cards — they are the
   same context described from two directions, which is the whole point. */
.ctx {
  margin-top: clamp(32px, 3.4vw, 56px);
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--pane-r);
  overflow: hidden;
}
.ctx__cols { display: grid; }
@media (min-width: 900px) { .ctx__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ctx__c { padding: var(--pane-p); }
@media (min-width: 900px) { .ctx__c + .ctx__c { border-left: 1px solid var(--rule); } }
@media (max-width: 899px) { .ctx__c + .ctx__c { border-top: 1px solid var(--rule); } }

.ctx__cap { font-size: var(--cap); }
.ctx__cap--set { color: var(--wait); }
.ctx__cap--learn { color: var(--watch); }
.ctx__sub { font-size: clamp(13px, 1vw, 15px); color: var(--ink-5); margin-top: 12px; }

.marks { margin-top: 18px; display: grid; gap: 12px; }
.marks li {
  position: relative; padding-left: 20px;
  font-size: clamp(14px, 1.1vw, 18px); line-height: 1.5; color: var(--ink-2);
}
.marks li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--ink-7);
}
.marks--set li::before { background: var(--wait); }
.marks--learn li::before { background: var(--watch); }
.marks--held li::before { background: var(--hot); }
.marks--gone li { color: #6b7482; }

/* Both run into her, inside the same panel they came from. */
.meet {
  position: relative; display: grid; justify-items: center;
  border-top: 1px solid var(--rule);
  /* the shader merges its two streams at 54% of its own height, and she has
     to stand exactly there, so both read off the one number */
  --meet-h: clamp(120px, 11vw, 180px);
}
.meet__gl { width: 100%; height: var(--meet-h); }
.meet__her {
  position: absolute; left: 50%; top: calc(var(--meet-h) * 0.54);
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
}
.vyra-orb--meet { width: clamp(56px, 5.4vw, 78px); }
.meet__cap {
  font-size: clamp(10px, .82vw, 12px); color: var(--wait);
  padding: 0 20px clamp(16px, 1.6vw, 24px); text-align: center;
}

/* ---- three domains ------------------------------------------------- */

/* The three marks, bare, one size, one treatment, each on a line down into
   the domain it feeds. The ring is a container the design asked for; the mark
   inside it is the real one, never a redrawn approximation. */
.feedsrc { display: none; }
@media (min-width: 900px) {
  .feedsrc {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 1.4vw, 20px); margin-top: clamp(32px, 3.4vw, 56px);
  }
  .feedsrc li { display: grid; justify-items: center; }
  .feedsrc__m {
    width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center;
    background: #141a24; border: 1px solid var(--edge-2);
  }
  .feedsrc__l { width: 1px; height: 42px; background: #8aa6b833; }
  .feedsrc__l--hot { background: #e8a33d5c; }
  .feedsrc__l--watch { background: #1abe9047; }
}

.three { display: grid; gap: clamp(12px, 1.4vw, 20px); margin-top: clamp(32px, 3.4vw, 56px); }
@media (min-width: 900px) { .three { margin-top: 0; } }
@media (min-width: 900px) { .three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.three .pane { padding: clamp(15px, 1.6vw, 24px); border-radius: 14px; }
.three__say { font-size: clamp(14px, 1.1vw, 17px); line-height: 1.55; color: var(--ink-1); margin-top: 9px; }

.conv { display: grid; justify-items: center; }
.conv__gl { width: 100%; height: clamp(120px, 11vw, 180px); }
.conv__out {
  font-size: clamp(17px, 1.6vw, 26px); line-height: 1.5; letter-spacing: -.01em;
  color: var(--ink); margin-top: 12px;
}

/* ---- the record ---------------------------------------------------- */

/* The four records are the visual here. What the section needed was the
   reach INTO them, not a diagram behind them — branches drawn under the cards
   are occluded by the cards, and all that survives is a bloom in the gutter. */
.kept { position: relative; margin-top: clamp(32px, 3.4vw, 56px); }
.kept__gl { position: absolute; inset: 0; pointer-events: none; }
/* She sits in the gap the four records leave for her. */
.kept__her {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 8px; z-index: 1;
}
.vyra-orb--kept { width: clamp(64px, 6.2vw, 92px); }
.kept__n { font-size: clamp(9px, .78vw, 11px); letter-spacing: .22em; color: var(--wait); }
.recs { position: relative; display: grid; gap: clamp(12px, 1.4vw, 20px); }
@media (min-width: 900px) { .recs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(120px, 13vw, 200px); row-gap: clamp(90px, 9vw, 140px); } }
.recs .pane { padding: clamp(16px, 1.7vw, 26px); border-radius: 14px; }
.rec__when { font-size: clamp(10px, .82vw, 13px); }
.rec__when--hot { color: var(--hot); }
.rec__when--watch { color: var(--watch); }
.rec__when--wait { color: var(--wait); }
.rec__what {
  font-size: clamp(16px, 1.4vw, 22px); line-height: 1.4; letter-spacing: -.01em;
  color: var(--ink); margin-top: 10px;
}
.rec__then { font-size: clamp(13px, 1.05vw, 17px); line-height: 1.55; color: var(--ink-4); margin-top: 10px; }
.kept__tail {
  position: relative; margin-top: clamp(20px, 2vw, 32px);
  font-size: clamp(14px, 1.08vw, 18px); line-height: 1.6; color: var(--ink-5);
}

/* ---- she lives in it ----------------------------------------------- */

.lives { margin-top: clamp(28px, 3vw, 48px); display: grid; gap: clamp(20px, 2.4vw, 44px); align-items: center; }
@media (min-width: 900px) { .lives { grid-template-columns: auto minmax(0, 1fr); } }
.lives { background: var(--prod); border-color: var(--edge); }
.lives__orb { width: clamp(150px, 15vw, 190px); aspect-ratio: 1; display: grid; place-items: center; justify-self: center; }
.lives__copy p { font-size: clamp(15px, 1.25vw, 22px); line-height: 1.6; color: var(--ink-2); }
.lives__foot { font-size: clamp(10px, .82vw, 13px); color: var(--ink-6); margin-top: 18px; }

/* ---- four states --------------------------------------------------- */

.four { display: grid; gap: clamp(14px, 1.5vw, 22px); margin-top: clamp(32px, 3.4vw, 56px); }
@media (min-width: 900px) { .four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* The caption sits on its own row and the card takes the rest, so four
   cards of different length still end on the same line. */
.four > li { display: grid; grid-template-rows: auto 1fr; gap: 10px; }
.four__cap { font-size: clamp(10px, .82vw, 13px); display: flex; align-items: center; gap: 8px; color: var(--hot); }
.four > li:nth-child(2) .four__cap { color: var(--wait); }
.four > li:nth-child(3) .four__cap { color: var(--watch); }
.four__cap--dim { color: var(--ink-5); }

.card--tall { background: var(--deep); border-color: var(--edge-2); border-radius: 14px; padding: 15px; height: 100%; align-content: start; gap: 11px; }
.card__tag { font-size: 9px; letter-spacing: .14em; }
.card__tag--hot { color: var(--hot); }
.card__tag--watch { color: var(--watch); }
.card__sub { font-size: 13px; line-height: 1.5; color: var(--ink-4); }
.card__acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.card__acts .btn { padding: 9px 14px; font-size: 13px; }
.card__by { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-2); }
.card__by .ask__who { width: 22px; height: 22px; font-size: 12px; }
.card__age { font-size: 10px; color: var(--ink-5); letter-spacing: .08em; }
.card__link { font-size: 13px; color: var(--wait); }

/* ---- the ladder ---------------------------------------------------- */

.ladder { position: relative; margin-top: clamp(32px, 3.4vw, 56px); background: var(--prod); border-color: var(--edge); }
/* The reach rides the rails themselves, so the canvas is the rail strip and
   nothing else. Its four bars are laid out on the same proportions the shader
   assumes (344 wide, 32 apart, in 1472), which is why the gap below is a
   percentage rather than a pixel count — at any width the painted reach and
   the drawn rails stay on top of each other. */
.ladder__gl { position: absolute; left: 0; right: 0; top: 0; height: 8px; pointer-events: none; display: none; }

.steps { position: relative; display: grid; gap: 18px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2%; row-gap: 32px; }
  .ladder__gl { display: block; }
}

.step { position: relative; display: grid; gap: 5px; align-content: start; padding-left: 22px; }
.step__rail { position: absolute; left: 0; top: 2px; bottom: 2px; width: 8px; border-radius: 99px; background: var(--edge-3); }
.is-past .step__rail { background: rgba(232, 163, 61, .6); }
.is-now .step__rail { background: var(--hot); }

/* The line she cannot cross. Wide, the rails run along the top and the gate
   stands between two of them; in the hand the whole ladder turns on its side
   and the gate lies across it. */
.step__gate { position: absolute; left: -8px; top: -10px; width: 24px; height: 2px; border-radius: 99px; background: var(--hot); }

.step__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.step__n { font-size: clamp(10px, .82vw, 13px); color: var(--ink-5); }
.is-shut .step__n { color: var(--ink-7); }
.step__here { font-size: 9px; letter-spacing: .12em; color: var(--hot); }
.step__no { font-size: 9px; letter-spacing: .12em; color: var(--ink-6); }
.step__name { font-size: clamp(17px, 1.5vw, 24px); line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.is-shut .step__name { color: var(--ink-6); }
.step__say { font-size: clamp(13px, 1.05vw, 15px); line-height: 1.5; color: var(--ink-4); }
.is-shut .step__say { color: #525b66; }

@media (min-width: 900px) {
  .step { padding-left: 0; padding-top: 26px; }
  /* LEVEL 02 carries a second label and the others do not. Stack it and hold
     the same two rows in all four, or one wrapping label drops that column's
     name below its neighbours'. */
  .step__top { display: grid; justify-items: start; gap: 3px; min-height: 38px; align-content: start; }
  .step__rail { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 8px; }
  /* Half the column gap, expressed against the step's own width: the gap is
     2% of the grid and a step is 24.5% of it, so half a gap is 4.082% of a
     step. That keeps the gate dead centre in the gap at any page width. */
  .step__gate { left: -4.082%; margin-left: -1px; top: -8px; width: 2px; height: 24px; }
}

/* ---- what changes -------------------------------------------------- */

.swap { display: grid; gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(32px, 3.4vw, 56px); }
@media (min-width: 900px) { .swap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pane--gone { background: #0e131a; border-color: #1b2229; }
.pane--held { background: var(--card); border-color: var(--edge-2); }
.pane--held .marks li { color: var(--ink-1); }

.hand { height: clamp(100px, 9vw, 140px); margin-top: clamp(20px, 2vw, 32px); }

/* ---- the film -------------------------------------------------------

   A still, not an embed. Nothing of YouTube's is loaded until someone asks
   for it: no iframe, no player script, no cookie. The still is the film's
   own opening frame, already on this server.

   The control is a real link to the film, so with no JavaScript it still
   takes you there; film.js upgrades that same link into the player in
   place. There is no state in which the thing is unplayable.
   --------------------------------------------------------------------- */

.film {
  max-width: 1180px;
  margin: clamp(36px, 4vw, 64px) auto 0;
}

.film__go,
.film__frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--pane-r);
  background: var(--prod);
  border: 1px solid var(--edge);
  overflow: hidden;
}

.film__go {
  position: relative;
  text-decoration: none;
}

.film__frame {
  border-color: var(--edge);
}

.film__still {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The film opens in the dark, so the type needs little help and the scrim
   resolves to nothing well before the frame's own edge rather than ending
   on a line across it. */
.film__face {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: clamp(22px, 3vw, 40px);
  background: linear-gradient(0deg,
      rgba(12, 18, 27, .84) 0%,
      rgba(12, 18, 27, .52) 48%,
      rgba(12, 18, 27, 0) 100%);
}

/* the mark itself, with nothing parked behind it */
.film__play {
  flex: none;
  width: 0;
  height: 0;
  border-left: 16px solid var(--ink);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  transition: transform .24s cubic-bezier(.33, .9, .3, 1);
}

.film__said {
  font-size: clamp(16px, 1.3vw, 20px);
  color: var(--ink);
  text-shadow: 0 1px 8px rgba(16, 16, 16, .8);
}

.film__meta {
  position: absolute;
  top: clamp(22px, 3vw, 40px);
  left: clamp(22px, 3vw, 40px);
  font-size: var(--cap);
  color: var(--ink-2);
  text-shadow: 0 1px 8px rgba(16, 16, 16, .8);
}

/* the mark travels; the frame it sits on does not move */
.film__go:focus-visible .film__play,
.film__go:active .film__play {
  transform: translateX(5px);
}

@media (hover: hover) {
  .film__go:hover .film__play {
    transform: translateX(5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .film__play {
    transition: none;
  }
}

/* ---- cta and footer ------------------------------------------------ */

.cta__go { margin-top: 28px; }

.foot { margin-top: var(--gap); padding-bottom: clamp(32px, 3vw, 56px); }
.foot__top {
  display: grid; gap: clamp(28px, 3vw, 56px);
  padding-top: clamp(28px, 3vw, 48px); border-top: 1px solid var(--rule);
}
@media (min-width: 900px) { .foot__top { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } }
.foot__mark { font-size: clamp(24px, 2.2vw, 34px); color: var(--ink); letter-spacing: .02em; }
.foot__say { font-size: clamp(14px, 1.05vw, 16px); line-height: 1.6; color: var(--ink-5); margin-top: 12px; max-width: 420px; }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 64px); }
.foot__cols div { display: grid; gap: 11px; align-content: start; }
.foot__cap { font-size: 9px; color: var(--ink-6); }
.foot__cols a { font-size: clamp(13px, 1.05vw, 16px); color: var(--ink-3); }
.foot__cols a:hover { color: var(--ink); }

.foot__base {
  display: grid; gap: 12px; margin-top: clamp(24px, 2.6vw, 40px);
  padding-top: clamp(16px, 1.8vw, 26px); border-top: 1px solid var(--rule);
}
@media (min-width: 900px) { .foot__base { grid-template-columns: auto auto; justify-content: space-between; align-items: center; } }
.foot__legal { display: flex; gap: 20px; }
.foot__legal a, .foot__c { font-size: clamp(13px, 1vw, 14px); color: var(--ink-5); }
.foot__legal a:hover { color: var(--ink-2); }
.foot__c { color: var(--ink-6); }

/* The environment read left to right needs more width than the rest of the
   page does: five labels, seven, then nine, with the lines between them. It
   gets its own threshold rather than the page's, and hands over to the
   top-to-bottom version well before anything starts to crowd. */
@media (max-width: 1099px) { .env { display: none; } }
@media (min-width: 1100px) { .envm { display: none; } }

/* ---- which composition --------------------------------------------- */

@media (min-width: 900px) { .only-tall { display: none !important; } }
@media (max-width: 899px) { .only-wide { display: none !important; } }

/* Headings break into lines of even length rather than wherever the line
   runs out, so a narrow screen never strands one word on a line of its own;
   running text avoids a lone last word the same way. */
h1,
h2,
h3 {
  text-wrap: balance
}

p,
li {
  text-wrap: pretty
}

/* ---- in the hand: parallel sets become rails ----------------------------
   On a phone a set of parallel things (entries, situations, tiers, records)
   stacked into one column runs two screens long, and every one of them reads
   as more of the same. Turned on its side it is one row you swipe through, the
   next card always showing at the edge so the row says there is more. Every
   card is still in the page; nothing is hidden behind a control. The count
   under each rail is drawn by js/rail.js. */
@media (max-width: 759px) {
  :root {
    --gap: 64px;
  }

  [data-rail] {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  [data-rail]::-webkit-scrollbar {
    display: none;
  }

  [data-rail] > * {
    flex: 0 0 min(86%, 340px);
    min-width: 0;
    scroll-snap-align: start;
  }

  /* a rail that stands on the page, not inside a card, runs to the screen's
     edges so the next card is cut by the glass, not by the gutter */
  [data-rail].rail--bleed {
    margin-left: calc(-1 * var(--gut));
    margin-right: calc(-1 * var(--gut));
    padding-left: var(--gut);
    padding-right: var(--gut);
    scroll-padding-left: var(--gut);
  }

  [data-rail]:focus-visible {
    outline: 2px solid var(--ink-5);
    outline-offset: 4px;
    border-radius: 6px;
  }

  /* the briefing's lanes are columns of different length: each keeps its own
     height rather than stretching its cards to the longest */
  .app__lanes[data-rail] {
    align-items: flex-start;
    scroll-padding-left: 14px;
  }

  .app .rail-n {
    margin-top: 0;
    padding: 0 14px 14px;
  }

  .rail-n {
    margin-top: 12px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .08em;
    font-variant-numeric: tabular-nums;
    color: var(--ink-5);
  }
}

/* ---- in the hand: one type scale ----------------------------------------
   Stacked on a phone the page headline, the section headings and the card
   headings had all come out between 26 and 30 pixels, so nothing outranked
   anything and a section heading read as loud as the page's own claim. Three
   clear steps instead: the page's headline, a section's, a card's. Section
   headings also lose the narrow measures they were set to on a wide frame,
   which stacked them three and four lines deep in a column this narrow. */
@media (max-width: 759px) {
  main h1,
  h1.statement__h,
  h1.belief__h {
    font-size: 32px;
    line-height: 1.12;
    letter-spacing: -.022em;
  }

  .head h2,
  h2.split__h,
  h2.band__h,
  h2.statement__h,
  h2.fic__h {
    font-size: 24px;
    line-height: 1.22;
    letter-spacing: -.012em;
    max-width: none;
  }
}

/* The company line and the way to reach it, in the footer's own words: the
   links sit in the sentence, so they are underlined to read as links. */
.foot__say a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.foot__say a:hover,
.foot__say a:focus-visible {
  color: var(--ink);
}

/* the briefing is an example business, and says so */
.brief__ex { font-size: clamp(10px, .8vw, 12px); letter-spacing: .14em; color: var(--ink-4); margin-bottom: 14px; }

/* the footer's small captions and copyright line at a readable contrast
   (ink-6 measured 3.4 to 1 on the page; ink-4 clears 4.5) */
.foot__cap,
.foot__c {
  color: var(--ink-4);
}
