/* Generated by tools/house/build.mjs: the rules these drawings use from the Anatomy kit's iso.css (MIT), then tools/house/house.css. */
.iso{
  --anatomy-page:#0b0b0b;--anatomy-card:#131313;--anatomy-text:#a3a3a3;--anatomy-strong:#e6e6e6;--anatomy-muted:#6e6e6e;
  --anatomy-paper:#131313;--anatomy-face:#1b1b1b;--anatomy-top:#1c1c1c;
  --anatomy-shade-0:#0f0f0f;--anatomy-shade-1:#121212;--anatomy-shade-2:#151515;--anatomy-shade-3:#181818;
  --anatomy-lit-top:#262626;--anatomy-lit-shade:#1d1d1d;
  --anatomy-hi:#d4d4d4;--anatomy-mid:#6a6a6a;--anatomy-lo:#3e3e3e;--anatomy-faint:#2a2a2a;--anatomy-lit:#ffffff;
  --anatomy-halo:#050505;--anatomy-halo-opacity:.9;--anatomy-dot:#e6e6e6;
  --anatomy-red:#ff6b6b;--anatomy-green:#6be0a0;--anatomy-blue:#6b9bff;
  --anatomy-weight:.6px;--anatomy-ease:cubic-bezier(.32,.72,0,1);
  --anatomy-mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
  --anatomy-lift:inset 0 1px 0 0 #ffffff0a,inset 0 0 0 1px #ffffff06,0 0 0 1px #00000026,0 1px 1px -.5px #00000014,0 3px 3px -1.5px #00000014,0 6px 6px -3px #00000014,0 12px 12px -6px #00000014;
}
.iso-svg{display:block;width:100%;height:auto;overflow:visible}
.iso-svg path,.iso-svg circle{vector-effect:non-scaling-stroke}
.iso-fill{fill:var(--anatomy-paper);stroke:none}
.iso-solid[data-lit]>.iso-fill{fill:var(--anatomy-face)}
.iso-shade,.iso-top{stroke:none}
.iso-shade[data-shade="0"]{fill:var(--anatomy-shade-0)}
.iso-shade[data-shade="1"]{fill:var(--anatomy-shade-1)}
.iso-shade[data-shade="2"]{fill:var(--anatomy-shade-2)}
.iso-shade[data-shade="3"]{fill:var(--anatomy-shade-3)}
.iso-top{fill:var(--anatomy-top)}
.iso-solid[data-lit]>.iso-top{fill:var(--anatomy-lit-top)}
.iso-solid[data-lit]>.iso-shade{fill:var(--anatomy-lit-shade)}
.iso-solid[data-seamless]>.iso-shade,.iso-solid[data-seamless]>.iso-top{stroke-width:.4;stroke-linejoin:round}
.iso-solid[data-seamless]>.iso-shade[data-shade="0"]{stroke:var(--anatomy-shade-0)}
.iso-solid[data-seamless]>.iso-shade[data-shade="1"]{stroke:var(--anatomy-shade-1)}
.iso-solid[data-seamless]>.iso-shade[data-shade="2"]{stroke:var(--anatomy-shade-2)}
.iso-solid[data-seamless]>.iso-shade[data-shade="3"]{stroke:var(--anatomy-shade-3)}
.iso-solid[data-seamless]>.iso-top{stroke:var(--anatomy-top)}
.iso-solid[data-seamless][data-lit]>.iso-top{stroke:var(--anatomy-lit-top)}
.iso-solid[data-seamless][data-lit]>.iso-shade{stroke:var(--anatomy-lit-shade)}
.iso-solid[data-lit]>.iso-edge{stroke:var(--anatomy-lit)}
.iso-halo{fill:var(--anatomy-halo);stroke:none;filter:blur(9px);opacity:var(--anatomy-halo-opacity);transform:translateY(3px)}
.iso-line{fill:none;stroke:var(--anatomy-lo);stroke-width:var(--anatomy-weight);stroke-linecap:round;stroke-linejoin:round}
.iso-line[data-tone="hi"]{stroke:var(--anatomy-hi)}
.iso-line[data-tone="mid"]{stroke:var(--anatomy-mid)}
.iso-line[data-tone="lo"]{stroke:var(--anatomy-lo)}
.iso-line[data-tone="faint"]{stroke:var(--anatomy-faint)}
.iso-line[data-dotted]{stroke-dasharray:.01 3.5;stroke-width:1}
.iso-line[data-dashed]{stroke-dasharray:3 3}
.iso-dots circle{fill:var(--anatomy-dot);stroke:none;opacity:.32}
.iso-dots[data-tone="hi"] circle{opacity:.85}
.iso-dots[data-tone="mid"] circle{opacity:.45}
.iso-dots[data-tone="lo"] circle{opacity:.22}
.iso-dots[data-tone="faint"] circle{opacity:.12}
.iso-face-text{fill:var(--anatomy-mid);font-family:var(--anatomy-mono);letter-spacing:.04em}
.iso-face-text[data-tone="hi"]{fill:var(--anatomy-hi)}
.iso-face-text[data-tone="lo"]{fill:var(--anatomy-lo)}
.iso-face-text[data-tone="faint"]{fill:var(--anatomy-faint)}

