/* ArtCoin: a clean museum. Warm gallery-white walls, black type, gilt frames from our first $ART gallery,
   wall labels under every work. Cormorant Garamond (upright only) for titles, Geist for everything you read.
   Loaded after style.css; the top-nav layout from core.js. */
:root {
  --bg: #f2efe8; --side: #f2efe8; --card: #fbfaf7; --card2: #f6f3ed; --hov: #f0ece4; --chipbg: #ebe6dc; --avbg: #e6e0d4;
  --b1: #fbfaf7; --b2: #f6f3ed; --bgrgb: 242, 239, 232; --cardrgb: 251, 250, 247; --sb: #cfc8ba; --sb2: #b5ad9d;
  --ink: #161512; --ink2: #4b4740; --dim: #8b857a;
  --mint: #161512; --acc: 22, 21, 18; --on: #fbfaf7; --gold: #a8862e; --accent2: #a8862e; --good: #2f6b45; --bad: #b0392b;
  --line: rgba(22, 21, 18, .09); --line2: rgba(22, 21, 18, .16);
  --mintbg: rgba(22, 21, 18, .05); --mintline: rgba(22, 21, 18, .3); --goodbg: rgba(47, 107, 69, .08);
  --accent: var(--ink); --accentbg: rgba(22, 21, 18, .05);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif; --head: var(--serif);
  --ease2: cubic-bezier(.16, 1, .3, 1); --r: 4px;
  --wall: #f2efe8; --wall2: #e9e4d9; --gilt: linear-gradient(135deg, #8e6d22 0%, #e9d48e 20%, #b8922f 38%, #f1e2a6 54%, #8b6914 72%, #d9bd6c 88%, #6b5018 100%);
  color-scheme: light;
}
html { scrollbar-color: var(--sb) var(--bg); }
html.L-top body { padding-left: 0; padding-bottom: 0; background: var(--bg); }
body { color: var(--ink); }
::selection { background: var(--ink); color: var(--bg); }
em { color: inherit; font-style: normal; }
h1, h2, h3, .h-page { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
.h-page { font-size: clamp(46px, 7vw, 84px); line-height: .98; margin: 10px 0 0; }
.lede { color: var(--ink2); }
a.link, .doc p a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ------------------------------------------------------------ top nav */
.top.tn { position: fixed; inset: 0 0 auto; z-index: 50; height: 68px; display: flex; align-items: center; gap: 30px; padding: 0 clamp(16px, 3vw, 32px); background: transparent; border-bottom: 1px solid transparent; color: var(--ink); transition: background .4s, border-color .4s; }
.top.tn.scrolled { background: rgba(242, 239, 232, .86); backdrop-filter: saturate(1.2) blur(16px); -webkit-backdrop-filter: saturate(1.2) blur(16px); border-color: var(--line); }
.tn .brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: -.005em; }
.tn .brand .logo { position: relative; width: 26px; height: 32px; flex: none; background: var(--gilt); box-shadow: inset 0 0 0 1px rgba(60, 44, 10, .5), 0 2px 6px rgba(40, 30, 10, .18); }
.tn .brand .logo i { position: absolute; inset: 5px; background: #faf8f3; box-shadow: inset 0 0 0 1px rgba(80, 60, 20, .35); }
.tn .brand .logo i::after { content: 'A'; position: absolute; inset: 0; display: grid; place-items: center; font: 600 15px/1 var(--serif); color: var(--ink); }
.tnav { display: flex; gap: 2px; }
.tnav a { font-size: 14px; color: var(--ink2); padding: 8px 12px; border-radius: 99px; transition: color .2s, background .2s; }
.tnav a:hover { color: var(--ink); background: rgba(22, 21, 18, .05); }
.tnav a.on { color: var(--ink); background: rgba(22, 21, 18, .07); }
.tn .act { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tn .ib { border-color: transparent; }
.tn .ib:hover { border-color: var(--line2); }
.ib svg { stroke: currentColor; }
.ib.x svg, .ib.x svg path { fill: currentColor; stroke: none; }
.tn .pill.solid { height: 40px; font-size: 14px; font-weight: 600; background: var(--ink); border-color: var(--ink); color: var(--bg); }
.tn .pill.solid:hover { background: #2a2823; }
.ca { background: var(--card); }
.tn .ca { display: flex; }
.tn .burger { display: none; }
.sheet { position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: 92px 24px 30px; display: flex; flex-direction: column; gap: 2px; transform: translateY(-100%); visibility: hidden; transition: transform .55s var(--ease2), visibility 0s linear .55s; overflow-y: auto; }
.sheet.on { transform: none; visibility: visible; transition: transform .55s var(--ease2), visibility 0s; }
.sheet .big { font-family: var(--serif); font-size: 38px; font-weight: 500; padding: 6px 0; color: var(--ink); border-bottom: 1px solid var(--line); }
.sheet .big.on { color: var(--gold); }
html.sheet-on, html.sheet-on body { overflow: hidden; }
html.sheet-on .top.tn { background: var(--bg); }
html.L-top .page { padding: 110px clamp(16px, 4vw, 40px) 0; max-width: 1280px; margin: 0 auto; }
html.L-top .page.home { padding: 0; max-width: none; }
html.L-top .foot { margin: 80px 0 0; padding: 44px 0 40px; border-top: 1px solid var(--line); }
html.L-top .page.home .foot { margin: 0; padding: 52px clamp(16px, 4vw, 40px) 44px; border-top: 1px solid var(--line); }
html.L-top .page.home .foot .cols { max-width: 1240px; margin: 0 auto; }
.foot .fb b { font-family: var(--serif); font-weight: 600; font-size: 24px; }
.walmenu, .palette .in, .wpick-in { background: var(--card); box-shadow: 0 30px 80px -30px rgba(40, 30, 10, .35); }
.palette, .wpick { background: rgba(242, 239, 232, .7); }

/* ------------------------------------------------------------ shared pieces in museum colours */
.pill { background: var(--card); }
.pill.blue, .pill.mint, .pill.solid { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pill.blue:hover, .pill.mint:hover, .pill.solid:hover { background: #2a2823; box-shadow: none; }
.pill:hover { border-color: rgba(22, 21, 18, .35); }
.chip:hover { border-color: rgba(22, 21, 18, .35); }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset; }
.card.dark { background: #1b1a17; color: #f3efe6; border-color: #1b1a17; --ink: #f3efe6; --ink2: #c9c2b4; --dim: #9a9384; --line: rgba(255, 255, 255, .1); --line2: rgba(255, 255, 255, .18); }
.card.dark .label { color: #c9b178; }
.stat .v { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.4vw, 40px); letter-spacing: -.01em; }
.label { font: 500 11.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.inp { background: #fff; border-color: var(--line2); color: var(--ink); }
.inp:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(22, 21, 18, .06); }
.tabs { background: var(--card2); border-color: var(--line); }
.tabs button.on { background: var(--ink); color: var(--bg); }
.tbl tbody tr:hover { background: rgba(22, 21, 18, .025); }
.badge.blue { background: rgba(168, 134, 46, .12); color: #7a6020; border-color: rgba(168, 134, 46, .3); }
.coinhead h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 62px); }
.coinhead .av.xl { border-radius: 2px; box-shadow: 0 0 0 6px #faf8f3, 0 0 0 7px rgba(80, 60, 20, .25), 0 0 0 13px #b8922f, 0 10px 26px rgba(40, 30, 10, .25); }
input[type=range]::-webkit-slider-thumb { background: var(--ink); }
input[type=range]::-moz-range-thumb { background: var(--ink); }
.splitbar i, .meter i { background: var(--gold); }
.toast { background: var(--ink); color: var(--bg); }
.offline-note { border-color: var(--line2); background: var(--card); color: var(--ink2); }
.doc h2 { font-family: var(--serif); font-weight: 500; font-size: 36px; margin-top: 52px; }
.doc p { color: var(--ink2); font-size: 17px; line-height: 1.7; }
.faq details { border-color: var(--line); }
.faq summary { font-weight: 600; }
.cta { margin-top: 70px; padding: clamp(30px, 5vw, 52px); background: #1b1a17; color: #f3efe6; border-radius: var(--r); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.cta h2 { font-size: clamp(34px, 4.4vw, 48px); margin: 0; color: #f3efe6; }
.cta h2 em { color: #d8bd73; }
.cta .btn.pri { background: #f3efe6; color: #161512; }
.cta .btn.ghost { color: #f3efe6; border-color: rgba(255, 255, 255, .25); }
.cta-b { display: flex; gap: 10px; flex-wrap: wrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 11.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--gold); }
.live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(47, 107, 69, .45); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(47, 107, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 107, 69, 0); } }

/* ------------------------------------------------------------ buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 99px; font-size: 15.5px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; transition: transform .35s var(--ease2), background .25s, border-color .25s, color .25s; }
.btn.pri { color: var(--bg); background: var(--ink); }
.btn.pri::after { content: '→'; transition: transform .35s var(--ease2); }
.btn.pri:hover { background: #2a2823; transform: translateY(-1px); }
.btn.pri:hover::after { transform: translateX(4px); }
.btn.ghost { color: var(--ink); border: 1px solid var(--line2); background: transparent; }
.btn.ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.up { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease2), transform 1s var(--ease2); transition-delay: var(--d, 0s); }
.up.vis { opacity: 1; transform: none; }

/* ------------------------------------------------------------ frames (from the first $ART gallery, cleaned up) */
.frame { position: relative; background: #faf8f3; }
.frame.gilt { padding: 14px; background: var(--gilt); box-shadow: inset 0 0 0 1px rgba(60, 44, 10, .6), inset 0 0 0 4px rgba(244, 228, 166, .35), inset 0 0 0 6px rgba(92, 74, 31, .55), 0 2px 3px rgba(40, 30, 10, .18), 0 30px 50px -24px rgba(40, 30, 10, .45); }
.frame.gilt > img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; box-shadow: 0 0 0 10px #faf8f3, 0 0 0 11px rgba(80, 60, 20, .25), inset 0 0 20px rgba(0, 0, 0, .3); margin: 11px; width: calc(100% - 22px); height: calc(100% - 22px); }
.frame.thin { border: 1px solid rgba(22, 21, 18, .7); padding: 16px; background: #faf8f3; box-shadow: inset 0 0 0 1px rgba(22, 21, 18, .08), 0 18px 34px -22px rgba(40, 30, 10, .4); }

/* ------------------------------------------------------------ 1. the hall */
.hall { position: relative; height: 100svh; min-height: 640px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 68px 0 9vh; background: linear-gradient(180deg, #ebe6dc 0%, var(--wall) 22%, var(--wall) 86%, #e4ded2 86.2%, #ddd6c8 100%); --lx: 50%; }
.hall-light { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(ellipse 22% 42% at calc(var(--lx) - 30%) 10%, rgba(255, 248, 226, .9), transparent 70%),
  radial-gradient(ellipse 26% 50% at var(--lx) 6%, rgba(255, 249, 230, 1), transparent 72%),
  radial-gradient(ellipse 22% 42% at calc(var(--lx) + 30%) 10%, rgba(255, 248, 226, .9), transparent 70%);
  opacity: 0; transition: opacity 2.2s ease .2s; }
.hall.lit .hall-light { opacity: 1; }
.hall::before { content: ''; position: absolute; left: 0; right: 0; top: 86%; height: 8px; background: linear-gradient(180deg, #d4ccbc, #e2dccf); box-shadow: 0 -1px 0 rgba(22, 21, 18, .06); }
.hall-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 14%; background: linear-gradient(180deg, rgba(160, 150, 130, .18), transparent 60%); pointer-events: none; }
.hall-wall { position: relative; width: 100%; max-width: 1400px; will-change: transform;
  --cw: clamp(300px, 40vw, 600px); --ch: calc(var(--cw) * .68); --sw: clamp(130px, 15vw, 230px); --sh: calc(var(--sw) * 1.25); --gap: clamp(28px, 5vw, 84px); }
.car { position: relative; height: calc(var(--ch) + 10px); opacity: 0; transition: opacity 1.2s var(--ease2) .1s; }
.hall.lit .car { opacity: 1; }
.slot { position: absolute; left: 50%; top: 50%; width: var(--sw); height: var(--sh); transform: translate(-50%, -50%); transition: transform .75s var(--ease2), width .75s var(--ease2), height .75s var(--ease2), opacity .6s ease, filter .6s ease; cursor: pointer; }
.slot .frame { position: absolute; inset: 0; padding: 0; }
.slot .cv { position: absolute; inset: clamp(9px, 1.1vw, 14px); background: #faf8f3; box-shadow: inset 0 0 0 1px rgba(80, 60, 20, .25); overflow: hidden; }
.slot .cv img { position: absolute; inset: clamp(6px, .8vw, 11px); width: calc(100% - 2 * clamp(6px, .8vw, 11px)); height: calc(100% - 2 * clamp(6px, .8vw, 11px)); object-fit: cover; box-shadow: inset 0 0 20px rgba(0, 0, 0, .3); }
.slot.pair .cv img { object-fit: contain; }
.slot.empty .frame { background: transparent; box-shadow: none; border: 1px dashed rgba(22, 21, 18, .35); }
.slot.empty .cv { background: transparent; box-shadow: none; display: grid; place-items: center; }
.slot.empty .cv span { font: 500 clamp(17px, 1.8vw, 24px) var(--serif); color: var(--ink2); text-align: center; padding: 0 10px; }
.slot[data-p="0"] { width: var(--cw); height: var(--ch); z-index: 3; cursor: default; }
.slot[data-p="0"] .frame.gilt { box-shadow: inset 0 0 0 1px rgba(60, 44, 10, .6), inset 0 0 0 4px rgba(244, 228, 166, .35), inset 0 0 0 6px rgba(92, 74, 31, .55), 0 2px 3px rgba(40, 30, 10, .18), 0 40px 60px -28px rgba(40, 30, 10, .55); }
.slot[data-p="-1"] { transform: translate(calc(-50% - var(--cw) / 2 - var(--gap) - var(--sw) / 2), -50%); z-index: 2; }
.slot[data-p="1"] { transform: translate(calc(-50% + var(--cw) / 2 + var(--gap) + var(--sw) / 2), -50%); z-index: 2; }
.slot[data-p="-2"] { transform: translate(calc(-50% - var(--cw) / 2 - 2 * var(--gap) - var(--sw) * 1.5), -50%); opacity: .0; pointer-events: none; }
.slot[data-p="2"] { transform: translate(calc(-50% + var(--cw) / 2 + 2 * var(--gap) + var(--sw) * 1.5), -50%); opacity: .0; pointer-events: none; }
.slot[data-p="x"] { opacity: 0; pointer-events: none; transition: none; }
.slot[data-p="-1"]:hover, .slot[data-p="1"]:hover { filter: brightness(1.04); }
.car-btn { position: absolute; top: 50%; z-index: 5; width: 52px; height: 52px; margin-top: -26px; border-radius: 99px; border: 1px solid var(--line2); background: rgba(251, 250, 247, .92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 24px -14px rgba(40, 30, 10, .45); transition: transform .3s var(--ease2), background .2s, border-color .2s; }
.car-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.car-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.car-btn:active { transform: scale(.94); }
.car-btn.prev { left: max(14px, calc(50% - var(--cw) / 2 - var(--gap) - var(--sw) - var(--gap) * .5 - 52px)); }
.car-btn.next { right: max(14px, calc(50% - var(--cw) / 2 - var(--gap) - var(--sw) - var(--gap) * .5 - 52px)); }
.plaque { position: relative; z-index: 4; margin-top: clamp(26px, 4.4vh, 44px); width: max-content; min-width: 260px; max-width: 88vw; text-align: center; padding: 15px 28px 14px; background: #faf8f3; border: 1px solid rgba(22, 21, 18, .12); box-shadow: 0 10px 24px -16px rgba(40, 30, 10, .4); opacity: 0; transition: opacity 1.2s ease .7s; }
.hall.lit .plaque { opacity: 1; }
.plaque.swap { animation: plq .5s var(--ease2); }
@keyframes plq { 0% { opacity: .2; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }
.plaque b { display: block; font: 600 clamp(26px, 3vw, 34px)/1 var(--serif); letter-spacing: -.005em; }
.plaque span { display: block; margin-top: 7px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink2); }
.plaque .pm { margin-top: 4px; letter-spacing: .02em; text-transform: none; font-size: 13px; color: var(--dim); }
.plaque .pl-go { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 600; border-bottom: 1px solid var(--gold); padding-bottom: 1px; }
.plaque .pl-go::after { content: ' →'; }
.plaque .pl-i { margin-top: 8px; font: 500 11px var(--mono); letter-spacing: .08em; color: var(--dim); }
.hall-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
.hall-cue i { width: 1px; height: 34px; background: linear-gradient(180deg, var(--dim), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ------------------------------------------------------------ 2. intro */
.home section > .in { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.intro { padding: clamp(90px, 14vw, 150px) 0 clamp(60px, 9vw, 96px); text-align: center; }
.intro h1 { font-size: clamp(44px, 6.6vw, 96px); line-height: 1; margin: 0 auto; max-width: 15ch; text-wrap: balance; }
.intro p { max-width: 560px; margin: 28px auto 0; font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.6; color: var(--ink2); }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }

/* ------------------------------------------------------------ 3. visitor info */
.info .in { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); padding-top: 0 !important; padding-bottom: 0 !important; }
.info .it { padding: 26px 22px; border-left: 1px solid var(--line); }
.info .it:first-child { border-left: 0; padding-left: 0; }
.info small { display: block; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.info b { display: flex; align-items: center; gap: 10px; margin-top: 10px; font: 500 clamp(30px, 3.4vw, 42px)/1 var(--serif); font-variant-numeric: tabular-nums; }

/* section heads */
.sh { margin-bottom: clamp(30px, 4vw, 48px); }
.sh h2 { font-size: clamp(38px, 5vw, 62px); line-height: 1; margin: 14px 0 0; }
.sh p { color: var(--ink2); margin: 14px 0 0; font-size: 16.5px; max-width: 520px; }
.sh.shr { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.more { font-size: 14.5px; font-weight: 600; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* ------------------------------------------------------------ 4. three steps */
.steps3 { padding: clamp(90px, 12vw, 140px) 0 0; }
.s3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); }
.s3 .frame { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.s3 .num { font: 500 clamp(64px, 7vw, 96px)/1 var(--serif); color: var(--ink); }
.s3 li:nth-child(2) .frame { background: #f4efe2; }
.s3 li:nth-child(3) .frame { background: #ece6d8; }
.lbl { margin-top: 18px; padding-left: 14px; border-left: 2px solid var(--gold); }
.lbl b { display: block; font-size: 16.5px; }
.lbl p { margin: 6px 0 0; color: var(--ink2); font-size: 15px; line-height: 1.6; }

/* ------------------------------------------------------------ 5. rules */
.rules { padding: clamp(90px, 12vw, 140px) 0 0; }
.rg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rc { background: var(--card); border: 1px solid var(--line); padding: 28px 24px 26px; border-radius: var(--r); }
.rc b { display: block; font: 500 clamp(44px, 4.6vw, 60px)/1 var(--serif); letter-spacing: -.01em; }
.rc h3 { font: 600 15.5px var(--sans); margin: 18px 0 0; letter-spacing: 0; }
.rc p { margin: 6px 0 0; color: var(--ink2); font-size: 14.5px; line-height: 1.6; }

/* ------------------------------------------------------------ 6. the collection: framed coins over wall labels */
.coll { padding: clamp(90px, 12vw, 140px) 0 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(22px, 3vw, 40px); align-items: start; }
.coin.work { display: block; background: none; border: 0; padding: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.coin.work .frame { padding: 12px; background: var(--gilt); box-shadow: inset 0 0 0 1px rgba(60, 44, 10, .6), inset 0 0 0 4px rgba(244, 228, 166, .3), 0 2px 3px rgba(40, 30, 10, .15), 0 26px 40px -24px rgba(40, 30, 10, .45); transition: transform .5s var(--ease2), box-shadow .5s var(--ease2); }
.coin.work:nth-child(3n+2) .frame { background: #1c1b18; box-shadow: inset 0 0 0 1px #000, inset 0 0 0 3px rgba(201, 162, 39, .45), 0 2px 3px rgba(40, 30, 10, .15), 0 26px 40px -24px rgba(40, 30, 10, .45); }
.coin.work:nth-child(3n) .frame { background: linear-gradient(160deg, #6b4a35, #8b5e40 30%, #4a3020 60%, #7a5038); }
.coin.work .art { position: relative; aspect-ratio: 1; margin: 0; border-radius: 0; background: #e9e3d6; box-shadow: 0 0 0 9px #faf8f3, 0 0 0 10px rgba(80, 60, 20, .25); overflow: hidden; margin: 10px; }
.coin.work .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.coin.work .art .ph { position: absolute; inset: 0; display: grid; place-items: center; font: 500 44px var(--serif); color: var(--dim); }
.coin.work:hover .frame { transform: translateY(-4px); }
.wl { margin-top: 18px; font-size: 13px; line-height: 1.45; color: var(--ink2); }
.wl-t b { font-size: 15px; color: var(--ink); font-weight: 600; }
.wl-a { color: var(--ink2); }
.wl-m { color: var(--dim); font-style: normal; }
.wl-n { display: flex; gap: 16px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.wl-n span { display: flex; flex-direction: column; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.wl-n small { font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.wl-s { margin-top: 8px; font-size: 12px; color: var(--dim); }
.wl-s.on { color: var(--good); }
.wl-s.on::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--good); margin-right: 7px; vertical-align: 1px; }
.empty-wall { text-align: center; padding: clamp(30px, 5vw, 50px) 0 10px; }
.ew-frames { display: flex; justify-content: center; align-items: center; gap: clamp(16px, 3vw, 36px); margin-bottom: 34px; }
.ew { width: clamp(90px, 13vw, 160px); aspect-ratio: 4 / 5; background: transparent; border-style: dashed; border-color: rgba(22, 21, 18, .25); box-shadow: none; }
.ew.big { width: clamp(150px, 22vw, 260px); display: grid; place-items: center; border-color: rgba(22, 21, 18, .45); }
.ew.big span { font: 500 clamp(20px, 2.4vw, 28px) var(--serif); color: var(--ink2); }
.empty-wall p { color: var(--ink2); max-width: 460px; margin: 0 auto 26px; font-size: 16px; }
.empty2 { text-align: center; padding: 60px 0; }
.empty2 p { font: 500 30px var(--serif); margin: 0 0 22px; }

/* ------------------------------------------------------------ 7. the last room */
.last { padding: clamp(100px, 14vw, 170px) 0 clamp(100px, 13vw, 160px); }
.last .in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.lastf { aspect-ratio: 6 / 5; }
.last h2 { font-size: clamp(42px, 5.6vw, 72px); line-height: .98; margin: 0; }
.last p { color: var(--ink2); font-size: 17px; margin: 20px 0 0; max-width: 440px; line-height: 1.6; }
.last .ctas { justify-content: flex-start; }

/* ------------------------------------------------------------ subpages */
.page-head .eyebrow { margin-bottom: 4px; }
.page .gallery { margin-top: 10px; }

/* ------------------------------------------------------------ phones */
@media (max-width: 980px) {
  .tnav { display: none; }
  .tn .burger { display: grid; }
  .rg { grid-template-columns: 1fr 1fr; }
  .info .in { grid-template-columns: 1fr 1fr; }
  .info .it:nth-child(3) { border-left: 0; padding-left: 0; }
  .info .it:nth-child(n+3) { border-top: 1px solid var(--line); }
  .last .in { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hall-wall { --cw: 74vw; --sw: 46vw; --gap: 18px; }
  .car-btn { width: 44px; height: 44px; margin-top: -22px; }
  .car-btn.prev { left: 8px; } .car-btn.next { right: 8px; }
  .hall { padding-bottom: 12vh; }
  .s3 { grid-template-columns: 1fr; }
  .rg { grid-template-columns: 1fr; }
  .tn .pill.solid { height: 36px; padding: 0 12px; font-size: 13px; }
  .tn .ib[data-find] { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .coin.work .frame { padding: 7px; }
  .coin.work .art { margin: 6px; box-shadow: 0 0 0 5px #faf8f3, 0 0 0 6px rgba(80, 60, 20, .25); }
  .wl-n { gap: 10px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .up { opacity: 1; transform: none; } .car, .plaque, .hall-light { opacity: 1; transition: none; } .slot { transition: none; } }
.offline-note { display: none !important; }
@media (max-width: 520px) {
  .top.tn { gap: 10px; padding: 0 12px; }
  .tn .brand { font-size: 21px; }
  .tn .act { gap: 6px; }
  .tn .ca .k { display: none; }
  .tn .ca .v { font-size: 11.5px; }
  .tn .pill.solid { padding: 0 11px; font-size: 12.5px; height: 34px; }
}
