/* ==========================================================================
   The Tofu Museum · house style
   Quiet walls, the work does the talking. One stylesheet, no build step.
   ========================================================================== */

:root {
  --ground: #f6f3ee;
  --ground-2: #ede8df;
  --paper: #fbfaf7;
  --ink: #1c1815;
  --ink-2: #4b443e;
  --muted: #6e655c;
  --oxblood: #5c1b24;
  --oxblood-2: #45131a;
  --wall: #3a161b;
  --wall-ink: #efe6da;
  --rule: rgba(28, 24, 21, .12);
  --rule-strong: rgba(28, 24, 21, .3);
  --display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1280px;
  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.locked { overflow: hidden; }
html.locked body { padding-right: var(--sb, 0); }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-kerning: normal;
  font-feature-settings: "kern", "liga";
}
img, svg, picture { max-width: 100%; display: block; }
img { height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: .24em; text-decoration-thickness: 1px; transition: text-decoration-color .2s, color .2s; }
a:hover { text-decoration-color: currentColor; }
:focus { outline: none; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
::selection { background: var(--oxblood); color: var(--paper); }
[hidden] { display: none !important; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--ink); color: var(--paper); padding: .7rem 1rem; font-size: .8rem; text-decoration: none; }
.skip:focus { top: 1rem; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0 0 .5em; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; font-feature-settings: "kern", "liga", "dlig"; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
h3 { font-size: 1.5rem; font-weight: 400; line-height: 1.15; }
h1 em, h2 em { font-style: italic; font-weight: 300; }
p { margin: 0 0 1.1em; text-wrap: pretty; hanging-punctuation: first; }
li, dd, .label .text, .label .meta, .tag, .cap, .directory p { text-wrap: pretty; }
.eyebrow { font-family: var(--sans); font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0 0 1.3rem; }
.script { font-family: var(--display); font-style: italic; font-weight: 300; color: var(--ink-2); }
.lede { font-family: var(--display); font-weight: 400; font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.42; color: var(--ink-2); max-width: 38ch; }
.small { font-size: .8rem; color: var(--muted); line-height: 1.6; }
.handle { font-family: var(--display); font-style: italic; font-size: 1.35rem; color: var(--ink); white-space: nowrap; }
blockquote { margin: 0; font-family: var(--display); font-weight: 300; font-style: italic; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.25; text-wrap: balance; }
blockquote::before { content: "\201C"; display: block; font-size: 3em; line-height: .6; color: var(--muted); opacity: .5; margin-bottom: .1em; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
section + section.burgundy-wall, section.burgundy-wall + section { }
.burgundy-wall { background: var(--ground-2); }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 6.5rem); align-items: start; }
.split.center { align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.section-head { display: grid; grid-template-columns: 1fr minmax(0, 27rem); align-items: end; gap: 1.2rem 4rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin: 0; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head > p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }
.page-head { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2.75rem, 5vw, 3.75rem); border-bottom: 1px solid var(--rule); }
.page-head h1 { max-width: 15ch; }
.page-head .lede { margin-bottom: 0; }
.page-head.centered { text-align: center; }
.page-head.centered h1, .page-head.centered .lede { margin-left: auto; margin-right: auto; }
.page-head.centered .lede { max-width: 40ch; }

