/* Headhunters Barber Gallery — “The exhibition” */
:root {
  --surface: #0E0E0E;
  --ink: #F1EEE8;
  --brass: #C7A15A;
  --graphite: #3A3A3A;
  --cta: #E94F37;
  --wall: #151514;
  --muted: #c9c4ba;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: "Big Shoulders Stencil", "Big Shoulders", "Oswald", Impact, sans-serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 800; margin: 0; line-height: .9; text-transform: uppercase; letter-spacing: .01em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--surface); padding: 12px 16px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
.nowrap { white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 22px; font: 700 15px/1.1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border: 1.5px solid transparent; border-radius: 2px; cursor: pointer; transition: transform .35s var(--ease), background-color .3s, color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn--cta { background: var(--cta); color: #0E0E0E; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--surface); }
.tag { display: inline-block; padding: 4px 10px; border: 1px solid var(--brass); color: var(--brass); font: 700 12.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; }

/* ---------- header (static, so the pinned exhibition can own the viewport) ---------- */
.hdr { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-bottom: 1px solid #262626; }
.logo { display: grid; text-decoration: none; margin-right: auto; min-height: 44px; align-content: center; }
.logo b { font: 800 26px/.9 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.logo span { font: 600 11.5px/1.3 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--brass); }
.nav { display: none; }
.hdr-book { min-height: 44px; padding: 10px 14px; font-size: 13px; }
@media (min-width: 900px) {
  .hdr { padding: 14px 40px; }
  .nav { display: block; }
  .nav ul { list-style: none; display: flex; gap: 6px; margin: 0 18px 0 0; padding: 0; }
  .nav a { display: block; padding: 14px; font: 600 14px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
  .nav a:hover { color: var(--brass); }
}
@media (max-width: 380px) { .hdr-book { display: none; } }

/* ---------- spotlight hero ---------- */
.hero { position: relative; background: var(--surface); overflow: hidden; }
.spot-stage { position: relative; aspect-ratio: 4 / 5; max-height: 62vh; width: 100%; --x: 50%; --y: 45%; --r: 170px; }
.spot-stage picture, .spot-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spot-ambient img { opacity: .09; filter: grayscale(1); }
.spot-lit { -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, rgb(0 0 0 / .9) 38%, transparent 100%); mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, rgb(0 0 0 / .9) 38%, transparent 100%); animation: lights 2.4s var(--ease) both; }
@keyframes lights { from { opacity: 0; } 40% { opacity: .2; } }
.spot-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--surface)); pointer-events: none; }
.spot-hint { position: absolute; z-index: 2; right: 16px; top: 14px; margin: 0; font: 600 12.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.pointer-only { display: none; }
@media (hover: hover) and (pointer: fine) { .pointer-only { display: inline; } .touch-only { display: none; } }
.hero-label { position: relative; z-index: 2; padding: 0 16px 48px; margin-top: -54px; }
.hl-now { margin: 0 0 10px; display: flex; align-items: center; gap: 10px; font: 700 12.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
.hl-now::before { content: ""; width: 26px; height: 1px; background: var(--brass); }
.hero h1 span { display: block; }
.hero h1 span:first-child { font-size: clamp(3.2rem, 16.5vw, 10rem); }
.hero h1 span:last-child { font-size: clamp(1.7rem, 8.5vw, 4.4rem); font-weight: 500; color: var(--muted); letter-spacing: .06em; }
.hl-desc { margin: 16px 0 22px; max-width: 36ch; color: var(--muted); font-size: 18px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) {
  .hero { min-height: calc(100vh - 100px); display: grid; align-items: end; }
  .spot-stage { position: absolute; inset: 0; aspect-ratio: auto; max-height: none; height: 100%; --r: 300px; }
  .spot-stage::after { background: linear-gradient(90deg, rgb(14 14 14 / .55), transparent 55%); }
  .hero-label { margin: 0; padding: 0 40px 64px; max-width: 760px; }
  .spot-hint { top: auto; bottom: 30px; right: 40px; }
}

/* ---------- exhibition rail ---------- */
.room { padding: 0 16px; }
.room-no { margin: 0 0 8px; font: 700 13px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--brass); }
.room h2 { font-size: clamp(3.4rem, 16vw, 8rem); }
.room-note { margin: 12px 0 0; max-width: 52ch; color: var(--muted); }
.room-note em { font-style: normal; color: #a9a49b; display: block; margin-top: 4px; font-size: 15px; }
.expo { background: radial-gradient(120% 60% at 50% 0%, #1d1c1a, var(--wall) 60%); border-top: 1px solid #262626; border-bottom: 1px solid #262626; }
.expo-pin { padding: 72px 0 40px; }
.rail { list-style: none; margin: 34px 0 0; padding: 10px 16px 24px; display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.work { flex: none; width: 70vw; max-width: 340px; scroll-snap-align: center; position: relative; }
.work::before { content: ""; position: absolute; left: 50%; top: -40px; width: 140%; height: 70%; translate: -50% 0; background: radial-gradient(50% 60% at 50% 0%, rgb(255 240 210 / .13), transparent 70%); pointer-events: none; }
.frame { margin: 0; padding: 12px; background: #090909; border: 2px solid var(--graphite); box-shadow: inset 0 0 0 1px rgb(199 161 90 / .55), 0 30px 50px -24px #000; position: relative; }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; cursor: zoom-in; filter: saturate(.9) contrast(1.04); }
.label { margin-top: 14px; background: var(--ink); color: #141414; padding: 12px 14px; max-width: 240px; border-top: 3px solid var(--brass); }
.label p { margin: 0; }
.lb-no { font: 700 12px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #5a4a2a; }
.lb-t { font: 800 24px/1 var(--display); text-transform: uppercase; margin-top: 4px !important; }
.lb-m { font-style: italic; font-size: 15px; color: #3b3b3b; }
.lb-d { font-size: 14px; color: #333; margin-top: 6px !important; line-height: 1.4; }
.work--end { width: 60vw; display: grid; place-items: center; }
.end-card { text-align: center; display: grid; gap: 16px; justify-items: center; }
.end-card p { margin: 0; font: 800 28px/1 var(--display); text-transform: uppercase; color: var(--muted); }
.expo-bar { display: none; }
@media (min-width: 900px) {
  html.pin-ok .expo { height: var(--h, auto); }
  html.pin-ok .expo-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; padding: 6vh 0 4vh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; }
  .room { padding: 0 40px; }
  html.pin-ok .expo .room { display: grid; grid-template-columns: auto auto 1fr; align-items: end; gap: 0 28px; }
  html.pin-ok .expo .room h2 { font-size: clamp(3rem, 8vh, 6rem); }
  html.pin-ok .expo .room-no { margin: 0 0 6px; }
  html.pin-ok .rail { overflow: visible; margin: 0; padding: 0 12vw 0 40px; gap: 9vw; align-items: center; transform: translate3d(calc(var(--pin, 0) * var(--dist, 0) * -1px), 0, 0); will-change: transform; }
  html.pin-ok .work { width: auto; max-width: none; display: flex; align-items: flex-end; gap: 26px; }
  html.pin-ok .frame { padding: 18px; }
  html.pin-ok .frame img { height: 54vh; width: auto; }
  html.pin-ok .label { margin: 0 0 4px; width: 210px; }
  html.pin-ok .work:nth-child(even) { align-self: flex-start; margin-top: 2vh; }
  html.pin-ok .work--end { width: 34vw; }
  html.pin-ok .expo-bar { display: block; margin: 0 40px; height: 2px; background: #2b2b2b; }
  html.pin-ok .expo-bar span { display: block; height: 100%; background: var(--brass); transform-origin: left; transform: scaleX(var(--pin, 0)); }
}

/* ---------- checklist ---------- */
.checklist, .desk, .visit { padding: 88px 0; border-bottom: 1px solid #262626; }
.room--flow { margin-bottom: 30px; }
.ck-grid { display: grid; gap: 28px; padding: 0 16px; }
.ck { border: 0; margin: 0; padding: 0; border-top: 1px solid var(--graphite); }
.ck label { display: grid; grid-template-columns: 30px 1fr auto auto; align-items: center; gap: 12px; min-height: 64px; padding: 10px 0; border-bottom: 1px solid var(--graphite); cursor: pointer; position: relative; transition: background-color .3s; }
.ck label:hover { background: rgb(199 161 90 / .06); }
.ck input { position: absolute; opacity: 0; width: 30px; height: 30px; margin: 0; left: 0; cursor: pointer; }
.box { width: 26px; height: 26px; border: 1.5px solid var(--ink); display: grid; place-items: center; transition: background-color .25s, border-color .25s; }
.box::after { content: ""; width: 12px; height: 7px; border-left: 2.5px solid #0E0E0E; border-bottom: 2.5px solid #0E0E0E; transform: rotate(-45deg) scale(0); transform-origin: center; margin-top: -3px; transition: transform .3s var(--ease); }
.ck input:checked + .box { background: var(--brass); border-color: var(--brass); }
.ck input:checked + .box::after { transform: rotate(-45deg) scale(1); }
.ck input:focus-visible + .box { outline: 2px solid var(--brass); outline-offset: 3px; }
.ck b { font: 700 25px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.ck i { font-style: normal; font-size: 14px; color: #a9a49b; }
.ck em { font: 700 18px/1 var(--sans); font-style: normal; min-width: 3.2ch; text-align: right; }
.tally { border: 1px solid var(--graphite); padding: 24px; background: #121212; display: grid; gap: 10px; justify-items: start; align-self: start; }
.tally p { margin: 0; }
.t-k { font: 700 12.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
.t-sum { font: 800 76px/1 var(--display); }
.t-sum span { display: inline-block; }
.t-sum span.bump { animation: bump .5s var(--ease); }
@keyframes bump { from { transform: translateY(8px); opacity: .3; } }
.t-time { color: var(--muted); }
.t-fine { font-size: 13.5px; color: #a9a49b; }
@media (min-width: 900px) {
  .checklist, .desk, .visit { padding: 120px 0; }
  .ck-grid { grid-template-columns: 1.5fr 1fr; gap: 56px; padding: 0 40px; }
  .tally { position: sticky; top: 30px; padding: 32px; }
}

/* ---------- front desk form ---------- */
.note { display: grid; gap: 18px; padding: 0 16px; max-width: 900px; }
.f { display: grid; gap: 6px; }
.f label { font: 700 12.5px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.note input, .note textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--graphite); border-radius: 2px; background: #151515; color: var(--ink); font: 400 17px/1.4 var(--sans); }
.note textarea { min-height: 100px; resize: vertical; }
.note input:focus-visible, .note textarea:focus-visible { outline: 2px solid var(--brass); outline-offset: 1px; }
.note .btn { justify-self: start; }
.confirm { margin: 0; padding: 14px 16px; border-left: 3px solid var(--brass); background: #151515; font-weight: 600; }
@media (min-width: 700px) { .note { grid-template-columns: 1fr 1fr; } .f--full { grid-column: 1 / -1; } }
@media (min-width: 900px) { .note { padding: 0 40px; } }

/* ---------- visitor book placeholder ---------- */
.book-visit { padding: 70px 16px; text-align: center; border-bottom: 1px solid #262626; }
.vb-k { margin: 0 0 8px; font: 700 12.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--brass); }
.vb-t { margin: 0 0 8px; font: 800 clamp(2rem, 8vw, 3.6rem)/1 var(--display); text-transform: uppercase; }
.book-visit small { color: #a9a49b; font-size: 14px; }

/* ---------- visit ---------- */
.visit-grid { display: grid; gap: 26px; padding: 0 16px; }
.vinyl { padding: 8px 0; }
.v-name { margin: 0 0 14px; font: 800 clamp(2.6rem, 12vw, 5.6rem)/.9 var(--display); text-transform: uppercase; color: var(--ink); }
.vinyl address { font-style: normal; font-size: 20px; color: var(--muted); margin-bottom: 20px; }
.v-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hours { background: var(--ink); color: #141414; padding: 24px; border-top: 4px solid var(--brass); max-width: 420px; }
.h-k { margin: 0 0 8px; font: 800 30px/1 var(--display); text-transform: uppercase; }
.hours .tag { border-color: #6b5527; color: #5a4a2a; }
.hours dl { margin: 14px 0 0; }
.hours dl div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgb(20 20 20 / .15); }
.hours dt { font-weight: 700; } .hours dd { margin: 0; }
.h-adm { margin: 14px 0 0; font-weight: 600; }
.h-adm a { color: #141414; display: inline-flex; min-height: 44px; align-items: center; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1.4fr 1fr; padding: 0 40px; align-items: end; } }

/* ---------- footer ---------- */
.ftr { padding: 48px 16px 34px; text-align: center; }
.ftr-logo { margin: 0; font: 800 clamp(3rem, 17vw, 8rem)/.9 var(--display); text-transform: uppercase; color: #707070; }
.ftr-line { margin: 12px 0 20px; color: var(--muted); }
.ftr .pv-note { max-width: 64ch; margin: 0 auto 14px; color: var(--muted); font-size: 13.5px; }
.ftr a { color: var(--ink); }
.photo-credits { max-width: 64ch; margin: 0 auto; font-size: 14px; color: var(--muted); }
.photo-credits summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: center; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }
.photo-credits ul { list-style: none; padding: 0; columns: 2; }

/* ---------- mobile dock ---------- */
.dock { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .dock { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 2fr; gap: 8px; padding: 10px 12px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid #2b2b2b; }
  .dock a { display: flex; align-items: center; justify-content: center; min-height: 52px; font: 700 14px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-radius: 2px; }
  .dock-call { border: 1.5px solid var(--ink); }
  .dock-cta { background: var(--cta); color: #0E0E0E; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .spot-stage { --r: 46vmax; }
}
