  :root {
    /* the room — warm, low, lamplit. no cool tones anywhere on this page. */
    --room: #14100c;
    --table: #1d1712;
    --paper: #241d16;
    --ink: #ece5d7;
    --ink-dim: rgba(236,229,215,0.62);
    --ink-faint: rgba(236,229,215,0.34);
    --rule: rgba(236,229,215,0.10);

    /* brass, not gold — brand/BRAND.md, the dark-ground token */
    --brass: #c9a35c;
    --brass-up: #dfbc7d;
    --brass-deep: #8a6a2f;
    --brass-wash: rgba(201,163,92,0.16);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--room);
    color: var(--ink);
    font-family: "Switzer", "Avenir Next", system-ui, sans-serif;
    font-size: 18px; line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }
  ::selection { background: var(--brass); color: var(--room); }

  h1, h2, h3, .serif { font-family: "Zodiak", Georgia, serif; font-weight: 300; }
  .mono { font-family: "JetBrains Mono", Consolas, monospace; font-size: 0.72rem; letter-spacing: 0.06em; }
  .caps { text-transform: uppercase; letter-spacing: 0.22em; }

  a { color: var(--brass); text-decoration: none; border-bottom: 1px solid var(--brass-wash);
      transition: color 0.2s ease-out, border-color 0.2s ease-out; }
  a:hover { color: var(--brass-up); border-color: var(--brass-up); }
  a:focus-visible, button:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

  /* the lamp: one warm source, upper left. the only light in the room. */
  body::before {
    content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background:
      radial-gradient(ellipse 760px 520px at 16% 4%, rgba(201,163,92,0.07), transparent 68%),
      radial-gradient(ellipse 500px 400px at 84% 96%, rgba(138,106,47,0.05), transparent 70%);
  }

  main { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

  /* ---------- deco rule: a heavy brass line over a faint one ---------- */
  .deco-rule { height: 3px; position: relative; margin: 0 0 2.4rem; }
  .deco-rule::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--brass); opacity: 0.55; }
  .deco-rule::after  { content: ""; position: absolute; inset: 2px 0 auto 0; height: 1px; background: var(--rule); }
  .deco-rule.short::before, .deco-rule.short::after { right: auto; width: 84px; }

  /* ---------- the standing mark ---------- */
  #mark {
    position: fixed; top: 0; left: 0; right: 0; z-index: 12;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 0.9rem 24px; background: rgba(20,16,12,0.86);
    backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule);
  }
  #mark .inner { width: 100%; max-width: 1080px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
  /* the wordmark is set small on purpose — BRAND.md: a filing label, never a masthead */
  #mark .wordmark { font-family: "Switzer", sans-serif; font-size: 0.68rem; font-weight: 500;
                    letter-spacing: 0.34em; color: var(--brass); text-transform: uppercase; }
  #mark nav { display: flex; gap: 1.6rem; }
  #mark nav a { color: var(--ink-faint); border: none; font-size: 0.78rem; letter-spacing: 0.04em; }
  #mark nav a:hover { color: var(--brass); }
  @media (max-width: 700px) { #mark nav a:not(.keep) { display: none; } }

  /* ================= HERO ================= */
  #hero {
    min-height: 88vh; display: grid; grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem; align-items: center; padding: 8rem 0 4rem;
  }
  .hero-copy .meta { color: var(--ink-faint); margin-bottom: 2.4rem; }
  .hero-copy h1 {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 1.8rem;
  }
  .hero-copy h1 em { font-style: italic; font-weight: 400; color: var(--brass); }
  .hero-copy .counsel { color: var(--ink-dim); font-size: 1.05rem; max-width: 30rem; }
  .hero-copy .counsel + .counsel { margin-top: 1.1rem; }
  .hero-copy .counsel b { color: var(--ink); font-weight: 500; }

  /* the record plate: brass-cornered, the proof sits in the hero */
  .plate {
    position: relative; background: var(--paper); border: 1px solid var(--rule);
    padding: 2.6rem 2.2rem 2rem;
    box-shadow: inset 0 1px 0 rgba(236,229,215,0.05), 0 24px 52px rgba(0,0,0,0.5);
  }
  .plate .corner { position: absolute; width: 16px; height: 16px; border: 1px solid var(--brass); opacity: 0.7; }
  .plate .c-tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
  .plate .c-tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
  .plate .c-bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
  .plate .c-br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
  .plate .plate-label { color: var(--ink-faint); margin-bottom: 1.4rem; }
  .figs { display: grid; grid-template-columns: auto 1fr; gap: 0.55rem 1.1rem; align-items: baseline; }
  .figs dt { font-family: "JetBrains Mono", monospace; font-size: 1.02rem; color: var(--brass); text-align: right; }
  .figs dd { font-size: 0.86rem; color: var(--ink-dim); line-height: 1.5; }
  .plate .plate-foot { margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--rule);
                       font-size: 0.78rem; color: var(--ink-faint); line-height: 1.6; }

  /* ================= sections ================= */
  section { padding: 5rem 0; scroll-margin-top: 70px; }
  .quiet-label { color: var(--ink-faint); margin-bottom: 1rem; }
  .lede { color: var(--ink-dim); max-width: 36rem; }
  h2.head { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 1.2rem; }

  #see .line { color: var(--ink-dim); font-size: 1.05rem; max-width: 36rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
  #see .line:last-of-type { border-bottom: none; }
  #see .line b { color: var(--ink); font-weight: 500; }
  #see .landing { margin-top: 2rem; color: var(--ink); font-size: 1.05rem; }
  #see .landing em { font-family: "Zodiak", serif; font-style: italic; color: var(--brass); }

  /* ================= the record ================= */
  .rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 2.6rem 0 2rem; }
  .room-card { background: var(--table); border: 1px solid var(--rule); border-left: 2px solid var(--brass-deep);
               padding: 1.7rem 1.5rem; }
  .room-card .when { color: var(--ink-faint); margin-bottom: 0.7rem; }
  .room-card h3 { font-size: 1.12rem; color: var(--ink); margin-bottom: 0.8rem; font-weight: 400; }
  .room-card p { font-size: 0.9rem; color: var(--ink-dim); line-height: 1.6; }
  .room-card .num { color: var(--brass); font-family: "JetBrains Mono", monospace; font-size: 0.86rem; }
  .same-operator { color: var(--ink); max-width: 38rem; margin-top: 0.6rem; font-size: 1.02rem; }
  .same-operator em { font-family: "Zodiak", serif; font-style: italic; color: var(--brass); }

  .attest { margin-top: 3rem; background: var(--paper); border: 1px solid var(--rule); padding: 1.8rem 1.8rem 1.6rem; max-width: 44rem; }
  .attest .quiet-label { margin-bottom: 0.8rem; }
  .attest p { font-size: 0.94rem; color: var(--ink-dim); }
  .attest p + p { margin-top: 0.9rem; }
  .attest b { color: var(--ink); font-weight: 500; }

  .concede { margin-top: 2.4rem; max-width: 38rem; font-size: 0.94rem; color: var(--ink-dim); }
  .concede b { color: var(--ink); font-weight: 500; }

  /* ================= who ================= */
  .portrait {
    aspect-ratio: 4 / 5; border: 1px solid var(--rule);
    background: radial-gradient(circle at 35% 18%, rgba(201,163,92,0.13), rgba(29,23,18,0.95)), var(--table);
    display: flex; align-items: flex-end; justify-content: center; padding-bottom: 1rem;
    color: var(--ink-faint); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
    box-shadow: 0 24px 48px rgba(0,0,0,0.4);
  }
  #who .bio p { color: var(--ink-dim); max-width: 34rem; }
  #who .bio p + p { margin-top: 1.2rem; }
  #who .bio p b { color: var(--ink); font-weight: 500; }

  /* ---- the device on the table ---- */
  #device { max-width: 620px; }
  .device-shell { border: 1px solid var(--rule); overflow: hidden; background: #100c09;
                  box-shadow: 0 24px 48px rgba(0,0,0,0.4); }
  .device-bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 1rem;
                border-bottom: 1px solid var(--rule); color: var(--ink-faint); }
  .lamp { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 7px var(--brass);
          animation: lamp-breathe 3.2s ease-in-out infinite; }
  @keyframes lamp-breathe { 0%,100% { opacity: 1; } 50% { opacity: 0.42; } }
  #oplog { height: 172px; overflow: hidden; padding: 0.9rem 1.1rem; display: flex; flex-direction: column; justify-content: flex-end; }
  #oplog div { color: var(--ink-dim); font-family: "JetBrains Mono", monospace; font-size: 0.72rem;
               letter-spacing: 0.04em; line-height: 2.1; animation: settle 0.6s ease-out; }
  #oplog .t { color: var(--ink-faint); margin-right: 0.8em; }
  #oplog .hot { color: var(--brass); }
  @keyframes settle { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  .device-note { margin-top: 0.9rem; color: var(--ink-faint); font-size: 0.86rem; max-width: 34rem; }

  /* ================= THE INSTRUMENT ================= */
  #instrument { }
  .inst-shell { background: var(--paper); border: 1px solid var(--rule); padding: 2.4rem 2.2rem 2rem; max-width: 46rem; position: relative; }
  .inst-shell::before { content: ""; position: absolute; top: 0; left: 0; width: 84px; height: 2px; background: var(--brass); opacity: 0.7; }
  .q { padding: 1.3rem 0; border-bottom: 1px solid var(--rule); }
  .q:last-of-type { border-bottom: none; }
  .q .qtext { font-size: 0.98rem; color: var(--ink); margin-bottom: 0.85rem; }
  .q .qtext .n { font-family: "JetBrains Mono", monospace; font-size: 0.72rem; color: var(--brass); margin-right: 0.7em; }
  .opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .opt {
    background: transparent; border: 1px solid var(--rule); color: var(--ink-dim);
    font-family: inherit; font-size: 0.85rem; padding: 0.42rem 0.9rem; cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
  }
  .opt:hover { border-color: var(--brass-wash); color: var(--ink); }
  .opt[aria-pressed="true"] { border-color: var(--brass); color: var(--brass); background: rgba(201,163,92,0.07); }
  .inst-actions { margin-top: 1.8rem; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
  .inst-progress { color: var(--ink-faint); }
  #verdict { margin-top: 1.8rem; border-top: 1px solid var(--rule); padding-top: 1.6rem; display: none; }
  #verdict.shown { display: block; animation: settle 0.5s ease-out; }
  #verdict .v-label { color: var(--ink-faint); margin-bottom: 0.7rem; }
  #verdict .v-head { font-family: "Zodiak", serif; font-size: 1.5rem; font-weight: 300; color: var(--brass); margin-bottom: 0.9rem; line-height: 1.3; }
  #verdict .v-body { color: var(--ink-dim); font-size: 0.96rem; }
  #verdict .v-body + .v-body { margin-top: 0.9rem; }
  #verdict .v-body b { color: var(--ink); font-weight: 500; }
  #verdict .v-cost { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); font-size: 0.88rem; color: var(--ink-faint); }
  .inst-foot { margin-top: 1.4rem; font-size: 0.86rem; color: var(--ink-faint); max-width: 40rem; }

  /* ================= THE DOSSIERS ================= */
  #boards { display: grid; grid-template-columns: 1fr 1fr; gap: 3.2rem; padding: 2.4rem 0 2rem; }
  .board {
    background: var(--paper); border: 1px solid var(--rule);
    padding: 2.5rem 2.3rem 2.1rem; position: relative;
    box-shadow: inset 0 1px 0 rgba(236,229,215,0.05), 0 28px 56px rgba(0,0,0,0.5);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease-out;
    opacity: 0; transform: translateY(40px);
  }
  .board.dealt { opacity: 1; transform: none; }
  .board::before { content: ""; position: absolute; top: 0; left: 0; width: 84px; height: 2px; background: var(--brass); opacity: 0.7; }
  .board .board-head { display: flex; justify-content: space-between; align-items: baseline;
                       border-bottom: 1px solid var(--rule); padding-bottom: 0.9rem; margin-bottom: 1.4rem; }
  .board .board-head h2 { font-size: 1.5rem; font-weight: 400; }
  .board .board-head .mono { color: var(--ink-faint); }
  .item { padding: 1.05rem 0; border-bottom: 1px solid var(--rule); }
  .item:last-of-type { border-bottom: none; }
  .item .row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
  .item .name { font-weight: 500; font-size: 0.97rem; color: var(--ink); }
  .item .name .ref { font-family: "JetBrains Mono", monospace; font-size: 0.66rem; color: var(--ink-faint); margin-right: 0.6em; }
  .item .price { font-family: "JetBrains Mono", monospace; font-size: 0.78rem; color: var(--brass); white-space: nowrap; }
  .item .desc { margin-top: 0.35rem; font-size: 0.87rem; line-height: 1.6; color: var(--ink-dim); }
  .blemish { margin-top: 1.3rem; font-size: 0.82rem; font-style: italic; color: var(--ink-faint); }
  .boards-footnote { color: var(--ink-faint); font-size: 0.9rem; max-width: 40rem; }
  .boards-footnote a { font-size: inherit; }

  /* ================= the anchor ================= */
  #anchor .serif { font-size: clamp(1.15rem, 2.3vw, 1.5rem); line-height: 1.7; color: var(--ink-dim); max-width: 38rem; font-weight: 300; }
  #anchor .serif b { color: var(--ink); font-weight: 400; }

  /* ================= the door ================= */
  #door { padding-bottom: 6rem; }
  #door .ask-line { font-family: "Zodiak", serif; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 300; margin-bottom: 1.8rem; }
  .btn-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
  .btn { display: inline-block; padding: 0.85rem 2.1rem; border: 1px solid var(--brass);
         color: var(--brass); font-size: 0.94rem; letter-spacing: 0.03em;
         transition: background 0.2s ease-out, color 0.2s ease-out; }
  .btn:hover { background: var(--brass); color: var(--room); border-color: var(--brass); }
  .btn.ghost { border-color: var(--rule); color: var(--ink-dim); }
  .btn.ghost:hover { background: transparent; color: var(--brass); border-color: var(--brass); }
  #door .byaf { margin-top: 1.6rem; color: var(--ink-faint); font-size: 0.92rem; max-width: 34rem; }

  /* ================= foot ================= */
  footer { border-top: 1px solid var(--rule); padding: 3.4rem 24px 4.5rem; position: relative; z-index: 1; }
  .foot-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; }
  .whisper { font-family: "Zodiak", serif; font-style: italic; font-weight: 300; color: var(--ink-faint); font-size: 1rem; max-width: 24rem; }
  .foot-block .caps { color: var(--ink-faint); font-size: 0.62rem; margin-bottom: 0.9rem; }
  .foot-block p, .foot-block address { color: var(--ink-dim); font-size: 0.86rem; font-style: normal; line-height: 1.85; }
  .foot-mark { margin-top: 2.8rem; padding-top: 1.6rem; border-top: 1px solid var(--rule);
               max-width: 1080px; margin-left: auto; margin-right: auto;
               display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
               font-size: 0.62rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.22em; }

  @media (max-width: 900px) {
    #hero { grid-template-columns: 1fr; gap: 2.6rem; min-height: unset; padding-top: 6.5rem; }
    .portrait { max-width: 220px; }
    #boards { grid-template-columns: 1fr; gap: 2.4rem; }
    .rooms { grid-template-columns: 1fr; gap: 1.4rem; }
    .foot-inner { grid-template-columns: 1fr; gap: 2rem; }
    section { padding: 3.5rem 0; }
    .inst-shell, .board { padding-left: 1.4rem; padding-right: 1.4rem; }
  }

  @media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .board { opacity: 1 !important; transform: none !important; }
  }

  /* ---------- the rooms archive ---------- */
  .rooms { display: grid; gap: 1.4rem; margin: 2.2rem 0 2.6rem;
           grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); }
  .room-card { display: flex; flex-direction: column; text-decoration: none; color: inherit;
               background: var(--paper); border: 1px solid var(--rule); border-radius: 2px;
               overflow: hidden; transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
                                             border-color 0.35s ease; }
  .room-card:hover { transform: translateY(-3px); border-color: var(--brass-deep); }
  .room-card-fig { aspect-ratio: 16 / 9; background: var(--table); overflow: hidden; }
  .room-card-fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
  /* No photo yet: a lamplit panel rather than a broken frame. */
  .room-card-blank { width: 100%; height: 100%;
      background: radial-gradient(120% 90% at 30% 0%, rgba(201,163,92,0.14), transparent 62%),
                  var(--table); }
  .room-card-body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.42rem; flex: 1; }
  .room-card .when { color: var(--ink-faint); font-size: 0.72rem; letter-spacing: 0.04em; }
  .room-card h3 { font-size: 1.06rem; font-weight: 400; line-height: 1.35; }
  .room-card-partner { color: var(--brass); font-size: 0.83rem; }
  .room-card-role { color: var(--ink-faint); font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; }
  .room-card-stat { color: var(--ink-dim); font-size: 0.83rem; line-height: 1.5; margin-top: 0.15rem; }
  .room-card-go { margin-top: auto; padding-top: 0.7rem; color: var(--ink-faint); font-size: 0.72rem; }
  .room-card:hover .room-card-go { color: var(--brass); }

  /* ---------- the memo ask, after a verdict ---------- */
  .v-memo { margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--rule); }
  .v-memo p { color: var(--ink-dim); font-size: 0.92rem; line-height: 1.6; margin-bottom: 0.95rem; }
  .v-memo .memo-note { display: block; margin-top: 0.7rem; color: var(--ink-faint); font-size: 0.72rem; }

  /* ---------- the close: the line you leave on ---------- */
  #close { text-align: center; padding: 1rem 0 0.5rem; }
  #close .serif { max-width: 46rem; margin: 0 auto; color: var(--ink-dim); }
  .closing-line { font-family: "Zodiak", Georgia, serif; font-weight: 300;
                  font-size: clamp(2.1rem, 6.5vw, 3.6rem); line-height: 1.1;
                  margin-top: 2.2rem; color: var(--ink); }
  .closing-line em { font-style: italic; color: var(--brass); }
