/* Benny Graves — home view: The Living Poster (from home-explore/3-living-poster, adapted for the connected site).
   A two-ink screenprint gig poster. Day: paper white, cap-orange + key black. Night: black stock, luminous cap-orange +
   bone. Texture and print effects touch the PAPER and the LETTERING only — never his photo or the cover art (those are
   plain <img>s on a plain print border). Every rule is scoped under .view-home. The site nav belongs to the shell. */

.view-home {
  --paper: #efeae0;
  --paper-2: #e6e0d3;
  --ink: #181512;
  --ink-soft: rgba(24, 21, 18, .62);
  --spot: #ff4a1f;          /* the orange of his cap, as a fluorescent screenprint ink */
  --spot-text: #c7300d;     /* spot ink for small text on paper (contrast) */
  --plate: #181512;         /* the halftone shadow plate under the lettering */
  --border: #fbf9f4;        /* the white border of a photo print */
  --tape: rgba(236, 228, 206, .9);
  --tape-edge: rgba(120, 100, 60, .18);
  --shadow: rgba(40, 28, 16, .34);
  --m: 48px;
  --strip-top: 14px;        /* set by home.js from BG.site.navHeight() */
  --strip-h: 34px;
  --home-css: 1;            /* home.js waits for this before laying anything out (WebKit may run scripts earlier) */
  --display: 'Anybody', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --grain: url(assets/grain-day.png);
  /* the plaques' wall: a sheet of black stock pasted over the poster's lower edge (dark by day and by night) */
  --wall: #1c1814; --wall-ink: #efe5d1; --wall-soft: rgba(239, 229, 209, .64); --wall-spot: #ff5a2a;
  --wall-grain: url(assets/grain-night.png); --wall-shadow: rgba(40, 28, 16, .45);
  position: relative; display: block;
  color: var(--ink); font-family: var(--display); font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  color-scheme: light;
}
html[data-theme="night"] .view-home {
  --paper: #0e0d0c;
  --paper-2: #181614;
  --ink: #f0e8d8;
  --ink-soft: rgba(240, 232, 216, .66);
  --spot: #ff5a2a;
  --spot-text: #ff6a3d;
  --plate: #efe5d1;
  --border: #ece6d9;
  --tape: rgba(212, 202, 178, .8);
  --tape-edge: rgba(0, 0, 0, .25);
  --shadow: rgba(0, 0, 0, .7);
  --grain: url(assets/grain-night.png);
  --wall: #16120f; --wall-shadow: rgba(0, 0, 0, .75);
  color-scheme: dark;
}

.view-home *, .view-home *::before, .view-home *::after { box-sizing: border-box }
/* boot: the pieces are invisible until home.js pastes them up (a 2.5 s failsafe shows them regardless) */
.view-home.boot .print, .view-home.boot [data-print], .view-home.boot .reg, .view-home.boot .rise, .view-home.boot-st .sticker { opacity: 0; animation: hm-boot-safe 0s 2.5s forwards }
@keyframes hm-boot-safe { to { opacity: 1 } }
.view-home a { color: inherit }
.view-home button { font: inherit; color: inherit }
.view-home .sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.view-home :focus-visible { outline: 3px solid var(--spot); outline-offset: 3px }

/* ============ the poster ============ */
.view-home .poster {
  position: relative; overflow: clip; background: var(--grain) 0 0 / 320px 320px repeat, var(--paper);
  touch-action: manipulation;           /* no double-tap zoom: a double tap re-pastes the poster */
}
.view-home .sheet { position: relative; height: var(--sheet-h, 100svh); min-height: 520px }
.view-home .paper { position: absolute; inset: 0; pointer-events: none }
.view-home .paper i { position: absolute; inset: 0; display: block }
.view-home .paste { background: url(assets/paste.png) 0 0 / 100% 100% no-repeat; opacity: .55 }
html[data-theme="night"] .view-home .paste { opacity: 0 }
.view-home .crease-v { left: 50% !important; width: 10px; margin-left: -5px; background: linear-gradient(90deg, transparent, rgba(60, 40, 20, .055) 45%, rgba(255, 255, 255, .5) 55%, transparent) }
.view-home .crease-h { top: 55% !important; height: 10px; margin-top: -5px; background: linear-gradient(180deg, transparent, rgba(60, 40, 20, .05) 45%, rgba(255, 255, 255, .45) 55%, transparent) }
html[data-theme="night"] .view-home .crease-v { background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .5) 45%, rgba(255, 255, 255, .05) 55%, transparent) }
html[data-theme="night"] .view-home .crease-h { background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .5) 45%, rgba(255, 255, 255, .045) 55%, transparent) }

