/* ThatWebHostingGuy: a live gallery.
   One idea: every website hangs in a gallery after hours, lit from above,
   and every frame is a running screen. Dark walls so the screens glow,
   brass plates, a red dot for a site that went live, a doorway into each
   room. The visitor walks the halls; any frame opens the real website. */

@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
/* Stand ins sized to the real faces (measured in Chrome, 2026-10-14), so
   nothing moves when the fonts arrive on a slow connection. */
@font-face { font-family: "Instrument Sans Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"); size-adjust: 100.2%; ascent-override: 96.8%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Serif Fallback"; src: local("Times New Roman"), local("Times"), local("Liberation Serif"); size-adjust: 82%; ascent-override: 120.7%; descent-override: 37.8%; line-gap-override: 0%; }

:root {
  color-scheme: dark;
  --night: #0d0c0a;
  --wall: #1a1815;
  --tone: var(--wall);
  --ink: #f1ebdf;
  --soft: #b6ad9e;
  --faint: #8f877a;
  --line: #39342d;
  --brass: #cfab6f;
  --brass-ink: #1b1309;
  --red: #ec4c40;
  --live: #ff5a4b;
  --focus: #9cc2ff;
  --frame-wood: linear-gradient(150deg, #2a251e 0%, #0d0c0a 46%, #1c1914 100%);
  --lamp: rgba(255, 228, 182, 0.15);
  --serif: "Instrument Serif", "Instrument Serif Fallback", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Instrument Sans", "Instrument Sans Fallback", ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --max: 90rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --plate: 3.9rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--night); }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--brass); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
.shell { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--night); padding: 0.6rem 1rem; border-radius: 4px; }
.skip:focus { top: 1rem; }
.kicker { font: 600 0.75rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--soft); max-width: 44rem; }
.soft { color: var(--soft); }
.notice { color: var(--soft); padding: 2rem 0; }

