/* The landing in Joe's glyph-engraving look (board #118) + the scroll story (landing-hero.js). Loaded by landing.html
   and booked.html only, after site.css, so pricing / about / join / sign in are untouched.
   Joe's three palettes (joe-refs/glyph-scenes-v1/README.md): cream #FFF4EC field + IRIS red #B3080C ink, red field +
   cream ink, near-black #171717 field + cream glyphs + restrained red. Type stays locked: Bodoni Moda only on the IRIS
   wordmark, Libre Caslon Text 400 for headings, Inter for UI; the small labels are widely tracked serif, like the
   "I R I S" Joe sets in his pieces. */
.lh-page {
  --g-cream: #fff4ec; --g-red: #b3080c; --g-red-ink: #8f070a; --g-black: #171717; --g-ink: #3b0f0d;
  /* the cave's red in the dark (#189: the IRIS red carries down the whole page, not just the story) */
  --g-blood: #2a0708; --g-ember: #170405;
  --t-mythic: #ff2a40; --t-titan: #f0c870; --t-demigod: #c9a2ff; --t-oracle: #8cbcff; --t-hero: #8fdcae; --t-mortal: #cfc6bb;
  scroll-behavior: auto; /* the story is scrubbed by the scroll; smooth jumps would fight it */
}
.lh-page .bar { z-index: 30; }
.gl-label, .lh-label { display: block; margin: 0 0 18px; font: 400 12px/1.4 var(--serif); letter-spacing: .42em; text-transform: uppercase; }

/* ---------- one column for the whole page: bar, story and sections share the same edges ---------- */
.lh-page { --pad: clamp(20px, 5vw, 72px); --edge: max(var(--pad), calc((100vw - 1400px) / 2)); }
.lh-page .wrap { width: calc(100% - 2 * var(--edge)); max-width: none; }
.lh-page .band h2 { font-size: clamp(34px, 4.2vw, 64px); }

/* ---------- the story (landing-hero.js) ---------- */
.lh { position: relative; height: 640svh; background: var(--g-ember); }
.lh-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; contain: layout paint; background: var(--g-ember); color: var(--g-cream); }
.lh-field { position: absolute; inset: 0; background: radial-gradient(120% 110% at 50% 50%, #210708, var(--g-ember) 62%, #0c0203); }
.lh-field::before { content: ""; position: absolute; inset: -6%; opacity: .38; background: radial-gradient(circle, rgba(255, 96, 80, .34) 1px, transparent 1.6px) 0 0 / 14px 14px; animation: lh-dots 26s ease-in-out infinite alternate; }
.lh-field::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 90% at 50% 50%, transparent 46%, rgba(0, 0, 0, .66)); }
@keyframes lh-dots { to { transform: translate3d(-1.6%, 1%, 0) scale(1.03); } }
/* the light behind what's on stage: moved by transform, never repainted */
.lh-glow { position: absolute; left: 50%; top: 50%; width: 110vmin; height: 110vmin; margin: -55vmin 0 0 -55vmin; border-radius: 50%; background: radial-gradient(closest-side, rgba(190, 20, 24, .6), rgba(150, 14, 18, .26) 52%, transparent); will-change: transform, opacity; pointer-events: none; }
.lh-film { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; visibility: hidden; }
.lh-cityfx { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; visibility: hidden; pointer-events: none; }
.lh-wash { position: absolute; inset: 0; z-index: 3; opacity: 0; visibility: hidden; pointer-events: none; background: linear-gradient(90deg, rgba(8, 4, 4, .8), rgba(8, 4, 4, .46) 40%, transparent 64%); }
.lh-stage img:not([src]) { visibility: hidden; }

/* the book: the canvas fills the stage; #workspace is the hidden spread its pages copy. The picture holds its place until it's ready */
.lh-ws { position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none; display: grid; place-items: center; overflow: hidden; --sp: 8px; --gap: 12px; --pp: 14px; --bk: 22px; --cap: 46px; --cw: 170px; --spine: 62px; --bko: 72px; --bw: calc((var(--cw) + var(--sp) * 2) * 4 + var(--gap) * 2 + var(--pp) * 4 + var(--spine) + var(--bko) * 2); }
.lh-ws .bd-book { width: var(--bw); flex: none; transform: none; }
.lh-stage .bgl-layer { position: absolute; z-index: 4; pointer-events: none; transition: none; }
.lh-stage .bgl-layer .bgl-canvas { touch-action: auto; pointer-events: none; }
.lh-poster { position: absolute; z-index: 3; width: auto; max-width: none; transform: translate(-50%, -50%); transition: opacity .5s ease; pointer-events: none; }
.lh-book-on .lh-poster { opacity: 0 !important; }

