/* ───────────────────────── World of Whiskey ───────────────────────── */
:root {
  --ink: #0b0806;
  --char: #15100c;
  --oak: #2a1a10;
  --gold: #c9a35a;
  --gold-hi: #f3d999;
  --gold-lo: #8a5f24;
  --cream: #efe5d0;
  --muted: rgba(239, 229, 208, 0.62);
  --faint: rgba(239, 229, 208, 0.38);
  --line: rgba(201, 163, 90, 0.32);
  --glass: rgba(14, 9, 6, 0.72);
  --display: 'Cormorant Garamond', 'Times New Roman', serif;
  --mono: 'DM Mono', ui-monospace, monospace;
  --body: 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gold-grad: linear-gradient(180deg, #fff0c4 0%, #e4b968 42%, #b07b31 72%, #6e4615 100%);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--ink); color: var(--cream); }
body {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
a { color: var(--gold-hi); text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 1.5px solid var(--gold-hi); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); padding: 8px 12px; }

.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 15px 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s;
}
.btn--gold {
  background: var(--gold-grad);
  color: #1c1006;
  box-shadow: 0 10px 30px -12px rgba(230, 170, 80, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(230, 170, 80, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn--ghost { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.btn--ghost:hover { border-color: var(--gold); color: var(--cream); }

.linklike { background: none; border: 0; padding: 0; color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }

.crest {
  width: 64px; height: 64px; margin: 0 auto 22px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 5px var(--ink), inset 0 0 0 6px var(--line);
}
.crest span { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 30px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ───────────── Age gate ───────────── */
.gate {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center;
  padding: 24px;
  transition: opacity 1s var(--ease), visibility 1s;
}
.gate.is-leaving { opacity: 0; visibility: hidden; }
.gate__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 45%, rgba(176, 106, 40, 0.28), transparent 70%),
    radial-gradient(ellipse 120% 80% at 50% 120%, rgba(90, 40, 12, 0.55), transparent 60%),
    url('/assets/video/intro-poster.jpg') center / cover;
  filter: saturate(0.9);
}
.gate__bg::after { content: ''; position: absolute; inset: 0; background: rgba(8, 5, 3, 0.78); backdrop-filter: blur(6px); }
.gate__card {
  position: relative;
  max-width: 560px; width: 100%;
  text-align: center;
  padding: 48px 44px 36px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(25, 17, 11, 0.85), rgba(12, 8, 5, 0.92));
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 220, 160, 0.06);
  animation: rise 1.2s var(--ease) both;
}
.gate__card::before {
  content: ''; position: absolute; inset: 8px;
  border: 1px solid rgba(201, 163, 90, 0.14);
  pointer-events: none;
}
.gate__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 6vw, 52px);
  line-height: 1.02;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.gate__title em { font-style: italic; font-weight: 500; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gate__title--sm { font-size: 30px; }
.gate__desc { color: var(--muted); margin: 0 auto 28px; max-width: 420px; }
.gate__desc strong { color: var(--cream); font-weight: 600; }
.gate__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.gate__remember { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 13px; color: var(--muted); cursor: pointer; }
.gate__remember input { accent-color: var(--gold); }
.gate__fine { margin: 22px 0 0; font-size: 11.5px; line-height: 1.65; color: var(--faint); }
.gate__denied { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ───────────── Intro ───────────── */
.intro {
  position: fixed; inset: 0; z-index: 40;
  background: #000;
  overflow: hidden;
  transition: opacity 1.4s var(--ease), visibility 1.4s;
}
.intro.is-leaving { opacity: 0; visibility: hidden; }
.intro__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  animation: slowzoom 18s linear both;
}
@keyframes slowzoom { to { transform: scale(1.16) translateX(-1.5%); } }
.intro__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.0) 20%, rgba(0, 0, 0, 0.72) 70%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent 40%),
    radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.6));
}
.intro__copy {
  position: absolute; right: 7vw; top: 50%; transform: translateY(-50%);
  width: min(560px, 86vw);
  text-align: right;
}
.intro__line {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.1;
  margin: 0;
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 100%;
  opacity: 0;
}
.intro.is-playing .intro__line--1 { animation: lineInOut 4.2s var(--ease) 0.6s both; }
.intro.is-playing .intro__line--2 { animation: lineInOut 4.2s var(--ease) 5s both; }
@keyframes lineInOut {
  0% { opacity: 0; filter: blur(8px); transform: translateY(-40%); }
  20%, 75% { opacity: 1; filter: blur(0); transform: translateY(-50%); }
  100% { opacity: 0; filter: blur(6px); transform: translateY(-60%); }
}
.intro__brand { opacity: 0; transform: translateY(20px); }
.intro.is-playing .intro__brand { animation: brandIn 1.6s var(--ease) 9.6s both; }
.intro.show-brand .intro__brand { animation: brandIn 1.2s var(--ease) both; }
@keyframes brandIn { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
.intro__logo {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(54px, 8.4vw, 116px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.6));
}
.intro__logo em { font-weight: 500; font-size: 0.6em; }
.intro__tag { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--muted); margin: 0 0 30px; }
.intro__skip {
  position: absolute; top: 24px; right: 28px;
  background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(239, 229, 208, 0.25);
  border-radius: 999px; padding: 9px 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.intro__skip:hover { border-color: var(--gold); }
.intro__loader {
  position: absolute; left: 28px; bottom: 24px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint);
  display: flex; align-items: center; gap: 14px;
  transition: opacity 0.8s;
}
.intro__loader i { width: 120px; height: 1px; background: rgba(239, 229, 208, 0.15); display: block; }
.intro__loader b { display: block; height: 100%; width: 0; background: var(--gold); transition: width 0.4s; }
.intro__loader.is-done { opacity: 0; }

