/* Eleven-window home: refinement pass (owner note 16, brief 2026-10-15-1700).
   "Eleven little windows into eleven beautiful worlds, floating quietly in a warm, peaceful space. Nothing unnecessary."
   Same structure, content and destinations as before; this file replaces home.css + room.css. */
:root {
  --wall: #1E1813; --wall-lit: #2C231C; --ink: #F1EADF; --dim: #C4B8A6; --faint: #9A8F80; --gold: #FFC867;
  --frame: #3E2C20; --frame-edge: rgba(255, 226, 180, .14);
  --win-w: min(calc((100vw - 2 * var(--side) - 10 * var(--gap)) / 11), 150px); /* eleven across on desktop */
  --side: clamp(20px, 3vw, 48px); --gap: clamp(8px, 1vw, 18px);
}

/* The room: warm dark plaster, a soft light behind the windows, corners in shadow. */
body.home {
  margin: 0; min-height: 100vh; min-height: 100svh; color: var(--ink); display: flex; flex-direction: column; overflow-x: hidden;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .62  0 0 0 0 .5  0 0 0 0 .38  0 0 0 .08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
    radial-gradient(62% 42% at 50% 58%, rgba(255, 196, 120, .13), rgba(255, 196, 120, 0) 72%),
    linear-gradient(to bottom, #14100D 0%, #211A15 24%, var(--wall-lit) 56%, #1D1713 84%, #110D0A 100%);
}
body.home::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 3;
  background: radial-gradient(125% 100% at 50% 52%, rgba(0,0,0,0) 58%, rgba(0,0,0,.5) 100%); }
#dust { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; mix-blend-mode: screen; }
.bar, main, .foot { position: relative; z-index: 4; }

/* Top bar: unchanged content. */
.bar { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--side); }
.bar .wordmark { font-family: var(--pixel); font-size: 18px; letter-spacing: .08em; }
.bar .get { font-family: var(--tiny); font-size: 12px; letter-spacing: .07em; color: #1F1915; background: var(--gold); padding: 10px 16px; border-radius: 999px;
  text-decoration: none; transition: background .4s, box-shadow .4s; }
.bar .get:hover { box-shadow: 0 0 0 4px rgba(255, 200, 103, .18); }
.bar .get:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Composition: headline, line and windows sit together as one group; the CTA below with its own breathing room. */
main { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0 var(--side) clamp(8px, 2vh, 24px); }
.intro { text-align: center; margin-bottom: clamp(22px, 4vh, 42px); }
.intro h1 { font-family: var(--pixel); font-weight: 500; font-size: clamp(28px, 3.5vw, 54px); margin: 0 0 12px; line-height: 1.05; letter-spacing: .005em; }
.intro .acc { color: var(--gold); }
.intro p { margin: 0 auto; max-width: 34em; color: var(--dim); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.5; }
/* "Download free for Mac", just below the window row (owner, 2026-10-28) */
.go { display: inline-block; color: #1F1915; background: var(--gold); padding: 10px 16px; border-radius: 999px; text-decoration: none; text-shadow: none;
  transition: box-shadow .4s; }
.go:hover { box-shadow: 0 0 0 4px rgba(255, 200, 103, .18); }
.go:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* The wall of windows: eleven across on desktop (no horizontal scrolling), centred rows below that. */
.wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 38px var(--gap); width: 100%; }
.win { position: relative; flex: 0 0 var(--win-w); width: var(--win-w); display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-decoration: none; color: var(--ink); -webkit-tap-highlight-color: transparent; outline: none; }
/* 13% taller than before (aspect .5 → .44). */
.win .arch { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: .44; border-radius: 999px 999px 3px 3px; overflow: hidden; background: #0c0a08;
  box-shadow: 0 0 0 4px var(--frame), 0 0 0 5px var(--frame-edge), inset 0 0 18px rgba(0,0,0,.5), 0 18px 36px rgba(0,0,0,.42);
  transition: box-shadow .6s ease; }
