:root{
    --ground:#06090C;--panel:#0D1318;--panel-2:#111820;
    --edge:#1E2831;--edge-hi:#2C3A46;
    --ink:#DEE8EE;--ink-2:#8FA0AC;--ink-3:#586873;
    --cold:#3ED8EA;--warm:#FFB020;--hot:#FF4438;--ok:#5FE3A1;
    --live:var(--cold);
    --mono:"IBM Plex Mono",ui-monospace,Menlo,monospace;
    --cond:"Barlow Condensed","Barlow",system-ui,sans-serif;
    --sans:"Barlow",system-ui,-apple-system,Segoe UI,sans-serif;
    --serif:"Spectral",Georgia,"Times New Roman",serif;
  }
  *{box-sizing:border-box}
  body{background:var(--ground);color:var(--ink);font-family:var(--sans);font-size:15.5px;line-height:1.6;margin:0;overflow-x:hidden;-webkit-font-smoothing:antialiased}
  .wrap{max-width:1080px;margin:0 auto;padding:0 24px 96px}

  .mast{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:18px 0 16px;border-bottom:1px solid var(--edge)}
  /* the wordmark. ".run" is set as a key tag rather than a trailing suffix --
     a hotel identifies itself with a plate, and the TLD is doing the work of
     one here. */
  .brand{display:flex;align-items:center;gap:11px}
  .brand b{font-family:var(--cond);font-size:29px;font-weight:600;letter-spacing:.085em;text-transform:uppercase;line-height:1}
  .brand .tld{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.16em;
              color:var(--ink-2);border:1px solid var(--edge-hi);padding:4px 7px 3px;line-height:1;position:relative;top:1px}
  .brand .tld:hover{color:var(--cold);border-color:var(--cold)}
  .brand .rooms{font-family:var(--mono);font-size:9.5px;letter-spacing:.15em;text-transform:uppercase;color:var(--ink-3);
                border-left:1px solid var(--edge);padding-left:11px;line-height:1.4}
  .strip{display:flex;gap:22px;font-family:var(--mono);font-size:11.5px;color:var(--ink-3)}
  .strip i{font-style:normal;color:var(--ink-2)}
  .dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--ok);margin-right:6px;vertical-align:middle}

  .hero{padding:52px 0 34px;display:grid;grid-template-columns:1.12fr .88fr;gap:52px;align-items:start}
  /* A grid item defaults to min-width:auto, so it refuses to shrink below its
     content's intrinsic size -- and the vista carries an intrinsic 528px. That
     forced the column wider than the viewport on a phone, and overflow-x:hidden
     on the body then clipped the headline and the body copy rather than
     revealing the problem. max-width:100% does not help: it is the track sizing
     that has to be allowed to go smaller. */
  .hero > *{min-width:0}
  /* the view, generated by scripts/vista.js. pixelated on purpose: every pixel
     is one of fourteen flat colours and the blending is done by dithering,
     which is how you get depth without a gradient. */
  .vista{display:block;width:100%;height:auto;margin:0 0 20px;border:1px solid var(--edge);image-rendering:pixelated}
  h1{font-family:var(--cond);font-size:clamp(29px,7.2vw,60px);line-height:.98;font-weight:600;margin:0 0 18px;text-transform:uppercase;text-wrap:balance}
  .thesis{font-family:var(--serif);font-size:19px;font-style:italic;font-weight:300;color:var(--ink);margin:0 0 20px;line-height:1.5}
  .lede{color:var(--ink-2);font-size:16px;max-width:54ch;margin:0 0 13px}
  .lede b{color:var(--ink);font-weight:500}

  .cmdcard{border:1px solid var(--edge);background:var(--panel);padding:18px}
  .eyebrow{font-family:var(--mono);font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:var(--ink-3);margin-bottom:12px}
  .cmdline{font-family:var(--mono);font-size:13px;background:var(--ground);border:1px solid var(--edge);padding:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}
  .cmdline span{overflow-x:auto;white-space:nowrap}
  .copy{font-family:var(--mono);font-size:10.5px;color:var(--ink-3);background:none;border:1px solid var(--edge-hi);padding:4px 8px;cursor:pointer;flex:none;text-transform:uppercase;letter-spacing:.06em}
  .copy:hover{color:var(--cold);border-color:var(--cold)}
  .cmdcard p{font-size:13px;color:var(--ink-3);margin:12px 0 0;line-height:1.55}

  /* The null result, in the most valuable space on the page. It is the most
     credible thing here precisely because it is the least flattering. */
  .herocol{min-width:0}
  .finding{display:block;border:1px solid var(--edge);background:var(--panel);padding:18px;margin-top:18px;text-decoration:none;color:inherit}
  .finding:hover{border-color:var(--edge-hi)}
  .finding .figure{font-family:var(--cond);font-size:46px;font-weight:600;line-height:.95;color:var(--ink);font-variant-numeric:tabular-nums}
  .finding .figure u{text-decoration:none;font-family:var(--mono);font-size:13px;color:var(--ink-3);margin-left:8px}
  .finding .detail{font-family:var(--mono);font-size:10.5px;letter-spacing:.08em;color:var(--ink-3);margin-top:8px;padding-bottom:12px;border-bottom:1px solid var(--edge)}
  .finding p{font-size:13.5px;color:var(--ink-2);margin:12px 0 0;line-height:1.6}
  .finding b{color:var(--ink);font-weight:500}
  .finding .more{color:var(--cold);white-space:nowrap}
  .finding .rerun{font-family:var(--mono);font-size:10.5px;line-height:1.7;color:var(--ink-3);margin-top:14px;padding-top:12px;border-top:1px solid var(--edge)}
  .finding .rerun b{color:var(--ink-2);font-weight:400}
  .finding .rerun.stale b{color:var(--warm)}

  .sec{padding-top:50px}
  .sechead{display:flex;align-items:baseline;gap:14px;margin-bottom:18px}
  .sechead h2{font-family:var(--cond);font-size:17px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;margin:0}
  .sechead hr{flex:1;border:0;border-top:1px solid var(--edge);margin:0}
  .sechead em{font-family:var(--mono);font-style:normal;font-size:11px;color:var(--ink-3)}






  /* the payload — the one quiet thing on the page */
  .payload{border-left:2px solid var(--edge);padding:6px 0 6px 34px;margin:6px 0 0;transition:border-color .8s ease}
    .payload .lines{font-family:var(--serif);font-weight:300;font-size:clamp(19px,2.3vw,25px);line-height:1.72;color:var(--ink);max-width:34ch;margin:0}
  .payload .lines span{display:block}
  .paymeta{display:flex;gap:26px;flex-wrap:wrap;margin-top:26px;font-family:var(--mono);font-size:11px;color:var(--ink-3)}
  .paymeta i{font-style:normal;color:var(--ink-2)}
  .paynote{font-size:14.5px;color:var(--ink-2);max-width:62ch;margin:22px 0 0;line-height:1.65}


  .term{border:1px solid var(--edge);background:var(--panel);padding:18px 20px;font-family:var(--mono);font-size:12.5px;line-height:1.85;overflow-x:auto;white-space:pre-wrap;overflow-wrap:anywhere}
  .term .c{color:var(--ink-3)}
  .term .k{color:var(--cold)}
  .term .w{color:var(--hot)}
  .term .g{color:var(--ok)}

  .specs{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--edge);border:1px solid var(--edge);margin-top:20px}
  .spec{background:var(--panel);padding:17px 19px}
  .spec h4{font-family:var(--cond);font-size:17px;margin:0 0 6px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}
  .spec p{margin:0;font-size:13.5px;color:var(--ink-2);line-height:1.55}
  .spec p b{color:var(--ink);font-weight:500;font-variant-numeric:tabular-nums}

  .tblwrap{overflow-x:auto}
  .tbl{width:100%;border-collapse:collapse;font-family:var(--mono);font-size:12.5px}
  .tbl th{text-align:right;font-size:9.5px;letter-spacing:.13em;text-transform:uppercase;color:var(--ink-3);font-weight:500;padding:0 0 10px;border-bottom:1px solid var(--edge)}
  .tbl th:first-child,.tbl td:first-child{text-align:left}
  .tbl td{text-align:right;padding:11px 0;border-bottom:1px solid var(--edge);color:var(--ink-2);font-variant-numeric:tabular-nums}
  .tbl td:first-child{color:var(--ink);font-weight:500}
  .tbl tr:last-child td{border-bottom:0}
  .tbl .rank{color:var(--ink-3);width:26px;padding-right:14px}
  .pill{display:inline-block;font-size:9.5px;letter-spacing:.1em;text-transform:uppercase;padding:2px 7px;border:1px solid}
  .pill.h{color:var(--hot);border-color:rgba(255,68,56,.4)}
  .pill.w{color:var(--warm);border-color:rgba(255,176,32,.4)}
  .pill.c{color:var(--cold);border-color:rgba(62,216,234,.4)}

  footer a{color:var(--ink-3);text-decoration:none;border-bottom:1px solid var(--edge)}
  footer a:hover{color:var(--cold)}
  footer{margin-top:58px;padding-top:20px;border-top:1px solid var(--edge);display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-family:var(--mono);font-size:11px;color:var(--ink-3)}


  /* the panel — every instrument, with what it takes and what it returns */
  .panel-note{font-size:14.5px;color:var(--ink-2);max-width:66ch;margin:0 0 20px;line-height:1.65}
  /* for a reader who does not already know what an agent is */
  .plain{max-width:68ch}
  .plain p{font-size:16px;color:var(--ink-2);line-height:1.75;margin:0 0 16px}
  .plain b{color:var(--ink);font-weight:500}
  .steps{list-style:none;counter-reset:step;margin:24px 0 22px;padding:0}
  .steps li{counter-increment:step;position:relative;padding:0 0 16px 46px;font-size:15.5px;color:var(--ink-2);line-height:1.7}
  .steps li::before{content:counter(step);position:absolute;left:0;top:1px;width:28px;height:28px;
    border:1px solid var(--edge-hi);color:var(--ink-3);font-family:var(--mono);font-size:12px;
    display:flex;align-items:center;justify-content:center}
  .steps li::after{content:'';position:absolute;left:14px;top:31px;bottom:2px;width:1px;background:var(--edge)}
  .steps li:last-child{padding-bottom:0}
  .steps li:last-child::after{display:none}
  .tbl td.io{font-size:11.5px;color:var(--ink-3);text-align:left}
  .tbl th.iohead{text-align:left}
  .tbl td.name{white-space:nowrap}
  .tbl td.free{color:var(--ok)}
  .tbl td.keyed{color:var(--warm)}

  /* the resort — plan view, full bleed. every figure is one real agent.
     It breaks out of the 1080px column deliberately: at 720x300 inside the
     column the deck was a postage stamp, and the whole point is to be able to
     see who is here. */
  .pond{position:relative;background:var(--panel-2);border-top:1px solid var(--edge);border-bottom:1px solid var(--edge);
        width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
  #pond{display:block;width:100%;height:auto;aspect-ratio:35/17;max-height:86vh}
  .pondkey{position:absolute;left:20px;top:16px;font-family:var(--mono);font-size:10.5px;color:var(--ink-3);letter-spacing:.06em}

  /* the readout sits over the deck rather than beside it, so the scene keeps
     the whole width */
  .pondstat{display:grid;grid-template-columns:210px 210px 1fr;border:1px solid var(--edge);background:var(--panel);margin-bottom:18px}
  .ps{padding:14px 18px;border-right:1px solid var(--edge)}
  .ps:last-child{border-right:0}
  .ps label{display:block;font-family:var(--mono);font-size:9.5px;letter-spacing:.13em;text-transform:uppercase;color:var(--ink-3);margin-bottom:7px}
  .ps .v{font-family:var(--cond);font-size:38px;font-weight:500;line-height:.9;font-variant-numeric:tabular-nums}
  .ps .v u{text-decoration:none;font-size:12px;color:var(--ink-3);margin-left:5px;font-family:var(--mono)}
  .feed{font-family:var(--mono);font-size:11px;line-height:1.85;color:var(--ink-3);overflow:hidden}
  .feed div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .feed b{color:var(--ink-2);font-weight:400}
  .pondfoot{font-family:var(--mono);font-size:11px;color:var(--ink-3);margin-top:16px;line-height:1.6}

  /* an honest label for the parts of this page that are a demonstration */
  .sim{display:inline-block;font-family:var(--mono);font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3);border:1px solid var(--edge-hi);padding:1px 5px;vertical-align:1px}

  @media (max-width:880px){
    #pond{aspect-ratio:7/6;max-height:none}
    .pondstat{grid-template-columns:1fr 1fr}
    .ps{border-bottom:1px solid var(--edge)}
    .ps .v{font-size:30px}
  }

  @media (max-width:880px){
    .hero{grid-template-columns:1fr;gap:32px;padding-top:38px}
    .specs{grid-template-columns:1fr}
    .payload{padding-left:22px}
  }
  @media (max-width:640px){
    .wrap{padding:0 16px 64px}
    .sec{padding-top:36px}

    /* the masthead was a flex row of four readings, and on a phone it wrapped
       mid-phrase -- "in circulation" on one line, its number on the next */
    .mast{gap:14px;padding:14px 0 12px}
    .brand b{font-size:24px}
    .brand .rooms{display:none}
    .strip{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;width:100%;font-size:11px}
    .strip div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

    .hero{padding:26px 0 22px;gap:24px}
    .thesis{font-size:17px}
    .lede{font-size:15px}
    .cmdcard{padding:14px}
    /* This is the whole call to action; truncating it to fit a copy button on
       the same line hides the half that matters. */
    .cmdline{padding:10px;font-size:12px;flex-direction:column;align-items:stretch;gap:10px}
    .cmdline span{white-space:normal;overflow:visible}
    .copy{align-self:flex-start}
    /* a 22px button is not a tap target */
    .copy{padding:9px 12px;font-size:11px}

    .payload{padding-left:18px}
    .paymeta{gap:8px 18px}

    /* The resort is 1400 units wide. Squeezed into 360 it is a smudge, so it
       scrolls instead: legible at a size worth looking at, and swipeable. The
       readout above it already carries the numbers, so nothing is lost by the
       scene starting off-screen to the right. */
    .pond{overflow-x:auto;-webkit-overflow-scrolling:touch}
    #pond{min-width:880px;aspect-ratio:35/17;max-height:none}
    .pondkey{position:static;padding:10px 16px 0}
    .pondstat{grid-template-columns:1fr}
    .ps{border-right:0;border-bottom:1px solid var(--edge)}
    .ps:last-child{border-bottom:0}

    .tbl{font-size:12px}
    .term{font-size:11.5px;padding:14px}
    footer{gap:10px}
  }

  @media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Quiet hours. Still water with one thing dropped into it: the section is about
   the absence of a request, so the picture had to be something that happens
   slowly and then stops. Twelve seconds a ring, four rings, staggered. */