/* small poster copy, printed in key ink */
.view-home .strip {
  position: absolute; margin: 0; left: var(--m); right: var(--m); top: var(--strip-top); height: var(--strip-h);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; white-space: nowrap; overflow: hidden;
  padding: 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  text-transform: uppercase; font-size: 13px; letter-spacing: .14em; font-weight: 800; font-variation-settings: 'wdth' 82;
}
.view-home .strip b { color: var(--spot); font-weight: 900 }
.view-home .strip-date { color: var(--spot-text) }

/* ============ pasted prints ============ */
.view-home .prints { position: absolute; inset: 0; pointer-events: none; z-index: 2 }
.view-home .print { position: absolute; margin: 0; left: 0; top: 0; will-change: transform }
.view-home .slap { position: absolute; inset: 0; transform-origin: 50% 50% }
.view-home .print-face {
  position: absolute; inset: 0; display: block; padding: var(--b, 14px); background: var(--border); pointer-events: auto;
  box-shadow: 0 .5px 0 rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .12), 0 12px 24px -18px var(--shadow);
  -webkit-touch-callout: none;
}
.view-home .print-face img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none }
.view-home .shade { position: absolute; inset: 2%; box-shadow: 0 30px 60px -10px var(--shadow); opacity: 0; display: block }
/* masking tape: opaque-ish, torn ends; it lifts a little when you touch it */
.view-home .tape {
  position: absolute; display: block; width: 30%; height: 7.5%; min-height: 18px; pointer-events: auto; cursor: pointer;
  transition: transform .26s cubic-bezier(.3, 1.5, .5, 1), box-shadow .26s ease;
}
.view-home .tape::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .25), transparent 40%, rgba(0, 0, 0, .05)), var(--tape);
  clip-path: polygon(0 8%, 4% 0, 7% 12%, 10% 2%, 90% 0, 93% 14%, 96% 3%, 100% 10%, 100% 92%, 96% 100%, 93% 88%, 89% 100%, 11% 98%, 7% 86%, 4% 100%, 0 90%);
  box-shadow: inset 0 0 0 1px var(--tape-edge);
}
.view-home .tape::after { content: ''; position: absolute; inset: -12px -4px } /* larger hit area for touch */
.view-home .tape-tl { left: -10%; top: 1.5%; width: 25%; transform: rotate(-36deg) }
.view-home .tape-tr { right: -10%; top: 1.5%; width: 25%; transform: rotate(36deg) }
.view-home .tape-a { left: 34%; top: -3.5%; width: 34%; transform: rotate(-4deg) }
.view-home .tape-b { left: 30%; bottom: -3%; width: 36%; transform: rotate(3deg) }
/* tall layout: BENNY sits right above the photo, so its tape goes on the side edges where a thumb can reach it */
.view-home.is-tall .tape-tl { left: -12%; top: 30%; transform: rotate(-78deg) }
.view-home.is-tall .tape-tr { right: -12%; left: auto; top: 58%; transform: rotate(82deg) }
.view-home.is-tall .tape-tl.lift { transform: rotate(-78deg) translate(-4px, -5px) rotate(-5deg) scale(1.05) }
.view-home.is-tall .tape-tr.lift { transform: rotate(82deg) translate(4px, -5px) rotate(5deg) scale(1.05) }
.view-home .tape.lift { box-shadow: 0 6px 10px -6px var(--shadow) }
.view-home .tape-tl.lift { transform: rotate(-36deg) translate(-4px, -5px) rotate(-5deg) scale(1.05) }
.view-home .tape-tr.lift { transform: rotate(36deg) translate(4px, -5px) rotate(5deg) scale(1.05) }
.view-home .tape-a.lift { transform: rotate(-4deg) translateY(-6px) rotate(-6deg) scale(1.05) }
.view-home .tape-b.lift { transform: rotate(3deg) translateY(6px) rotate(6deg) scale(1.05) }

