/* Steve Roach Exclusive: a door opening on the wall of the collection, then what's behind it. */
main { --accent: var(--gold); }
main h2 { font-size: clamp(34px, 4.6vw, 62px); max-width: 20em; }
main h2 em { color: var(--bone-dim); }

/* ---------- The door: the same wall of covers twice, dim and lit, with the lit one clipped to the opening ---------- */
.ex-door { --l: 57%; --r: 11%; --t: 11%; --b: 15%; --shut-l: 71.5%; --shut-r: 27.5%; --slit: .03; position: relative; display: flex; align-items: center; min-height: min(86vh, 860px); overflow: hidden; isolation: isolate; }
.ex-room { position: absolute; inset: 0; z-index: -1; animation: ex-drift 40s ease-in-out infinite alternate; }
.ex-wall, .ex-lit { position: absolute; inset: 0; background: url(/img/exclusive/wall.jpg) center / cover; }
.ex-wall { filter: brightness(.3) saturate(.55); }
.ex-wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 10%, rgba(11, 10, 9, .82) 40%, rgba(11, 10, 9, 0) 68%), linear-gradient(0deg, var(--ink), rgba(11, 10, 9, 0) 24%); }
.ex-lit { filter: saturate(.92); clip-path: inset(var(--t) var(--r) var(--b) var(--l)); animation: ex-open 8s cubic-bezier(.45, .05, .25, 1) .6s backwards; }
.ex-frame { position: absolute; left: var(--l); right: var(--r); top: var(--t); bottom: var(--b); border: 1px solid rgba(201, 164, 106, .55); box-shadow: 0 0 110px 12px rgba(201, 164, 106, .3); animation: ex-swing 8s cubic-bezier(.45, .05, .25, 1) .6s backwards; }
.ex-spill { position: absolute; left: calc(var(--l) - 9%); right: calc(var(--r) - 9%); bottom: 0; height: var(--b); background: linear-gradient(180deg, rgba(201, 164, 106, .34), rgba(201, 164, 106, 0)); clip-path: polygon(21% 0, 79% 0, 100% 100%, 0 100%); animation: ex-swing 8s cubic-bezier(.45, .05, .25, 1) .6s backwards; }
@keyframes ex-open { from { clip-path: inset(var(--t) var(--shut-r) var(--b) var(--shut-l)); } }
@keyframes ex-swing { from { transform: scaleX(var(--slit)); } }
@keyframes ex-drift { from { transform: scale(1.01); } to { transform: scale(1.05); } }
.ex-door-copy { width: 100%; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 104px); }
.ex-door-copy > * { max-width: min(600px, 48%); }
.ex-door h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: 1.04; margin: 0 0 26px; }
.ex-door .lede { margin: 0 0 36px; max-width: min(520px, 44%); }
.ex-tiers { display: inline-grid; gap: 14px; }   /* both as wide as the wider one */
.ex-tiers .btn { justify-content: center; }
.ex-tiers .textlink { justify-self: start; margin-top: 10px; }

/* ---------- Behind the door ---------- */
.ex-within { background: var(--ink-2); padding: clamp(80px, 11vw, 150px) 0; }
.ex-within-in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.ex-within figure { margin: 0; }
.ex-within img { width: 100%; height: auto; display: block; filter: saturate(.92); }
.ex-within figcaption { margin-top: 12px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--bone-dim); }
.ex-within blockquote { margin: 30px 0; font: italic 400 clamp(24px, 2.6vw, 34px)/1.35 var(--serif); color: var(--bone); max-width: 26em; }
.ex-within cite { display: block; margin-top: 12px; font: 400 11px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--bone-dim); }
.ex-body { max-width: 60ch; margin: 0 0 30px; color: var(--bone-dim); }
.ex-kinds { list-style: none; margin: 0; padding: 0; }
.ex-kinds li { padding: 16px 0; border-top: 1px solid var(--rule); }
.ex-kinds b { display: block; font: 400 22px/1.3 var(--serif); color: var(--bone); }
.ex-kinds span { font-size: 15px; color: var(--bone-dim); }

/* ---------- Four from the archive ---------- */
.ex-gates { padding: clamp(80px, 11vw, 150px) 0 clamp(40px, 5vw, 70px); }
.ex-gate { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(56px, 8vw, 110px); }
.ex-gate.flip .ex-gate-art { order: 2; }
.ex-gate-art { display: block; overflow: hidden; }
.ex-gate-art img { display: block; width: 100%; height: auto; transition: transform var(--slow); }
.ex-gate-art:hover img { transform: scale(1.02); }
.ex-year { margin: 0 0 8px; font: 300 clamp(44px, 6vw, 84px)/1 var(--serif); color: var(--accent); font-variant-numeric: tabular-nums; }
.ex-gate h3 { margin: 0 0 18px; font: 400 clamp(26px, 2.8vw, 36px)/1.2 var(--serif); }
.ex-gate p:not([class]) { max-width: 54ch; margin: 0 0 22px; color: var(--bone-dim); }
.ex-facts { max-width: 54ch; margin: 0 0 22px; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 14px; line-height: 1.6; color: var(--bone-dim); }