.still{border:1px solid var(--edge);background:var(--panel-2);overflow:hidden;margin:0 0 30px}
.still svg{display:block;width:100%;height:220px}
.still .surface path{fill:none;stroke:rgba(62,216,234,.14);stroke-width:1}
/* non-scaling-stroke, or the transform thickens the ring as it expands, which
   is the opposite of what a ripple does */
.still .rings ellipse{fill:none;stroke:var(--cold);stroke-width:1;vector-effect:non-scaling-stroke;
  transform-origin:450px 112px;opacity:0}
.still .drop{fill:var(--cold);opacity:.4}
@keyframes spread{
  0%   {transform:scale(1);  opacity:0}
  6%   {opacity:.30}
  70%  {opacity:.07}
  100% {transform:scale(38); opacity:0}
}
.still .rings ellipse:nth-child(1){animation:spread 14s cubic-bezier(.16,.7,.3,1) infinite}
.still .rings ellipse:nth-child(2){animation:spread 14s cubic-bezier(.16,.7,.3,1) infinite 3.5s}
.still .rings ellipse:nth-child(3){animation:spread 14s cubic-bezier(.16,.7,.3,1) infinite 7s}
.still .rings ellipse:nth-child(4){animation:spread 14s cubic-bezier(.16,.7,.3,1) infinite 10.5s}
@media (prefers-reduced-motion:reduce){
  .still .rings ellipse{animation:none;opacity:.16}
  .still .rings ellipse:nth-child(2){transform:scale(9)}
  .still .rings ellipse:nth-child(3){transform:scale(18)}
  .still .rings ellipse:nth-child(4){transform:scale(27)}
}