.win .arch img, .win .arch canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  filter: brightness(.9) saturate(.96); transition: filter .6s ease, opacity .8s ease; }
.win .arch .pixel { image-rendering: pixelated; }
.win .arch canvas { opacity: 0; }
.win .arch canvas.live { opacity: 1; }
.win .arch .smooth { transform: scale(1.75); transform-origin: 50% 52%; }
/* Glass: one quiet sheen and slim glazing bars (lighter than before). */
.win .arch::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; z-index: 2;
  background:
    linear-gradient(to right, transparent calc(50% - 1px), rgba(52, 37, 26, .7) calc(50% - 1px), rgba(52, 37, 26, .7) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(to bottom, transparent 57%, rgba(52, 37, 26, .7) 57%, rgba(52, 37, 26, .7) calc(57% + 2px), transparent calc(57% + 2px)),
    linear-gradient(120deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 28%, rgba(255,255,255,.035) 60%, rgba(255,255,255,0) 70%); }
/* The world's own light on the wall: steady, very slow, barely there. */
.win::before { content: ""; position: absolute; left: -60%; right: -60%; top: -14%; height: 132%; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--glow) 34%, transparent), transparent 70%); filter: blur(24px);
  opacity: .7; animation: breathe 14s ease-in-out infinite; animation-delay: calc(var(--i) * -1.3s); transition: opacity .6s ease; }
@keyframes breathe { 0%, 100% { opacity: .6; } 50% { opacity: .8; } }
.win .sill { position: relative; z-index: 1; display: block; width: 112%; height: 7px; margin-top: -4px; border-radius: 2px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--glow2) 26%, #5E4331), #33251B); box-shadow: 0 5px 12px rgba(0,0,0,.4); }
/* Labels: bigger, steadier, one line where possible. */
.win .lbl { position: relative; z-index: 1; font-family: var(--tiny); font-size: clamp(11px, .78vw, 12px); letter-spacing: .07em; line-height: 1.35;
  text-transform: uppercase; text-align: center; color: var(--ink); transition: color .5s ease; text-wrap: balance; }
.win.key .lbl { color: var(--gold); }