/* The red dot, and the live light that breathes */
.dot { display: inline-block; width: 0.62em; height: 0.62em; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px rgba(236, 76, 64, 0.18); flex: none; vertical-align: 0.04em; margin-right: 0.45em; }
.live-light { display: inline-block; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px 2px rgba(255, 90, 75, 0.55); flex: none; animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: 0.45; box-shadow: 0 0 4px 0 rgba(255, 90, 75, 0.3); } }
.tag { display: inline-block; margin-left: 0.4em; padding: 0.05em 0.5em; border: 1px solid var(--brass); color: var(--brass); border-radius: 99px; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: 0.1em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.9rem; padding: 0.7rem 1.35rem; border-radius: 999px; border: 1px solid var(--brass); background: var(--brass); color: var(--brass-ink); font: 600 0.95rem/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s var(--ease); }
.btn:hover { background: #e2c189; transform: translateY(-1px); }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.quiet:hover { border-color: var(--brass); color: var(--ink); }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.icon-btn { display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 400 1.15rem/1 var(--sans); cursor: pointer; }
.icon-btn:hover { border-color: var(--brass); }
.link-btn { background: none; border: 0; padding: 0; color: var(--brass); font: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.more { color: var(--brass); font-weight: 600; text-decoration: none; }
.more::after { content: " →"; }

/* Masthead */
.mast { position: relative; z-index: 20; border-bottom: 1px solid rgba(255, 255, 255, 0.06); background: var(--night); }
.mast-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.25rem; }
.mark { display: flex; align-items: baseline; gap: 0.7rem; text-decoration: none; }
.mark-name { font: 400 1.5rem/1 var(--serif); letter-spacing: 0.005em; }
.mark-sub { display: inline-flex; align-items: center; gap: 0.4rem; font: 600 0.68rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft); }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a { padding: 0.55rem 0.8rem; text-decoration: none; color: var(--soft); font-size: 0.93rem; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.06); }
.nav .ask { margin-left: 0.5rem; color: var(--brass-ink); background: var(--brass); font-weight: 600; }
.nav .ask:hover { color: var(--brass-ink); background: #e2c189; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 0.55rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 0.9rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 0.6rem); display: grid; min-width: 15rem; padding: 0.5rem; background: #1c1a16; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); }
.menu-panel a { padding: 0.75rem 0.9rem; text-decoration: none; border-radius: 8px; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: rgba(255, 255, 255, 0.06); }
@media (max-width: 66rem) { .nav { display: none; } .menu { display: block; } }

/* Crumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 1.4rem auto 0; padding: 0; font-size: 0.85rem; color: var(--faint); }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }
.crumbs a { color: var(--soft); }

/* Frames: a thin dark wood frame, a narrow mat, a running screen */
.work { display: block; position: relative; text-decoration: none; color: inherit; border-radius: 4px; }
.frame { display: block; position: relative; padding: clamp(0.35rem, 0.6vw, 0.6rem); background: var(--frame-wood); border-radius: 2px; box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 50px -18px rgba(0, 0, 0, 0.9),
    0 0 90px -16px color-mix(in srgb, var(--glow, #ffcf8a) 32%, transparent);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
/* The lamp overhead: a soft pool of light on the wall around each piece */
.frame::before { content: ""; position: absolute; z-index: -1; left: -32%; right: -32%; top: -55%; bottom: -12%; background: radial-gradient(ellipse 50% 52% at 50% 36%, var(--lamp), transparent 72%); pointer-events: none; }
.mat { display: block; padding: clamp(0.25rem, 0.45vw, 0.45rem); background: #0b0a09; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04); }
.art { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.art picture, .art img, .art video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.art video { opacity: 0; transition: opacity 0.35s ease; }
.art video.is-playing { opacity: 1; }
.work:hover .frame, .work:focus-visible .frame { transform: translateY(-4px) scale(1.012); box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 34px 60px -18px rgba(0, 0, 0, 0.95),
    0 0 120px -10px color-mix(in srgb, var(--glow, #ffcf8a) 45%, transparent); }
.work:focus-visible { outline: none; }
.work:focus-visible .frame { outline: 2px solid var(--focus); outline-offset: 6px; }
/* "See it live" appears on the frame when a visitor steps up */
.work .art::after { content: "See it live"; position: absolute; left: 50%; bottom: 8%; transform: translate(-50%, 0.5rem); padding: 0.45rem 0.9rem 0.45rem 1.7rem; border-radius: 999px; background: rgba(12, 11, 9, 0.82) radial-gradient(circle at 0.85rem 50%, var(--live) 0 0.22rem, transparent 0.24rem); color: var(--ink); font: 600 0.78rem/1 var(--sans); letter-spacing: 0.03em; white-space: nowrap; opacity: 0; transition: opacity 0.25s, transform 0.25s var(--ease); pointer-events: none; backdrop-filter: blur(4px); }
.work:hover .art::after, .work:focus-visible .art::after { opacity: 1; transform: translate(-50%, 0); }

/* Wall plates */
.plate { display: block; margin-top: 0.85rem; }
.plate-name { font: 400 1.18rem/1.15 var(--serif); margin: 0 0 0.25rem; letter-spacing: 0; color: var(--ink); }
.plate-line { display: block; font-size: 0.78rem; line-height: 1.45; color: var(--soft); letter-spacing: 0.01em; }
.plate-role { display: block; font: 600 0.68rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); margin-bottom: 0.35rem; }
.plate-host { display: block; margin-top: 0.3rem; font-size: 0.78rem; color: var(--faint); letter-spacing: 0.02em; }

/* ============ The viewing room ============ */
.viewer { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #080706; color: var(--ink); display: none; }
@supports (height: 100dvh) { .viewer { height: 100dvh; } }
.viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); }
.viewer > * { min-width: 0; }
.viewer h2:focus { outline: none; }
.viewer .short { display: none; }
.viewer::backdrop { background: rgba(0, 0, 0, 0.85); }
.viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem var(--gutter); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.viewer-id { min-width: 0; }
.viewer-status { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.15rem; font: 600 0.7rem/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft); }
.viewer-status .live-light { background: #6b645a; box-shadow: none; animation: none; }
.viewer.is-live .viewer-status { color: var(--live); }
.viewer.is-live .viewer-status .live-light { background: var(--live); box-shadow: 0 0 10px 2px rgba(255, 90, 75, 0.55); animation: breathe 2.6s ease-in-out infinite; }
.viewer h2 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer-line { margin: 0.1rem 0 0; color: var(--soft); font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer-actions { display: flex; align-items: center; gap: 0.6rem; flex: none; }
.viewer-actions .btn { min-height: 2.6rem; padding: 0.55rem 1.05rem; font-size: 0.88rem; }
.viewer-stage { position: relative; display: grid; place-items: center; padding: clamp(0.5rem, 1.6vw, 1.5rem) var(--gutter); min-height: 0; background: radial-gradient(ellipse 60% 70% at 50% 40%, rgba(255, 226, 176, 0.06), transparent 70%); }
.viewer-frame { position: relative; width: 100%; height: 100%; max-width: 1680px; background: #000; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 0 clamp(4px, 0.5vw, 9px) #15130f, 0 0 0 calc(clamp(4px, 0.5vw, 9px) + 1px) #000, 0 40px 90px -30px rgba(0, 0, 0, 0.9); }
.viewer-poster, .viewer-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: opacity 0.5s; }
.viewer-loop { opacity: 0; }
.viewer-loop.is-playing { opacity: 1; }
.viewer-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; opacity: 0; transition: opacity 0.7s ease; }
.viewer.is-live .viewer-frame iframe { opacity: 1; }
.viewer.is-live .viewer-poster, .viewer.is-live .viewer-loop { opacity: 0; }
.viewer-frame::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--brass), transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: scan 1.3s linear infinite; opacity: 0.9; pointer-events: none; }
.viewer.is-live .viewer-frame::after, .viewer.is-still .viewer-frame::after { display: none; }
@keyframes scan { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.viewer-note { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); width: min(92%, 34rem); padding: 1.2rem 1.4rem; text-align: center; background: rgba(10, 9, 8, 0.9); border: 1px solid var(--line); border-radius: 14px; backdrop-filter: blur(6px); }
.viewer-note p { color: var(--ink); margin-bottom: 0.9rem; }
.viewer-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem var(--gutter) max(0.7rem, env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.viewer-foot .btn { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.86rem; max-width: 40%; }
.viewer-foot .btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer-details { color: var(--soft); font-size: 0.86rem; }
@media (max-width: 40rem) {
  .viewer-actions .btn.quiet { display: none; }
  .viewer-actions .btn { padding: 0.5rem 0.95rem; font-size: 0.85rem; }
  .viewer .long { display: none; }
  .viewer .short { display: inline; }
  .viewer-bar { padding-top: max(0.8rem, env(safe-area-inset-top)); }
  .viewer-stage { padding: 0; }
  .viewer-frame { border-radius: 0; box-shadow: none; }
  .viewer-details { display: none; }
}
body.is-viewing { overflow: hidden; }

/* ============ One work ============ */
.work-page { padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.work-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.work-stage { position: relative; padding-top: 2rem; }
.work--hero .art::after { content: none; }
.step-in { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.4rem; border-radius: 999px; background: rgba(12, 11, 9, 0.84); border: 1px solid rgba(255, 255, 255, 0.14); color: var(--ink); font: 600 1rem/1 var(--sans); backdrop-filter: blur(6px); transition: transform 0.3s var(--ease), background 0.3s; }
.work--hero:hover .step-in, .work--hero:focus-visible .step-in { background: var(--brass); color: var(--brass-ink); transform: translate(-50%, -50%) scale(1.04); }
.stage-note { color: var(--faint); font-size: 0.85rem; margin-top: 1rem; }
.wall-label { position: sticky; top: 1.5rem; padding: 1.8rem; background: linear-gradient(180deg, #1c1915, #161410); border: 1px solid var(--line); border-radius: 4px; }
.wall-label h1 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
.wall-label dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.2rem; margin: 1.2rem 0 1.4rem; font-size: 0.95rem; }
.wall-label dt { color: var(--faint); }
.wall-label dd { margin: 0; overflow-wrap: anywhere; }
.label-no { font-variant-numeric: tabular-nums; }
.own-words { margin: 0 0 0.5rem; padding: 1rem 0 0 1rem; border-left: 2px solid var(--brass); color: var(--soft); font: italic 400 1.15rem/1.45 var(--serif); }
.own-words-cite { display: block; font: 600 0.68rem/1.3 var(--sans); font-style: normal; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin-bottom: 0.4rem; }
@media (max-width: 60rem) { .work-grid { grid-template-columns: 1fr; } .wall-label { position: static; } }

.views { padding: 1rem 0 clamp(3rem, 6vw, 5rem); }
.views-row { display: flex; gap: clamp(2rem, 5vw, 5rem); align-items: flex-start; flex-wrap: wrap; }
.views figure { margin: 0; }
.views figcaption { margin-top: 0.9rem; color: var(--soft); font-size: 0.9rem; }
.phone-view { width: min(16rem, 70vw); }
.frame--phone { border-radius: 26px; padding: 0.6rem; }
.frame--phone .mat { border-radius: 18px; overflow: hidden; padding: 0; }
.frame--phone img { width: 100%; height: auto; }
.strip-view { flex: 1; min-width: min(100%, 22rem); max-width: 40rem; }
.strip-mat { position: relative; height: clamp(22rem, 60vh, 34rem); overflow: hidden; padding: 0; }
.strip-mat img.tall { width: 100%; height: auto; transform: translateY(0); transition: transform var(--scroll-time, 14s) linear; }
.scroller:hover .strip-mat img.tall, .scroller.is-playing .strip-mat img.tall { transform: translateY(var(--scroll-end, 0)); }

.ask-one { padding: clamp(3rem, 6vw, 5rem) 0; background: #14120f; border-block: 1px solid rgba(255, 255, 255, 0.04); }
.nearby { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0; }
.nearby-row { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1.5rem, 3vw, 3rem); overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x proximity; }
.nearby-row .piece { flex: 0 0 clamp(15rem, 24vw, 22rem); scroll-snap-align: start; }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.pager a { text-decoration: none; color: var(--soft); max-width: 45%; }
.pager a:hover { color: var(--ink); }

/* ============ Pages, prose, forms ============ */
.page { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 6rem); }
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(16rem, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 56rem) { .split { grid-template-columns: 1fr; } }
.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 2.2rem; }
.prose p, .prose li { color: #ddd5c8; }
.card { padding: 1.6rem; background: #17150f; border: 1px solid var(--line); border-radius: 6px; }
.card h2, .card h3 { font-size: 1.5rem; }
.card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; color: var(--soft); }
.card strong { color: var(--ink); font-weight: 600; }

.form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 40rem) { .two { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.92rem; }
.hint { color: var(--faint); font-weight: 400; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: #11100d; border: 1px solid #4a443b; border-radius: 8px; padding: 0.75rem 0.9rem; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
textarea { min-height: 9rem; resize: vertical; }
[aria-invalid="true"] { border-color: var(--red); }
.error-text { color: #ff9a90; font-size: 0.88rem; margin: 0; }
.summary { padding: 1rem 1.2rem; border: 1px solid var(--red); border-radius: 8px; background: rgba(236, 76, 64, 0.08); }
.summary h2 { font-size: 1.3rem; }
.fine { font-size: 0.88rem; color: var(--soft); margin: 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Ask band */
.ask-band { padding: clamp(3.5rem, 8vw, 6.5rem) 0; background: radial-gradient(ellipse 60% 80% at 80% 0%, rgba(207, 171, 111, 0.12), transparent 60%), #12100d; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); counter-reset: step; }
.steps li { counter-increment: step; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step); display: block; font: 400 2.4rem/1 var(--serif); color: var(--brass); margin-bottom: 0.6rem; }
.steps h3 { font-size: 1.4rem; }
.steps p { color: var(--soft); }
@media (max-width: 48rem) { .steps { grid-template-columns: 1fr; } }

/* Footer */
.floor { padding: clamp(3rem, 6vw, 5rem) 0 2rem; background: #090807; border-top: 1px solid rgba(255, 255, 255, 0.05); color: var(--soft); font-size: 0.93rem; }
.floor-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.floor-name { font: 400 1.7rem/1 var(--serif); color: var(--ink); }
.floor h2 { font: 600 0.72rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem; }
.floor ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.floor a { color: var(--soft); text-decoration: none; }
.floor a:hover { color: var(--ink); text-decoration: underline; }
.floor-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 0.85rem; color: var(--faint); }
.floor-legal p { margin: 0; }
@media (max-width: 56rem) { .floor-grid { grid-template-columns: 1fr 1fr; } .floor-brand { grid-column: 1 / -1; } }

/* Motion off: everything holds still, every frame shows its photograph */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .art video { display: none; }
}
html.reduced .art video { display: none; }

@media print {
  .mast, .floor, .plan, .viewer, .ask-band, .actions { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Embedded websites keep the entire viewport; recovery belongs in the footer. */
.viewer-foot{flex-wrap:wrap;gap:.6rem 1rem}.viewer-foot .viewer-note{position:static;transform:none;order:5;flex-basis:100%;width:100%;max-width:none;padding:0;margin:0;background:transparent;border:0;border-radius:0;backdrop-filter:none;display:flex;align-items:center;justify-content:space-between;gap:1rem;text-align:left;font-size:.7rem}.viewer-foot .viewer-note[hidden]{display:none}.viewer-foot .viewer-note p{margin:0;color:var(--soft);line-height:1.5}.viewer-foot .viewer-note a{white-space:nowrap;color:var(--ink);min-height:36px;display:inline-flex;align-items:center;text-underline-offset:3px}@media(max-width:40rem){.viewer-foot .viewer-note p{font-size:.6rem}.viewer-foot .viewer-note a{font-size:.65rem}.viewer-foot .viewer-note{gap:.7rem}}

/* Reference pages carry the library's type, brass rules and quiet spacing. */
.discovery-heading{max-width:52rem;margin:0 0 clamp(3rem,7vw,6rem)}
.discovery-heading h1{font-size:clamp(2.8rem,5.8vw,5.4rem);line-height:1.06;max-width:16ch}
.discovery-layout{display:grid;grid-template-columns:minmax(13rem,1fr) minmax(0,2.1fr);gap:clamp(2.5rem,7vw,7rem);align-items:start}
.guide-index{border-top:1px solid #8c7650;padding-top:1.4rem;position:sticky;top:7rem}
.guide-index h2{font-size:1.75rem}.guide-index ol{padding-left:1.2rem}.guide-index li{padding:.45rem 0;font-size:.88rem;line-height:1.55}
.guide-answers section{scroll-margin-top:7rem;padding-bottom:2.6rem;margin-bottom:2.6rem;border-bottom:1px solid #6a5c3c60}
.guide-answers h2{margin-top:0}.answer-links{display:flex;gap:.6rem 1.4rem;flex-wrap:wrap;font-size:.9rem}
.profile-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(2rem,7vw,7rem)}
.profile-group{border-top:1px solid #8c7650;padding-top:1.8rem}.profile-group h2{font-size:clamp(2.1rem,3vw,3rem)}
.profile-primary{display:inline-block;margin:.8rem 0 1.5rem}.profile-links{list-style:none;padding:0;margin:0}
.profile-links a{display:flex;justify-content:space-between;gap:1.2rem;padding:1rem .2rem;border-bottom:1px solid #6a5c3c60;text-decoration:none;min-height:44px}
.profile-links a:hover{color:#e9c990}.provenance-note{margin-top:5rem;padding-top:2.5rem;border-top:1px solid #6a5c3c60}
.shelf-pagination a{padding:.7rem 1rem;border:1px solid #8c7650;text-decoration:none;color:inherit}
@media(max-width:48rem){.discovery-layout,.profile-groups{grid-template-columns:1fr}.guide-index{position:static}.discovery-heading h1{max-width:100%}.guide-answers section{scroll-margin-top:5rem}}