/* ============ the physical letters ============ */
.view-home .type { position: absolute; inset: 0; z-index: 3; pointer-events: none }
.view-home .lt {
  position: absolute; left: 0; top: 0; pointer-events: auto; cursor: grab; will-change: transform;
  touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.view-home .lt.held { cursor: grabbing; z-index: 2 }
.view-home .lt > span {
  position: absolute; left: 0; top: 0; width: 100%;
  display: block; white-space: pre; line-height: 1; text-align: center; font-weight: 900; font-family: var(--display);
  text-box: trim-both cap alphabetic;
}
.view-home .lt-ink {
  color: var(--spot);
  -webkit-mask: url(assets/wear.png) var(--mx, 0) var(--my, 0) / 420px 420px repeat;
  mask: url(assets/wear.png) var(--mx, 0) var(--my, 0) / 420px 420px repeat;
}
.view-home .lt-plate {
  color: transparent; will-change: transform;
  background-image:
    radial-gradient(circle at center, var(--plate) 0 33%, transparent 37%),
    radial-gradient(circle at center, var(--plate) 0 33%, transparent 37%);
  background-size: var(--dot, 7px) var(--dot, 7px);
  background-position: 0 0, calc(var(--dot, 7px) / 2) calc(var(--dot, 7px) / 2);
  -webkit-background-clip: text; background-clip: text;
}
.view-home .meas { position: absolute; left: -10000px; top: 0; visibility: hidden; white-space: pre; font-family: var(--display); font-weight: 900; line-height: 1; pointer-events: none }

/* registration marks (misregistered while the poster prints) */
.view-home .reg { position: absolute; width: 26px; height: 26px; z-index: 1; pointer-events: none; display: block }
.view-home .reg b { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--ink) }
.view-home .reg b::before, .view-home .reg b::after { content: ''; position: absolute; background: var(--ink) }
.view-home .reg b::before { left: 50%; top: -6px; bottom: -6px; width: 1.5px; margin-left: -.75px }
.view-home .reg b::after { top: 50%; left: -6px; right: -6px; height: 1.5px; margin-top: -.75px }
.view-home .reg b + b { border-color: var(--spot) }
.view-home .reg b + b::before, .view-home .reg b + b::after { background: var(--spot) }