.zen{max-width:56ch}
.zen p{font-family:var(--serif);font-weight:300;font-size:19px;line-height:1.75;color:var(--ink-2);margin:0 0 18px}
.zen p:last-child{color:var(--ink)}
.zen b{font-weight:400;color:var(--ink)}
@media (max-width:640px){
  .still svg{height:150px}
  .zen p{font-size:17px}
}

/* ambient control: reads as one more readout in the strip */
.amb{font:inherit;color:var(--ink-2);background:none;border:0;padding:0;cursor:pointer;
  border-bottom:1px dotted var(--edge-hi)}
.amb:hover{color:var(--ink)}
.amb[aria-pressed="true"]{color:var(--cold);border-bottom-color:var(--cold)}
/* the player: small, compliant, present only while on */
.player{position:fixed;right:16px;bottom:16px;z-index:40;background:var(--panel);
  border:1px solid var(--edge);padding:6px}
.player iframe{display:block;border:0}
.player-credit{display:block;margin-top:6px;font-family:var(--mono);font-size:10.5px;
  color:var(--ink-3);text-decoration:none}
.player-credit:hover{color:var(--ink-2)}
@media (max-width:640px){.player{right:8px;bottom:8px}.player iframe{width:240px;height:135px}}

/* the labyrinth: the map underneath, the dots on top, same box */
.maze{margin:18px 0 10px}
.mazeframe{position:relative;border:1px solid var(--edge);line-height:0}
.mazeframe img{display:block;width:100%;height:auto;image-rendering:pixelated}
.mazeframe svg{position:absolute;inset:0;width:100%;height:100%}
.mazeframe rect.agent{fill:var(--cold)}
.mazeframe rect.knock{fill:var(--cold);opacity:.45}
.mazeframe rect.person{fill:var(--ink)}
.mazeframe rect.passer{fill:var(--ink);opacity:.4}