/* ───────────── App / HUD ───────────── */
.app { position: fixed; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.app.is-live { opacity: 1; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
#scene.is-dragging { cursor: grabbing; }
#scene.is-hover { cursor: pointer; }

.topbar {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 28px;
  background: linear-gradient(180deg, rgba(8, 5, 3, 0.7), transparent);
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand__crest {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold);
  display: grid; place-items: center;
  font-family: var(--display); font-style: italic; font-weight: 600; font-size: 18px; color: var(--gold-hi);
}
.brand__name { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: 0.01em; }
.brand__name em { font-weight: 500; color: var(--gold); }
.catnav { display: flex; gap: 4px; }
.catnav button {
  background: none; border: 0; padding: 8px 12px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  transition: color 0.3s, background 0.3s;
}
.catnav button:hover { color: var(--cream); }
.catnav button.is-on { color: var(--ink); background: var(--gold-grad); }
.catnav button small { opacity: 0.6; margin-right: 6px; }
.topbar__right { display: flex; gap: 8px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(12, 8, 5, 0.5); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, background 0.3s;
}
.pill:hover { border-color: var(--gold); }

.arrows { position: absolute; left: 28px; top: 50%; transform: translateY(-50%); display: grid; gap: 12px; }
.arrow {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(239, 229, 208, 0.45); background: rgba(10, 6, 4, 0.25);
  font-size: 18px; color: var(--cream);
  backdrop-filter: blur(6px);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.arrow:hover { border-color: var(--gold); background: rgba(201, 163, 90, 0.15); transform: scale(1.06); }

.walking {
  position: absolute; left: 28px; bottom: 0;
  pointer-events: none;
}
.walking .kicker { color: var(--cream); opacity: 0.8; margin-bottom: 4px; }
.walking__title {
  margin: 0;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(56px, 10.5vw, 176px);
  line-height: 0.82;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateY(14%);
  overflow: hidden;
  padding-right: 0.1em;
}
.walking__title span {
  display: inline-block;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.55));
  transition: transform 0.9s var(--ease), opacity 0.6s, filter 0.6s;
}
.walking__title.is-swapping span { transform: translateY(70%); opacity: 0; filter: blur(8px); }

.hud-right { position: absolute; right: 28px; bottom: 34px; display: grid; justify-items: end; gap: 16px; }
.hint {
  margin: 0; text-align: right;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.8;
  color: var(--cream); opacity: 0.8;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
  transition: opacity 0.4s;
}
.toggle { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: rgba(12, 8, 5, 0.55); backdrop-filter: blur(8px); }
.toggle button {
  border: 0; background: none; padding: 7px 16px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.toggle button.is-on { background: var(--gold-grad); color: var(--ink); }

.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.progress__track { position: relative; height: 100%; background: rgba(239, 229, 208, 0.08); }
.progress__track b { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--gold-grad); }
.progress__track i { position: absolute; top: -3px; width: 1px; height: 8px; background: var(--gold); opacity: 0.6; }

.legal-strip {
  position: absolute; right: 28px; top: 74px; margin: 0;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint);
}