/* ============ the sticker ============ */
.view-home .sticker { position: absolute; left: 0; top: 0; width: 120px; height: 120px; z-index: 5; touch-action: none; cursor: grab; will-change: transform }
.view-home .sticker.free { cursor: grabbing; z-index: 8 }
.view-home .st-base, .view-home .st-flap { position: absolute; inset: 0; transform-origin: 0 0 }
.view-home .st-face {
  position: absolute; inset: 0; border-radius: 50%; background: var(--spot); color: #1a1310;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .22), 0 1px 1px rgba(0, 0, 0, .18);
  text-transform: uppercase; font-variation-settings: 'wdth' 70; line-height: .9;
}
.view-home .st-face::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(135deg, rgba(255, 255, 255, .28), transparent 42%) }
.view-home .st-face b { font-size: 2.6em; font-weight: 900; letter-spacing: -.02em }
.view-home .st-face span { font-size: .92em; font-weight: 900; letter-spacing: .06em }
.view-home .st-face em { font-style: normal; font-size: .62em; font-weight: 800; letter-spacing: .16em; margin-top: .35em; border-top: 2px solid currentColor; padding-top: .3em }
.view-home .st-flap { display: none; pointer-events: none }
.view-home .st-back {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 70% 30%, #fffdf8, #ece6da 70%, #d9d2c4);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25em;
  color: rgba(40, 32, 24, .55); text-transform: uppercase; font-size: .5em; letter-spacing: .12em; font-weight: 700; text-align: center;
}
.view-home .st-curl {
  position: absolute; width: 26%; height: 26%; right: 6%; bottom: 6%; pointer-events: none; display: block;
  background: linear-gradient(135deg, transparent 50%, #f4efe4 50%, #d8d0c0 78%, #c7beac);
  border-radius: 0 0 60% 0; box-shadow: -2px -2px 3px -2px rgba(0, 0, 0, .3);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.view-home .sticker.peeling .st-curl, .view-home .sticker.free .st-curl, .view-home .sticker.restuck .st-curl { display: none }
.view-home .sticker.free .st-face { box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .22), 0 18px 26px -10px var(--shadow) }

/* bottom of the first sheet: genres (each word a door into its room of the gallery) + actions */
.view-home .foot-strip { position: absolute; left: var(--m); right: var(--m); bottom: 26px; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 18px; z-index: 4 }
.view-home:not(.is-tall) .genres { flex-wrap: nowrap; white-space: nowrap }
.view-home .genres {
  margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 .5em;
  text-transform: uppercase; font-weight: 900; font-variation-settings: 'wdth' 64; font-size: clamp(18px, 2.1vw, 30px); letter-spacing: .02em; line-height: 1.05;
}
.view-home .genres b { color: var(--spot) }
.view-home .genres a { position: relative; text-decoration: none; background: linear-gradient(var(--spot), var(--spot)) 0 100% / 0 3px no-repeat; transition: background-size .2s ease }
.view-home .genres a::after { content: ''; position: absolute; inset: -12px -5px } /* ≥ 44 px to a thumb */
.view-home .genres a:hover, .view-home .genres a:focus-visible { background-size: 100% 3px }
.view-home .ctas { display: flex; gap: 10px; flex: none }
.view-home .btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border: 2.5px solid var(--ink); text-decoration: none;
  text-transform: uppercase; letter-spacing: .08em; font-size: 14px; font-weight: 850; font-variation-settings: 'wdth' 80; background: var(--paper);
  transition: transform .15s ease;
}
.view-home .btn:active { transform: translateY(1px) }
.view-home .btn-ink { background: var(--ink); color: var(--paper) }
.view-home .btn svg { width: 16px; height: 16px; fill: var(--spot) }
.view-home .hint {
  position: absolute; left: 0; top: 0; margin: 0; z-index: 4; pointer-events: none; white-space: nowrap;
  font-size: 13px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-variation-settings: 'wdth' 80; color: var(--spot-text);
  transition: opacity .5s ease;
}
.view-home .hint-touch { display: none }
@media (hover: none) { .view-home .hint-touch { display: inline } .view-home .hint-mouse { display: none } }
.view-home .hint.used { opacity: 0 }