/* Hover (pointer devices) and keyboard focus: brighten, a soft warm glow on the frame, amber label. No movement. */
@media (hover: hover) {
  .win:hover .arch img, .win:hover .arch canvas { filter: brightness(1.06) saturate(1.04); }
  .win:hover .arch { box-shadow: 0 0 0 4px var(--frame), 0 0 0 5px rgba(255, 210, 140, .34), 0 0 26px rgba(255, 200, 103, .16), inset 0 0 18px rgba(0,0,0,.45), 0 18px 36px rgba(0,0,0,.42); }
  .win:hover::before { opacity: .95; }
  .win:hover .lbl { color: var(--gold); }
}
.win:focus-visible .arch img, .win:focus-visible .arch canvas { filter: brightness(1.06) saturate(1.04); }
.win:focus-visible .arch { box-shadow: 0 0 0 4px var(--frame), 0 0 0 6px var(--gold), 0 0 26px rgba(255, 200, 103, .2), 0 18px 36px rgba(0,0,0,.42); }
.win:focus-visible .lbl { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
/* Touch: a brief press state instead of hover. */
.win:active .arch img, .win:active .arch canvas { filter: brightness(1.06); }

/* Availability: central, calm. */
.cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: clamp(30px, 5vh, 56px); }
.cta .btn { font-family: var(--tiny); font-size: 12px; letter-spacing: .07em; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #1F1915; }
.cta .free { font-size: 14px; color: var(--dim); }
.foot { text-align: center; font-size: 11px; color: var(--faint); padding: 14px; }

/* Narrower screens: never shrink a window below a readable size; rows stay centred. */
@media (max-width: 1100px) { :root { --win-w: clamp(104px, calc((100vw - 2 * var(--side) - 5 * var(--gap)) / 6), 140px); } }
@media (max-width: 640px) {
  :root { --win-w: clamp(96px, calc((100vw - 2 * var(--side) - 2 * var(--gap)) / 3), 132px); --gap: 14px; }
  .wall { row-gap: 40px; }
  .win .lbl { font-size: 12px; }   /* (each name ~8 px under its own arch, well clear of the next row: review S1) */
  .intro { margin-bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .win::before { animation: none; }
  .win .arch img, .win .arch canvas, .win .arch, .win .lbl { transition: none; }
}
/* The windows' light may glow past the screen edge, but must never create sideways scrolling. */
html, body.home { overflow-x: clip; }
main { overflow-x: clip; width: 100%; box-sizing: border-box; }

/* Owner note 21 (option 1): the room is the attic from the Camera Obscura film. A plate rendered from the trailer's own
   set at frame 779, with its eleven projections switched off, so the live windows sit on its lit wall.
   Top: darker, so the headline reads. Bottom: the daybed stays, softly receding behind the availability message. */
body.home {
  background:
    radial-gradient(34% 16% at 50% 78%, rgba(14,11,9,.5), rgba(14,11,9,0) 100%),
    linear-gradient(to bottom, rgba(14,11,9,.72) 0%, rgba(14,11,9,.25) 26%, rgba(14,11,9,0) 42%, rgba(14,11,9,0) 63%, rgba(14,11,9,.5) 74%, rgba(14,11,9,.8) 100%),
    url("../media/home/attic-plate.jpg") center 58% / cover no-repeat,
    #1B1511;
}

/* Owner note 22 (all four improvements). The new plate is wider and taller (16:10): the whole daybed sits small at the
   bottom, the gable and rafters frame the top, and the window row's warm light falls into the room. */
body.home {
  background:
    radial-gradient(40% 15% at 50% 25%, rgba(14,11,9,.55), rgba(14,11,9,0) 100%),
    radial-gradient(34% 12% at 50% 80%, rgba(14,11,9,.5), rgba(14,11,9,0) 100%),
    linear-gradient(to bottom, rgba(14,11,9,.4) 0%, rgba(14,11,9,.12) 18%, rgba(14,11,9,.12) 70%, rgba(14,11,9,.45) 100%),
    url("../media/home/attic-plate.jpg") center 62% / cover no-repeat,
    #1B1511;
}
/* Item 2: the headline sits higher, up in the gable, and the empty band above it closes. */
main { justify-content: flex-start; padding-top: clamp(28px, 9vh, 110px); }
/* Item 3 (page side): each window's own light reaches a little further onto the wall. */
.win::before { opacity: .85; }
@keyframes breathe { 0%, 100% { opacity: .75; } 50% { opacity: .92; } }
/* Item 4: all eleven labels on one line where there is room. */
@media (min-width: 1101px) { .win .lbl { letter-spacing: .045em; font-size: clamp(11px, .74vw, 12px); min-height: 2.7em; } }
@media (min-width: 1400px) { .win .lbl { white-space: nowrap; min-height: 0; } }

/* Owner note 23: ARCHES OF LIGHT. As in the trailer: no wooden frames, no glazing bars, no sills. Each world is an
   arch of living light cut into the plaster: a shallow recess (shadow inside the top and sides, a faint lit rim),
   its colours blooming onto the wall around it, and a soft pool of its light on the wall below. */
.win .arch { border-radius: 999px 999px 2px 2px;
  box-shadow: 0 0 0 1px rgba(255, 236, 210, .10), 0 0 22px 2px color-mix(in srgb, var(--glow) 30%, transparent),
    0 0 70px 14px color-mix(in srgb, var(--glow) 14%, transparent); }
.win .arch::after { background: none;
  box-shadow: inset 0 14px 22px -8px rgba(0, 0, 0, .55), inset 8px 0 14px -8px rgba(0, 0, 0, .4), inset -8px 0 14px -8px rgba(0, 0, 0, .4),
    inset 0 -6px 10px -6px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(255, 240, 220, .06); }
.win .sill { width: 150%; height: 46px; margin-top: 0; margin-bottom: -46px; border-radius: 0; box-shadow: none; pointer-events: none;
  background: radial-gradient(50% 55% at 50% 0%, color-mix(in srgb, var(--glow) 34%, transparent), transparent 75%); filter: blur(5px); opacity: .9; }
.win::before { opacity: .95; background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--glow) 40%, transparent), transparent 70%); }
@keyframes breathe { 0%, 100% { opacity: .82; } 50% { opacity: 1; } }
@media (hover: hover) {
  .win:hover .arch { box-shadow: 0 0 0 1px rgba(255, 236, 210, .2), 0 0 26px 3px color-mix(in srgb, var(--glow) 46%, transparent),
    0 0 90px 18px color-mix(in srgb, var(--glow) 22%, transparent); }
}
.win:focus-visible .arch { box-shadow: 0 0 0 2px var(--gold), 0 0 26px 3px color-mix(in srgb, var(--glow) 46%, transparent),
    0 0 90px 18px color-mix(in srgb, var(--glow) 22%, transparent); }

