/* Bristol Archive — gallery design.
   Public pages use the dark theme (photos glow on near-black); the admin uses the light theme. */

@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  /* light (admin) */
  --paper: #f7f4ef; --card: #ffffff; --ink: #1b1916; --muted: #6b645a; --line: #e6dfd4; --stage: #ece7df;
  --orange: #e2551b; --teal: #1d7a74; --blue: #2b5ea8; --indigo: #4b4ba3; --danger: #b3261e;
  --accent: var(--orange);
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1520px;
}
.dark {
  --paper: #0d0c0a; --card: #161411; --ink: #f2ece3; --muted: #9d9488; --line: rgba(242, 236, 227, .12);
  --accent: #ff6b2c; --stage: #000;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p a, .prose a, dd a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.01em; margin: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.kicker { font: 600 11px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0; }
.kicker a:hover { color: var(--ink); }
.lede { color: var(--muted); font-size: 18px; margin: 0; }
.empty { color: var(--muted); padding: 48px 0; font-size: 18px; }
.muted { color: var(--muted); }
.section { font-size: clamp(34px, 4vw, 52px); }
.arrow { display: inline-block; transition: transform .2s; }
a:hover .arrow { transform: translateX(4px); }

/* ---------- header ---------- */
.masthead { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.masthead.over { position: fixed; left: 0; right: 0; background: linear-gradient(rgba(0,0,0,.55), transparent); border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; transition: background .3s, border-color .3s; }
.masthead.over.scrolled { background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: var(--line); color: var(--ink); }
.bar { display: flex; align-items: center; gap: 36px; height: 84px; }
.brand { font: 400 34px/1 var(--serif); letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); display: inline-block; }
.brand em { font-style: italic; }
.nav { display: flex; gap: 30px; font-size: 16px; font-weight: 500; margin-left: auto; }
.nav a { white-space: nowrap; opacity: .72; transition: opacity .2s; padding: 6px 0; position: relative; }
.nav a:hover, .nav a.on { opacity: 1; }
.nav a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; }
.search { display: flex; }
.search input { font: inherit; font-size: 15px; width: 260px; padding: 11px 16px 11px 40px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 70%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239d9488' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 3.5 3.5'/%3E%3C/svg%3E") no-repeat 13px 50%; color: inherit; transition: width .25s, border-color .2s; }
.masthead.over:not(.scrolled) .search input { border-color: rgba(255,255,255,.35); background-color: rgba(0,0,0,.25); }
.search input::placeholder { color: inherit; opacity: .6; }
.search input:focus { width: 320px; outline: none; border-color: var(--accent); }
@media (max-width: 900px) {
  .bar { height: auto; flex-wrap: wrap; gap: 10px 16px; padding-top: 12px; padding-bottom: 10px; }
  .nav { order: 3; width: 100%; overflow-x: auto; gap: 18px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav { margin-left: 0; font-size: 15px; }
  .search { flex: 1; min-width: 0; justify-content: flex-end; }
  .brand-stack small { display: none; }
  .search input, .search input:focus { width: 100%; max-width: 220px; }
  .brand { font-size: 23px; }
}

/* ---------- hero ---------- */
.hero { position: relative; height: min(64svh, 640px); min-height: 520px; overflow: hidden; background: var(--stage); color: #fff; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: hero-in 1.6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes hero-in { from { transform: scale(1.06); opacity: .4; } to { transform: none; opacity: 1; } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, transparent 30%, transparent 60%, rgba(0,0,0,.45) 100%), linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.25) 45%, transparent 70%); }
.hero-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding-bottom: clamp(40px, 7vh, 80px); }
.hero-text .kicker { color: rgba(255,255,255,.8); }
.hero h1 { font-size: clamp(56px, 7.5vw, 124px); margin: 0 0 14px; max-width: 14ch; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero h1 em { font-style: italic; }
.hero-intro { font-size: clamp(18px, 1.7vw, 23px); color: rgba(255,255,255,.88); max-width: 44ch; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn.light { background: #fff; color: #111; border-color: #fff; }
.btn.glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn.glass:hover { background: rgba(255,255,255,.22); }
.hero-credit { position: absolute; z-index: 1; right: var(--gutter); bottom: clamp(28px, 6vh, 72px); font-size: 13px; color: rgba(255,255,255,.78); border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px; }
.hero-credit:hover { color: #fff; }
.hero-plain { height: auto; min-height: 60svh; background: radial-gradient(120% 90% at 20% 0%, #3a2418 0%, #1b1916 70%); }
.hero-plain .hero-text { position: relative; padding-top: 180px; }
.hero::after { pointer-events: none; }
.statbar { padding: clamp(36px, 5vw, 64px) 0; margin-bottom: clamp(16px, 3vw, 40px); border-bottom: 1px solid var(--line); justify-content: space-between; }
@media (max-width: 700px) { .hero-credit { left: var(--gutter); right: auto; bottom: 14px; } .hero-text { padding-bottom: 56px; } }
.hero-meta { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; font-size: 15px; color: rgba(255,255,255,.85); }
.hero-meta a { font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.scroll-cue { position: absolute; z-index: 1; right: var(--gutter); bottom: clamp(28px, 6vh, 72px); font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.75); writing-mode: vertical-rl; }


/* ---------- intro ---------- */
.intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 120px); padding: clamp(64px, 10vw, 140px) 0 clamp(48px, 7vw, 100px); align-items: end; }
.intro h2 { font-size: clamp(40px, 5.5vw, 84px); }
.intro h2 em { color: var(--accent); }
.intro p { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 46ch; }
.stats { display: flex; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap; margin: 0; }
.stats div { display: flex; flex-direction: column; }
.stats dt { order: 2; font-size: 13px; color: var(--muted); }
.stats dd { order: 1; margin: 0; font: 400 clamp(40px, 4vw, 56px)/1 var(--serif); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* ---------- collections ---------- */
.collections { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.collection { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--card); color: #fff; isolation: isolate; }
.collection img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); z-index: -1; }
.collection::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.82)); z-index: -1; }
.collection:hover img { transform: scale(1.05); }
.collection-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.collection-text .count { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.collection-text strong { display: block; font: 400 clamp(34px, 3.4vw, 50px)/1 var(--serif); margin: 10px 0 8px; }
.collection-text span.blurb { display: block; font-size: 14px; opacity: .82; max-width: 34ch; }
@media (max-width: 860px) { .collections { grid-template-columns: 1fr; } .collection { aspect-ratio: 16 / 11; } }
.busband { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 16px; padding: 26px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color .2s; }
.busband:hover { border-color: var(--accent); }
.busband strong { font: 400 34px/1 var(--serif); }
.busband .routes-preview { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- shelves (horizontal rows) ---------- */
.shelf { padding-top: clamp(56px, 8vw, 110px); }
.shelf-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.shelf-head h2 { font-size: clamp(34px, 4vw, 56px); }
.shelf-head a { font-size: 14px; font-weight: 600; white-space: nowrap; }
.shelf-row { list-style: none; margin: 0; padding: 0 var(--gutter) 8px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: var(--gutter); scrollbar-width: thin; }
.shelf-row li { flex: none; scroll-snap-align: start; }
.shelf-row a { display: block; }
.shelf-row img { height: clamp(220px, 28vw, 360px); width: auto; border-radius: 10px; background: var(--card); transition: opacity .3s; }
.shelf-row a:hover img { opacity: .85; }
.shelf-row .cap { display: block; font-size: 13px; color: var(--muted); margin-top: 10px; max-width: 40ch; }
.shelf-row .cap b { color: var(--ink); font-weight: 500; }

/* ---------- masonry grid ---------- */
.masonry { list-style: none; padding: 0; margin: 0; columns: 3 340px; column-gap: 18px; }
.masonry li { break-inside: avoid; margin-bottom: 26px; }
.tile { display: block; }
.tile .frame { position: relative; border-radius: 10px; overflow: hidden; background: var(--card); }
.tile img { width: 100%; transition: transform .9s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.tile:hover img { transform: scale(1.03); }
.tile .cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 14px; }
.tile .cap b { font-weight: 500; }
.tile .cap span { color: var(--muted); white-space: nowrap; }
/* older class names still used by the admin */
.grid { list-style: none; padding: 0; margin: 0; columns: 3 300px; column-gap: 18px; }
.grid > li { break-inside: avoid; margin-bottom: 22px; }
.card { display: block; }
.card img { width: 100%; border-radius: 10px; }
.card-text { display: flex; flex-direction: column; gap: 2px; padding-top: 10px; font-size: 14px; }
.card-title { font-weight: 500; }

/* ---------- page heads ---------- */
.page-head { padding: clamp(48px, 8vw, 110px) 0 clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.page-head h1 { font-size: clamp(56px, 8vw, 128px); margin-top: 12px; }
.page-head .lede { max-width: 52ch; margin-top: 18px; font-size: 19px; }
.page-head .count { font: 400 clamp(28px, 3vw, 40px)/1 var(--serif); color: var(--muted); }
@media (max-width: 700px) { .page-head { grid-template-columns: 1fr; } }

.pager { display: flex; gap: 24px; justify-content: center; align-items: center; margin: 56px 0 24px; color: var(--muted); font-size: 15px; }
.pager a { color: var(--ink); font-weight: 600; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; }
.pager a:hover { border-color: var(--accent); }

/* ---------- photo record ---------- */
.stage { position: relative; background: var(--stage); padding: clamp(16px, 3vw, 40px) var(--gutter); display: flex; justify-content: center; align-items: center; min-height: 60vh; }
.stage img { max-height: calc(100svh - 150px); width: auto; max-width: 100%; border-radius: 6px; box-shadow: 0 30px 80px rgba(40,30,20,.22); }
.stage-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: color-mix(in srgb, var(--card) 85%, transparent); border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(0,0,0,.08); backdrop-filter: blur(8px); font-size: 22px; transition: background .2s; }
.stage-nav:hover { background: var(--card); border-color: var(--ink); }
.stage-nav.prev { left: max(12px, calc(var(--gutter) / 2)); }
.stage-nav.next { right: max(12px, calc(var(--gutter) / 2)); }
.stage-hint { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--muted); }
@media (max-width: 700px) { .stage { min-height: 0; padding: 0; } .stage img { border-radius: 0; box-shadow: none; max-height: 75svh; } .stage-nav { width: 40px; height: 40px; font-size: 18px; } .stage-hint { display: none; } }
.record { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 110px); padding: clamp(40px, 6vw, 80px) 0 0; }
.record h1 { font-size: clamp(48px, 6vw, 96px); margin: 14px 0 22px; }
.record .caption { font: 400 clamp(21px, 2vw, 27px)/1.4 var(--serif); color: color-mix(in srgb, var(--ink) 85%, transparent); max-width: 34em; margin: 0; }
.facts { margin: 6px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 600 11px/1.9 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-size: 16px; }
.record-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 860px) { .record { grid-template-columns: 1fr; } }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--sans); background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 999px; padding: 13px 20px; cursor: pointer; transition: transform .15s, background .2s, color .2s; text-decoration: none; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost, .btn.line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover, .btn.line:hover { border-color: var(--ink); }
.btn.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.link { background: none; border: 0; font: inherit; color: var(--muted); cursor: pointer; padding: 0; text-decoration: underline; }
.link.danger { color: var(--danger); }
.route { display: inline-grid; place-items: center; min-width: 34px; height: 28px; padding: 0 8px; border-radius: 7px; background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; }
.route.big { min-width: 56px; height: 48px; font-size: 20px; border-radius: 10px; }

/* ---------- search ---------- */
.bigsearch { display: flex; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin: 8px 0 40px; max-width: 900px; }
.bigsearch input { flex: 1; font: 400 clamp(30px, 4vw, 52px)/1.1 var(--serif); background: none; border: 0; color: var(--ink); padding: 6px 0; min-width: 0; }
.bigsearch input:focus { outline: none; }
.bigsearch:focus-within { border-color: var(--accent); }

/* ---------- artists ---------- */
.people-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 18px; }
.person img, .person .noimg { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--card); transition: opacity .3s; display: block; }
.person:hover img { opacity: .85; }
.person b { display: block; font: 400 28px/1.1 var(--serif); margin-top: 14px; }
.person span { color: var(--muted); font-size: 14px; }
.artist-head { display: flex; gap: 28px; align-items: center; }
.avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; }