/* ============ the studio's wall in miniature: a black-stock sheet pasted over the poster's lower edge ============ */
/* it (with the finder and the small print under it) rides up a little faster than the page: over the lettering */
.view-home .rise { position: relative; z-index: 6; will-change: transform; margin-bottom: calc(var(--rise-max, 0px) * -1) }
.view-home .wall { position: relative; z-index: 6; width: min(calc(100% - 2 * var(--m)), 1400px); margin: -10px auto 0; color: var(--wall-ink) }
.view-home .wall-shadow { position: absolute; inset: 0; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .3)) drop-shadow(0 18px 26px var(--wall-shadow)); pointer-events: none }
.view-home .wall-paper {
  position: absolute; inset: 0;
  background: radial-gradient(120% 60% at 50% 0%, rgba(255, 196, 132, .05), rgba(255, 196, 132, 0) 70%), var(--wall-grain) 0 0 / 320px 320px repeat, var(--wall);
  /* a torn top edge (it was ripped off a pad), straight cut sides */
  clip-path: polygon(0 7px, 2% 3px, 4.5% 8px, 7% 2px, 9% 6px, 12% 1px, 15% 7px, 17% 3px, 20% 8px, 23% 2px, 26% 6px, 28% 1px, 31% 5px, 34% 2px, 37% 8px, 40% 3px, 43% 6px, 46% 1px, 49% 7px, 52% 2px, 55% 6px, 58% 3px, 61% 8px, 64% 2px, 67% 5px, 70% 1px, 73% 7px, 76% 3px, 79% 6px, 82% 2px, 85% 8px, 88% 3px, 91% 6px, 94% 1px, 97% 7px, 100% 3px, 100% 100%, 0 100%);
}
.view-home .wall-in { position: relative; padding: clamp(30px, 3.4vw, 48px) clamp(20px, 3vw, 44px) clamp(44px, 5vw, 72px) }
/* one compact line of catalog facts, printed like the poster's top strip */
.view-home .facts {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 4px 14px; margin: 0; padding: 8px 0 7px;
  border-top: 2px solid var(--wall-ink); border-bottom: 2px solid var(--wall-ink);
  text-transform: uppercase; font-size: 12.5px; letter-spacing: .13em; font-weight: 800; font-variation-settings: 'wdth' 82; line-height: 1.25;
}
.view-home .facts b { color: var(--wall-spot); font-weight: 900 }
.view-home .facts i { font-style: normal; font-weight: 900; color: var(--wall-spot) }
/* a smaller genre (a single release so far) gets a quiet link under the six plaques instead of a plaque of its own */
.view-home .more-genres { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin: clamp(28px, 3.2vw, 44px) 0 0 }
.view-home .more-genres a {
  display: inline-flex; align-items: center; gap: .55em; min-height: 44px; padding: 0 18px; color: var(--wall-ink); text-decoration: none;
  border: 1.5px solid currentColor; text-transform: uppercase; font-size: 12.5px; letter-spacing: .13em; font-weight: 800; font-variation-settings: 'wdth' 82;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: color .2s ease, border-color .2s ease;
}
.view-home .more-genres a b { font-weight: 900; color: var(--wall-spot) }
.view-home .more-genres a i { font-style: normal; color: var(--wall-spot); transition: transform .2s ease }
@media (hover: hover) { .view-home .more-genres a:hover i { transform: translateX(3px) } }
.view-home .more-genres a:focus-visible { outline: 3px solid var(--wall-spot); outline-offset: 4px }
.view-home .choose { margin: clamp(26px, 3.4vw, 46px) 0 0; text-transform: uppercase; font-weight: 900; font-variation-settings: 'wdth' 60; font-size: clamp(38px, 6.2vw, 100px); line-height: .86; letter-spacing: .005em }
.view-home .choose span { display: block; color: var(--wall-ink) }
.view-home .choose em { display: block; font-style: normal; color: var(--wall-spot) }