/* the pack; the cards sit under its canvas, so its front hides them until they come out of the mouth */
.lh-pack { position: absolute; inset: 0; z-index: 6; visibility: hidden; pointer-events: none; }
.lh-pack canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.lh-pack-at { position: absolute; left: 50%; top: 50%; width: 1px; height: 1px; pointer-events: none; }
.lh-page .lh-pack-still { position: absolute; z-index: 6; left: 50%; top: 50%; height: min(66svh, 110vw); width: auto; aspect-ratio: 2 / 3; opacity: 0; visibility: hidden; pointer-events: none; box-shadow: none; }
.lh-deal { position: absolute; left: 50%; top: 50%; z-index: 5; width: 0; height: 0; display: none; pointer-events: none; }
.lh-deal.is-on { display: block; }
.lh-deal.is-free { z-index: 7; }
.lh-deal.is-end { z-index: 9; }
.lh-deal.is-warm { display: block; z-index: -1; }
.lh-deal-c { position: absolute; left: calc(var(--dw) / -2); top: calc(var(--dw) * -.75); width: var(--dw); aspect-ratio: 2 / 3; will-change: transform, opacity; }
.lh-deal-c.is-gone { visibility: hidden; }
.lh-deal-f { position: absolute; inset: 0; transform-style: preserve-3d; }
.lh-face { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 3.6% / 2.4%; }
.lh-back { transform: rotateY(180deg); box-shadow: 0 14px 30px rgba(0, 0, 0, .6); }
.lh-front .sa-card { position: absolute; inset: 0; }
.lh-front .tc { width: 100%; max-width: none; margin: 0; }
.lh-deal .is-still .tc, .lh-deal .is-still .tc *, .lh-deal .is-still .tc::after { animation-play-state: paused !important; }
.lh-card { position: absolute; z-index: 8; visibility: hidden; pointer-events: none; aspect-ratio: 2 / 3; right: var(--edge); top: 50%; width: clamp(240px, 26vw, 400px); translate: 0 -50%; }

/* the pin on Los Angeles */
.lh-pin { position: absolute; z-index: 6; left: 0; top: 0; width: 0; height: 0; will-change: transform; opacity: 0; visibility: hidden; }
.lh-pin i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--g-red); box-shadow: 0 0 0 3px var(--g-cream), 0 0 22px rgba(179, 8, 12, .9); }
.lh-pin i::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid var(--g-red); animation: lh-ping 2.4s cubic-bezier(.2, .7, .3, 1) infinite; }
@keyframes lh-ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.lh-pin span { position: absolute; left: 0; bottom: 14px; transform: translateX(-50%); display: grid; justify-items: center; gap: 7px; white-space: nowrap; }
.lh-pin span::after { content: ""; width: 1px; height: 96px; background: linear-gradient(rgba(255, 244, 236, .7), transparent); }
.lh-pin b { font: 400 13px/1 var(--serif); letter-spacing: .42em; text-transform: uppercase; color: var(--g-cream); text-shadow: 0 1px 12px rgba(0, 0, 0, .9); }
.lh-pin em { font: 400 11px/1 var(--serif); font-style: normal; letter-spacing: .3em; color: rgba(255, 244, 236, .86); text-shadow: 0 1px 10px #000, 0 0 3px #000; }
/* Joe's scanlines: on the field, under the real things */
.lh-print { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(10, 4, 4, .09) 0 1px, transparent 1px 3px); }

