/* The Wall: framed records under picture lights (homepage #wall). Data lives in js/wall.js. */
.wall { overflow: hidden; isolation: isolate; }
/* A darker run of plaster with a picture rail, so the frames read as hung on a real wall */
.wall::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14,9,20,0.55), rgba(14,9,20,0.18) 22%, rgba(14,9,20,0.18) 78%, rgba(14,9,20,0.6)),
    radial-gradient(70% 60% at 50% 55%, rgba(124,104,146,0.16), transparent 70%); }
.wall-rail { height: 10px; margin: 0 calc(var(--gutter) * -1) clamp(48px, 7vw, 80px);
  background: linear-gradient(180deg, #2a2131, #1b1520 60%, #120d17);
  box-shadow: 0 1px 0 rgba(237,228,208,0.08) inset, 0 6px 14px rgba(0,0,0,0.45); }

.wall-frames { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 250px)); justify-content: center; gap: clamp(64px, 7vw, 84px) clamp(28px, 3vw, 36px); }

.plaque { position: relative; margin: 0; width: 100%; transform: rotate(var(--tilt, 0deg)); }
/* Brass picture light: a slim bar on an arm, washing warm light down the frame and wall */
.plaque-light { position: absolute; left: 50%; top: -34px; width: 46%; height: 9px; transform: translateX(-50%); z-index: 2;
  border-radius: 5px 5px 3px 3px; background: linear-gradient(180deg, #e9cf8c, #b48a3a 55%, #7a5a22);
  box-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.plaque-light::before { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 26px; margin-left: -1.5px;
  background: linear-gradient(90deg, #7a5a22, #d9b96a, #7a5a22); }
.plaque-light::after { content: ""; position: absolute; left: 50%; top: 6px; width: 340%; height: 560px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 42% at 50% 0%, rgba(255,226,170,0.2), rgba(255,214,150,0.07) 55%, transparent 75%);
 }

/* Frame: black lacquer with a brass fillet, then a deep plum suede mat */
.plaque-frame { position: relative; padding: 13px; border-radius: 2px;
  background: linear-gradient(135deg, #2b2430, #0c090f 40%, #1d1822 70%, #070509);
  box-shadow:
    0 0 0 1px #050307,
    inset 0 0 0 1px rgba(255,255,255,0.08),
    inset 2px 2px 1px rgba(255,255,255,0.08),
    0 30px 50px -18px rgba(0,0,0,0.75),
    0 12px 18px -8px rgba(0,0,0,0.6); }
.plaque-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 2px;
  background: linear-gradient(180deg, rgba(255,230,180,0.14), transparent 30%); }
.plaque-mat { position: relative; padding: clamp(22px, 7%, 30px) clamp(22px, 7%, 30px) 20px;
  background: #241c2b radial-gradient(120% 90% at 50% 0%, #34293d, #1e1724 75%);
  box-shadow: 0 0 0 2px #b8913f, 0 0 0 3px #5a4219, inset 0 3px 8px rgba(0,0,0,0.55); }

/* Cover with the record slid out to the right, like a sales-award plaque */
.plaque-art { position: relative; width: 74%; margin-bottom: 22px; }
.plaque-art img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 6px 0 14px rgba(0,0,0,0.55); }
.plaque-disc { position: absolute; top: 3%; right: -30%; width: 94%; aspect-ratio: 1; border-radius: 50%; transition: transform 0.8s cubic-bezier(.2,.75,.2,1); }
.disc-spin { position: absolute; inset: 0; border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(255,255,255,0.0) 0 2px, rgba(255,255,255,0.08) 2.5px, rgba(0,0,0,0) 3px),
    conic-gradient(from 20deg, var(--d1), var(--d2) 12%, var(--d1) 25%, var(--d3) 37%, var(--d1) 50%, var(--d2) 62%, var(--d1) 75%, var(--d3) 87%, var(--d1));
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.35), 0 4px 10px rgba(0,0,0,0.5); }
.disc-spin i { position: absolute; inset: 34%; border-radius: 50%; background: radial-gradient(circle, #0e0a12 0 7%, var(--lbl) 8% 100%);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.3); }
.disc-spin i::after { content: ""; position: absolute; left: 50%; top: 14%; width: 8%; height: 18%; margin-left: -4%; border-radius: 2px; background: rgba(237,228,208,0.55); }
.disc-gold     { --d1: #a8812f; --d2: #f3dc94; --d3: #6e521a; --lbl: #31293b; }
.disc-platinum { --d1: #9a9aa6; --d2: #f1f1f6; --d3: #5e5e6a; --lbl: #31293b; }
.disc-plum     { --d1: #4a4057; --d2: #b8a6cf; --d3: #241d2e; --lbl: #d6aa54; }

/* Engraved brass plate */
.plaque-plate { display: grid; gap: 3px; padding: 12px 12px 11px; min-height: 118px; align-content: center; text-align: center; border-radius: 2px;
  background: linear-gradient(160deg, #e6cd8d, #c19a4a 45%, #e3c682 60%, #a98232);
  box-shadow: inset 0 1px 0 rgba(255,250,220,0.6), inset 0 -1px 0 rgba(80,55,15,0.5), 0 2px 4px rgba(0,0,0,0.45);
  color: #3a2a0c; text-shadow: 0 1px 0 rgba(255,240,200,0.5); }
.plate-artist { font-family: var(--brand); font-weight: 700; font-size: 1.02rem; letter-spacing: 0.01em; line-height: 1.15; }
.plate-title { font-family: var(--display); font-weight: 600; font-size: 0.98rem; line-height: 1.2; }
.plate-meta, .plate-credit { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; }
.plate-credit { margin-top: 5px; padding-top: 6px; border-top: 1px solid rgba(58,42,12,0.3); letter-spacing: 0.04em; }

.plaque-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 16px; margin-top: 20px; transform: rotate(calc(var(--tilt, 0deg) * -1)); }
.plaque-link { font-size: 0.9rem; color: var(--paper-2); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.plaque-link:hover { color: var(--paper); border-color: var(--amber); }
.plaque-soon { margin: 22px 0 0; text-align: center; color: var(--paper-3); }
.is-soon .plaque-art img { filter: saturate(0.9); }

.plaque { transition: transform 0.5s cubic-bezier(.2,.7,.2,1); }
.plaque:hover { transform: rotate(0deg) translateY(-3px); }
.plaque:hover .plaque-disc { transform: translateX(6%); }

/* Tap to play: the record slides most of the way out of its sleeve and spins */
.has-sample .plaque-frame { cursor: pointer; }
.plaque.out .plaque-disc { transform: translateX(34%); }
.plaque.playing .disc-spin { animation: wall-spin 1.8s linear infinite; }
@keyframes wall-spin { to { transform: rotate(360deg); } }
.plaque.out .plaque-art img { box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 10px 0 22px rgba(0,0,0,0.65); }
.plaque-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(20, 15, 27, 0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 0 0 1px rgba(237,228,208,0.35), 0 8px 20px rgba(0,0,0,0.45);
  display: grid; place-items: center; opacity: 0; transform: scale(.9); transition: opacity .25s ease, transform .25s ease; }
.plaque-play svg { width: 20px; height: 20px; fill: var(--paper); }
.plaque-play .i-pause, .plaque.playing .plaque-play .i-play { display: none; }
.plaque.playing .plaque-play .i-pause { display: block; }
.plaque:hover .plaque-play, .plaque.out .plaque-play, .plaque-play:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .plaque-play { opacity: .92; transform: none; width: 46px; height: 46px; margin: -23px 0 0 -23px; } }

/* "Coming soon" magnetic tape laid across the frame */
.plaque-tape { position: absolute; z-index: 3; left: -5%; right: -5%; top: 38%; height: 30px; transform: rotate(-11deg); overflow: hidden; pointer-events: none;
  background: linear-gradient(180deg, #4a3423, #2c1e14 45%, #3d2a1c 55%, #20150e);
  box-shadow: 0 6px 14px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,220,170,0.25), inset 0 -1px 0 rgba(0,0,0,0.5); }
.plaque-tape::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,230,190,0.18) 45%, transparent 60%); }
.plaque-tape span { position: absolute; left: 0; top: 50%; transform: translateY(-50%); white-space: nowrap; font-family: var(--mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.32em; color: #ead9b8; text-shadow: 0 1px 0 rgba(0,0,0,0.6); }
.plaque:nth-child(even) .plaque-tape { transform: rotate(9deg); top: 30%; }

/* Now playing bar */
.np { position: fixed; z-index: 75; left: 50%; bottom: 18px; width: min(760px, calc(100vw - 24px)); transform: translate(-50%, 140%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto auto; align-items: center; gap: 14px; padding: 10px 12px 10px 10px; border-radius: 16px;
  background: rgba(30, 24, 38, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-strong); box-shadow: 0 24px 50px rgba(0,0,0,0.55); }
.np.on { transform: translate(-50%, 0); }
.np-art { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: #000; }
.np-text { display: flex; gap: 10px; align-items: baseline; min-width: 0; }
.np-title { font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-sub { font-size: 0.8rem; color: var(--paper-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-scrub { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin-top: 6px; }
.np-scrub .mono { font-size: 0.68rem; color: var(--paper-3); }
.np-track { height: 4px; border-radius: 2px; background: rgba(237,228,208,0.16); cursor: pointer; position: relative; }
.np-track::before { content: ""; position: absolute; inset: -8px 0; }
.np-track i { display: block; height: 100%; width: 0; border-radius: 2px; background: var(--amber); }
.np-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.np-btn svg { width: 16px; height: 16px; fill: var(--ink); }
.np-btn .i-pause, .np.is-playing .np-btn .i-play { display: none; }
.np.is-playing .np-btn .i-pause { display: block; }
.np-links { display: flex; gap: 12px; }
.np-links a { font-size: 0.82rem; color: var(--paper-2); text-decoration: none; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.np-links a:hover { color: var(--paper); border-color: var(--amber); }
.np-x { width: 30px; height: 30px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.np-x svg { width: 14px; height: 14px; stroke: var(--paper-3); stroke-width: 2; }
.np-lehr { grid-column: 2 / -1; display: flex; align-items: center; gap: 8px; font-size: 0.7rem; color: var(--gold); margin-top: -4px; }
.np-glow { width: 8px; height: 8px; border-radius: 50%; background: #e9ad4c; box-shadow: 0 0 10px 3px rgba(233,173,76,0.6); animation: np-pulse 2.4s ease-in-out infinite; }
@keyframes np-pulse { 50% { opacity: .45; box-shadow: 0 0 4px 1px rgba(233,173,76,0.3); } }
.np.is-lehr { background: rgba(40, 22, 18, 0.92); border-color: rgba(214,170,84,0.4); }
.np.is-lehr .np-art { box-shadow: 0 0 0 1px rgba(214,170,84,0.5), 0 0 22px rgba(233,173,76,0.35); }
@media (max-width: 640px) {
  .np { grid-template-columns: 48px minmax(0, 1fr) auto auto; gap: 10px; bottom: 10px; }
  .np-art { width: 48px; height: 48px; }
  .np-links { display: none; }
  .np-text { flex-direction: column; gap: 0; }
}

.wall-foot { margin: clamp(56px, 8vw, 88px) auto 0; max-width: 52ch; text-align: center; }
.wall-foot a { color: var(--amber); }

@media (max-width: 520px) {
  .plaque { width: 100%; }
  .plaque-light::after { width: 260%; }
}

/* Phones: two frames across, smaller plates */
@media (max-width: 600px) {
  .wall-frames { grid-template-columns: 1fr 1fr; gap: 54px 16px; }
  .plaque-frame { padding: 8px; }
  .plaque-mat { padding: 12px 12px 10px; }
  .plaque-plate { min-height: 0; padding: 8px 6px; }
  .plate-artist { font-size: 0.82rem; } .plate-title { font-size: 0.76rem; }
  .plate-meta { font-size: 0.5rem; letter-spacing: .04em; } .plate-credit { display: none; }
  .plaque-links { gap: 6px 10px; margin-top: 14px; } .plaque-links .btn { padding: .45em .8em; font-size: .78rem; } .plaque-link { font-size: .78rem; }
  .plaque-soon { font-size: .62rem; margin-top: 12px; }
  .plaque-light { top: -26px; }
  .plaque-tape { height: 22px; } .plaque-tape span { font-size: .5rem; }
}
