:root {
  color-scheme: dark;
  --background: #181b18;
  --panel: #22251f;
  --panel-low: #1b1e1a;
  --line: #3f4338;
  --ink: #f3eddd;
  --muted: #bfbcae;
  --gold: #e9bd78;
  --gold-light: #f7d49b;
  --green: #b7ce9c;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --serif: Georgia, "Times New Roman", serif;
  font-family: system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 68% 0, #66503424, transparent 43rem),
    radial-gradient(circle at 0 54%, #414b382c, transparent 36rem),
    var(--background);
}
body:has(dialog[open]) { overflow: hidden; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
section[id] { scroll-margin-top: 22px; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: middle; }
.container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  z-index: 4;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  transform: translateY(-160%);
  background: var(--gold);
  color: var(--background);
  border-radius: 5px;
}
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); background: #171b17b8; }
.header-inner {
  min-height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #656147;
  background: #302e23;
  border-radius: 10px;
}
.brand-mark img { width: 32px; height: 32px; object-fit: contain; }
.brand strong { display: block; font-size: .94rem; line-height: 1.2; }
.brand small {
  display: block;
  margin-top: 4px;
  font: 600 .64rem var(--mono);
  color: var(--muted);
  letter-spacing: .12em;
  white-space: nowrap;
}
.site-nav { align-self: stretch; display: flex; gap: 26px; }
.site-nav a {
  display: flex;
  gap: 4px;
  align-items: center;
  position: relative;
  padding: 0 4px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 600;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav .nav-case { color: var(--ink); }
.site-nav .nav-case::after {
  content: "";
  position: absolute;
  height: 2px;
  inset: auto 4px -1px;
  background: var(--gold);
}
.site-nav .icon { color: var(--gold); width: 13px; }
.help-button {
  justify-self: end;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
}
.help-button .icon { color: var(--gold); }
.help-button:hover { background: #37382a; border-color: #8b7550; }

.case-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: clamp(25px, 3.1vw, 43px) 24px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font: 700 .71rem/1.4 var(--mono);
  letter-spacing: .15em;
}
.eyebrow .icon { width: .84em; height: .84em; }
.case-intro h1 {
  margin-top: 8px;
  font: 600 clamp(3.25rem, 6.2vw, 5.75rem)/1 var(--serif);
  letter-spacing: -.071em;
  text-wrap: balance;
}
.case-intro em { color: var(--gold); font-weight: inherit; }
.intro-copy {
  max-width: 615px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}
.case-stamp {
  flex: none;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  margin-right: 10px;
  padding: 13px 16px;
  border: 1px solid #b6935a80;
  outline: 1px solid #b6935a50;
  outline-offset: -5px;
  border-radius: 4px;
  transform: rotate(5deg);
  color: var(--gold);
  font: 600 .61rem var(--mono);
  letter-spacing: .13em;
}
.case-stamp strong { font-size: 1.6rem; letter-spacing: .11em; }
.case-stamp .icon { margin-right: 1px; }


.case-section { width: min(100%, 1080px); margin-inline: auto; }
.room {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
  box-shadow: 0 18px 50px #090c0961;
}
.room-toolbar, .room-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px;
}
.room-nav, .field-tools, .room-actions { display: flex; align-items: center; gap: 7px; }
.room-nav button, .tool-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 41px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: .81rem;
  font-weight: 650;
  white-space: nowrap;
}
.room-nav button span {
  font: 700 .64rem var(--mono);
  color: var(--gold);
}
.room-nav button[aria-current] {
  border-color: #88714d;
  color: var(--ink);
  background: #d9b67d19;
}
.room-nav button:disabled { opacity: .5; }
.room-nav button:not(:disabled):hover, .tool-button:hover {
  color: var(--ink);
  background: #d9b67d25;
}
.tool-button { border-color: var(--line); color: var(--ink); }
.tool-button .icon, .tool-button b { color: var(--gold); }
.tool-button b { font: 700 .67rem var(--mono); }
.sound-button { min-width: 43px; padding-inline: 7px; }
.sound-button[aria-pressed="true"] { background: #c7a86c1a; border-color: #8b7550; }
.caption-copy { min-width: 0; padding-block: 3px; }
#room-objective { margin-top: 4px; color: var(--muted); font-size: .89rem; line-height: 1.43; }
.room-actions { flex: none; gap: 14px; }
.room-note {
  margin: 0;
  padding: 9px 14px 11px;
  border-top: 1px solid var(--line);
  background: #d9b67d0b;
  color: var(--gold-light);
  font-size: .84rem;
  line-height: 1.45;
}
.route-button { white-space: nowrap; }
.scene {
  position: relative;
  aspect-ratio: 3 / 2;
  isolation: isolate;
  overflow: hidden;
  background: #352b21;
  border-block: 1px solid #131610;
}
.room-image, .vault-open-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  transition: filter .45s ease;
}
.vault-open-art { z-index: 1; }
.scene[data-room="studio"]:not(.is-powered) .room-image { filter: brightness(.68) saturate(.8); }
.scene.is-dim :is(.room-image, .vault-open-art) { filter: brightness(.72) saturate(.83); }
.scene[data-room="studio"].is-dim:not(.is-powered) .room-image { filter: brightness(.58) saturate(.75); }
.scene-light {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.scene[data-room="studio"].is-powered:not(.is-dim) .scene-light {
  opacity: .82;
  background: radial-gradient(ellipse 24% 34% at 67% 12%, #ffba5366, transparent 80%),
    radial-gradient(ellipse 27% 30% at 64% 55%, #ffc8753d, transparent 87%);
  mix-blend-mode: screen;
}
.scene.is-patched::before, .scene.is-printed::before {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 3px 3px #21170c8f);
}
.scene.is-patched::before {
  width: 12%;
  height: 12%;
  left: 61.3%;
  top: 46.5%;
  background: url("./assets/packing-poster.svg") center / 100% 100%;
  transform: rotate(6deg) skewX(-27deg) scaleY(.63);
}
.scene.is-printed::before {
  width: 13%;
  height: 10%;
  left: 55%;
  top: 44.8%;
  background: url("./assets/catalogue/varsity-print-proof.webp") center / contain no-repeat;
  transform: rotate(-4deg) skewX(-32deg) scaleY(.55);
}
.scene.is-opening .vault-open-art { animation: lift-lid .94s cubic-bezier(.16,.67,.27,1) both; }
@keyframes lift-lid {
  0% { clip-path: inset(62% 0 0 0); opacity: .2; }
  100% { clip-path: inset(0); opacity: 1; }
}
#room-spots { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.room-spot {
  position: absolute;
  top: clamp(22px, var(--y), calc(100% - 22px));
  left: clamp(22px, var(--x), calc(100% - 22px));
  width: var(--w);
  height: var(--h);
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  touch-action: manipulation;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--ink);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.room-spot::after {
  content: attr(data-label);
  position: absolute;
  pointer-events: none;
  left: 50%;
  bottom: 5px;
  max-width: 160px;
  padding: 4px 6px;
  transform: translateX(-50%);
  border-radius: 4px;
  opacity: 0;
  background: #181b18e8;
  color: var(--gold-light);
  font-size: .69rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .room-spot:hover { border-color: #f2cb8177; background: #ffcd6310; }
  .room-spot:hover::after { opacity: 1; }
}
.room-spot:focus-visible, .room-spot.is-tapped, .room-spot.is-hinted {
  border-color: #f2cb81bf;
  background: #ffcd631f;
  box-shadow: inset 0 0 18px #ffcd6326;
}
.room-spot:focus-visible::after, .room-spot.is-hinted::after { opacity: 1; }
.room-spot.is-hinted { animation: glint .75s ease-in-out 3; }
@keyframes glint { 50% { box-shadow: inset 0 0 25px #ffe1a27f, 0 0 14px #f4b7524f; } }
.ember {
  --cat-x: 22%;
  --cat-y: 91%;
  position: absolute;
  z-index: 4;
  top: var(--cat-y);
  left: var(--cat-x);
  width: clamp(53px, 13%, 136px);
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  transform: translate(-50%, -95%);
  touch-action: manipulation;
}
.ember img {
  width: 100%;
  filter: drop-shadow(2px 6px 4px #26170c99);
  transform-origin: center bottom;
}
.ember.is-moving { transition: left .87s cubic-bezier(.19,.65,.23,1), top .87s cubic-bezier(.19,.65,.23,1); }
.ember.is-moving img { animation: ember-step .27s ease-in-out 3; }
.ember:focus-visible img { filter: drop-shadow(0 0 7px #f9c774); }
@keyframes ember-step {
  40% { transform: translateY(-7%) rotate(2deg) scale(1.035, .95); }
  75% { transform: translateY(1%) scale(.97, 1.03); }
}
.scene-event {
  position: absolute;
  z-index: 5;
  top: 12px;
  left: 12px;
  max-width: min(74%, 350px);
  padding: 8px 10px;
  border: 1px solid #d7ab697f;
  border-radius: 7px;
  background: #232219eb;
  box-shadow: 0 6px 24px #0006;
  color: var(--gold-light);
  font: 650 .78rem/1.4 var(--mono);
  pointer-events: none;
  animation: appear .25s ease both;
}
.scene-fx { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.scene-fx:not([data-effect]) { display: none; }
.scene-fx[data-effect="poster"] { --fx-x: 67%; --fx-y: 51%; --fx-color: #f3ce91; }
.scene-fx[data-effect="power"] { --fx-x: 67%; --fx-y: 12%; --fx-color: #fff1ab; }
.scene-fx[data-effect="press"] { --fx-x: 62%; --fx-y: 51%; --fx-color: #efbd78; }
.scene-fx[data-effect="carton"] { --fx-x: 16%; --fx-y: 70%; --fx-color: #e4bf83; }
.scene-fx[data-effect="unlock"] { --fx-x: 66%; --fx-y: 54%; --fx-color: #ffe9a6; }
.scene-fx[data-effect="ink"] { --fx-x: 88%; --fx-y: 48%; --fx-color: #d5a1ab; }
.scene-fx[data-effect="globe"] { --fx-x: 29%; --fx-y: 14%; --fx-color: #d7bd81; }
.scene-fx i {
  position: absolute;
  left: var(--fx-x);
  top: var(--fx-y);
  width: clamp(5px, 1.3%, 17px);
  height: clamp(5px, 1.55%, 17px);
  background: var(--fx-color);
  border-radius: 2px 5px 4px 1px;
  box-shadow: 0 0 14px var(--fx-color);
  animation: scatter 1.05s cubic-bezier(.15,.61,.38,1) both;
}
.scene-fx i:nth-child(1) { --dx: -52px; --dy: -43px; --spin: -58deg; }
.scene-fx i:nth-child(2) { --dx: 31px; --dy: -55px; --spin: 40deg; animation-delay: 35ms; }
.scene-fx i:nth-child(3) { --dx: 57px; --dy: -27px; --spin: 65deg; animation-delay: 75ms; }
.scene-fx i:nth-child(4) { --dx: -27px; --dy: -69px; --spin: -70deg; animation-delay: 55ms; }
.scene-fx i:nth-child(5) { --dx: 3px; --dy: -52px; --spin: 85deg; animation-delay: 20ms; }
.scene-fx[data-effect="power"]::before, .scene-fx[data-effect="unlock"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 27% 34% at var(--fx-x) var(--fx-y), #ffcb83a9, transparent 85%);
  animation: spark-flash 1.4s ease both;
}
@keyframes scatter {
  0% { transform: scale(.45); opacity: .3; }
  26% { opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--spin)) scale(.6); opacity: 0; }
}
@keyframes spark-flash { 0%, 100% { opacity: 0; } 18% { opacity: .9; } }
.room-finds {
  padding: 14px;
  border-top: 1px solid var(--line);
  background: #1e221c;
  animation: appear .35s ease both;
}
.finds-heading { margin-bottom: 10px; }
.finds-heading h2 { margin-top: 3px; font: 600 1.32rem/1.2 var(--serif); }
.find-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}
.find-card {
  display: grid;
  grid-template-columns: minmax(45px, 33%) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 72px;
  padding: 6px;
  border: 1px solid #584c36;
  border-radius: 7px;
  background: #2c2d23;
  color: var(--ink);
  text-align: left;
}
.find-card:hover { border-color: var(--gold); background: #393324; }
.find-image {
  width: 100%;
  height: 62px;
  padding: 3px;
  border-radius: 4px;
  background: #b5a78b;
  object-fit: contain;
}
.find-copy { display: grid; gap: 4px; padding-right: 4px; }
.find-copy strong { font-size: .81rem; line-height: 1.25; }
.price { color: var(--gold-light); font-weight: 750; }
.find-copy .price { font-size: .76rem; }
.noscript { margin-top: 12px; color: var(--muted); }
.noscript a { text-decoration: underline; }

.quiet-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-light);
  font-size: .79rem;
  font-weight: 650;
  white-space: nowrap;
}
.quiet-button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 750;
  text-align: center;
}
.button-gold { background: var(--gold); color: #211e14; }
.button-gold:hover:not(:disabled) { background: var(--gold-light); }
.button-gold:disabled { background: #444335; color: #d4cbb6; }
.button-outline { background: transparent; border-color: #7b715c; color: var(--ink); }
.button-outline:hover { background: #3d392e; }

.merch-section {
  margin-top: clamp(48px, 7vw, 86px);
  padding: 27px 0 54px;
  border-top: 1px solid var(--line);
}
.merch-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 21px; }
.merch-heading h2 {
  margin: 5px 0 6px;
  font: 600 clamp(2.3rem, 4.5vw, 3.7rem)/1.04 var(--serif);
  letter-spacing: -.057em;
}
.merch-heading p:not(.eyebrow), .catalog-note { color: var(--muted); font-size: .9rem; line-height: 1.5; }

.site-footer { border-top: 1px solid var(--line); background: var(--panel-low); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 14px;
  padding-block: 12px;
  min-height: 62px;
  font-size: .78rem;
  color: var(--muted);
}
.footer-inner strong { color: var(--ink); }
.footer-inner a { display: inline-flex; min-height: 42px; gap: 5px; align-items: center; color: var(--gold-light); }
.footer-inner a:hover { text-decoration: underline; text-underline-offset: 4px; }


.catalog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 9px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}
.catalog-nav a, .variant-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #22261e;
  color: var(--gold-light);
  font-size: .77rem;
  font-weight: 650;
}
.catalog-nav a:hover, .variant-button:hover { border-color: var(--gold); background: #3b3528; }
.catalog-group { margin-top: 27px; }
.catalog-group h3 { margin-bottom: 11px; font: 600 1.66rem/1.15 var(--serif); }
.products, .combos { display: grid; gap: 11px; grid-template-columns: repeat(var(--product-columns, 3), minmax(0, 1fr)); }
.product, .combo-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.product-art {
  display: grid;
  width: 100%;
  aspect-ratio: 1.48;
  place-items: center;
  overflow: hidden;
  padding: 8px;
  border: 0;
  border-radius: 0;
  background: radial-gradient(ellipse at 48% 34%, #c0b59a, #8f8573);
}
.product-art img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.product-art:focus-visible { outline-offset: -4px; }
.product-art:hover img { filter: brightness(1.08); }
.product-copy, .combo-card { padding: 12px 13px 7px; }
.product-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.product-copy h4, .combo-card h4 { margin: 1px 0 6px; font: 600 1.22rem/1.18 var(--serif); }
.product-variant-note { margin-top: 5px; color: var(--muted); font-size: .73rem; }
.product-link {
  display: inline-flex;
  width: 100%;
  min-height: 40px;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 5px 0 0;
  border: 0;
  background: transparent;
  color: var(--gold-light);
  font-size: .8rem;
  font-weight: 650;
  text-align: left;
}
.product-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.combo-card { background: linear-gradient(155deg, #322f23, var(--panel) 64%); }
.combo-card .eyebrow { margin-bottom: 6px; }
.combo-items { margin: 9px 0 10px; padding-left: 16px; color: var(--muted); font-size: .83rem; line-height: 1.52; }
.combo-items li::marker { color: var(--gold); }
.product-detail-art {
  width: 100%;
  height: clamp(132px, 40dvh, 310px);
  margin-top: 14px;
  padding: 9px;
  border: 1px solid #7c6c4d;
  border-radius: 8px;
  object-fit: contain;
  background: radial-gradient(ellipse at 50% 28%, #bfb294, #887e6c);
}
.variant-buttons, .product-detail-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.variant-button[aria-pressed="true"] { border-color: var(--gold); background: #d8b47030; }
.detail-price { margin-right: auto; font-size: 1.2rem; }
.product-detail-controls .button { min-height: 40px; }

.case-dialog {
  width: min(475px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  overflow: auto;
  border: 1px solid #786748;
  border-radius: 13px;
  background: #24271f;
  color: var(--ink);
  box-shadow: 0 28px 90px #080906aa;
}
.case-dialog[open] { animation: appear .18s ease both; }
.case-dialog::backdrop { background: #0b0e0bd4; backdrop-filter: blur(3px); }
@keyframes appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.dialog-panel { position: relative; padding: clamp(20px, 5vw, 29px); }
.dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #1e211b;
}
.dialog-close:hover { color: var(--gold-light); border-color: #8b7550; }
#dialog-kicker { margin-right: 26px; }
#dialog-title { margin-top: 6px; font: 600 clamp(2rem, 6vw, 2.8rem)/1.04 var(--serif); letter-spacing: -.05em; }
#dialog-copy { margin-top: 10px; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.dialog-action { width: 100%; margin-top: 19px; }
.dialog-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.dialog-buttons > * { flex: 1 1 auto; }
.briefing { display: grid; gap: 8px; margin: 16px 0 0; padding-left: 20px; line-height: 1.5; font-size: .91rem; }
.briefing li::marker { color: var(--gold); font-weight: 700; }


.case-dialog.dialog-wide { width: min(750px, calc(100% - 28px)); }
.clue-list { display: grid; gap: 7px; margin: 15px 0 0; padding: 0; list-style: none; }
.clue-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #1c211a;
}
.clue-symbol {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 5px;
  background: #c89d5c24;
  color: var(--gold-light);
  font: 1.13rem var(--serif);
}
.clue-row strong { font-size: .83rem; }
.clue-row p { margin-top: 3px; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.lock-slots, .lock-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 13px; }
.lock-slot {
  display: grid;
  min-height: 55px;
  place-items: center;
  border: 1px dashed #9d825c;
  border-radius: 7px;
  background: #181c16;
  color: var(--muted);
  font: 600 .82rem var(--mono);
}
.lock-slot.is-filled { border-style: solid; color: var(--gold-light); font: 1.52rem var(--serif); }
.lock-slots.is-wrong .lock-slot { border-color: #e9a58c; }
.lock-choice {
  min-height: 42px;
  padding: 4px;
  border: 1px solid #786446;
  border-radius: 6px;
  background: #3b3324;
  color: var(--gold-light);
  font-size: .83rem;
  font-weight: 650;
}
.lock-choice:disabled { opacity: .48; }
.lock-choice:hover:not(:disabled) { background: #51402a; }
.latch-notes { margin-top: 11px; color: var(--muted); font-size: .83rem; }
.latch-notes summary { cursor: pointer; min-height: 38px; padding-block: 10px; color: var(--gold-light); }
.latch-notes .clue-list { margin-top: 1px; }
.final-grid { margin-top: 15px; grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (min-width: 821px) and (max-height: 990px) {
  .case-section { width: min(100%, 1080px, max(684px, calc((100svh - 318px) * 1.5))); }
  .case-intro { padding-block: 26px 17px; }
  .case-intro h1 { font-size: clamp(3.35rem, 5.15vw, 4.6rem); }
}
@media (min-width: 821px) and (max-height: 850px) {
  .case-intro { padding-block: 21px 15px; }
  .case-stamp { display: none; }
}
@media (max-width: 1000px) {
  .container { width: calc(100% - 48px); }
}
@media (max-width: 820px) {
  .site-nav { gap: 16px; }
  .case-stamp { display: none; }
  .products, .combos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 610px) {
  .room-toolbar { flex-wrap: wrap; gap: 5px; padding: 6px 8px; }
  .room-nav { width: 100%; }
  .room-nav button { flex: 1; }
  .field-tools { width: 100%; justify-content: space-between; }
  .room-caption { align-items: flex-start; flex-direction: column; gap: 4px; padding: 8px 10px; }
  .room-actions { width: 100%; justify-content: space-between; }
  .room-note { padding-inline: 10px; }
  .find-grid, .final-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .find-card { grid-template-columns: minmax(37px, 34%) minmax(0, 1fr); gap: 5px; padding: 4px; min-height: 62px; }
  .find-image { height: 52px; }
  .find-copy strong { font-size: .71rem; }
  .room-finds { padding: 9px; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 28px); }
  .header-inner { min-height: 63px; grid-template-columns: 1fr auto auto; gap: 8px; }
  .brand { gap: 7px; }
  .brand-mark { width: 33px; height: 33px; border-radius: 7px; }
  .brand-mark img { width: 27px; height: 27px; }
  .brand strong { font-size: .83rem; }
  .brand small { font-size: .52rem; }
  .site-nav { gap: 0; }
  .site-nav .nav-case { display: none; }
  .site-nav a { font-size: .78rem; }
  .help-button { width: 43px; min-height: 43px; padding: 0; }
  .help-button span { display: none; }
  .help-button .icon { width: 19px; height: 19px; }
  .case-intro { padding-block: 24px 17px; }
  .case-intro h1 { font-size: clamp(2.66rem, 10.2vw, 3.55rem); text-wrap: unset; }
  .intro-copy { margin-top: 10px; font-size: .87rem; }
  .room-nav button, .tool-button { min-height: 44px; }
  .quiet-button { min-height: 44px; font-size: .76rem; }
  .scene-event { top: 6px; left: 6px; padding: 5px 6px; font-size: .65rem; }
  .merch-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  .products, .combos { gap: 8px; }
  .product-copy, .combo-card { padding-inline: 9px; }
  .product-copy h4, .combo-card h4 { font-size: 1.09rem; }
  .product-art { aspect-ratio: 1.27; }
  .product-link { font-size: .74rem; }
  .combo-items { font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
