/* Leabrooks Arts Complex. Tokens from _work/design-plan.md */
@font-face { font-family: "Gambetta"; src: url("../fonts/Gambetta-Variable.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Gambetta"; src: url("../fonts/Gambetta-VariableItalic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/SchibstedGrotesk-Variable.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/SchibstedGrotesk-VariableItalic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
/* metric-matched fallbacks so nothing jumps when the web fonts arrive */
@font-face { font-family: "Gambetta Fallback"; src: local("Georgia"); font-style: normal; size-adjust: 99%; ascent-override: 94%; descent-override: 29%; line-gap-override: 0%; }
@font-face { font-family: "Gambetta Fallback"; src: local("Georgia Italic"), local("Georgia-Italic"); font-style: italic; size-adjust: 88.8%; ascent-override: 102%; descent-override: 32%; line-gap-override: 0%; }
@font-face { font-family: "Schibsted Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 94%; descent-override: 25%; line-gap-override: 0%; }

:root {
  --wall: #1D2A24;
  --wall-2: #24332C;
  --sage: #8FA08A;
  --sage-deep: #6F8169;
  --mount: #EEF0EA;
  --mount-2: #E3E7DE;
  --paper: #FAFBF7;
  --ink: #131915;
  --ink-soft: #3C4741;
  --cobalt: #2B4BD8;
  --cobalt-deep: #1F38AA;
  --pollen: #E7C25B;
  --display: "Gambetta", "Gambetta Fallback", Georgia, serif;
  --body: "Schibsted Grotesk", "Schibsted Fallback", Arial, sans-serif;
  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 48px);
  --head-h: 96px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --media-cap: min(76vh, 760px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mount); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; font-weight: 400; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 560; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--pollen); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--pollen); color: var(--ink); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* type */
.h2 { font-size: clamp(2rem, 3.4vw, 3.6rem); display: flow-root; }
.lede { font-size: clamp(1.06rem, 1.2vw, 1.2rem); line-height: 1.55; color: var(--ink-soft); }
.sec-wall .lede, .hero .lede { color: rgba(238, 240, 234, .82); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head .lede { margin: 0; }
em { font-style: italic; }

/* heading line masks (SplitText mask: lines) */
.ln-mask { padding: .2em .15em .5em; margin: -.7em -.15em -.5em; }
.ln-mask:first-child { margin-top: -.2em; }

/* buttons: square corners (9 mod 3 = 0) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: 12px 24px; font-family: var(--body); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; border-radius: 0; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); position: relative; }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1.05rem; }
.btn-cobalt { background: var(--cobalt); color: #fff; }
.btn-cobalt:hover { background: var(--cobalt-deep); }
.btn-line { border-color: rgba(238, 240, 234, .7); color: var(--mount); }
.btn-line:hover { background: var(--mount); color: var(--ink); }
.btn-line-dark { border-color: var(--ink); color: var(--ink); }
.btn-line-dark:hover { background: var(--ink); color: var(--mount); }

/* painted brush mark under one phrase */
.brushed { position: relative; font-style: italic; white-space: nowrap; z-index: 0; }
.brushed::after { content: ""; position: absolute; left: -.06em; right: -.1em; bottom: -.04em; height: .2em; opacity: .92; background: var(--cobalt); z-index: -1;
  -webkit-mask: url("../img/brush-mark.png") center / 100% 100% no-repeat; mask: url("../img/brush-mark.png") center / 100% 100% no-repeat;
  transform-origin: left center; transform: scaleX(var(--brush, 1)); }
.js .brushed::after { --brush: 0; }
.js .brushed.is-painted::after { --brush: 1; transition: transform 1.1s cubic-bezier(.65, 0, .35, 1); }

/* dry-brush image reveal (sprite of 24 frames from brush-mask.png) */
.js [data-brush] { -webkit-mask: url("../img/brush-mask.png") 0 0 / 2400% 100% no-repeat; mask: url("../img/brush-mask.png") 0 0 / 2400% 100% no-repeat; }
.js [data-brush].is-done { -webkit-mask: none; mask: none; }

/* ---------- header ---------- */
/* header text waits for the web fonts (max 1.5 s) so nothing shifts when they arrive */
.mainnav, .head-actions .open-chip { transition: opacity .4s ease; }
.wf-wait .mainnav, .wf-wait .head-actions .open-chip { opacity: 0; }
.site-head { position: fixed; inset: 0 0 auto; z-index: 90; pointer-events: none; }
.head-inner { display: flex; align-items: center; gap: 20px; padding: 14px var(--gut); pointer-events: auto; transition: padding .4s var(--ease), background-color .4s var(--ease); }
.brand { flex: none; display: block; background: var(--paper); padding: 6px 12px; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .5); transition: padding .4s var(--ease); }
.brand img { height: 64px; width: auto; transition: height .4s var(--ease); }
.mainnav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 4px; display: flex; gap: 2px; background: rgba(29, 42, 36, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 16px; color: var(--mount); text-decoration: none; font-size: .98rem; font-weight: 500; background: none; border: 0; cursor: pointer; position: relative; }
.nav-link svg { width: 11px; height: 8px; transition: transform .3s var(--ease); }
.nav-link::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 8px; height: 2px; background: var(--pollen); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current]::after, .nav-link.is-current::after, .drop-btn[aria-expanded="true"]::after { transform: scaleX(1); }
.drop-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.has-drop { position: relative; }
.drop { position: absolute; top: calc(100% + 10px); left: 50%; width: 400px; translate: -50% 0; background: var(--paper); color: var(--ink); padding: 10px; display: grid; gap: 6px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
.has-drop.is-open .drop { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.drop a { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding: 8px; text-decoration: none; transition: background-color .25s; }
.drop a:hover, .drop a[aria-current] { background: var(--mount-2); }
.drop img { width: 76px; height: 58px; object-fit: cover; }
.drop strong { display: block; font-family: var(--display); font-size: 1.15rem; font-weight: 560; }
.drop em { display: block; font-style: normal; font-size: .9rem; color: var(--ink-soft); }
.head-actions { display: flex; align-items: center; gap: 10px; }
.open-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; color: var(--mount); background: rgba(29, 42, 36, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); text-decoration: none; font-size: .92rem; white-space: nowrap; }
.open-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); flex: none; }
.open-chip.is-open .dot { background: var(--pollen); box-shadow: 0 0 0 0 rgba(231, 194, 91, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(231, 194, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(231, 194, 91, 0); } }
.burger { display: none; width: 48px; height: 48px; background: var(--wall); border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--mount); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }
.site-head.is-scrolled .head-inner { background: rgba(29, 42, 36, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding-block: 8px; }
.site-head.is-scrolled .brand img { height: 50px; }
.site-head.is-scrolled .nav-list, .site-head.is-scrolled .open-chip { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-head.is-hidden .head-inner { transform: translateY(-110%); }
.head-inner { transition: padding .4s var(--ease), background-color .4s var(--ease), transform .45s var(--ease); }

.mobile-menu { position: fixed; inset: 0; z-index: 85; background: var(--wall); color: var(--mount); padding: calc(var(--head-h) + 20px) var(--gut) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--display); font-size: clamp(1.7rem, 7vw, 2.4rem); text-decoration: none; padding: 6px 0; line-height: 1.15; }
.mobile-menu nav a[aria-current] { color: var(--pollen); }
.mm-group { margin: 18px 0 4px; font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); font-weight: 600; }
.mm-foot { display: grid; gap: 14px; margin-top: 28px; }
.mm-open { margin: 0; color: rgba(238, 240, 234, .8); }
.mm-phone { color: var(--pollen); font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 41fr) minmax(0, 59fr); background: var(--wall); color: var(--mount); overflow: clip; }
.hero-wall { position: relative; display: flex; align-items: flex-end; padding: calc(var(--head-h) + 40px) clamp(24px, 3.4vw, 64px) clamp(40px, 6vh, 80px) var(--gut); z-index: 2; }
.hero-wall::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 70% at 20% 100%, rgba(143, 160, 138, .18), transparent 60%), radial-gradient(60% 50% at 90% 10%, rgba(231, 194, 91, .07), transparent 70%); pointer-events: none; }
.hero-copy { position: relative; width: 100%; }
.hero-h1 { font-size: clamp(3rem, 5.6vw, 6.6rem); font-weight: 520; line-height: .98; letter-spacing: -.02em; margin-bottom: clamp(20px, 3vh, 32px); display: flow-root; }
.hero-h1 em { font-weight: 480; }
.hero-lede { font-size: clamp(1.06rem, 1.15vw, 1.2rem); margin-bottom: 28px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(24px, 4vh, 44px); }
.hero-now { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(238, 240, 234, .22); }
.hero-now li { border-bottom: 1px solid rgba(238, 240, 234, .22); }
.hero-now a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 12px 0; text-decoration: none; transition: padding .35s var(--ease), color .35s; }
.hero-now a:hover { padding-left: 10px; color: var(--pollen); }
.hn-title { font-family: var(--display); font-size: 1.3rem; font-style: italic; }
.hn-meta { font-size: .95rem; color: rgba(238, 240, 234, .78); }
.hero-art { position: relative; z-index: 1; margin-left: -64px; }
.hero-stage { position: absolute; inset: 0; overflow: hidden; }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%;
  -webkit-mask: url("../img/edge-v.png") left top / 96px 100% no-repeat, linear-gradient(#000, #000) 95px 0 / calc(100% - 95px) 100% no-repeat;
  mask: url("../img/edge-v.png") left top / 96px 100% no-repeat, linear-gradient(#000, #000) 95px 0 / calc(100% - 95px) 100% no-repeat; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s ease; }
.hero.has-gl .hero-canvas { opacity: 1; }
.hero-spot { position: absolute; inset: 0 0 0 96px; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 60%) var(--my, 40%), rgba(255, 246, 220, .16), transparent 70%); mix-blend-mode: soft-light; }
.hero-fallback-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-label { position: absolute; left: 96px; bottom: clamp(28px, 6vh, 64px); z-index: 3; width: min(340px, 70%); background: var(--paper); color: var(--ink); padding: 18px 20px 14px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); }
.hl-kicker { margin: 0 0 6px; font-size: .875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); min-height: 1.2em; }
.hl-kicker:empty { display: none; }
.hl-artist { font-family: var(--display); font-style: italic; font-size: 1.55rem; line-height: 1.1; margin: 0 0 4px; }
.hl-medium { margin: 0 0 14px; font-size: .95rem; color: var(--ink-soft); }
.hl-foot { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--mount-2); padding-top: 10px; }
.hl-count { font-size: .9rem; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.hl-bar { flex: 1; height: 2px; background: var(--mount-2); position: relative; overflow: hidden; margin: 0 6px; }
.hl-bar span { position: absolute; inset: 0; background: var(--cobalt); transform-origin: left; transform: scaleX(0); }
.hl-btn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid var(--mount-2); cursor: pointer; transition: background-color .25s, border-color .25s; flex: none; }
.hl-btn:hover { background: var(--mount-2); border-color: var(--ink); }
.hl-btn svg { width: 16px; height: 16px; }
.hl-btn .i-play { display: none; }
.hero.is-paused .hl-btn .i-play { display: block; }
.hero.is-paused .hl-btn .i-pause { display: none; }