/* the bartender's note once the dram is poured */
.bar-toast {
  position: absolute; left: 28px; bottom: 56px; width: min(380px, calc(100% - 36px));
  padding: 18px 24px 20px; text-align: left; pointer-events: none;
  background: var(--glass); border: 1px solid var(--line); border-radius: 14px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
}
.bar-toast.is-on { opacity: 1; transform: none; }
.bar-toast .kicker { margin-bottom: 6px; }
.bar-toast__line {
  margin: 0; font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1.1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bar-toast__sub { margin: 8px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
[data-mode='focus'] .bar-toast, [data-mode='detail'] .bar-toast { opacity: 0; }
.is-poured .walking { opacity: 0; transform: translateY(40px); }

.label-toggle {
  position: absolute; left: 50%; bottom: 46px; transform: translate(-50%, 12px);
  padding: 11px 20px; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), border-color 0.3s, background 0.3s;
}
.label-toggle:hover { border-color: var(--gold); background: rgba(12, 8, 5, 0.75); }
[data-mode='focus'] .label-toggle { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }

.tooltip {
  position: absolute; left: 0; top: 0; pointer-events: none;
  display: flex; flex-direction: column; gap: 1px;
  padding: 8px 12px; border-radius: 3px;
  background: rgba(10, 6, 4, 0.82); border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  opacity: 0; transform: translate(16px, 16px) scale(0.96);
  transition: opacity 0.2s, transform 0.2s;
}
.tooltip.is-on { opacity: 1; transform: translate(16px, 16px) scale(1); }
.tooltip b { font-family: var(--display); font-size: 18px; font-weight: 600; }
.tooltip span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }

/* mode-dependent HUD */
.walking, .catnav, .hud-right, .legal-strip { transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
[data-mode='focus'] .walking, [data-mode='detail'] .walking { opacity: 0; transform: translateY(40px); }
[data-mode='detail'] .catnav, [data-mode='detail'] .legal-strip, [data-mode='detail'] .hud-right { opacity: 0; pointer-events: none; }

/* ───────────── Detail panel ───────────── */
.panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(470px, 100%);
  background: linear-gradient(180deg, rgba(16, 10, 6, 0.88), rgba(9, 6, 4, 0.94));
  border-left: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transform: translateX(104%);
  transition: transform 0.9s var(--ease);
  display: flex; flex-direction: column;
  z-index: 5;
}
.panel.is-open { transform: none; }
.panel__close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); color: var(--cream);
}
.panel__close:hover { border-color: var(--gold); }
.panel__scroll { flex: 1; overflow-y: auto; padding: 44px 38px 24px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--gold-lo) transparent; }
.panel__nav { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-top: 1px solid var(--line); }
.panel__count { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--muted); }

.d-kicker { display: flex; align-items: center; gap: 10px; }
.d-kicker .kicker { margin: 0; }
.d-num { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.16em; }
.d-name {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(44px, 5vw, 60px); line-height: 0.95;
  margin: 14px 0 6px; letter-spacing: -0.015em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.d-style { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--muted); margin: 0 0 22px; }