/* D-124: THE FILM'S ATTIC (2026-10-17, after the owner's notes 66–67). The Camera Obscura attic rendered in 3D
   (wall/wall.py) as it is in the film: the gable, the pale sloping ceilings and rafters, the daybed; eleven arched recesses
   where the film put its arches of light, with slim frames, stone sills, brass plaques above them and four sill objects.
   The openings are see-through, so each live world plays behind its opening. home.js adds .staged on landscape screens and
   sets the stage's size; the page letters the headline onto the gable (warm light, like the film's projected wordmark) and
   the names onto the plaques. Phones, narrow windows and no JavaScript: the arches-of-light layout above, over a portrait
   of the same attic. */
.stage { display: contents; }
.stage .plate, .stage .fx { display: none; }
.soon-line { position: relative; z-index: 4; margin: 26px 0 0; text-align: center; font-family: var(--tiny); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.cta { display: none; }

/* phones and narrow windows: the same attic, in portrait, behind the arches of light */
@media (max-aspect-ratio: 1/1), (max-width: 759px) {
  body.home {
    background:
      linear-gradient(to bottom, rgba(14, 11, 9, .45) 0, rgba(14, 11, 9, .05) 110px, rgba(14, 11, 9, 0) 70svh, #15100C 100svh),
      url("../media/home/attic-portrait.webp") center top / 100% auto no-repeat, #15100C;
  }
  .intro p { font-size: 16px; }
}

body.home.staged { background: #120E0B; display: block; min-height: 0; overflow: hidden; }
.staged .bar { position: fixed; top: 0; left: 0; right: 0; z-index: 8; }
.staged main { position: fixed; inset: 0; z-index: 1; display: block; padding: 0; overflow: hidden; }
.staged .stage { display: block; position: absolute; left: var(--stage-x); top: var(--stage-y); width: var(--stage-w); height: var(--stage-h);
  container-type: size; }
.staged .stage .plate { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none;
  user-select: none; -webkit-user-drag: none; transition: filter .6s ease; }
.staged .foot { position: fixed; z-index: 4; left: 0; right: auto; bottom: 0; padding: 6px 14px; text-align: left; }

/* the headline, lettered on the gable in warm light */
/* (owner, 2026-10-28: the headline and its line sit at the foot of the gable, just above the windows) */
.staged .stage .intro { position: absolute; z-index: 3; margin: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  text-align: center; left: var(--x); top: var(--y); width: var(--w); height: var(--h); padding: 0; box-sizing: border-box; }
.staged .intro h1 { margin: 0 0 .3em; font-size: max(28px, calc(var(--hh) * .3cqh)); line-height: 1.05; color: #F8ECD6; white-space: nowrap;
  text-shadow: 0 0 .35em rgba(255, 196, 120, .38), 0 0 1.2em rgba(255, 170, 90, .18), 0 2px 3px rgba(0, 0, 0, .45); }
.staged .intro .acc { color: #FFC867; }
.staged .intro p { margin: 0 auto; max-width: 40em; font-size: max(15px, calc(var(--hh) * .078cqh)); line-height: 1.4; color: #EFE0C6;
  text-shadow: 0 0 .6em rgba(255, 196, 120, .22), 0 1px 2px rgba(0, 0, 0, .6); }
/* "Coming soon", just below the window row (owner note 68) */
.staged .soon-line { position: absolute; z-index: 3; left: 0; right: 0; top: var(--soon-y); margin: 0; font-size: max(13px, 1.25cqh); letter-spacing: .1em; color: #FFD38A;
  text-shadow: 0 0 .7em rgba(255, 196, 120, .4), 0 1px 3px rgba(0, 0, 0, .9), 0 0 10px rgba(0, 0, 0, .6); }

/* the windows: the world is a plain box behind the plate; the plate's opening gives it its arch, frame and sill */
.staged .wall { position: absolute; inset: 0; display: block; }
.staged .win { position: absolute; flex: none; display: block; gap: 0;
  left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); height: calc(var(--h) * 1%); }
.staged .win .arch { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; z-index: 1; box-shadow: none; background: #0C0A08; }
.staged .win .arch::after { display: none; }
.staged .win .sill { display: none; }
/* a faint sheen on the glass, in the opening's own arch shape */
.staged .win .glass { position: absolute; z-index: 3; left: var(--gx); top: var(--gy); width: var(--gw); height: var(--gh); border-radius: 999px 999px 0 0;
  pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(118deg, rgba(255, 244, 228, .10) 0%, rgba(255, 244, 228, 0) 30%, rgba(255, 244, 228, .05) 56%, rgba(255, 244, 228, 0) 66%); }
/* the world's light on the plaster: soft always, warmer when that world is alive, stronger on hover/focus */
.staged .win::before { z-index: 3; left: -70%; right: -70%; top: -14%; height: 128%; mix-blend-mode: screen; opacity: .22; animation: none;
  transition: opacity .8s ease; background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--glow) 30%, transparent), transparent 70%); filter: blur(18px); }
.staged .win.alive::before { opacity: .5; background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--live, var(--glow)) 38%, transparent), transparent 70%); }
/* the names: lettered straight on the plaster under each sill, in the same warm light as the headline (owner,
   2026-10-17: no plaques, straight lettering); never smaller than 11 px */