/* words on the stage */
.lh-intro, .lh-cap, .lh-end, .lh-hint { position: absolute; z-index: 8; }
.lh-intro { --w: min(680px, 44vw); left: calc(25vw - var(--w) / 2 + 2vw); top: calc(50% + 20px); translate: 0 -50%; width: var(--w); will-change: transform, opacity; }
.lh-intro .lh-label { color: #d9c3ae; }
.lh-intro h1 { font-size: clamp(26px, 3.75vw, 68px); line-height: 1.08; white-space: nowrap; }
.lh-lede { max-width: 44ch; margin: 22px 0 30px; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.55; color: rgba(255, 244, 236, .78); }
.lh-intro .small { color: rgba(255, 244, 236, .58); }
.lh-cap { --cx: -50%; left: 50%; bottom: 4svh; width: min(680px, calc(100% - 32px)); margin: 0; text-align: center; font: 400 clamp(20px, 1.9vw, 28px)/1.3 var(--serif); opacity: 0; visibility: hidden; text-wrap: balance; text-shadow: 0 2px 20px rgba(0, 0, 0, .8); will-change: transform, opacity; }
.lh-cap .lh-label { margin-bottom: 10px; font-size: 11.5px; opacity: .8; }
.lh-end { left: var(--edge); top: 50%; translate: 0 -50%; width: min(620px, 48vw); opacity: 0; visibility: hidden; will-change: transform, opacity; }
.lh-end .lh-label { color: #f0a9a0; }
.lh-end h2 { font-size: clamp(36px, 4.6vw, 76px); line-height: 1.04; text-wrap: balance; text-shadow: 0 4px 34px rgba(0, 0, 0, .9); }
.lh-hint { left: 50%; bottom: 22px; margin-left: -30px; width: 60px; display: grid; justify-items: center; gap: 10px; font: 400 11px/1 var(--serif); letter-spacing: .42em; text-transform: uppercase; color: rgba(255, 244, 236, .6); }
.lh-hint i { width: 1px; height: 38px; background: linear-gradient(var(--g-cream), transparent); transform-origin: 50% 0; animation: lh-hint 2.2s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes lh-hint { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.lh-skip { position: absolute; z-index: 9; right: var(--edge); top: 18px; padding: 11px 18px; border-radius: 999px; text-decoration: none; font: 400 11px/1 var(--serif); letter-spacing: .32em; text-transform: uppercase; color: var(--g-cream); background: rgba(23, 23, 23, .5); box-shadow: inset 0 0 0 1px rgba(255, 244, 236, .32); opacity: 0; visibility: hidden; transition: background .2s, box-shadow .2s; }
.lh-skip:hover { background: var(--g-red); box-shadow: inset 0 0 0 1px rgba(255, 244, 236, .6); }
.lh-skip:focus-visible { outline: 2px solid var(--g-cream); outline-offset: 3px; }

/* the card component outside the desk */
.lh-page .tc-holo { position: absolute; inset: 0; pointer-events: none; }

/* no GSAP (the CDN didn't load): the first frame as an ordinary hero */
.lh-static .lh { height: auto; }
.lh-static .lh-stage { position: relative; min-height: 100svh; }
.lh-static .lh-hint, .lh-static .lh-skip { display: none; }
/* reduced motion: still frames with fades, a shorter scroll, nothing loops */
.lh-calm .lh { height: 340svh; }
@media (prefers-reduced-motion: reduce) { .lh-hint i, .lh-pin i::after, .lh-field::before { animation: none; } }

/* a short landscape screen (a phone on its side): the same side-by-side story, smaller */
@media (max-height: 560px) and (min-aspect-ratio: 5/6) {
  .lh-page .bar { padding: 10px 0; }
  .lh-intro { top: calc(50% + 14px); width: 46vw; }
  .lh-intro .lh-label, .lh-intro .small { display: none; }
  .lh-intro h1 { font-size: clamp(20px, 3.6vw, 34px); }
  .lh-lede { margin: 8px 0 12px; font-size: 14px; line-height: 1.4; }
  .lh-stage .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
  .lh-cap { display: none; }
  .lh-end h2 { font-size: clamp(24px, 4vw, 34px); }
  .lh-end .lh-label { margin-bottom: 6px; }
  .lh-card { width: min(26vw, 58svh); }
  .lh-hint { display: none; }
}
/* tall screens: the book above the words, the card under them */
@media (max-aspect-ratio: 5/6) {
  .lh { height: 560svh; }
  .lh-intro { --w: auto; left: 16px; right: 16px; top: auto; bottom: max(24px, 3.5svh); translate: none; width: auto; }
  .lh-intro::before { content: ""; position: absolute; inset: -60px -16px -40px; z-index: -1; background: linear-gradient(180deg, transparent, rgba(12, 4, 5, .86) 30%); }
  .lh-intro h1 { font-size: clamp(24px, 7.9vw, 60px); }
  .lh-intro .lh-lede { margin: 12px 0 18px; font-size: clamp(15.5px, 4vw, 19px); }
  .lh-intro .btn { min-height: 48px; padding: 0 20px; }
  .lh-intro .small { display: none; }
  .lh-cap { bottom: 3svh; font-size: clamp(18px, 5vw, 26px); }
  .lh-pin span { bottom: auto; top: 22px; }
  .lh-pin span::after { order: -1; background: linear-gradient(transparent, rgba(255, 244, 236, .7)); }
  .lh-end { left: 16px; right: 16px; top: max(72px, 8svh); translate: none; width: auto; }
  .lh-end h2 { font-size: clamp(28px, 7.8vw, 56px); }
  .lh-end .lh-lede { margin: 10px 0 14px; font-size: clamp(15px, 3.8vw, 19px); }
  .lh-end .btn { min-height: 46px; padding: 0 18px; }
  .lh-card { left: 50%; right: auto; top: auto; bottom: 3svh; width: min(44vw, 26svh); translate: -50% 0; }
  .lh-wash { background: linear-gradient(180deg, rgba(8, 4, 4, .94), rgba(8, 4, 4, .62) 52%, transparent 76%); }
  .lh-hint { display: none; }
  .lh-skip { right: 16px; padding: 10px 14px; }
}
@media (max-aspect-ratio: 5/6) and (max-height: 700px) { .lh-end .lh-lede { display: none; } }

/* ---------- the sections, in Joe's three palettes ---------- */
.lh-page section.band { position: relative; isolation: isolate; border-top: 0; }
.lh-page section.band::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; /* the glyph print: scanlines and a fine dot screen */
  background: repeating-linear-gradient(180deg, var(--print, rgba(0, 0, 0, .06)) 0 1px, transparent 1px 4px),
    radial-gradient(circle, var(--print, rgba(0, 0, 0, .06)) 0 .7px, transparent 1px) 0 0 / 6px 6px; }
.gl-cream { --print: rgba(179, 8, 12, .055); background: var(--g-cream) !important; color: var(--g-ink); color-scheme: light; }
.gl-cream h2, .gl-cream h3 { color: var(--g-red-ink); }
.gl-cream .gl-label { color: var(--g-red); }
.gl-cream .intro, .gl-cream .list li, .gl-cream .step p { color: #5b2a25; }
.gl-cream .list li b { color: var(--g-ink); }
.gl-cream .list li::before { border-color: var(--g-red); }
.gl-cream a:not(.btn) { color: var(--g-red-ink); }
.gl-cream .step { padding: 22px 0 0; border-radius: 0; background: none; box-shadow: none; border-top: 1px solid rgba(179, 8, 12, .4); }
.gl-cream .step::before { color: var(--g-red); font-size: 34px; }
.gl-cream :focus-visible { outline-color: var(--g-red); }
.gl-red { --print: rgba(255, 244, 236, .07); background: var(--g-red) !important; color: var(--g-cream); }
.gl-red .gl-label { color: rgba(255, 244, 236, .82); }
.gl-red h2, .gl-red h3 { color: var(--g-cream); }
.gl-red .intro, .gl-red .step p { color: rgba(255, 244, 236, .84); }
.gl-red .step { padding: 22px 0 0; border-radius: 0; background: none; box-shadow: none; border-top: 1px solid rgba(255, 244, 236, .4); }
.gl-red .step::before { color: var(--g-cream); font-size: 34px; }
.gl-red :focus-visible { outline-color: var(--g-cream); }
/* the dark sections: the cave's red gone deep, lit from above like the cave's sky (they were plain near-black) */
.gl-black { --print: rgba(255, 244, 236, .035);
  background: radial-gradient(110% 70% at 50% 0%, rgba(179, 8, 12, .3), transparent 62%), radial-gradient(80% 50% at 50% 100%, rgba(143, 7, 10, .16), transparent 70%),
    linear-gradient(180deg, var(--g-blood), var(--g-ember)) !important; }
.gl-black .gl-label { color: #f08a78; }
/* a faint print of one of Joe's red pieces behind a section (style="--art:url(...)"); landing-hero.js adds .is-in
   when the section comes near, so the pictures never compete with the story for loading */
.gl-art::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease);
  background: center / cover no-repeat; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); }
.gl-art.is-in::after { background-image: var(--art); opacity: var(--art-a, .14); }
.gl-red.gl-art.is-in::after { --art-a: .22; mix-blend-mode: screen; }
.gl-black.gl-art.is-in::after { --art-a: .2; mix-blend-mode: soft-light; }
@media (max-aspect-ratio: 5/6) { .gl-art.is-in::after { background-image: var(--art-tall, var(--art)); } }
/* out of the story: the first section rises out of the dark into the cave's red */
.gl-red.gl-from-dark { background: linear-gradient(180deg, var(--g-ember), var(--g-red) clamp(90px, 14vw, 200px)) !important; }

.hw-rarity { margin-top: clamp(44px, 6vw, 72px); }
.vid-wide .vid-play { aspect-ratio: 16 / 9; }
/* video testimonials: one lead story and four beside it; posters are crops of Joe's pieces, printed in one ink */
.vids { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: auto auto; gap: 28px 22px; margin-top: 44px; }
.vid { margin: 0; }
.vid-lead { grid-row: span 2; }
.vid-play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; cursor: pointer; overflow: hidden; border-radius: 4px; background: #241a19; color: var(--g-cream);
  box-shadow: inset 0 0 0 1px rgba(255, 244, 236, .16); }
.vid-lead .vid-play { aspect-ratio: auto; height: calc(100% - 64px); min-height: 300px; }
.vid-art { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.vid-art.is-in { background-image: var(--art); opacity: .9; transform: none; }
.vid-play::after { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(23, 23, 23, .45), transparent 70%), linear-gradient(180deg, transparent 55%, rgba(23, 23, 23, .45)); }
.vid-play i { position: absolute; z-index: 1; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: rgba(23, 23, 23, .55);
  box-shadow: inset 0 0 0 1px rgba(255, 244, 236, .7); transition: transform .25s var(--ease), background .25s; }
.vid-play i::before { content: ""; position: absolute; left: 25px; top: 20px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--g-cream); }
.vid-play:hover i { transform: scale(1.08); background: var(--g-red); }
.vid-play:active i { transform: scale(.96); }
.vid-play:focus-visible { outline: 2px solid var(--g-cream); outline-offset: 3px; }
.vid video { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 4px; background: #000; }
.vid figcaption { display: grid; gap: 4px; margin-top: 14px; }
.vid figcaption b { font: 400 30px/1.05 var(--serif); color: var(--g-cream); }
.vid-lead figcaption b { font-size: 40px; }
.vid figcaption span { font: 500 14.5px/1.45 var(--sans); color: var(--bone-2); }
.vid-note { margin: 34px 0 0; font: 500 14px/1.5 var(--sans); color: var(--bone-3); }
.vid-note.ping { animation: vid-ping .9s var(--ease); }
@keyframes vid-ping { 30% { color: var(--g-cream); } }

/* the membership card keeps its black marble on the cream page */
.gl-cream .member { color: var(--bone); }
.gl-cream .member h3 { color: #fff; }
/* the last call: the desk's live world shows through */
.gl-world { background: radial-gradient(46% 58% at 50% 50%, rgba(23, 4, 5, .9), rgba(42, 7, 8, .66) 60%, rgba(179, 8, 12, .26) 100%), linear-gradient(180deg, var(--g-ember), transparent 26%, transparent 74%, var(--g-ember)) !important; padding: clamp(110px, 16vw, 200px) 0 !important; }
.lh-page footer { background: var(--g-ember); border-top-color: rgba(255, 244, 236, .1); }

@media (max-width: 860px) {
  .vids { grid-template-columns: 1fr 1fr; }
  .vid-lead { grid-column: 1 / -1; grid-row: auto; }
  .vid-lead .vid-play { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) { .vids { grid-template-columns: 1fr; } .vid figcaption b { font-size: 26px; } }
@media (prefers-reduced-motion: reduce) { .vid-art, .vid-play i { transition: none; } .vid-note.ping { animation: none; } }

/* ---------- booked.html: after someone books a call (Joe's cream portal behind the words) ---------- */
.bk-hero { position: relative; isolation: isolate; min-height: min(100svh, 860px); display: grid; align-items: center; padding: 140px 0 90px; overflow: hidden; }
.bk-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(179, 8, 12, .05) 0 1px, transparent 1px 4px); }
.bk-art { position: absolute; inset: 0; z-index: -2; }
.bk-art img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; animation: bk-in 1.6s var(--ease) both; }
.bk-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 30%, rgba(255, 244, 236, .82) 56%, var(--g-cream) 78%); }
@keyframes bk-in { from { opacity: 0; transform: scale(1.04); } }
.bk-in { display: grid; justify-items: start; padding-left: min(48%, 520px); }
.bk-hero h1 { font-size: clamp(40px, 5.2vw, 70px); line-height: 1.04; max-width: 13ch; color: var(--g-red-ink); }
.bk-when { margin: 20px 0 0; font: 400 clamp(20px, 2vw, 25px)/1.35 var(--serif); color: var(--g-ink); }
.bk-lede { max-width: 40ch; margin: 18px 0 0; font-size: 18px; color: #5b2a25; }
.bk-list { margin-top: 0; }
.bk-wait { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; }
.gl-red .intro { color: rgba(255, 244, 236, .8); }
.bk-cream { background: var(--g-cream); color: var(--g-red-ink); }
.bk-cream:hover { background: #fff; }
.bk-ghost { box-shadow: inset 0 0 0 1px rgba(255, 244, 236, .6); color: var(--g-cream); }
@media (max-width: 860px) {
  .bk-hero { align-items: end; padding: 120px 0 56px; }
  .bk-in { padding-left: 0; }
  .bk-art::after { background: linear-gradient(180deg, rgba(255, 244, 236, .9), rgba(255, 244, 236, .2) 16%, transparent 24%, rgba(255, 244, 236, .86) 52%, var(--g-cream) 70%); }
  .bk-art img { object-position: 30% 20%; }
}
@media (prefers-reduced-motion: reduce) { .bk-art img { animation: none; } }
/* the top bar on the cream hero: red ink instead of bone */
.bk .bar .mark b { color: var(--g-red-ink); } .bk .bar .mark span { color: #7a3a33; }
.bk .bar nav a { color: #6b2d27; } .bk .bar nav a:hover { color: var(--g-red-ink); }
.bk .bar nav .btn-red { color: #fff; }
.bk .bar nav .btn-ghost { color: var(--g-red-ink); box-shadow: inset 0 0 0 1px rgba(143, 7, 10, .4); }
.bk .bar nav .btn-ghost:hover { background: rgba(179, 8, 12, .06); }
.bk :focus-visible { outline-color: var(--g-red); }
.bk .gl-black :focus-visible, .bk .gl-red :focus-visible { outline-color: var(--g-cream); }

/* ---- sample artists (Codex, group 11; sample-artists.js): invented people on demo cards, never leads, always labelled.
   The card's foot says "Sample artist" (live); the tag on top says Sample at any size, the hero card's caption too. ---- */
.sa-card { position: relative; min-width: 0; }
/* a Hero-rarity card has the class "hero", which site.css also uses for a page's opening section (full height, padding) */
.lh-page .tc.hero { display: block; min-height: 0; padding: 0; }
.sa-tag { display: none; } /* the card's own foot says Sample artist, as the row's note does */
.sa-wrap { margin-top: clamp(44px, 6vw, 76px); }
.sa-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); padding-top: 14px; }
.sa-note { margin: 24px 0 0; text-align: center; font: 400 11px/1.5 var(--serif); letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 244, 236, .62); }
@media (max-width: 860px) {
  /* a row you swipe, one card and a bit of the next, inside the page (no sideways page scroll) */
  .sa-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(56vw, 230px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 16px 16px 12px; scroll-padding: 0 16px; scrollbar-width: none; }
  .sa-row::-webkit-scrollbar { display: none; }
  .sa-row > .sa-card { scroll-snap-align: start; }
  .sa-note { letter-spacing: .2em; }
}


/* ---------- one world for the whole page: the same dots and red light all the way down, sections on top of it ---------- */
.lh-page, .lh-page body { background: var(--g-ember); }
.lh-page main > section.band:not(.gl-cream):not(.closer) { background: transparent !important; }
.lh-page main > section.band:not(.gl-cream)::before, .lh-page main > section.band::after { display: none !important; }
.lf-world { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--g-ember); }
.lf-world::before { content: ""; position: absolute; inset: 0; opacity: .3; background: radial-gradient(circle, rgba(255, 110, 90, .4) 1px, transparent 1.6px) 0 0 / 15px 15px; }
.lf-glow { position: absolute; display: block; width: 90vmax; height: 90vmax; border-radius: 50%; will-change: transform; }
.lf-a { left: calc(50% - 45vmax); top: calc(50% - 45vmax); background: radial-gradient(closest-side, rgba(170, 18, 24, .5), transparent); }
.lf-b { left: calc(50% - 45vmax); top: calc(50% - 45vmax); background: radial-gradient(closest-side, rgba(90, 8, 14, .55), transparent 80%); }
.lf-line { position: fixed; z-index: 40; left: 0; right: 0; top: 0; height: 2px; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, #8f070a, #ff3b30); pointer-events: none; }
.lf-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.lf-w > span { display: inline-block; will-change: transform; }

/* the video slots until the clips land */
.vid-art { opacity: 1 !important; transform: none !important; background: radial-gradient(circle, rgba(255, 110, 90, .26) 1px, transparent 1.6px) 0 0 / 12px 12px, radial-gradient(80% 90% at 50% 40%, #4a0d10, #140506) !important; }
.vid-play { transition: transform .35s var(--ease), box-shadow .35s; }
.vid-play:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255, 244, 236, .34), 0 22px 50px rgba(0, 0, 0, .55); }

/* how it works: the scroll runs a real card and its first message */
.hw2 { height: 300svh; padding: 0 !important; scroll-margin-top: 0; }
.hw2-stage { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.hw2-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.hw2-steps { list-style: none; margin: clamp(16px, 3svh, 34px) 0 0; padding: 0; display: grid; gap: 6px; }
.hw2-steps li { padding: clamp(10px, 1.8svh, 16px) 18px; border-left: 2px solid rgba(255, 244, 236, .16); opacity: .46; transition: opacity .3s, border-color .3s, background .3s; }
.hw2-steps li.on { opacity: 1; border-left-color: #e0232a; background: linear-gradient(90deg, rgba(224, 35, 42, .16), transparent); }
.hw2-steps b { display: block; font: 400 clamp(19px, 1.8vw, 26px)/1.2 var(--serif); color: var(--g-cream); }
.hw2-steps span { display: block; margin-top: 4px; color: rgba(255, 244, 236, .74); font: 500 15.5px/1.45 var(--sans); }
.hw2-demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(16px, 2.4vw, 36px); align-items: center; }
.hw2-card { width: min(100%, 46svh); justify-self: end; }
.hw2-msg { padding: 22px; border: 1px solid rgba(255, 244, 236, .14); border-radius: 12px; background: rgba(12, 5, 6, .78); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.hw2-msg small { color: #f08a78; letter-spacing: .14em; text-transform: uppercase; font: 600 11px/1.3 var(--sans); }
.hw2-msg p { min-height: 8.5em; margin: 10px 0 16px; color: var(--g-cream); font: 400 16px/1.55 var(--serif); }
.hw2-btn { display: block; padding: 12px 14px; border-radius: 8px; text-align: center; font: 600 14px/1.25 var(--sans); color: rgba(255, 255, 255, .55); background: #3a1416; transition: background .25s, color .25s, transform .25s, box-shadow .25s; }
.hw2-btn.on { color: #fff; background: #c8141b; transform: scale(1.03); box-shadow: 0 10px 28px rgba(200, 20, 27, .45); }
.hw2.is-plain { height: auto; } .hw2.is-plain .hw2-stage { position: relative; height: auto; padding: 72px 0; } .hw2.is-plain .hw2-steps li { opacity: 1; }
@media (max-aspect-ratio: 5/6), (max-width: 860px) {
  .hw2-stage { align-items: start; padding-top: max(16px, 2svh); }
  .hw2-grid { grid-template-columns: 1fr; gap: 12px; }
  .hw2 .gl-label { margin-bottom: 8px; }
  .hw2 h2 { font-size: clamp(24px, 6.8vw, 40px); }
  .hw2-steps { margin-top: 10px; gap: 2px; } .hw2-steps li { padding: 6px 12px; } .hw2-steps span { display: none; } .hw2-steps li.on span { display: block; font-size: 13.5px; }
  .hw2-demo { grid-template-columns: minmax(96px, 34vw) minmax(0, 1fr); gap: 10px; }
  .hw2-card { width: 100%; }
  .hw2-msg { padding: 12px; } .hw2-msg p { font-size: 13.5px; min-height: 9em; margin: 6px 0 8px; line-height: 1.4; }
  .hw2-btn { font-size: 11.5px; padding: 9px 6px; }
}
@media (max-height: 560px) and (min-aspect-ratio: 5/6) {
  .hw2 h2 { font-size: 24px; } .hw2 .gl-label { display: none; }
  .hw2-steps { margin-top: 8px; gap: 0; } .hw2-steps li { padding: 4px 10px; } .hw2-steps b { font-size: 15px; } .hw2-steps span { display: none; }
  .hw2-msg { padding: 10px; } .hw2-msg p { font-size: 12.5px; min-height: 7em; margin: 4px 0 6px; line-height: 1.35; } .hw2-btn { padding: 6px; font-size: 11px; }
}

/* the cards section */
.pack-live { position: relative; aspect-ratio: 2 / 3; width: min(100%, 340px); margin: 0 auto; }
.pack-live canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pack-live .pl-was { z-index: 1; opacity: 1; transition: opacity .8s cubic-bezier(.45, 0, .55, 1); }
.pack-live .pl-was.is-out { opacity: 0; }
.pl-glow { position: absolute; inset: -22%; z-index: -1; background: radial-gradient(closest-side, var(--pc, rgba(179, 8, 12, .55)), transparent); opacity: 0; transition: opacity .8s cubic-bezier(.45, 0, .55, 1); pointer-events: none; }
.pl-glow.on { opacity: 1; }
.pack-live::after { content: ""; position: absolute; inset: 4%; background: var(--pp) center / contain no-repeat; z-index: -1; transition: background-image .8s; } /* until the 3D pack is here (or where it can't be) */
.pack-live.gl-on::after { display: none; }
.tiers .tier { transition: transform .3s, background .3s, box-shadow .3s; }
.tiers .tier.on { background: color-mix(in srgb, var(--c) 18%, transparent); box-shadow: inset 3px 0 0 var(--c); }
.sa-card.idle-slot { perspective: 1100px; transition: filter .3s; }
.faq { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
/* the last call stands on the city */
.gl-world.closer { background: radial-gradient(60% 70% at 50% 42%, rgba(12, 4, 5, .84), rgba(12, 4, 5, .22) 78%), url("assets/art/new/site/city-v2/web/la-wide.webp") 62% 60% / cover no-repeat !important; min-height: 76svh; display: grid; align-items: center; }
.lh-pin.no-label span { display: none; }
.lh-page .bar .btn { white-space: nowrap; }
@media (max-width: 400px) { .lh-page .bar nav { gap: 8px; } .lh-page .bar .btn { padding: 0 12px; } .lh-page .mark span { letter-spacing: .2em; white-space: nowrap; } }

/* the video slots read as designed things before any clip is in: the result is the picture, and it stays when the clip lands */
.vids { gap: 18px; }
.vid { position: relative; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 244, 236, .12), 0 18px 44px rgba(0, 0, 0, .45); }
.vid .vid-play { border-radius: 0; box-shadow: none; aspect-ratio: 16 / 11; }
.vid-lead .vid-play { height: 100%; min-height: 380px; aspect-ratio: auto; }
.vid .vid-play:hover { transform: none; box-shadow: none; }
.vid .vid-art { transition: transform .9s var(--ease); }
.vid:hover .vid-art { transform: scale(1.06) !important; }
.vid .vid-play::after { background: linear-gradient(180deg, transparent 30%, rgba(10, 3, 4, .86)); }
.vid .vid-play i { left: auto; top: 16px; right: 16px; margin: 0; width: 46px; height: 46px; }
.vid .vid-play i::before { left: 18px; top: 13px; border-width: 10px 0 10px 15px; }
.vid figcaption { position: absolute; left: 20px; right: 20px; bottom: 16px; margin: 0; pointer-events: none; }
.vid figcaption b { font-size: clamp(26px, 2.6vw, 42px); text-shadow: 0 2px 18px rgba(0, 0, 0, .8); }
.vid-lead figcaption b { font-size: clamp(40px, 5vw, 76px); }
.vid figcaption span { color: rgba(255, 244, 236, .82); }
.vid video { height: 100%; object-fit: cover; }
.hw-rarity { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hw-rarity-t h3 { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.15; color: var(--g-cream); }
.hw-rarity .vid-note { grid-column: 2; margin-top: -8px; }
.vid-wide .vid-play { aspect-ratio: 16 / 9; }
@media (max-width: 860px) { .hw-rarity { grid-template-columns: 1fr; } .hw-rarity .vid-note { grid-column: 1; } .vid-lead .vid-play { min-height: 0; aspect-ratio: 16 / 11; height: auto; } .vids { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .vids { grid-template-columns: 1fr 1fr; gap: 10px; } .vid-lead { grid-column: 1 / -1; } .vid figcaption { left: 12px; right: 12px; bottom: 10px; } .vid figcaption b { font-size: 22px; } .vid-lead figcaption b { font-size: 38px; } .vid figcaption span { font-size: 12.5px; line-height: 1.3; } .vid:not(.vid-lead) .vid-play { aspect-ratio: 1 / 1; } .vid .vid-play i { width: 38px; height: 38px; top: 10px; right: 10px; } .vid .vid-play i::before { left: 15px; top: 10px; border-width: 9px 0 9px 13px; } }

/* every section melts into the next: cream through growing dots into solid dark, the story's end and the last section into the same dark */
.lh-page main > section.gl-cream { position: relative; padding-top: clamp(120px, 14vw, 200px); padding-bottom: clamp(120px, 14vw, 200px); }
.lh-page main > section.gl-cream::before, .lh-page main > section.gl-cream::after { content: ""; position: absolute; display: block !important; left: 0; right: 0; height: clamp(110px, 12vw, 170px); pointer-events: none; z-index: 0;
  background: radial-gradient(circle, var(--g-ember) 42%, transparent 46%) 0 0 / 11px 11px, linear-gradient(var(--dir), var(--g-ember) 12%, transparent 88%); }
.lh-page main > section.gl-cream::before { --dir: 180deg; top: 0; -webkit-mask: linear-gradient(#000 30%, transparent); mask: linear-gradient(#000 30%, transparent); }
.lh-page main > section.gl-cream::after { --dir: 0deg; bottom: 0; -webkit-mask: linear-gradient(transparent, #000 70%); mask: linear-gradient(transparent, #000 70%); }
.gl-cream .wrap { position: relative; z-index: 1; }
.lh-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24svh; z-index: 3; pointer-events: none; background: linear-gradient(transparent, var(--g-ember)); }
.hw2-stage::before { content: ""; position: absolute; inset: 0 0 auto; height: 24svh; pointer-events: none; background: linear-gradient(var(--g-ember), transparent); }
.hw2-grid { position: relative; }
/* the dark table the cards are dealt on, fading in and out */
.lh-table { position: absolute; inset: 0; z-index: 2; opacity: 0; visibility: hidden; pointer-events: none; background: radial-gradient(60% 60% at 50% 46%, rgba(10, 4, 5, .25), rgba(8, 3, 4, .86)), url("assets/art/new/site/bands-v2/web/table-wide.webp") center / cover no-repeat; }
.lh-pack canvas { will-change: transform; }
/* answers open smoothly */
.faq details { interpolate-size: allow-keywords; }
.faq details::details-content { height: 0; overflow: hidden; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq summary { transition: color .2s, padding-left .25s var(--ease); }
.faq summary:hover { padding-left: 8px; }
/* the red button has light in it */
.lh-page .btn-red { position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(179, 8, 12, .4); }
.lh-page .btn-red::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .28) 50%, transparent 60%); transform: translateX(-120%); transition: transform .7s var(--ease); pointer-events: none; }
.lh-page .btn-red:hover::after { transform: translateX(120%); }
/* the last call */
.gl-world.closer { background: linear-gradient(180deg, var(--g-ember), transparent 26%, transparent 76%, var(--g-ember)), radial-gradient(60% 70% at 50% 42%, rgba(12, 4, 5, .84), rgba(12, 4, 5, .22) 78%), url("assets/art/new/site/city-v2/web/la-wide.webp") 62% 60% / cover no-repeat !important; min-height: 86svh; }
.closer h2 { font-size: clamp(38px, 5vw, 84px) !important; text-shadow: 0 4px 30px #000; }
.closer .intro { color: rgba(255, 244, 236, .9); text-shadow: 0 2px 14px #000; }
@media (max-width: 860px) { .gl-world.closer { background: linear-gradient(180deg, var(--g-ember), transparent 24%, transparent 78%, var(--g-ember)), radial-gradient(90% 56% at 50% 44%, rgba(8, 3, 4, .92), rgba(8, 3, 4, .3) 92%), url("assets/art/new/site/city-v2/web/la-wide.webp") 72% 60% / cover no-repeat !important; } }

/* the pack's fade between rarities: a slow one, on the canvas's own opacity */

/* the cards are the app's: stage.js leans them, card-idle.css moves them. A turned card in the story takes the pointer too */
.lh-deal .tc, .hw2-front .tc { pointer-events: auto; }
.hw2-flip.is-flat { transform-style: flat; }
.hw2-flip.is-flat .lh-back { display: none; }
.hw2-flip.is-flat .hw2-front { backface-visibility: visible; -webkit-backface-visibility: visible; }
.lh-card { pointer-events: none; }

/* the pin's line to her card */
.lh-link { position: absolute; z-index: 6; left: 0; top: 0; height: 1px; transform-origin: 0 50%; background: linear-gradient(90deg, #ff3b30, rgba(255, 244, 236, .85)); box-shadow: 0 0 8px rgba(255, 60, 48, .8); opacity: 0; visibility: hidden; pointer-events: none; }

/* the waveform in the video slots */
.lf-wave { position: absolute; left: 0; top: 18%; width: 1600px; height: 200px; background: 0 0 / 800px 200px repeat-x; opacity: .5; animation: lf-wave 24s linear infinite paused; will-change: transform; }
.lf-wave.is-run { animation-play-state: running; }
@keyframes lf-wave { to { transform: translate3d(-800px, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .lf-wave { animation: none; } }

/* how it works: the card turns, then the message writes itself */
.hw2-card { perspective: 1400px; aspect-ratio: 2 / 3; }
.hw2-flip { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; translate: calc(var(--slide) * 55%) 0; }
.hw2-front .sa-card { position: absolute; inset: 0; }
.hw2-demo { --slide: 1; }
.hw2-msg { translate: calc(var(--slide) * 40px) 0; }
@media (max-aspect-ratio: 5/6), (max-width: 860px) {
  .hw2-demo { grid-template-columns: 1fr; justify-items: center; gap: 12px; }
  .hw2-card { width: min(48vw, 27svh); justify-self: center; } .hw2-flip { translate: none; }
  .hw2-msg { width: 100%; translate: none; }
  .hw2-msg p { min-height: 5.8em; }
  .hw2-btn { font-size: 13px; }
}
@media (max-aspect-ratio: 5/6) and (max-height: 700px) { .hw2-card { width: min(36vw, 21svh); } .hw2-steps li.on span { display: none; } .hw2-msg p { font-size: 12.5px; } }
@media (min-width: 861px) and (min-aspect-ratio: 5/6) { .hw2-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); } }

/* Codex's backgrounds behind the lower sections, each melting into the dark above and below */
.hw2-stage { background: linear-gradient(90deg, rgba(14, 5, 6, .9), rgba(14, 5, 6, .42) 55%, rgba(14, 5, 6, .55)), linear-gradient(180deg, var(--g-ember), transparent 24%, transparent 74%, var(--g-ember)), url("assets/art/new/site/bands-v2/web/studio-wide.webp") center 80% / cover no-repeat; }
#stories { background: linear-gradient(180deg, var(--g-ember), transparent 30%, transparent 62%, var(--g-ember)), url("assets/art/new/site/bands-v2/web/sky-wide.webp") center bottom / cover no-repeat !important; }
@media (max-aspect-ratio: 5/6) {
  .lh-table { background: radial-gradient(70% 60% at 50% 46%, rgba(10, 4, 5, .25), rgba(8, 3, 4, .86)), url("assets/art/new/site/bands-v2/web/table-tall.webp") center / cover no-repeat; }
  .hw2-stage { background: linear-gradient(180deg, var(--g-ember), rgba(14, 5, 6, .5) 24%, transparent 74%, var(--g-ember)), url("assets/art/new/site/bands-v2/web/studio-tall.webp") center bottom / cover no-repeat; }
  #stories { background: linear-gradient(180deg, var(--g-ember), transparent 40%, transparent 70%, var(--g-ember)), url("assets/art/new/site/bands-v2/web/sky-tall.webp") center bottom / cover no-repeat !important; }
  .gl-world.closer { background: linear-gradient(180deg, var(--g-ember), transparent 24%, transparent 78%, var(--g-ember)), radial-gradient(90% 56% at 50% 44%, rgba(8, 3, 4, .9), rgba(8, 3, 4, .3) 92%), url("assets/art/new/site/city-v2/web/la-tall.webp") center 70% / cover no-repeat !important; }
}
/* things sliding in from the side never make the page scroll sideways */
.lh-page, .lh-page body { overflow-x: clip; }
/* the logo lines up with the words on wide screens */
@media (min-aspect-ratio: 5/6) and (min-height: 561px) { .lh-page .bar .wrap { width: auto; margin: 0 calc(25vw - min(680px, 44vw) / 2 + 2vw); } }
