/* ---------- the drawing ---------- */
/* One drawing at every size. On a phone it is the same building scaled to the screen, to be pinched open and
   tapped room by room. It takes one screen, never less than --draw-min, and puts itself up the first time it comes
   into view. */
.home {
  --draw-min: 420px;
}
.home .lot {
  position: sticky;
  top: 0;
  height: var(--screen);
  min-height: var(--draw-min);
  display: flex;
  align-items: center;
  padding: 24px 32px;
  container-type: size;
  background: radial-gradient(
    ellipse at 50% 55%,
    var(--bg-2) 0%,
    var(--bg) 70%
  );
}
.home .stage {
  position: relative;
  margin: 0 auto;
  container-type: inline-size;
  width: min(
    100%,
    100cqh * var(--building-width, 1508) / var(--building-height, 860)
  );
  aspect-ratio: var(--building-width, 1508) / var(--building-height, 860);
}
.home .stage svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}
.home .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* the rooftop sign: a lit billboard on a steel frame, a slot for the firm's own logo and the line on its face */
.home .sg-face {
  fill: var(--panel);
  stroke: var(--steel);
  stroke-width: 1;
}
.home .sg-light {
  pointer-events: none;
}
.home .sg-steel {
  fill: none;
  stroke: rgba(230, 232, 238, 0.42);
  stroke-width: 1.1;
  stroke-linecap: square;
}
.home .sg-steel.thin {
  stroke: rgba(230, 232, 238, 0.26);
  stroke-width: 0.8;
}
.home .sg-steel.back {
  stroke: rgba(230, 232, 238, 0.16);
  stroke-width: 0.8;
}
.home .sg-deck {
  fill: #1a1e26;
  stroke: var(--steel);
  stroke-width: 0.8;
}
.home .sg-lamp {
  fill: var(--ink);
}
.home .sg-slot {
  fill: rgba(230, 232, 238, 0.03);
  stroke: rgba(230, 232, 238, 0.14);
  stroke-width: 0.8;
  stroke-dasharray: 3 4;
}
.home .sg-ph {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.025em;
  fill: rgba(230, 232, 238, 0.8);
  transition: fill 0.25s;
}
.home .sg-logo {
  cursor: pointer;
  outline: none;
}
.home .sg-logo .sg-slot {
  transition: stroke 0.25s;
}
.home .sg-logo:hover .sg-slot,
.home .sg-logo:focus-visible .sg-slot {
  stroke: var(--warm);
}
.home .sg-logo:hover .sg-ph,
.home .sg-logo:focus-visible .sg-ph {
  fill: var(--warm-hi);
}
.home .sg-line {
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: -0.01em;
  fill: var(--ink-2);
}
.home .sg-line tspan {
  font-weight: 700;
  letter-spacing: -0.035em;
  fill: var(--ink);
}

