/* ================================================================
   FIINSY · THE JOURNAL — scroll-driven cinematic book
   GSAP + ScrollTrigger (pin + scrub) · Lenis smooth scroll
   Mount: <section class="fj-section" id="fiinsy-tour"> … <div id="fiinsy-journal"></div>
   ================================================================ */

/* Lenis recommended base */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- section (pinned) ---------- */
.fj-section {
  position: relative;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
}
.fj-section.fj-pinmode {
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: stretch;
  padding: 78px 3% 10px;
  border-top: none;
}
/* while pinned, the heading floats over the top and fades away as the book rises,
   so the book can use (almost) the full screen height */
.fj-section.fj-pinmode .fj-head {
  position: absolute; left: 0; right: 0; top: 96px; z-index: 5;
  margin: 0 auto; pointer-events: none;
}
.fj-section:not(.fj-pinmode) { padding: 96px 5% 100px; }

.fj-head { text-align: center; max-width: 760px; margin: 0 auto 18px; flex-shrink: 0; }
.fj-head .section-eyebrow { justify-content: center; }
.fj-head .section-title { margin-bottom: 0.25rem; font-size: clamp(2rem, 3.6vw, 3.2rem); }
.fj-subtitle {
  font-family: var(--ff-display); font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  color: var(--text-secondary);
}
/* top-right tools: sound toggle + skip */
.fj-tools {
  position: absolute; z-index: 30; top: 92px; right: 3%;
  display: flex; align-items: center; gap: 16px;
}
.fj-section:not(.fj-pinmode) .fj-tools { display: none; }
.fj-skip {
  font: italic 400 0.95rem var(--ff-display); letter-spacing: 0.02em;
  color: var(--text-tertiary);
  text-decoration: underline; text-decoration-color: var(--gold-border); text-underline-offset: 5px;
  transition: color .25s;
}
.fj-skip:hover, .fj-skip:focus-visible { color: var(--gold); }
.fj-sound {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--border-default); color: var(--text-tertiary);
  cursor: none; transition: color .25s, border-color .25s, background .25s;
}
.fj-sound svg { width: 16px; height: 16px; }
.fj-sound .i-on { display: none; }
.fj-sound.on .i-on { display: block; }
.fj-sound.on .i-off { display: none; }
.fj-sound:hover { color: var(--text-primary); border-color: var(--gold-border); }
.fj-sound.on { color: var(--gold); border-color: var(--gold-border); background: var(--gold-dim); }

/* reading-progress rail on the right edge (only while pinned) */
.fj-rail {
  position: fixed; z-index: 900; right: 10px; top: 50%;
  width: 2px; height: min(56vh, 520px); transform: translateY(-50%);
  background: var(--border-default); border-radius: 2px;
  opacity: 0; pointer-events: none; transition: opacity .45s;
}
.fj-rail-fill {
  position: absolute; inset: 0; border-radius: 2px;
  background: linear-gradient(to bottom, var(--gold-light), var(--gold));
  transform-origin: 50% 0; transform: scaleY(0);
}
body.fj-reading .fj-rail { opacity: 1; }

/* nav fades to just the logo while reading */
#navbar .nav-links, #navbar .nav-right { transition: opacity .45s; }
body.fj-reading #navbar .nav-links,
body.fj-reading #navbar .nav-right { opacity: 0.18 !important; }
body.fj-reading #navbar:hover .nav-links,
body.fj-reading #navbar:hover .nav-right,
body.fj-reading #navbar:focus-within .nav-links,
body.fj-reading #navbar:focus-within .nav-right { opacity: 1 !important; }

