/* ============================================================
 *  TED SAUNDERS — LITERATURE & PHILOSOPHY
 *  The literary wing of the cinematic archive. A philosopher's
 *  notebook found by lantern-light: parchment, brass, runes,
 *  glowing grimoire, drifting haze. Laid out at 1920, scaled.
 *  Builds on site.css tokens; cohesive with portfolio-page.css.
 * ============================================================ */

/* Hide the in-hero top nav once scrolling starts; the fixed sticky
 * nav (sticky-nav.js) takes over. Scoped to the Literature page. */
.lit-page .tk-header {
  transition: opacity .28s ease, visibility .28s ease;
}
.lit-page .tk-header.tk-header--stuck {
  opacity: 0; visibility: hidden; pointer-events: none;
}

/* tunable knobs (Tweaks panel writes these on .lp-root) */
.lp-root {
  --lp-pad: 120px;
  --lp-haze: 1;            /* atmospheric wash intensity */
  --lp-grain-op: 0.06;
  --lp-motion: 1;          /* 0 disables drifts */
  --lp-gold-1: #F7DBA0; --lp-gold-2: #E8B777; --lp-gold-3: #C9915C; --lp-gold-4: #A26A30;
  --lp-peach: linear-gradient(132deg, #FFE6C6 0%, #F8CB92 32%, #E9A968 64%, #C9803F 100%);
  --lp-ink: #2a1c0d;
}
.lp-title-fill {
  background: linear-gradient(180deg, var(--lp-gold-1, #F7DBA0) 0%, var(--lp-gold-2, #E8B777) 30%, var(--lp-gold-3, #C9915C) 62%, var(--lp-gold-4, #A26A30) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- grain ---------- */
.lp-grain::after {
  content: ""; position: absolute; inset: -40%; z-index: 6; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: var(--lp-grain-op); mix-blend-mode: overlay; animation: lpGrain 0.7s steps(3) infinite;
}
@keyframes lpGrain { 0%{transform:translate(0,0)} 33%{transform:translate(-3%,2%)} 66%{transform:translate(2%,-2%)} 100%{transform:translate(-1%,1%)} }
@media (prefers-reduced-motion: reduce) { .lp-grain::after { animation: none; } }

/* motion off (Tweaks) */
.lp-still .lp-grain::after, .lp-still .lp-book__badge .dot { animation: none; }

/* ---------- reveal ---------- */
.lp-reveal { opacity: 0; transform: translateY(38px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.lp-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .lp-reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
 *  HERO — entering the study
 * ============================================================ */
.lp-hero { position: relative; width: 1920px; min-height: 1000px; background: #060403; overflow: hidden; isolation: isolate; }
.lp-hero__figure { position: absolute; right: 0; top: 0; bottom: 0; width: 1100px; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%); mask-image: linear-gradient(90deg, transparent 0%, #000 40%); }
.lp-hero__figure .lp-poster, .lp-hero__figure image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-hero__figure .lp-poster { object-fit: cover; object-position: 50% 56%; }
.lp-hero__figure image-slot { z-index: 1; }
.lp-hero__figure::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(0deg, rgba(6,4,3,0.95) 0%, rgba(6,4,3,0) 38%), linear-gradient(180deg, rgba(6,4,3,0.5) 0%, rgba(6,4,3,0) 26%); }
.lp-hero__wash { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(58% 90% at 10% 116%, rgba(150,86,38,calc(0.38 * var(--lp-haze))) 0%, rgba(150,86,38,0) 60%); }
.lp-hero__copy { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 980px; max-width: 92%; text-align: center; }
.lp-hero__eyebrow { font-family: var(--font-sans); font-weight: 600; font-size: 17px; letter-spacing: 0.34em; text-transform: uppercase; color: rgba(245,237,227,0.6); margin: 0 0 30px; }
.lp-hero__title { font-family: var(--font-display); font-weight: 500; font-size: 118px; line-height: 0.92; letter-spacing: 0.02em; text-transform: uppercase; margin: 100px 0 0;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.6)); }
.lp-hero__rule { width: 76px; height: 2px; background: var(--grad-bronze); margin: 36px 0 28px; }
.lp-hero__motto { font-family: var(--font-serif); font-style: italic; font-size: 31px; line-height: 1.4; color: var(--c-cream); margin: 28px 0 26px; }
.lp-hero__sub { font-family: var(--font-body); font-weight: 400; font-size: 20px; line-height: 1.72; color: rgba(245,237,227,0.66); margin: 0 auto; max-width: 680px; text-wrap: pretty; }
.lp-hero__sub em { color: rgba(245,237,227,0.9); font-style: italic; }
.lp-hero__ctas { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 44px; }

/* ---------- 3D gallery hero (tilts in on scroll — mirrors Portfolio) ---------- */
.lph-scroll { position: relative; width: 1920px; height: 1080px; background: #070502; }
.lph-sticky { position: relative; top: 0; left: 0; width: 1920px; height: 1080px; overflow: hidden; isolation: isolate;
  will-change: transform; }
.lph-gallery { position: absolute; inset: -28% -20%; z-index: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  transform-origin: 50% 50%; transform: rotate(-12deg) scale(1.28); will-change: transform; }
.lph-col { display: flex; flex-direction: column; gap: 20px; will-change: transform; }
/* influex-style continuous vertical drift — each column loops forever; middle reversed */
.lph-col__track { display: flex; flex-direction: column; will-change: transform; animation: lphDrift 40s linear infinite; }
.lph-col__track--down { animation-name: lphDriftDown; animation-duration: 52s; }
.lph-col__track > .lph-tile { margin-bottom: 20px; }
@keyframes lphDrift { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes lphDriftDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.lph-col--mid { margin-top: -46%; }
.lph-tile { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: #0c0a08;
  box-shadow: 0 30px 70px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(209,157,99,0.08); }
.lph-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.97) brightness(0.92); }
.lph-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,4,3,0.92) 0%, rgba(6,4,3,0.42) 26%, rgba(6,4,3,0.12) 50%, rgba(6,4,3,0.5) 70%, #070502 88%),
    radial-gradient(72% 46% at 50% 22%, rgba(6,4,3,0.72) 0%, rgba(6,4,3,0) 72%),
    radial-gradient(130% 120% at 50% 50%, rgba(6,4,3,0) 40%, rgba(6,4,3,0.55) 100%); }
.lph-wash { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 30%, rgba(150,90,38,0.22) 0%, rgba(150,90,38,0) 60%); }
.lph-copy { position: absolute; z-index: 3; left: 50%; top: 160px; transform: translateX(-50%); width: 1180px; max-width: 92%; text-align: center; }
.lph-band { position: absolute; left: 0; right: 0; top: 0; height: 100%; z-index: 2; pointer-events: none;
  background: rgba(0,0,0,0.8); }
.lph-glow { position: absolute; z-index: 2; pointer-events: none; width: 1180px; height: 980px; }
.lph-glow--bl { left: -240px; bottom: 230px;
  background: none; }
.lph-glow--tr { right: -240px; top: -240px;
  background: radial-gradient(ellipse 50% 50% at 80% 20%,
    rgba(232,176,86,0.66) 0%, rgba(201,145,60,0.32) 30%, rgba(140,94,38,0.12) 58%, rgba(7,5,2,0) 100%); }
.lph-copy > * { animation: lphRise 1s cubic-bezier(.2,.7,.2,1) both; }
.lph-copy > *:nth-child(1) { animation-delay: 0.10s; }
.lph-copy > *:nth-child(2) { animation-delay: 0.22s; }
.lph-copy > *:nth-child(3) { animation-delay: 0.34s; }
.lph-copy > *:nth-child(4) { animation-delay: 0.44s; }
.lph-copy > *:nth-child(5) { animation-delay: 0.54s; }
.lph-kicker { display: inline-flex; align-items: center; justify-content: center; gap: 18px; margin: 0 0 28px;
  font-family: var(--font-sans); font-weight: 700; font-size: 15px; letter-spacing: 0.4em; text-transform: uppercase; color: rgba(232,183,119,0.9); }
.lph-kicker::before, .lph-kicker::after { content: ""; width: 46px; height: 1px; background: var(--grad-bronze); }
@keyframes lphRise { from { filter: blur(10px); opacity: 0; transform: translateY(18px); } to { filter: blur(0); opacity: 1; transform: none; } }
.lph-title { font-family: var(--font-display); font-weight: 500; font-size: 132px; line-height: 0.9; letter-spacing: 0.02em; text-transform: uppercase; margin: 0;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.6)); }
.lph-rule { width: 220px; height: 2px; margin: 34px auto 26px;
  background: linear-gradient(90deg, rgba(201,145,60,0) 0%, rgba(232,176,86,0.95) 50%, rgba(201,145,60,0) 100%); }