/* The house — palette, room lighting and the story's overlays, on top of the
   Anatomy kit's iso.css. Every tone is a kit token, so the page restyles the house
   by attribute on its wrapper:
     data-lit="0 1 3"   rooms with their lights on (zones 0, 1, 2, 2r, 3)
     data-plan="…"      rooms marked out with a dashed outline (the plan)
     data-outline="…"   rooms bracketed with a solid outline (the proposal)
   and by html[data-theme] (dark green, or cream paper). The tokens are registered
   so every change eases instead of cutting. */

@property --anatomy-paper { syntax: '<color>'; inherits: true; initial-value: #182620; }
@property --anatomy-face { syntax: '<color>'; inherits: true; initial-value: #1f3028; }
@property --anatomy-top { syntax: '<color>'; inherits: true; initial-value: #22342b; }
@property --anatomy-shade-0 { syntax: '<color>'; inherits: true; initial-value: #121d18; }
@property --anatomy-shade-1 { syntax: '<color>'; inherits: true; initial-value: #15221c; }
@property --anatomy-shade-2 { syntax: '<color>'; inherits: true; initial-value: #192720; }
@property --anatomy-shade-3 { syntax: '<color>'; inherits: true; initial-value: #1d2c24; }
@property --anatomy-hi { syntax: '<color>'; inherits: true; initial-value: #d9d2c1; }
@property --anatomy-mid { syntax: '<color>'; inherits: true; initial-value: #7d897e; }
@property --anatomy-lo { syntax: '<color>'; inherits: true; initial-value: #4a584e; }
@property --anatomy-faint { syntax: '<color>'; inherits: true; initial-value: #2d3c34; }
@property --anatomy-dot { syntax: '<color>'; inherits: true; initial-value: #efe8d8; }
@property --hs-glass { syntax: '<color>'; inherits: true; initial-value: #0d1612; }

.iso.house {
  --anatomy-page: transparent; --anatomy-card: transparent;
  --anatomy-paper: #182620; --anatomy-face: #1f3028; --anatomy-top: #22342b;
  --anatomy-shade-0: #121d18; --anatomy-shade-1: #15221c; --anatomy-shade-2: #192720; --anatomy-shade-3: #1d2c24;
  --anatomy-lit-top: #2a3d33; --anatomy-lit-shade: #20312a;
  --anatomy-hi: #d9d2c1; --anatomy-mid: #7d897e; --anatomy-lo: #4a584e; --anatomy-faint: #2d3c34; --anatomy-lit: #d0a865;
  --anatomy-halo: #030604; --anatomy-halo-opacity: .8; --anatomy-dot: #efe8d8;
  --anatomy-weight: .7px;
  --anatomy-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --hs-glass: #0d1612; --fx-frost: #e9e3d4; --fx-frost-a: .07; --hs-glow: #e8be6c; --hs-lit-line: #d0a865; --hs-warm: #e3b866;
  --tone-ease: ease;   /* how a change of palette is taken: see the page turning, below */
  position: relative;
}
html[data-theme="light"] .iso.house {
  --anatomy-paper: #f1ebdd; --anatomy-face: #f7f2e7; --anatomy-top: #faf6ed;
  --anatomy-shade-0: #ddd4c1; --anatomy-shade-1: #e3dbca; --anatomy-shade-2: #e9e2d3; --anatomy-shade-3: #eee8db;
  --anatomy-hi: #23291f; --anatomy-mid: #7f7c6c; --anatomy-lo: #b4ac99; --anatomy-faint: #d6cdba; --anatomy-lit: #7a5823;
  --anatomy-halo: #6f6650; --anatomy-halo-opacity: .3; --anatomy-dot: #23291f;
  --hs-glass: #cfc6b2; --fx-frost: #fffdf7; --fx-frost-a: .2; --hs-glow: #dda243; --hs-lit-line: #8a6326;
}

.iso.house, .house [data-zone] {
  transition: --anatomy-paper .8s var(--tone-ease), --anatomy-face .8s var(--tone-ease), --anatomy-top .8s var(--tone-ease),
    --anatomy-shade-0 .8s var(--tone-ease), --anatomy-shade-1 .8s var(--tone-ease), --anatomy-shade-2 .8s var(--tone-ease), --anatomy-shade-3 .8s var(--tone-ease),
    --anatomy-hi .8s var(--tone-ease), --anatomy-mid .8s var(--tone-ease), --anatomy-lo .8s var(--tone-ease), --anatomy-faint .8s var(--tone-ease), --anatomy-dot .8s var(--tone-ease),
    --hs-glass .8s var(--tone-ease), opacity .8s ease;
}
/* The page turning from the dark street to paper (site.js puts is-turning on <html> for that
   second). Every frame of a palette change restyles the whole drawing, about 6,000 pieces, and
   sixty of them in 0.8s was most of a second of work in the middle of the hand-over. For
   that one change the same ease is taken in twelve steps (the curve of `ease`, sampled), a
   third of the work. Lights going on and off keep the smooth ease. */
@supports (transition-timing-function: linear(0, 1)) {
  html.is-turning .iso.house { --tone-ease: linear(0.026 0% 8.33%, 0.137 8.33% 16.67%, 0.314 16.67% 25%, 0.497 25% 33.33%, 0.645 33.33% 41.67%, 0.758 41.67% 50%, 0.841 50% 58.33%, 0.901 58.33% 66.67%, 0.944 66.67% 75%, 0.973 75% 83.33%, 0.991 83.33% 91.67%, 0.999 91.67% 100%, 1); }
}
.house .iso-svg { overflow: visible; }

/* While any room is lit, the rest of the house steps back a little. */
.house[data-lit]:not([data-lit=""]) [data-zone] { --anatomy-hi: #a9ad9f; --anatomy-mid: #66726a; }
html[data-theme="light"] .house[data-lit]:not([data-lit=""]) [data-zone] { --anatomy-hi: #5f6559; --anatomy-mid: #a29e8f; }

/* A lit room: warm paper, warm shades, gold lines, glowing glass. */
.house[data-lit~="0"] [data-zone="0"], .house[data-lit~="1"] [data-zone="1"], .house[data-lit~="2"] [data-zone="2"],
.house[data-lit~="2r"] [data-zone="2r"], .house[data-lit~="3"] [data-zone="3"] {
  --anatomy-paper: #2b2517; --anatomy-face: #3a311e; --anatomy-top: #4b3e24;
  --anatomy-shade-0: #251f14; --anatomy-shade-1: #2c2518; --anatomy-shade-2: #342b1b; --anatomy-shade-3: #3c321f;
  --anatomy-hi: #f4d99c; --anatomy-mid: #c49b57; --anatomy-lo: #8a6a3a; --anatomy-faint: #5c4829;
  --hs-glass: var(--hs-glow);
}
html[data-theme="light"] .house[data-lit~="0"] [data-zone="0"], html[data-theme="light"] .house[data-lit~="1"] [data-zone="1"],
html[data-theme="light"] .house[data-lit~="2"] [data-zone="2"], html[data-theme="light"] .house[data-lit~="2r"] [data-zone="2r"],
html[data-theme="light"] .house[data-lit~="3"] [data-zone="3"] {
  --anatomy-paper: #f7e7c3; --anatomy-face: #fbefd0; --anatomy-top: #fdf3da;
  --anatomy-shade-0: #e7cd96; --anatomy-shade-1: #edd6a5; --anatomy-shade-2: #f1deb4; --anatomy-shade-3: #f5e6c4;
  --anatomy-hi: #3d2a0e; --anatomy-mid: #96692a; --anatomy-lo: #c9a466; --anatomy-faint: #e4cb96;
  --hs-glass: var(--hs-glow);
}

.house .hs-glass { fill: var(--hs-glass); }
.house .hs-mirror { fill: var(--anatomy-shade-3); }
.house .hs-attic { fill: var(--anatomy-shade-0); }
.house .hs-pool { fill: #d0a865; opacity: 0; transition: opacity .8s ease; }
.house[data-lit~="0"] .hs-pool[data-zone="0"], .house[data-lit~="1"] .hs-pool[data-zone="1"], .house[data-lit~="2"] .hs-pool[data-zone="2"],
.house[data-lit~="2r"] .hs-pool[data-zone="2r"], .house[data-lit~="3"] .hs-pool[data-zone="3"] { opacity: .2; }
.house .hs-hearth { fill: var(--anatomy-shade-0); transition: fill .8s ease; }
.house[data-lit~="3"] [data-zone="3"] .hs-hearth { fill: #b06a2e; }
.house .hs-void { fill: var(--anatomy-shade-0); }
.house .hs-ticket { fill: var(--anatomy-hi); opacity: .85; }
.house .hs-lamp { fill: #d9ad62; opacity: .8; }

/* The gap (chapter 01): a layer of its own over the house and its people, driven by the
   page. Standard cases in clear acrylic, their overhang hatched in ink; the gap hatched in
   gold; the pieces made for it in gold-tinted acrylic, flush with the walls. */
.house .house__fit { position: absolute; left: 0; top: 0; width: 100%; height: auto; overflow: visible; pointer-events: none; }
.house .house__fit path { vector-effect: non-scaling-stroke; }
.house .fx-case, .house .fx-gap, .house .fx-piece, .house .fx-over { opacity: 0; }
.house .fx-face { fill: var(--fx-frost); opacity: var(--fx-frost-a); }
.house .fx-top, .house .fx-side { opacity: calc(var(--fx-frost-a) * 2.8); }
.house .fx-edge { fill: none; stroke: var(--anatomy-hi); stroke-width: 1.1px; stroke-linejoin: round; }
.house .fx-plate { fill: var(--fx-frost); stroke: var(--anatomy-mid); stroke-width: .7px; }
.house .fx-plate-rule { fill: none; stroke: var(--anatomy-mid); stroke-width: .8px; }
.house .fx-case .iso-dots circle { fill: var(--anatomy-hi); }
.house .fx-waste { fill: url(#fx-waste); }
.house .fx-wline { stroke: var(--anatomy-hi); stroke-width: .6; opacity: .85; }
.house .fx-seam { fill: none; stroke: var(--anatomy-hi); stroke-width: 1px; stroke-dasharray: 3 3; }
.house .fx-hatch { fill: url(#fx-gold); }
.house .fx-gline { stroke: var(--hs-lit-line); stroke-width: .6; }
.house .fx-gap-edge { fill: none; stroke: var(--hs-lit-line); stroke-width: 1.4px; stroke-dasharray: 5 3; }
.house .fx-dim { fill: none; stroke: var(--hs-lit-line); stroke-width: 1px; }
.house .fx-pface { fill: var(--hs-glow); opacity: .16; }
.house .fx-ptop, .house .fx-pside { opacity: .6; }
.house .fx-pedge { fill: none; stroke: var(--hs-lit-line); stroke-width: 1.3px; stroke-linejoin: round; }
.house .fx-pbracket { fill: none; stroke: var(--hs-lit-line); stroke-width: 2.6px; stroke-linecap: square; }

/* The walk-through and the room outlines. */
.house .hs-route { fill: none; stroke: var(--hs-lit-line); stroke-width: 1.6px; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: 0; }
.house .hs-pen { fill: var(--hs-lit-line); opacity: 0; }
.house .hs-outline { fill: none; stroke: var(--hs-lit-line); stroke-width: 1.6px; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .6s ease; }
.house[data-plan~="0"] [data-outline="0"], .house[data-plan~="1"] [data-outline="1"], .house[data-plan~="2"] [data-outline="2"],
.house[data-plan~="2r"] [data-outline="2r"], .house[data-plan~="3"] [data-outline="3"] { opacity: .9; stroke-dasharray: 4 4; }
.house[data-outline~="0"] [data-outline="0"], .house[data-outline~="1"] [data-outline="1"], .house[data-outline~="2"] [data-outline="2"],
.house[data-outline~="2r"] [data-outline="2r"], .house[data-outline~="3"] [data-outline="3"] { opacity: 1; stroke-dasharray: none; stroke-width: 2.4px; }

/* The people: a light layer of their own over the house (moving them never repaints it). */
.house .house__people { position: absolute; left: 0; top: 0; width: 100%; height: auto; overflow: visible; pointer-events: none; will-change: opacity; }  /* its own layer, drawn at full sharpness */

/* Hit areas: the room's opening in the cut. */
.house .hs-hit { fill: transparent; stroke: none; cursor: pointer; }
.house .hs-hits a:focus { outline: none; }
.house .hs-hits a:focus-visible .hs-hit { stroke: var(--hs-lit-line); stroke-width: 1.6px; vector-effect: non-scaling-stroke; }

@media (prefers-reduced-motion: reduce) {
  .iso.house, .house [data-zone], .house .hs-pool, .house .hs-hearth, .house .hs-outline { transition: none; }
}

/* The street (the hero): the same tokens; its lamp pools glow on the pavement. */
.iso.house.street { position: absolute; left: 0; top: 0; pointer-events: none; }
.street .street__svg { width: 100%; height: auto; overflow: visible; }
.street .st-pool { fill: url(#st-glow); }
.street__canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }

/* the street's windows, lit per house */
.street .st-warm{fill:var(--hs-warm)}
.street .st-gold{fill:#c9a061;stroke:#0b100d;stroke-width:.5px;vector-effect:non-scaling-stroke}
.street .st-goldline{fill:none;stroke:#d0a865;stroke-width:1.4px;vector-effect:non-scaling-stroke}