/* svg vocabulary: front cut (poche), the room's inner planes, and quiet detail */
/* the cut structure: an opaque outline snapped to whole pixels, so where two parts share an edge it stays one clean line */
.home .cut {
  fill: #1a1e26;
  stroke: var(--steel);
  stroke-width: 1;
  shape-rendering: crispEdges;
}
.home .ground {
  stroke: rgba(230, 232, 238, 0.55);
  stroke-width: 1;
}
.home .lvl {
  stroke-width: 2;
}
.home .wash {
  pointer-events: none;
}
.home .datum {
  stroke-width: 1;
  stroke-dasharray: 2 5;
  opacity: 0.45;
}
.home .tag {
  font: var(--label);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
}
/* Infrastructure, below ground, in the sign line's grey: set apart from Governance above it */
.home .tag.below {
  fill: var(--ink-2);
}
.home .pb {
  fill: rgba(230, 232, 238, 0.05);
} /* back wall */
.home .ps {
  fill: rgba(230, 232, 238, 0.025);
} /* side walls */
.home .pc {
  fill: rgba(230, 232, 238, 0.014);
} /* ceiling */
/* the Loop carved into the shaft's back wall, a shade lighter than the wall */
.home .carve,
.home .carve * {
  fill: none;
  stroke: rgba(230, 232, 238, 0.06);
  stroke-width: 0.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home .pf {
  fill: var(--f, var(--ink));
  fill-opacity: 0.045;
} /* floor, tinted by its Flight Level */
.home .ed {
  stroke: rgba(230, 232, 238, 0.2);
  stroke-width: 0.8;
  fill: none;
}
.home .mo {
  stroke: rgba(230, 232, 238, 0.2);
  stroke-width: 0.9;
  fill: none;
  transition:
    stroke 0.3s,
    stroke-opacity 0.3s;
}
.home .mof {
  fill: rgba(230, 232, 238, 0.07);
  stroke: rgba(230, 232, 238, 0.2);
  stroke-width: 0.9;
  transition:
    fill 0.3s,
    stroke 0.3s;
}
/* every room opens its card or its film, so every room answers the pointer alike */
.home .room {
  outline: none;
  cursor: pointer;
}
.home .room .hit {
  fill: var(--c);
  fill-opacity: 0;
  transition: fill-opacity 0.25s;
}
.home .room .rm {
  font: 400 10.5px var(--mono);
  fill: var(--c);
  opacity: 0;
  transition: opacity 0.25s;
  letter-spacing: 0.04em;
  paint-order: stroke;
  stroke: #0d1015;
  stroke-width: 4px;
}
.home .room.soon .rm,
.home .room.quiet .rm {
  fill: var(--ink-3);
}
.home .room:hover .hit,
.home .room.lit .hit,
.home .room:focus-visible .hit,
.home .room.on .hit {
  fill-opacity: 0.07;
}
.home .room.soon:focus-visible .hit {
  fill-opacity: 0.035;
}
/* a room's name, written on its back wall in a grey like VISION's, a little brighter when the room is lit */
.home .wname {
  font-family: var(--font);
  font-weight: 500;
  fill: rgba(230, 232, 238, 0.3);
  transition: fill 0.25s;
}
.home .room:hover .wname,
.home .room.lit .wname,
.home .room:focus-visible .wname,
.home .room.on .wname {
  fill: rgba(230, 232, 238, 0.6);
}
.home .room.lit .rm,
.home .room:focus-visible .rm,
.home .room.on .rm {
  opacity: 1;
}
/* a film's running time, only where there is a pointer to hover with: on a touch screen, text showing on hover would
   cost the first tap */
@media (hover: hover) {
  .home .room.film:hover .rm {
    opacity: 1;
  }
}
.home .room:hover .mo,
.home .room.lit .mo,
.home .room:focus-visible .mo,
.home .room.on .mo {
  stroke: var(--c);
  stroke-opacity: 0.7;
}
.home .room:hover .mof,
.home .room.lit .mof,
.home .room:focus-visible .mof,
.home .room.on .mof {
  stroke: var(--c);
  fill: var(--c);
  fill-opacity: 0.12;
}
.home .room:focus-visible .hit {
  stroke: var(--c);
  stroke-opacity: 0.6;
}

/* annotations: the places that play a film, quieter than the floors' tags */
.home .note {
  cursor: pointer;
  outline: none;
}
.home .note .leader {
  fill: none;
  stroke: rgba(230, 232, 238, 0.2);
  stroke-width: 0.7;
  transition: stroke 0.25s;
}
.home .note .ndot {
  fill: rgba(230, 232, 238, 0.45);
  transition: fill 0.25s;
}
.home .note .nhit {
  fill: transparent;
}
/* the invitation, following The Human on the Loop: be that human. In the warm light of the Vision room. */
.home .invite {
  cursor: pointer;
  outline: none;
}
.home .invite .nhit {
  fill: transparent;
}
.home .invite text {
  font: 600 9px var(--mono);
  letter-spacing: var(--action-track);
  fill: var(--warm);
  transition: fill 0.25s;
}
.home .invite .iline {
  fill: none;
  stroke: var(--warm);
  stroke-opacity: 0.55;
  stroke-width: 0.9;
  transition: stroke-opacity 0.25s;
}
.home .invite:hover text,
.home .invite:focus-visible text {
  fill: var(--warm-hi);
}
.home .invite:hover .iline,
.home .invite:focus-visible .iline {
  stroke-opacity: 1;
}
.home .note .ntext {
  font: 500 9px var(--mono);
  letter-spacing: 0.12em;
  fill: var(--ink-3);
  transition: fill 0.25s;
}
.home .note .nfilm {
  fill: none;
  stroke: rgba(230, 232, 238, 0.5);
  stroke-width: 0.9;
  transition: stroke 0.25s;
}
.home .note .nfilm.solo {
  fill: #0e1116;
  stroke-width: 1.1;
}
.home .note .ntri {
  fill: rgba(230, 232, 238, 0.7);
}
/* The Loop is where to start: its note in bold, breathing slowly in and out until it is pointed at */
.home .note[data-id="loop"] .ntext {
  font-weight: 700;
  fill: var(--ink);
}
.home .note[data-id="loop"] .ntext,
.home .note[data-id="loop"] .nfilm,
.home .note[data-id="loop"] .ntri {
  animation: beckon 3.6s ease-in-out infinite;
}
.home .note[data-id="loop"]:hover *,
.home .note[data-id="loop"]:focus-visible * {
  animation: none;
}
@keyframes beckon {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}
.home .note:hover .lead,
.home .note:focus-visible .lead {
  stroke: rgba(230, 232, 238, 0.55);
}
.home .note:hover .ndot,
.home .note:focus-visible .ndot {
  fill: var(--ink);
}
.home .note:hover .ntext,
.home .note:focus-visible .ntext {
  fill: var(--ink);
}
.home .note:hover .nfilm,
.home .note:focus-visible .nfilm {
  stroke: var(--ink);
}

/* the core: The Loop */
.home #op {
  pointer-events: none;
}
.home .opg {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home .opg .cog {
  stroke-width: 0.7;
  fill: #0e1116;
}
.home .opg .head {
  stroke-width: 3;
}
.home .opg .hd {
  fill: #0e1116;
}
.home .opg .eye,
.home .opg .ant {
  fill: var(--ink);
  stroke: none;
}
.home .parcel {
  fill: var(--pc);
  fill-opacity: 0.3;
  stroke: var(--pc);
  stroke-opacity: 1;
  stroke-width: 1.2;
  transition:
    fill 0.5s,
    stroke 0.5s;
}
.home .arm {
  stroke: rgba(230, 232, 238, 0.5);
  stroke-width: 1.2;
  stroke-linecap: round;
  transition: opacity 0.3s;
}

/* Agents at work: the Agent glyph from the films, one lit at a time per table, typing */
.home .ag {
  fill: none;
  stroke: var(--c);
  stroke-opacity: 0.55;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-opacity 0.5s;
  pointer-events: none;
}
.home .ag .hd {
  fill: #0e1116;
}
.home .ag .eye {
  fill: var(--c);
  fill-opacity: 0.55;
  stroke: none;
  transition: fill-opacity 0.5s;
}
.home .ag .ant {
  fill: var(--c);
  fill-opacity: 0.2;
  stroke: none;
  transition: fill-opacity 0.5s;
}
.home .ag.on {
  stroke-opacity: 0.95;
}
.home .ag.on .eye,
.home .ag.on .ant {
  fill-opacity: 1;
}
.home .room:hover .ag,
.home .room.lit .ag,
.home .room:focus-visible .ag,
.home .room.on .ag {
  stroke-opacity: 0.85;
}
.home .say {
  opacity: 0;
  transition: opacity 0.5s;
}
.home .say rect {
  fill: #0e1116;
  stroke: var(--c);
  stroke-opacity: 0.5;
  stroke-width: 1.2;
}
.home .say circle {
  fill: var(--c);
  stroke: none;
}
.home .ag.on .say {
  opacity: 1;
}
/* the Agents as solids: dimmed until their room is lit, the busy picture over the idle one while an Agent works */
.home .ag .sol {
  opacity: 0.7;
  transition: opacity 0.5s;
}
.home .ag .sol.busy {
  opacity: 0;
}
.home .room:hover .ag .sol:not(.busy),
.home .room.lit .ag .sol:not(.busy),
.home .room:focus-visible .ag .sol:not(.busy),
.home .room.on .ag .sol:not(.busy) {
  opacity: 1;
}
.home .ag.on .sol.busy {
  opacity: 1;
}
.home .ag.on .say circle {
  animation: type 1.4s ease-in-out infinite;
}
.home .ag.on .say circle:nth-of-type(2) {
  animation-delay: 0.2s;
}
.home .ag.on .say circle:nth-of-type(3) {
  animation-delay: 0.4s;
}
@keyframes type {
  0%,
  60%,
  100% {
    opacity: 0.25;
  }
  30% {
    opacity: 1;
  }
}
.home .desk {
  fill: rgba(230, 232, 238, 0.07);
  stroke: rgba(230, 232, 238, 0.28);
  stroke-width: 0.9;
}
.home .room:hover .desk,
.home .room.lit .desk,
.home .room:focus-visible .desk,
.home .room.on .desk {
  stroke: var(--c);
  stroke-opacity: 0.55;
}
.home .board {
  fill: rgba(230, 232, 238, 0.05);
  stroke: rgba(230, 232, 238, 0.26);
  stroke-width: 0.9;
  transition: stroke 0.3s;
}
.home .tray {
  stroke: rgba(230, 232, 238, 0.3);
  stroke-width: 1.4;
  stroke-linecap: round;
}
.home .room:hover .board,
.home .room.lit .board,
.home .room:focus-visible .board,
.home .room.on .board {
  stroke: var(--c);
  stroke-opacity: 0.5;
}
.home .mis {
  font-family: "Caveat", "Bradley Hand", cursive;
  font-weight: 600;
  fill: rgba(230, 232, 238, 0.4);
  pointer-events: none;
}
.home .hand {
  fill: rgba(230, 232, 238, 0.42);
  pointer-events: none;
}
.home .hand.old {
  fill: rgba(230, 232, 238, 0.28);
}
.home .ink {
  fill: none;
  stroke: rgba(230, 232, 238, 0.32);
  stroke-width: 1.2;
  stroke-linecap: round;
  pointer-events: none;
}
.home .ink.faint {
  stroke: rgba(230, 232, 238, 0.14);
  stroke-width: 1;
}
/* the Kanban board's sticky notes, paper on the wall, with a line or two scribbled on each */
.home .ink.head {
  stroke-width: 0.9;
}
.home .gnode {
  fill: none;
  stroke: rgba(230, 232, 238, 0.42);
  stroke-width: 1.1;
}
.home .gnode.hub {
  fill: rgba(230, 232, 238, 0.1);
}
.home .sticky {
  fill: rgba(232, 214, 140, 0.3);
  stroke: rgba(232, 214, 140, 0.45);
  stroke-width: 0.6;
}
.home .sticky.doing {
  fill: rgba(232, 214, 140, 0.42);
}
.home .scrib {
  fill: none;
  stroke: rgba(20, 22, 28, 0.55);
  stroke-width: 0.8;
  stroke-linecap: round;
}
.home .ink.game {
  stroke: rgba(230, 232, 238, 0.3);
  stroke-width: 1.1;
}

/* Vision: the one human, in a glazed corner office on top of the Loop */
.home .vis .pb {
  fill: rgba(230, 232, 238, 0.075);
}
.home .vis .pc {
  fill: rgba(230, 232, 238, 0.03);
}
.home .art {
  fill: #ece8e0;
  fill-opacity: 0.2;
  stroke: rgba(230, 232, 238, 0.5);
  stroke-width: 1;
}
.home .artl {
  stroke: rgba(230, 232, 238, 0.3);
  stroke-width: 1;
}
.home .pot {
  fill: rgba(230, 232, 238, 0.1);
  stroke: rgba(230, 232, 238, 0.42);
  stroke-width: 0.9;
}
.home .leaf {
  fill: rgba(230, 232, 238, 0.1);
  stroke: rgba(230, 232, 238, 0.5);
  stroke-width: 0.9;
  stroke-linejoin: round;
}
.home .vein {
  stroke: rgba(230, 232, 238, 0.28);
  stroke-width: 0.6;
  fill: none;
}
.home .glint {
  stroke: var(--warm-hi);
  stroke-width: 1;
  stroke-linecap: round;
}
.home .hul {
  font: 500 11.5px var(--font);
  fill: var(--ink-2);
  letter-spacing: -0.005em;
  pointer-events: none;
}
.home .hu {
  fill: none;
  stroke: #fff;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.home .hu .body {
  fill: #14171d;
}
.home .hu .face {
  fill: #2a2e37;
}
.home .hu .hair {
  fill: #fff;
  stroke: none;
}
.home .hu .fine {
  stroke-width: 1;
  stroke-opacity: 0.7;
}
.home .hart {
  pointer-events: none;
}
.home .chair {
  fill: rgba(230, 232, 238, 0.06);
  stroke: rgba(230, 232, 238, 0.3);
  stroke-width: 1;
  pointer-events: none;
}
.home .plant {
  stroke: rgba(230, 232, 238, 0.4);
  stroke-width: 1;
  fill: none;
  stroke-linecap: round;
}
.home .lamp {
  stroke: rgba(230, 232, 238, 0.4);
  stroke-width: 1;
  fill: rgba(230, 232, 238, 0.14);
}
.home .glow {
  fill: url(#warm);
  pointer-events: none;
  transition: opacity 0.4s;
  opacity: 0.8;
}
/* the whiteboard beside the human, 8 Principles, which opens its own card and answers the pointer like a room */
.home .principles {
  outline: none;
  cursor: pointer;
}
.home .principles:hover .board,
.home .principles:focus-visible .board,
.home .principles.on .board {
  stroke: var(--ink);
  stroke-opacity: 0.6;
  fill: rgba(230, 232, 238, 0.09);
}
.home .principles .board {
  transition:
    stroke 0.3s,
    fill 0.3s;
}
.home .principles .dot {
  fill: rgba(230, 232, 238, 0.4);
  pointer-events: none;
}
.home .principles .scrib-h {
  stroke: rgba(230, 232, 238, 0.26);
  stroke-width: 0.9;
  stroke-linejoin: round;
}
.home .vis:focus-visible .glow,
.home .vis.on .glow {
  opacity: 1;
}

/* the build: every part waits unseen and comes in on its cue, --d, for --t, both in units of --T (the build's pace,
   set on the drawing), less --el, the time the build had already run when the drawing was last drawn. It runs while
   the drawing has .go and is in sight, and .built leaves every part where it came to rest. */
.home .bd {
  animation-duration: calc(var(--t, 0.4) * var(--T, 1s));
  animation-delay: calc(var(--d, 0) * var(--T, 1s) - var(--el, 0s));
  animation-timing-function: var(--e, cubic-bezier(0.22, 0.8, 0.3, 1));
  animation-fill-mode: both;
  animation-play-state: paused;
  transform-box: fill-box;
}
.home svg.go:not(.rest) .bd {
  animation-play-state: running;
}
.home svg.built .bd {
  animation: none;
}
.home .b-fade {
  animation-name: b-fade;
}
/* walls and posts grow up from what they stand on, slabs and lines run out from where they are held */
.home .b-up {
  animation-name: b-grow-y;
  transform-origin: 50% 100%;
}
.home .b-fromL {
  animation-name: b-grow-x;
  transform-origin: 0 50%;
}
.home .b-fromR {
  animation-name: b-grow-x;
  transform-origin: 100% 50%;
}
.home .b-spread {
  animation-name: b-grow-x;
  transform-origin: 50% 50%;
}
/* furniture is carried in from the lift's side, --x, and set down; what hangs on a wall is hung on its hook */
.home .b-in {
  animation-name: b-in;
}
.home .b-hang {
  animation-name: b-hang;
}
/* a sticky note pressed onto its board, an Agent sitting down at the table */
.home .b-stick {
  animation-name: b-stick;
  transform-origin: 50% 50%;
  --t: 0.3;
}
.home .b-sit {
  animation-name: b-sit;
}
/* what a crane, a forklift or the lift brings into place from --y away, slow at both ends */
.home .b-lower {
  animation-name: b-lower;
  --e: cubic-bezier(0.45, 0, 0.35, 1);
}
/* written or drawn on a board, left to right */
.home .b-write {
  animation-name: b-write;
  --e: cubic-bezier(0.4, 0, 0.6, 1);
}
/* a line laid along its path from where it starts (the path carries pathLength="1") */
.home .b-draw {
  stroke-dasharray: 1 2;
  animation-name: b-draw;
  --e: cubic-bezier(0.4, 0, 0.6, 1);
}
.home svg.built .b-draw {
  stroke-dasharray: none;
}
/* a lamp coming on, the way tubes do */
.home .b-on {
  animation-name: b-on;
  --t: 0.6;
  --e: linear;
}
@keyframes b-fade {
  from {
    opacity: 0;
  }
}
@keyframes b-grow-y {
  from {
    transform: scaleY(0);
  }
}
@keyframes b-grow-x {
  from {
    transform: scaleX(0);
  }
}
@keyframes b-in {
  from {
    opacity: 0;
    transform: translateX(var(--x, 36px));
  }
  35% {
    opacity: 1;
  }
}
@keyframes b-hang {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}
@keyframes b-stick {
  from {
    opacity: 0;
    transform: scale(1.4);
  }
}
@keyframes b-sit {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }
}
@keyframes b-lower {
  from {
    opacity: 0;
    transform: translateY(var(--y, -40px));
  }
  20% {
    opacity: 1;
  }
}
@keyframes b-write {
  from {
    clip-path: inset(-20% 100% -20% -20%);
  }
  to {
    clip-path: inset(-20% -20% -20% -20%);
  }
}
@keyframes b-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes b-on {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 0.8;
  }
  30% {
    opacity: 0.1;
  }
  50% {
    opacity: 1;
  }
  62% {
    opacity: 0.35;
  }
  100% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home .bd {
    animation: none;
  }
}
.home .hatch {
  fill: url(#earth);
  stroke: none;
}

/* the service pipes: the LLM comes in under the ground like the mains, into the Inference unit */
.home .inf {
  pointer-events: none;
}
.home .pipe {
  fill: none;
  stroke: var(--steel);
}
.home .pipe.in {
  stroke: #12151b;
}
.home .cable {
  fill: none;
  stroke: var(--steel);
  stroke-width: 3.4;
}
.home .cable.in {
  stroke: #12151b;
  stroke-width: 1.6;
}
.home .bolt {
  fill: #ffd580;
  fill-opacity: 0.75;
}
.home .cab {
  fill: #171b22;
  stroke: rgba(230, 232, 238, 0.26);
  stroke-width: 0.9;
  transition: stroke 0.3s;
}
.home .cabl {
  stroke: rgba(230, 232, 238, 0.16);
  stroke-width: 0.8;
}
.home .cabh {
  stroke: rgba(230, 232, 238, 0.42);
  stroke-width: 1.2;
  stroke-linecap: round;
}
.home .clab {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.06em;
  fill: rgba(230, 232, 238, 0.78);
  pointer-events: none;
}
.home .room:hover .cab,
.home .room.lit .cab,
.home .room:focus-visible .cab,
.home .room.on .cab {
  stroke: rgba(230, 232, 238, 0.45);
}
.home .carve {
  font-weight: 400;
  fill: rgba(230, 232, 238, 0.3);
  pointer-events: none;
}
.home .paper {
  font-weight: 400;
  fill: rgba(230, 232, 238, 0.2);
  pointer-events: none;
}
/* Humans & Agents' org chart, painted on its right wall in the grey of the room's name */
.home .org {
  fill: none;
  stroke: rgba(230, 232, 238, 0.3);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  transition: stroke 0.25s;
}
.home .org .eye,
.home .org .ant,
.home .org .hair {
  fill: rgba(230, 232, 238, 0.3);
  stroke: none;
  transition: fill 0.25s;
}
.home .org .org-ln {
  stroke-width: 0.8;
}
.home .room:hover .org,
.home .room.lit .org,
.home .room:focus-visible .org,
.home .room.on .org {
  stroke: rgba(230, 232, 238, 0.6);
}
.home .room:hover .org :is(.eye, .ant, .hair),
.home .room.lit .org :is(.eye, .ant, .hair),
.home .room:focus-visible .org :is(.eye, .ant, .hair),
.home .room.on .org :is(.eye, .ant, .hair) {
  fill: rgba(230, 232, 238, 0.6);
}
.home .carve .cut {
  fill: rgba(0, 0, 0, 0.55);
}
.home .dial {
  fill: none;
  stroke: rgba(230, 232, 238, 0.42);
  stroke-width: 1.2;
}
.home .heart {
  fill: rgba(230, 232, 238, 0.18);
  stroke: rgba(230, 232, 238, 0.5);
  stroke-width: 0.9;
  stroke-linejoin: round;
}
.home .db {
  fill: #171b22;
  stroke: rgba(230, 232, 238, 0.3);
  stroke-width: 0.9;
}
.home .dbt {
  fill: #1f242d;
  stroke: rgba(230, 232, 238, 0.36);
  stroke-width: 0.9;
}
.home .dbl {
  fill: none;
  stroke: rgba(230, 232, 238, 0.2);
  stroke-width: 0.8;
}
.home .tube {
  fill: none;
  stroke: rgba(230, 232, 238, 0.45);
  stroke-linejoin: round;
}
.home .tube.in {
  stroke: #191d25;
}
.home .capsule {
  fill: rgba(230, 232, 238, 0.62);
}
.home .capb {
  stroke: #191d25;
  stroke-width: 0.9;
}
/* Observability's monitor: a screen on, a dashboard of telemetry on it */
.home .scr {
  fill: #0f141c;
  stroke: rgba(230, 232, 238, 0.14);
  stroke-width: 0.6;
}
/* on it a little blue and red, and a little life: the needle sways, the latest reading pulses, the failing span flickers */
.home .dash {
  opacity: 0.85;
  transition: opacity 0.3s;
}
.home .room:hover .dash,
.home .room.lit .dash,
.home .room:focus-visible .dash,
.home .room.on .dash {
  opacity: 1;
}
.home .tl {
  fill: none;
  stroke: rgba(230, 232, 238, 0.5);
  stroke-width: 0.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home .tl.blue {
  stroke: rgba(110, 168, 254, 0.75);
}
.home .tl.red {
  stroke: rgba(255, 107, 94, 0.7);
}
.home .tl.needle {
  stroke: rgba(230, 232, 238, 0.7);
  transform-box: view-box;
  animation: sway 5.5s ease-in-out infinite alternate;
}
.home .now {
  fill: rgba(110, 168, 254, 0.9);
  animation: blip 2.4s ease-in-out infinite;
}
.home .span {
  fill: none;
  stroke: rgba(110, 168, 254, 0.35);
  stroke-linecap: butt;
}
.home .span.red {
  stroke: rgba(255, 107, 94, 0.6);
  animation: blip 3.8s ease-in-out infinite;
}
@keyframes sway {
  0% {
    transform: rotate(-7deg);
  }
  45% {
    transform: rotate(2deg);
  }
  70% {
    transform: rotate(-2deg);
  }
  100% {
    transform: rotate(5deg);
  }
}
@keyframes blip {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
.home .crate {
  fill: #171b22;
  stroke: rgba(230, 232, 238, 0.3);
  stroke-width: 0.9;
}
.home .unit {
  fill: #171b22;
  stroke: rgba(230, 232, 238, 0.3);
  stroke-width: 0.9;
}
.home .unit-l {
  stroke: rgba(230, 232, 238, 0.18);
  stroke-width: 0.8;
}
.home .led {
  fill: var(--ink);
  fill-opacity: 0.55;
}
.home .plate {
  fill: #12151b;
  stroke: var(--steel);
  stroke-width: 1;
}
.home .ptag {
  font: 500 8.5px var(--mono);
  letter-spacing: 0.14em;
  fill: var(--ink-2);
}

/* the dark factory: every room but Vision works with the lights off, only the Operator's and the Agents' own glow
   showing through. The switch outside the top of the building turns the lights on, with a flicker of tubes. */
.home .dark {
  fill: #05070a;
  opacity: 0.9;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.home svg.lights .dark {
  opacity: 0;
}
.home svg.flick .dark {
  animation: flick 0.9s linear;
}
/* a screen left on shows through the dark, dimmed, and gives way to the room's own as the lights come on */
.home .screens {
  opacity: 0.44;
  transition: opacity 0.6s var(--ease);
}
.home svg.lights .screens {
  opacity: 0;
}
.home .screens .scr {
  fill: #0f151f;
  stroke: rgba(170, 196, 230, 0.24);
}
/* in the dark the failing span stands out a touch more */
.home .screens .span.red {
  stroke: rgb(255, 140, 128);
}
@keyframes flick {
  0% {
    opacity: 0.9;
  }
  8% {
    opacity: 0.3;
  }
  14% {
    opacity: 0.8;
  }
  24% {
    opacity: 0.15;
  }
  32% {
    opacity: 0.6;
  }
  46%,
  100% {
    opacity: 0;
  }
}
/* with the lights off the mouse is a torch: the dark thins where it points and a faint warm light falls there, enough
   to make out what is in a room, never as much as the lights */
.home .torch-hole,
.home .beam {
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.home svg.torch:not(.lights) .torch-hole,
.home svg.torch:not(.lights) .beam {
  opacity: 1;
}
.home .beam-r {
  pointer-events: none;
}
.home svg.rest * {
  animation-play-state: paused;
}
.home .switch {
  cursor: pointer;
  outline: none;
}
.home .switch .nhit {
  fill: transparent;
}
/* an old-school switch: a steel plate in a bevelled frame with two screws, raised off the wall, and a steel toggle
   with a ball on its end, thrown up or down, its word beside it in warm light */
.home .sw-plate {
  fill: #22252b;
  stroke: var(--steel);
  stroke-width: 0.5;
  filter: url(#sw-shadow);
  transition: stroke 0.25s;
}
.home .sw-bev.t {
  fill: #5a5e66;
}
.home .sw-bev.l {
  fill: #464a52;
}
.home .sw-bev.r {
  fill: #1a1c21;
}
.home .sw-bev.b {
  fill: #111317;
}
.home .sw-face {
  fill: url(#sw-plate);
}
.home .sw-screw {
  fill: url(#sw-screw);
  stroke: #000;
  stroke-opacity: 0.4;
  stroke-width: 0.25;
}
.home .sw-cut {
  stroke: #15181e;
  stroke-width: 0.35;
}
.home .sw-collar {
  fill: url(#sw-collar);
  stroke: #000;
  stroke-width: 0.25;
}
.home .sw-bore {
  fill: #05070a;
}
.home .sw-cast {
  fill: #000;
  opacity: 0.55;
  filter: url(#sw-cast);
}
.home .sw-nub {
  filter: url(#sw-glow);
}
.home .sw-stem {
  fill: url(#sw-stem);
  stroke: #2a2d33;
  stroke-width: 0.2;
}
.home .sw-ball {
  fill: url(#sw-ball);
  stroke: #2a2d33;
  stroke-width: 0.2;
}
.home .sw-badge {
  fill: #0b0d10;
  stroke: #000;
  stroke-width: 0.2;
}
.home .switch text.sw-tag {
  font: 700 1.7px var(--mono);
  letter-spacing: 0.04em;
  text-anchor: middle;
  fill: var(--warm);
}
.home .switch text {
  font: 500 9px var(--mono);
  letter-spacing: 0.12em;
  fill: var(--ink-3);
  transition: fill 0.25s;
}
.home .switch .on,
.home svg.lights .switch .off {
  display: none;
}
.home svg.lights .switch .on {
  display: inline;
}
.home .switch:hover .sw-plate,
.home .switch:focus-visible .sw-plate {
  stroke: var(--ink);
}
.home .switch:hover text,
.home .switch:focus-visible text {
  fill: var(--ink);
}

@media (max-height: 520px) {
  .home {
    --draw-min: calc(var(--screen) - 16px);
  }
}
@media (max-width: 759px) {
  .home {
    --draw-min: 280px;
  }
  .home .lot {
    min-height: 0;
    container-type: normal;
    padding: 0 12px;
  }
}