/* ---------- In concert ---------- */
.ex-ledger { padding: clamp(70px, 9vw, 120px) 0; }
.ex-ledger ol { list-style: none; margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; }
.ex-ledger li { border-top: 1px solid var(--rule); }
.ex-ledger li:last-child { border-bottom: 1px solid var(--rule); }
.ex-ledger a { display: grid; grid-template-columns: 96px 1fr 1fr 24px; gap: 8px 24px; align-items: baseline; padding: 15px 0; text-decoration: none; color: inherit; transition: color .6s; }
.ex-ledger a:hover { color: var(--accent); }
.ex-ledger a:hover .arrow { transform: translateX(4px); }
.ex-ledger time { font-size: 13px; letter-spacing: .1em; color: var(--accent); font-variant-numeric: tabular-nums; }
.ex-place { font: 400 clamp(20px, 1.9vw, 24px)/1.25 var(--serif); }
.ex-note { font-size: 15px; color: var(--bone-dim); }
.ex-ledger .arrow { color: var(--accent); }

/* ---------- The collection ---------- */
.ex-collection { background: var(--ink-2); padding: clamp(80px, 11vw, 150px) 0; scroll-margin-top: 70px; }
.ex-collection .chips { margin: clamp(26px, 3vw, 40px) 0; }
.ex-collection .chip { --c: var(--gold); }
.ex-shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(22px, 2.4vw, 34px) clamp(14px, 1.6vw, 24px); }
.ex-shelf li[hidden] { display: none; }
.ex-shelf a { display: block; text-decoration: none; color: inherit; }
.ex-shelf img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: var(--ink-3); transition: transform var(--slow); }
.ex-shelf a:hover img { transform: translateY(-6px); }
.ex-shelf span { display: block; margin-top: 10px; font: 400 16px/1.3 var(--serif); color: var(--bone-dim); transition: color .6s; overflow-wrap: anywhere; }
.ex-shelf a:hover span { color: var(--bone); }

/* ---------- Join ---------- */
.ex-join { padding: clamp(80px, 11vw, 150px) 0; }
.ex-panel { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); padding: clamp(40px, 7vw, 104px); border: 1px solid var(--rule); background: var(--ink-2); }
.ex-panel .rings-layer { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.ex-panel-head { grid-column: 1 / -1; }
.ex-panel-head h2 { margin: 0; }
.ex-tier { display: flex; flex-direction: column; align-items: flex-start; }
.ex-tier h3 { margin: 0; font: 400 clamp(28px, 3vw, 38px)/1.2 var(--serif); }
.ex-price { margin: 4px 0 16px; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
main .btn.ghost { background: transparent; color: var(--accent); }
main .btn.ghost:hover { background: var(--accent); color: var(--ink); }
.ex-tier ul { list-style: none; margin: 0 0 30px; padding: 0; align-self: stretch; flex: 1; }
.ex-tier li { padding: 12px 0; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.5; color: var(--bone); }
.ex-terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin: clamp(36px, 4vw, 56px) 0 0; }
.ex-terms dt { margin-bottom: 8px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.ex-terms dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--bone-dim); }

/* ---------- Sections rise once as they arrive ---------- */
.ex-rise { transition: opacity 1.6s cubic-bezier(.22, .61, .36, 1), transform 1.6s cubic-bezier(.22, .61, .36, 1); }
.ex-rise.waiting { opacity: 0; transform: translateY(24px); }

/* ---------- Quiet, and reduced motion: the door is simply open ---------- */
html.quiet .ex-room, html.quiet .ex-lit, html.quiet .ex-frame, html.quiet .ex-spill { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .ex-room, .ex-lit, .ex-frame, .ex-spill { animation: none; }
}

@media (max-width: 1100px) {
  .ex-shelf { grid-template-columns: repeat(4, 1fr); }
  .ex-ledger a { grid-template-columns: 84px 1fr 24px; }
  .ex-note { grid-column: 2; grid-row: 2; }
  .ex-ledger .arrow { grid-column: 3; grid-row: 1; }
}
@media (max-width: 860px) {
  .ex-door { --l: 22%; --r: 22%; --t: 7%; --b: 11%; --shut-l: 49.2%; --shut-r: 49.2%; --slit: .027; display: block; min-height: 0; }
  .ex-room { position: relative; inset: auto; height: 42vh; min-height: 300px; }
  .ex-wall::after { background: linear-gradient(0deg, var(--ink), rgba(11, 10, 9, 0) 28%); }
  .ex-door-copy { padding-top: 22px; }
  .ex-door-copy > *, .ex-door .lede { max-width: none; }
  .ex-within-in, .ex-gate, .ex-panel, .ex-terms { grid-template-columns: 1fr; }
  .ex-gate.flip .ex-gate-art { order: 0; }
  .ex-shelf { grid-template-columns: repeat(2, 1fr); }
  .ex-panel-head { grid-column: 1; }
}
