:root {
  --night: #100e0d;
  --panel: #1a1715;
  --panel-2: #241f1c;
  --panel-3: #2f2825;
  --rule: #3f342e;
  --rule-lit: #7a5c3f;
  --brass: #b8763a;
  --brass-lit: #d8934f;
  --brass-ink: #180d03;
  --sheen: linear-gradient(135deg, #d8934f 0%, #96562a 100%);
  --linen: #f2ece2;
  --faded: #ada192;
  --curve: 10px;
  --span: 1110px;
  --gap-side: 15px;
  --body-face: system-ui, "Helvetica Neue", Arial, sans-serif;
  --head-face: "Gill Sans MT", "Century Gothic", "Trebuchet MS", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0;
  font: 16px/1.58 var(--body-face);
  color: var(--linen);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, [role="link"]:focus-visible, label:focus-visible {
  outline: 2px solid var(--brass-lit); outline-offset: 2px;
}
h1, h2, h3, h4 { margin: 0 0 16px; font-family: var(--head-face); font-weight: 700; line-height: 1.24; color: var(--linen); }
h1 { font-size: 42px; }
h2 { font-size: 30px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 6px; }
strong { font-weight: 700; }
table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0 0 32px; overflow: hidden; border-radius: var(--curve); }
th, td { padding: 14px 16px; border: 1px solid var(--rule); text-align: center; vertical-align: middle; font-size: 15px; }
th { background: var(--panel-3); font-weight: 700; }
td { background: var(--panel); }
tr:nth-child(even) td { background: var(--panel-2); }
td:first-child { font-weight: 700; }
table tr:first-child th:first-child { border-top-left-radius: var(--curve); }
table tr:first-child th:last-child { border-top-right-radius: var(--curve); }

.page { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
.sheet { max-width: calc(var(--span) + var(--gap-side) * 2); margin: 0 auto; padding: 0 var(--gap-side) 40px; }

.jump, [data-go], [role="link"], .shelf__tab { cursor: pointer; -webkit-user-select: none; user-select: none; }

@keyframes act-throb {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.055); }
}
.act:not(.act--quiet), .key-solid, .chorus__key {
  animation: act-throb 2.4s ease-in-out infinite;
  will-change: transform;
}
.act:not(.act--quiet):hover, .key-solid:hover, .chorus__key:hover { animation-play-state: paused; transform: scale(1.055); }
@media (prefers-reduced-motion: reduce) {
  .act, .key-solid, .chorus__key { animation: none; }
}
.act {
  display: flex; align-items: center; justify-content: center; text-align: center;
  max-width: 340px; width: 100%; min-height: 60px; margin: 8px auto 0; padding: 12px 24px;
  border-radius: var(--curve); background: linear-gradient(180deg, #d8934f 0%, #b8763a 100%); color: var(--brass-ink);
  box-shadow: 0 6px 22px rgba(184, 118, 58, .34);
  font-size: 18px; font-weight: 700; text-decoration: none; transition: background .2s, transform .1s;
}
.act:hover { background: linear-gradient(180deg, #e5a463 0%, #d8934f 100%); }
.act:active { transform: scale(.98); }
.act--quiet { background: transparent; border: 2px solid var(--brass); color: var(--linen); box-shadow: none; }
.act--quiet:hover { background: rgba(184, 118, 58, .16); }

.topline { position: sticky; top: 0; z-index: 50; background: var(--panel); border-bottom: 1px solid var(--rule); }
.topline__row { max-width: calc(var(--span) + var(--gap-side) * 2); margin: 0 auto; padding: 0 var(--gap-side); height: 64px; display: flex; align-items: center; gap: 24px; }
.emblem { margin-right: auto; }
.emblem__link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.emblem__mark { height: 44px; width: auto; }
.emblem__word { font-family: var(--head-face); font-size: 19px; font-weight: 700; letter-spacing: .04em; color: var(--linen); white-space: nowrap; }
.menu__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu__list li { margin: 0; }
.menu__list .jump { display: block; padding: 8px 14px; border-radius: 6px; font-size: 15px; font-weight: 700; color: var(--linen); }
.menu__list .jump:hover { background: var(--panel-2); }
.menu__keys { display: none; }
.topline__keys { display: flex; gap: 10px; }
.key-ghost, .key-solid {
  display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px;
  border-radius: 6px; font-size: 14px; font-weight: 700; white-space: nowrap; transition: background .2s;
}
.key-ghost { background: var(--panel-2); color: var(--brass-lit); border: 1px solid var(--brass); }
.key-ghost:hover { background: var(--panel-3); }
.key-solid { background: linear-gradient(180deg, #d8934f 0%, #b8763a 100%); color: var(--brass-ink); }
.key-solid:hover { background: linear-gradient(180deg, #e5a463 0%, #d8934f 100%); }
.nav-switch { position: absolute; opacity: 0; pointer-events: none; }
.nav-tap { display: none; width: 40px; height: 40px; padding: 8px; flex-direction: column; justify-content: space-between; cursor: pointer; border-radius: 6px; }
.nav-tap span { display: block; height: 3px; border-radius: 2px; background: var(--linen); transition: transform .25s, opacity .25s; }

.opening { padding: 28px 0 40px; text-align: center; }
.opening__title { margin-bottom: 20px; }
.opening__art { display: block; margin: 0 auto 24px; border-radius: var(--curve); overflow: hidden; }
.opening__art img { width: 100%; height: auto; }
.opening__lead { max-width: 900px; margin: 0 auto 24px; text-align: left; font-size: 17px; }
.opening__lead p:last-child { margin-bottom: 0; }
.plate { margin: 8px 0 40px; }
.plate .jump { display: block; }
.plate img { width: 100%; border-radius: var(--curve); }

.facts { margin: 0 0 48px; }
.facts__head {
  display: flex; align-items: center; justify-content: center; min-height: 64px; margin: 0 0 24px; padding: 12px 20px;
  border-radius: var(--curve); background: var(--sheen); text-align: center; font-size: 24px; color: var(--brass-ink);
}
.facts td { font-weight: 700; }
.facts td:first-child { width: 28%; }

.block, .shelf, .chorus, .asks, .closing {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.block { margin: 0 0 48px; }
.block h2 { margin-top: 8px; }
.block__title { text-align: center; }
.block--prose p, .block--prose li { font-size: 17px; }
.block--prose h3 { margin-top: 28px; }
.block--prose h4 { margin-top: 20px; color: var(--brass-lit); }
.block--prose table { font-size: 15px; }

.weigh__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.weigh__box { padding: 24px; border-radius: var(--curve); background: var(--panel); border: 1px solid var(--rule); }
.weigh__box h3 { margin-bottom: 12px; }
.weigh__box ul { margin: 0; padding: 0; list-style: none; }
.weigh__box li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.weigh__box li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; }
.weigh__box--plus li::before { background: #5aa46f; }
.weigh__box--minus li::before { background: #c0504d; }

.shelf { margin: 0 0 56px; }
.shelf h2 { text-align: center; margin-bottom: 24px; }
.shelf__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; margin: 0 0 24px; padding: 0; }
.shelf__tabs li { margin: 0; }
.shelf__tab {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 6px;
  background: var(--panel); border: 1px solid var(--rule); color: var(--linen); font-size: 16px; font-weight: 700; text-decoration: none; transition: background .2s;
}
.shelf__tab svg { fill: currentColor; flex: none; }
.shelf__tab:hover, .shelf__tab.on { background: var(--panel-2); border-color: var(--brass); }
.panel { display: none; }
.panel.on { display: block; }
.shelf__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 20px; }
.tile { display: block; color: var(--linen); }
.tile__art { display: block; position: relative; border-radius: 6px; overflow: hidden; background: var(--panel); aspect-ratio: 360 / 472; }
.tile__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.tile:hover .tile__art img { transform: scale(1.04); }
.tile__name { display: block; margin-top: 10px; font-size: 15px; font-weight: 700; line-height: 1.3; }
.tile small { display: block; font-size: 12px; color: var(--faded); }
.tile--logo .tile__name { text-align: center; }
.tile--logo .tile__art {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 220 / 88; padding: 8px; background: #f3efe6; border: 1px solid var(--rule); transition: border-color .2s, box-shadow .2s;
}
.tile--logo:hover .tile__art { border-color: var(--brass); box-shadow: 0 0 0 2px rgba(184, 118, 58, .25); }
.tile--logo .tile__art img { width: auto; height: auto; object-fit: contain; max-width: min(112px, 100%); max-height: min(46px, 100%); transition: none; }
.tile--logo:hover .tile__art img { transform: none; }
.tile--logo.tile--till .tile__art img { max-width: min(96px, 100%); max-height: min(44px, 100%); }

.chorus { margin: 0 0 56px; }
.chorus__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; margin-bottom: 20px; border-radius: var(--curve); background: var(--panel); border: 1px solid var(--rule); }
.chorus__label { font-size: 14px; color: var(--faded); margin-bottom: 4px; }
.chorus__score { display: flex; align-items: center; gap: 10px; }
.chorus__score > span { font-size: 26px; font-weight: 700; }
.chorus__score small { color: var(--faded); font-size: 13px; }
.starrow { display: inline-flex; gap: 2px; }
.starrow svg { width: 18px; height: 18px; fill: var(--brass-lit); }
.chorus__key { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 6px; background: linear-gradient(180deg, #d8934f 0%, #b8763a 100%); color: var(--brass-ink); font-weight: 700; font-size: 14px; white-space: nowrap; }
.chorus__key:hover { background: linear-gradient(180deg, #e5a463 0%, #d8934f 100%); }
.chorus__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.chorus__note { padding: 20px; border-radius: var(--curve); background: var(--panel); border: 1px solid var(--rule); }
.chorus__who { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.chorus__initial { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sheen); font-family: var(--head-face); font-weight: 700; font-size: 18px; color: var(--brass-ink); }
.chorus__meta span { display: block; font-weight: 700; }
.chorus__meta small { color: var(--faded); font-size: 12px; }
.chorus__stars { margin-bottom: 10px; }
.chorus__body p { margin: 0; font-size: 15px; }

.asks { margin: 0 0 40px; }
.asks__item { padding: 20px 24px; margin-bottom: 12px; border-radius: var(--curve); background: var(--panel); border: 1px solid var(--rule); }
.asks__item h3 { font-size: 18px; margin-bottom: 8px; }
.asks__item p { margin: 0; font-size: 16px; }

.stamped { margin: 0 0 16px; }
.stamped__box { padding: 14px 20px; border-radius: var(--curve); background: var(--panel); border: 1px solid var(--rule); font-size: 15px; color: var(--faded); }

.closing { background: var(--panel); border-top: 1px solid var(--rule); }
.closing__row { max-width: calc(var(--span) + var(--gap-side) * 2); margin: 0 auto; padding: 40px var(--gap-side); display: flex; justify-content: space-between; gap: 40px; }
.closing__brand { max-width: 360px; }
.closing__brand img.closing__logo { height: 68px; width: auto; margin-bottom: 16px; }
.closing__blurb { font-size: 14px; color: var(--faded); margin-bottom: 18px; }
.closing__seals { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.closing__seals img { height: 44px; width: auto; opacity: .9; }
.closing__seals a:hover img { opacity: 1; }
.age-tag { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 3px solid #c0504d; color: #c0504d; font-family: var(--head-face); font-weight: 700; font-size: 15px; }
.closing__cols { display: flex; gap: 60px; }
.closing-nav__cap { font-family: var(--head-face); font-size: 15px; font-weight: 700; margin: 0 0 12px; color: var(--brass-lit); }
.closing-nav__list { list-style: none; margin: 0; padding: 0; }
.closing-nav__list li { margin-bottom: 8px; }
.closing-nav__list .jump { font-size: 14px; color: var(--linen); }
.closing-nav__list .jump:hover { text-decoration: underline; }
.closing__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.closing__social-key { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--rule); transition: border-color .2s, background .2s; }
.closing__social-key svg { width: 18px; height: 18px; fill: var(--faded); transition: fill .2s; }
.closing__social-key:hover { background: var(--panel-3); border-color: var(--brass); }
.closing__social-key:hover svg { fill: var(--brass-lit); }
.closing__tills { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; max-width: calc(var(--span) + var(--gap-side) * 2); margin: 0 auto; padding: 0 var(--gap-side) 28px; }
.closing__tills img { height: 26px; width: auto; padding: 5px 9px; border-radius: 5px; background: #f3efe6; opacity: .9; }
.closing__strip { border-top: 1px solid var(--rule); }
.smallprint { max-width: calc(var(--span) + var(--gap-side) * 2); margin: 0 auto; padding: 20px var(--gap-side); text-align: center; font-size: 12px; line-height: 1.65; color: var(--faded); }
.smallprint p { margin: 0 0 6px; }
.smallprint a { color: var(--brass-lit); }

@media (max-width: 1024px) {
  .topline__row { gap: 12px; }
  .menu__list .jump { padding: 8px 10px; font-size: 14px; }
  .shelf__grid { grid-template-columns: repeat(3, 1fr); }
  .closing__brand { max-width: 320px; }
}
@media (max-width: 860px) {
  .nav-tap { display: flex; order: 3; }
  .topline__keys { order: 2; margin-left: auto; }
  .emblem { margin-right: 0; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 64px; padding: 12px var(--gap-side) 20px; background: var(--panel); border-bottom: 1px solid var(--rule); }
  .nav-switch:checked ~ .menu { display: block; }
  .nav-switch:checked ~ .nav-tap span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
  .nav-switch:checked ~ .nav-tap span:nth-child(2) { opacity: 0; }
  .nav-switch:checked ~ .nav-tap span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }
  .menu__list { flex-direction: column; gap: 0; }
  .menu__list .jump { padding: 12px 8px; font-size: 16px; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .menu__keys { display: flex; gap: 10px; margin-top: 16px; }
  .menu__keys > span { flex: 1; }
  .chorus__grid { grid-template-columns: repeat(2, 1fr); }
  .closing__row { flex-direction: column; gap: 32px; }
  .closing__brand { max-width: none; }
  .closing__cols { gap: 40px; }
}
@media (max-width: 767px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }
  h4 { font-size: 17px; }
  .block--prose p, .block--prose li, .opening__lead { font-size: 16px; }
  th, td { padding: 10px 8px; font-size: 13px; }
  .facts td:first-child { width: 34%; }
  .facts__head { font-size: 18px; min-height: 56px; }
  .shelf__tabs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .shelf__tab { height: 42px; font-size: 13px; gap: 5px; }
  .shelf__grid { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; }
  .tile__name { font-size: 14px; }
  .tile--logo .tile__art { padding: 6px; }
  .tile--logo .tile__art img { max-width: min(84px, 100%); max-height: min(38px, 100%); }
  .tile--logo.tile--till .tile__art img { max-width: min(74px, 100%); max-height: min(36px, 100%); }
  .act { min-height: 54px; font-size: 16px; }
  .chorus__bar { flex-direction: column; align-items: flex-start; }
  .chorus__key { width: 100%; }
  .chorus__grid { grid-template-columns: 1fr; }
  .weigh__grid { grid-template-columns: 1fr; }
  .block, .shelf, .chorus { margin-bottom: 36px; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table thead, table tbody { display: table; width: 100%; }
  .block--prose table { min-width: 100%; }
  .closing__tills img { height: 22px; }
}
@media (max-width: 480px) {
  .topline__row { gap: 8px; }
  .topline__keys { gap: 6px; }
  .key-ghost, .key-solid { height: 36px; padding: 0 10px; font-size: 13px; }
  .emblem__mark { height: 32px; }
  .emblem__word { font-size: 15px; }
  .nav-tap { width: 36px; padding: 7px; }
  .shelf__tab { font-size: 12px; padding: 0 4px; }
  .tile--logo .tile__art img { max-width: min(72px, 100%); max-height: min(34px, 100%); }
  .tile--logo.tile--till .tile__art img { max-width: min(66px, 100%); max-height: min(32px, 100%); }
}
@media (max-width: 360px) {
  .emblem__word { display: none; }
}