/* ---------- section shells ---------- */
.sec-mount { background: var(--mount); }
.sec-wall { background: var(--wall); color: var(--mount); }
.sec-sage { background: var(--sage); }
section { position: relative; }
.visit, .walk { overflow-x: clip; }
.drivers, .visit, .community, .shop, .mini { padding-block: clamp(72px, 10vh, 128px); }

/* ---------- drivers ---------- */
.drivers::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29, 42, 36, .06), transparent 30%); pointer-events: none; }
.drv-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; grid-template-rows: repeat(2, minmax(230px, 28vh)); gap: 16px; grid-template-areas: "a b c d" "a e f d"; }
.drv-a { grid-area: a; } .drv-b { grid-area: b; } .drv-c { grid-area: c; } .drv-d { grid-area: d; } .drv-e { grid-area: e; } .drv-f { grid-area: f; }
.drv { position: relative; display: block; overflow: hidden; text-decoration: none; color: var(--ink); background: var(--wall); isolation: isolate; }
.drv-img { position: absolute; inset: 0; animation: breathe 16s ease-in-out infinite alternate; }
.drv:nth-child(2n) .drv-img { animation-duration: 19s; animation-delay: -6s; }
.drv:nth-child(3n) .drv-img { animation-duration: 13s; animation-delay: -3s; }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.06); } }
.drv-img img { width: 100%; height: 118%; object-fit: cover; transform: translateY(var(--py, -8%)) scale(1.02); transition: scale 1s var(--ease); }
.drv:hover .drv-img img { scale: 1.07; }
.drv-label { position: absolute; left: 14px; right: 14px; bottom: 14px; background: var(--paper); padding: 14px 16px 12px; display: grid; gap: 2px; box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .55); transition: transform .5s var(--ease); }
.drv:hover .drv-label { transform: translateY(-6px); }
.drv-tag { font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--cobalt); }
.drv-title { font-family: var(--display); font-size: clamp(1.25rem, 1.5vw, 1.6rem); font-weight: 560; line-height: 1.12; position: relative; justify-self: start; }
.drv-title::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 5px; background: var(--cobalt); -webkit-mask: url("../img/brush-mark.png") center / 100% 100% no-repeat; mask: url("../img/brush-mark.png") center / 100% 100% no-repeat; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.drv:hover .drv-title::after, .drv:focus-visible .drv-title::after { transform: scaleX(1); }
.drv-text { font-size: .95rem; color: var(--ink-soft); line-height: 1.4; }
.drv-a .drv-title { font-size: clamp(1.6rem, 2.2vw, 2.2rem); }
.drv-a .drv-label { padding: 20px 22px 16px; }