.staged .win .lbl { position: absolute; z-index: 3; left: var(--lx); top: var(--ly); width: var(--lw); height: var(--lh); transform: none;
  display: flex; align-items: flex-start; justify-content: center; text-align: center; white-space: normal; min-height: 0; padding: 0; box-sizing: border-box;
  font-family: var(--pixel); font-weight: 400; font-size: max(11px, calc(var(--lhp) * .42cqh)); line-height: 1; letter-spacing: .06em; color: #F6E4C0;
  text-wrap: balance; text-shadow: 0 0 .5em rgba(255, 196, 120, .4), 0 1px 2px rgba(0, 0, 0, .85); transition: color .4s ease, text-shadow .4s ease; }
@media (hover: hover) {
  .staged .win:hover::before { opacity: .78; }
  .staged .win:hover .arch { box-shadow: none; }
  .staged .win:hover .lbl { color: #FFD38A; text-shadow: 0 0 .7em rgba(255, 196, 120, .65), 0 1px 2px rgba(0, 0, 0, .85); }
}
.staged .win:focus-visible::before { opacity: .78; }
.staged .win:focus-visible .arch { box-shadow: none; }
.staged .win:focus-visible .glass { outline: 2px solid var(--gold); outline-offset: 2px; }
.staged .win:focus-visible .lbl { color: #FFD38A; text-decoration: underline; text-underline-offset: 3px; }

/* the playing world lights the room: a soft pool of its live colours below it (a light beam was tried and removed: it read as artificial) */
.staged .fx { display: block; position: absolute; z-index: 3; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity 1.1s ease; }
.staged .fx.on { opacity: 1; }
.staged .pool { border-radius: 50%; filter: blur(10px);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--live, #FFC867) 30%, transparent), transparent); }
/* the lantern on its sill (Lantern Rain is a night world): a small living flame */
.staged .flame { opacity: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 190, 110, .55), rgba(255, 150, 60, 0));
  animation: flicker 3.7s infinite steps(1, end); }
@keyframes flicker { 0% { opacity: .78; } 9% { opacity: .92; } 17% { opacity: .7; } 31% { opacity: .95; } 44% { opacity: .82; } 52% { opacity: .9; }
  63% { opacity: .74; } 77% { opacity: .97; } 88% { opacity: .8; } 100% { opacity: .78; } }

/* stepping through a window (owner note 25): the room dims, the window grows to fill the screen, then the page opens */
.leaving .stage .plate, .leaving .win .arch, .leaving .intro, .leaving .win .lbl, .leaving .soon-line { filter: brightness(.35); }
.win .arch, .intro, .win .lbl { transition: filter .6s ease; }
.portal { position: fixed; z-index: 30; margin: 0; object-fit: cover; image-rendering: pixelated; pointer-events: none;
  border-radius: 999px 999px 0 0; box-shadow: 0 0 0 1px rgba(255, 236, 210, .12), 0 0 60px rgba(0, 0, 0, .6); }
.portal.smooth { image-rendering: auto; }
@media (prefers-reduced-motion: reduce) { .staged .flame { animation: none; } .staged .fx { transition: none; } }
html, body.home { overflow-x: clip; }

/* the push-in (pushin.js): the attic dims, the chosen world's light spills into the room, the other windows go dark,
   then the camera walks through the arch (the rendered frames over the growing world) */
.leaving .stage .plate { filter: brightness(.6); }
.leaving .win:not(.chosen) .arch { filter: brightness(.12); }
.leaving .win.chosen .arch { filter: none; }
.flood { position: fixed; z-index: 30; aspect-ratio: 1.6; transform: translate(-50%, -50%) scale(.25); border-radius: 50%;
  pointer-events: none; mix-blend-mode: screen; opacity: 0; filter: blur(30px);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--live, #FFC867) 55%, transparent), transparent);
  animation: flood .45s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes flood { to { opacity: .95; transform: translate(-50%, -50%) scale(1); } }
.pushing .flood { animation: flood-out .6s ease forwards; }
@keyframes flood-out { from { opacity: .95; transform: translate(-50%, -50%) scale(1); } to { opacity: 0; transform: translate(-50%, -50%) scale(1.6); } }
.push { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; pointer-events: none; }
.push-world { z-index: 28; image-rendering: pixelated; }
.push-room { z-index: 29; filter: brightness(.6); }
body.pushing .stage { visibility: hidden; }
.staged .win.returned::before { opacity: 1; transition: opacity 1.8s ease; }

/* Follow Stillworlds (owner, 2026-10-17): four small line icons, bottom right, in the warm cream of the wall's lettering */
.social { position: relative; z-index: 5; display: flex; justify-content: center; gap: 6px; padding: 4px 14px 18px; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #EFE0C6; opacity: .72;
  transition: opacity .3s ease, color .3s ease, background-color .3s ease; }
.social svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .7)); }
.social svg .fill { fill: currentColor; stroke: none; }
.social a:hover, .social a:focus-visible { opacity: 1; color: #FFD38A; background: rgba(255, 200, 120, .08); }
.social a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.staged .social { position: fixed; right: clamp(10px, 2vw, 28px); bottom: 8px; padding: 0; z-index: 6; }
.leaving .social { opacity: 0; transition: opacity .4s ease; }

/* the light version (shared/lite.js): a tapped window brightens, then a dark sheet fades over the room; no dust */
.veil { position: fixed; inset: 0; z-index: 40; background: #120E0B; opacity: 0; pointer-events: none; }
.win.tapped .arch img, .win.tapped .arch canvas { filter: brightness(1.25) saturate(1.05); transition: filter .14s ease; }
.lite #dust { display: none; }
.lite body.leaving .stage .plate, .lite body.leaving .win .arch, .lite body.leaving .intro, .lite body.leaving .win .lbl { filter: none !important; }

/* The windows' plain-HTML copy (gen_home_links.py) is for search engines and visitors without JavaScript (its images are
   lazy, so hidden they never load and never compete with the page's first paint). With
   JavaScript, home.js builds the real wall, so the copy never shows during a slow load (SEO milestone, 2026-10-19). */
.js #wall [data-static] { display: none; }