.d-desc { color: rgba(239, 229, 208, 0.86); margin: 0 0 28px; font-size: 15px; }
.d-swatch { display: flex; align-items: center; gap: 10px; margin: -10px 0 26px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.d-swatch i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 16px currentColor; }
.d-h { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 30px 0 12px; display: flex; align-items: center; gap: 12px; }
.d-h::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.d-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0; }
.d-specs div { background: rgba(14, 9, 6, 0.96); padding: 12px 14px; }
.d-specs dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-bottom: 3px; }
.d-specs dd { margin: 0; font-size: 13.5px; line-height: 1.4; }
.d-specs .wide { grid-column: span 2; }
.d-bars { display: grid; gap: 10px; }
.d-bar { display: grid; grid-template-columns: 64px 1fr 22px; align-items: center; gap: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.d-bar i { height: 4px; background: rgba(239, 229, 208, 0.08); border-radius: 2px; overflow: hidden; display: block; }
.d-bar i b { display: block; height: 100%; width: 0; background: var(--gold-grad); border-radius: 2px; transition: width 1.1s var(--ease); }
.panel.is-open .d-bar i b { width: var(--v); }
.d-bar em { font-style: normal; color: var(--cream); text-align: right; }
.d-notes { display: grid; gap: 14px; }
.d-notes p { margin: 0; display: grid; grid-template-columns: 64px 1fr; gap: 12px; font-size: 14px; }
.d-notes span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); padding-top: 3px; }
.d-fact { margin: 0; padding: 18px 20px; border: 1px solid var(--line); background: radial-gradient(ellipse at top left, rgba(201, 163, 90, 0.12), transparent 70%); font-family: var(--display); font-size: 19px; line-height: 1.35; font-style: italic; }
.d-brands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.d-brand { margin: 0; min-width: 0; }
.d-brand__img {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(201, 163, 90, 0.14), transparent 70%), #120c08;
}
.d-brand__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.d-brand:hover .d-brand__img img { transform: scale(1.04); }
.d-brand--none .d-brand__img i {
  position: absolute; left: 50%; bottom: 14%; width: 30%; height: 58%; transform: translateX(-50%);
  border-radius: 40% 40% 10% 10% / 22% 22% 8% 8%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent 35%, rgba(255, 255, 255, 0.12) 55%, rgba(0, 0, 0, 0.3)), var(--liq);
  opacity: 0.8;
}
.d-brand--none .d-brand__img i::before {
  content: ''; position: absolute; left: 50%; top: -24%; width: 32%; height: 26%; transform: translateX(-50%);
  background: var(--liq); border-radius: 3px 3px 0 0; opacity: 0.9;
}
.d-brand figcaption { padding-top: 7px; line-height: 1.3; }
.d-brand figcaption b { display: block; font-weight: 500; font-size: 12.5px; color: var(--cream); }
.d-brand figcaption a {
  display: block; margin-top: 2px; font-size: 9.5px; color: var(--faint); text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.d-brand figcaption a:hover { color: var(--gold); }
.d-serve { margin: 0; color: rgba(239, 229, 208, 0.86); }
.d-foot { margin-top: 30px; font-size: 11px; color: var(--faint); }

/* ───────────── List view ───────────── */
.list {
  position: fixed; inset: 0; z-index: 20;
  overflow-y: auto;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(80, 42, 16, 0.5), transparent 60%), var(--ink);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.list.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.list__inner { max-width: 1240px; margin: 0 auto; padding: 110px 32px 80px; }
.list__head { position: relative; margin-bottom: 40px; max-width: 760px; }
.list__title { font-family: var(--display); font-weight: 600; font-size: clamp(48px, 7vw, 96px); line-height: 0.92; margin: 0 0 18px; letter-spacing: -0.02em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.list__lede { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0; }
.list__close { position: fixed; top: 22px; right: 28px; z-index: 3; }
.chamber { margin: 64px 0 0; }
.chamber__head { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 22px; }
.chamber__num { grid-row: span 2; font-family: var(--display); font-size: 84px; line-height: 0.8; font-weight: 500; font-style: italic; color: var(--gold); opacity: 0.9; }
.chamber h2 { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 4vw, 48px); margin: 0; line-height: 1; }
.chamber__intro { margin: 0; color: var(--muted); max-width: 760px; font-size: 14.5px; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.card {
  position: relative; display: block; width: 100%; text-align: left;
  color: inherit; text-decoration: none;
  padding: 22px 22px 20px 74px;
  min-height: 150px;
  border: 1px solid var(--line); border-radius: 3px;
  background: linear-gradient(180deg, rgba(28, 18, 11, 0.7), rgba(14, 9, 6, 0.7));
  transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s;
}
.card:hover { border-color: var(--gold); transform: translateY(-3px); background: linear-gradient(180deg, rgba(40, 25, 14, 0.8), rgba(18, 11, 7, 0.8)); }
.card__bottle { position: absolute; left: 24px; top: 22px; width: 30px; height: 96px; }
.card__bottle::before { content: ''; position: absolute; left: 11px; top: 0; width: 8px; height: 26px; background: rgba(239, 229, 208, 0.25); border-radius: 2px 2px 0 0; }
.card__bottle::after { content: ''; position: absolute; left: 0; right: 0; top: 24px; bottom: 0; border-radius: 10px 10px 4px 4px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 35%, rgba(0, 0, 0, 0.25)), var(--liq); box-shadow: 0 0 24px -4px var(--liq); }
.card h3 { font-family: var(--display); font-size: 26px; font-weight: 600; line-height: 1; margin: 0 0 4px; }
.card__style { font-family: var(--display); font-style: italic; color: var(--muted); margin: 0 0 10px; font-size: 16px; }
.card__notes { margin: 0; font-size: 13px; color: var(--faint); line-height: 1.5; }
.card__go { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.card details { margin-top: 10px; font-size: 13px; color: var(--muted); }
.faq { margin-top: 80px; max-width: 860px; }
.faq h2 { font-family: var(--display); font-size: 42px; margin: 0 0 20px; font-weight: 600; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 22px; font-weight: 600; list-style: none; }
.faq summary::after { content: '+'; float: right; color: var(--gold); }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin: 10px 0 0; }
.list__foot { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; }

/* ───────────── Modal ───────────── */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; background: rgba(5, 3, 2, 0.75); backdrop-filter: blur(10px); animation: fade 0.5s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.modal__card { position: relative; max-width: 680px; max-height: 86vh; overflow-y: auto; padding: 44px 44px 36px; border: 1px solid var(--line); background: linear-gradient(180deg, #1a110b, #0d0806); border-radius: 4px; animation: rise 0.7s var(--ease) both; }
.modal__title { font-family: var(--display); font-size: 40px; font-weight: 600; margin: 0 0 8px; line-height: 1; }
.modal h3 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 24px 0 6px; font-weight: 500; }
.modal p { margin: 0; color: var(--muted); font-size: 14px; }

.noscript { padding: 16px; text-align: center; background: var(--oak); }

.webgl-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; }

/* ───────────── Responsive ───────────── */
@media (max-width: 1100px) {
  .catnav button { padding: 8px 8px; font-size: 10px; }
  .catnav button small { display: none; }
}
@media (max-width: 860px) {
  .catnav { display: none; }
  .topbar { padding: 14px 14px; gap: 10px; }
  .brand { gap: 9px; }
  .brand__crest { width: 30px; height: 30px; font-size: 16px; }
  .brand__name { font-size: 18px; white-space: nowrap; }
  .topbar__right { gap: 6px; }
  .topbar__right .pill { padding: 8px 11px; font-size: 10px; }
  .legal-strip { display: none; }
  .arrows { left: auto; right: 18px; top: auto; bottom: 150px; transform: none; }
  .arrow { width: 42px; height: 42px; }
  .walking { left: 18px; right: 18px; }
  .walking__title { font-size: clamp(44px, 14vw, 90px); }
  .hud-right { right: 14px; bottom: auto; top: 64px; }
  .hint { display: none; }
  .label-toggle { display: none; }
  .bar-toast { left: 18px; bottom: 14px; padding: 12px 18px 14px; }
  .bar-toast__line { font-size: 25px; }
  .bar-toast__sub { font-size: 12.5px; }
  [data-mode='focus'] .hint { display: block; font-size: 10px; }
  .panel {
    top: auto; width: 100%; height: 62vh;
    border-left: 0; border-top: 1px solid var(--line);
    border-radius: 14px 14px 0 0;
    transform: translateY(104%);
  }
  .panel__scroll { padding: 34px 22px 18px; }
  .intro__copy { right: 6vw; left: 6vw; width: auto; top: auto; bottom: 14vh; transform: none; text-align: left; }
  .intro__line { top: auto; bottom: 0; transform: none; }
  .list__inner { padding: 90px 18px 60px; }
  .chamber__num { font-size: 56px; }
  .card { padding-left: 64px; }
  .gate__card { padding: 40px 24px 28px; }
  .modal__card { padding: 40px 24px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
}
