/* ============================================================================
   Lenny Lenski — styles
   Structure:  1) tokens & reset   2) shared bits
               3) MOBILE layout (default / < 1024px)
               4) DESKTOP layout (>= 1024px, "Split Worlds")
               5) shared overlays (video lightbox)
   ========================================================================== */

/* ---- 1) Tokens & reset -------------------------------------------------- */
:root {
  --purple: #241A4E;
  --purple-podcast: #4A2C82;
  --green-spotlight: #123A33;
  --gold: #FFB300;
  --gold-hover: #ffc94d;
  --ink: #151515;
  --spotify: #1ED760;
  --card: #1e1e1e;
  --hairline: rgba(255, 255, 255, .09);
  --display: 'Oswald', system-ui, sans-serif;
  --body: 'Lora', Georgia, serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--display);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.eyebrow {
  font-weight: 600; font-size: 12px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold); margin: 0;
}
/* decade suffix "s" set smaller than its digits (e.g. 2000s, 00s) */
.dec-s { font-size: .58em; }
/* section kicker labels (Past Perfect / Recognition / Listen in / Get in touch,
   plus the phone-only ones) removed for cleaner headings */
.eyebrow { display: none; }

/* ---- 2) Which layout shows at which width ------------------------------ */
#desktop { display: none; }
@media (min-width: 1024px) {
  #mobile { display: none; }
  #desktop { display: block; }
}

/* ============================================================================
   3) MOBILE LAYOUT  (default, < 1024px)
   ========================================================================== */