.lph-motto { font-family: var(--font-serif); font-style: italic; font-size: 30px; line-height: 1.4; color: var(--c-cream); margin: 0 0 22px; }
.lph-sub { font-family: var(--font-body); font-weight: 400; font-size: 20px; line-height: 1.72; color: rgba(245,237,227,0.7); margin: 0 auto; max-width: 1120px; text-wrap: pretty; text-align: center; display: flex; flex-direction: column; gap: 28px; }
.lph-sub em { color: rgba(245,237,227,0.9); font-style: italic; }
.lph-scrollcue { position: absolute; z-index: 3; left: 50%; bottom: 54px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-weight: 600; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(245,237,227,0.5); }
.lph-scrollcue .bar { width: 1px; height: 46px; background: linear-gradient(180deg, rgba(232,183,119,0.9), rgba(232,183,119,0)); animation: lphCue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes lphCue { 0%,100% { transform: scaleY(0.4); opacity: 0.5; } 50% { transform: scaleY(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lph-copy > * { animation: none; } .lph-gallery { transform: rotate(-12deg) scale(1.28) !important; } .lph-scrollcue .bar { animation: none; } .lph-col__track { animation: none !important; } }
/* Mobile */
.tk-stage.is-mobile .lph-scroll { width: 100%; height: auto; }
.tk-stage.is-mobile .lph-sticky { position: relative; width: 100%; height: auto; min-height: 620px; transform: none !important; }
.tk-stage.is-mobile .lph-gallery { position: absolute; inset: 0; transform: none !important; grid-template-columns: repeat(2, 1fr); gap: 10px; opacity: 0.4; }
.tk-stage.is-mobile .lph-col--mid { margin-top: 0; }
.tk-stage.is-mobile .lph-tile { aspect-ratio: 4 / 3; }
.tk-stage.is-mobile .lph-copy { position: relative; left: 0; top: 0; transform: none; width: 100%; padding: 130px 24px 80px; }
.tk-stage.is-mobile .lph-band { top: 0; height: 100%; }
.tk-stage.is-mobile .lph-title { font-size: 56px; }
.tk-stage.is-mobile .lph-motto { font-size: 18px; }
.tk-stage.is-mobile .lph-sub { font-size: 16px; }
.tk-stage.is-mobile .lph-scrollcue { display: none; }

/* CTA buttons — poetic, understated */
.lp-cta { display: inline-flex; align-items: center; gap: 14px; height: 60px; padding: 0 34px; cursor: pointer; white-space: nowrap;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid rgba(209,157,99,0.42); background: rgba(0,0,0,0.25); color: #fff;
  transition: border-color .35s, background .35s, transform .15s; }
.lp-cta:hover { border-color: rgba(232,183,119,0.95); background: rgba(209,157,99,0.1); }
.lp-cta:active { transform: scale(0.98); }
.lp-cta .arr { font-size: 18px; color: #E8B777; transition: transform .35s; }
.lp-cta:hover .arr { transform: translateX(5px); }
.lp-cta--gold { border: 1px solid rgba(209,157,99,0.8); color: #1a1208; background: var(--lp-peach); font-weight: 700; }
.lp-cta--gold .arr { color: #5a3a16; transition: transform .35s, color .35s; }
.lp-cta--gold:hover { background: rgba(0,0,0,0.85); color: #E8B777; border-color: rgba(232,183,119,0.95); }
.lp-cta--gold:hover .arr { color: #E8B777; }

/* ============================================================
 *  SECTION SCAFFOLD
 * ============================================================ */
.lp-body-bg { background: #000; width: 1920px; }
.lp-sec { position: relative; width: 1920px; isolation: isolate; overflow: hidden; padding: 130px 0; }
.lp-env { position: absolute; inset: 0; z-index: 0; }
.lp-env .lp-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-poster--par { top: -14%; height: 128%; will-change: transform; }
[data-par] { will-change: transform; }
.lp-env__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.lp-seam-top { position: absolute; inset: 0 0 auto 0; height: 200px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, #000 0%, rgba(0,0,0,0) 100%); }

/* section header (eyebrow / title / blurb) used by row sections */
.lp-head { position: relative; z-index: 2; padding: 0 var(--lp-pad); max-width: 1240px; }
.lp-head__eyebrow { font-family: var(--font-sans); font-weight: 700; font-size: 16px; letter-spacing: 0.28em; text-transform: uppercase; margin: 0 0 20px;
  background: var(--grad-bronze); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-head__title { font-family: var(--font-display); font-weight: 500; font-size: 72px; line-height: 0.98; letter-spacing: 0.02em; text-transform: uppercase; margin: 0; }
.lp-head__blurb { font-family: var(--font-body); font-weight: 400; font-size: 21px; line-height: 1.66; color: rgba(245,237,227,0.66); margin: 26px 0 0; max-width: 760px; text-wrap: pretty; }
.lp-head__blurb em { color: rgba(245,237,227,0.9); font-style: italic; }

/* ============================================================
 *  EDITORIAL SECTION BANNER — full-bleed still + overlapping
 *  title card (gold accent bar) + intro paragraph below
 * ============================================================ */
.lp-banner { position: relative; z-index: 2; margin-top: -130px; }
.lp-banner__media { position: relative; width: 100%; height: 820px; overflow: hidden; background: #0a0806; }
.lp-banner__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.lp-banner__compass { position: absolute; right: -84px; top: 252px; z-index: 3;
  width: 372px; height: 372px; pointer-events: none; color: rgba(74,54,28,0.55);
  transform: translateY(-50%); }
.lp-banner__compass svg { width: 100%; height: 100%; display: block; }
.lp-banner__side { position: absolute; left: 30px; top: 280px; z-index: 4; margin: 0;
  writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); transform-origin: center;
  font-family: var(--font-sans); font-weight: 700; font-size: 15px; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(232,183,119,0.7); white-space: nowrap; pointer-events: none;
  padding: 22px 14px; border: 1px solid rgba(232,183,119,0.4); border-radius: 10px; }
.lp-banner__side::before, .lp-banner__side::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 1.5px; height: 46px; border-radius: 2px;
  background: linear-gradient(180deg, rgba(190,146,74,0) 0%, rgba(190,146,74,0.95) 50%, rgba(190,146,74,0) 100%); }
.lp-banner__side::before { top: -58px; }
.lp-banner__side::after { bottom: -58px; }
.lp-banner__vig { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 26%),
    linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 42%),
    linear-gradient(90deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0) 32%); }
.lp-banner__card { position: relative; z-index: 3; display: inline-block; overflow: hidden;
  margin: -120px 0 0 0;
  background: #000000;
  padding: 34px 60px 34px var(--lp-pad); box-shadow: none; }
.lp-banner__eyebrow { font-family: var(--font-sans); font-weight: 700; font-size: 14px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(232,183,119,0.92); margin: 0 0 16px; }
.lp-banner__title { font-family: var(--font-display); font-weight: 600; font-size: 64px; line-height: 0.94; letter-spacing: 0.01em; text-transform: uppercase; margin: 0;
  background: url("../assets/heading-texture.jpg") center / cover;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; }
.lp-banner__bar { display: none; }
.lp-banner__blurb { position: relative; z-index: 2; font-family: var(--font-body); font-weight: 400; font-size: 21px; line-height: 1.66; color: rgba(245,237,227,0.7); margin: 40px 0 0; padding: 0 var(--lp-pad); max-width: 880px; text-wrap: pretty; }
.lp-banner__blurb em { color: rgba(245,237,227,0.92); font-style: italic; }

/* ---------- Book of Ignorance — black headline card, double gold border, textured title, dark base shade ---------- */
.lp-sec--book .lp-banner__card {
  background: #000000;
  margin: -120px 0 0 0;
  padding: 34px 60px 34px var(--lp-pad);
  box-shadow: none; }
.lp-sec--book .lp-banner__eyebrow { color: rgba(232,183,119,0.92); }
.lp-sec--book .lp-banner__title {
  background: url("../assets/heading-texture.jpg") center / cover;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; }
.lp-sec--book .lp-banner__bar, .lp-sec--poetry .lp-banner__bar, .lp-sec--essays .lp-banner__bar, .lp-sec--thoughts .lp-banner__bar, .lp-sec--worlds .lp-banner__bar { display: none; }
.lp-sec--poetry .lp-banner__card { background: transparent !important; box-shadow: none; }
.lp-sec--book .lp-banner__card, .lp-sec--poetry .lp-banner__card, .lp-sec--essays .lp-banner__card, .lp-sec--thoughts .lp-banner__card, .lp-sec--worlds .lp-banner__card { padding-top: 54px; }
.lp-sec--book .lp-banner__card, .lp-sec--poetry .lp-banner__card, .lp-sec--essays .lp-banner__card, .lp-sec--thoughts .lp-banner__card, .lp-sec--worlds .lp-banner__card { padding-bottom: 38px; }
.lp-sec--book .lp-banner__title, .lp-sec--poetry .lp-banner__title, .lp-sec--essays .lp-banner__title, .lp-sec--thoughts .lp-banner__title, .lp-sec--worlds .lp-banner__title { white-space: nowrap; font-size: 64px; margin-bottom: 0; }
/* ---------- Book of Ignorance — bring the title card back over the poster,
   with a left→right dark wash so the title reads cleanly. ---------- */
.lp-sec--book .lp-banner__card, .lp-sec--poetry .lp-banner__card, .lp-sec--essays .lp-banner__card, .lp-sec--thoughts .lp-banner__card, .lp-sec--worlds .lp-banner__card { display: inline-block; }
.lp-sec--book .lp-banner__media { position: relative; }
/* gold glow blooming from the right (where the book sits), fading leftward */
.lp-sec--book .lp-banner__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(60% 90% at 82% 48%,
    rgba(212,164,84,0.42) 0%, rgba(196,146,66,0.22) 34%, rgba(150,108,48,0.08) 58%, rgba(0,0,0,0) 78%);
  mix-blend-mode: screen; }
.lp-sec--book .lp-banner__media::after,
.lp-sec--poetry .lp-banner__media::after,
.lp-sec--essays .lp-banner__media::after,
.lp-sec--thoughts .lp-banner__media::after,
.lp-sec--worlds .lp-banner__media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(8,5,3,0.86) 0%, rgba(8,5,3,0.62) 30%, rgba(8,5,3,0.24) 56%, rgba(8,5,3,0) 80%),
    linear-gradient(180deg,
      rgba(7,5,2,0.97) 0%, rgba(7,5,2,0.74) 8%, rgba(7,5,2,0.34) 18%, rgba(7,5,2,0) 32%, rgba(7,5,2,0) 58%, rgba(7,5,2,0.5) 82%, rgba(7,5,2,0.92) 100%); }
.lp-sec--book .lp-banner__media img { object-position: center 42%; }
.lp-sec--book .lp-banner__blurb, .lp-sec--poetry .lp-banner__blurb, .lp-sec--essays .lp-banner__blurb, .lp-sec--thoughts .lp-banner__blurb, .lp-sec--worlds .lp-banner__blurb {
  max-width: 1120px; margin-top: -16px; }
.lp-book__cta-wrap { position: relative; isolation: isolate; }
.lp-book__cta-wrap > .lp-cta { position: relative; z-index: 1; }
.lp-sec--book .lp-banner__blurb { max-width: 1120px; }
.lp-sec--thoughts .lp-banner { margin-top: -150px; }
.lp-sec--thoughts .lp-banner__media img { object-position: center 12%; }
.lp-sec--essays .lp-banner__media img { object-position: center 14%; }
.lp-sec--worlds .lp-banner__media img { object-position: center 10%; }
.lp-sec--worlds .lp-env { display: none; }
.lp-sec--poetry .lp-banner__media { height: 960px; }
/* worlds banner: drop the left→right side shade, keep only the top/bottom vertical fade */
.lp-sec--worlds .lp-banner__media::after {
  background: linear-gradient(180deg,
    rgba(7,5,2,0.97) 0%, rgba(7,5,2,0.74) 8%, rgba(7,5,2,0.34) 18%, rgba(7,5,2,0) 32%, rgba(7,5,2,0) 58%, rgba(7,5,2,0.5) 82%, rgba(7,5,2,0.92) 100%); }

/* ============================================================
 *  TEDFLIX ROW — horizontal browse w/ arrows
 * ============================================================ */
.lp-row { position: relative; z-index: 2; margin-top: 60px; }
.lp-row__view { overflow: hidden; padding: 16px 0; }
.lp-sec--book .lp-row__view { overflow-x: clip; overflow-y: visible; padding: 26px 0; }
.lp-row__view--bleed { padding-left: var(--lp-pad); padding-right: var(--lp-pad); }
.lp-row__track { display: flex; gap: 34px; padding: 0 var(--lp-pad); will-change: transform; }
.lp-row__arrow { position: absolute; z-index: 5; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0,0,0,0.46); border: 1px solid rgba(209,157,99,0.4); color: #E8C98A; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .3s, border-color .3s, opacity .3s; }
.lp-row__arrow:hover { background: rgba(209,157,99,0.16); border-color: rgba(232,183,119,0.9); }
.lp-row__arrow svg { width: 21px; height: 21px; }
.lp-row__arrow--prev { left: 40px; } .lp-row__arrow--next { right: 40px; }
.lp-row__arrow[data-dim] { opacity: 0.22; cursor: default; }

/* Book row: left-edge black shade behind the prev arrow (dark at left, fading right) */
.lp-sec--book .lp-row { position: relative; }
.lp-sec--book .lp-row::before {
  content: ""; pointer-events: none;
  position: absolute; left: 0; top: -40px; bottom: -40px; width: 200px;
  background: linear-gradient(to right, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 42%, rgba(0,0,0,0) 100%);
  z-index: 4; }
.lp-sec--book .lp-row__arrow { z-index: 6; }
/* Book of Ignorance: move prev/next arrows beneath the cards, aligned left;
   keep the disabled prev arrow visible in a muted gray stroke. */
.lp-sec--book .lp-row { padding-bottom: 68px; }
.lp-sec--book .lp-row__arrow { top: auto; bottom: 0; transform: none; }
.lp-sec--book .lp-row__arrow--prev { left: var(--lp-pad); right: auto; }
.lp-sec--book .lp-row__arrow--next { left: calc(var(--lp-pad) + 68px); right: auto; }
.lp-sec--book .lp-row__arrow[data-dim] { opacity: 1; border-color: rgba(150,150,150,0.5); color: rgba(150,150,150,0.6); cursor: default; }
.lp-sec--book .lp-row__arrow[data-dim]:hover { background: rgba(0,0,0,0.46); border-color: rgba(150,150,150,0.5); }
/* the left-edge black shade was sized for a mid-height arrow; drop it now that
   the arrows sit below the cards */
.lp-sec--book .lp-row::before { display: none; }

/* ============================================================
 *  THE BOOK OF IGNORANCE — the centerpiece artifact
 * ============================================================ */
.lp-sec--book { background: transparent; padding: 0 0 150px; position: relative; z-index: 2; }
.lp-sec--book::before { content: ""; position: absolute; left: 50%; bottom: 85px; transform: translateX(-50%);
  width: 1760px; height: 820px; max-width: 100%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle 551px at 74% 54%,
    rgba(232,176,86,0.34) 0%, rgba(201,145,60,0.18) 34%, rgba(140,94,38,0.07) 60%, rgba(60,40,16,0.02) 80%, rgba(7,5,2,0) 100%); }
.lp-sec--book .lp-banner { margin-top: 0; }
.lp-sec--book .lp-env .lp-poster { object-position: 64% 30%; filter: saturate(1.04) brightness(0.92); }
.lp-sec--book .lp-env__veil {
  background:
    linear-gradient(90deg, rgba(7,5,2,0.97) 0%, rgba(7,5,2,0.86) 30%, rgba(7,5,2,0.34) 58%, rgba(7,5,2,0.62) 100%),
    linear-gradient(180deg, #000 0%, rgba(7,5,2,0) 18%),
    radial-gradient(40% 48% at 70% 46%, rgba(255,196,128,calc(0.22 * var(--lp-haze))) 0%, rgba(255,196,128,0) 70%);
}
.lp-book { position: relative; z-index: 2; padding: 0 var(--lp-pad); display: block; max-width: 1120px; }
.lp-book__body { max-width: 720px; }
.lp-book__badge { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-sans); font-weight: 700; font-size: 14px; letter-spacing: 0.26em; text-transform: uppercase; color: #2a1c0d;
  background: var(--lp-peach); padding: 9px 18px; border-radius: 2px; }
.lp-book__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #2a1c0d; animation: lpPulse 2.6s ease-in-out infinite; }
@keyframes lpPulse { 0%,100%{opacity:0.4} 50%{opacity:1} }
.lp-book__title { font-family: var(--font-display); font-weight: 500; font-size: 100px; line-height: 0.96; letter-spacing: 0.01em; text-transform: uppercase; margin: 0; }
.lp-book__sub { font-family: var(--font-serif); font-style: italic; font-size: 28px; line-height: 1.4; color: var(--c-cream); margin: 22px 0 0; }
.lp-book__body { font-family: var(--font-body); font-weight: 400; font-size: 20px; line-height: 1.72; color: rgba(245,237,227,0.68); margin: 26px 0 0; max-width: 540px; text-wrap: pretty; }
.lp-book__cta { margin-top: 40px; }
/* virtue codex */
.lp-codex { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-virtue { position: relative; padding: 26px 26px 28px; cursor: default; overflow: hidden;
  background: linear-gradient(168deg, rgba(28,20,11,0.86) 0%, rgba(14,9,4,0.86) 100%);
  border: 1px solid rgba(209,157,99,0.22); transition: border-color .5s, transform .5s, background .5s; }
.lp-virtue::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--lp-peach); opacity: 0; transition: opacity .5s; }
.lp-virtue:hover { transform: translateY(-4px); border-color: rgba(232,183,119,0.6); background: linear-gradient(168deg, rgba(40,28,15,0.92) 0%, rgba(20,13,6,0.92) 100%); }
.lp-virtue:hover::before { opacity: 1; }
.lp-virtue__rune { font-family: var(--font-serif); font-size: 30px; line-height: 1; color: #E8B777; }
.lp-virtue__name { font-family: var(--font-display); font-weight: 500; font-size: 25px; letter-spacing: 0.05em; text-transform: uppercase; margin: 14px 0 0; color: var(--c-cream-deep); }
.lp-virtue__line { font-family: var(--font-serif); font-style: italic; font-size: 16.5px; line-height: 1.5; color: rgba(245,237,227,0.64); margin: 10px 0 0; }

/* ============================================================
 *  POETRY ROW — parchment slips
 * ============================================================ */
.lp-sec--poetry { background: #0b0704; position: relative; }
.lp-sec--poetry::before { content: ""; position: absolute; inset: 0; transform: none;
  pointer-events: none; z-index: 1;
  background: radial-gradient(43% 36% at 4% 74%,
    rgba(232,176,86,0.32) 0%, rgba(201,145,60,0.16) 30%, rgba(120,80,30,0.05) 56%, rgba(7,5,2,0) 80%); }
.lp-sec--poetry .lp-head__title { color: transparent; }
.lp-poem { flex: 0 0 auto; width: 580px; min-height: 375px; cursor: pointer; position: relative; padding: 48px 120px 42px;
  background: url('../assets/paper-texture.png') center/100% 100% no-repeat;
  filter: drop-shadow(0 26px 40px rgba(0,0,0,0.5));
  display: flex; flex-direction: column; justify-content: center; transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .55s; }
.lp-poem::before { display: none; }
.lp-poem:nth-child(odd) { transform: rotate(-0.7deg); }
.lp-poem:nth-child(even) { transform: rotate(0.6deg); }
.lp-poem:hover { transform: rotate(0deg) translateY(-10px); filter: drop-shadow(0 50px 80px rgba(0,0,0,0.7)) drop-shadow(0 0 46px rgba(214,151,51,0.2)); }
.lp-poem__no { display: none; }
.lp-poem__title { font-family: var(--font-display); font-weight: 500; font-size: 30px; line-height: 1.08; color: #2a1c0d; margin: 14px 0 0; }
.lp-poem__excerpt { font-family: var(--font-serif); font-style: italic; font-size: 22px; line-height: 1.6; color: #3a2a12; margin: 0; white-space: pre-line; text-wrap: pretty; }
.lp-poem__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(120,84,40,0.32); }
.lp-poem__date { font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #6b4a1f; }
.lp-poem__tag { font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #6b4a1f; margin-bottom: 20px; }
.lp-poem__read { font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #8a5e26; display: inline-flex; gap: 7px; align-items: center; transition: gap .35s; }
.lp-poem:hover .lp-poem__read { gap: 12px; }

/* ---------- TedThoughts cards (lp-tc — separate from poetry lp-poem) ---------- */
.lp-tc { flex: 0 0 auto; width: 860px; aspect-ratio: 2 / 1; min-height: 400px; cursor: pointer; position: relative; padding: 62px 132px 56px;
  background: url('../assets/tt-scroll-1.png') center/100% 100% no-repeat;
  filter: drop-shadow(0 26px 40px rgba(0,0,0,0.5));
  display: flex; flex-direction: column; justify-content: center; transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .55s; }
/* three unrolled-scroll backdrops, alternating down the row */
.lp-tc:nth-child(3n+2) { background-image: url('../assets/tt-scroll-2.png'); }
.lp-tc:nth-child(3n+3) { background-image: url('../assets/tt-scroll-3.png'); }
.lp-tc:nth-child(odd) { transform: rotate(-0.7deg); }
.lp-tc:nth-child(even) { transform: rotate(0.6deg); }
.lp-tc:hover { transform: rotate(0deg) translateY(-10px); filter: drop-shadow(0 50px 80px rgba(0,0,0,0.7)) drop-shadow(0 0 46px rgba(214,151,51,0.2)); }
.lp-tc__excerpt { font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: 24px; line-height: 1.4; color: #2a1c0a; margin: 0; white-space: pre-line; text-wrap: pretty; }
/* Shuffle + sort controls above the scroll rail */
.lp-tcbar { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 0 var(--lp-pad); margin: 40px 0 4px; }
.lp-tcbar__shuffle { display: inline-flex; align-items: center; gap: 11px; cursor: pointer;
  font-family: var(--font-sans); font-weight: 700; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #E8B777; background: transparent; border: 1px solid rgba(209,157,99,0.45); border-radius: 3px; padding: 13px 24px;
  transition: background .3s ease, border-color .3s ease, color .3s ease; }
.lp-tcbar__shuffle svg { width: 17px; height: 17px; }
.lp-tcbar__shuffle:hover { background: rgba(209,157,99,0.1); border-color: #FBE6B8; color: #FBE6B8; }
.lp-tcbar__sort { display: flex; align-items: center; gap: 10px; }
.lp-tcbar__opt { cursor: pointer; font-family: var(--font-sans); font-weight: 700; font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(245,237,227,0.5); background: transparent; border: 1px solid rgba(209,157,99,0.28);
  border-radius: 3px; padding: 11px 20px; transition: color .3s ease, border-color .3s ease, background .3s ease; }
.lp-tcbar__opt:hover { color: #FBE6B8; border-color: rgba(232,183,119,0.6); }
.lp-tcbar__opt.is-on { color: #FBE6B8; border-color: #E8B777; background: rgba(209,157,99,0.12); }
.lp-tc__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(120,84,40,0.32); }
.lp-tc__foot .lp-share-btn { border-color: rgba(107,63,23,0.4); color: #6b4a1f; padding: 7px 14px; font-size: 10px; }
.lp-tc__foot .lp-share-btn:hover { background: rgba(107,63,23,0.08); border-color: rgba(107,63,23,0.7); color: #3a2210; }
.lp-tc__date { font-family: var(--font-sans); font-weight: 700; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: #6b4a1f; }
.lp-tc__read { font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #8a5e26; display: inline-flex; gap: 7px; align-items: center; transition: gap .3s; background: none; border: none; cursor: pointer; padding: 3px; }
.lp-tc:hover .lp-tc__read { gap: 12px; }

/* ---------- TedThoughts popup modal ---------- */
.lp-ttmodal { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.82); backdrop-filter: blur(6px); }
.lp-ttmodal__scroll { max-height: 88vh; overflow-y: auto; width: 100%; display: flex; justify-content: center; padding: 60px 24px; scrollbar-width: none; }
.lp-ttmodal__scroll::-webkit-scrollbar { display: none; }
.lp-ttmodal__inner { width: 100%; max-width: 720px; }
.lp-ttmodal__body { position: relative; padding: 72px 100px 80px;
  background: url('../assets/paper-texture-gold.png') center/100% 100% no-repeat;
  box-shadow: 0 60px 120px rgba(0,0,0,0.75); }
.lp-ttmodal__date { font-family: var(--font-sans); font-weight: 700; font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase; color: #6b4a1f; margin-bottom: 20px; }
.lp-ttmodal__divider { width: 60px; height: 2px; background: linear-gradient(to right, #BF8753, #FAC288, #BF8753); margin-bottom: 28px; }
.lp-ttmodal__text { font-family: var(--font-serif); font-style: italic; font-size: 22px; line-height: 1.7; color: #3a2a12; white-space: pre-line; text-wrap: pretty; margin: 0; }
.lp-ttmodal__x { position: fixed; top: 28px; right: 36px; z-index: 9001; background: rgba(10,7,4,0.82); border: 1px solid rgba(232,183,119,0.7); color: rgba(232,183,119,0.95); font-size: 28px; line-height: 1; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .25s, border-color .25s; }
.lp-ttmodal__x:hover { background: rgba(30,20,10,0.92); border-color: rgba(246,211,107,0.95); }
.lp-ttmodal__nav { position: fixed; top: 50%; transform: translateY(-50%); z-index: 9001; background: rgba(0,0,0,0.5); border: 1px solid rgba(180,130,60,0.35); color: rgba(232,183,119,0.85); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .25s, border-color .25s; }
.lp-ttmodal__nav svg { width: 20px; height: 20px; }
.lp-ttmodal__nav:hover { background: rgba(180,130,60,0.18); border-color: rgba(232,183,119,0.75); }
.lp-ttmodal__nav--prev { left: 24px; }
.lp-ttmodal__nav--next { right: 24px; }
.lp-ttmodal__count { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 9001; font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.18em; color: rgba(232,183,119,0.7); }
.lp-ttmodal__count b { color: rgba(232,183,119,1); }

/* ---------- Worldbuilding modal ---------- */
.lp-wmodal { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.9); backdrop-filter: blur(8px); }
.lp-wmodal__scroll { max-height: 90vh; overflow-y: auto; width: 100%; display: flex; align-items: flex-start; justify-content: center;
  padding: 60px 24px; scrollbar-width: thin; scrollbar-color: rgba(180,130,60,0.3) transparent; }
.lp-wmodal__scroll::-webkit-scrollbar { width: 4px; }
.lp-wmodal__scroll::-webkit-scrollbar-thumb { background: rgba(180,130,60,0.35); border-radius: 2px; }
.lp-wmodal__card { width: 100%; max-width: 800px; background: #0d0906;
  border: 1px solid rgba(180,130,60,0.28); border-radius: 4px; overflow: hidden;
  box-shadow: 0 48px 110px rgba(0,0,0,0.85); }
.lp-wmodal__hero { position: relative; width: 100%; aspect-ratio: 21/9;
  background-size: cover; background-position: center; }
.lp-wmodal__hero-veil { position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(13,9,6,0.75) 100%); }
.lp-wmodal__hero-label { position: absolute; bottom: 0; left: 0; padding: 28px 40px; }
.lp-wmodal__kind { display: block; font-family: var(--font-sans); font-weight: 700; font-size: 11px;
  letter-spacing: 0.26em; text-transform: uppercase; color: rgba(232,183,119,0.85); margin-bottom: 8px; }
.lp-wmodal__title { font-family: var(--font-display); font-weight: 500; font-size: 42px; line-height: 1.05;
  color: #f5ede3; margin: 0; }
.lp-wmodal__body { padding: 36px 40px 44px; }
.lp-wmodal__blurb { font-family: var(--font-serif); font-style: italic; font-size: 20px; line-height: 1.6;
  color: rgba(245,237,227,0.8); margin: 0; text-wrap: pretty; }
.lp-wmodal__section { margin-bottom: 28px; }
.lp-wmodal__section-label { font-family: var(--font-sans); font-weight: 700; font-size: 10px;
  letter-spacing: 0.3em; text-transform: uppercase; color: rgba(232,183,119,0.7); margin-bottom: 10px; }
.lp-wmodal__text { font-family: var(--font-body); font-size: 16px; line-height: 1.75;
  color: rgba(245,237,227,0.65); margin: 0; text-wrap: pretty; }
.lp-wmodal__row { display: flex; gap: 32px; margin-bottom: 28px; }
.lp-wmodal__section--half { flex: 1 1 0; min-width: 0; margin-bottom: 0; }
.lp-wmodal__chars { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.lp-wmodal__chars li { font-family: var(--font-body); font-size: 14px; line-height: 1.5;
  color: rgba(245,237,227,0.62); padding-left: 14px; position: relative; }
.lp-wmodal__chars li::before { content: "—"; position: absolute; left: 0; color: rgba(232,183,119,0.5); }
.lp-wmodal__cta-wrap { border-top: 1px solid rgba(180,130,60,0.2); padding-top: 28px; margin-top: 4px; }
.lp-wmodal__cta-label { font-family: var(--font-sans); font-weight: 700; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(232,183,119,0.7); margin-bottom: 14px; }
.lp-wmodal__cta-btn { display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px; background: linear-gradient(135deg, #BF8753, #FAC288, #C9915C);
  border: none; border-radius: 2px; text-decoration: none;
  font-family: var(--font-sans); font-weight: 700; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; color: #1a0e05;
  cursor: pointer; transition: opacity .25s, transform .15s; }
.lp-wmodal__cta-btn:hover { opacity: 0.88; }
.lp-wmodal__cta-btn:active { transform: scale(0.97); }
.lp-wmodal__share-row { margin-top: 16px; }
@media (max-width: 600px) {
  .lp-wmodal__hero { aspect-ratio: 16/9; }
  .lp-wmodal__hero-label { padding: 20px 24px; }
  .lp-wmodal__title { font-size: 28px; }
  .lp-wmodal__body { padding: 28px 24px 36px; }
  .lp-wmodal__row { flex-direction: column; gap: 20px; }
}
.lp-share-btn { display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid rgba(180,130,60,0.35); border-radius: 2px;
  padding: 9px 18px; cursor: pointer;
  font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(232,183,119,0.8); transition: background .2s, border-color .2s, color .2s; }
.lp-share-btn:hover { background: rgba(180,130,60,0.1); border-color: rgba(232,183,119,0.65); color: #f5ede3; }
.lp-share-btn--dark { border-color: rgba(107,63,23,0.4); color: #6b4a1f; }
.lp-share-btn--dark:hover { background: rgba(107,63,23,0.08); border-color: rgba(107,63,23,0.7); color: #3a2210; }
.lp-pmodal__share { display: flex; justify-content: center; padding: 28px 0 8px; }
.lp-pmodal__share .lp-share-btn { border-color: rgba(107,63,23,0.4); color: #6b4a1f; }
.lp-pmodal__share .lp-share-btn:hover { background: rgba(107,63,23,0.08); border-color: rgba(107,63,23,0.7); color: #3a2210; }
.lp-ttmodal__share { display: flex; justify-content: flex-start; margin-top: 22px; }

/* ---------- Book of Ignorance chapter modal ---------- */
.lp-bmodal { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.88); backdrop-filter: blur(8px); }
.lp-bmodal__scroll { max-height: 90vh; overflow-y: auto; width: 100%; display: flex; flex-direction: column; align-items: center;
  padding: 60px 24px; scrollbar-width: none; }
.lp-bmodal__card { flex: 0 0 auto; }
.lp-bmodal__scroll::-webkit-scrollbar { display: none; }
.lp-bmodal__card { width: 100%; max-width: 1000px;
  background: #efe7d3 url("../assets/book-modal-paper-lg.jpg") center / 100% 100% no-repeat;
  border: none; border-radius: 4px;
  padding: 90px 150px 90px; box-shadow: 0 48px 110px rgba(0,0,0,0.8); }
.lp-bmodal__eyebrow { font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: 0.26em;
  text-transform: uppercase; color: #7a4f1e; margin-bottom: 26px; }
.lp-bmodal__title { font-family: var(--font-display); font-weight: 500; font-size: 48px; line-height: 1.05;
  color: #2c1b0d; margin: 0 0 28px; }

/* blurred preview — no fade shade, full copy shown */
.lp-bmodal__preview-wrap { position: relative; max-height: none; overflow: visible; margin-bottom: 36px; }
.lp-bmodal__preview-text { font-family: var(--font-serif); font-style: italic; font-size: 20px; line-height: 1.78;
  color: #000; white-space: pre-line; text-wrap: pretty; margin: 0 0 16px; }
.lp-bmodal__preview-text:last-of-type { margin-bottom: 0; }
.lp-bmodal__preview-fade { display: none; }

/* gate / email section */
.lp-bmodal__gate { border-top: none; padding-top: 30px; }
.lp-bmodal__gate-icon { color: rgba(122,79,30,0.7); margin-bottom: 14px; }
.lp-bmodal__gate-label { font-family: var(--font-sans); font-weight: 700; font-size: 13px; letter-spacing: 0.18em;
  text-transform: uppercase; color: #5a3a15; margin: 0 0 8px; }
.lp-bmodal__gate-sub { font-family: var(--font-body); font-size: 15px; line-height: 1.6;
  color: rgba(44,27,13,0.62); margin: 0 0 22px; }
.lp-bmodal__gate-sub em { color: rgba(44,27,13,0.85); font-style: italic; }
.lp-bmodal__form { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-bmodal__input { flex: 1 1 220px; min-width: 0; background: rgba(255,250,240,0.55); border: 1px solid rgba(122,79,30,0.4);
  border-radius: 2px; padding: 13px 18px; font-family: var(--font-body); font-size: 15px;
  color: #2c1b0d; outline: none; transition: border-color .25s; }
.lp-bmodal__input::placeholder { color: rgba(44,27,13,0.4); }
.lp-bmodal__input:focus { border-color: rgba(122,79,30,0.7); }
.lp-bmodal__submit { flex: 0 1 auto; min-width: 0; padding: 13px 24px; background: linear-gradient(135deg, #BF8753, #FAC288, #C9915C);
  border: none; border-radius: 2px; font-family: var(--font-sans); font-weight: 700; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase; color: #1a0e05; cursor: pointer;
  transition: opacity .25s, transform .15s; }
.lp-bmodal__submit:hover { opacity: 0.88; }
.lp-bmodal__submit:active { transform: scale(0.97); }
.lp-bmodal__err { font-family: var(--font-body); font-size: 13px; color: rgba(220,100,60,0.85); margin: 10px 0 0; }
.lp-bmodal__success { font-family: var(--font-serif); font-style: italic; font-size: 18px;
  color: #5a3a15; padding: 18px 0 4px; }
@media (max-width: 600px) {
  .lp-bmodal__card { padding: 40px 28px 36px; }
  .lp-bmodal__title { font-size: 34px; }
  .lp-bmodal__form { flex-direction: column; }
}

/* ---------- Book of Ignorance — cinematic numbered chapter panels (Pathways style) ---------- */
.lp-chapter { flex: 0 0 auto; width: 420px; cursor: pointer; position: relative;
  display: flex; flex-direction: column;
  background: url("../assets/chapter-card-bg-v3.png") center / 100% 100% no-repeat;
  border: 0; border-radius: 0; overflow: visible;
  filter: drop-shadow(0 26px 46px rgba(0,0,0,0.55));
  transition: transform .6s cubic-bezier(.16,1,.3,1), filter .6s cubic-bezier(.16,1,.3,1); }
.lp-chapter__no { display: none; }
.lp-chapter__glyph { display: block; width: 66%; max-width: 240px; height: auto; opacity: 1; }
.lp-chapter__glyph--top { width: 40%; max-width: 144px; }
.lp-chapter__content { position: relative; left: auto; right: auto; bottom: auto; z-index: 3;
  display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: space-between;
  padding: 50px 46px 26px; flex: 1 1 auto; aspect-ratio: 660 / 435; }
.lp-chapter__tag { font-family: var(--font-sans); font-weight: 700; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: #7a4f1e; }
.lp-chapter__title { font-family: var(--font-display); font-weight: 500; font-size: 38px; line-height: 1.08; color: #2c1b0d; margin: 0; }
.lp-chapter__line { font-family: var(--font-serif); font-style: italic; font-size: 17px; line-height: 1.5; color: rgba(44,27,13,0.72); margin: 13px 0 0; text-wrap: pretty; }
.lp-chapter__read { display: inline-flex; align-items: center; gap: 8px; margin-top: 0;
  font-family: var(--font-sans); font-weight: 700; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: #8a5e26;
  transition: gap .4s ease; }
.lp-chapter:hover { transform: translateY(-8px);
  filter: drop-shadow(0 40px 74px rgba(0,0,0,0.6)) drop-shadow(0 0 40px rgba(232,176,86,0.28)); }
.lp-chapter:hover .lp-chapter__img { transform: scale(1.1); filter: saturate(1) brightness(1.02); }
.lp-chapter:hover .lp-chapter__read { gap: 13px; }
.lp-chapter__media { display: none; }
.lp-chapter__img { display: none; }
.lp-chapter__scrim { display: none; }
.lp-book__cta-wrap { padding: 56px var(--lp-pad) 0; }

/* ============================================================
 *  ESSAYS — philosophical transmissions
 * ============================================================ */
.lp-sec--essays { background: #050505; }
.lp-sec--essays .lp-row { margin-top: 46px; padding-bottom: 80px; }
/* Essays: move the prev/next arrows underneath the cards, centered */
.lp-sec--essays .lp-row__arrow { top: auto; bottom: 0; transform: none; }
.lp-sec--essays .lp-row__arrow--prev { left: calc(50% - 64px); right: auto; }
.lp-sec--essays .lp-row__arrow--next { left: calc(50% + 8px); right: auto; }
/* keep the disabled prev arrow visible, but in a muted gray stroke */
.lp-sec--essays .lp-row__arrow[data-dim] { opacity: 1; border-color: rgba(150,150,150,0.5); color: rgba(150,150,150,0.6); cursor: default; }
/* Article list-item card — title + date left, quill icon right, thin gold border */
.lp-essay { flex: 0 0 auto; width: 360px; cursor: pointer; position: relative;
  display: flex; flex-direction: column; align-items: stretch;
  border-radius: 4px; overflow: hidden;
  background: url("../assets/vintage-card41.png?v=7") center / 100% 100% no-repeat;
  box-shadow: 0 14px 30px rgba(0,0,0,0.4);
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s ease; }
.lp-essay:nth-child(3n+2) { background: url("../assets/vintage-card42.png?v=7") center / 100% 100% no-repeat; }
.lp-essay:nth-child(3n+3) { background: url("../assets/vintage-card43.png?v=7") center / 100% 100% no-repeat; }
/* Articles & Blog cards use the newer parchment set, alternating across three */
.lp-sec--essays .lp-essay { background: url("../assets/vintage-card51.png?v=1") center / 100% 100% no-repeat; }
.lp-sec--essays .lp-essay:nth-child(3n+2) { background: url("../assets/vintage-card52.png?v=1") center / 100% 100% no-repeat; }
.lp-sec--essays .lp-essay:nth-child(3n+3) { background: url("../assets/vintage-card53.png?v=1") center / 100% 100% no-repeat; }
/* worn corner-fold, like a lifted photo corner */
.lp-essay::after {
  content: ""; position: absolute; top: 0; right: 0; width: 26px; height: 26px; pointer-events: none;
  background: linear-gradient(135deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.35) 50.5%, rgba(0,0,0,0.2) 62%, rgba(0,0,0,0) 68%),
              linear-gradient(315deg, #2a1c10 0%, #1a1108 100%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: 0.85;
}
.lp-essay__thumb { width: calc(100% - 50px); margin: 25px 25px 0; aspect-ratio: 16/9; background-size: cover; background-position: center; flex-shrink: 0; border-radius: 12px;
  filter: sepia(0.55) saturate(0.8) contrast(1.02) brightness(0.95);
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(120% 120% at 50% 45%, #000 45%, rgba(0,0,0,0.5) 72%, transparent 100%);
  mask-image: radial-gradient(120% 120% at 50% 45%, #000 45%, rgba(0,0,0,0.5) 72%, transparent 100%); }
.lp-essay__meta { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 12px; padding: 26px 34px 30px; flex: 1; position: relative; justify-content: flex-start; }
.lp-essay__title { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.18;
  letter-spacing: 0.01em; color: #2c1b0d; margin: 0; text-wrap: pretty; transition: color .4s ease; }
.lp-essay__excerpt { font-family: var(--font-body); font-weight: 400; font-size: 17px; line-height: 1.3;
  color: #000; margin: 0; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.lp-essay__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 3px; }
.lp-essay__more { font-family: var(--font-sans); font-weight: 700; font-size: 14.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(107,66,26,0.9); border-bottom: 1px solid rgba(107,66,26,0.4); padding-bottom: 2px; }
.lp-essay__date { font-family: var(--font-sans); font-weight: 700; font-size: 13.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(107,66,26,0.8); }

.lp-essay:hover { transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.5); }
.lp-essay:hover .lp-essay__title { color: #17100a; }
.lp-essay:hover .lp-essay__thumb { filter: sepia(0.4) saturate(0.9) contrast(1.02) brightness(1); }

/* ---------- Essay / Article modal ---------- */
.lp-emodal { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.88); backdrop-filter: blur(8px); }
.lp-emodal__scroll { max-height: 90vh; overflow-y: auto; width: 100%; display: flex; align-items: flex-start; justify-content: center;
  padding: 60px 24px; scrollbar-width: thin; scrollbar-color: rgba(180,130,60,0.3) transparent; }
.lp-emodal__scroll::-webkit-scrollbar { width: 4px; }
.lp-emodal__scroll::-webkit-scrollbar-thumb { background: rgba(180,130,60,0.35); border-radius: 2px; }
.lp-emodal__card { width: 100%; max-width: 720px;
  background: url("../assets/essay-modal-paper.png") center / 100% 100% no-repeat;
  border: 0; border-radius: 4px;
  overflow: hidden; box-shadow: 0 48px 110px rgba(0,0,0,0.8); }
.lp-emodal__hero { width: calc(100% - 80px); margin: 44px 40px 0; aspect-ratio: 16/9; background-size: cover; background-position: center top; flex-shrink: 0;
  filter: sepia(0.55) saturate(0.8) contrast(1.02) brightness(0.97); mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(120% 120% at 50% 45%, #000 45%, rgba(0,0,0,0.5) 72%, transparent 100%);
  mask-image: radial-gradient(120% 120% at 50% 45%, #000 45%, rgba(0,0,0,0.5) 72%, transparent 100%); }
.lp-emodal__body { padding: 24px 68px 56px; }
.lp-emodal__date { font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: 0.26em;
  text-transform: uppercase; color: rgba(107,66,26,0.85); margin-bottom: 14px; }
.lp-emodal__title { font-family: var(--font-display); font-weight: 500; font-size: 38px; line-height: 1.1;
  color: #2c1b0d; margin: 0; text-wrap: pretty; }
.lp-emodal__para { font-family: var(--font-body); font-size: 17px; line-height: 1.78;
  color: rgba(44,27,13,0.82); margin: 0 0 20px; text-wrap: pretty; }
.lp-emodal__para:last-of-type { margin-bottom: 0; }
/* In-article photo placeholders — 4-up strip under the hero image */
.lp-emodal__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 26px; }
.lp-emodal__thumbs image-slot { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border: 1px solid rgba(120,80,30,0.3); border-radius: 6px; overflow: hidden; }
.lp-emodal__thumbs image-slot::part(cap),
.lp-emodal__thumbs image-slot::part(sub) { display: none; }
@media (max-width: 640px) { .lp-emodal__thumbs { grid-template-columns: repeat(2, 1fr); } }
.lp-emodal__share { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(120,80,30,0.28); }
.lp-emodal__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(120,80,30,0.28); gap: 16px; }
.lp-emodal__count { font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(107,66,26,0.6); flex-shrink: 0; }
.lp-emodal__nav { position: fixed; top: 50%; transform: translateY(-50%); z-index: 9001;
  background: rgba(10,7,4,0.75); border: 1px solid rgba(180,130,60,0.3); border-radius: 50%;
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  font-size: 28px; line-height: 1; color: rgba(232,183,119,0.8); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s; backdrop-filter: blur(6px); }
.lp-emodal__nav:hover { background: rgba(180,130,60,0.15); border-color: rgba(232,183,119,0.65); color: #f5ede3; }
.lp-emodal__nav--prev { left: 20px; }
.lp-emodal__nav--next { right: 20px; }
/* keep the round close button clear of the sticky page header */
.lp-emodal .lp-pmodal__x, .lp-wmodal .lp-pmodal__x, .lp-bmodal .lp-pmodal__x { top: 78px; z-index: 99999; pointer-events: auto; }
@media (max-width: 700px) { .lp-emodal__nav { display: none; } }
.lp-emodal__share-btn { display: inline-flex; align-items: center; gap: 9px;
  background: none; border: 1px solid rgba(120,80,30,0.45); border-radius: 2px;
  padding: 10px 20px; cursor: pointer;
  font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(90,55,20,0.9); transition: background .2s, border-color .2s, color .2s; }
.lp-emodal__share-btn:hover { background: rgba(120,80,30,0.1); border-color: rgba(90,55,20,0.7); color: #2c1b0d; }
@media (max-width: 600px) {
  .lp-emodal__body { padding: 18px 40px 40px; }
  .lp-emodal__title { font-size: 28px; }
}


/* ============================================================
 *  TEDTHOUGHTS — scattered, scroll-reactive epiphanies
 * ============================================================ */
.lp-sec--thoughts { background: #070502; padding: 150px 0 160px; }
.lp-sec--thoughts::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: none; }
.lp-sec--thoughts .lp-env__veil { background: none; }
/* Parchment thought cards — light bg, dark serif quotes, laid out in a horizontal row */
.lp-sec--thoughts .lp-row, .lp-sec--poetry .lp-row { margin-top: 52px; }
/* Poetry has no vertical filter column — center exactly 3 scrolls with equal side
   margins; the 4th starts right at the edge (hidden until Next scrolls it in) */
.lp-sec--poetry .lp-ttwrap .lp-row__track { padding: 0 0 0 110px; gap: 40px; justify-content: flex-start; }
.lp-sec--poetry .lp-ttwrap .lp-row__arrow--prev { left: 40px; }
.lp-sec--thoughts .lp-row__view, .lp-sec--poetry .lp-row__view { overflow-x: clip; overflow-y: visible; }
/* Left-edge black vignette — sits above cards, keeps category labels legible on scroll */
.lp-sec--thoughts .lp-row::before, .lp-sec--poetry .lp-row::before {
  content: ""; pointer-events: none;
  position: absolute; left: 0; top: -520px; bottom: -260px; width: 220px;
  background: linear-gradient(to right, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0) 100%);
  z-index: 4; }
.lp-sec--thoughts .lp-row::after, .lp-sec--poetry .lp-row::after {
  content: ""; pointer-events: none;
  position: absolute; right: 0; top: -520px; bottom: -260px; width: 120px;
  background: linear-gradient(to left, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
  z-index: 4; }
.lp-tt { flex: 0 0 auto; width: 540px; min-height: 300px; cursor: default; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  text-align: center; padding: 90px 96px 90px;
  background: url('../assets/poetry-scroll-bg.png') center / 100% 100% no-repeat;
  border: 0; border-radius: 0; box-shadow: none;
  filter: drop-shadow(0 26px 42px rgba(0,0,0,0.5)); }
.lp-tt__date { font-family: var(--font-sans); font-size: 17px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: #1a1208; margin-bottom: 20px; }
.lp-tt__quote { font-family: var(--font-serif); font-style: italic; font-size: 27px; line-height: 1.2;
  color: #000; margin: 0; text-wrap: pretty; }
.lp-tt__preview { font-family: var(--font-serif); font-style: italic; font-size: 20px; line-height: 1.6;
  color: #000; margin: 10px 0 0; text-wrap: pretty;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lp-tt__view {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 20px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  color: #6b3f17; padding: 9px 16px; border-radius: 4px;
  border: 1px solid rgba(107,63,23,0.4); background: rgba(107,63,23,0.04);
  transition: background .2s ease, border-color .2s ease, color .2s ease; }
.lp-tt__view .arr { transition: transform .2s ease; }
.lp-tt__view:hover { background: rgba(107,63,23,0.12); border-color: rgba(107,63,23,0.7); color: #4a2c10; }
.lp-tt__view:hover .arr { transform: translateX(3px); }

/* ---------- Lyrics variant — music parchment background ---------- */
.lp-tt.is-lyrics {
  background: url("../assets/lyrics-parchment.png") center / 100% 100% no-repeat;
}
.lp-pmodal__scroll.is-lyrics {
  background: url("../assets/lyrics-parchment.png") center / 100% 100% no-repeat;
}
.lp-ttcta { position: relative; z-index: 2; display: flex; justify-content: flex-start; margin-top: 48px; padding: 0 var(--lp-pad); }
/* TedThoughts rail: arrows sit at the bottom-left, above the X CTA */
.lp-sec--thoughts .lp-row { padding-bottom: 68px; }
.lp-sec--thoughts .lp-row__arrow { top: auto; bottom: 0; transform: none; }
.lp-sec--thoughts .lp-row__arrow--prev { left: var(--lp-pad); right: auto; }
.lp-sec--thoughts .lp-row__arrow--next { left: calc(var(--lp-pad) + 68px); right: auto; }
.lp-sec--thoughts .lp-row__arrow[data-dim] { opacity: 1; border-color: rgba(150,150,150,0.5); color: rgba(150,150,150,0.6); cursor: default; }
.lp-sec--thoughts .lp-row::before { display: none; }
.lp-sec--thoughts .lp-ttcta { margin-top: 28px; }

/* Poem / Lyrics category toggle — tall vertical gold-stroke tabs (sideways text) */
.lp-ttwrap { position: relative; }
.lp-ttfilter {
  position: absolute; left: 44px; top: 52%; transform: translateY(-50%); z-index: 6;
  display: flex; flex-direction: column; gap: 18px; }
.lp-ttfilter--inline {
  position: static; transform: none; margin-top: 28px;
  display: flex; flex-direction: row; gap: 18px; }
.lp-ttfilter--inline .lp-ttfilter__btn {
  writing-mode: horizontal-tb; transform: none;
  padding: 14px 32px; min-height: unset; background: transparent; }
.lp-ttfilter__btn {
  position: relative; cursor: pointer;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--font-sans); font-weight: 700; font-size: 14px;
  letter-spacing: 0.42em; text-transform: uppercase;
  color: #C9A24B; background: transparent;
  border: 1.4px solid rgba(201,162,75,0.5); border-radius: 4px;
  padding: 30px 17px; min-height: 188px;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, border-color .25s ease, color .25s ease, border-width .15s ease; }
.lp-ttfilter__btn:hover { border-color: #FBE6B8; color: #FBE6B8; }
.lp-ttfilter__btn.is-on { color: #FBE6B8; border-color: #FBE6B8; border-width: 2.6px; }
/* give the cards room so the filter column never overlaps them */
.lp-ttwrap .lp-row__track { padding-left: 188px; }
.lp-ttwrap .lp-row__arrow--prev { left: 150px; }

/* ---- Poem reader popup ---- */
.lp-pmodal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center; padding: 40px 24px;
  overflow-y: auto;
  background: rgba(0,0,0,0.85); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  animation: lpPmodalIn .3s ease; }
@keyframes lpPmodalIn { from { opacity: 0; } to { opacity: 1; } }
.lp-pmodal__scroll {
  position: relative; width: clamp(700px, 78vw, 1000px); margin: auto;
  background: url("../assets/poetry-scroll-bg.png") center / 100% 100% no-repeat;
  padding: clamp(100px, 11vw, 140px) clamp(120px, 12vw, 180px);
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.6));
  display: flex; align-items: center; justify-content: center;
  animation: lpPmodalPop .35s cubic-bezier(.16,1,.3,1); }
@keyframes lpPmodalPop { from { opacity: 0; transform: translateY(20px) scale(.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
/* scrollbar rides outside the parchment's right edge */
.lp-pmodal__inner { width: 100%; text-align: center; max-height: 400px; overflow-y: auto;
  box-sizing: content-box; margin-right: -132px; padding-right: 132px; }
.lp-pmodal__inner::-webkit-scrollbar { width: 8px; }
.lp-pmodal__inner::-webkit-scrollbar-thumb { background: rgba(107,63,23,0.4); border-radius: 4px; }
.lp-pmodal__inner::-webkit-scrollbar-track { background: transparent; }
.lp-pmodal__kicker {
  display: block; font-family: var(--font-sans); font-weight: 700; font-size: 12px;
  letter-spacing: 0.34em; text-transform: uppercase; color: #000; margin-bottom: 20px; }
.lp-pmodal__body p {
  font-family: var(--font-serif); font-style: italic; font-size: 20px;
  line-height: 1.6; color: #000; margin: 0 0 14px; text-wrap: pretty; white-space: pre-line; }
.lp-pmodal__body p:last-child { margin-bottom: 0; }
.lp-pmodal__x {
  position: fixed; top: 24px; right: 24px; z-index: 9002;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,13,6,0.95); border: 1.5px solid rgba(246,211,107,0.9); color: #F6D36B;
  font-size: 26px; line-height: 1; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 6px 20px rgba(0,0,0,0.5);
  transition: background .2s ease, transform .2s ease; }
.lp-pmodal__x:hover { background: rgba(30,20,10,0.92); border-color: rgba(246,211,107,0.95); transform: scale(1.06); }

/* Prev / next nav in poem modal */
.lp-pmodal__nav {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  background: rgba(0,0,0,0.55); border: 1px solid rgba(209,157,99,0.4);
  color: #E8C98A; display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s; }
.lp-pmodal__nav:hover { background: rgba(209,157,99,0.18); border-color: rgba(232,183,119,0.9); }
.lp-pmodal__nav svg { width: 22px; height: 22px; }
.lp-pmodal__nav--prev { left: 24px; }
.lp-pmodal__nav--next { right: 24px; }
/* Count badge */
.lp-pmodal__count {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3;
  font-family: var(--font-sans); font-weight: 600; font-size: 13px; letter-spacing: 0.3em;
  color: rgba(255,255,255,0.55); text-transform: uppercase; pointer-events: none; }
.lp-pmodal__count b { color: #E8B777; font-weight: 700; }

/* Poem popup — structured header */
.lp-pmodal__body--poem { text-align: center; }
.lp-pmodal__poem-date { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(40,25,8,0.45); margin: 0 0 14px; }
.lp-pmodal__poem-title { font-family: var(--font-display); font-size: 28px; font-weight: 500; letter-spacing: 0.02em; color: #2a1c0d; margin: 0 0 20px; line-height: 1.2; }
.lp-pmodal__poem-divider { width: 48px; height: 2px; background: #C49135; margin: 0 auto 28px; border-radius: 1px; }
.lp-pmodal__poem-stanza { font-family: var(--font-serif); font-style: italic; font-size: 19px; line-height: 1.75; color: #2a2113; margin: 0 0 22px; text-align: center; }
.lp-pmodal__poem-stanza:last-child { margin-bottom: 0; }

/* ---------- Featured excerpt — cream parchment band before footer ---------- */
.lp-excerpt { position: relative; z-index: 2; overflow: hidden;
  background: url("../assets/lit-excerpt-bg.png") center / cover no-repeat, #e8ddc9;
  padding: 130px var(--lp-pad) 160px; text-align: left;
  display: flex; flex-direction: column; align-items: flex-start; }
.lp-excerpt::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: none; }
.lp-excerpt > * { position: relative; z-index: 2; }
.lp-excerpt__label { position: absolute; left: 38px; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; z-index: 3;
  font-family: var(--font-sans); font-weight: 700; font-size: 12px; letter-spacing: 0.42em; text-transform: uppercase;
  color: rgba(120,92,52,0.72); margin: 0; }
.lp-excerpt__tick { display: none; }
.lp-excerpt__mark { display: block; margin: 0 0 2px; height: 0.56em; line-height: 0.9;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(76px, 7vw, 124px);
  background: url("../assets/heading-texture.jpg") center / cover;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; position: relative; z-index: 2; }
.lp-excerpt__q { margin: 14px 0 0; max-width: 1060px;
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(34px, 4vw, 62px); line-height: 1.2; letter-spacing: 0.004em;
  color: #2b2317; text-wrap: balance; }
.lp-excerpt__by { display: block; margin-top: 16px;
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(24px, 2.1vw, 35px); line-height: 1; letter-spacing: 0.01em; color: #5a4221; }
.lp-tt__all { display: inline-flex; align-items: center; gap: 10px;
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: var(--font-sans); font-weight: 700; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(232,183,119,0.92); transition: gap .4s ease, color .3s ease; }
.lp-tt__all:hover { gap: 15px; color: #f5ede3; }
.lp-frag { break-inside: avoid; margin-bottom: 30px; padding: 30px 30px; position: relative;
  background: linear-gradient(165deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255,255,255,0.07); border-radius: 3px;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), border-color .5s, background .5s; }
.lp-frag:hover { transform: translateY(-5px); border-color: rgba(232,183,119,0.45); background: linear-gradient(165deg, rgba(255,236,202,0.06) 0%, rgba(255,255,255,0.02) 100%); }
.lp-frag__mark { font-family: var(--font-display); font-size: 40px; line-height: 0.6; color: rgba(232,183,119,0.55); }
.lp-frag__text { font-family: var(--font-serif); font-style: italic; font-size: 22px; line-height: 1.5; color: var(--c-cream-deep); margin: 8px 0 0; text-wrap: pretty; }
.lp-frag__by { font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(245,237,227,0.38); margin: 18px 0 0; }
.lp-frag--big .lp-frag__text { font-size: 27px; }
.lp-thoughts__cta { position: relative; z-index: 2; display: flex; justify-content: center; margin-top: 56px; }
.lp-thoughts-gal { position: relative; z-index: 2; margin-top: 30px; width: 100%; height: 620px; }
.lp-cgal { width: 100%; height: 100%; overflow: hidden; cursor: grab; }
.lp-cgal:active { cursor: grabbing; }
.lp-cgal canvas { display: block; }

/* ============================================================
 *  WORLDBUILDING — drawer of unfinished universes
 * ============================================================ */
.lp-sec--worlds { background: #060406; }
.lp-sec--worlds .lp-env .lp-poster { object-position: 50% 40%; filter: brightness(0.7) saturate(1.05); }
.lp-sec--worlds .lp-env__veil { background: linear-gradient(180deg, #060406 0%, rgba(6,4,6,0.6) 30%, rgba(6,4,6,0.7) 70%, #060406 100%); }
.lp-world { flex: 0 0 auto; width: 360px; cursor: pointer; }
.lp-world__art { position: relative; aspect-ratio: 14 / 15; overflow: hidden; background: #0c0a0c; border-radius: 6px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 8px 22px rgba(0,0,0,0.55); transition: transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .55s; }
.lp-world__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); filter: saturate(0.92) brightness(0.78); }
.lp-world__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.55) 30%, rgba(0,0,0,0.08) 58%, rgba(0,0,0,0) 78%); }
.lp-world__art::before { content: ""; position: absolute; inset: 0; z-index: 1; box-shadow: inset 0 0 0 1px rgba(209,157,99,0.16); pointer-events: none; border-radius: 6px; }
.lp-world:hover .lp-world__art { transform: translateY(-10px); box-shadow: 0 56px 110px rgba(0,0,0,0.8), 0 0 0 1px rgba(209,157,99,0.45), 0 0 70px rgba(214,151,51,0.12); }
.lp-world:hover .lp-world__art img { transform: scale(1.06); filter: saturate(1.02) brightness(0.9); }
/* Visionary Universes cards: crisp, cleanly-framed thumbnails (no paper-blend) */
.lp-world.lp-essay .lp-essay__thumb {
  filter: none; mix-blend-mode: normal;
  -webkit-mask-image: none; mask-image: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(74,48,20,0.35);
}
.lp-world__inner { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 34px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lp-world__title { font-family: var(--font-display); font-weight: 500; font-size: 40px; line-height: 1.02; letter-spacing: 0.04em; text-transform: uppercase; color: #f6efe4; margin: 0; text-shadow: 0 2px 26px rgba(0,0,0,0.8); }
.lp-world__kind { font-family: var(--font-sans); font-weight: 700; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(209,157,99,0.86); text-shadow: 0 2px 14px rgba(0,0,0,0.7); }

/* ============================================================
 *  FILMS — past & future (poster cards, hover lift)
 * ============================================================ */
.lp-sec--films { background: #030303; padding-bottom: 150px; }
.lp-films-rail { position: relative; z-index: 2; margin-top: 70px; display: flex; min-height: 760px; }
.lp-films-rail .fr { flex: 1; }
.lp-films-label { position: relative; z-index: 2; padding: 0 var(--lp-pad); margin: 70px 0 0; display: flex; align-items: center; gap: 22px; }
.lp-films-label__txt { font-family: var(--font-sans); font-weight: 700; font-size: 15px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(245,237,227,0.62); white-space: nowrap; }
.lp-films-label__rule { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(209,157,99,0.5), rgba(209,157,99,0)); }
.lp-film { flex: 0 0 auto; width: 320px; cursor: pointer; }
.lp-film__art { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: #0c0c0c; border-radius: 2px;
  box-shadow: 0 46px 90px rgba(0,0,0,0.75), 0 8px 24px rgba(0,0,0,0.6); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.lp-film__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.lp-film__art::before { content: ""; position: absolute; inset: 0; z-index: 1; box-shadow: inset 0 0 0 1px rgba(209,157,99,0.14);
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 64%, rgba(0,0,0,0.5) 100%); pointer-events: none; }
.lp-film__art::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.2) 42%, rgba(0,0,0,0) 64%); opacity: 0; transition: opacity .45s; }
.lp-film:hover .lp-film__art { transform: translateY(-14px); box-shadow: 0 64px 120px rgba(0,0,0,0.82), 0 0 0 1px rgba(209,157,99,0.45), 0 0 70px rgba(214,151,51,0.12); }
.lp-film:hover .lp-film__art img { transform: scale(1.05); }
.lp-film:hover .lp-film__art::after { opacity: 1; }
.lp-film__play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%,-50%) scale(0.85); width: 64px; height: 64px; border-radius: 50%;
  background: rgba(4,3,2,0.5); border: 1.5px solid rgba(247,219,160,0.85); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .4s, transform .4s; }
.lp-film:hover .lp-film__play { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.lp-film__play svg { width: 22px; height: 26px; margin-left: 4px; } .lp-film__play polygon { fill: #FBE6B8; }
.lp-film__desc { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 24px 22px; opacity: 0; transform: translateY(14px); transition: opacity .45s, transform .5s;
  font-family: var(--font-body); font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.88); }
.lp-film:hover .lp-film__desc { opacity: 1; transform: none; }
.lp-film__meta { margin-top: 22px; }
.lp-film__title { font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; color: var(--c-cream-deep); margin: 0; }
.lp-film__sub { font-family: var(--font-sans); font-weight: 600; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; margin: 10px 0 0;
  background: var(--grad-bronze); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============================================================
 *  POETRY READER — fullscreen takeover
 * ============================================================ */
.lp-reader { position: fixed; inset: 0; z-index: 99999; background: #050402; opacity: 0; visibility: hidden;
  transition: opacity .8s ease; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lp-reader.is-open { opacity: 1; visibility: visible; }
.lp-reader__grain { position: absolute; inset: -40%; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05; mix-blend-mode: overlay; animation: lpGrain 0.7s steps(3) infinite; }
.lp-reader__aura { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 42%, rgba(150,90,40,0.3) 0%, rgba(150,90,40,0) 65%); }
.lp-reader__close { position: absolute; z-index: 4; top: 40px; right: 48px; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(0,0,0,0.4); border: 1px solid rgba(209,157,99,0.4); color: #E8C98A; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .3s, border-color .3s; }
.lp-reader__close:hover { background: rgba(209,157,99,0.14); border-color: rgba(232,183,119,0.9); }
.lp-reader__close svg { width: 22px; height: 22px; }
.lp-reader__nav { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 60px; height: 60px; border-radius: 50%;
  background: rgba(0,0,0,0.35); border: 1px solid rgba(209,157,99,0.35); color: #E8C98A; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .3s, border-color .3s, opacity .3s; }
.lp-reader__nav:hover { background: rgba(209,157,99,0.14); border-color: rgba(232,183,119,0.9); }
.lp-reader__nav svg { width: 24px; height: 24px; }
.lp-reader__nav--prev { left: 56px; } .lp-reader__nav--next { right: 56px; }
.lp-reader__stage { position: relative; z-index: 3; width: min(1000px, 92vw); text-align: center;
  padding: clamp(80px, 8vw, 120px) clamp(120px, 12vw, 190px);
  background: url("../assets/paper-texture-popup.png") center / 100% 100% no-repeat;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.6)); }
.lp-reader__page { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.lp-reader__page.is-fading { opacity: 0; transform: translateY(18px); }
.lp-reader__no { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.4em; color: #6b4a1f; margin: 0 0 6px; }
.lp-reader__tag { font-family: var(--font-sans); font-weight: 700; font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(60,42,20,0.6); margin: 0 0 34px; }
.lp-reader__title { font-family: var(--font-display); font-weight: 500; font-size: 28px; line-height: 1.1; letter-spacing: 0.02em; margin: 0 0 32px;
  background: none; -webkit-text-fill-color: #2a1c0d; color: #2a1c0d; }
.lp-reader__lines { font-family: var(--font-serif); font-style: italic; font-size: 22px; line-height: 1.7; color: #2a2113; }
.lp-reader__lines .ln { display: block; min-height: 0.7em; }
.lp-reader__sig { font-family: var(--font-sans); font-weight: 600; font-size: 14px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(60,42,20,0.55); margin: 50px 0 0; }
.lp-reader__count { position: absolute; z-index: 4; bottom: 40px; left: 50%; transform: translateX(-50%); font-family: var(--font-sans); font-weight: 600; font-size: 13px; letter-spacing: 0.3em; color: rgba(245,237,227,0.5); }
.lp-reader__count b { color: #E8B777; font-weight: 700; }
.lp-reader__hint { position: absolute; z-index: 4; bottom: 40px; right: 48px; font-family: var(--font-sans); font-weight: 600; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(245,237,227,0.3); }

/* ============================================================
 *  MOBILE
 * ============================================================ */
.tk-stage.is-mobile .lp-root { --lp-pad: 24px; }
.tk-stage.is-mobile .lp-hero { width: 100%; min-height: 620px; }
.tk-stage.is-mobile .lp-hero__figure { width: 100%; -webkit-mask-image: none; mask-image: none; opacity: 0.34; }
.tk-stage.is-mobile .lp-hero__copy { position: relative; left: 0; top: 0; transform: none; width: 100%; padding: 130px 24px 70px; }
.tk-stage.is-mobile .lp-hero__title { font-size: 52px; }
.tk-stage.is-mobile .lp-hero__eyebrow { font-size: 10px; letter-spacing: 0.2em; }
.tk-stage.is-mobile .lp-hero__motto { font-size: 20px; }
.tk-stage.is-mobile .lp-hero__sub { font-size: 16px; }
.tk-stage.is-mobile .lp-hero__ctas { flex-direction: column; align-items: stretch; }
.tk-stage.is-mobile .lp-cta { justify-content: center; height: 52px; font-size: 12px; }

.tk-stage.is-mobile .lp-body-bg, .tk-stage.is-mobile .lp-sec { width: 100%; }
.tk-stage.is-mobile .lp-sec { padding: 80px 0; }
.tk-stage.is-mobile .lp-sec--book { padding-top: 0; }
.tk-stage.is-mobile .lp-head__title { font-size: 40px; }
.tk-stage.is-mobile .lp-head__blurb { font-size: 16px; }
.tk-stage.is-mobile .lp-book { grid-template-columns: 1fr; gap: 44px; }
.tk-stage.is-mobile .lp-book__title { font-size: 50px; }
.tk-stage.is-mobile .lp-book__sub { font-size: 21px; }
.tk-stage.is-mobile .lp-codex { grid-template-columns: 1fr; }
.tk-stage.is-mobile .lp-thoughts { column-count: 1; }
.tk-stage.is-mobile .lp-tt { width: 320px; min-height: 180px; padding: 50px 60px; }
.tk-stage.is-mobile .lp-tt__quote { font-size: 21px; }
.tk-stage.is-mobile .lp-ttfilter { position: static; transform: none; flex-direction: row; justify-content: center; margin: 0 0 24px; }
.tk-stage.is-mobile .lp-ttwrap .lp-row__track { padding-left: 24px; }
.tk-stage.is-mobile .lp-pmodal__scroll { width: 90vw; padding: clamp(60px, 16vw, 100px) clamp(44px, 12vw, 80px); }
.tk-stage.is-mobile .lp-frag__text { font-size: 19px; } .tk-stage.is-mobile .lp-frag--big .lp-frag__text { font-size: 21px; }

.tk-stage.is-mobile .lp-row__arrow { display: none; }
.tk-stage.is-mobile .lp-row__view { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tk-stage.is-mobile .lp-row__track { gap: 18px; padding: 0 24px; }
.tk-stage.is-mobile .lp-poem { width: 300px; height: 240px; padding: 30px 34px; }
.tk-stage.is-mobile .lp-poem__title { font-size: 24px; }
.tk-stage.is-mobile .lp-world { width: 260px; }
.tk-stage.is-mobile .lp-film { width: 210px; }

.tk-stage.is-mobile .lp-essay { width: 300px; gap: 16px; padding: 20px 18px; }
.tk-stage.is-mobile .lp-essay__quill { width: 34px; height: 34px; }
.tk-stage.is-mobile .lp-essay__title { font-size: 21px; }
.tk-stage.is-mobile .lp-films-label { margin-top: 50px; }
.tk-stage.is-mobile .lp-reader__nav { width: 44px; height: 44px; } .tk-stage.is-mobile .lp-reader__nav--prev { left: 12px; } .tk-stage.is-mobile .lp-reader__nav--next { right: 12px; }
.tk-stage.is-mobile .lp-reader__title { font-size: 34px; }
.tk-stage.is-mobile .lp-reader__lines { font-size: 20px; }
