:root{
  --bg:#faf7f1; --bg2:#f1eadf; --card:#ffffff; --card2:#fffdf8;
  --ink:#1c1915; --muted:#6f675c; --line:#e6ddd0;
  --accent:#b4532a; --accent2:#1e4d4a; --gold:#c49a3c;
  --chip:#efe8db; --shadow:0 18px 40px rgba(28,25,21,.10);
  --radius:20px;
}
@media (prefers-color-scheme: dark){
  :root{ --bg:#131210; --bg2:#1b1916; --card:#1e1c19; --card2:#23201c; --ink:#f2ece1; --muted:#a99f8f; --line:#332f2a; --chip:#2a2723; --shadow:0 18px 40px rgba(0,0,0,.35); --accent:#e07a4a; --accent2:#7fc0b6; }
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Manrope,system-ui,sans-serif;background:var(--bg);color:var(--ink);line-height:1.55}
a{color:inherit}
button,input,select,textarea{font:inherit}
img{max-width:100%}
.topbar{position:sticky;top:0;z-index:40;background:color-mix(in srgb, var(--bg) 88%, transparent);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.topbar-in{max-width:1180px;margin:0 auto;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:800;letter-spacing:.02em}
.brand-mark{width:38px;height:38px;border-radius:50%;background:var(--ink);color:var(--bg);display:grid;place-items:center;font-family:"Cormorant Garamond",serif;font-size:22px;line-height:1}
.brand small{display:block;font-weight:600;color:var(--muted);letter-spacing:.14em;text-transform:uppercase;font-size:10px}
.nav{display:flex;gap:20px;align-items:center}
.nav a{text-decoration:none;font-weight:600;font-size:14px;color:var(--muted)}
.nav a:hover{color:var(--ink)}
.cart-btn{position:relative;border:1px solid var(--line);background:var(--card);padding:10px 16px;border-radius:999px;font-weight:700;cursor:pointer;display:flex;gap:8px;align-items:center}
.cart-count{background:var(--accent);color:#fff;min-width:22px;height:22px;border-radius:999px;display:grid;place-items:center;font-size:12px;padding:0 6px}
.wrap{max-width:1180px;margin:0 auto;padding:0 20px}
/* ---------- Opening backdrop ---------- */
.backdrop{position:relative;background:#14100d;overflow:hidden}
@keyframes bdscroll{to{transform:translateX(-50%)}}
/* ---------- Vertical river panel: a scrolling column down the RIGHT side of the screen,
   about a quarter of the screen wide, in the background layer (like the scatter) so the
   page content stays readable on top of it. Pictures flow continuously DOWN it in a
   shuffled, well-mixed order. NO OVERLAP (Trevor): every photo is fully visible, edge
   to edge, at exactly the column width, with a small consistent 12px gap below it —
   no negative margins, no drift, no tilt, nothing covering or clipping any part of a
   neighbour. (The scattered backdrop elsewhere on the page stays packed and
   overlapping, exactly as before — this no-overlap rule is for the river only.)
   PICKABLE (Trevor, later the same day): the photos can be tapped as they flow
   past — a catalogued piece opens its detail window, and a show/opening photo
   jumps to The Opening section. OVERLAP (Trevor, 2026-10-31): the main
   scroll overlaps the river by 10% — the body reserves only 90% of the
   river's width, so content runs over the river's left edge, and the river
   sits at z-index 0 with the page content lifted above it (z-index 1), so the main
   scroll is the layer on top in that band. The uncovered 90% of each photo
   stays fully tappable; the container itself stays pointer-events:none and
   only the photos take clicks. Hovering the river pauses the flow so a
   photo can be caught. */
.side-river{position:fixed;top:0;right:0;bottom:0;width:25vw;min-width:100px;max-width:380px;z-index:0;overflow:hidden;pointer-events:none;background:#14100d;transition:opacity .6s ease}
.river-track{display:flex;flex-direction:column;width:100%;animation:riverflow 300s linear infinite;will-change:transform}
@keyframes riverflow{from{transform:translateY(-50%)}to{transform:translateY(0)}}
.river-item{flex:none;width:100%;margin:0 0 12px;pointer-events:auto;cursor:pointer}
.river-item img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border:0;border-radius:0}
.side-river:hover .river-track,.side-river:focus-within .river-track{animation-play-state:paused}
/* Picked from the river: while that picture's window is open, the flow holds
   still; it sets off again when the window closes. */
.side-river.river-hold .river-track{animation-play-state:paused}
/* Off the main page (Trevor): once the visitor scrolls past the opening into the
   rest of the site, the river fades back into the background. */
.side-river.river-faded{opacity:.38}
/* Touch hardening (Trevor's Fold report, 2026-10-30): a touchscreen has no hover,
   so the flow used to keep sliding while a finger tapped — some phone browsers
   then drop the tap. Pressing the river now holds it still (the :active rule here,
   plus a pointerdown hold in the script), and tap targets lose the double-tap-zoom
   delay that can swallow taps on Android browsers. */
.side-river:active .river-track{animation-play-state:paused}
a,button,[data-open],[data-goto],.card-art,.river-item{touch-action:manipulation}
/* Very narrow screens — a folded Fold's cover screen is only ~344px wide: slim the
   river from its 100px floor to 76px so the content column gets the room instead.
   Everywhere the river width is reserved (body padding, logo, drawer, toast) is
   adjusted to match. */
@media(max-width:400px){
  .side-river{width:76px;min-width:76px}
  body{padding-right:68px}
  .logo-underlay{right:68px}
  .drawer{right:68px;width:min(420px,calc(100vw - 84px))}
  .toast{left:calc((100vw - 68px) / 2)}
}
/* Phone survival (iPhone report, 2026-10-30): the frosted-glass blur over the
   photo backdrop is one of the most expensive effects a phone GPU can be
   asked to repaint while scrolling — on phones the labels keep their
   translucent plates but drop the live blur. */
@media(max-width:900px){
  .topbar,.section-head,.group-head,footer,.count,.mission{backdrop-filter:none;-webkit-backdrop-filter:none}
}
@media print{.side-river{display:none}}
/* Standing layout rule (Trevor; overlap added 2026-10-31): the whole page
   reserves 90% of the river's width (25vw, min 100px, max 380px) as right padding
   on the body, at every screen width — so all flow content (top bar, opening,
   sections, footer) runs down the left of the page and overlaps the river's left
   edge by the remaining 10%, with the content on top. The river itself and the
   scattered backdrop are fixed/absolute background layers, so they are not
   affected by the padding and keep running the full height of the screen. */
@media(min-width:401px){body{padding-right:calc(clamp(100px,25vw,380px) * 0.9)}}
/* Content over river (fix, 2026-10-31): the river sits at z-index 0 — the
   tappable positioned layer — and the page content (main, category quick
   links) at z-index 1, so in the 10% overlap band the main scroll is on top
   while the river's uncovered 90% still receives taps. (Putting the river
   at z-index:-1 instead put it in the background layer and killed its taps
   on phones — Trevor reported it the same night.) */
main{position:relative;z-index:1}
.cat-quick{position:relative;z-index:1}
@media print{body{padding-right:0}}
.mission{max-width:880px;margin:0 auto;padding:28px 20px 2px;text-align:center;color:#f5efe3;scroll-margin-top:84px}
.mission .eyebrow{color:var(--gold)}
.mission blockquote{margin:10px 0 0;font-family:"Cormorant Garamond",serif;font-size:clamp(18px,2vw,24px);line-height:1.36;font-weight:500}
.mission blockquote p{margin:0 0 10px}
.mission .mission-q{font-style:italic;color:#e9d9b8}
.mission .mission-close{font-size:clamp(26px,3.2vw,38px);line-height:1.25;margin-bottom:0}
.mission .mission-close em{font-style:italic;color:var(--gold)}
.mission figcaption{margin-top:16px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:#cbbfa8}
.opening{max-width:1180px;margin:0 auto;padding:19px 20px 27px;display:grid;grid-template-columns:1fr 318px;gap:16px;align-items:stretch}
.backdrop-title{background:var(--bg);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);padding:21px;text-align:center;display:flex;flex-direction:column;justify-content:center}
.tour{margin:0;background:var(--bg);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);padding:9px;display:flex;flex-direction:column;gap:8px;scroll-margin-top:84px}
.tour video{display:block;width:100%;aspect-ratio:9/16;max-height:354px;object-fit:cover;border-radius:14px;background:#000}
.tour figcaption{font-size:13.5px;color:var(--muted);line-height:1.5;padding:0 4px 2px}
.tour figcaption strong{color:var(--ink)}
.tour figcaption .tour-meta{display:block;margin-top:4px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:var(--accent)}
.tour.wide video{aspect-ratio:16/9;max-height:600px}
.tour2-wrap{max-width:1180px;margin:0 auto;padding:0 20px 36px}
.song{margin-top:14px;border-top:1px solid var(--line);padding-top:13px;scroll-margin-top:84px}
.song .song-title{font-family:"Cormorant Garamond",serif;font-size:19px;line-height:1.1;margin:0}
.song p{color:var(--muted);font-size:12.5px;margin:4px 0 0}
.song audio{display:block;width:100%;margin-top:9px}
.song .song-meta{display:block;margin-top:8px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:var(--accent)}
.wip-heading{margin-top:19px;border-top:1px solid var(--line);padding-top:15px;font-family:"Cormorant Garamond",serif;font-size:21px;line-height:1.1;font-weight:600;text-align:center}
.wip-heading + .song{border-top:0;margin-top:10px;padding-top:0}
.eyebrow{letter-spacing:.16em;text-transform:uppercase;font-size:11px;font-weight:800;color:var(--accent)}
h1{font-family:"Cormorant Garamond",serif;font-size:clamp(28px,3.8vw,42px);line-height:.95;margin:10px 0 10px;font-weight:600;letter-spacing:-.02em}
h1 em{font-style:italic;color:var(--accent2)}
.lead{font-size:15px;color:var(--muted);margin:0 auto;max-width:560px}
.hero-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:13px;justify-content:center}
.btn{border-radius:999px;padding:12px 19px;font-weight:800;border:1px solid var(--ink);cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:8px;background:transparent;color:var(--ink)}
.btn-primary{background:var(--ink);color:var(--bg)}
.btn-accent{background:var(--accent);border-color:var(--accent);color:#fff}
.hero-meta{display:flex;gap:20px;margin-top:13px;flex-wrap:wrap;justify-content:center}
.hero-meta b{font-family:"Cormorant Garamond",serif;font-size:20px;display:block;line-height:1}
.hero-meta span{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:700}
.strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--bg2);overflow:hidden;white-space:nowrap}
.strip-in{display:inline-flex;gap:0;padding:11px 0;animation:bdscroll 30s linear infinite;font-family:"Cormorant Garamond",serif;font-size:18px;font-style:italic}
.strip span{padding:0 18px}.strip i{color:var(--accent);font-style:normal}
@media(prefers-reduced-motion:reduce){.river-track,.river-item,.strip-in{animation:none} html{scroll-behavior:auto} .side-river{transition:none}}
.section{padding:54px 0}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;flex-wrap:wrap;margin-bottom:20px}
h2{font-family:"Cormorant Garamond",serif;font-size:clamp(32px,4vw,48px);line-height:1;margin:6px 0 8px;font-weight:600}
.sub{color:var(--muted);max-width:640px}
/* ---------- Category quick links: a slim row of category chips at the very top of
   the page, under the top bar — every category one tap away (Trevor). Slides
   sideways on narrow screens. Built from the same group list as the tiles. */
.cat-quick{display:flex;gap:8px;overflow-x:auto;padding:12px 20px 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.cat-quick::-webkit-scrollbar{display:none}
.cat-quick a{flex:none;text-decoration:none;font-size:13px;font-weight:700;padding:8px 14px;border-radius:999px;border:1px solid var(--line);background:color-mix(in srgb, var(--bg) 80%, transparent);color:var(--ink);backdrop-filter:blur(6px)}
.cat-quick a:hover{border-color:var(--accent);color:var(--accent)}
/* ---------- Category tiles with small photos ---------- */
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.cat-tile{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:12px;text-decoration:none;display:flex;flex-direction:column;gap:10px}
.cat-tile:hover{border-color:var(--accent)}
.cat-thumbs{display:flex;gap:6px}
.cat-thumbs img{flex:1;min-width:0;height:74px;object-fit:cover;border-radius:9px;display:block}
.cat-tile b{font-family:"Cormorant Garamond",serif;font-size:21px;line-height:1.1}
.cat-tile small{color:var(--muted);font-weight:600;font-size:12.5px;letter-spacing:.02em}
.cat-tile .go{font-size:13px;font-weight:800;color:var(--accent)}
/* ---------- Grouped collection ---------- */
.toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:6px 0 4px}
.search{flex:1;min-width:220px;display:flex;align-items:center;gap:8px;background:var(--card);border:1px solid var(--line);border-radius:999px;padding:10px 15px}
.search input{border:0;outline:0;background:transparent;width:100%;color:var(--ink)}
.count{font-size:13px;color:var(--muted);font-weight:600;margin:10px 2px 0}
.group{padding:40px 0 6px;border-top:1px solid var(--line);margin-top:34px;scroll-margin-top:84px}
.group:first-of-type{border-top:0;margin-top:6px}
.group-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.group-head h3{font-family:"Cormorant Garamond",serif;font-size:clamp(27px,3vw,36px);margin:4px 0 4px;line-height:1}
.group-head p{margin:0;color:var(--muted);max-width:560px;font-size:14.5px}
.group-count{font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:var(--muted);white-space:nowrap}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;scroll-margin-top:90px}
.card-art{position:relative;cursor:pointer;background:#171310}
.card-art img{width:100%;height:264px;object-fit:cover;display:block}
.card.art-portrait .card-art img{height:320px}
.card.poster .card-art{background:#20180f}
.card.poster .card-art img{object-fit:contain;height:340px}
.card-badges{position:absolute;top:12px;left:12px;display:flex;gap:6px;flex-wrap:wrap}
.badge{font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;padding:6px 9px;border-radius:999px;background:var(--chip);white-space:nowrap}
.badge.piece-no{background:#1c1915;color:#fff}
.fav{position:absolute;top:10px;right:10px;width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:var(--card);cursor:pointer;font-size:18px;display:grid;place-items:center;color:var(--ink)}
.fav.active{color:#c0392b;border-color:#e8b4ac}
.card-body{padding:16px 16px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.card-body h4{font-family:"Cormorant Garamond",serif;font-size:23px;line-height:1.08;margin:0;cursor:pointer}
.medium{color:var(--muted);font-size:13.5px}
.price-row{margin-top:auto;padding-top:10px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.price-on-enquiry{font-weight:800;font-size:16px;line-height:1.25}
.price-on-enquiry small{display:block;font-weight:600;color:var(--muted);font-size:10.5px;letter-spacing:.05em;text-transform:uppercase;margin-top:3px}
.add-btn{background:var(--ink);color:var(--bg);border:0;border-radius:999px;padding:10px 14px;font-weight:800;cursor:pointer;white-space:nowrap}
.permalink{font-size:12.5px;font-weight:700;color:var(--muted);text-decoration:none}
.permalink:hover{color:var(--accent)}
.empty{grid-column:1/-1;text-align:center;padding:48px 20px;border:1px dashed var(--line);border-radius:20px;color:var(--muted);background:var(--card)}
.no-results{display:none;text-align:center;padding:40px 20px;border:1px dashed var(--line);border-radius:20px;color:var(--muted);background:var(--card);margin-top:24px}
/* ---------- Curating the show (show setup photos, not sale pieces) ---------- */
.show-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.show-card{margin:0;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;scroll-margin-top:90px}
.show-card img{width:100%;height:240px;object-fit:cover;display:block}
.show-card figcaption{padding:14px 16px 16px;font-size:14px;color:var(--muted);line-height:1.5}
.show-card figcaption strong{display:block;color:var(--ink);font-family:"Cormorant Garamond",serif;font-size:20px;line-height:1.15;margin-bottom:4px}
.show-card figcaption .show-tag{display:inline-block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;padding:5px 8px;border-radius:999px;background:var(--chip);color:var(--ink);margin-bottom:8px}
@media(max-width:900px){.show-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.show-grid{grid-template-columns:1fr}.show-card img{height:220px}}
/* ---------- Comments page (the guestbook, grown up: comments are sent to Trevor
   through a Netlify form, and also kept on the visitor's own device) ---------- */
.guestbook{margin-top:28px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px;scroll-margin-top:84px}
.guestbook h3{font-family:"Cormorant Garamond",serif;font-size:28px;line-height:1.1;margin:0 0 6px}
.guestbook .gb-note{color:var(--muted);font-size:14px;margin:0;max-width:640px}
.gb-form{display:grid;grid-template-columns:220px 1fr;gap:12px;margin-top:16px}
.gb-form label{display:block;font-size:12px;letter-spacing:.07em;text-transform:uppercase;font-weight:800;color:var(--muted);margin-bottom:6px}
.gb-form input,.gb-form textarea{width:100%;border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:12px;padding:11px 12px}
.gb-form textarea{resize:vertical;min-height:74px}
.gb-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
.gb-list{list-style:none;margin:20px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}
.gb-item{border:1px solid var(--line);border-radius:14px;padding:13px 15px;background:var(--card2)}
.gb-item b{font-size:15px}
.gb-item time{color:var(--muted);font-size:12px;font-weight:700;margin-left:8px}
.gb-item p{margin:5px 0 0;color:var(--muted);font-size:14.5px;white-space:pre-wrap;overflow-wrap:break-word}
.gb-empty{color:var(--muted);font-size:14.5px;margin:16px 0 0}
@media(max-width:620px){.gb-form{grid-template-columns:1fr}}
/* ---------- Combined pricing / contact / comments block (Trevor, 2026-10-31):
   the pricing guide shrunk, a contact form, and the comments form together in
   one compact block under New entries (they used to be full sections further
   down the page). Plus per-piece comments in the piece window. ---------- */
.combo{display:grid;grid-template-columns:1.05fr 1fr 1fr;gap:18px;align-items:start}
.combo-panel{background:color-mix(in srgb,var(--bg) 64%,transparent);border:1px solid color-mix(in srgb,var(--line) 65%,transparent);border-radius:18px;padding:18px 20px;backdrop-filter:blur(7px) saturate(1.15);-webkit-backdrop-filter:blur(7px) saturate(1.15);scroll-margin-top:84px}
.combo-panel h3{font-family:"Cormorant Garamond",serif;font-size:24px;line-height:1.1;margin:0 0 6px}
.combo-panel .sub{color:var(--muted);font-size:13.5px;margin:0}
.combo .gb-form{grid-template-columns:1fr;margin-top:12px}
.mini-rows{margin-top:12px;border-top:1px solid var(--line)}
.mini-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:5px 0;border-bottom:1px solid var(--line);font-size:13.5px}
.mini-row .sz{font-weight:700}
.mini-row .sz span{display:block;font-weight:400;color:var(--muted);font-size:11px}
.mini-row .amt{font-family:"Cormorant Garamond",serif;font-size:17px;font-weight:600;white-space:nowrap}
.mini-row .flag{font-size:9.5px;padding:3px 6px}
@media(max-width:1100px){.combo{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.combo-panel{backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(max-width:700px){.combo{grid-template-columns:1fr}}
.piece-comments{margin-top:22px;border-top:1px solid var(--line);padding-top:16px}
.piece-comments h4{font-family:"Cormorant Garamond",serif;font-size:21px;line-height:1.1;margin:0 0 4px}
.pc-note{color:var(--muted);font-size:13px;margin:0}
.field input{width:100%;border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:12px;padding:11px 12px}
.gb-piece{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--accent);margin-left:8px}
/* ---------- Clothing & Apparel (items added as Trevor sends them) ---------- */
.apparel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.apparel-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;scroll-margin-top:90px}
.apparel-card img{width:100%;height:280px;object-fit:cover;display:block;background:#171310}
.apparel-card img.apparel-img2{height:230px;border-top:1px solid var(--line)}
.apparel-body{padding:16px 16px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.apparel-body h4{font-family:"Cormorant Garamond",serif;font-size:23px;line-height:1.08;margin:0}
.apparel-body p{color:var(--muted);font-size:14px;margin:0}
.apparel-body .apparel-tag{display:inline-block;align-self:flex-start;font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;padding:5px 8px;border-radius:999px;background:var(--chip);color:var(--ink)}
.apparel-meta{margin-top:auto;padding-top:10px;font-size:12.5px;font-weight:700;color:var(--muted);border-top:1px solid var(--line)}
.apparel-empty{border:1px dashed var(--line);border-radius:20px;background:var(--card);padding:36px 26px;text-align:center;color:var(--muted)}
.apparel-empty strong{display:block;font-family:"Cormorant Garamond",serif;font-size:27px;line-height:1.15;color:var(--ink);margin-bottom:8px}
.apparel-empty p{margin:0 auto;max-width:520px;font-size:14.5px}
.apparel-statement{margin:0 0 22px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:26px 28px;text-align:center}
.apparel-statement blockquote{margin:0;font-family:"Cormorant Garamond",serif;font-size:clamp(23px,2.8vw,32px);line-height:1.35;font-weight:500}
.apparel-statement figcaption{margin-top:12px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:var(--muted)}
@media(max-width:900px){.apparel-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.apparel-grid{grid-template-columns:1fr}}
/* ---------- Pricing / info (unchanged sections) ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.panel{border-radius:24px;padding:28px;border:1px solid var(--line)}
.panel.phys{background:linear-gradient(160deg,#f7e8d2,#fff8ec);color:#221a12}
.panel.digi{background:linear-gradient(160deg,#123a37,#1e4d4a);color:#eaf6f3;border-color:#1e4d4a}
@media(prefers-color-scheme:dark){.panel.phys{background:#2b2116;color:#f5e9d6}.panel.digi{background:#15312e}}
.panel h3{font-family:"Cormorant Garamond",serif;font-size:30px;margin:0 0 10px}
.panel ul{margin:14px 0 0;padding-left:18px}.panel li{margin:7px 0}
.badge.digital{background:#dbece9;color:#174a45}
.badge.physical{background:#f6e2c8;color:#7a3b12}
@media(prefers-color-scheme:dark){.badge.digital{background:#1e3a36;color:#9ad1c6}.badge.physical{background:#3d2c18;color:#f0c48a}}
.about{display:grid;grid-template-columns:.9fr 1.1fr;gap:28px;align-items:center}
.about-art{border-radius:24px;overflow:hidden;border:1px solid var(--line)}
.about-art img{width:100%;height:420px;object-fit:cover;display:block}
.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.info{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:20px}
.info h4{margin:0 0 8px;font-size:16px}.info p{margin:0;color:var(--muted);font-size:14.5px}
.cta-band{background:var(--ink);color:var(--bg);border-radius:26px;padding:34px;display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap}
.cta-band h3{font-family:"Cormorant Garamond",serif;font-size:34px;margin:0 0 6px}.cta-band p{opacity:.75;margin:0;max-width:520px}
.cta-band .btn{background:var(--bg);color:var(--ink);border-color:var(--bg)}
.pay-band{background:var(--card);border:1px solid var(--line);border-radius:26px;padding:26px 34px;display:flex;gap:26px;align-items:center;flex-wrap:wrap;margin-top:20px}
.pay-band h3{font-family:"Cormorant Garamond",serif;font-size:30px;margin:0 0 6px}
.pay-band p{color:var(--muted);margin:0;max-width:520px}
.pay-band img{width:150px;height:150px;display:block;border-radius:14px;background:#fff;padding:8px;border:1px solid var(--line)}
footer{padding:28px 0 40px;color:var(--muted);font-size:13.5px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid var(--line)}
.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.pricing-card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:22px}
.pricing-card .num{font-family:"Cormorant Garamond",serif;font-size:32px;color:var(--accent);line-height:1}
.pricing-card h4{margin:8px 0 6px;font-size:17px}.pricing-card p{margin:0;color:var(--muted);font-size:14.5px}
.pricing-card ul{margin:10px 0 0;padding-left:18px;color:var(--muted);font-size:14px}.pricing-card li{margin:5px 0}
.pricing-note{margin-top:16px;border:1px solid var(--line);background:var(--card2);border-radius:16px;padding:16px 18px;color:var(--muted);font-size:14.5px}
.pricing-note strong{color:var(--ink)}
.price-list{margin-top:20px;background:var(--card);border:1px solid var(--line);border-radius:20px;overflow:hidden}
.price-list-head{padding:20px 22px 6px}.price-list-head h3{font-family:"Cormorant Garamond",serif;font-size:28px;margin:0 0 6px}.price-list-head p{margin:0;color:var(--muted);font-size:14.5px;max-width:700px}
.price-rows{padding:10px 22px 14px}
.price-row-item{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}
.price-row-item:last-child{border-bottom:0}
.price-row-item .size{font-weight:800}
.price-row-item .size span{display:block;font-weight:600;color:var(--muted);font-size:12.5px}
.price-row-item .amount{font-family:"Cormorant Garamond",serif;font-size:24px;font-weight:700;white-space:nowrap}
.flag{font-size:11px;letter-spacing:.05em;text-transform:uppercase;font-weight:800;padding:5px 8px;border-radius:999px;background:#f6e2c8;color:#7a3b12;white-space:nowrap}
.flag.guide{background:var(--chip);color:var(--muted)}
@media(prefers-color-scheme:dark){.flag{background:#3d2c18;color:#f0c48a}}
/* Drawer & modal */
.overlay{position:fixed;inset:0;background:rgba(15,12,10,.55);z-index:60;opacity:0;pointer-events:none;transition:.2s}
.overlay.open{opacity:1;pointer-events:auto}
.drawer{position:fixed;top:0;right:calc(clamp(100px,25vw,380px) * 0.9);height:100vh;height:100dvh;width:min(420px,calc(100vw - clamp(100px,25vw,380px) * 0.9 - 32px));background:var(--bg);z-index:70;transform:translateX(105%);transition:transform .25s, visibility .25s;visibility:hidden;pointer-events:none;display:flex;flex-direction:column;border-left:1px solid var(--line);overflow-y:auto}
.drawer.open{transform:none;visibility:visible;pointer-events:auto}
.drawer-head{position:sticky;top:0;background:var(--bg);z-index:1;padding:20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}
.drawer-head h3{font-family:"Cormorant Garamond",serif;font-size:28px;margin:0}
.icon-btn{width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:var(--card);cursor:pointer;font-size:18px;color:var(--ink)}
.drawer-items{flex:none;overflow:visible;padding:16px 20px;display:flex;flex-direction:column;gap:14px}
.cart-item{display:flex;gap:12px;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:10px}
.cart-thumb{width:64px;height:80px;border-radius:10px;overflow:hidden;flex:none;background:#171310}
.cart-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.cart-item b{display:block;line-height:1.2}.cart-item small{color:var(--muted)}
.qty{display:flex;gap:8px;align-items:center;margin-top:6px}.qty button{width:26px;height:26px;border-radius:50%;border:1px solid var(--line);background:var(--bg);cursor:pointer;color:var(--ink)}
.remove{margin-left:auto;background:none;border:0;color:var(--accent);font-weight:700;cursor:pointer;align-self:flex-start}
.drawer-foot{padding:18px 20px;border-top:1px solid var(--line);background:var(--card)}
.row{display:flex;justify-content:space-between;margin:6px 0;font-size:14px}.row.total{font-size:18px;font-weight:800;border-top:1px solid var(--line);padding-top:10px;margin-top:10px}
.note{font-size:12.5px;color:var(--muted)}
.checkout{width:100%;margin-top:12px;justify-content:center}
dialog{border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:24px;padding:0;max-width:min(1120px,calc(100vw - 24px));width:calc(100vw - 24px);box-shadow:var(--shadow)}
dialog::backdrop{background:rgba(15,12,10,.6)}
.modal-in{display:grid;grid-template-columns:1fr 1fr;max-height:88vh;max-height:88dvh;overflow:auto}
.modal-art{background:#14100d;display:grid;place-items:center;position:relative;padding:16px}
/* Old-browser fallback: where the native dialog pop-up is unavailable (older
   iPhone systems), the piece window opens as a plain fixed layer instead of
   silently doing nothing when a piece is tapped. */
.modal.no-native{position:fixed;inset:0;margin:auto;height:fit-content;max-height:94vh;max-height:94dvh;z-index:150;overflow:auto}
/* Entire border (Trevor): an opened photo is sized by its own shape, never stretched
   to fill its box, and wears a light mat frame — so the whole picture and its entire
   edge are always visible, never cropped or lost against the dark panel. */
.modal-art img{width:auto;height:auto;max-width:100%;max-height:88vh;max-height:88dvh;object-fit:contain;display:block;cursor:zoom-in;border:5px solid #f5efe3;outline:1px solid rgba(20,16,13,.55);box-sizing:border-box}
/* Full-screen viewing inside the piece detail view only (the main page never changes):
   the button — or tapping the photo itself — expands the photo to fill the screen via the
   Fullscreen API; if the browser refuses (e.g. a sandboxed frame), a fixed full-viewport
   fallback class takes over so the photo still fills the screen. */
.fs-btn{position:absolute;right:12px;bottom:12px;width:135px;height:36px;padding:0;border:0;border-radius:10px;background-image:url("assets/btn-fullscreen.png");background-size:100% 100%;background-position:center;color:transparent;font-weight:800;font-size:13px;cursor:pointer}
.fs-btn:hover{filter:brightness(1.12)}
.modal-art:fullscreen{background:#000}
.modal-art:fullscreen img{max-width:96vw;max-height:96vh;max-height:96dvh;cursor:zoom-out}
.modal-art.fs-fallback{position:fixed;inset:0;z-index:200;background:#000}
.modal-art.fs-fallback img{max-width:96vw;max-height:96vh;max-height:96dvh;cursor:zoom-out}
.modal-body{padding:26px}
.modal-body h3{font-family:"Cormorant Garamond",serif;font-size:34px;line-height:1;margin:8px 0}
.spec{border-top:1px solid var(--line);margin-top:16px}
.spec div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid var(--line);font-size:14px}
.spec dt{color:var(--muted);font-weight:600}.spec dd{margin:0;font-weight:700;text-align:right}
.field{margin-top:14px}.field label{display:block;font-size:12px;letter-spacing:.07em;text-transform:uppercase;font-weight:800;color:var(--muted);margin-bottom:6px}
.field select,.field textarea{width:100%;border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:12px;padding:11px 12px}
.field textarea{resize:vertical;min-height:64px}
.toast{position:fixed;left:calc((100vw - clamp(100px,25vw,380px) * 0.9) / 2);bottom:22px;transform:translate(-50%,80px);background:var(--ink);color:var(--bg);padding:12px 18px;border-radius:999px;font-weight:700;z-index:90;transition:.25s;box-shadow:var(--shadow);max-width:92vw;text-align:center}
.toast.show{transform:translate(-50%,0)}
/* The piece dialog is the ONE window that expands over the river (Trevor): when a
   visitor picks a picture — in the collection, or straight out of the river itself —
   the window centres on the whole screen and widens past the content column, over
   the river's strip. Page content still keeps clear of the river; only this opened
   window crosses it. */
@media(max-width:1000px){.cat-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}.about,.split{grid-template-columns:1fr}.info-grid,.pricing-grid{grid-template-columns:1fr}.modal-in{grid-template-columns:1fr}.modal-art img{max-height:46vh;max-height:46dvh}.nav a{display:none}.opening{grid-template-columns:1fr 280px}}
/* Turning the screen sideways (Trevor): on a phone held horizontally (a short,
   wide screen), an opened piece goes wide — photo and details side by side and
   the photo tall again — instead of the squashed single column. */
@media(orientation:landscape) and (max-height:540px){
  .modal-in{grid-template-columns:1.15fr .85fr}
  .modal-art img{max-height:88vh;max-height:88dvh}
  .modal-body{padding:18px 20px}
  /* …and the whole site swivels with the phone, not just the piece window
     (Trevor): tighter sections, wider grids, videos kept inside the fold. */
  .section{padding:30px 0}
  .topbar-in{padding-top:8px;padding-bottom:8px}
  .grid{grid-template-columns:repeat(3,1fr)}
  .cat-grid{grid-template-columns:repeat(4,1fr)}
  .tour video{max-height:80vh;max-height:80dvh}
  .opening{padding-top:14px;padding-bottom:20px}
  .mission{padding-top:20px}
}
@media(max-width:620px){.cat-grid{grid-template-columns:repeat(2,1fr)}.opening{grid-template-columns:1fr;padding:16px 12px 24px}.tour{max-width:340px;width:100%;margin:0 auto}.tour video{max-height:none}.tour.wide{max-width:none}.tour2-wrap{padding:0 12px 24px}}
@media(max-width:560px){.grid{grid-template-columns:1fr}.wrap{padding:0 16px}.topbar-in{padding:12px 16px}.cat-grid{grid-template-columns:1fr 1fr}.cat-thumbs img{height:58px}}
/* ---------- Whole-page backdrop: a long canvas with Trevor's pictures scattered across it like paper prints ---------- */
body{position:relative}
.site-backdrop{position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;overflow:hidden;background:url(assets/banner-backdrop-long.jpg) center top/100% auto repeat-y,repeating-linear-gradient(0deg,rgba(43,32,18,.06) 0 1px,transparent 1px 4px),repeating-linear-gradient(90deg,rgba(255,248,230,.05) 0 1px,transparent 1px 4px),repeating-linear-gradient(0deg,rgba(255,248,230,.03) 0 2px,transparent 2px 9px),repeating-linear-gradient(90deg,rgba(43,32,18,.04) 0 2px,transparent 2px 9px),linear-gradient(160deg,#77592f 0%,#5d4c2c 34%,#47572f 68%,#35462a 100%)}
.site-backdrop img{position:absolute;height:auto;object-fit:cover;background:transparent;padding:0;border:0;border-radius:0;box-shadow:none;filter:saturate(1.08)}
.site-backdrop::after{content:"";position:absolute;inset:0;background:color-mix(in srgb,var(--bg) 45%,transparent)}
@media (prefers-color-scheme:dark){.site-backdrop::after{background:color-mix(in srgb,var(--bg) 45%,transparent)}}
/* The opening section no longer sits on flat black — the photo mesh shows through around the scrolling rows and tour panels */
.backdrop{background:transparent}
.mission{margin:24px auto 0;padding:34px clamp(18px,4vw,32px) 30px;background:linear-gradient(165deg,rgba(29,20,13,.68),rgba(29,20,13,.56));border:1px solid rgba(245,239,227,.18);border-radius:24px;box-shadow:0 18px 40px rgba(20,14,10,.28);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.strip{background:color-mix(in srgb,var(--bg2) 84%,transparent)}
/* Headings and other text that sit directly on the backdrop get frosted wall-label plates, like labels on the gallery wall */
.section-head,.group-head{background:color-mix(in srgb,var(--bg) 64%,transparent);border:1px solid color-mix(in srgb,var(--line) 65%,transparent);border-radius:18px;padding:18px 20px;backdrop-filter:blur(7px) saturate(1.15);-webkit-backdrop-filter:blur(7px) saturate(1.15)}
footer{background:color-mix(in srgb,var(--bg) 60%,transparent);border:1px solid color-mix(in srgb,var(--line) 65%,transparent);border-radius:18px;backdrop-filter:blur(7px) saturate(1.15);-webkit-backdrop-filter:blur(7px) saturate(1.15);padding-left:20px;padding-right:20px;margin-bottom:22px}
.count{display:inline-block;background:color-mix(in srgb,var(--bg) 64%,transparent);border:1px solid color-mix(in srgb,var(--line) 65%,transparent);border-radius:999px;padding:5px 12px;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
@media(max-width:620px){.site-backdrop img{padding:0}}
@media print{.site-backdrop{display:none}}
/* ---------- MAJOR TM logo underlay + opening layout: videos down the left, music after the videos ---------- */
/* Trevor's "MAJOR TM" tag — the blue marker script ONLY, as pure line work: the cream
   ground of the cutout keyed away to full transparency (assets/major-tm-logo-lines.png),
   no lining, panel, border, shadow or halo on the layer or the image, so the script sits
   like a sticker directly on the scattered backdrop photos, which show through around and
   inside the lettering — as a FIXED background layer pinned near the top of the screen: it stays in
   place while the rest of the page scrolls past it, layered OVER the scattered backdrop
   photos and the right-side river (both z-index:-1 and earlier in the page, so this layer
   paints above them) but UNDER all page content, which scrolls over it. It lives directly
   under <body>, outside the opening section, so the fixed pin holds for the whole page,
   not just the opening.
   Corrected 2026-10-29: at full-spread size with cover-cropping the mark looked CUT OFF.
   Per Trevor's remedy it is shrunk a bit and moved up a little (top: 96px → 64px), and it
   now uses a tighter crop of the cutout (the whole mark, keyed to line work only in
   assets/major-tm-logo-lines.png) shown at its natural aspect with NO cropping,
   sized to fit the screen on every width — phone portrait included — so every letter of
   the mark stays visible with breathing room while the page scrolls by in every section.
   Refined again the same day, per Trevor ("shrink it or move it up a little — probably a
   combination of the two"): shrunk further (max 620px wide, 60vh) and moved up (top 64px
   → 36px), and the layer is confined to the content column — its right edge stops at the
   river's gutter — so the whole mark sits inside the left three quarters of the page and
   the river runs clear beside it, uncovered, in every section. */
.backdrop{isolation:isolate}
.logo-underlay{position:fixed;top:36px;left:0;right:calc(clamp(100px,25vw,380px) * 0.9);z-index:-1;pointer-events:none;display:flex;justify-content:center}
.logo-underlay img{display:block;width:min(92%,620px,60vh);height:auto;opacity:.55}
.backdrop>*:not(.logo-underlay){position:relative;z-index:1}
@media print{.logo-underlay{display:none}}
/* The title card now spans the opening on its own; below it, the tour videos run down the
   LEFT column and the songs sit in their own panel beside them — videos first, music after.
   The photo waterfall (river column) stays fixed down the right side of the screen as before. */
.opening{display:block}
/* Show poster heading the opening, in place of the old title card (Trevor, 2026-10-31) */
.opening-poster{margin:0;text-align:center}
.opening-poster .poster-open{display:block;width:100%;padding:0;border:0;background:none;cursor:pointer}
.opening-poster img{display:block;width:100%;height:auto;border-radius:14px;box-shadow:var(--shadow)}
.opening-poster figcaption{margin-top:8px;font-size:12.5px;color:#f5efe3;opacity:.75}
/* Mission + poster combined into one block at the top (Trevor, 2026-10-31) */
.mission-flex{display:grid;grid-template-columns:300px 1fr;gap:28px;align-items:center}
.mission-words{margin:0}
@media (max-width:860px){.mission-flex{grid-template-columns:1fr}.opening-poster{max-width:300px;margin:0 auto}}

.backdrop-title{background:color-mix(in srgb,var(--bg) 93%,transparent)}
.opening-media{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:22px;margin-top:0;align-items:start}
.video-column{display:flex;flex-direction:column;gap:22px;min-width:0}
.video-column .tour{width:100%;margin:0}
.video-column .tour video{max-height:560px}
.video-column .tour.wide video{max-height:338px}
.music-panel{background:var(--bg);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);padding:19px 21px 21px}
.music-heading{font-family:"Cormorant Garamond",serif;font-size:clamp(21px,2.3vw,26px);line-height:1.05;margin:4px 0 2px;font-weight:600}
.music-panel .song:first-of-type{margin-top:14px}
@media(max-width:820px){
  .opening-media{grid-template-columns:1fr}
  .video-column .tour{max-width:520px;margin:0 auto}
  .video-column .tour.wide{max-width:none}
  .music-panel{padding:22px 18px 24px}
}
/* Standing layout constraint (Trevor): the opening audio-visual area — the title card, the
   video column and the songs panel — must live within the LEFT three quarters of the page
   and never cover the fixed right-side photo waterfall, which keeps running uncovered.
   That separation is now enforced for the WHOLE page by the body right-padding rule in
   the river section above (the river's width plus a gutter is reserved at every width),
   so the opening needs no extra inset of its own. */
/* The Artist: closing sign-off block with Trevor's self-portrait (piece 22) */
.artist-flex{display:flex;gap:26px;align-items:flex-start;flex-wrap:wrap}
.artist-figure{flex:0 1 320px;margin:0;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.artist-figure img{width:100%;height:auto;display:block}
.artist-figure figcaption{padding:14px 16px 16px;font-size:14px;color:var(--muted);line-height:1.5}
.artist-figure figcaption strong{display:block;color:var(--ink);font-family:"Cormorant Garamond",serif;font-size:20px;line-height:1.15;margin-bottom:4px}
.artist-figure figcaption .show-tag{display:inline-block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;padding:5px 8px;border-radius:999px;background:var(--chip);color:var(--ink);margin-bottom:8px}
.artist-text{flex:1 1 300px;min-width:260px}
.artist-name{font-family:"Cormorant Garamond",serif;font-style:italic;font-size:21px;color:var(--muted);margin:2px 0 0}
.artist-figure figcaption .artist-alias{display:block;font-family:"Cormorant Garamond",serif;font-style:italic;font-size:17px;color:var(--muted);margin-bottom:6px}
.mail-band{background:var(--card);border:1px solid var(--line);border-radius:26px;padding:28px 30px;display:flex;justify-content:space-between;gap:22px;align-items:center;flex-wrap:wrap}
.mail-band h3{font-family:"Cormorant Garamond",serif;font-size:27px;line-height:1.1;margin:0 0 6px}
.mail-band p{margin:0;color:var(--muted);font-size:14.5px;max-width:520px}
.mail-form{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.mail-form input{font:inherit;font-size:15px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--ink);min-width:220px}
.mail-note{width:100%;font-size:12.5px;color:var(--muted)}

/* ============ Piece pages (piece-N.html) ============ */
.piece-page{max-width:920px}
.piece-back{margin:24px 0 14px;font-size:14.5px;color:var(--muted)}
.piece-back a{font-weight:700}
.piece-body{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin:18px 0 8px;box-shadow:var(--shadow)}
.piece-body h1{font-family:"Cormorant Garamond",serif;font-size:clamp(30px,5vw,44px);line-height:1.05;margin:12px 0 8px}
.piece-desc{color:var(--muted);font-size:16.5px;margin:0 0 4px}
.piece-form{margin-top:20px;border-top:1px solid var(--line);padding-top:18px}
.piece-form h3{font-family:"Cormorant Garamond",serif;font-size:24px;margin:0 0 6px}
.piece-nav{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin:20px 0 6px;font-size:14.5px}
.piece-nav a{font-weight:700}
.piece-nav .pn-mid{font-weight:600}
.piece-foot{margin:30px 0 12px;color:var(--muted);font-size:13.5px;text-align:center}
@media(max-width:640px){.piece-body{padding:18px}}


/* Games strip on piece pages (Trevor, 2026-11-04) */
.games-strip{margin:22px 0;padding:18px 20px;border:1px solid rgba(128,120,105,.35);border-radius:16px;background:rgba(128,120,105,.06)}
.games-strip h3{margin:0 0 12px;font-size:17px}
.gs-row{display:flex;gap:22px;flex-wrap:wrap;align-items:flex-start}
.gs-puzzle{display:flex;flex-direction:column;gap:8px;text-decoration:none;font-weight:700;max-width:150px}
.gs-puzzle img{width:132px;height:132px;border-radius:12px;display:block}
.gs-tones{display:flex;flex-direction:column;gap:8px;text-decoration:none;font-weight:700;max-width:180px}
.gs-tones-art{display:flex;gap:5px;flex-wrap:wrap;width:132px}
.gs-tones-art i{width:40px;height:40px;border-radius:8px;background-size:cover;background-position:center;display:block}
.gs-tones-art i:nth-child(1){background-image:url(piece-79.jpg)}
.gs-tones-art i:nth-child(2){background-image:url(piece-257.jpg)}
.gs-tones-art i:nth-child(3){background-image:url(piece-189.jpg)}
.gs-tones-art i:nth-child(4){background-image:url(piece-184.jpg)}
.gs-tones-art i:nth-child(5){background-image:url(piece-231.jpg)}
.gs-tones-art i:nth-child(6){background-image:url(piece-230.jpg)}
.gs-note{color:#6f675c;font-size:13.5px;margin:12px 0 0}

/* Backdrop on piece pages (Trevor, 2026-11-04): the home page's scattered-photo
   canvas and MAJOR TM mark live in this stylesheet already; these overrides put
   the mark mid-screen and centred on the full width — piece pages have no river
   beside them — always underneath the page content. */
body{position:relative}
.logo-underlay{top:50%;right:0;transform:translateY(-50%)}
@media(max-width:400px){.logo-underlay{right:0}}
@media print{.logo-underlay{display:none}}

/* ==== Corner menu (hamburger) — added 2026-11-04 at Trevor's request.
   ONE fixed menu in the upper-left corner on every page: stays while
   scrolling, drops down, with staggered submenus (Games, Categories)
   that fly out to the right on wide hover screens and expand on tap.
   Names only — no thumbnails. Pure CSS/JS, no assets. ==== */
.hm-btn{position:fixed;top:12px;left:12px;z-index:100;width:44px;height:44px;border-radius:12px;background:rgba(20,16,13,.85);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(201,162,39,.55);box-shadow:0 6px 18px rgba(0,0,0,.28);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;padding:0}
.hm-btn span{display:block;width:20px;height:2px;border-radius:2px;background:#f5efe3}
.hm-btn:focus-visible{outline:2px solid var(--gold,#c49a3c);outline-offset:2px}
.hm-panel{position:fixed;top:64px;left:12px;z-index:100;width:min(284px,calc(100vw - 24px));max-height:calc(100vh - 84px);max-height:calc(100dvh - 84px);overflow-y:auto;background:rgba(23,19,16,.97);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(201,162,39,.45);border-radius:14px;box-shadow:0 18px 40px rgba(0,0,0,.4);padding:8px;display:none}
.hm-panel.open{display:block}
.hm-panel a,.hm-parent{display:block;width:100%;box-sizing:border-box;padding:9px 12px;color:#f2ece1;text-decoration:none;font:600 15px/1.3 Manrope,system-ui,sans-serif;border-radius:8px;background:none;border:0;text-align:left;cursor:pointer}
.hm-panel a:hover,.hm-parent:hover{background:rgba(245,239,227,.09)}
.hm-panel a:focus-visible,.hm-parent:focus-visible{outline:2px solid var(--gold,#c49a3c);outline-offset:-2px}
.hm-parent{display:flex;align-items:center;justify-content:space-between;gap:8px}
.hm-caret{color:#c9a227;font-size:12px;transition:transform .18s}
.hm-item.sub-open > .hm-parent .hm-caret{transform:rotate(90deg)}
.hm-sub{display:none;margin:2px 0 4px 10px;border-left:2px solid rgba(201,162,39,.4);padding-left:4px}
.hm-item.sub-open > .hm-sub{display:block}
.hm-sub a{font-size:14px;font-weight:500;padding:7px 10px}
@media (hover:hover) and (min-width:900px){
  .hm-panel{overflow:visible}
  .hm-item{position:relative}
  .hm-item:hover > .hm-sub,.hm-item:focus-within > .hm-sub{display:block;position:absolute;left:100%;top:-6px;width:250px;max-height:calc(100vh - 96px);max-height:calc(100dvh - 96px);overflow-y:auto;margin:0;padding:8px;background:rgba(23,19,16,.98);border:1px solid rgba(201,162,39,.45);border-radius:12px;box-shadow:0 18px 40px rgba(0,0,0,.4);z-index:101}
  .hm-item:hover > .hm-parent .hm-caret,.hm-item:focus-within > .hm-parent .hm-caret{transform:rotate(90deg)}
}
@media print{.hm-btn,.hm-panel{display:none!important}}
@media (prefers-reduced-motion: reduce){.hm-caret{transition:none}}
/* S24 safeguard containment (piece pages). Every rule below is scoped to
   html.wide-guard, a class the guard IIFE at the end of piece-page.js adds ONLY
   after detecting a forced-wide layout on a small touch screen; --truew is the
   screen's true width in px, set by the same script. None of these rules can
   match on a normally-rendering device. (No river on piece pages: logo,
   backdrop, menu panel, overflow only.) */
html.wide-guard{overflow-x:clip}
html.wide-guard .logo-underlay{left:0;right:auto;width:var(--truew)}
html.wide-guard .site-backdrop{width:var(--truew)}
html.wide-guard .hm-panel{max-width:calc(var(--truew) - 16px)}