/* ---------- walk the walls ---------- */
.walk { background: var(--sage); color: var(--ink); }
.walk::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 60% at 50% 0%, rgba(255, 255, 255, .16), transparent 60%), linear-gradient(0deg, rgba(19, 25, 21, .16), transparent 22%); pointer-events: none; }
.walk-pin { position: relative; height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; padding-top: calc(var(--head-h) + 8px); padding-bottom: 22px; overflow: clip; }
.walk-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.walk-room { margin: 0; font-size: .95rem; white-space: nowrap; }
.walk-room span { text-transform: uppercase; letter-spacing: .12em; font-size: .875rem; font-weight: 700; }
.walk-room strong { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.6rem; margin-left: 6px; display: inline-block; }
.walk-viewport { position: relative; overflow: clip; display: flex; align-items: center; min-width: 0; width: 100%; }
.walk-track { flex: none; display: flex; align-items: center; gap: clamp(40px, 4vw, 72px); padding-inline: var(--gut) 12vw; will-change: transform; height: 100%; }
.walk-intro { flex: none; width: min(420px, 78vw); }
.walk-intro .lede { color: var(--ink); margin: 0; font-size: clamp(1.1rem, 1.4vw, 1.3rem); }
.room { flex: none; min-width: min(40vw, 600px); display: flex; align-items: center; gap: clamp(32px, 3.4vw, 60px); position: relative; height: 100%; padding-top: 4vh; }
.room-sign { position: absolute; top: 0; left: 0; margin: 0; font-family: var(--display); font-style: italic; font-size: clamp(4rem, 9vw, 9rem); line-height: 1; color: rgba(255, 255, 255, .22); white-space: nowrap; pointer-events: none; }
.hung { position: relative; margin: 0; flex: none; display: flex; flex-direction: column; align-items: flex-start; transform-origin: 50% -40px; }
.hung .frame { display: block; padding: clamp(10px, 1vw, 16px); background: var(--paper); border: 3px solid #23201b; box-shadow: 0 2px 0 rgba(255, 255, 255, .4) inset, 0 30px 40px -24px rgba(19, 25, 21, .7), 0 10px 14px -8px rgba(19, 25, 21, .35); }
.hung .frame img { height: 100%; width: auto; max-width: none; object-fit: cover; }
.hung-l .frame { height: min(46vh, 430px); }
.hung-p .frame { height: min(52vh, 480px); }
.hung-s .frame { height: min(40vh, 360px); }
.hung-l .frame img, .hung-p .frame img, .hung-s .frame img { height: 100%; }
.hung-light { position: absolute; left: 50%; top: -34px; width: 150%; height: calc(100% + 34px); translate: -50% 0; background: radial-gradient(48% 60% at 50% 0%, rgba(255, 244, 214, .62), rgba(255, 244, 214, .18) 55%, transparent 75%); opacity: var(--lit, .2); pointer-events: none; mix-blend-mode: soft-light; z-index: 2; }
.hung::before { content: ""; position: absolute; left: 50%; top: -30px; width: min(42%, 120px); height: 9px; translate: -50% 0; background: linear-gradient(#3a3428, #1d1a14); box-shadow: 0 2px 4px rgba(0, 0, 0, .35); z-index: 3; }
.hung::after { content: ""; position: absolute; left: 50%; top: -22px; width: 2px; height: 22px; translate: -50% 0; background: #2a261e; z-index: 3; }
.hung .frame { position: relative; }
.hung .frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 55% at 50% 0%, rgba(255, 246, 220, calc(var(--lit, .2) * .35)), transparent 70%); pointer-events: none; }
.wall-label { margin-top: 18px; background: var(--paper); padding: 10px 14px; display: grid; gap: 2px; max-width: 300px; box-shadow: 0 8px 16px -10px rgba(0, 0, 0, .35); }
.wl-artist { font-family: var(--display); font-style: italic; font-size: 1.15rem; line-height: 1.15; }
.wl-medium { font-size: .9rem; color: var(--ink-soft); line-height: 1.35; }
.walk-door { flex: none; align-self: center; display: grid; gap: 10px; width: min(360px, 80vw); padding: 32px; background: var(--wall); color: var(--mount); text-decoration: none; transition: background-color .3s; }
.walk-door:hover { background: var(--cobalt); }
.wd-num { font-family: var(--display); font-size: 5rem; line-height: .9; color: var(--pollen); }
.wd-text { font-family: var(--display); font-size: 1.5rem; line-height: 1.2; }
.wd-arrow { font-size: 1.6rem; }
.walk-rail { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; position: relative; padding-top: 10px; }
.wr-stop { font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .55; transition: opacity .3s, color .3s; }
.wr-stop.is-on { opacity: 1; }
.wr-bar { flex: 1 1 160px; height: 2px; background: rgba(19, 25, 21, .2); position: relative; overflow: hidden; }
.wr-bar span { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }

/* ---------- visit ---------- */
.visit::after { content: ""; position: absolute; right: -8%; top: 0; width: 46%; height: 100%; background: var(--mount-2); z-index: 0; transform: translateX(var(--wallx, 0%)); }
.visit-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); }
.visit-main .lede { margin-bottom: 28px; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-bottom: 22px; }
.day { min-height: 76px; display: grid; align-content: center; justify-items: center; gap: 2px; padding: 8px 4px; background: var(--paper); border: 1px solid var(--mount-2); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease); position: relative; }
.day:hover { border-color: var(--ink); transform: translateY(-2px); }
.day-dow { font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.day-num { font-family: var(--display); font-size: 1.6rem; line-height: 1; }
.day-mon { font-size: .875rem; color: var(--ink-soft); }
.day.is-closed { background: transparent; color: rgba(19, 25, 21, .55); }
.day.is-closed::after { content: ""; position: absolute; left: 12%; right: 12%; top: 50%; height: 1px; background: currentColor; transform: rotate(-24deg); opacity: .6; }
.day[aria-pressed="true"] { background: var(--wall); color: var(--mount); border-color: var(--wall); }
.day[aria-pressed="true"] .day-mon { color: rgba(238, 240, 234, .75); }
.day.is-today .day-dow::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--pollen); margin-right: 5px; vertical-align: 1px; }
.day-panel { background: var(--paper); padding: 22px 24px; border-left: 4px solid var(--cobalt); min-height: 190px; }
.dp-date { font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); margin: 0 0 4px; }
.dp-hours { font-family: var(--display); font-size: clamp(1.5rem, 2vw, 2rem); margin: 0 0 14px; line-height: 1.15; }
.dp-shows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dp-shows li a { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; text-decoration: none; }
.dp-shows img { width: 64px; height: 64px; object-fit: cover; }
.dp-shows strong { display: block; font-family: var(--display); font-weight: 560; font-size: 1.15rem; line-height: 1.15; }
.dp-shows span { font-size: .9rem; color: var(--ink-soft); }
.dial-card { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; background: var(--wall); color: var(--mount); padding: 28px 24px; margin-bottom: 24px; }
.dial-photo { position: absolute; inset: 0; z-index: -1; }
.dial-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.08); }
.dial-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29, 42, 36, .94) 0%, rgba(29, 42, 36, .86) 45%, rgba(29, 42, 36, .55) 100%); }
.dial-s { stroke: var(--pollen); stroke-width: 1.5; }
.dial-credit { position: absolute; right: 10px; bottom: 6px; margin: 0; font-size: .875rem; color: rgba(238, 240, 234, .7); }
.dial { width: 180px; height: 180px; overflow: visible; }
.dial-face { fill: var(--wall-2); stroke: rgba(238, 240, 234, .2); stroke-width: 1; }
.dial-ticks line { stroke: rgba(238, 240, 234, .5); stroke-width: 2; }
.dial-ticks text { fill: rgba(238, 240, 234, .7); font: 600 11px var(--body); text-anchor: middle; dominant-baseline: middle; }
.dial-arc { fill: none; stroke: var(--pollen); stroke-width: 10; stroke-linecap: butt; }
.dial-hand { stroke: var(--mount); stroke-linecap: round; }
.dial-h { stroke-width: 4; } .dial-m { stroke-width: 2.5; }
.dial-pin { fill: var(--pollen); }
.dial-status { font-family: var(--display); font-size: 1.7rem; line-height: 1.1; margin: 0 0 6px; }
.dial-hours { margin: 0; color: rgba(238, 240, 234, .8); }
.facts { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 0; }
.facts li { padding: 11px 0; border-bottom: 1px solid rgba(19, 25, 21, .15); }
.facts strong { font-weight: 700; }
.visit-addr { margin-bottom: 16px; font-weight: 500; }
.visit-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- art in miniature ---------- */
.mini { overflow: clip; }
.mini::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 80% at 85% 50%, rgba(143, 160, 138, .22), transparent 70%); pointer-events: none; }
.mini-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; }
.mini-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 24px; border-top: 1px solid rgba(238, 240, 234, .2); }
.mini-facts div { padding: 14px 0; border-bottom: 1px solid rgba(238, 240, 234, .2); }
.mini-facts dt { font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); }
.mini-facts dd { margin: 2px 0 0; font-family: var(--display); font-size: 1.3rem; }
.mini-count { display: flex; align-items: baseline; gap: 12px; margin-bottom: 26px; }
.mc-num { font-family: var(--display); font-size: clamp(3rem, 5vw, 4.2rem); line-height: 1; color: var(--pollen); font-variant-numeric: tabular-nums; }
.mc-text { font-size: 1.05rem; }
.mini-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.mini-table { position: relative; height: min(620px, 72vh); }
.pc { position: absolute; margin: 0; overflow: hidden; left: 50%; top: 50%; width: clamp(180px, 19vw, 270px); background: #fff; padding: 8px; box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .65); transform: translate(-50%, -50%); }
.pc img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mini-caption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; text-align: center; font-size: .9rem; color: rgba(238, 240, 234, .7); }