/* ---------- buses ---------- */
.areas { list-style: none; padding: 0; margin: 0; columns: 2 340px; column-gap: 48px; }
.areas li { break-inside: avoid; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.areas strong { font: 400 24px/1.1 var(--serif); }
.routes { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.busroutes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.busroutes li { display: flex; gap: 18px; padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); scroll-margin-top: 100px; }
.busroutes li:target { border-color: var(--accent); }
.busroutes p { margin: 3px 0; }

/* ---------- prose ---------- */
.prose { max-width: 680px; font-size: 18px; line-height: 1.7; }
.prose h1 { font-size: clamp(56px, 8vw, 112px); margin: clamp(48px, 8vw, 100px) 0 32px; }
.prose h2 { font-size: 36px; margin: 48px 0 12px; }
.prose h3 { font-size: 26px; margin: 32px 0 6px; }
.prose p { margin: 0 0 18px; color: color-mix(in srgb, var(--ink) 88%, transparent); }

/* ---------- footer ---------- */
.foot { margin-top: clamp(80px, 12vw, 160px); border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 90px) 0 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.foot .wordmark { font: 400 clamp(44px, 5vw, 72px)/1 var(--serif); margin: 0 0 14px; }
.foot .wordmark em { color: var(--accent); }
.foot p { color: var(--muted); margin: 0; max-width: 36ch; }
.foot h4 { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 6px 0 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.foot ul a { opacity: .85; } .foot ul a:hover { opacity: 1; color: var(--accent); }
.fineprint { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- messages, holding page, private banner ---------- */
.flash { padding: 13px 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); margin: 16px 0; }
.flash.error { border-color: var(--danger); color: var(--danger); }
.flash.ok { border-color: var(--teal); }
.dark .flash.error { color: #ff8a80; }
.private-banner { background: var(--accent); color: #fff; text-align: center; padding: 9px 16px; font-size: 14px; font-weight: 600; position: relative; z-index: 30; }
.private-banner a { color: #fff; text-decoration: underline; }
.holding { min-height: 100svh; display: grid; place-items: center; padding: 24px; text-align: center; }
.holding-box h1 { font-size: clamp(56px, 9vw, 120px); margin: 28px 0 16px; }
.holding-box .brand { justify-content: center; }

/* ---------- forms + admin bits shared with the light theme ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 20px 0; }
.narrow { max-width: 420px; margin: 56px auto; }
.form label, .panel label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.form input:not([type=checkbox]), .form select, .form textarea, .panel input:not([type=checkbox]) { font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.form .check, .danger-zone .check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 16px; }
.code { font-family: ui-monospace, Menlo, monospace; font-size: 13px; width: 100%; }
.hint { color: var(--muted); font-size: 14px; }
.preview { max-width: 320px; border-radius: 10px; margin-bottom: 14px; }
.tiny { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; }
.table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: middle; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.danger-zone { border: 1px solid var(--danger); border-radius: var(--radius); padding: 16px 20px; margin: 32px 0; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: space-between; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.narrow h1 { font-size: 40px; margin-bottom: 20px; }

/* ---------- reference layout: brand tagline, accent buttons, collection cards, latest cards ---------- */
.brand-stack { display: flex; flex-direction: column; gap: 5px; }
.brand-stack small { font: italic 400 15px/1 var(--serif); opacity: .85; letter-spacing: 0; }
.ico { width: 30px; height: 30px; flex: none; }
.ico-s { width: 1em; height: 1em; flex: none; vertical-align: -.12em; }
.btn .ico-s { width: 17px; height: 17px; }
.btn.accent { background: var(--accent); border-color: var(--accent); color: #fff; padding: 15px 24px; font-size: 16px; }
.btn.accent:hover { background: #ff7d45; }
.hero-actions .btn.glass { padding: 15px 24px; font-size: 16px; }

.ccards { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 2; }
.ccard { position: relative; display: block; aspect-ratio: 16 / 9.5; border-radius: 16px; overflow: hidden; background: #222; color: #fff; isolation: isolate; box-shadow: 0 18px 40px rgba(40,30,20,.18); }
.ccard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.ccard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.85)); }
.ccard:hover img { transform: scale(1.05); }
.ccard-text { position: absolute; left: 24px; right: 72px; bottom: 22px; display: flex; flex-direction: column; gap: 6px; }
.ccard-title { display: flex; align-items: center; gap: 12px; }
.ccard-title strong { font: 400 clamp(28px, 2.4vw, 36px)/1 var(--serif); }
.ccard-blurb { font-size: 15px; opacity: .88; padding-left: 42px; }
.ccard-count { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .7; padding-left: 42px; margin-top: 4px; }
.circle { position: absolute; right: 22px; bottom: 22px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; transition: background .2s, color .2s; }
.circle .ico-s { width: 18px; height: 18px; }
.ccard:hover .circle, .busband:hover .circle { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 900px) { .ccards { grid-template-columns: 1fr; } }

.block { padding-top: clamp(48px, 6vw, 80px); }
.block-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.block-head a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; white-space: nowrap; }
h2.underlined { font: 700 clamp(26px, 2.6vw, 34px)/1.1 var(--sans); letter-spacing: -.01em; position: relative; padding-bottom: 12px; }
h2.underlined::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 4px; border-radius: 2px; background: var(--accent); }

.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cards li { min-width: 0; }
.pcard { display: flex; flex-direction: column; height: 100%; border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(40,30,20,.06); transition: transform .2s, border-color .2s, box-shadow .2s; }
.pcard:hover { box-shadow: 0 14px 30px rgba(40,30,20,.12); }
.pcard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.pcard-img { aspect-ratio: 3 / 2; overflow: hidden; background: #000; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; }
.pcard-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.pcard-body b { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.pcard-meta span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1200px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 12px; } .pcard-meta { flex-direction: column; } }

.busband { position: relative; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); padding: 24px 84px 24px 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.busband .circle { top: 50%; transform: translateY(-50%); bottom: auto; }
.brand { align-items: flex-start; }
.brand .dot { margin-top: 13px; }
.ccard::after { background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(0,0,0,.88)); }
@media (max-width: 900px) { .brand .dot { margin-top: 9px; } }

/* light theme details */
.light .busband { box-shadow: 0 4px 14px rgba(40,30,20,.05); }
.light .busband .circle { color: var(--ink); }
.light .shelf-row img, .light .tile .frame { box-shadow: 0 6px 18px rgba(40,30,20,.10); }
.light .hero-plain { color: #fff; }

/* ---------- page banners (same family as the home hero) ---------- */
.banner { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; background: #1b1916; color: #fff; isolation: isolate; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: hero-in 1.4s cubic-bezier(.2,.7,.2,1) both; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.62) 100%), linear-gradient(90deg, rgba(0,0,0,.55), transparent 65%); }
.banner-plain { background: radial-gradient(120% 120% at 15% 0%, #3a2418 0%, #1b1916 70%); }
.banner-text { width: 100%; padding-top: 120px; padding-bottom: 44px; }
.banner .kicker { color: rgba(255,255,255,.78); }
.banner h1 { display: flex; align-items: center; gap: 16px; font-size: clamp(48px, 6vw, 92px); margin: 10px 0 12px; text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.banner h1 .ico { width: clamp(34px, 3.4vw, 50px); height: clamp(34px, 3.4vw, 50px); }
.banner-lede { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.9); max-width: 52ch; margin: 0 0 18px; }
.chip { display: inline-block; font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.herosearch { display: flex; align-items: center; gap: 10px; max-width: 640px; margin-top: 8px; padding: 6px 6px 6px 18px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.herosearch .ico-s { width: 20px; height: 20px; color: var(--muted); }
.herosearch input { flex: 1; min-width: 0; border: 0; background: none; font: 400 17px/1.2 var(--sans); color: var(--ink); padding: 10px 4px; }
.herosearch input:focus { outline: none; }
@media (max-width: 700px) { .banner { min-height: 340px; } .banner-text { padding-top: 140px; } }

.toolbar { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: clamp(36px, 5vw, 56px) 0 24px; }
.toolbar.spaced { margin-top: clamp(56px, 7vw, 88px); }
.toolbar > a { font-weight: 600; font-size: 15px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(40,30,20,.05); }
.seg a { padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); }
.seg a.on { background: var(--ink); color: var(--paper); }

.cards.wide { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cards.wide .pcard-body b { font-size: 16px; }
.cards.wide .pcard-meta { font-size: 13px; }
@media (max-width: 1100px) { .cards.wide { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .cards.wide { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.person { display: block; border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(40,30,20,.06); transition: transform .2s, box-shadow .2s; }
.person:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(40,30,20,.12); }
.person img, .person .noimg { border-radius: 0; aspect-ratio: 4 / 3; }
.person-body { display: block; padding: 14px 16px 16px; }
.person-body b { margin-top: 0; }
.artist-intro { display: flex; gap: 28px; align-items: flex-start; margin-top: 40px; }
.artist-intro:empty { display: none; }

.factcard { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 6px 22px; box-shadow: 0 4px 14px rgba(40,30,20,.05); align-self: start; }
.factcard div:last-child { border-bottom: 0; }
.facts.factcard { border-top: 1px solid var(--line); }
.page-body { margin-top: 48px; }
.areas li { padding: 16px 18px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }

/* ---------- editorial home ---------- */
.ed-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(24px, 4vw, 48px); }
.ed-copy .kicker { display: inline-flex; align-items: center; gap: 10px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.ed-copy h1 { font-size: clamp(64px, 8.5vw, 144px); line-height: .92; margin: 22px 0 26px; letter-spacing: -.02em; }
.ed-copy h1 em { color: var(--accent); }
.ed-intro { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); max-width: 32ch; margin: 0 0 32px; line-height: 1.5; }
.btn.line .ico-s { width: 16px; height: 16px; }
.ed-stats { display: flex; gap: clamp(18px, 3vw, 40px); flex-wrap: wrap; margin: 44px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.ed-stats div { display: flex; flex-direction: column; }
.ed-stats dd { margin: 0; font: 400 clamp(34px, 3.2vw, 48px)/1 var(--serif); }
.ed-stats dt { font-size: 13px; color: var(--muted); margin-top: 6px; }

.ed-collage { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(440px, 46vw, 680px); }
.ed-collage > * { position: relative; display: block; overflow: hidden; border-radius: 18px; margin: 0; background: #ddd; box-shadow: 0 24px 60px rgba(40,30,20,.16); }
.ed-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); animation: hero-in 1.4s cubic-bezier(.2,.7,.2,1) both; }
.ed-collage a:hover img { transform: scale(1.05); }
.ed-collage .c0 { grid-row: 1 / 3; }
.ed-collage .c1 img { animation-delay: .15s; }
.ed-collage .c2 img { animation-delay: .3s; }
.collage-1 { grid-template-columns: 1fr; } .collage-1 .c0 { grid-row: 1 / 3; }
.tag-float { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (max-width: 900px) { .ed-hero { grid-template-columns: 1fr; } .ed-collage { height: 420px; } }
@media (max-width: 520px) { .ed-collage { grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr; height: 380px; } .ed-collage .c0 { grid-row: 1; grid-column: 1 / 3; } }

.ed-section { padding-top: clamp(56px, 7vw, 96px); }
.bento { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: repeat(2, minmax(220px, 1fr)) auto; gap: 18px; }
.bento .ccard { aspect-ratio: auto; height: 100%; min-height: 240px; }
.bento .b1 { grid-row: 1 / 3; min-height: 500px; }
.bento .b1 .ccard-title strong { font-size: clamp(36px, 3.4vw, 54px); }
.bento-bus { grid-column: 1 / 3; position: relative; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 24px 84px 24px 26px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(40,30,20,.05); }
.bento-bus strong { font: 400 32px/1 var(--serif); }
.bento-bus .circle { top: 50%; transform: translateY(-50%); bottom: auto; color: var(--ink); }
.bento-bus:hover .circle { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; grid-template-rows: none; } .bento .b1 { grid-row: auto; min-height: 340px; } .bento-bus { grid-column: auto; } }

.spotlight { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding-top: clamp(64px, 9vw, 130px); }
.spotlight.flip .spot-img { order: 2; }
.spot-img { display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 70px rgba(40,30,20,.16); }
.spot-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.spot-img:hover img { transform: scale(1.04); }
.spot-copy .kicker { display: inline-flex; align-items: center; gap: 8px; }
.spot-copy .kicker .ico { width: 18px; height: 18px; color: var(--accent); }
.spot-copy h2 { font-size: clamp(48px, 5.5vw, 84px); margin: 14px 0 16px; }
.spot-copy h2 em { color: var(--accent); }
.spot-blurb { font-size: 19px; color: var(--muted); max-width: 36ch; margin: 0 0 26px; }
.spot-thumbs { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 460px; }
.spot-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; transition: opacity .2s; }
.spot-thumbs a:hover img { opacity: .8; }
@media (max-width: 860px) { .spotlight { grid-template-columns: 1fr; } .spotlight.flip .spot-img { order: 0; } }

.ed-quote { text-align: center; padding-top: clamp(80px, 11vw, 160px); max-width: 1100px; }
.ed-quote blockquote { font: 400 clamp(34px, 4.4vw, 64px)/1.15 var(--serif); margin: 18px auto 36px; letter-spacing: -.01em; }
.ed-quote blockquote em { color: var(--accent); }
.hero-actions.centered { justify-content: center; }

/* ---------- natural 3:2 photos everywhere (no zoomed crops) ---------- */
.ed-collage { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; gap: 12px; align-self: center; }
.ed-collage > * { aspect-ratio: 3 / 2; }
.ed-collage .c0 { grid-row: auto; grid-column: 1 / 3; }
.collage-1 .c0, .collage-2 .c0 { grid-column: 1 / 3; }
.collage-2 .c1 { grid-column: 1 / 3; }
@media (max-width: 520px) { .ed-collage { grid-template-rows: auto auto; height: auto; } .ed-collage .c0 { grid-row: auto; } }
.ed-hero { align-items: center; }

.bento { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; }
.bento .ccard, .bento .b1 { grid-row: auto; aspect-ratio: 3 / 2; height: auto; min-height: 0; }
.bento .b1 .ccard-title strong { font-size: clamp(28px, 2.4vw, 36px); }
.bento-bus { grid-column: 1 / -1; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } }

.ccard { aspect-ratio: 3 / 2; }
.spot-img { aspect-ratio: 3 / 2; }
.spot-thumbs img { aspect-ratio: 3 / 2; }
.person img, .person .noimg { aspect-ratio: 3 / 2; }

/* wide hero and banners: show more of the photo (less zoom) */
.hero { height: auto; aspect-ratio: 2.2 / 1; max-height: 720px; min-height: 480px; }
.hero img, .banner img { object-position: center 45%; }
.banner { min-height: 0; aspect-ratio: 3 / 1; max-height: 480px; }
.banner-text { padding-top: 110px; }
@media (max-width: 900px) { .hero { aspect-ratio: auto; height: 560px; } .banner { aspect-ratio: auto; min-height: 340px; max-height: none; } }

/* ---------- hero v3: photo at natural 3:2 on the right, fading into a warm-dark text panel ---------- */
.hero2 { position: relative; background: #17130f; color: #fff; overflow: hidden; isolation: isolate; min-height: min(calc(62vw / 1.5), 760px); display: flex; flex-direction: column; justify-content: center; }
.hero2-media { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; z-index: -1; }
.hero2-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #17130f 0%, rgba(23,19,15,.85) 12%, rgba(23,19,15,.35) 30%, transparent 48%), linear-gradient(180deg, rgba(23,19,15,.55) 0%, transparent 22%, transparent 75%, rgba(23,19,15,.6) 100%); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide.on { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease-out; }
.slide.on img { transform: scale(1); }
.hero2-inner { width: 100%; padding-top: 110px; padding-bottom: 96px; }
.hero2-copy { max-width: 560px; }
.hero2-copy .kicker { color: rgba(255,255,255,.75); display: inline-flex; align-items: center; gap: 10px; }
.hero2 h1 { font-size: clamp(60px, 7.6vw, 128px); line-height: .95; margin: 18px 0 22px; letter-spacing: -.02em; }
.hero2 h1 em { color: #ff7a3d; }
.hero2-intro { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.5; color: rgba(255,255,255,.82); max-width: 34ch; margin: 0 0 32px; }
.hero2-stats { display: flex; gap: clamp(18px, 2.6vw, 36px); flex-wrap: wrap; margin: 40px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); }
.hero2-stats div { display: flex; flex-direction: column; }
.hero2-stats dd { margin: 0; font: 400 clamp(30px, 2.6vw, 42px)/1 var(--serif); }
.hero2-stats dt { font-size: 12px; color: rgba(255,255,255,.62); margin-top: 6px; }
.hero2-foot { position: absolute; right: var(--gutter); bottom: 26px; display: flex; align-items: center; gap: 18px; z-index: 2; }
.hero2-caption { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.9); padding: 8px 14px; border-radius: 999px; background: rgba(0,0,0,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero2-caption:empty { display: none; }
.dots { display: flex; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s, background .3s; }
.dot.on { width: 28px; background: #ff7a3d; }
@media (max-width: 900px) {
  .hero2 { min-height: 0; display: block; }
  .hero2-media { position: relative; width: 100%; aspect-ratio: 3 / 2; margin-top: 0; }
  .hero2-media::after { background: linear-gradient(180deg, rgba(23,19,15,.6) 0%, transparent 30%, transparent 60%, #17130f 100%); }
  .hero2-inner { padding-top: 8px; padding-bottom: 72px; }
  .hero2-foot { left: var(--gutter); right: var(--gutter); bottom: 22px; justify-content: space-between; }
  .hero2-caption { max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (prefers-reduced-motion: reduce) { .slide img { transform: none !important; } }
.hero2-media::after { z-index: 2; }
@media (max-width: 900px) {
  .masthead.over { position: sticky; background: color-mix(in srgb, var(--paper) 92%, transparent); color: var(--ink); border-bottom-color: var(--line); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
  .masthead.over:not(.scrolled) .search input { border-color: var(--line); background-color: var(--card); }
}

/* ---------- hero (reference layout): full-width photo, text on the left, header over it ---------- */
.hero3 { position: relative; height: clamp(440px, 33vw, 540px); background: #17130f; color: #fff; overflow: hidden; isolation: isolate; display: flex; align-items: center; }
.hero3-media { position: absolute; inset: 0; z-index: -1; }
.hero3-media::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(23,19,15,.88) 0%, rgba(23,19,15,.62) 32%, rgba(23,19,15,.15) 62%, rgba(23,19,15,0) 80%),
              linear-gradient(180deg, rgba(23,19,15,.6) 0%, transparent 28%, transparent 78%, rgba(23,19,15,.35) 100%); }
.hero3-media .slide img { object-position: center 55%; }
.hero3-copy { padding-top: 84px; }
.hero3 h1 { font-size: clamp(56px, 6.4vw, 104px); line-height: 1; letter-spacing: -.015em; margin: 0 0 14px; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero3 h1 em { font-style: italic; }
.hero3-intro { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: rgba(255,255,255,.92); max-width: 40ch; margin: 0 0 26px; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.btn.outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.85); padding: 15px 24px; font-size: 16px; }
.btn.outline-white:hover { background: rgba(255,255,255,.12); }
.btn.outline-white .ico-s { width: 17px; height: 17px; }
.ccards-tight { margin-top: 20px; }
@media (max-width: 900px) {
  .hero3 { height: auto; min-height: 460px; }
  .hero3-copy { padding-top: 40px; padding-bottom: 76px; }
  .hero3-media::after { background: linear-gradient(180deg, rgba(23,19,15,.35) 0%, rgba(23,19,15,.75) 100%); }
}
.hero3-copy { width: 100%; }
.hero3-copy > * { max-width: 680px; }
.hero3-media::after { background: linear-gradient(90deg, rgba(23,19,15,.92) 0%, rgba(23,19,15,.72) 30%, rgba(23,19,15,.25) 58%, rgba(23,19,15,0) 78%), linear-gradient(180deg, rgba(23,19,15,.6) 0%, transparent 28%, transparent 78%, rgba(23,19,15,.35) 100%); }
@media (max-width: 900px) { .hero3-media::after { background: linear-gradient(180deg, rgba(23,19,15,.45) 0%, rgba(23,19,15,.8) 100%); } }

/* ---------- polish pass ---------- */
.hero3-meta { margin: 22px 0 0; font-size: 13px; letter-spacing: .04em; color: rgba(255,255,255,.7); }
.block-head > div { min-width: 0; }
.block-sub { margin: 14px 0 0; color: var(--muted); font-size: 15px; max-width: 60ch; }
h2.underlined .ico { width: .9em; height: .9em; vertical-align: -.08em; color: var(--accent); margin-right: 4px; }
.pcard-img { position: relative; }
.pcard-img img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.pcard:hover .pcard-img img { transform: scale(1.06); }
.pcard-chip { position: absolute; z-index: 1; left: 10px; top: 10px; font: 600 10px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.nav a.on::after { background: var(--accent); height: 2px; }
.masthead.over:not(.scrolled) .nav a.on::after { background: #ff7a3d; }
@media (max-width: 900px) {
  .nav { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 28px; }
}
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs b { font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 30ch; }
button.btn { font-family: var(--sans); }
.btn.copied { border-color: var(--teal); color: var(--teal); }

/* ---------- logo + menu v2 ---------- */
.brand { align-items: center; gap: 12px; }
.brand .dot { display: none; }
.logo-mark { width: 44px; height: 44px; flex: none; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.18); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.brand:hover .logo-mark { transform: rotate(-4deg) scale(1.04); }
.wordmark-sm { font: 400 30px/1 var(--serif); letter-spacing: -.01em; }
.wordmark-sm em { font-style: italic; }
.brand-stack { gap: 4px; }
.brand-stack small { font: italic 400 14px/1 var(--serif); opacity: .75; }

.nav { gap: 4px; align-items: center; }
.nav > a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; opacity: 1; color: inherit; font-size: 15px; font-weight: 500; transition: background .2s, color .2s; }
.nav > a .ico { width: 18px; height: 18px; opacity: .7; }
.nav > a:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.nav > a.on { background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent); }
.nav > a.on .ico { opacity: 1; }
.nav > a.on::after { display: none; }
.masthead.over:not(.scrolled) .nav > a:hover { background: rgba(255,255,255,.14); }
.masthead.over:not(.scrolled) .nav > a.on { background: rgba(255,122,61,.22); color: #fff; }

.search { position: relative; align-items: center; }
.search .ico-s { position: absolute; left: 14px; width: 16px; height: 16px; opacity: .6; pointer-events: none; }
.search input { background-image: none !important; padding-left: 40px; padding-right: 40px; width: 230px; }
.search input:focus { width: 290px; }
.search kbd { position: absolute; right: 10px; font: 600 11px/1 var(--sans); padding: 4px 7px; border-radius: 6px; border: 1px solid currentColor; opacity: .45; pointer-events: none; }
.search input:focus ~ kbd { display: none; }
.search-in-menu { display: none; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn .ico { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }

@media (max-width: 1100px) { .nav > a .ico { display: none; } .nav > a { padding: 8px 11px; } .search-bar input, .search-bar input:focus { width: 200px; } }
@media (max-width: 900px) {
  .bar { flex-wrap: nowrap; height: 68px; padding-top: 0; padding-bottom: 0; }
  .logo-mark { width: 38px; height: 38px; }
  .wordmark-sm { font-size: 25px; }
  .search-bar { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px var(--gutter) 22px; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(40,30,20,.12); -webkit-mask-image: none; mask-image: none; overflow: visible; width: auto; order: 0; margin: 0; }
  .nav > a { font-size: 18px; padding: 14px 14px; border-radius: 12px; }
  .nav > a .ico { display: inline-block; width: 22px; height: 22px; }
  .masthead.menu-open .nav { display: flex; }
  .masthead.menu-open .menu-btn .i-open { display: none; }
  .masthead.menu-open .menu-btn .i-close { display: inline-flex; }
  .search-in-menu { display: flex; order: -1; margin-bottom: 8px; }
  .search-in-menu input, .search-in-menu input:focus { width: 100%; font-size: 16px; padding-top: 13px; padding-bottom: 13px; }
  .masthead.over:not(.scrolled) .nav > a.on, .nav > a.on { background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent); }
}
@media (max-width: 900px) { .search-in-menu { width: 100%; } .search-in-menu input, .search-in-menu input:focus { flex: 1; width: auto; min-width: 0; max-width: none; } }

/* listing pages: simple heading instead of a photo banner */
.list-head { padding-top: clamp(40px, 5vw, 72px); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.list-head h1 { display: flex; align-items: center; gap: 14px; font-size: clamp(48px, 6vw, 88px); }
.list-head h1 .ico { width: clamp(30px, 3vw, 44px); height: clamp(30px, 3vw, 44px); color: var(--accent); }
.list-head .lede { margin-bottom: 24px; }
.list-head .count { margin-bottom: 30px; }
.list-head + .toolbar { margin-top: 28px; }

/* ---------- photo detail page v2 ---------- */
.detail { padding-top: 28px; }
.detail .crumbs { margin-bottom: 18px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.dview { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #e8e2d8; border-radius: 18px; overflow: hidden; cursor: zoom-in; box-shadow: 0 20px 50px rgba(40,30,20,.14); }
.dview img { width: 100%; height: auto; display: block; transition: opacity .25s; }
.dview-zoom { position: absolute; right: 14px; bottom: 14px; font: 600 12px/1 var(--sans); padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); opacity: 0; transition: opacity .2s; }
.dview:hover .dview-zoom, .dview:focus-visible .dview-zoom { opacity: 1; }
.dthumbs { list-style: none; padding: 0; margin: 14px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.dthumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: none; cursor: pointer; width: 108px; aspect-ratio: 3 / 2; opacity: .7; transition: opacity .2s, border-color .2s; }
.dthumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dthumbs button:hover { opacity: 1; }
.dthumbs button.on { border-color: var(--accent); opacity: 1; }

.dpanel { position: sticky; top: 104px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px 26px 22px; box-shadow: 0 8px 24px rgba(40,30,20,.06); }
.dchip { display: inline-flex; align-items: center; gap: 7px; font: 600 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, transparent); padding: 8px 12px; border-radius: 999px; }
.dchip .ico { width: 15px; height: 15px; }
.dpanel h1 { font-size: clamp(36px, 3.2vw, 52px); line-height: 1.02; margin: 16px 0 12px; }
.dcaption { font: 400 20px/1.45 var(--serif); color: color-mix(in srgb, var(--ink) 82%, transparent); margin: 0 0 6px; }
.dfacts { margin: 18px 0 0; }
.dfacts div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: baseline; }
.dfacts dt { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.dfacts dt .ico, .dfacts dt .ico-s { width: 15px; height: 15px; color: var(--accent); }
.dfacts dt .hash { width: 15px; text-align: center; color: var(--accent); font-weight: 700; }
.dfacts dd { margin: 0; font-size: 15px; font-weight: 500; }
.dactions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.dactions .btn { padding: 11px 16px; font-size: 14px; }
.dnav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.dnav a { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); min-width: 0; transition: border-color .2s, background .2s; }
.dnav a:hover { border-color: var(--ink); background: var(--paper); }
.dnav a.next { text-align: right; }
.dnav span { font-size: 12px; font-weight: 600; color: var(--muted); }
.dnav b { font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dhint { margin: 14px 0 0; font-size: 12px; color: var(--muted); }
@media (max-width: 960px) {
  .detail-grid { grid-template-columns: 1fr; }
  .dpanel { position: static; }
  .dhint { display: none; }
}

.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(10,8,6,.94); }
.lightbox::backdrop { background: rgba(10,8,6,.94); }
.lightbox img { position: absolute; inset: 0; margin: auto; max-width: 94vw; max-height: 92vh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 30px 90px rgba(0,0,0,.6); cursor: zoom-out; }
.lb-close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; font-size: 18px; cursor: pointer; }
.lb-close:hover { background: rgba(255,255,255,.22); }

/* ---------- photo detail v3 (owner's reference) ---------- */
.pd { padding-top: 22px; }
.pd-crumbs { margin-bottom: 16px; }
.pd-crumbs .ico-s { width: 18px; height: 18px; vertical-align: -3px; }
.pd-figure { position: relative; margin: 0; height: clamp(320px, 68vh, 760px); border-radius: 20px; overflow: hidden; background: #1b1916; box-shadow: 0 24px 60px rgba(40,30,20,.16); isolation: isolate; }
.pd-blur { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(34px) saturate(1.2) brightness(.75); z-index: -1; }
.pd-img { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.pd-icon { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 12px; border: 0; display: grid; place-items: center; background: rgba(20,16,12,.55); color: #fff; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .2s; }
.pd-icon .ico-s { width: 20px; height: 20px; }
.pd-icon:hover { background: rgba(20,16,12,.8); }
.pd-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--ink); box-shadow: 0 6px 20px rgba(0,0,0,.2); opacity: .85; transition: opacity .2s, transform .2s; }
.pd-arrow .ico-s { width: 20px; height: 20px; }
.pd-arrow.prev { left: 16px; } .pd-arrow.next { right: 16px; }
.pd-arrow:hover { opacity: 1; transform: translateY(-50%) scale(1.06); }
.pd .dthumbs { margin-top: 14px; }

.pd-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding: 26px 0 22px; border-bottom: 1px solid var(--line); }
.pd-chip { display: inline-block; font: 600 13px/1 var(--sans); padding: 8px 12px; border-radius: 8px; background: var(--accent); color: #fff; }
.pd-head h1 { font-size: clamp(40px, 4.6vw, 68px); line-height: 1.02; margin: 14px 0 12px; }
.pd-line { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font-size: 17px; }
.pd-line .ico-s { width: 19px; height: 19px; color: var(--accent); }
.pd-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-actions .btn { padding: 12px 18px; font-size: 15px; background: var(--card); box-shadow: 0 2px 8px rgba(40,30,20,.06); }
.pd-actions .btn .ico-s { width: 18px; height: 18px; }
.pd-actions .btn[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.pd-actions .btn[aria-pressed="true"] svg path { fill: currentColor; }

.pd-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 1fr); gap: clamp(24px, 4vw, 56px); padding-top: 26px; align-items: start; }
.pd-desc p { font-size: 18px; line-height: 1.65; margin: 0 0 14px; color: color-mix(in srgb, var(--ink) 88%, transparent); }
.pd-saved-hint { font-size: 14px !important; color: var(--muted) !important; }
.pd-facts { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 6px 20px; box-shadow: 0 4px 14px rgba(40,30,20,.05); }
.pd-facts div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: center; }
.pd-facts div:last-child { border-bottom: 0; }
.pd-facts dt { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.pd-facts dt .ico, .pd-facts dt .ico-s { width: 19px; height: 19px; color: var(--accent); }
.pd-facts dt .hash { width: 19px; text-align: center; color: var(--accent); font-weight: 700; }
.pd-facts dd { margin: 0; font-size: 15px; color: color-mix(in srgb, var(--ink) 85%, transparent); }
.pd-section { padding-top: clamp(44px, 5vw, 64px); }
.pd-map { width: 100%; height: 340px; border: 0; border-radius: 16px; box-shadow: 0 6px 20px rgba(40,30,20,.08); background: #e8e2d8; }
.cards.pd-more { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.pd-more .pcard-body b { font-size: 17px; }
@media (max-width: 860px) {
  .pd-figure { height: auto; aspect-ratio: 3 / 2; border-radius: 14px; }
  .pd-arrow { width: 40px; height: 40px; }
  .pd-head { align-items: flex-start; }
  .pd-actions { width: 100%; } .pd-actions .btn { flex: 1; justify-content: center; padding: 12px 10px; }
  .pd-body { grid-template-columns: 1fr; }
  .pd-facts div { grid-template-columns: 130px 1fr; }
  .cards.pd-more { grid-template-columns: 1fr; }
}

/* ---------- detail page: modern finish ---------- */
.pd-figure { border-radius: 26px; box-shadow: 0 2px 4px rgba(40,30,20,.06), 0 30px 70px -10px rgba(40,30,20,.28); }
.pd-float-chip { position: absolute; left: 18px; top: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font: 600 13px/1 var(--sans); color: var(--ink); background: rgba(255,255,255,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 4px 14px rgba(0,0,0,.12); transition: background .2s; }
.pd-float-chip:hover { background: #fff; }
.pd-float-chip .ico { width: 16px; height: 16px; color: var(--accent); }
.pd-counter { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2; padding: 7px 13px; border-radius: 999px; font: 600 12px/1 var(--sans); letter-spacing: .06em; color: #fff; background: rgba(20,16,12,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pd-icon { border-radius: 50%; }
.pd .dthumbs button { border-radius: 14px; width: 120px; }

.pd-head { align-items: center; padding: 34px 0 26px; }
.pd-kicker { margin: 0 0 8px; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pd-titles h1 { font-size: clamp(44px, 5vw, 76px); margin: 0 0 16px; letter-spacing: -.015em; }
.pd-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pd-meta li, .pd-meta li a { display: inline-flex; align-items: center; gap: 7px; }
.pd-meta li { padding: 9px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.pd-meta .ico-s, .pd-meta .ico { width: 16px; height: 16px; color: var(--accent); }
.pd-meta li a:hover { color: var(--accent); }

.pd-seg { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(40,30,20,.08); }
.pd-seg > * { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; border: 0; background: none; font: 600 15px/1 var(--sans); color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.pd-seg > *:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.pd-seg > a { background: var(--ink); color: var(--paper); }
.pd-seg > a:hover { background: var(--accent); color: #fff; }
.pd-seg .ico-s { width: 18px; height: 18px; }
.pd-seg [aria-pressed="true"], .pd-dock [aria-pressed="true"] { color: #d6264b; }
.pd-seg [aria-pressed="true"] svg path, .pd-dock [aria-pressed="true"] svg path { fill: currentColor; }

.pd-desc p:first-child { font: 400 clamp(22px, 1.9vw, 27px)/1.45 var(--serif); color: var(--ink); }
.pd-tiles { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pd-tiles > div { padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.pd-tiles > div:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(40,30,20,.08); }
.pd-tiles dt { display: flex; align-items: center; gap: 10px; font: 600 12px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pd-tiles dt i { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font: 700 15px/1 var(--sans); font-style: normal; }
.pd-tiles dt i .ico, .pd-tiles dt i .ico-s { width: 18px; height: 18px; }
.pd-tiles dd { margin: 12px 0 0; font: 600 16px/1.35 var(--sans); }
.pd-tiles dd a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-underline-offset: 3px; }

.pd-dock { position: fixed; left: 50%; bottom: 18px; z-index: 50; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 8px; max-width: min(760px, calc(100% - 24px)); border-radius: 999px; background: rgba(27,25,22,.92); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 50px rgba(0,0,0,.3); transform: translate(-50%, 140%); opacity: 0; transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .25s; }
.pd-dock.show { transform: translate(-50%, 0); opacity: 1; }
.pd-dock img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.pd-dock-title { display: flex; flex-direction: column; min-width: 0; }
.pd-dock-title b { font: 600 15px/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-dock-title small { font-size: 12px; color: rgba(255,255,255,.6); }
.pd-dock-actions { display: flex; gap: 4px; margin-left: auto; }
.pd-dock-actions > * { display: inline-flex; align-items: center; gap: 7px; padding: 11px 15px; border-radius: 999px; border: 0; background: rgba(255,255,255,.1); color: #fff; font: 600 14px/1 var(--sans); cursor: pointer; }
.pd-dock-actions > *:hover { background: rgba(255,255,255,.2); }
.pd-dock-actions > a { background: var(--accent); }
.pd-dock-actions .ico-s { width: 16px; height: 16px; }
@media (max-width: 700px) { .pd-dock-actions span { display: none; } .pd-dock-title small { display: none; } }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } .pd-dock { transition: none; } }
@media (max-width: 860px) {
  .pd-seg { width: 100%; } .pd-seg > * { flex: 1; justify-content: center; padding: 12px 8px; }
  .pd-tiles { grid-template-columns: 1fr 1fr; }
  .pd-float-chip { left: 12px; top: 12px; padding: 7px 11px; font-size: 12px; }
}

/* ---------- detail page: match the owner's reference ---------- */
.pd-figure { box-shadow: 0 18px 44px -12px rgba(40,30,20,.28); border-radius: 18px; }
.pd-figure.landscape { height: auto; background: none; }
.pd-figure.landscape .pd-blur { display: none; }
.pd-figure.landscape .pd-img { position: static; display: block; width: 100%; height: auto; max-height: none; }
.pd-icon { border-radius: 10px; }

.pd-head { align-items: flex-end; padding: 22px 0 22px; }
.pd-chip { display: inline-block; font: 700 14px/1 var(--sans); padding: 8px 12px; border-radius: 6px; background: var(--accent); color: #fff; }
.pd-titles h1 { font: 800 clamp(36px, 4vw, 54px)/1.08 var(--sans); letter-spacing: -.025em; margin: 12px 0 12px; }
.pd-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin: 8px 0 0; font-size: 17px; }
.pd-line span, .pd-line { align-items: center; }
.pd-line span { display: inline-flex; gap: 10px; }
.pd-line .ico-s { width: 20px; height: 20px; color: var(--accent); }
.pd-line a:hover { color: var(--accent); }
.pd-actions { gap: 12px; }
.pd-act { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 700 16px/1 var(--sans); cursor: pointer; box-shadow: 0 3px 10px rgba(40,30,20,.08); transition: border-color .2s, box-shadow .2s, transform .15s; }
.pd-act:hover { border-color: var(--ink); box-shadow: 0 8px 18px rgba(40,30,20,.12); transform: translateY(-1px); }
.pd-act .ico-s { width: 20px; height: 20px; }
.pd-act[aria-pressed="true"] { color: #d6264b; border-color: #d6264b; }
.pd-act[aria-pressed="true"] svg path { fill: currentColor; }

.pd-desc p, .pd-desc p:first-child { font: 400 17px/1.7 var(--sans); color: color-mix(in srgb, var(--ink) 88%, transparent); }
.pd-card { margin: 0; padding: 8px 22px; border-radius: 14px; background: color-mix(in srgb, var(--ink) 3.5%, var(--card)); border: 1px solid var(--line); }
.pd-card > div { display: grid; grid-template-columns: 26px 120px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pd-card > div:last-child { border-bottom: 0; }
.pd-card dt { display: contents; }
.pd-card dt i { display: grid; place-items: center; color: var(--ink); font: 700 16px/1 var(--sans); font-style: normal; }
.pd-card dt i .ico, .pd-card dt i .ico-s { width: 22px; height: 22px; }
.pd-card dt { font: 700 16px/1.2 var(--sans); }
.pd-card dd { margin: 0; font-size: 16px; }
.pd-card dd a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-underline-offset: 3px; }
@media (max-width: 860px) {
  .pd-actions { width: 100%; } .pd-act { flex: 1; justify-content: center; padding: 12px 8px; font-size: 15px; }
  .pd-card > div { grid-template-columns: 24px 100px 1fr; }
}
.pd-line .ico { width: 20px; height: 20px; color: var(--accent); }

/* ---------- detail page: compact ---------- */
.pd { max-width: 1088px; }
.pd-figure.landscape { max-height: 66vh; aspect-ratio: auto; display: flex; justify-content: center; background: #1b1916; }
.pd-figure.landscape .pd-img { width: auto; max-width: 100%; max-height: 66vh; }
.pd-figure.portrait { height: min(66vh, 620px); }
.pd-head { padding: 18px 0 18px; }
.pd-titles h1 { font-size: clamp(30px, 3.2vw, 42px); margin: 10px 0 8px; }
.pd-chip { font-size: 12px; padding: 6px 10px; }
.pd-line { font-size: 15px; margin-top: 4px; }
.pd-line .ico-s, .pd-line .ico { width: 17px; height: 17px; }
.pd-act { padding: 10px 16px; font-size: 14px; border-radius: 9px; }
.pd-act .ico-s { width: 17px; height: 17px; }
.pd-body { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; padding-top: 20px; }
.pd-desc p, .pd-desc p:first-child { font-size: 16px; line-height: 1.65; }

.pd-card { padding: 4px 16px; border-radius: 14px; background: var(--card); box-shadow: 0 4px 16px rgba(40,30,20,.06); }
.pd-card > div { grid-template-columns: 28px 92px 1fr; gap: 10px; padding: 10px 0; }
.pd-card dt { font: 500 13px/1.2 var(--sans); color: var(--muted); }
.pd-card dt i { width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 11%, transparent); color: var(--accent); font-size: 13px; }
.pd-card dt i .ico, .pd-card dt i .ico-s { width: 15px; height: 15px; }
.pd-card dd { font: 600 14px/1.35 var(--sans); text-align: right; }

.pd-section { padding-top: 40px; }
.pd-section h2.underlined { font-size: 24px; }
.pd-map { height: 280px; }
.cards.pd-more { gap: 14px; }
.cards.pd-more .pcard { border-radius: 12px; }
.cards.pd-more .pcard-img { aspect-ratio: 16 / 10; }
.cards.pd-more .pcard-body { padding: 10px 12px 12px; gap: 5px; }
.cards.pd-more .pcard-body b { font-size: 15px; }
.cards.pd-more .pcard-meta { font-size: 12px; }
@media (max-width: 860px) {
  .pd-body { grid-template-columns: 1fr; }
  .pd-figure.landscape, .pd-figure.landscape .pd-img { max-height: none; }
  .cards.pd-more { grid-template-columns: repeat(2, 1fr); }
}

/* detail page: middle size (between v24 and v25) */
.pd { max-width: 1280px; }
.pd-figure.landscape { max-height: 80vh; }
.pd-figure.landscape .pd-img { max-height: 80vh; }
.pd-figure.portrait { height: min(80vh, 760px); }
.pd-body { grid-template-columns: minmax(0, 1fr) 400px; }

/* ---------- detail page: Google map in the layout ---------- */
.pd-body { grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.pd-side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 100px; }
.pd-mapcard { margin-top: 18px; border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(40,30,20,.08); }
.pd-mapbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.pd-mapbar span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.pd-mapbar span .ico-s { width: 17px; height: 17px; color: var(--accent); flex: none; }
.pd-mapbar b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-mapbar a { font-weight: 600; color: var(--accent); white-space: nowrap; }
.pd-gmap { display: block; width: 100%; height: 340px; border: 0; background: #e8e2d8; }
.pd-mapbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pd-mapbtns .pd-act { justify-content: center; padding: 11px 10px; font-size: 14px; }
.pd-act.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pd-act.primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 860px) { .pd-body { grid-template-columns: 1fr; } .pd-side { position: static; } .pd-gmap { height: 280px; } }

/* ---------- detail page: facts under the title, single-column body ---------- */
.pd-head { padding-bottom: 14px; border-bottom: 0; align-items: flex-end; }
.pd-titles h1 { margin-bottom: 0; }
.pd-by { margin: 8px 0 0; font-size: 19px; color: var(--muted); }
.pd-by a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); text-underline-offset: 4px; }
.pd-by a:hover { color: var(--accent); }
.pd-facts-row { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 4px 16px rgba(40,30,20,.06); overflow: hidden; }
.pd-facts-row > div { padding: 14px 18px; border-right: 1px solid var(--line); min-width: 0; }
.pd-facts-row > div:last-child { border-right: 0; }
.pd-facts-row > div.wide { grid-column: span 2; }
.pd-facts-row dt { display: flex; align-items: center; gap: 7px; font: 600 11px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pd-facts-row dt .ico, .pd-facts-row dt .ico-s { width: 15px; height: 15px; color: var(--accent); }
.pd-facts-row dt .hash { color: var(--accent); font-weight: 700; width: 15px; text-align: center; }
.pd-facts-row dd { margin: 6px 0 0; font: 600 15px/1.35 var(--sans); overflow-wrap: anywhere; }
.pd-facts-row dd a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-underline-offset: 3px; }
.pd-body-single { display: block; padding-top: 24px; }
.pd-body-single .pd-desc p { max-width: 75ch; }
.pd-body-single .pd-mapcard { margin-top: 18px; }
.pd-mapbar .pd-mapbtns { display: flex; gap: 8px; }
.pd-mapbar .pd-act { padding: 9px 14px; font-size: 13px; box-shadow: none; }
.pd-mapbar .pd-act .ico-s { width: 15px; height: 15px; }
.pd-gmap { height: 380px; }
@media (max-width: 860px) {
  .pd-facts-row { grid-template-columns: 1fr 1fr; }
  .pd-facts-row > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .pd-facts-row > div.wide { grid-column: span 2; }
  .pd-actions { width: auto; } .pd-act { flex: none; }
  .pd-mapbar .pd-mapbtns { width: 100%; } .pd-mapbar .pd-act { flex: 1; justify-content: center; }
  .pd-gmap { height: 300px; }
}
@media (max-width: 860px) {
  .pd-facts-row { grid-auto-flow: dense; }
  .pd-mapbar { padding: 12px; }
  .pd-mapbar .pd-mapbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .pd-mapbar .pd-act { padding: 9px 8px; font-size: 12.5px; min-width: 0; }
  .pd-mapbar .pd-act span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
.hide-sm { font-style: normal; } @media (max-width: 860px) { .hide-sm { display: none; } }

/* ---------- Google-style pagination ---------- */
.gpages { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 56px 0 8px; font-size: 16px; }
.gp-nums { display: flex; align-items: center; gap: 2px; }
.gp-nums a, .gp-nums b { min-width: 36px; height: 36px; padding: 0 6px; display: grid; place-items: center; border-radius: 50%; }
.gp-nums a { color: #1a0dab; text-decoration: none; }
.gp-nums a:hover { text-decoration: underline; background: color-mix(in srgb, var(--ink) 5%, transparent); }
.gp-nums b { color: var(--ink); font-weight: 700; }
.gp-step { color: #1a0dab; text-decoration: none; padding: 8px 12px; white-space: nowrap; min-width: 92px; }
.gp-step:hover { text-decoration: underline; }
.gp-step:first-child { text-align: right; }
.gp-step span { font-size: 22px; line-height: 0; vertical-align: -1px; }
.gp-info { text-align: center; color: var(--muted); font-size: 13px; margin: 2px 0 0; }
@media (max-width: 600px) { .gpages { font-size: 15px; gap: 0; } .gp-step { min-width: 0; padding: 8px 6px; } .gp-nums a, .gp-nums b { min-width: 30px; height: 32px; } }

/* ---------- Bristol Graffiti: areas + map ---------- */
.area-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.area-chips a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(40,30,20,.05); transition: border-color .2s, transform .2s; }
.area-chips a:hover { border-color: var(--accent); transform: translateY(-2px); }
.area-chips b { font-weight: 700; }
.area-chips span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.area-grid { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.area-card { display: block; border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(40,30,20,.07); transition: transform .2s, box-shadow .2s; }
.area-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(40,30,20,.12); }
.area-imgs { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; aspect-ratio: 16 / 9; background: #e8e2d8; }
.area-imgs img { width: 100%; height: 100%; object-fit: cover; }
.area-imgs img:first-child { grid-row: 1 / 3; }
.area-imgs img:only-child { grid-column: 1 / 3; }
.area-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.area-body b { font: 700 20px/1.2 var(--sans); }
.area-body span { color: var(--muted); font-size: 14px; }
.area-body i { font-style: normal; color: var(--accent); font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; }
.area-body i .ico-s { width: 15px; height: 15px; }
.mural-map { height: min(72vh, 720px); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(40,30,20,.12); margin-top: 24px; z-index: 0; }
.mm-pin { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.mm-pop { display: flex; flex-direction: column; gap: 6px; color: var(--ink) !important; text-decoration: none; }
.mm-pop img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.mm-pop b { font: 700 14px/1.3 var(--sans); }
.mm-pop span { color: var(--accent); font-weight: 600; font-size: 13px; }
.leaflet-popup-content { margin: 10px; }
.mm-dir { display: inline-block; margin-top: 8px; font: 600 13px/1 var(--sans); color: #1a73e8 !important; }
.gm-pop { width: 220px; }
.area-map { margin-top: 28px; }

/* ---------- About / Support / Privacy ---------- */
.ab-stats { margin: -44px 0 0; position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 40px rgba(40,30,20,.12); overflow: hidden; }
.ab-stats div { padding: 22px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column-reverse; gap: 6px; }
.ab-stats div:last-child { border-right: 0; }
.ab-stats dd { margin: 0; font: 400 clamp(34px, 3.4vw, 48px)/1 var(--serif); color: var(--ink); }
.ab-stats dt { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.ab-story { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding-top: clamp(48px, 6vw, 80px); }
.ab-story-text p:first-child { font: 400 clamp(22px, 2vw, 28px)/1.4 var(--serif); color: var(--ink); }
.ab-story-img { position: relative; display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(40,30,20,.16); }
.ab-story-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.ab-story-img:hover img { transform: scale(1.04); }
.ab-story-img span { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.92); font: 600 13px/1 var(--sans); }
.ab-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ab-features li { padding: 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(40,30,20,.05); }
.ab-features i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); margin-bottom: 16px; }
.ab-features i .ico, .ab-features i .ico-s { width: 24px; height: 24px; }
.ab-features b { font: 700 20px/1.2 var(--sans); }
.ab-features p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.ab-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.ab-steps li { counter-increment: step; padding: 22px 22px 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.ab-steps li::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 700 15px/1 var(--sans); margin-bottom: 8px; }
.ab-steps b { font: 700 17px/1.2 var(--sans); }
.ab-steps span { color: var(--muted); font-size: 15px; line-height: 1.55; }
.ab-steps a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ab-cta { margin-top: clamp(56px, 7vw, 90px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); border-radius: 22px; background: radial-gradient(120% 140% at 0% 0%, #3a2418 0%, #17130f 65%); color: #fff; }
.ab-cta h2 { font: 400 clamp(32px, 3.2vw, 46px)/1.05 var(--serif); margin: 0 0 8px; }
.ab-cta p { margin: 0; color: rgba(255,255,255,.78); max-width: 52ch; }
.ab-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ab-cta .btn.line { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
@media (max-width: 960px) { .ab-stats { grid-template-columns: 1fr 1fr; } .ab-stats div:nth-child(2) { border-right: 0; } .ab-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .ab-story, .ab-features { grid-template-columns: 1fr; } .ab-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ab-steps { grid-template-columns: 1fr; } }

.sp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; padding-top: clamp(40px, 5vw, 64px); }
.sp-intro p:first-child { font: 400 clamp(21px, 1.8vw, 25px)/1.45 var(--serif); color: var(--ink); }
.sp-h { margin: 36px 0 18px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 14px; background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s; }
.faq details[open] { box-shadow: 0 8px 24px rgba(40,30,20,.08); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font: 600 17px/1.35 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { font-style: normal; font-size: 22px; color: var(--accent); transition: transform .2s; flex: none; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq-a { padding: 0 20px 18px; font-size: 16px; }
.faq-a p { margin: 0 0 10px; color: color-mix(in srgb, var(--ink) 82%, transparent); }
.sp-card { position: sticky; top: 100px; padding: 28px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(40,30,20,.08); }
.sp-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.sp-ico .ico { width: 26px; height: 26px; }
.sp-card h2 { font: 400 32px/1.1 var(--serif); margin: 16px 0 6px; }
.sp-card > p { color: var(--muted); margin: 0; }
.sp-btn { width: 100%; justify-content: center; margin-top: 18px; }
.sp-mail { text-align: center; font-size: 14px; color: var(--muted); margin: 10px 0 0; word-break: break-all; }
.sp-card h3 { font: 700 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 24px 0 10px; }
.sp-list { margin: 0; padding: 0 0 0 18px; display: grid; gap: 8px; font-size: 15px; }
@media (max-width: 960px) { .sp-grid { grid-template-columns: 1fr; } .sp-card { position: static; } }

.pv-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding-top: clamp(40px, 5vw, 64px); }
.pv-toc { position: sticky; top: 100px; padding: 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.pv-toc ol { margin: 10px 0 0; padding: 0 0 0 18px; display: grid; gap: 8px; font-size: 14px; }
.pv-toc a { color: var(--muted); } .pv-toc a:hover { color: var(--accent); }
.pv-main { max-width: 760px; }
.pv-short { padding: 22px 24px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 8%, var(--card)); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line)); margin-bottom: 28px; }
.pv-short b { font: 700 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.pv-short ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; font-size: 15px; font-weight: 500; }
.pv-short li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.pv-intro p { color: var(--muted); }
.pv-sec { padding: 22px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.pv-sec h2 { font: 700 22px/1.25 var(--sans); margin: 0 0 10px; }
.pv-sec .prose p { font-size: 16px; margin: 0 0 12px; }
@media (max-width: 860px) { .pv-grid { grid-template-columns: 1fr; } .pv-toc { position: static; } .pv-short ul { grid-template-columns: 1fr; } }

/* About: brand mission + values */
.ab-brand { margin-top: clamp(56px, 7vw, 90px); padding: clamp(32px, 5vw, 60px); border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(40,30,20,.06); text-align: center; }
.ab-mission { font: 400 clamp(28px, 3.2vw, 46px)/1.2 var(--serif); max-width: 26ch; margin: 14px auto 36px; color: var(--ink); }
.ab-mission em { color: var(--accent); }
.ab-values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; text-align: left; }
.ab-values li { padding: 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.ab-values b { font: 700 16px/1.2 var(--sans); }
.ab-values b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 2px; }
.ab-values span { color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (max-width: 900px) { .ab-values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ab-values { grid-template-columns: 1fr; } }

/* ---------- wall status (visibility) ---------- */
.pd-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vis { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; font: 700 13px/1 var(--sans); background: var(--card); border: 1px solid var(--line); }
.vis i, .vis-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: #9a9187; flex: none; }
.vis small { font-weight: 500; color: var(--muted); }
.vis-visible { color: #1d6b43; background: #e6f4ec; border-color: #c7e6d3; } .vis-visible i, .vis-dot.vis-visible { background: #2e9d63; box-shadow: 0 0 0 3px rgba(46,157,99,.2); }
.vis-painted { color: #a12a1e; background: #fbe7e4; border-color: #f2c8c1; } .vis-painted i, .vis-dot.vis-painted { background: #d23b2a; }
.vis-damaged { color: #9a5a08; background: #fdf0dc; border-color: #f4dbb2; } .vis-damaged i, .vis-dot.vis-damaged { background: #e08a0b; }
.vis-removed { color: #3d3833; background: #ebe7e1; } .vis-removed i, .vis-dot.vis-removed { background: #3d3833; }
.vis-unknown { color: var(--muted); }
.vis-dot { margin-right: 8px; vertical-align: 1px; }
.pd-figure.vis-fig-painted .pd-img, .pd-figure.vis-fig-removed .pd-img { filter: grayscale(.35); }
.pcard-gone { position: absolute; z-index: 1; right: 10px; top: 10px; font: 700 10px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: #d23b2a; color: #fff; }

/* About: editorial header (replaces banner + stats card) */
.banner { width: 100%; }
.ab-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 84px) 0 clamp(20px, 3vw, 40px); }
.ab-hero h1 { font: 400 clamp(44px, 5.4vw, 82px)/1.02 var(--serif); letter-spacing: -.015em; margin: 14px 0 20px; }
.ab-hero h1 em { color: var(--accent); }
.ab-hero-lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: color-mix(in srgb, var(--ink) 75%, transparent); max-width: 46ch; margin: 0; }
.ab-figs { display: flex; margin: 30px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.ab-figs div { display: flex; flex-direction: column-reverse; gap: 6px; padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.ab-figs div:last-child { border-right: 0; margin-right: 0; }
.ab-figs dd { margin: 0; font: 400 clamp(36px, 3.4vw, 50px)/1 var(--serif); }
.ab-figs dt { font-size: 13px; color: var(--muted); font-weight: 600; }
.ab-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.ab-hero-img { position: relative; display: block; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(40,30,20,.35); }
.ab-hero-img img { width: 100%; height: auto; display: block; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.ab-hero-img:hover img { transform: scale(1.03); }
.ab-hero-img span { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 28px); padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.94); font: 600 13px/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ab-hero-img span .ico-s { color: var(--accent); width: 15px; height: 15px; flex: none; }
.ab-story { grid-template-columns: 1fr; max-width: 820px; padding-top: clamp(24px, 4vw, 48px); }
@media (max-width: 900px) { .ab-hero { grid-template-columns: 1fr; } .ab-hero-img { order: -1; } }
@media (max-width: 480px) { .ab-figs div { padding-right: 16px; margin-right: 16px; } }

/* artwork ownership notice */
.pd-rights { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.pd-rights .ico-s, .pd-rights svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.pd-rights p { margin: 0; font-size: 14.5px; line-height: 1.6; color: color-mix(in srgb, var(--ink) 80%, transparent); }
.pd-rights b { color: var(--ink); }
.pd-rights a { color: var(--accent); }
.ab-rights { display: flex; gap: 20px; align-items: flex-start; margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--accent); }
.ab-rights-ico { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.ab-rights-ico svg { width: 24px; height: 24px; }
.ab-rights h2 { font: 400 clamp(26px, 2.6vw, 34px)/1.15 var(--serif); margin: 0 0 10px; }
.ab-rights p { margin: 0; line-height: 1.7; max-width: 70ch; color: color-mix(in srgb, var(--ink) 80%, transparent); }


/* Map: one pin colour per collection (graffiti keeps the accent) */
.mm-pin.mm-historic_buildings { background: #2f5d8a; }
.mm-pin.mm-street { background: #2e8a63; }
.mm-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 14px; }
.mm-legend li { display: flex; align-items: center; gap: 7px; }
.mm-legend i { width: 12px; height: 12px; border-radius: 50%; background: #e2551b; box-shadow: 0 0 0 2px #fff, 0 1px 3px rgba(0,0,0,.3); }
.mm-legend .mm-historic_buildings i { background: #2f5d8a; }
.mm-legend .mm-street i { background: #2e8a63; }
.cat-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: -6px 0 18px; }
.cat-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); text-decoration: none; }