.m-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: rgba(36, 26, 78, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.m-wordmark {
  background: none; border: none; padding: 0; cursor: pointer; color: #fff;
  font-weight: 700; font-size: 17px; letter-spacing: .12em; text-transform: uppercase;
}
.m-burger {
  width: 44px; height: 44px; margin: -8px -8px -8px 0;
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.m-burger span { width: 22px; height: 2px; background: var(--gold); display: block; }
.m-burger span:last-child { width: 14px; align-self: flex-end; margin-right: 11px; }

.m-main { }
.m-section { padding: 34px 22px 8px; }
/* offset so section headings clear the sticky header when jumped to via nav */
#mobile [data-sec] { scroll-margin-top: 58px; }

/* hero */
.m-hero { background: var(--purple); padding: 96px 0 0; }
.m-hero-copy { padding: 0 22px; }
.m-hero h1 {
  margin: 12px 0 0; font-weight: 700; font-size: 26px; line-height: 1.1;
  text-transform: uppercase; letter-spacing: .01em; color: #fff;
}
.m-hero-sub {
  margin: 10px 0 0; font-family: var(--body); font-weight: 600;
  font-size: 15px; line-height: 1.55; color: #fff;
}
.m-lenny { margin: 26px auto -5px; width: 64%; }

/* marquee */
.m-band { overflow: hidden; background: var(--ink); border-top: 2px solid var(--gold); padding: 14px 0 16px; }
.m-mq { display: flex; width: max-content; animation: m-marquee 46s linear infinite; }
.m-mq.row2 { animation-duration: 88s; animation-delay: -40s; margin-top: 10px; }
.m-mq-group { display: flex; gap: 12px; padding-right: 12px; }
.m-mq.row2 .m-mq-group { gap: 8px; padding-right: 8px; }
@keyframes m-marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.m-cover {
  flex: none; border: none; padding: 0; cursor: pointer; border-radius: 4px;
  aspect-ratio: 3 / 4.1; width: 96px; overflow: hidden;
  box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .6); background: #222;
}
.m-mq.row2 .m-cover { width: 44px; border-radius: 3px; opacity: .85; }
.m-cover img { width: 100%; height: 100%; object-fit: cover; }

.m-hero-caption { background: var(--purple); padding: 18px 22px 34px; }
.m-hero-caption .cap { margin: 0; font-weight: 600; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.m-hero-caption p { margin: 14px 0 0; font-family: var(--body); font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .82); }

.m-section h2 { margin: 10px 0 4px; font-weight: 700; font-size: 26px; text-transform: uppercase; color: #fff; }
.m-section .lede { margin: 0 0 18px; font-family: var(--body); font-size: 14px; color: rgba(255, 255, 255, .65); }

/* all-books grid */
.m-books-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.m-grid-cover { aspect-ratio: 3 / 4.1; border: none; padding: 0; cursor: pointer; border-radius: 5px; overflow: hidden; background: #222; box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .6); }
.m-grid-cover img { width: 100%; height: 100%; object-fit: cover; }
.m-soon-tile {
  aspect-ratio: 3 / 4.1; border-radius: 5px; border: 1.5px dashed rgba(255, 255, 255, .32); background: #334155;
  cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 8px;
}
.m-soon-tile .clock { color: rgba(255, 255, 255, .7); }
.m-soon-tile .yr { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1; color: #fff; }
.m-soon-tile .soon-tag { font-family: var(--display); font-weight: 600; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

/* trailers */
.m-videos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.m-vid {
  position: relative; display: block; aspect-ratio: 16 / 11; border: none; padding: 0;
  cursor: pointer; border-radius: 10px; overflow: hidden; background: #241A4E center/cover no-repeat;
}
.m-vid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m-vid .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .72)); }
.m-vid .vtitle { position: absolute; left: 10px; bottom: 8px; right: 10px; text-align: left; color: #fff; font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.m-vid .play { position: absolute; top: 8px; left: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(21, 21, 21, .75); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 11px; padding-left: 2px; }

/* spotlight */
.m-spotlight { margin-top: 34px; padding: 30px 0 34px; background: var(--green-spotlight); }
.m-spotlight .pad { padding: 0 22px; }
.m-tabs { display: flex; gap: 2px; overflow-x: auto; margin-top: 16px; padding: 0 22px; border-bottom: 1px solid rgba(255, 255, 255, .18); scrollbar-width: none; }
.m-tabs::-webkit-scrollbar { display: none; }
.m-tab { flex: none; border: none; cursor: pointer; background: transparent; font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); padding: 10px 12px 13px; transition: color 200ms var(--ease), box-shadow 200ms; }
.m-tab .num { opacity: .55; margin-right: 7px; }
.m-tab[aria-selected="true"] { color: #fff; box-shadow: inset 0 -2px 0 var(--gold); }
.m-spot-panel { padding: 22px 22px 0; }
.m-spot-media { margin: 0 auto; }
.m-spot-media.contain { width: 100%; max-width: 220px; min-height: 170px; background-position: center; background-repeat: no-repeat; background-size: contain; }
.m-spot-media.cover { width: 190px; aspect-ratio: 3 / 4.1; border-radius: 8px; background-position: center; background-size: cover; background-repeat: no-repeat; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55); }
.m-spot-media.card { width: 100%; min-height: 150px; background: #fff center/92% no-repeat; border-radius: 12px; }
.m-spot-panel p.para { margin: 16px 0 0; font-family: var(--body); font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, .85); }
.m-spot-panel p.bullet { margin: 10px 0 0; padding: 0 0 0 14px; font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); border-left: 2px solid var(--gold); }
.m-outline-cta { display: inline-flex; align-items: center; height: 46px; margin-top: 18px; padding: 0 20px; border: 1.5px solid var(--gold); color: var(--gold); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; border-radius: 6px; }

/* reviews */
.m-reviews-head { padding: 0 22px; display: flex; align-items: baseline; justify-content: space-between; }
.m-reviews-count { font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.m-reviews-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 18px 22px 10px; scrollbar-width: none; }
.m-reviews-track::-webkit-scrollbar { display: none; }
.m-review { flex: none; width: 296px; scroll-snap-align: start; margin: 0; background: var(--card); border: 1px solid var(--hairline); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.m-review blockquote { margin: 0; font-family: var(--body); font-style: italic; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.m-review .cap { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.m-review .thumb { flex: none; width: 48px; aspect-ratio: 3 / 4; border-radius: 4px; overflow: hidden; background: #222; }
.m-review .thumb img { width: 100%; height: 100%; object-fit: cover; }
.m-review .who { font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.m-review .who span { color: rgba(255, 255, 255, .55); }
/* review cards are links to the book on Amazon */
a.m-review { text-decoration: none; color: inherit; transition: border-color 180ms var(--ease); }
a.m-review:active { border-color: var(--gold); }

/* podcast */
.m-podcast { margin-top: 34px; padding: 30px 22px 36px; background: var(--purple-podcast); }
.m-podcast h2 { margin: 10px 0 6px; font-weight: 700; font-size: 24px; text-transform: uppercase; color: #fff; }
.m-podcast .intro { margin: 0 0 18px; font-family: var(--body); font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.m-eps { display: flex; flex-direction: column; gap: 10px; }
.m-ep { display: flex; gap: 14px; align-items: center; background: rgba(0, 0, 0, .32); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 12px; }
.m-ep .art { flex: none; width: 72px; height: 72px; border-radius: 8px; overflow: hidden; background: #000; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .5); }
.m-ep .art img { width: 100%; height: 100%; object-fit: cover; }
.m-ep .txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.m-ep .t { color: #fff; font-weight: 600; font-size: 14px; line-height: 1.35; text-transform: uppercase; }
.m-ep .meta { color: rgba(255, 255, 255, .6); font-family: var(--body); font-size: 12.5px; }
.m-ep .listen { color: var(--spotify); font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; margin-top: 2px; }
.m-spotify-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; margin-top: 16px; background: var(--spotify); color: #0c2113; font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; border-radius: 10px; }

/* contact */
.m-contact { padding: 34px 22px 44px; background: var(--gold); }
.m-contact .eyebrow { color: #151515; opacity: .7; }
.m-contact h2 { margin: 10px 0 8px; font-weight: 700; font-size: 26px; text-transform: uppercase; color: var(--ink); }
.m-contact p { margin: 0 0 14px; font-family: var(--body); font-size: 14.5px; line-height: 1.6; color: rgba(21, 21, 21, .85); }
.m-mail { display: inline-block; font-weight: 600; font-size: 17px; letter-spacing: .05em; color: var(--ink); border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.m-socials { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.m-social { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--gold); }
.m-social svg { width: 19px; height: 19px; }
.m-copy { margin: 26px 0 0; font-weight: 500; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(21, 21, 21, .55); }

/* mobile menu overlay */
.m-menu { position: fixed; inset: 0; z-index: 60; background: rgba(21, 21, 21, .97); display: flex; flex-direction: column; padding: 18px 22px; }
.m-menu[hidden] { display: none; }
.m-menu-close-row { display: flex; justify-content: flex-end; }
.m-menu-close { width: 44px; height: 44px; background: none; border: none; cursor: pointer; color: var(--gold); font-size: 26px; line-height: 1; }
.m-menu nav { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.m-menu nav a { display: block; padding: 11px 0; font-weight: 700; font-size: 26px; text-transform: uppercase; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.m-menu-socials { margin-top: auto; display: flex; gap: 10px; padding-bottom: 10px; }
.m-menu-socials a { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .1); color: #fff; }
.m-menu-socials svg { width: 17px; height: 17px; }

/* mobile book overlay */
.m-book { position: fixed; inset: 0; z-index: 70; overflow: hidden; }
.m-book[hidden] { display: none; }
.m-book .numeral { position: absolute; top: -30px; right: -14px; font-weight: 700; font-size: 190px; line-height: 1; opacity: .14; pointer-events: none; }
.m-book .scroll { position: relative; height: 100%; overflow-y: auto; padding: 14px 24px 120px; }
.m-book .back { display: flex; align-items: center; gap: 8px; height: 44px; margin-left: -6px; background: none; border: none; cursor: pointer; font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.m-book .body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-top: 14px; }
.m-book .cover { width: min(62%, 240px); aspect-ratio: 3 / 4.1; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.m-book .cover img { width: 100%; height: 100%; object-fit: cover; }
.m-book .tag { font-weight: 600; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; opacity: .75; }
.m-book h2 { font-weight: 700; font-size: 30px; line-height: 1.05; text-transform: uppercase; }
.m-book .blurb { margin: 0; font-family: var(--body); font-size: 15.5px; line-height: 1.6; opacity: .92; max-width: 310px; }
.m-book .nav { display: flex; gap: 22px; margin-top: 6px; }
.m-book .nav button { width: 46px; height: 46px; border-radius: 50%; background: none; cursor: pointer; font-size: 17px; }
.m-book .buy-wrap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 22px 22px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .28) 55%); }
.m-book .buy { display: flex; align-items: center; justify-content: center; height: 52px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; border-radius: 8px; box-shadow: 0 16px 34px -10px rgba(0, 0, 0, .5); }

/* ============================================================================
   4) DESKTOP LAYOUT  (>= 1024px, "Split Worlds")
   ========================================================================== */
.d-split { display: grid; grid-template-columns: 1fr 2fr; height: 100vh; }
.d-rail { height: 100vh; overflow-y: auto; scrollbar-width: none; }
.d-rail::-webkit-scrollbar { display: none; }
/* Left book rail snaps firmly book-to-book; right rail snaps gently so the
   shorter podcast/contact sections stay reachable. */
.d-left { scroll-snap-type: y mandatory; }
.d-right { scroll-snap-type: y proximity; }

/* left rail — books */
.d-book-screen { position: relative; height: 100vh; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 90px 0 125px; }
.d-book-screen .numeral { position: absolute; top: 6%; left: 50%; transform: translateX(-50%); font-weight: 700; font-size: min(24vw, 230px); line-height: 1; color: rgba(255, 255, 255, .10); pointer-events: none; white-space: nowrap; }
.d-book-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6% 0 max(62px, 6%); max-width: 520px; }
.d-book-inner .cover { width: min(56%, 270px, 22vh); aspect-ratio: 3 / 4.1; border-radius: 6px; overflow: hidden; box-shadow: 0 34px 70px -22px rgba(0, 0, 0, .55); }
.d-book-inner .cover img { width: 100%; height: 100%; object-fit: cover; }

/* "coming soon" placeholder cover (left rail, panel, grid) */
.cover.soon, .d-panel-cover.soon { border: 2px dashed rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .05); overflow: visible; box-shadow: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; box-sizing: border-box; padding: 10px; text-align: center; }
.soon .clock { width: 30px; height: 30px; color: rgba(255, 255, 255, .6); }
.soon .yr { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 5vh, 50px); line-height: 1; color: #fff; }
.soon .soon-tag { font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

/* teaser panel (upcoming book) */
.d-teaser-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 7px 14px; border-radius: 999px; }
.d-teaser-note { font-family: var(--body); font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .7); margin-top: 22px; }
.d-book-inner .tag { margin-top: clamp(8px, 2.6vh, 26px); font-weight: 600; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }
.d-book-inner h2 { font-weight: 700; font-size: clamp(22px, min(2.9vw, 4.4vh), 48px); line-height: 1.04; text-transform: uppercase; letter-spacing: .01em; margin: 8px 0 0; text-wrap: balance; }
.d-book-inner .blurb { font-family: var(--body); font-size: clamp(13px, 2vh, 16px); line-height: 1.6; max-width: 400px; margin: clamp(8px, 1.8vh, 14px) 0 0; }
.d-book-links { display: flex; gap: 34px; margin-top: clamp(10px, 2.4vh, 22px); }
.d-book-links a { font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; padding-bottom: 3px; transition: opacity 200ms var(--ease); }
.d-book-links a:hover { opacity: .65; }

/* right rail — sections */
.d-section { min-height: 100vh; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: center; padding: 100px 7% 130px max(120px, 7%); }
.d-section.light { background: #F4F1EA; color: #1B1533; }
.d-hero { background: var(--purple); }
.d-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.d-hero h2 { font-weight: 700; font-size: clamp(36px, 3.4vw, 58px); line-height: 1.02; text-transform: uppercase; letter-spacing: .01em; color: #fff; margin: 16px 0 0; }
.d-hero p { font-family: var(--body); font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, .82); max-width: 480px; margin: 16px 0 0; }
.d-hero p.strong { font-weight: 600; color: #fff; }
.d-hero img { width: auto; max-width: 100%; max-height: min(56vh, 540px); justify-self: center; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .4)); }
.d-underline-cta { display: inline-block; margin-top: 24px; font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: #fff; border-bottom: 2px solid var(--gold); padding-bottom: 4px; transition: opacity 200ms var(--ease); }
.d-underline-cta:hover { opacity: .65; }

.d-section h2.title { font-weight: 700; font-size: clamp(32px, 3vw, 50px); line-height: 1.02; text-transform: uppercase; margin: 0; }
.d-section .lede { font-family: var(--body); font-size: 16px; line-height: 1.7; max-width: 440px; margin: 14px 0 24px; }
.d-section.light .lede { color: rgba(27, 21, 51, .72); }

/* desktop videos */
.d-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; max-width: 820px; }
.d-vid { position: relative; display: block; border: none; cursor: pointer; padding: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: #241A4E center/cover no-repeat; transition: transform 220ms var(--ease), box-shadow 220ms; }
.d-vid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.d-vid:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -16px rgba(27, 21, 51, .4); }
.d-vid .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .6)); }
.d-vid .play { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 42px; height: 31px; border-radius: 7px; background: rgba(21, 21, 21, .82); display: flex; align-items: center; justify-content: center; }
.d-vid .play::after { content: ""; width: 0; height: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.d-vid .vtitle { position: absolute; bottom: 9px; left: 12px; right: 12px; font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #fff; text-align: left; line-height: 1.3; }

/* desktop spotlight */
.d-spotlight { background: var(--green-spotlight); }
.d-spot-wrap { max-width: 960px; }
.d-spot-tabs { display: flex; gap: 6px; margin-top: 28px; flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.d-spot-tab { border: none; cursor: pointer; background: transparent; font-weight: 600; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); padding: 12px 16px 14px; transition: color 200ms var(--ease), box-shadow 200ms; }
.d-spot-tab .num { color: var(--gold); margin-right: 9px; }
.d-spot-tab[aria-selected="true"] { color: #fff; box-shadow: inset 0 -2px 0 var(--gold); }
.d-spot-body { position: relative; min-height: clamp(420px, 58vh, 560px); margin-top: 28px; }
.d-spot-panel { position: absolute; inset: 0; overflow-y: auto; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 380ms var(--ease), transform 380ms var(--ease); }
.d-spot-panel[data-active="true"] { opacity: 1; transform: translateY(0); pointer-events: auto; }
.d-spot-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.d-spot-panel p.para { font-family: var(--body); font-size: 15.5px; line-height: 1.72; color: rgba(255, 255, 255, .84); margin: 14px 0 0; }
.d-spot-panel .bullet { display: flex; gap: 11px; align-items: baseline; margin-top: 8px; }
.d-spot-panel .bullet::before { content: "✦"; color: var(--gold); font-size: 13px; }
.d-spot-panel .bullet span { font-family: var(--body); font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.d-spot-media { width: 100%; justify-self: center; }
.d-spot-media.contain { max-width: 260px; }
.d-spot-media.cover { max-width: 230px; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55); }
.d-spot-media.card { max-width: 340px; background: #fff; border-radius: 12px; padding: 14px 16px; }
.d-spot-media img { width: 100%; }

/* desktop reviews */
.d-reviews-grid { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; max-width: 860px; }
.d-review { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; background: #fff; border-radius: 14px; padding: 18px 20px; box-shadow: 0 10px 28px -14px rgba(27, 21, 51, .22); }
.d-review .thumb { width: 64px; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; }
.d-review .thumb img { width: 100%; height: 100%; object-fit: cover; }
.d-review .stars { color: #E0A730; font-size: 13px; letter-spacing: 3px; }
.d-review .text { font-family: var(--body); font-size: 15px; line-height: 1.55; color: #1B1533; margin-top: 6px; }
.d-review .who { font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(27, 21, 51, .55); margin-top: 8px; }
/* review cards are links to the book on Amazon */
a.d-review { text-decoration: none; color: inherit; transition: transform 180ms var(--ease), box-shadow 180ms var(--ease); }
a.d-review:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -14px rgba(27, 21, 51, .34); }
a.d-review .amz { display: inline-block; margin-top: 8px; font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #B26B00; opacity: 0; transition: opacity 180ms var(--ease); }
a.d-review:hover .amz { opacity: 1; }

/* desktop podcast */
.d-podcast { background: var(--purple-podcast); min-height: 80vh; padding: 90px 0 130px; scroll-snap-align: start; }
.d-podcast-head { padding: 0 7% 0 max(120px, 7%); display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.d-podcast-head h2 { font-weight: 700; font-size: clamp(30px, 2.8vw, 46px); line-height: 1.02; text-transform: uppercase; color: #fff; margin: 14px 0 0; }
.d-podcast-head p { font-family: var(--body); font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .8); max-width: 440px; margin: 14px 0 0; }
.d-feature { position: relative; margin: 26px 7% 0 max(120px, 7%); max-width: 720px; background: rgba(0, 0, 0, .32); border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; overflow: hidden; min-height: 200px; }
.d-feat-slide { position: absolute; inset: 0; display: flex; flex-wrap: wrap; opacity: 0; pointer-events: none; transition: opacity 420ms var(--ease); }
.d-feat-slide[data-active="true"] { position: relative; opacity: 1; pointer-events: auto; }
.d-feat-slide .art { flex: 1 1 200px; min-width: 170px; min-height: 160px; background: #000 center/cover no-repeat; }
.d-feat-slide .info { flex: 2 1 280px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 20px 22px 40px; min-width: 0; }
.d-feat-slide .kick { font-weight: 600; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.d-feat-slide .t { font-weight: 700; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.2; text-transform: uppercase; color: #fff; }
.d-feat-slide .desc { font-family: var(--body); font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.d-feat-slide .listen { font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--spotify); margin-top: 4px; }
.d-feat-ctrl { position: absolute; bottom: 12px; right: 16px; display: flex; align-items: center; gap: 9px; z-index: 5; }
.d-feat-ctrl button.arrow { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .35); color: #fff; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; transition: all 180ms var(--ease); }
.d-feat-ctrl button.arrow:hover { background: var(--gold); color: var(--purple); border-color: transparent; }
.d-feat-dot { width: 9px; height: 9px; border-radius: 50%; padding: 0; cursor: pointer; border: 1.5px solid rgba(255, 255, 255, .8); background: transparent; transition: all 200ms var(--ease); }
.d-feat-dot[data-active="true"] { background: var(--gold); border-color: var(--gold); }
.d-eps-wrap { margin: 16px 7% 0 max(120px, 7%); background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; padding: 8px 4px 8px 0; max-width: 720px; }
.d-eps { max-height: 44vh; overflow-y: auto; padding: 6px 16px; scrollbar-width: thin; }
.d-ep { display: flex; align-items: center; gap: 14px; padding: 13px 10px; border-bottom: 1px solid rgba(255, 255, 255, .1); transition: background 180ms var(--ease); }
.d-ep:hover { background: rgba(255, 255, 255, .08); }
.d-ep .ico { width: 20px; height: 20px; color: var(--gold); flex: none; }
.d-ep .info { flex: 1; min-width: 0; }
.d-ep .t { display: block; font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: #fff; line-height: 1.35; }
.d-ep .meta { display: block; font-family: var(--body); font-size: 12.5px; color: rgba(255, 255, 255, .6); margin-top: 3px; }
.d-ep .arr { color: rgba(255, 255, 255, .55); font-size: 16px; flex: none; }

/* desktop contact */
.d-contact { background: #9D2F52; min-height: 90vh; }
.d-contact h2 { font-weight: 700; font-size: clamp(32px, 3vw, 50px); line-height: 1.02; text-transform: uppercase; color: #fff; margin: 14px 0 0; }
.d-contact p { font-family: var(--body); font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .85); max-width: 460px; margin: 16px 0 0; }
.d-mail { display: inline-block; width: fit-content; margin-top: 20px; font-weight: 600; font-size: clamp(18px, 1.8vw, 26px); letter-spacing: .06em; text-transform: uppercase; color: #fff; border-bottom: 2px solid var(--gold); padding-bottom: 4px; transition: opacity 200ms var(--ease); }
.d-mail:hover { opacity: .65; }
.d-socials { display: flex; gap: 11px; margin-top: 26px; flex-wrap: wrap; }
.d-social { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; transition: all 200ms var(--ease); }
.d-social:hover { background: #fff; color: #9D2F52; border-color: transparent; transform: translateY(-3px); }
.d-social svg { width: 19px; height: 19px; }
.d-contact .copy { font-family: var(--body); font-size: 13px; color: rgba(255, 255, 255, .5); margin-top: 44px; }

/* fixed chrome */
.d-wordmark { position: fixed; top: 26px; left: 34px; z-index: 30; font-weight: 700; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .3); pointer-events: none; }
.d-wordmark .dot { color: var(--gold); }
.d-tabs { position: fixed; z-index: 45; display: flex; gap: 10px; top: 0; left: 33.333%; transform: translateX(-50%); transition: top 440ms var(--ease), left 440ms var(--ease), transform 440ms var(--ease); }
.d-tabs.shifted { top: 70px; left: 34px; transform: translateX(0); }
.d-tab-btn { border: none; cursor: pointer; font-weight: 600; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; padding: 13px 22px 12px; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .45); border-radius: 0 0 8px 8px; transition: border-radius 440ms, filter 200ms; }
.d-tabs.shifted .d-tab-btn { border-radius: 6px; }
.d-tab-btn.books { background: var(--ink); color: #fff; }
.d-tab-btn.menu { background: var(--gold); color: var(--ink); }
.d-tab-btn:hover { filter: brightness(1.12); }
/* horizontal social bar, centered under the seam; slides to a bottom-left pill
   when a panel/menu is open; hides while the books grid is open. */
.d-social-tab {
  position: fixed; z-index: 46; bottom: 0; left: 33.333%; transform: translateX(-50%);
  display: flex; gap: 6px; align-items: center; padding: 10px 18px 12px;
  background: var(--ink); border-radius: 10px 10px 0 0;
  box-shadow: 0 -10px 26px -10px rgba(0, 0, 0, .45);
  transition: bottom 440ms var(--ease), left 440ms var(--ease), transform 440ms var(--ease), border-radius 440ms, opacity 300ms var(--ease);
}
.d-social-tab.shifted { bottom: 24px; left: 34px; transform: translateX(0); padding: 10px 14px; border-radius: 10px; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .45); }
.d-social-tab.hidden { opacity: 0; pointer-events: none; }
.d-social-tab a { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; transition: all 200ms var(--ease); }
.d-social-tab a:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.d-social-tab svg { width: 17px; height: 17px; }

/* bobbing "scroll for more" chevron, centered in the right rail */
@keyframes d-bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } }
.d-scroll-hint {
  position: fixed; bottom: 16px; left: 66.666%; transform: translateX(-50%); z-index: 46;
  width: 40px; height: 40px; border: none; padding: 0; cursor: pointer; background: transparent;
  color: rgba(255, 255, 255, .55); display: flex; align-items: center; justify-content: center;
  animation: d-bob 2.6s cubic-bezier(.45, 0, .55, 1) infinite;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .35)); transition: color 200ms var(--ease);
}
.d-scroll-hint:hover { color: rgba(255, 255, 255, .9); }
.d-scroll-hint.hidden { display: none; }
.d-scroll-hint svg { width: 100%; height: 100%; transition: transform 300ms var(--ease); }
.d-scroll-hint.at-end svg { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .d-scroll-hint { animation: none; } }
.d-dots { position: fixed; left: 12px; top: 50%; transform: translateY(-50%); z-index: 45; display: flex; flex-direction: column; align-items: center; gap: 13px; width: 38px; }
.d-dot { width: 11px; height: 11px; border-radius: 50%; padding: 0; cursor: pointer; border: 2px solid rgba(255, 255, 255, .85); background: transparent; transition: all 220ms var(--ease); box-shadow: 0 1px 6px rgba(0, 0, 0, .3); }
.d-dot[data-active="true"] { background: #fff; transform: scale(1.25); }
.d-playpause { margin-top: 10px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); background: rgba(0, 0, 0, .25); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; transition: all 220ms var(--ease); }
.d-playpause:hover { background: rgba(0, 0, 0, .5); }
.d-playpause svg { display: block; }

/* desktop book detail panel */
.d-panel { position: fixed; top: 0; bottom: 0; left: 33.333%; width: 66.667%; z-index: 80; background: var(--purple); overflow-y: auto; padding: 76px 6% 80px; transform: translateX(103%); transition: transform 460ms var(--ease); box-shadow: -24px 0 60px rgba(0, 0, 0, .35); }
.d-panel.open { transform: translateX(0); }
.d-panel-close, .d-grid-close { position: absolute; top: 24px; right: 32px; display: flex; align-items: center; gap: 9px; border: none; background: transparent; color: rgba(255, 255, 255, .85); font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; padding: 6px 0; transition: color 180ms var(--ease); z-index: 5; }
.d-panel-close:hover, .d-grid-close:hover { color: #fff; }
.d-panel-close .x, .d-grid-close .x { font-size: 18px; line-height: 1; }
.d-panel-grid { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; max-width: 860px; }
/* looping page-drop: top page falls away → cover → interior pages → back → repeat.
   Stacking + transforms are driven by js/site.js (dPanel.startFlip). */
.d-panel-cover { position: relative; aspect-ratio: 3 / 4.1; border-radius: 6px; overflow: hidden; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55); background: rgba(0, 0, 0, .18); }
.d-panel-cover .frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform, opacity; }
.d-panel-award { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; padding: 14px; margin-top: 18px; }
.d-panel-award img { width: 64px; flex: none; }
.d-panel-award span { font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.45; color: #fff; }
.d-panel .tag { font-weight: 600; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.d-panel h3 { font-weight: 700; font-size: clamp(24px, 2.2vw, 38px); line-height: 1.05; text-transform: uppercase; color: #fff; margin: 8px 0 0; text-wrap: balance; }
.d-buy { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 10px 20px; border-radius: 4px; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .45); transition: transform 180ms var(--ease), filter 180ms; }
.d-buy:hover { transform: translateY(-2px); filter: brightness(1.06); }
.d-panel-blocks { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.d-panel-blocks .h { font-weight: 700; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-top: 8px; }
.d-panel-blocks .p { font-family: var(--body); font-size: 15.5px; line-height: 1.72; color: rgba(255, 255, 255, .88); }
.d-panel-blocks .p b { color: #fff; }
.d-panel-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.d-panel-tags span { font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff; border: 1px solid rgba(255, 255, 255, .4); padding: 7px 13px; border-radius: 999px; }
.d-panel-vid { position: relative; display: block; width: 100%; border: none; cursor: pointer; padding: 0; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; margin-top: 18px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); transition: transform 200ms var(--ease); }
.d-panel-vid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.d-panel-vid::after { content: ""; position: absolute; inset: 0; background: rgba(10, 8, 20, .4); z-index: 1; }
.d-panel-vid:hover { transform: translateY(-3px); }
.d-panel-vid .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2; }
.d-panel-vid .play .tri { width: 46px; height: 34px; border-radius: 8px; background: rgba(255, 255, 255, .92); display: flex; align-items: center; justify-content: center; }
.d-panel-vid .play .tri::after { content: ""; width: 0; height: 0; border-left: 12px solid var(--ink); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
.d-panel-vid .play span { font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #fff; }

/* desktop menu overlay */
.d-menu { position: fixed; top: 0; bottom: 0; left: 33.333%; width: 66.667%; z-index: 85; background: #fff; display: flex; flex-direction: column; justify-content: center; padding: 0 10%; transform: translateX(103%); transition: transform 420ms var(--ease); box-shadow: -24px 0 60px rgba(0, 0, 0, .25); }
.d-menu.open { transform: translateX(0); }
.d-menu .label { font-family: var(--body); font-style: italic; font-size: 18px; color: rgba(27, 21, 51, .6); border-bottom: 1px solid rgba(27, 21, 51, .25); width: fit-content; padding-bottom: 6px; }
.d-menu nav { display: flex; flex-direction: column; gap: 6px; margin-top: 26px; }
.d-menu nav a { font-weight: 700; font-size: clamp(28px, 3vw, 44px); text-transform: uppercase; letter-spacing: .02em; line-height: 1.25; color: #1B1533; transition: color 180ms var(--ease); }
.d-menu nav a:hover { color: #FF3D8B; }
.d-menu-close { position: absolute; top: 22px; right: 28px; width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--ink); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0, 0, 0, .25); }

/* desktop grid overlay */
.d-grid { position: fixed; inset: 0; z-index: 82; display: flex; flex-direction: column; background: var(--ink); opacity: 0; pointer-events: none; transition: opacity 360ms var(--ease); }
.d-grid.open { opacity: 1; pointer-events: auto; }
.d-grid-inner { flex: 1; display: grid; overflow-y: auto; }
.d-grid-cell { border: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 36px 14px; min-height: 46vh; transition: filter 200ms var(--ease); }
.d-grid-cell:hover { filter: brightness(1.12); }
.d-grid-cell .cover { width: 72%; max-width: 150px; aspect-ratio: 3 / 4.1; border-radius: 4px; overflow: hidden; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .5); }
.d-grid-cell .cover img { width: 100%; height: 100%; object-fit: cover; }
.d-grid-cell .label { font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-align: center; line-height: 1.4; max-width: 170px; }
.d-grid-ph { background: #1F1B2E; cursor: default; }
.d-grid-empty { background: #1a1622; cursor: default; }
.d-grid-ph .ph { width: 72%; max-width: 150px; aspect-ratio: 3 / 4.1; border: 2px dashed rgba(255, 255, 255, .3); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .45); }
.d-grid-ph .label { color: rgba(255, 255, 255, .5); }

/* ============================================================================
   5) Shared video lightbox
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(10, 8, 20, .78); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox .frame { position: relative; width: min(880px, 92vw); }
.lightbox .video-holder { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .7); }
.lightbox iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox .lb-title { font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); padding: 0 4px 10px; }
.lightbox .lb-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 12px 4px 0; }
.lightbox .lb-foot p { margin: 0; font-family: var(--body); font-size: 13px; color: rgba(255, 255, 255, .55); }
.lightbox .lb-foot a { font-weight: 600; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.lightbox .lb-close { position: absolute; top: -18px; right: -18px; width: 40px; height: 40px; border-radius: 50%; border: none; background: #fff; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); display: flex; align-items: center; justify-content: center; }
@media (max-width: 520px) { .lightbox .lb-close { top: -52px; right: 0; } }

body.no-scroll { overflow: hidden; }

/* ============================================================================
   INTRO ANIMATION OVERLAY
   ========================================================================== */
#intro { display: none; }
.intro-pending #intro,
#intro.show { display: block; position: fixed; inset: 0; z-index: 200; overflow: hidden; background: var(--purple); }
/* keep the page behind from scrolling/flashing while the intro is up */
.intro-pending { overflow: hidden; }

.intro-content { position: absolute; inset: 0; transition: opacity 620ms var(--ease), transform 620ms var(--ease); opacity: 1; transform: scale(1); }
#intro.gone .intro-content { opacity: 0; transform: scale(1.04); pointer-events: none; }

/* drifting cover collage */
.intro-collage { position: absolute; inset: -16% -12%; z-index: 0; pointer-events: none; transform: rotate(-8deg); opacity: .1; filter: saturate(.6); }
.intro-collage .row { display: flex; gap: 28px; width: max-content; animation: intro-marq 80s linear infinite; }
.intro-collage .row.b { margin-top: 28px; animation-duration: 110s; animation-direction: reverse; }
.intro-collage .cover { width: calc(58vh * 0.732); height: 58vh; flex: none; border-radius: 10px; background-position: center; background-size: cover; background-repeat: no-repeat; }
@keyframes intro-marq { to { transform: translateX(-50%); } }

/* floating puzzle pieces / letter tiles (positions set inline by JS) */
.intro-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.intro-piece { position: absolute; }
.intro-jig { width: 100%; height: 100%; background-position: center; background-size: contain; background-repeat: no-repeat; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); }
@keyframes intro-spill { 0% { transform: translate(0, 0) rotate(0deg) scale(.4); opacity: 0; } 12% { opacity: .95; } 82% { opacity: .95; } 100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(1); opacity: 0; } }
.intro-word { position: absolute; display: flex; gap: 5px; z-index: 2; }
.intro-word .tile { width: clamp(22px, 2.4vw, 32px); height: clamp(22px, 2.4vw, 32px); border-radius: 5px; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: clamp(13px, 1.4vw, 18px); color: #fff; box-shadow: 0 5px 12px rgba(0, 0, 0, .35); }
@keyframes intro-wordfloat { 0%, 100% { translate: 0 0; opacity: 0; } 12%, 80% { opacity: .92; } 50% { translate: var(--dx) var(--dy); } 99% { translate: 0 0; } }

/* Lenny */
.intro-lenny { position: absolute; left: 50%; bottom: -9%; width: min(760px, 64vw); transform: translateX(-50%); z-index: 3; filter: drop-shadow(0 24px 44px rgba(0, 0, 0, .45)); animation: intro-lenny-bob 6.5s ease-in-out infinite; }
@keyframes intro-lenny-bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-12px); } }

/* trivia / chuckle cards */
.intro-cards { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.intro-card { position: absolute; }
.intro-card .inner { background: #fff; border-radius: 8px; padding: 16px 20px; box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .5); }
.intro-card .kicker { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 7px; }
.intro-card .fact { font-family: var(--body); font-size: 15px; line-height: 1.5; color: #1B1533; transition: opacity 400ms var(--ease); }
.intro-card .art { width: 100%; height: clamp(70px, 14vh, 105px); background-position: center; background-size: cover; background-repeat: no-repeat; border-radius: 6px; margin: 2px 0 10px; }
@keyframes intro-float { 0% { transform: translate(0, 0) rotate(var(--r0)); opacity: 0; } 10% { opacity: 1; } 86% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) rotate(var(--r1)); opacity: 0; } }

/* title + enter */
.intro-title { position: absolute; left: 50%; top: 10%; transform: translateX(-50%); width: min(860px, 90vw); text-align: center; z-index: 12; animation: intro-rise .9s .15s var(--ease) both; }
.intro-title .eyebrow2 { font-family: var(--display); font-size: clamp(11px, 1.2vw, 13px); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.intro-title h1 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5.6vw, 78px); line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: #fff; margin: 0; }
.intro-enter { margin-top: 30px; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: var(--gold); border: none; padding: 19px 46px; border-radius: 5px; cursor: pointer; animation: intro-pulse 2.6s var(--ease) infinite; transition: transform 160ms var(--ease), filter 160ms; }
.intro-enter:hover { transform: translateY(-3px); filter: brightness(1.06); }
@keyframes intro-rise { 0% { transform: translateX(-50%) translateY(60px); opacity: 0; } 100% { transform: translateX(-50%) translateY(0); opacity: 1; } }
@keyframes intro-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 179, 0, .55), 0 20px 44px -14px rgba(0, 0, 0, .55); } 70% { box-shadow: 0 0 0 16px rgba(255, 179, 0, 0), 0 20px 44px -14px rgba(0, 0, 0, .55); } 100% { box-shadow: 0 0 0 0 rgba(255, 179, 0, 0), 0 20px 44px -14px rgba(0, 0, 0, .55); } }

/* announcement banner (middle of the intro) */
.intro-banner {
  position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%); z-index: 13;
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  background: #334155; border: 2px solid var(--gold); border-radius: 16px;
  padding: 18px 26px; max-width: min(92vw, 460px);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .7);
  animation: intro-banner-pulse 2.8s var(--ease) infinite;
}
.intro-banner .ib-kicker { font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.intro-banner .ib-title { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.05; text-transform: uppercase; color: #fff; }
.intro-banner .ib-cta { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--gold); border: none; padding: 13px 24px; border-radius: 9px; cursor: pointer; transition: transform 160ms var(--ease), filter 160ms; }
.intro-banner .ib-cta:hover { transform: translateY(-2px); filter: brightness(1.06); }
@keyframes intro-banner-pulse { 0%, 100% { box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .7), 0 0 0 0 rgba(255, 179, 0, .45); } 70% { box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .7), 0 0 0 18px rgba(255, 179, 0, 0); } }
@media (max-width: 760px) { .intro-banner { top: 44%; max-width: 90vw; padding: 14px 18px; } }
@media (prefers-reduced-motion: reduce) { .intro-banner { animation: none; } }

/* progress bar + hint */
.intro-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .12); z-index: 7; }
.intro-progress .bar { height: 100%; width: 100%; transform-origin: left; background: var(--gold); animation: intro-progress 25s linear both; }
@keyframes intro-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.intro-hint { position: absolute; right: 24px; bottom: 16px; font-family: var(--display); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .45); z-index: 7; }

/* fewer distractions on small screens */
@media (max-width: 760px) {
  .intro-collage { opacity: .07; }
  .intro-hide-mobile { display: none !important; }
  .intro-lenny { width: 92vw; bottom: -6%; }
  .intro-title { top: 7%; }
}
@media (max-height: 620px) { .intro-hide-short { display: none !important; } }

/* ---- Reduced motion ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .m-mq { animation: none !important; }
  * { scroll-behavior: auto !important; }
  .intro-collage .row, .intro-piece, .intro-word, .intro-card, .intro-lenny, .intro-enter { animation: none !important; }
}