/* ---------- Banner ---------- */
.banner { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .2rem .7rem; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: .7rem; letter-spacing: .08em; text-align: center; padding: .62rem var(--gutter); }
.banner b { font-weight: 500; color: var(--ink); }
.banner a { color: var(--oxblood); }
.b-long { display: inline-flex; align-items: center; gap: .7rem; }
.b-sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .45; flex: none; }
@media (max-width: 640px) { .b-long { display: none; } .banner { font-size: .66rem; letter-spacing: .06em; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 243, 238, .92); -webkit-backdrop-filter: saturate(1.3) blur(10px); backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.scrolled { border-bottom-color: var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: var(--header-h); }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand-wordmark { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 2.4rem; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { position: relative; text-decoration: none; color: var(--ink-2); font-size: .8rem; letter-spacing: .04em; padding: .45rem 0; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-donate { min-height: 40px; padding: .6rem 1.2rem; }
.nav-foot { display: none; }
.nav-toggle { display: none; align-items: center; gap: .75rem; background: none; border: 0; padding: 0 0 0 .5rem; height: 44px; cursor: pointer; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }
.nt-icon { position: relative; width: 22px; height: 10px; }
.nt-icon i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.nt-icon i:first-child { top: 0; } .nt-icon i:last-child { top: 9px; }
.menu-open .nt-icon i:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .nt-icon i:last-child { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  :root { --header-h: 64px; }
  .brand-wordmark { height: 38px; }
  .nav-toggle { display: inline-flex; }
  .site-header.menu-open { background: var(--ground); border-bottom-color: var(--rule); }
  .nav { position: absolute; top: 100%; left: 0; right: 0; z-index: 49; height: calc(100dvh - var(--hb, 100px)); background: var(--ground); border-top: 1px solid var(--rule); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: .5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
  .nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { font-family: var(--display); font-size: clamp(1.75rem, 7vw, 2.4rem); font-weight: 300; letter-spacing: -.01em; color: var(--ink); padding: .55rem 0; border-bottom: 1px solid var(--rule); }
  .nav-links a::after { display: none; }
  .nav-links a[aria-current="page"] { font-style: italic; }
  .nav.open .nav-links a { animation: navIn .6s var(--ease) both; }
  .nav.open .nav-links a:nth-child(2) { animation-delay: .04s; } .nav.open .nav-links a:nth-child(3) { animation-delay: .08s; }
  .nav.open .nav-links a:nth-child(4) { animation-delay: .12s; } .nav.open .nav-links a:nth-child(5) { animation-delay: .16s; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-donate { min-height: 52px; width: 100%; margin-top: 1.6rem; }
  .nav-foot { display: block; margin-top: auto; padding-top: 2rem; }
  .nav-foot p { margin: .6rem 0 0; font-size: .78rem; color: var(--muted); }
  .nav-foot .eyebrow { margin: 0 0 .8rem; font-size: .66rem; color: var(--muted); }
  .nav-foot .soc-cards { max-width: none; }
  .head-social-d { display: none; }
  .head-social-m { display: flex; margin-left: auto; margin-right: .4rem; }
  .site-header .wrap { gap: .5rem; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .85rem 1.6rem; background: var(--ink); color: var(--paper) !important; border: 1px solid var(--ink); border-radius: 0; font-family: var(--sans); font-size: .68rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: background .25s, border-color .25s, color .25s; }
.btn:hover { background: var(--oxblood); border-color: var(--oxblood); }
.btn:active { transform: translateY(1px); }
.btn.gold { background: var(--oxblood); border-color: var(--oxblood); }
.btn.gold:hover { background: var(--oxblood-2); border-color: var(--oxblood-2); }
.btn.ghost { background: transparent; color: var(--ink) !important; border-color: var(--rule-strong); }
.btn.ghost:hover { border-color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; font-weight: 500; color: var(--ink); white-space: nowrap; }
.link-arrow::after { content: ""; width: 22px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.link-arrow:hover::after { width: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin-top: 2.2rem; align-items: center; }

/* ==========================================================================
   Artwork & period frames
   Every frame is built from --p (moulding width) and --lip (sight edge),
   multiplied by --u so frames scale down cleanly on small screens.
   ========================================================================== */
.frame { --u: 1px; --p: 0; --lip: 0; --lipc: transparent; position: relative; display: block; background: var(--ground-2); box-shadow: 0 1px 2px rgba(28, 24, 21, .08), 0 24px 48px -28px rgba(28, 24, 21, .45); }
.frame img { position: relative; width: 100%; height: auto; opacity: 0; transition: opacity .7s var(--ease); }
.frame img.ok { opacity: 1; }
@media (max-width: 760px) { .frame { --u: .72px; } }
@media (max-width: 480px) { .frame { --u: .56px; } }

.frame[class*="fr-"] { padding: calc(var(--u) * var(--p)); background-color: transparent; box-shadow: 0 1px 2px rgba(0, 0, 0, .18), 0 calc(var(--u) * 30) calc(var(--u) * 54) calc(var(--u) * -26) rgba(0, 0, 0, .62); }
/* sight edge (lip) */
.frame[class*="fr-"]::before { content: ""; position: absolute; z-index: 1; pointer-events: none; inset: calc(var(--u) * (var(--p) - var(--lip))); border: calc(var(--u) * var(--lip)) solid var(--lipc); }
/* the frame casts a soft shadow onto the canvas */
.frame[class*="fr-"]::after { content: ""; position: absolute; z-index: 2; pointer-events: none; inset: calc(var(--u) * var(--p)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .28), inset calc(var(--u) * 3) calc(var(--u) * 4) calc(var(--u) * 9) rgba(0, 0, 0, .32); }

/* Shared gilt surface and bevel light */
.fr-carved, .fr-ornate, .fr-plaingilt, .fr-impgilt, .fr-thingilt {
  --gilt: radial-gradient(120% 90% at 22% 12%, rgba(255, 246, 220, .55), transparent 55%), radial-gradient(90% 80% at 85% 92%, rgba(60, 38, 8, .4), transparent 60%), linear-gradient(135deg, #e0c78d, #b08d45 30%, #d6b874 50%, #8a6a30 74%, #c3a25e);
  background: var(--gilt);
}
.frame.fr-carved, .frame.fr-ornate, .frame.fr-plaingilt, .frame.fr-impgilt, .frame.fr-thingilt, .frame.fr-walnut, .frame.fr-dutch, .frame.fr-white, .frame.fr-klimt, .frame.fr-tin, .frame.fr-float, .frame.fr-cassetta {
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 214, .45),
    inset calc(var(--u) * 2) calc(var(--u) * 2) calc(var(--u) * 3) rgba(255, 245, 220, .35),
    inset calc(var(--u) * -3) calc(var(--u) * -3) calc(var(--u) * 6) rgba(30, 18, 4, .4),
    0 1px 2px rgba(0, 0, 0, .2),
    0 calc(var(--u) * 32) calc(var(--u) * 56) calc(var(--u) * -26) rgba(0, 0, 0, .65);
}

/* Italian Renaissance cassetta: flat dark panel between gilt fillets */
.frame.fr-cassetta { --p: 28; --lip: 6; --lipc: #b8954e; background:
  linear-gradient(#b8954e, #b8954e) top / 100% calc(var(--u) * 5) no-repeat,
  linear-gradient(#8a6a30, #8a6a30) bottom / 100% calc(var(--u) * 5) no-repeat,
  linear-gradient(#b8954e, #b8954e) left / calc(var(--u) * 5) 100% no-repeat,
  linear-gradient(#8a6a30, #8a6a30) right / calc(var(--u) * 5) 100% no-repeat,
  linear-gradient(150deg, #24202a, #141118 60%, #1e1a22); }

/* Carved Renaissance gilt with a beaded sight edge */
.frame.fr-carved { --p: 32; --lip: 7; }
.frame.fr-carved::before, .frame.fr-ornate::before { border: 0; padding: calc(var(--u) * var(--lip));
  background: radial-gradient(circle, #f4e2ae 0 32%, #8a6a30 46%, transparent 60%) 0 0 / calc(var(--u) * 7) calc(var(--u) * 7);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

/* Baroque / Empire ornate gilt: deeper, with a raised torus and cartouche corners */
.frame.fr-ornate { --p: 38; --lip: 7; background:
  radial-gradient(circle at 0 0, rgba(255, 240, 200, .55) 0 calc(var(--u) * 14), transparent calc(var(--u) * 26)),
  radial-gradient(circle at 100% 0, rgba(255, 240, 200, .45) 0 calc(var(--u) * 14), transparent calc(var(--u) * 26)),
  radial-gradient(circle at 0 100%, rgba(255, 240, 200, .35) 0 calc(var(--u) * 14), transparent calc(var(--u) * 26)),
  radial-gradient(circle at 100% 100%, rgba(255, 240, 200, .3) 0 calc(var(--u) * 14), transparent calc(var(--u) * 26)),
  var(--gilt); }
.frame.fr-ornate { box-shadow:
  inset 0 0 0 1px rgba(255, 244, 214, .7),
  inset 0 0 0 calc(var(--u) * 3) rgba(90, 62, 18, .45),
  inset calc(var(--u) * 4) calc(var(--u) * 4) calc(var(--u) * 8) calc(var(--u) * 4) rgba(255, 240, 200, .3),
  inset calc(var(--u) * -5) calc(var(--u) * -5) calc(var(--u) * 10) calc(var(--u) * 6) rgba(50, 30, 6, .4),
  inset 0 0 0 calc(var(--u) * 24) rgba(0, 0, 0, 0),
  inset 0 0 0 calc(var(--u) * 25) rgba(255, 240, 205, .45),
  0 1px 2px rgba(0, 0, 0, .25),
  0 calc(var(--u) * 36) calc(var(--u) * 60) calc(var(--u) * -26) rgba(0, 0, 0, .7); }

/* Walnut with a narrow gilt sight edge (Leonardo panels, Regionalism) */
.frame.fr-walnut { --p: 22; --lip: 4; --lipc: #b8954e; background:
  repeating-linear-gradient(92deg, rgba(0, 0, 0, .09) 0 1px, transparent 1px 6px, rgba(255, 220, 180, .04) 6px 7px, transparent 7px 11px),
  linear-gradient(160deg, #5c3c25, #3a2416 45%, #4f321e 70%, #2c1b10); }

/* Fresco fragment: lifted plaster */
.frame.fr-fresco { --p: 14; background: radial-gradient(120% 120% at 30% 20%, #ece3d1, #d9ccb4); box-shadow: inset 0 0 calc(var(--u) * 24) rgba(120, 95, 60, .28), 0 1px 2px rgba(0, 0, 0, .12), 0 calc(var(--u) * 24) calc(var(--u) * 44) calc(var(--u) * -26) rgba(0, 0, 0, .55); }
.frame.fr-fresco::after { box-shadow: inset 0 0 0 1px rgba(90, 70, 40, .25), inset 0 0 calc(var(--u) * 6) rgba(90, 70, 40, .2); }

/* Dutch Golden Age ebonised ripple moulding */
.frame.fr-dutch { --p: 26; --lip: 5; --lipc: #15110e; background:
  repeating-linear-gradient(90deg, rgba(255, 255, 255, .075) 0 1px, transparent 1px 3.5px) top / 100% calc(var(--u) * var(--p)) no-repeat,
  repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 3.5px) bottom / 100% calc(var(--u) * var(--p)) no-repeat,
  repeating-linear-gradient(0deg, rgba(255, 255, 255, .075) 0 1px, transparent 1px 3.5px) left / calc(var(--u) * var(--p)) 100% no-repeat,
  repeating-linear-gradient(0deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 3.5px) right / calc(var(--u) * var(--p)) 100% no-repeat,
  linear-gradient(135deg, #2b2521, #0d0b09 40%, #1d1915 65%, #080706); }

/* 19th-century plain gilt */
.frame.fr-plaingilt { --p: 20; --lip: 3; --lipc: #7d5f2a; }

/* Impressionist gilt with a linen liner */
.frame.fr-impgilt { --p: 34; --lip: 15; --lipc: #e6ddca; }
.frame.fr-impgilt::before { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), 0 0 0 1px rgba(90, 62, 18, .5); }

/* Painted white (Seurat, Pissarro) */
.frame.fr-white { --p: 22; --lip: 4; --lipc: #ebe5d8; background: linear-gradient(140deg, #fbf9f4, #e9e4d9 55%, #f5f1e9); }

/* Plain dark wood strip (Munch, Picasso) */
.frame.fr-munch { --p: 11; background: linear-gradient(150deg, #3d2e23, #21170f 60%, #34261b); box-shadow: inset 0 0 0 1px rgba(255, 220, 180, .12), 0 1px 2px rgba(0, 0, 0, .2), 0 calc(var(--u) * 26) calc(var(--u) * 48) calc(var(--u) * -26) rgba(0, 0, 0, .6); }

/* Klimt: flat gilt with incised rules */
.frame.fr-klimt { --p: 26; --lip: 2; --lipc: #8a6a2c; background:
  linear-gradient(135deg, #d2b677, #b39349 50%, #caac68); }
.frame.fr-klimt { box-shadow:
  inset 0 0 0 1px rgba(70, 50, 15, .5), inset 0 0 0 calc(var(--u) * 6) rgba(0, 0, 0, 0), inset 0 0 0 calc(var(--u) * 7) rgba(70, 50, 15, .4),
  inset 0 0 0 calc(var(--u) * 13) rgba(0, 0, 0, 0), inset 0 0 0 calc(var(--u) * 14) rgba(70, 50, 15, .35),
  0 1px 2px rgba(0, 0, 0, .2), 0 calc(var(--u) * 30) calc(var(--u) * 52) calc(var(--u) * -26) rgba(0, 0, 0, .6); }

/* Works on paper: cream mat, bevelled window, slim black frame */
.frame.fr-mat { --p: 44; --lip: 3; --lipc: #fbf8ef; margin: calc(var(--u) * 10); background: #f0e9d8;
  box-shadow: 0 0 0 calc(var(--u) * 9) #1a1714, 0 0 0 calc(var(--u) * 10) #000, inset 0 0 0 1px rgba(0, 0, 0, .06), 0 calc(var(--u) * 30) calc(var(--u) * 50) calc(var(--u) * -22) rgba(0, 0, 0, .6); }
.frame.fr-mat::after { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }

/* Dada readymade: unframed, pinned slightly askew */
.frame.fr-readymade { --p: 0; transform: rotate(-1.2deg); box-shadow: 0 2px 3px rgba(0, 0, 0, .25), 0 calc(var(--u) * 22) calc(var(--u) * 40) calc(var(--u) * -24) rgba(0, 0, 0, .6); }
.frame.fr-readymade::before { content: none; }
.frame.fr-readymade::after { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }

/* Mondrian: canvas proud of a recessed white strip */
.frame.fr-strip { --p: 10; --lip: 3; --lipc: #24201c; background: #f3f1ec; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .15), 0 calc(var(--u) * 24) calc(var(--u) * 44) calc(var(--u) * -26) rgba(0, 0, 0, .55); }
.frame.fr-strip::after { box-shadow: none; }

/* Frida: Mexican tin (hojalata) with embossed rays and a painted red edge */
.frame.fr-tin { --p: 26; --lip: 5; --lipc: #a8392b; background:
  repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, .28) 0 2.5deg, rgba(0, 0, 0, .12) 2.5deg 5deg),
  linear-gradient(140deg, #e6e8e9, #a3a8ac 50%, #d2d5d7); }

/* Mid-century thin gilt strip (Hopper, Magritte) */
.frame.fr-thingilt { --p: 10; --lip: 2; --lipc: #6f5424; }

/* Unframed stretched canvas: the tacking edge reads as depth */
.frame.fr-canvas { --p: 0; box-shadow: calc(var(--u) * 5) calc(var(--u) * 5) 0 0 rgba(0, 0, 0, .2), 0 calc(var(--u) * 26) calc(var(--u) * 46) calc(var(--u) * -24) rgba(0, 0, 0, .6); }
.frame.fr-canvas::before { content: none; }
.frame.fr-canvas::after { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }

/* Hockney: pale maple float frame with a shadow gap */
.frame.fr-float { --p: 18; --lip: 7; --lipc: #171411; background: linear-gradient(140deg, #ead9ba, #d3bd95 55%, #e3d0ac); }

/* Plain photographs (About page) */
.frame.photo { box-shadow: 0 1px 2px rgba(28, 24, 21, .1), 0 30px 60px -30px rgba(28, 24, 21, .5); }

/* ---------- Homepage emblem ---------- */
.emblem { text-align: center; padding: clamp(2.75rem, 6.5vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem); border-bottom: 1px solid var(--rule); }
.emblem .eyebrow { margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.emblem img { width: min(700px, 100%); margin: 0 auto; }
.emblem h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); margin: clamp(2rem, 4.5vw, 3.2rem) auto 0; max-width: 18ch; }
.emblem .lede { margin: 1.3rem auto 0; max-width: 34ch; }
.emblem .hero-actions { justify-content: center; }

/* ---------- Two-column hero (Support, 404) ---------- */
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 7vw, 6.5rem); align-items: center; padding-top: clamp(3.5rem, 8vw, 7rem); padding-bottom: clamp(3.5rem, 8vw, 7rem); }
.spotlight { display: flex; justify-content: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .spotlight { order: -1; } }

/* ---------- Now on view ---------- */
.now { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(2.5rem, 8vw, 7.5rem); align-items: center; }
.now > a { display: block; text-decoration: none; }
@media (max-width: 860px) { .now { grid-template-columns: 1fr; } .now > a { max-width: 400px; } }

/* ---------- Tombstone label ---------- */
.label { max-width: 34rem; font-size: .9rem; color: var(--ink); border-top: 1px solid var(--rule-strong); padding-top: 1.1rem; }
.label .artist { font-weight: 500; }
.label .artist span { color: var(--ink-2); font-weight: 400; }
.label .title { font-family: var(--display); font-size: 1.6rem; font-style: italic; font-weight: 400; line-height: 1.15; margin: .25rem 0 .5rem; text-wrap: balance; }
.label .meta { color: var(--ink-2); font-size: .84rem; line-height: 1.7; }
.label .text { margin-top: 1rem; color: var(--ink-2); line-height: 1.72; }
.label .acc { margin-top: 1.1rem; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); line-height: 1.8; }

/* ---------- Highlights rail: frames sit on a common baseline, captions hang below ---------- */
.rail-wrap { position: relative; }
.rail { --fh: clamp(220px, 25vw, 290px); display: flex; align-items: flex-start; gap: clamp(2.2rem, 4vw, 3.5rem); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); padding: .5rem var(--gutter) 0; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
.rail::after { content: ""; flex: 0 0 1px; }
.rail::-webkit-scrollbar { display: none; }
.rail a { flex: none; scroll-snap-align: start; text-decoration: none; color: inherit; display: grid; grid-template-rows: calc(var(--fh) + 66px) auto; }
.rail .frame { --u: .78px; align-self: end; justify-self: start; transition: transform .7s var(--ease); }
.rail .frame img { height: var(--fh); width: auto; }
.rail a:hover .frame { transform: translateY(-4px); }
.rail .cap { width: 0; min-width: 100%; margin-top: 1.2rem; font-family: var(--display); font-size: 1.12rem; font-style: italic; line-height: 1.25; }
.rail .cap small { display: block; font-family: var(--sans); font-style: normal; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: .45rem; line-height: 1.6; }
.rail-ctrl { display: flex; gap: .5rem; }
.rail-ctrl button { width: 46px; height: 46px; display: grid; place-items: center; background: none; border: 1px solid var(--rule-strong); cursor: pointer; transition: border-color .2s, opacity .2s; }
.rail-ctrl button:hover:not(:disabled) { border-color: var(--ink); }
.rail-ctrl button:disabled { opacity: .3; cursor: default; }
.rail-ctrl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.rail-progress { height: 1px; background: var(--rule); margin-top: 2.2rem; position: relative; overflow: hidden; }
.rail-progress i { position: absolute; inset: 0 auto 0 0; width: 20%; background: var(--ink); transition: transform .2s linear; }
@media (max-width: 760px) { .burgundy-wall:has(.rail) { padding-bottom: 3.5rem; } .rail-ctrl { display: none; } .rail { --fh: 230px; gap: 1.8rem; } .rail a { grid-template-rows: calc(var(--fh) + 50px) auto; } .rail .frame { --u: .6px; } }

/* ---------- Directory ---------- */
.directory { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); column-gap: 3rem; border-top: 1px solid var(--rule); }
.directory a { display: block; padding: 1.6rem 0 1.7rem; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.directory .floor { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.directory h3 { margin: .35rem 0 .3rem; transition: color .25s; }
.directory p { margin: 0; font-size: .88rem; color: var(--ink-2); }
.directory a:hover h3 { color: var(--oxblood); }

/* ---------- Collection ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem 1.7rem; margin: 2.6rem 0 0; }
.chip { font-size: .76rem; letter-spacing: .03em; padding: .55rem 0; min-height: 44px; border: 0; border-bottom: 1px solid transparent; background: none; color: var(--muted); cursor: pointer; white-space: nowrap; transition: color .2s, border-color .2s; }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.view-toggle { margin-left: auto; display: flex; gap: 1.5rem; }
@media (max-width: 760px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 2rem calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); scrollbar-width: none; -webkit-mask: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 2.5rem), transparent); mask: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 2.5rem), transparent); }
  .filters::-webkit-scrollbar { display: none; }
  .view-toggle { margin-left: 1rem; padding-left: 1.5rem; border-left: 1px solid var(--rule); }
}
.salon-wrap { background: var(--wall); background-image: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(255, 228, 190, .09), transparent 70%); padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); color: var(--wall-ink); }
.salon { display: flex; gap: clamp(1.8rem, 3.4vw, 3.2rem); align-items: flex-start; }
.salon-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: clamp(2.4rem, 4vw, 3.6rem); }
.piece { display: block; width: 100%; background: none; border: 0; padding: 0; cursor: zoom-in; text-align: left; color: inherit; -webkit-tap-highlight-color: transparent; }
.salon .frame { --u: .82px; transition: transform .8s var(--ease); }
.piece:hover .frame, .piece:focus-visible .frame { transform: translateY(-4px); }
.piece:hover .frame.fr-readymade, .piece:focus-visible .frame.fr-readymade { transform: rotate(-1.2deg) translateY(-4px); }
.piece:focus-visible { outline: none; }
.piece:focus-visible .tag em { text-decoration: underline; text-underline-offset: .2em; }
.piece .tag { display: block; margin-top: 1rem; font-size: .68rem; line-height: 1.5; letter-spacing: .04em; color: rgba(239, 230, 218, .58); }
.piece .tag em { display: block; font-family: var(--display); font-size: 1.08rem; font-style: italic; letter-spacing: 0; color: #f6efe5; margin-bottom: .15rem; line-height: 1.25; }
@media (max-width: 560px) {
  .salon { display: block; }
  .salon-col { gap: 3rem; }
  .salon .frame { --u: .62px; }
  .salon .piece { width: 88%; }
  .salon .piece:nth-child(even) { margin-left: auto; }
  .salon .piece.land { width: 100%; }
}
.salon-empty { text-align: center; color: rgba(239, 230, 218, .6); padding: 4rem 0; }
/* Timeline view */
.timeline { display: none; }
.timeline.on { display: block; }
.salon.off { display: none; }
.tl-row { display: grid; grid-template-columns: 110px 140px 1fr; gap: 2rem; align-items: center; width: 100%; padding: 1.25rem 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); background: none; text-align: left; cursor: pointer; color: inherit; }
.tl-row:first-child { border-top: 1px solid rgba(255, 255, 255, .1); }
.tl-year { font-family: var(--display); font-weight: 300; font-size: 2rem; color: #d4bf95; font-variant-numeric: oldstyle-nums; }
.tl-row picture, .tl-row img { width: 140px; height: 96px; object-fit: cover; }
.tl-title { font-family: var(--display); font-size: 1.4rem; font-style: italic; line-height: 1.2; color: #f6efe5; transition: color .2s; }
.tl-meta { font-size: .72rem; letter-spacing: .04em; color: rgba(239, 230, 218, .58); }
.tl-row:hover .tl-title { color: #fff; }
@media (max-width: 620px) { .tl-row { grid-template-columns: 64px 1fr; gap: 1rem; } .tl-row picture { display: none; } .tl-year { font-size: 1.35rem; } .tl-title { font-size: 1.2rem; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; background: #14100e; color: #eadfd2; }
.lightbox.open { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 420px); animation: fadeIn .45s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: clamp(4rem, 6vw, 5rem) clamp(4.5rem, 6.5vw, 6rem); overflow: hidden; }
.lb-frame-wrap { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; }
.lb-stage .frame { --u: 1px; max-width: 100%; max-height: 100%; }
.lb-stage .frame img { width: auto; height: auto; max-width: min(100%, calc(100vw - 420px - 12rem)); max-height: calc(100dvh - 10.5rem); }
.lb-panel { background: var(--ground); color: var(--ink); padding: 3rem 2.4rem calc(2.4rem + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 1.6rem; }
.lb-panel .label { border-top: 0; padding-top: 0; }
.lb-panel .label .title { font-size: clamp(1.7rem, 2.4vw, 2.1rem); }
.lb-tools { display: flex; flex-wrap: wrap; gap: .5rem; }
.lb-tools .btn { font-size: .62rem; padding: .6rem 1.05rem; min-height: 42px; }
.lb-note { margin: auto 0 0; padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.lb-count-stage { display: none; position: absolute; z-index: 3; left: 1.1rem; bottom: 1.45rem; font-size: .66rem; letter-spacing: .22em; color: rgba(234, 223, 210, .62); font-variant-numeric: tabular-nums; }
.lb-count { font-size: .66rem; letter-spacing: .22em; color: var(--muted); font-variant-numeric: tabular-nums; }
.lb-btn { position: absolute; z-index: 3; display: grid; place-items: center; width: 48px; height: 48px; background: rgba(20, 16, 14, .35); border: 1px solid rgba(234, 223, 210, .22); color: #eadfd2; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: border-color .25s, background .25s; }
.lb-btn:hover { border-color: rgba(234, 223, 210, .8); background: rgba(255, 255, 255, .04); }
.lb-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.lb-close { top: 1.25rem; left: 1.25rem; }
.lb-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 900px) {
  .lightbox.open { grid-template-columns: 1fr; grid-template-rows: auto 1fr; overflow-y: auto; overscroll-behavior: contain; }
  .lb-stage { height: min(68dvh, 640px); padding: 4.25rem 1.25rem 4.75rem; }
  .lb-stage .frame { --u: .62px; }
  .lb-stage .frame img { max-width: calc(100vw - 4rem); max-height: calc(min(68dvh, 640px) - 10.5rem); }
  .lb-close { top: .9rem; left: .9rem; }
  .lb-prev, .lb-next { top: auto; bottom: .9rem; transform: none; width: 44px; height: 44px; }
  .lb-prev { left: auto; right: 4.1rem; }
  .lb-next { right: .9rem; }
  .lb-panel { overflow: visible; padding: 2rem var(--gutter) calc(2.5rem + env(safe-area-inset-bottom)); }
  .lb-panel .lb-count { display: none; }
  .lb-count-stage { display: block; }
}

/* ---------- Visit ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: 3rem; margin: 0; border-top: 1px solid var(--rule); }
.facts > div { padding: 1.6rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.facts dd { margin: .45rem 0 0; font-family: var(--display); font-size: 1.5rem; font-weight: 400; line-height: 1.2; }
.facts dd small { display: block; margin-top: .45rem; font-family: var(--sans); font-size: .84rem; color: var(--ink-2); line-height: 1.55; }
.rules { list-style: none; padding: 0; margin: 0; counter-reset: rule; border-top: 1px solid var(--rule); }
.rules li { counter-increment: rule; display: grid; grid-template-columns: 3rem 1fr; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.rules li::before { content: counter(rule, upper-roman); font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--muted); line-height: 1.55; }
.rules b { color: var(--ink); font-weight: 500; }
.float-diagram { border: 1px solid var(--rule); padding: clamp(1rem, 3vw, 2rem); background: var(--paper); }
.float-diagram svg { width: 100%; height: auto; }
details { border-bottom: 1px solid var(--rule); }
details:first-child { border-top: 1px solid var(--rule); }
details summary { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; min-height: 44px; padding: 1.15rem 0; cursor: pointer; list-style: none; font-family: var(--display); font-size: 1.38rem; line-height: 1.25; -webkit-tap-highlight-color: transparent; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: ""; flex: none; width: 11px; height: 11px; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; color: var(--muted); transition: transform .4s var(--ease); align-self: center; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 1.3rem; color: var(--ink-2); max-width: 62ch; }

/* Ticket */
.ticket-maker { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (max-width: 860px) { .ticket-maker { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1.4rem; }
.field label { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.field input, .field select { font-family: var(--display); font-size: 1.35rem; padding: .45rem 0; min-height: 48px; border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0; background: transparent; color: var(--ink); -webkit-appearance: none; appearance: none; }
.field select { background: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%) calc(100% - 6px) 55% / 6px 6px no-repeat, linear-gradient(-45deg, transparent 50%, var(--ink-2) 50%) 100% 55% / 6px 6px no-repeat; padding-right: 1.5rem; }
.field input:focus, .field select:focus { border-bottom-color: var(--ink); }
.ticket { position: relative; display: grid; grid-template-columns: 1fr 104px; background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 30px 60px -30px rgba(28, 24, 21, .45); }
.ticket-main { position: relative; padding: 2.1rem 2.3rem; border-right: 1px dashed var(--rule-strong); min-width: 0; }
.ticket-main::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(168, 138, 82, .45); pointer-events: none; }
.ticket-stub { display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 1.6rem .8rem; background: var(--oxblood); color: #f3e9dc; text-align: center; }
.ticket-stub .no { writing-mode: vertical-rl; font-family: var(--display); font-size: 1.1rem; letter-spacing: .2em; font-variant-numeric: lining-nums; }
.ticket .t-pre { font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); }
.ticket h4 { margin: .25rem 0 .1rem; font-family: var(--display); font-size: 1.95rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; line-height: 1; }
.ticket .t-sub { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--ink-2); line-height: 1.2; }
.ticket .t-name { margin-top: 1rem; padding-bottom: .3rem; border-bottom: 1px solid var(--rule); font-family: var(--display); font-size: 1.7rem; font-style: italic; overflow-wrap: anywhere; }
.ticket .t-row { display: flex; flex-wrap: wrap; gap: .9rem 2rem; margin-top: 1.3rem; }
.ticket .t-row div { font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.ticket .t-row b { display: block; margin-top: .15rem; font-family: var(--display); font-size: 1.15rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); }
.barcode { width: 60px; height: 52px; opacity: .8; background: repeating-linear-gradient(90deg, #f3e9dc 0 1px, transparent 1px 3px, #f3e9dc 3px 5px, transparent 5px 6px, #f3e9dc 6px 7px, transparent 7px 10px); }
@media (max-width: 480px) {
  .ticket { grid-template-columns: 1fr 64px; }
  .ticket-main { padding: 1.6rem 1.4rem; }
  .ticket h4 { font-size: 1.55rem; letter-spacing: .12em; }
  .ticket-stub { padding: 1.2rem .4rem; }
  .ticket-stub .no { font-size: .95rem; }
  .barcode { width: 40px; }
}

/* ---------- Shop ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(2.75rem, 4vw, 3.75rem) clamp(1.5rem, 3vw, 2.5rem); }
.product { display: flex; flex-direction: column; }
.product .ph { aspect-ratio: 1; display: grid; place-items: center; background: var(--ground-2); overflow: hidden; }
.product .ph img { width: 58%; max-height: 74%; object-fit: contain; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 22px 40px -22px rgba(28, 24, 21, .5); transition: transform 1s var(--ease); }
.product:hover .ph img { transform: scale(1.03); }
.product .body { display: flex; flex-direction: column; gap: .35rem; flex: 1; padding-top: 1.25rem; }
.product h3 { margin: 0; font-size: 1.35rem; }
.product p { margin: 0; flex: 1; font-size: .86rem; color: var(--ink-2); }
.product .price { margin-top: .6rem; font-size: .76rem; letter-spacing: .04em; color: var(--ink-2); }
.product .link-arrow { margin-top: .5rem; align-self: flex-start; }

/* ---------- Quiz ---------- */
.quiz-q { margin: 0 0 2rem; max-width: 36ch; }
.quiz-q span { display: block; margin-bottom: .6rem; font-family: var(--sans); font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.quiz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.5rem); align-items: stretch; max-width: 980px; }
.quiz-opt { display: grid; grid-template-rows: 1fr auto; align-items: end; width: 100%; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; transition: opacity .5s var(--ease); -webkit-tap-highlight-color: transparent; }
.quiz-opt .frame { --u: .7px; transition: transform .7s var(--ease); }
.quiz-opt:hover:not(:disabled) .frame { transform: translateY(-4px); }
.quiz-opt .tag { display: block; align-self: start; margin-top: .9rem; font-family: var(--display); font-style: italic; font-size: 1.05rem; line-height: 1.25; color: var(--ink); }
.quiz-opt .verdict { display: block; margin-top: .3rem; font-family: var(--sans); font-style: normal; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--oxblood); }
.quiz-opt:disabled { cursor: default; }
.quiz-opt.dim { opacity: .3; }
@media (max-width: 620px) { .quiz-grid { gap: .8rem; } .quiz-opt .frame { --u: .4px; } .quiz-opt .tag { font-size: .88rem; } }

/* ---------- Support ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule-strong); }
.tier { display: flex; flex-direction: column; gap: .5rem; padding: 2rem 1.8rem 2.2rem; border-left: 1px solid var(--rule); }
.tier:first-child { padding-left: 0; border-left: 0; }
.tier:last-child { padding-right: 0; }
.tier .amt { font-family: var(--display); font-weight: 300; font-size: 3rem; line-height: 1; font-variant-numeric: lining-nums; }
.tier.feature .amt { color: var(--oxblood); }
.tier h3 { margin: 0; font-style: italic; }
.tier ul { flex: 1; list-style: none; padding: 0; margin: .5rem 0 1.5rem; font-size: .88rem; color: var(--ink-2); }
.tier li { padding: .45rem 0; border-bottom: 1px solid var(--rule); }
.tier .btn { align-self: flex-start; }
@media (max-width: 1040px) { .tiers { grid-template-columns: 1fr 1fr; } .tier:nth-child(3) { padding-left: 0; border-left: 0; } .tier:nth-child(2) { padding-right: 0; } .tier { border-bottom: 1px solid var(--rule); } }
@media (max-width: 600px) { .tiers { grid-template-columns: 1fr; } .tier { padding: 1.8rem 0 2rem !important; border-left: 0 !important; } .tier .btn { align-self: stretch; } }
.donor-wall { columns: 3 220px; column-gap: 3rem; font-family: var(--display); font-size: 1.2rem; color: var(--ink-2); }
.donor-wall p { margin: 0 0 .45rem; break-inside: avoid; }
.donor-wall b { display: block; margin: 1.6rem 0 .6rem; font-family: var(--sans); font-size: .6rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); break-after: avoid; }
.donor-wall b:first-child { margin-top: 0; }

/* ---------- Socials ---------- */
.socials { display: flex; flex-wrap: wrap; gap: .4rem 1.8rem; margin-top: 1.2rem; }
.socials a { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; text-decoration: none; font-size: .66rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.socials svg { width: 16px; height: 16px; flex: none; }
.socials span { border-bottom: 1px solid transparent; transition: border-color .2s; }
.socials a:hover span { border-bottom-color: currentColor; }

/* Prominent follow cards */
.soc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; max-width: 34rem; }
.soc-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; min-height: 72px; padding: 1rem 1.15rem; border: 1px solid var(--rule-strong); background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .25s, background .25s, color .25s, transform .5s var(--ease); -webkit-tap-highlight-color: transparent; }
.soc-card svg { width: 26px; height: 26px; }
.soc-card span { display: flex; flex-direction: column; min-width: 0; font-family: var(--display); font-size: 1.25rem; font-style: italic; line-height: 1.1; overflow-wrap: anywhere; }
.soc-card small { font-family: var(--sans); font-style: normal; font-size: .6rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; transition: color .25s; }
.soc-card i { font-style: normal; font-size: .6rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding: .5rem .7rem; border: 1px solid currentColor; opacity: .8; }
.soc-card:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.soc-card:hover small { color: rgba(251, 250, 247, .6); }
.soc-card:active { transform: translateY(1px); }
.soc-lg { max-width: none; grid-template-columns: 1fr; gap: 1rem; }
.soc-lg .soc-card { min-height: 104px; padding: 1.4rem 1.6rem; gap: 1.3rem; }
.soc-lg .soc-card svg { width: 34px; height: 34px; }
.soc-lg .soc-card span { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.soc-dark .soc-card { background: transparent; border-color: rgba(255, 255, 255, .2); color: #eee5da; }
.soc-dark .soc-card small { color: #8d847a; }
.soc-dark .soc-card:hover { background: #f3ece2; border-color: #f3ece2; color: var(--ink); }
.foot-brand .soc-cards { margin-top: 1.8rem; max-width: 30rem; }
.site-footer a.soc-card { color: #eee5da; }
.site-footer a.soc-card:hover { color: var(--ink); }
@media (max-width: 1100px) and (min-width: 861px) { .foot-brand .soc-cards { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .soc-cards:not(.soc-lg) { grid-template-columns: 1fr; }
}
.social-band { border-bottom: 1px solid var(--rule); }
.social-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.social-inner h2 { max-width: 16ch; }
.social-inner .lede { margin-bottom: 0; }
@media (max-width: 860px) { .social-inner { grid-template-columns: 1fr; } }
.hero-follow { margin: 2rem 0 0; font-size: .8rem; color: var(--ink-2); }
.hero-follow a { color: var(--ink); font-weight: 500; }
/* Header icon links */
.head-social { display: flex; align-items: center; gap: .1rem; }
.head-social a { display: grid; place-items: center; width: 40px; height: 44px; color: var(--ink-2); transition: color .2s; }
.head-social a:hover { color: var(--oxblood); }
.head-social svg { width: 19px; height: 19px; }
.head-social-d { margin-right: -.9rem; padding-left: 1.6rem; border-left: 1px solid var(--rule); }
.head-social-m { display: none; }
.lb-follow { margin: -.6rem 0 0; }
.lb-follow .handle-s { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a49a90; padding: clamp(4rem, 7vw, 5.5rem) 0 calc(2.2rem + env(safe-area-inset-bottom)); font-size: .86rem; }
.site-footer a { color: #ddd3c7; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.foot-brand p { max-width: 32ch; margin: 1.4rem 0 0; }
.foot-wordmark { width: 190px; opacity: .94; }
.foot-grid h4 { margin: 0 0 1.2rem; font-family: var(--sans); font-size: .6rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: #7a7168; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li a { display: inline-block; padding: .3rem 0; }
.site-footer .socials a { color: #ddd3c7; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem 2rem; margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .72rem; color: #7a7168; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.5rem; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-wordmark { width: 170px; } }

/* ---------- Audio guide ---------- */
.guide-pill { position: fixed; right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom)); z-index: 120; display: flex; align-items: center; gap: .8rem; max-width: calc(100vw - 2.5rem); padding: .6rem .6rem .6rem 1rem; background: var(--paper); color: var(--ink); border: 1px solid var(--rule); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .45); font-size: .78rem; visibility: hidden; opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.guide-pill.on { visibility: visible; opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s; }
#guide-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--display); font-style: italic; font-size: 1rem; }
.gp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--oxblood); flex: none; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.guide-pill button { flex: none; min-height: 34px; padding: 0 .9rem; background: var(--ink); border: 0; color: var(--paper); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .banner, .site-footer, .no-print, .guide-pill, .skip { display: none !important; }
  .ticket { box-shadow: none; }
  .reveal { opacity: 1; transform: none; }
}
.brand { min-height: 44px; }

/* Social placement overrides (kept last so they win over base rules) */
@media (max-width: 1020px) {
  .head-social-d { display: none; }
  .head-social-m { display: flex; margin-left: auto; margin-right: .25rem; }
  .head-social-m a { width: 38px; }
}
.foot-brand .soc-cards { grid-template-columns: 1fr; max-width: 20rem; gap: .6rem; }
.foot-brand .soc-card { min-height: 64px; padding: .85rem 1rem; }
.foot-brand .soc-card i { display: none; }
@media (max-width: 860px) { .foot-brand .soc-cards { grid-template-columns: 1fr 1fr; max-width: 34rem; } }
@media (max-width: 440px) {
  .soc-card i { display: none; }
  .foot-brand .soc-cards { grid-template-columns: 1fr; }
  .soc-lg .soc-card { min-height: 88px; padding: 1.1rem 1.25rem; }
}
.soc-card span { overflow-wrap: normal; white-space: nowrap; }