/* five genre plaques, each under its own warm downlight */
.view-home .plaques {
  --cols: var(--n-row, 5); --gx: clamp(16px, 1.8vw, 28px); /* desktop: up to six in one row; more fill two even rows (set by home.js) */
  list-style: none; margin: clamp(30px, 3.6vw, 54px) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; column-gap: var(--gx); row-gap: clamp(30px, 3.4vw, 48px);
}
.view-home .hp { --pin-gap: clamp(30px, 3vw, 42px); position: relative; flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gx)) / var(--cols)); min-width: 0; padding-top: var(--pin-gap); isolation: isolate }
/* the light: a hot spot under the fitting, a soft cone, and a warm pool on the wall around the plaque */
.view-home .hp::before {
  content: ''; position: absolute; z-index: -1; left: -16%; right: -16%; top: -30px; bottom: -14%; pointer-events: none;
  background:
    radial-gradient(36px 22px at 50% 30px, rgba(255, 228, 182, .42), rgba(255, 214, 160, 0)),
    radial-gradient(ellipse 52% 48% at 50% 54%, rgba(255, 192, 122, .24), rgba(255, 172, 98, .1) 56%, rgba(255, 160, 80, 0) 82%);
}
.view-home .hp::after {
  content: ''; position: absolute; z-index: -1; left: -8%; right: -8%; top: -30px; height: calc(92% + 30px); pointer-events: none;
  background: radial-gradient(ellipse 44% 100% at 50% 30px, rgba(255, 214, 160, .17), rgba(255, 200, 140, .06) 48%, rgba(255, 200, 140, 0) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 44px); mask-image: linear-gradient(180deg, transparent 0, #000 44px);
}
.view-home .hp-pin { position: absolute; left: 50%; top: 0; width: 60px; height: 60px; margin: -24px 0 0 -30px; background: url(../gallery/assets/st-pin-night.webp) 0 0 / 100% 100% no-repeat; pointer-events: none }
html[data-theme="day"] .view-home .hp-pin { background-image: url(../gallery/assets/st-pin-day.webp) }
.view-home .hp-door { display: block; position: relative; color: inherit; text-decoration: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; outline-offset: 8px }
.view-home .hp-door:focus-visible { outline: 3px solid var(--wall-spot) }
.view-home .hp-pq { transition: transform .28s cubic-bezier(.3, 1.3, .5, 1) }
@media (hover: hover) { .view-home .hp-door:hover .hp-pq { transform: translateY(-4px) } }
.view-home .hp.go { z-index: 3 }
.view-home .plaques.entering .hp:not(.go) { opacity: .55; transition: opacity .2s ease }
/* where the studio plaque's cover sits: the genre's newest covers, each a whole, untouched square */
.view-home .hp-collage { position: absolute; pointer-events: none }
.view-home .hp-collage img {
  position: absolute; display: block; margin: 0; object-fit: cover; -webkit-user-drag: none;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .35), calc(.2 * var(--pq-u)) calc(.35 * var(--pq-u)) calc(.8 * var(--pq-u)) rgba(0, 0, 0, .55), calc(.5 * var(--pq-u)) calc(1 * var(--pq-u)) calc(2 * var(--pq-u)) rgba(0, 0, 0, .35);
}
/* the engraved nameplate: the studio plate's brushed brass, cut larger so the genre reads on a phone */
.view-home .hp-pq .hp-plate {
  padding: 0 3%; gap: max(1.5px, calc(.45 * var(--pq-u)));
  background-image: url(../gallery/assets/shell-day-800.webp); background-repeat: no-repeat;
  box-shadow: 0 0 0 .5px rgba(60, 40, 10, .45), 0 1px 1.5px rgba(0, 0, 0, .6), 0 calc(.6 * var(--pq-u)) calc(1.4 * var(--pq-u)) rgba(0, 0, 0, .5);
}
html[data-theme="night"] .view-home .hp-pq .hp-plate { background-image: url(../gallery/assets/shell-night-800.webp) }
/* a name too long for one line at its size wraps onto two (.two), rather than shrinking */
.view-home .hp-g.two { white-space: normal; text-wrap: balance; line-height: .98 }
.view-home .hp-g { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; padding-bottom: .06em; font: 600 max(13.5px, calc(7.2 * var(--pq-u)))/1 "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif; font-variation-settings: "opsz" 11; letter-spacing: .005em }
.view-home .hp-n { display: block; font: 650 max(10px, calc(3.9 * var(--pq-u)))/1.05 "Archivo", "Hanken Grotesk", ui-sans-serif, sans-serif; font-variation-settings: "wdth" 112; letter-spacing: .18em; text-indent: .18em; text-transform: uppercase; opacity: .88 }
/* the glints only show while a plaque is chosen: one along its frame, one across its glass (cut away from the art) */
.view-home .hp-pq .pq-gl { opacity: 0 }
.view-home .hp-pq > .hp-glint { position: absolute; overflow: hidden; pointer-events: none; opacity: 0 }
.view-home .hp-glint > b { position: absolute; left: 0; top: 0; bottom: 0; width: 38%; display: block; will-change: transform; transform: translateX(-110%); background: linear-gradient(103deg, rgba(255, 248, 232, 0), rgba(255, 248, 232, .15) 38%, rgba(255, 252, 242, .34) 50%, rgba(255, 248, 232, .15) 62%, rgba(255, 248, 232, 0)) }
.view-home .hp-bare .pq-label { clip-path: circle(50%) }

/* ============ the song finder's home: right below the genre plaques (the finder styles itself) ============ */
.view-home .home-finder { position: relative; z-index: 6; width: min(calc(100% - 2 * var(--m)), 1300px); margin: clamp(56px, 7vw, 110px) auto 0 }
.view-home .hf-slot { position: relative; min-height: 120px }

/* the colophon is printed on the wall under it all */
.view-home .colophon { position: relative; margin: 0 var(--m); padding: 44px 0 calc(34px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: space-between; text-transform: uppercase; font-size: 12px; letter-spacing: .12em; font-weight: 750; font-variation-settings: 'wdth' 82 }
.view-home .colophon p { margin: 0 }
.view-home .col-links { display: flex; gap: 6px }
.view-home .col-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 2px solid var(--ink); text-decoration: none }
.view-home .col-print { flex-basis: 100%; color: var(--ink-soft); font-size: 11px }

/* ============ in-between widths, phone, tall screens ============ */
@media (max-width: 1079px) { .view-home .plaques { --cols: var(--n-tab, 3) } }
@media (max-width: 759px) {
  .view-home { --m: 16px; --strip-h: 30px }
  .view-home .strip { font-size: 10.5px; letter-spacing: .1em }
  .view-home .foot-strip { flex-direction: column; align-items: stretch; gap: 14px; bottom: 20px }
  .view-home .genres { font-size: 19px; gap: 6px .4em }
  .view-home .ctas .btn { flex: 1; justify-content: center; padding: 0 12px; height: 50px }
  .view-home .wall { width: calc(100% - 12px) }
  .view-home .wall-in { padding: 26px 10px 36px }
  .view-home .wall-head { padding: 0 8px }
  .view-home .facts { justify-content: flex-start; font-size: 10.5px; letter-spacing: .1em; gap: 2px 8px }
  .view-home .choose { font-size: clamp(32px, 10.6vw, 52px) }
  .view-home .home-finder { width: calc(100% - 20px); margin-top: 56px }
  .view-home .hint { font-size: 11px }
}
@media (max-width: 639px) { .view-home .plaques { --cols: 2; --gx: 10px; row-gap: 26px } .view-home .hp { --pin-gap: 28px } }
/* small phones (360–379 pt): a little less margin, so every engraved name stays at full size */
@media (max-width: 379px) {
  .view-home .wall { width: calc(100% - 8px) }
  .view-home .wall-in { padding: 24px 6px 32px }
  .view-home .wall-head { padding: 0 10px }
  .view-home .plaques { --gx: 8px }
  .view-home .hp-pq .hp-plate { padding: 0 2% }
}
@media (max-width: 359px) { .view-home .plaques { --cols: 1 } }

/* reduced motion: a calm, complete poster (no paste-up, no parallax, letters ease home without bouncing) */
@media (prefers-reduced-motion: reduce) {
  .view-home .tape, .view-home .hint, .view-home .genres a, .view-home .hp-pq, .view-home .plaques.entering .hp:not(.go) { transition: none }
}

/* ?debug=1 — layout numbers on screen (for simulator screenshots) */
.view-home .dbg { position: fixed; left: 6px; right: 6px; bottom: calc(6px + env(safe-area-inset-bottom)); z-index: 9999; pointer-events: none; margin: 0; padding: 8px 10px; background: rgba(0, 0, 0, .84); color: #7CFC7C; font: 600 11px/1.35 ui-monospace, Menlo, monospace; white-space: pre-wrap; word-break: break-all; border-radius: 6px; text-transform: none; letter-spacing: 0 }