/* ---------- community ---------- */
.community { overflow: clip; }
.com-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.com-collage { position: relative; height: min(640px, 78vh); }
.cc { position: absolute; display: block; background: var(--paper); padding: 10px; box-shadow: 0 30px 50px -26px rgba(0, 0, 0, .55); }
.cc img { width: 100%; height: 100%; object-fit: cover; }
.cc-1 { left: 0; top: 4%; width: 76%; height: 58%; }
.cc-2 { right: 0; top: 40%; width: 44%; height: 54%; }
.cc-3 { left: 10%; bottom: 0; width: 38%; height: 40%; }
.com-copy .lede { margin-bottom: 22px; }
.com-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.com-list h3 { font-size: 1.3rem; margin-bottom: 6px; padding-top: 12px; position: relative; }
.com-list h3::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ink); transform: scaleX(var(--rule, 1)); transform-origin: left; }
.cc { overflow: hidden; }
.com-list p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* ---------- shop ---------- */
.shop::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 15% 30%, rgba(255, 255, 255, .22), transparent 70%); pointer-events: none; }
.shop .h2 { margin-bottom: clamp(32px, 4vw, 52px); position: relative; }
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); position: relative; }
.product { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 36px); align-items: center; background: var(--mount); padding: clamp(20px, 2.4vw, 32px); }
.prod-visual { perspective: 900px; }
.book img { width: 100%; max-height: min(52vh, 420px); object-fit: contain; box-shadow: -2px 0 0 #000 inset, 18px 26px 40px -18px rgba(0, 0, 0, .6); transform-style: preserve-3d; }
.giftcard .gc { position: relative; aspect-ratio: 1.586; background: var(--paper); border: 1px solid var(--mount-2); overflow: hidden; box-shadow: 18px 26px 40px -18px rgba(0, 0, 0, .5); }
.gc > img { position: absolute; left: 7%; top: 9%; width: 30%; }
.gc-art { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.gc-art img { width: 100%; height: 100%; object-fit: cover; }
.gc-word { position: absolute; left: 7%; bottom: 17%; font-family: var(--display); font-style: italic; color: var(--ink); font-size: clamp(1.4rem, 2.2vw, 2.1rem); line-height: 1; z-index: 1; }
.gc-mark { position: absolute; left: 5%; width: 44%; bottom: 12%; height: 10%; background: var(--cobalt); -webkit-mask: url("../img/brush-mark.png") center / 100% 100% no-repeat; mask: url("../img/brush-mark.png") center / 100% 100% no-repeat; }
.gc-shine { position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .6) 50%, transparent 60%); transform: translateX(-60%); animation: shine 6s linear infinite; pointer-events: none; }
@keyframes shine { from { transform: translateX(-90%); } to { transform: translateX(90%); } }
.prod-copy h3 { font-size: clamp(1.4rem, 1.9vw, 1.9rem); margin-bottom: 10px; }
.prod-copy p { color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: var(--mount); padding-block: clamp(96px, 16vh, 180px); overflow: clip; background: var(--wall); }
.cta-bg { position: absolute; inset: -12% 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19, 25, 21, .86), rgba(19, 25, 21, .55) 60%, rgba(19, 25, 21, .35)); }
.cta-inner { position: relative; }
.cta-inner .h2 { font-size: clamp(2.4rem, 4.4vw, 4rem); margin-bottom: 18px; }
.cta-inner .lede { color: rgba(238, 240, 234, .88); margin-bottom: 28px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-credit { position: absolute; right: 0; bottom: -64px; margin: 0; font-size: .875rem; color: rgba(238, 240, 234, .75); }

/* ---------- footer ---------- */
.site-foot { background: var(--wall); color: var(--mount); position: relative; overflow: clip; }
.foot-marquee { border-bottom: 1px solid rgba(238, 240, 234, .14); padding: 22px 0; overflow: hidden; }
.fm-track { display: flex; width: max-content; }
.fm-run { display: flex; flex: none; }
.fm-run span { font-family: var(--display); font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.6rem); padding-right: 1.4em; white-space: nowrap; color: rgba(238, 240, 234, .85); }
.fm-run span:nth-child(3n+2) { color: var(--sage); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 40px; }
.foot-logo { display: inline-block; background: var(--paper); padding: 8px 14px; margin-bottom: 18px; }
.foot-logo img { height: 64px; width: auto; }
.foot-brand p { color: rgba(238, 240, 234, .78); }
.foot-h { font-family: var(--body); font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--sage); margin-bottom: 14px; }
.foot-col a { color: var(--mount); text-decoration-color: rgba(238, 240, 234, .35); text-underline-offset: 3px; }
.foot-col a:hover { color: var(--pollen); }
.foot-col p { margin: 0 0 6px; }
.foot-col address { margin-bottom: 12px; color: rgba(238, 240, 234, .85); }
.foot-hours { margin: 0; display: grid; gap: 6px; }
.foot-hours div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(238, 240, 234, .12); padding-bottom: 6px; }
.foot-hours dt { color: rgba(238, 240, 234, .78); }
.foot-hours dd { margin: 0; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot-links a { display: inline-flex; min-height: 44px; align-items: center; }
.foot-base { position: relative; display: flex; flex-wrap: wrap; gap: 8px 32px; padding-block: 22px 32px; font-size: .92rem; color: rgba(238, 240, 234, .78); }
.foot-base p { margin: 0; }
.foot-base p:nth-child(3) { margin-right: auto; }
.foot-base a { color: var(--mount); }
.foot-rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(238, 240, 234, .2); transform-origin: left; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .mainnav, .open-chip, .head-cta { display: none; }
  .burger { display: block; }
  .head-actions { margin-left: auto; }
}
@media (max-width: 1100px) {
  .drv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: minmax(260px, 34vh); grid-template-areas: "a b" "a c" "d e" "d f"; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --head-h: 80px; }
  .brand img { height: 52px; }
  .hero { grid-template-columns: 1fr; grid-template-rows: 46svh auto; min-height: 100svh; }
  .hero-art { grid-row: 1; margin: 0 0 -40px; }
  .hero-wall { grid-row: 2; padding: 24px var(--gut) 32px; align-items: flex-start; }
  .hero-poster { -webkit-mask: url("../img/edge-h.png") left bottom / 100% 72px no-repeat, linear-gradient(#000, #000) 0 0 / 100% calc(100% - 71px) no-repeat; mask: url("../img/edge-h.png") left bottom / 100% 72px no-repeat, linear-gradient(#000, #000) 0 0 / 100% calc(100% - 71px) no-repeat; }
  .hero-spot { inset: 0 0 72px 0; }
  .hero-label { left: var(--gut); right: auto; bottom: 46px; width: auto; max-width: calc(100% - 2 * var(--gut)); padding: 10px 12px 8px; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; }
  .hl-kicker { display: none; }
  .hl-artist { font-size: 1.1rem; margin: 0; }
  .hl-medium { margin: 0; font-size: .875rem; grid-column: 1; }
  .hl-foot { grid-column: 2; grid-row: 1 / span 2; border: 0; padding: 0; gap: 4px; }
  .hl-bar, .hl-count { display: none; }
  .hero-h1 { font-size: clamp(2.5rem, 10.5vw, 3.6rem); margin-bottom: 14px; }
  .hero-lede { font-size: 1rem; margin-bottom: 18px; }
  .hero-btns { margin-bottom: 18px; }
  .hero-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-btns .btn { padding-inline: 10px; font-size: 1rem; }
  .hero-now { display: none; }
  .sec-head { grid-template-columns: 1fr; gap: 14px; }
  .drv-grid { grid-template-columns: 1fr; grid-auto-rows: minmax(300px, 52vh); grid-template-areas: "a" "b" "c" "d" "e" "f"; }
  .walk-head .walk-room { display: none; }
  .hung-l .frame { height: min(34vh, 300px); }
  .hung-p .frame { height: min(46vh, 400px); }
  .hung-s .frame { height: min(36vh, 300px); }
  .room-sign { font-size: 3.6rem; }
  .visit::after { display: none; }
  .visit-grid, .mini-grid, .com-grid { grid-template-columns: 1fr; }
  .days { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .day { min-height: 64px; padding: 6px 2px; }
  .day-num { font-size: 1.25rem; }
  .day-mon { display: none; }
  .mini-table { height: 420px; order: -1; }
  .com-collage { height: 420px; }
  .com-list { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr 1.3fr; }
  .dial-card { grid-template-columns: 120px 1fr; }
  .dial { width: 120px; height: 120px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-credit { position: static; margin-top: 24px; }
}
@media (max-width: 520px) {
  .product { grid-template-columns: 1fr; }
  .book img { max-height: 320px; width: auto; margin-inline: auto; }
  .mini-facts { grid-template-columns: 1fr 1fr; }
  .mini-facts dd { font-size: 1.1rem; }
}

/* no-JS and reduced motion: everything visible, no pin */
.no-js .walk-pin, .reduce .walk-pin { height: auto; padding-bottom: 40px; }
.no-js .walk-viewport, .reduce .walk-viewport { overflow: visible; padding-block: 40px; }
.no-js .walk-track, .reduce .walk-track { height: auto; flex-wrap: wrap; flex: 1 1 auto; width: 100%; padding-inline: var(--gut); row-gap: 64px; }
.no-js .room, .reduce .room { flex-wrap: wrap; min-width: 0; height: auto; padding-top: 110px; row-gap: 56px; }
.no-js .room-sign, .reduce .room-sign { font-size: clamp(3rem, 6vw, 5rem); }
.no-js .walk-rail, .reduce .walk-rail, .no-js .walk-room, .reduce .walk-room { display: none; }
.no-js .walk-intro, .reduce .walk-intro { width: 100%; }
.no-js .hung-light, .reduce .hung-light { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .brushed::after { --brush: 1; }
  .js [data-brush] { -webkit-mask: none; mask: none; }
}