/* closing tease */
.fj-tease {
  position: absolute; left: 0; right: 0; bottom: 4px; z-index: 6;
  text-align: center; pointer-events: none;
  font: italic 400 clamp(1.05rem, 1.5vw, 1.35rem) var(--ff-display);
  color: var(--gold); letter-spacing: 0.02em;
  opacity: 0; visibility: hidden;
}
[data-theme="light"] .fj-tease { color: #9a6b2c; }

/* ---------- tokens (the book is a physical object: same in both themes) ---------- */
.fj {
  --paper: #FAF7F0;
  --ink: #2a241b;
  --ink-2: #4a4234;
  --muted: #8b806c;
  --gold: #a8742f;
  --board: #ddd0b5;
  position: relative;
  flex: 1 1 auto; min-height: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}

/* ---------- stage ---------- */
.fj-stage {
  position: relative;
  width: min(100%, 1600px, calc((100svh - 150px) * 1.7));
  aspect-ratio: 17 / 10;
  container-type: inline-size;
  flex-shrink: 0;
}
.fj-book { position: absolute; inset: 0; will-change: transform, opacity; }

.fj-shadow {
  position: absolute; z-index: 0;
  left: 51.5%; right: 1.5%; top: 3%; bottom: 0;
  border-radius: 8px;
  box-shadow: 0 40px 80px rgba(40, 28, 10, 0.15), 0 14px 30px rgba(40, 28, 10, 0.10);
}
:root:not([data-theme="light"]) .fj-shadow { box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 14px 30px rgba(0,0,0,.35); }
[data-theme="light"] .fj-shadow { box-shadow: 0 40px 80px rgba(40,28,10,.15), 0 14px 30px rgba(40,28,10,.10); }
.fj-shadow-l { left: 1.5%; right: 50%; opacity: 0; }

.fj-board {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 50%; z-index: 1;
  border-radius: 2px 7px 7px 2px;
  background-color: var(--board);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .15 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(0deg, rgba(90,70,40,.05) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(90,70,40,.05) 0 1px, transparent 1px 3px);
}
.fj-thick {
  box-shadow: 0 0 0 1px #e7dfcc, 0 0 0 2px #f8f4ea, 0 0 0 3px #e4dbc6, 0 0 0 4px #f6f1e5, 0 0 0 5px #ded4bd;
}
.fj-base {
  position: absolute; z-index: 2;
  top: 2.4%; bottom: 2.4%; left: 50%; width: 48.4%;
  background: var(--paper); border-radius: 0 3px 3px 0;
}

/* ---------- leaves (pages that turn on the spine) ---------- */
.fj-leaf {
  position: absolute;
  top: 2.4%; bottom: 2.4%; left: 50%; width: 48.4%;
  transform-origin: 0% 50%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}
.fj-face {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transform: translateZ(0.01px);
}
.fj-face.back { transform: rotateY(180deg) translateZ(0.01px); }
.fj-shade { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; }
.fj-face.front .fj-shade { background: linear-gradient(to left, rgba(40,25,5,.32), rgba(255,250,240,.10) 30%, rgba(40,25,5,.10) 70%, rgba(40,25,5,.24)); }
.fj-face.back  .fj-shade { background: linear-gradient(to right, rgba(40,25,5,.32), rgba(255,250,240,.10) 30%, rgba(40,25,5,.10) 70%, rgba(40,25,5,.24)); }
.fj-animating .fj-leaf, .fj-animating .fj-cover { will-change: transform; }

/* ---------- cover ---------- */
.fj-cover {
  position: absolute;
  top: 0; bottom: 0; left: 50%; width: 50%;
  transform-origin: 0% 50%;
  transform-style: preserve-3d; -webkit-transform-style: preserve-3d;
}
.fj-cover .fj-face { border-radius: 2px 7px 7px 2px; overflow: hidden; }
.fj-cover .fj-face.back { border-radius: 7px 2px 2px 7px; }
.fj-cover-front {
  background-color: #e8ddc6;
  background-image:
    radial-gradient(120% 90% at 15% 0%, rgba(255,252,244,.45), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .15 0 0 0 .20 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(0deg, rgba(90,70,40,.055) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(90,70,40,.055) 0 1px, transparent 1px 3px);
  box-shadow: inset -2px 0 0 rgba(255,255,255,.25), inset 0 -2px 6px rgba(60,40,10,.12);
}
.fj-cover-back { background-color: var(--board); }
.fj-cover-slot {
  position: absolute; top: 2.4%; bottom: 2.4%; left: 3.2%; right: 0;
  background: var(--paper); border-radius: 3px 0 0 3px;
}
.fj-spine {
  position: absolute; left: 0; top: 0; bottom: 0; width: 8.5%;
  background: linear-gradient(to right, #cdbf9f, #d9ccb0 40%, #d3c5a6 85%, rgba(60,40,10,.22));
  display: flex; align-items: center; justify-content: center;
}
.fj-spine span {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 600 clamp(8px, 0.72cqw, 11px) var(--ff-display); letter-spacing: 0.42em; text-transform: uppercase;
  color: #b9a985; white-space: nowrap;
  text-shadow: 1px 1px 0 rgba(255,250,238,.65), -1px -1px 0 rgba(80,60,30,.28);
}
.fj-cover-art { position: absolute; inset: 0 0 0 8.5%; }
.fj-cover-frame {
  position: absolute; inset: 6.5% 9%;
  border: 1px solid rgba(168,116,47,.55);
  outline: 1px solid rgba(168,116,47,.25); outline-offset: 5px;
}
.fj-orn { position: absolute; width: 13%; aspect-ratio: 1; color: #b88a45; }
.fj-orn svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 1px 0 rgba(255,250,238,.6)); }
.fj-orn.tl { top: 4.2%; left: 6.5%; }
.fj-orn.tr { top: 4.2%; right: 6.5%; transform: scaleX(-1); }
.fj-orn.bl { bottom: 4.2%; left: 6.5%; transform: scaleY(-1); }
.fj-orn.br { bottom: 4.2%; right: 6.5%; transform: scale(-1, -1); }
.fj-cover-text {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 14%;
}
.fj-cover-kicker { font: 500 clamp(8px, 0.74cqw, 11px) var(--ff-body); letter-spacing: 0.34em; text-transform: uppercase; color: #8f7a55; }
.fj-cover-title {
  font: 400 clamp(36px, 6.6cqw, 96px) / 1 var(--ff-display); letter-spacing: 0.08em;
  margin: 2.2cqw 0 0.6cqw;
  background: linear-gradient(170deg, #c9a15c 10%, #f0d9a4 38%, #b07a32 55%, #e6c588 75%, #9d6a28 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255,250,238,.55)) drop-shadow(0 -1px 0 rgba(80,55,20,.25));
}
.fj-cover-sub { font: italic 400 clamp(14px, 1.8cqw, 26px) var(--ff-display); color: #6f5d40; }
.fj-cover-rule { width: 18%; height: 1px; background: rgba(168,116,47,.6); margin: 2cqw auto; }
.fj-cover-meta { font: italic 400 clamp(10px, 0.95cqw, 14px) var(--ff-display); letter-spacing: 0.18em; color: #8f7a55; }
.fj-cover-foot {
  position: absolute; left: 0; right: 0; bottom: 11%; text-align: center;
  font: 500 clamp(7px, 0.62cqw, 10px) var(--ff-body); letter-spacing: 0.3em; text-transform: uppercase; color: #9c8762;
}

/* ---------- gutter, ribbon, light ---------- */
.fj-gutter {
  position: absolute; z-index: 60; pointer-events: none; opacity: 0;
  top: 2.4%; bottom: 2.4%; left: 46%; width: 8%;
  background: linear-gradient(to right, transparent, rgba(50,35,10,.06) 40%, rgba(50,35,10,.16) 50%, rgba(50,35,10,.06) 60%, transparent);
}
.fj-ribbon {
  position: absolute; z-index: 61; pointer-events: none; opacity: 0;
  top: 1.2%; left: calc(50% + 3.4%); width: 0.62%; min-width: 6px;
  height: calc(100% + 8px);
  background: linear-gradient(to right, #b88d4a, #d6b475 45%, #b3874a);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 9px), 0 100%);
}
.fj-light {
  position: absolute; inset: 0 0 0 50%; z-index: 62; pointer-events: none; border-radius: 7px;
  background: radial-gradient(90% 80% at 12% 0%, rgba(255,252,244,.2), transparent 55%);
}

/* ---------- paper + page content ---------- */
.fj-pg { position: absolute; inset: 0; }
.fj-paper {
  position: absolute; inset: 0; overflow: hidden;
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(180deg, transparent 0 27px, rgba(60,45,20,.02) 27px 28px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .32 0 0 0 0 .2 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  color: var(--ink);
}
.fj-paper::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.fj-paper.fj-side-l::after {
  background:
    linear-gradient(to left, rgba(60,40,10,.16), rgba(60,40,10,.05) 5%, transparent 13%),
    linear-gradient(to right, rgba(120,95,55,.07), transparent 2.5%),
    radial-gradient(120% 60% at 0% 100%, rgba(120,95,55,.06), transparent 30%);
}
.fj-paper.fj-side-r::after {
  background:
    linear-gradient(to right, rgba(60,40,10,.16), rgba(60,40,10,.05) 5%, transparent 13%),
    linear-gradient(to left, rgba(120,95,55,.07), transparent 2.5%),
    radial-gradient(120% 60% at 100% 100%, rgba(120,95,55,.06), transparent 30%);
}
.fj-side-l .fj-pg-in { position: absolute; inset: 8.5% 11% 9% 9.5%; display: flex; flex-direction: column; }
.fj-side-r .fj-pg-in { position: absolute; inset: 8.5% 9.5% 9% 11%; display: flex; flex-direction: column; }

.fj-chlabel {
  font: italic 400 clamp(9px, 0.8cqw, 11.5px) 'Fraunces', var(--ff-display);
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted);
}
.fj-num {
  font: italic 300 clamp(36px, 6.86cqw, 96px) / 1 var(--ff-display);
  color: var(--gold); letter-spacing: -0.02em;
  margin: 0.6cqw 0 0.2cqw -0.3cqw;
}
.fj-title { font: 400 clamp(19px, 3cqw, 42px) / 1.08 var(--ff-display); color: var(--ink); letter-spacing: -0.01em; margin: 0; }
.fj-rule { width: 60px; height: 1px; background: var(--gold); margin: 1.5cqw 0 1.2cqw; }
.fj-sub { font: italic 400 clamp(11px, 1.42cqw, 19px) / 1.4 'Fraunces', var(--ff-display); color: var(--ink-2); margin: 0 0 1.1cqw; }
.fj-body { font: 300 clamp(10px, 1.3cqw, 17px) / 1.7 'Fraunces', Georgia, serif; color: var(--ink-2); margin: 0 0 1.5cqw; }
.fj-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75cqw; }
.fj-points li { position: relative; padding-left: 20px; font: 400 clamp(10px, 1.18cqw, 16px) / 1.5 'Fraunces', Georgia, serif; color: var(--ink); }
.fj-points li::before { content: ''; position: absolute; left: 3px; top: 0.55em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.fj-folio {
  position: absolute; left: 0; right: 0; bottom: -4.5%; text-align: center;
  font: italic 400 clamp(10px, 1cqw, 14px) var(--ff-display); color: var(--muted); letter-spacing: 0.08em;
}
.fj-plate {
  display: flex; justify-content: space-between; align-items: baseline;
  font: italic 400 clamp(9px, 0.8cqw, 11.5px) 'Fraunces', var(--ff-display);
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
  padding-bottom: 1cqw; border-bottom: 1px solid rgba(168,116,47,.35);
}
.fj-fig { margin: auto 0; }
.fj-figimg {
  display: block; width: 100%; border-radius: 3px; overflow: hidden; position: relative; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(60,45,20,.12), 0 1px 2px rgba(60,45,20,.10), 0 8px 22px -10px rgba(60,45,20,.30);
}
.fj-figimg img { display: block; width: 100%; height: auto; }
.fj-figimg::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), inset 0 0 18px rgba(60,45,20,.10);
}
.fj-fig figcaption { margin-top: 1.1cqw; font: italic 400 clamp(10.5px, 1cqw, 14px) / 1.4 'Fraunces', var(--ff-display); color: var(--muted); }
.fj-fig figcaption em { color: var(--ink-2); }
.fj-key { padding-top: 1.6cqw; border-top: 1px solid rgba(60,45,20,.12); display: flex; align-items: baseline; gap: 1.4cqw; }
.fj-key-num { font: italic 300 clamp(20px, 3.3cqw, 46px) / 1 var(--ff-display); color: var(--gold); white-space: nowrap; }
.fj-key-label { font: 400 clamp(8.5px, 0.78cqw, 11px) / 1.5 var(--ff-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- under-book UI ---------- */
.fj-below { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 22px; margin-top: 22px; flex-shrink: 0; }
.fj-index { position: relative; display: flex; justify-content: space-between; align-items: center; width: clamp(240px, 28vw, 380px); }
.fj-index-line { position: absolute; left: 14px; right: 14px; top: 50%; height: 1px; background: var(--border-default); }
.fj-index-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--gold); }
.fj-index button {
  position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-primary); border: 1px solid var(--border-default); cursor: none;
  font: italic 400 0.92rem var(--ff-display); color: var(--text-tertiary);
  transition: color .3s, border-color .3s, background .3s;
}
.fj-index button:hover { color: var(--text-primary); border-color: var(--gold-border); }
.fj-index button.done { border-color: var(--gold-border); color: var(--text-secondary); }
.fj-index button.active { color: var(--gold); border-color: var(--gold); background: var(--gold-dim); }
[data-theme="light"] .fj-index button.active { color: #9a6b2c; }
.fj-status { font: italic 400 1rem var(--ff-display); color: var(--text-secondary); min-height: 1.5em; text-align: left; min-width: 240px; }
.fj-scrollcue { display: inline-flex; align-items: center; gap: 8px; }
.fj-scrollcue svg { width: 14px; height: 14px; animation: fjBob 2.2s ease-in-out infinite; }
@keyframes fjBob { 0%,100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(4px); opacity: 1; } }
.fj-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- reduced-motion desktop: crossfading spreads ---------- */
.fj-spread { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.fj-spread .fj-board-full {
  position: absolute; inset: 0; border-radius: 7px; background: var(--board);
}
.fj-spread .fj-p { position: absolute; top: 2.4%; bottom: 2.4%; width: 48.4%; background: var(--paper); }
.fj-spread .fj-p.l { left: 1.6%; border-radius: 3px 0 0 3px; }
.fj-spread .fj-p.r { left: 50%; border-radius: 0 3px 3px 0; }
.fj-spread .fj-gutter { opacity: 1; }

/* ---------- mobile: single page deck ---------- */
.fj-deck {
  position: relative;
  width: min(100%, calc((100svh - 150px) * 0.72));
  aspect-ratio: 0.72;
  flex-shrink: 0;
  container-type: inline-size;
}
.fj-card {
  position: absolute; inset: 0; border-radius: 4px; overflow: hidden;
  box-shadow: 0 0 0 1px #e7dfcc, 0 0 0 2px #f8f4ea, 0 0 0 3px #e4dbc6, 0 18px 36px -14px rgba(40,28,10,.35);
  will-change: transform, opacity;
}
.fj-card .fj-paper::after { display: none; }
.fj-card.fj-cover-card { background: #e8ddc6; }
.fj-card .fj-pg-in { inset: 7% 7.5% 9% 7.5% !important; }
.fj-card .fj-chlabel { font-size: 2.6cqw; }
.fj-card .fj-num { font-size: 15cqw; margin: 1.5cqw 0 0.5cqw; }
.fj-card .fj-title { font-size: 8.4cqw; }
.fj-card .fj-rule { margin: 4cqw 0 3.4cqw; }
.fj-card .fj-sub { font-size: 4.3cqw; margin-bottom: 3cqw; }
.fj-card .fj-body { font-size: 3.9cqw; line-height: 1.55; margin-bottom: 4cqw; }
.fj-card .fj-points { gap: 2.2cqw; }
.fj-card .fj-points li { font-size: 3.7cqw; padding-left: 5.5cqw; }
.fj-card .fj-plate { font-size: 2.5cqw; padding-bottom: 2.6cqw; }
.fj-card .fj-fig figcaption { font-size: 3.4cqw; margin-top: 2.8cqw; }
.fj-card .fj-key { gap: 3.6cqw; padding-top: 4cqw; }
.fj-card .fj-key-num { font-size: 10cqw; }
.fj-card .fj-key-label { font-size: 2.4cqw; }
.fj-card .fj-folio { font-size: 3.2cqw; bottom: -6%; }
.fj-card .fj-cover-art { inset: 0 0 0 8.5%; }
.fj-card .fj-cover-title { font-size: 16cqw; margin: 5cqw 0 1.5cqw; }
.fj-card .fj-cover-sub { font-size: 5.6cqw; }
.fj-card .fj-cover-kicker { font-size: 2.4cqw; }
.fj-card .fj-cover-meta { font-size: 3cqw; }
.fj-card .fj-cover-foot { font-size: 2cqw; }
.fj-card .fj-spine span { font-size: 2.2cqw; }

@media (max-width: 767px) {
  .fj-section.fj-pinmode { padding: 70px 4% 12px; }
  .fj-section.fj-pinmode .fj-head { top: 84px; }
  .fj-head { margin-bottom: 12px; }
  .fj-below { flex-direction: column; gap: 8px; }
  .fj-status { text-align: center; min-width: 0; font-size: .95rem; }
  .fj-head .section-eyebrow { display: none; }
  .fj-head .section-title { font-size: 1.9rem; }
  .fj-subtitle { font-size: 1.02rem; }
  .fj-tools { top: auto; bottom: 10px; right: 4%; gap: 10px; }
  .fj-skip { font-size: .8rem; }
  .fj-sound { width: 28px; height: 28px; }
  .fj-rail { right: 4px; }
  .fj-below { margin-top: 16px; }
  .fj-index { width: 86%; }
}

/* ---------- static fallback (if GSAP can't load) ---------- */
.fj-fallback {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  width: 100%; padding: 6px 2px 22px; scrollbar-width: thin;
}
.fj-fallback .fj-card { position: relative; flex: 0 0 min(420px, 86%); aspect-ratio: 0.72; scroll-snap-align: center; container-type: inline-size; }

.fj-view { width: 100%; display: flex; justify-content: center; align-items: center; }
