/* Rich person profiles (/creators/<id>/ with content/profiles/<id>.json).
   Built on the tokens in styles.css and the card language of episode.css.
   Motion is opt-in twice over: .pf-on (profile.js booted) and prefers-reduced-motion: no-preference.
   Without either, every element is visible and static. */

@property --p { syntax: "<number>"; inherits: true; initial-value: 0.5; }

.page:has(.pf) { max-width: 1180px; }
.page:has(.pf) .crumbs { position: relative; z-index: 2; }

.pf { --gold-soft: rgba(233, 197, 95, 0.14); --violet-soft: rgba(139, 61, 240, 0.22); --ease: cubic-bezier(0.2, 0.8, 0.2, 1); --out: cubic-bezier(0.16, 1, 0.3, 1); --pf-nav-h: 50px; position: relative; }
.pf-bleed { width: var(--pf-vw, 100vw); margin-left: calc(50% - var(--pf-vw, 100vw) / 2); }

/* --- shared type --- */
.pf-sec { margin-top: 120px; scroll-margin-top: 72px; }
.pf-head { margin-bottom: 30px; max-width: 860px; }
.pf-kicker { display: flex; align-items: center; gap: 12px; font-family: var(--font-caps); font-weight: 600; font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 14px; }
.pf-kn { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 8px; border: 1px solid rgba(233, 197, 95, 0.5); border-radius: 999px; font-size: 11px; letter-spacing: 0.08em; }
.pf-h2 { font-weight: 900; font-size: clamp(32px, 4.8vw, 58px); line-height: 0.98; letter-spacing: -0.02em; text-transform: uppercase; }
.pf-h3 { font-weight: 800; font-size: clamp(24px, 3vw, 36px); line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 10px; }
.pf-sub { color: var(--white-80); font-size: 17px; line-height: 1.65; margin-top: 14px; max-width: 720px; }
.pf-cite { font-size: 0.62em; line-height: 0; vertical-align: super; margin-left: 1px; }
.pf-cite a { font-family: var(--font-caps); font-weight: 600; letter-spacing: 0.04em; color: var(--gold-500); text-decoration: none; padding: 0 1px; border-radius: 3px; }
.pf-cite a:hover { background: var(--gold-500); color: var(--purple-990); }
.pf-num { font-variant-numeric: tabular-nums; }

/* --- hero --- */
.pf-hero { position: relative; padding-top: 10px; }
.pf-hero-bg { position: absolute; top: -230px; left: 50%; width: var(--pf-vw, 100vw); height: 900px; transform: translateX(-50%); overflow: hidden; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%); mask-image: linear-gradient(to bottom, #000 45%, transparent 100%); }
.pf-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; opacity: 0.42; transform-origin: 70% 40%; }
.pf-hero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--purple-990) 0%, rgba(20, 8, 48, 0.86) 34%, rgba(20, 8, 48, 0.35) 70%, rgba(20, 8, 48, 0.6) 100%),
  radial-gradient(60% 70% at 78% 30%, transparent 0%, rgba(20, 8, 48, 0.5) 100%); }
.pf-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: center; padding: 34px 0 40px; }

.pf-av { position: relative; width: 250px; aspect-ratio: 1; }
.pf-av-img { position: relative; z-index: 2; display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--purple-990); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--white-12); }
.pf-av-mono { display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, var(--violet-500), var(--purple-950)); font-weight: 900; font-size: 96px; }
.pf-av-ring { position: absolute; inset: -12px; border-radius: 50%; z-index: 1;
  background: conic-gradient(from 0deg, var(--violet-500), var(--magenta-500), var(--gold-500), var(--violet-500));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  filter: drop-shadow(0 0 18px rgba(224, 33, 138, 0.55)); }
.pf-av-ring2 { inset: -30px; background: none; -webkit-mask: none; mask: none; filter: none; border: 1px dashed rgba(255, 255, 255, 0.22); }
.pf-av-orbit { position: absolute; inset: -30px; z-index: 3; border-radius: 50%; }
.pf-av-orbit i { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px rgba(233, 197, 95, 0.2), 0 0 22px 4px rgba(233, 197, 95, 0.75); }
.pf-av::before { content: ""; position: absolute; inset: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 61, 240, 0.5), rgba(224, 33, 138, 0.18) 45%, transparent 70%); z-index: 0; }

.pf-hero-k { margin-bottom: 18px; }
.pf-name { font-weight: 900; font-size: clamp(46px, 7.4vw, 104px); line-height: 0.9; letter-spacing: -0.035em; text-transform: uppercase; margin-bottom: 16px; }
.pf-w { display: inline-block; background: linear-gradient(100deg, #fff 0%, #fff 42%, var(--gold-500) 50%, #fff 58%, #fff 100%); background-size: 320% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.pf-aka { display: block; margin-top: 16px; font-family: var(--font-caps); font-weight: 500; font-size: clamp(13px, 1.4vw, 16px); letter-spacing: 0.3em; color: var(--white-60); }
.pf-aka span { color: var(--white); }
.pf-tag { color: var(--white-80); font-size: clamp(17px, 1.7vw, 21px); line-height: 1.5; max-width: 640px; margin-bottom: 22px; }
.pf-links { margin-bottom: 0; gap: 8px; }
.pf-links .chip { padding: 7px 15px; backdrop-filter: blur(6px); background: rgba(20, 8, 48, 0.35); transition: border-color 0.2s, color 0.2s, background 0.2s; }
.pf-links .chip:hover { background: var(--white); color: var(--purple-990); }
/* --- seeAlso: a prominent link to a partner's profile, under the hero links --- */
.pf-also { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pf-also-card { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 7px 18px 7px 7px; border-radius: 999px; border: 1px solid rgba(233, 197, 95, 0.45); background: linear-gradient(100deg, rgba(233, 197, 95, 0.16), rgba(20, 8, 48, 0.5) 70%); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--white); text-decoration: none; transition: border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s; }
a.pf-also-card:hover { border-color: var(--gold-500); transform: translateY(-2px); box-shadow: 0 10px 30px -12px rgba(233, 197, 95, 0.55); }
.pf-also-av { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-500); display: grid; place-items: center; font-weight: 800; }
.pf-also-av.pf-av-mono { font-size: 18px; line-height: 1; overflow: hidden; }
.pf-also-card > span { min-width: 0; }
.pf-also-card small { display: block; font-family: var(--font-caps); font-weight: 600; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-500); }
.pf-also-card strong { display: block; font-size: 16px; line-height: 1.2; }
.pf-also-card em { display: block; font-style: normal; font-size: 12px; line-height: 1.35; color: var(--white-60); }
.pf-also-card i { flex: none; font-style: normal; font-size: 18px; color: var(--gold-500); transition: transform 0.3s var(--ease); }
a.pf-also-card:hover i { transform: translateX(4px); }

.pf-live { position: relative; z-index: 1; padding: 22px 26px 18px; background: linear-gradient(120deg, rgba(139, 61, 240, 0.16), rgba(20, 8, 48, 0.55) 55%, rgba(224, 33, 138, 0.12)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pf-live-k { display: flex; align-items: center; gap: 10px; font-family: var(--font-caps); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--white-80); margin-bottom: 14px; }
.pf-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--magenta-500); box-shadow: 0 0 0 0 rgba(224, 33, 138, 0.7); }
.pf-live-row { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 0; }
.pf-live-row > div { padding: 2px 22px; border-left: 1px solid var(--white-12); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.pf-live-row > div:first-child { border-left: 0; padding-left: 0; }
.pf-live-row dd { font-weight: 900; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; letter-spacing: -0.02em; color: var(--white); }
.pf-live-row dt { font-size: 12px; line-height: 1.4; color: var(--white-60); }
.pf-asof { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--white-12); font-family: var(--font-caps); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white-60); }

/* --- sticky section nav --- */
.pf-nav { position: sticky; top: 0; z-index: 40; margin-top: 46px; width: var(--pf-vw, 100vw); margin-left: calc(50% - var(--pf-vw, 100vw) / 2); background: rgba(20, 8, 48, 0.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--white-12); border-bottom: 1px solid var(--white-12); }
.pf-nav-in { display: flex; gap: 4px; max-width: 1180px; margin: 0 auto; padding: 0 22px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.pf-nav-in::-webkit-scrollbar { display: none; }
.pf-nav a { position: relative; flex: none; padding: 16px 12px 15px; font-family: var(--font-caps); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white-60); text-decoration: none; transition: color 0.2s; }
.pf-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--gold-500); transform: scaleX(0); transition: transform 0.35s var(--ease); }
.pf-nav a:hover { color: var(--white); }
.pf-nav a[aria-current="true"] { color: var(--gold-500); }
.pf-nav a[aria-current="true"]::after { transform: scaleX(1); }

/* --- who is --- */
.pf-answer { position: relative; overflow: hidden; padding: 42px 44px 30px; background: linear-gradient(135deg, rgba(139, 61, 240, 0.16), rgba(255, 255, 255, 0.03) 50%, rgba(233, 197, 95, 0.06)); }
.pf-answer::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--gold-500), var(--magenta-500)); }
.pf-answer .pf-h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 18px; }
.pf-answer-p { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.6; color: var(--white); max-width: 900px; font-weight: 500; }
.pf-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 30px; margin-top: 30px; }
.pf-facts > div { padding: 14px 0; border-top: 1px solid var(--white-12); }
.pf-facts dt { font-family: var(--font-caps); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 5px; }
.pf-facts dd { font-weight: 600; font-size: 15px; line-height: 1.45; }
.pf-updated { margin-top: 18px; font-family: var(--font-caps); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white-60); }

/* --- numbers --- */
.pf-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pf-stat { position: relative; overflow: hidden; padding: 26px 24px 20px; display: flex; flex-direction: column; gap: 10px; transition: transform 0.35s var(--ease), border-color 0.35s; }
.pf-stat::before { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(233, 197, 95, 0.18), transparent 70%); transition: transform 0.6s var(--ease); }
.pf-stat:hover { transform: translateY(-4px); border-color: rgba(233, 197, 95, 0.45); }
.pf-stat:hover::before { transform: translate(-30px, -30px) scale(1.2); }
.pf-stat strong { position: relative; font-weight: 900; font-size: clamp(32px, 3.4vw, 46px); line-height: 1; letter-spacing: -0.025em; color: var(--gold-500); white-space: nowrap; }
.pf-stat > span { position: relative; color: var(--white-80); font-size: 14px; line-height: 1.45; }
.pf-stat small { position: relative; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--white-12); font-family: var(--font-caps); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white-60); }

/* --- biography --- */
.pf-bio { max-width: 780px; }
.pf-bio p { color: var(--white-80); font-size: 17px; line-height: 1.85; margin-bottom: 18px; }
.pf-bio > p:first-of-type::first-letter { float: left; font-weight: 900; font-size: 4.4em; line-height: 0.82; margin: 0.06em 0.12em 0 0; color: var(--gold-500); }
.pf-bio-h { display: flex; align-items: center; gap: 14px; font-family: var(--font-caps); font-weight: 600; font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--white); margin: 42px 0 16px; }
.pf-bio-h:first-child { margin-top: 0; }
.pf-bio-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--white-24), transparent); }
.pf-bio .pull { margin: 34px 0; }
.pf-bio .pull p { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.25; color: var(--white); text-transform: uppercase; letter-spacing: -0.005em; }

/* --- career timeline ---
   Static by default: a sideways-scrolling row on desktop, a vertical list on phones.
   With motion, desktop pins it and scroll drives it sideways while the line draws. */
.pf-tl { position: relative; }
.pf-tl-sticky { position: relative; }
.pf-tl-head { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.pf-tl-head .pf-head { margin-bottom: 8px; }
.pf-tl-scroller { position: relative; z-index: 1; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--white-24) transparent; }
.pf-tl-year { display: none; }
.pf-tl-track { position: relative; list-style: none; display: flex; width: max-content; padding: 10px max(28px, calc((var(--pf-vw, 100vw) - 1180px) / 2 + 28px)) 26px; }
.pf-tl-line { position: absolute; top: 30px; left: max(28px, calc((var(--pf-vw, 100vw) - 1180px) / 2 + 28px)); right: max(28px, calc((var(--pf-vw, 100vw) - 1180px) / 2 + 28px)); height: 2px; background: var(--white-12); }
.pf-tl-line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--violet-500), var(--magenta-500) 60%, var(--gold-500)); transform-origin: left; transform: scaleX(var(--tl, 1)); box-shadow: 0 0 14px rgba(224, 33, 138, 0.7); }
.pf-tl-item { position: relative; flex: none; width: 300px; padding: 46px 26px 0 0; }
.pf-tl-dot { position: absolute; top: 21px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--purple-990); border: 2px solid var(--gold-500); box-shadow: 0 0 0 5px rgba(233, 197, 95, 0.14), 0 0 18px rgba(233, 197, 95, 0.6); }
.pf-tl-date { font-family: var(--font-caps); font-weight: 600; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 12px; }
.pf-tl-card { overflow: hidden; background: rgba(20, 8, 48, 0.72); }
.pf-tl-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--purple-950); }
.pf-tl-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--ease); }
.pf-tl-card:hover .pf-tl-img img { transform: scale(1.06); }
.pf-tl-card h3 { font-weight: 800; font-size: 17px; line-height: 1.25; padding: 16px 18px 0; }
.pf-tl-card h3 a { color: var(--white); text-decoration: none; }
.pf-tl-card h3 a:hover { color: var(--gold-500); }
.pf-tl-card p { color: var(--white-80); font-size: 13.5px; line-height: 1.55; padding: 8px 18px 18px; }

/* --- body of work --- */
.pf-films { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pf-film { overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.35s; }
.pf-film:hover { transform: translateY(-4px); border-color: var(--white-24); }
.pf-film a { display: flex; flex-direction: column; height: 100%; color: var(--white); text-decoration: none; }
.pf-film-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--purple-950); }
.pf-film-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--ease), filter 0.4s; }
.pf-film:hover .pf-film-media img { transform: scale(1.07); filter: brightness(0.75); }
.pf-film-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; display: grid; place-items: center; padding-left: 4px; background: var(--gold-500); color: var(--purple-990); font-size: 18px; transform: scale(0.6); opacity: 0; transition: transform 0.35s var(--ease), opacity 0.3s; }
.pf-film:hover .pf-film-play { transform: none; opacity: 1; }
.pf-film-views { position: absolute; left: 10px; bottom: 10px; font-family: var(--font-caps); font-weight: 600; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(20, 8, 48, 0.78); backdrop-filter: blur(6px); border: 1px solid var(--white-24); }
.pf-film-body { display: grid; gap: 6px; padding: 16px 18px 20px; }
.pf-film-body small { font-family: var(--font-caps); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white-60); }
.pf-film-body strong { font-size: 16px; line-height: 1.3; }
.pf-film-body em { font-style: normal; font-size: 12px; color: var(--gold-500); }

.pf-views { margin-top: 24px; padding: 30px 32px; }
.pf-bars { gap: 10px; }
.pf-bars .bar-row { grid-template-columns: minmax(150px, 0.9fr) 2.2fr minmax(64px, auto); }
.pf-bars .bar-label a { color: var(--white); text-decoration: none; }
.pf-bars .bar-label a:hover { color: var(--gold-500); }
.pf-bars .bar-fill { background: linear-gradient(90deg, var(--violet-500), var(--magenta-500)); }
.pf-bars .bar-hi .bar-fill { background: linear-gradient(90deg, #f3d88a, var(--gold-500)); box-shadow: 0 0 16px rgba(233, 197, 95, 0.5); }
.pf-bars .bar-track { height: 14px; }

/* --- showcase --- */
.pf-showcase { margin-top: 140px; scroll-margin-top: 72px; }
.pf-mod { margin-top: 90px; }
.pf-showcase > .pf-head + .pf-mod { margin-top: 40px; }
.pf-mod-head { margin-bottom: 26px; max-width: 820px; }
.pf-mod .mod-caption { margin-top: 16px; }

/* world: layered parallax panel */
.pf-world { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; isolation: isolate; border-top: 1px solid var(--white-12); border-bottom: 1px solid var(--white-12); }
.pf-world-layers { position: absolute; inset: 0; z-index: -1; background: #07020f; }
.pf-layer { position: absolute; inset: -14% -4%; opacity: var(--op); transform: translate3d(0, calc(var(--wp, 0) * var(--depth) * -140px), 0) scale(var(--s)); will-change: transform; }
.pf-layer img { width: 100%; height: 100%; object-fit: cover; object-position: var(--x) var(--y); display: block; }
.pf-world-fog { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(20, 8, 48, 0.96) 0%, rgba(20, 8, 48, 0.75) 38%, rgba(20, 8, 48, 0.1) 75%),
  linear-gradient(0deg, var(--purple-990) 0%, transparent 28%, transparent 78%, var(--purple-990) 100%); }
.pf-world::after { content: ""; position: absolute; inset: 0 0 auto; height: 200%; z-index: -1; pointer-events: none; opacity: 0.7; background-size: 100% 50%; background-image:
  radial-gradient(circle at 10% 90%, rgba(233, 197, 95, 0.9) 0 1.5px, transparent 2px),
  radial-gradient(circle at 30% 70%, rgba(224, 33, 138, 0.9) 0 1px, transparent 1.5px),
  radial-gradient(circle at 55% 95%, rgba(233, 197, 95, 0.8) 0 1px, transparent 1.6px),
  radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.5px),
  radial-gradient(circle at 85% 85%, rgba(233, 197, 95, 0.9) 0 2px, transparent 2.5px),
  radial-gradient(circle at 45% 40%, rgba(224, 33, 138, 0.7) 0 1px, transparent 1.6px);
  background-size: 360px 420px, 280px 380px, 420px 460px, 300px 340px, 520px 560px, 240px 300px; }
.pf-world-copy { position: relative; width: 100%; max-width: 1180px; margin: 0 auto; padding: 90px 28px; }
.pf-world-copy > * { max-width: 600px; }
.pf-world-title { font-weight: 900; font-size: clamp(38px, 6vw, 80px); line-height: 0.92; letter-spacing: -0.03em; text-transform: uppercase; margin: 6px 0 24px; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6); }
.pf-world-copy p:not(.mod-kicker) { color: var(--white-80); font-size: 17px; line-height: 1.75; margin-bottom: 14px; }
.pf-lore { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.pf-lore > div { padding: 22px 22px 20px; position: relative; overflow: hidden; }
.pf-lore > div::before { content: ""; position: absolute; top: 0; left: 22px; width: 36px; height: 3px; background: var(--gold-500); border-radius: 0 0 3px 3px; }
.pf-lore dt { font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: 0.01em; margin: 6px 0 8px; }
.pf-lore dd { color: var(--white-80); font-size: 14px; line-height: 1.6; }

/* object-reveal: static by default (poster image, Ken Burns where there is one image) */
.pf-or { position: relative; }
.pf-or-stage { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 40px 28px; }
.pf-or-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #07020f; border: 1px solid var(--white-12);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(233, 197, 95, 0.08), 0 0 120px rgba(139, 61, 240, 0.25);
  transform: perspective(1400px) rotateY(calc((var(--p) - 0.5) * -12deg)) rotateX(calc((var(--p) - 0.5) * 4deg)) scale(calc(0.95 + var(--p) * 0.05)); }
.pf-or-img, .pf-or-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-or-canvas { opacity: 0; transition: opacity 0.4s; }
.pf-or.is-ready .pf-or-canvas { opacity: 1; }
.pf-or-spot { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(circle at calc(var(--p) * 110% - 5%) 32%, rgba(255, 236, 190, 0.95), rgba(255, 236, 190, 0.2) 22%, transparent 46%), radial-gradient(120% 90% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.7) 100%); }
.pf-or-gleam { position: absolute; top: -20%; bottom: -20%; left: 0; width: 34%; pointer-events: none; mix-blend-mode: overlay; opacity: 0.55;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent); transform: translateX(calc(var(--p) * 420% - 120%)) skewX(-18deg); }
.pf-or-cap { position: absolute; left: 16px; bottom: 16px; right: 16px; font-size: 11px; line-height: 1.45; color: var(--white-80); max-width: 420px; padding: 8px 12px; border-radius: 10px; background: rgba(20, 8, 48, 0.72); backdrop-filter: blur(8px); transform: translateY(calc((0.5 - var(--p)) * 46px)); }
.pf-or-still .pf-or-img { animation: pfKen 18s ease-in-out infinite alternate; transform-origin: 60% 45%; }
.pf-or-still { --p: 0.5; }
.pf-or-meter { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-family: var(--font-caps); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white-60); }
.pf-or-count { color: var(--gold-500); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.pf-or-bar { flex: 1; height: 2px; background: var(--white-12); position: relative; overflow: hidden; border-radius: 2px; }
.pf-or-bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--violet-500), var(--gold-500)); transform-origin: left; transform: scaleX(var(--p)); }
.pf-or-text { transform: translateY(calc((0.5 - var(--p)) * 30px)); }
.pf-plate { position: relative; display: inline-flex; flex-direction: column; gap: 4px; margin: 6px 0 20px; padding: 14px 26px 16px 20px; border: 1px solid rgba(233, 197, 95, 0.6);
  background: linear-gradient(135deg, rgba(233, 197, 95, 0.24), rgba(233, 197, 95, 0.05) 60%, rgba(233, 197, 95, 0.16));
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.pf-plate span { font-family: var(--font-caps); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-500); }
.pf-plate strong { font-weight: 900; font-size: clamp(26px, 3vw, 40px); line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; }
.pf-or-title { font-weight: 800; font-size: 22px; line-height: 1.2; margin-bottom: 14px; }
.pf-or-wield { display: flex; gap: 12px; align-items: baseline; font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.pf-or-wield span { font-family: var(--font-caps); font-weight: 500; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white-60); }
.pf-or-story { color: var(--white-80); font-size: 15px; line-height: 1.7; }
.pf-or-specs { margin-top: 18px; display: grid; gap: 0; }
.pf-or-specs > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--white-12); font-size: 13px; }
.pf-or-specs dt { font-family: var(--font-caps); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white-60); padding-top: 2px; }
.pf-or-specs dd { color: var(--white); }
.pf-mod-object-reveal + .pf-mod { margin-top: 70px; }

/* character-roster: 3D tilt + flip cards */
.pf-roster { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pf-roster li { perspective: 1100px; }
.pf-card { all: unset; box-sizing: border-box; display: block; width: 100%; aspect-ratio: 3 / 4; cursor: pointer; border-radius: 18px; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.25s ease-out; -webkit-tap-highlight-color: transparent; }
.pf-card:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 4px; }
.pf-card-in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.9s var(--ease); }
.pf-card.is-flipped .pf-card-in { transform: rotateY(180deg); }
.pf-card-front, .pf-card-back { position: absolute; inset: 0; display: block; border-radius: 18px; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; border: 1px solid var(--white-12); }
.pf-card-front { background: var(--purple-950); }
.pf-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1)); transition: transform 0.8s var(--ease); }
.pf-card:hover .pf-card-img { transform: scale(calc(var(--z, 1) * 1.07)); }
.pf-card-mono { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 900; font-size: 120px; color: rgba(255, 255, 255, 0.1); background: radial-gradient(circle at 30% 20%, rgba(139, 61, 240, 0.6), var(--purple-950)); }
.pf-card-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 8, 48, 0) 35%, rgba(20, 8, 48, 0.55) 62%, rgba(20, 8, 48, 0.96) 100%); }
.pf-card-shine { position: absolute; inset: 0; z-index: 2; opacity: 0; transition: opacity 0.3s; mix-blend-mode: overlay; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, 0.75), transparent 45%); }
.pf-card:hover .pf-card-shine { opacity: 1; }
.pf-card-cap { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 3; display: grid; gap: 4px; transform: translateZ(40px); }
.pf-card-cap small, .pf-card-back small { font-family: var(--font-caps); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-500); }
.pf-card-cap strong { font-weight: 900; font-size: 22px; line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; }
.pf-card-cap em { font-style: normal; font-size: 12px; color: var(--white-80); }
.pf-card-flipcue { position: absolute; top: 12px; right: 12px; z-index: 3; font-family: var(--font-caps); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; padding: 5px 10px 5px 9px; border-radius: 999px; background: rgba(20, 8, 48, 0.7); border: 1px solid var(--white-24); color: var(--white-80); backdrop-filter: blur(6px); }
.pf-card-flipcue::before { content: "↻ "; color: var(--gold-500); }
.pf-card-back { transform: rotateY(180deg); padding: 20px 18px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto;
  background: radial-gradient(120% 80% at 100% 0%, rgba(224, 33, 138, 0.35), transparent 60%), radial-gradient(120% 80% at 0% 100%, rgba(139, 61, 240, 0.45), transparent 60%), var(--purple-950); border-color: rgba(233, 197, 95, 0.45); }
.pf-card-back strong { font-weight: 900; font-size: 19px; line-height: 1.05; text-transform: uppercase; }
.pf-card-story { font-size: 13px; line-height: 1.55; color: var(--white-80); }
.pf-card-row { display: block; font-size: 12px; line-height: 1.5; color: var(--white-80); padding-top: 8px; border-top: 1px solid var(--white-12); }
.pf-card-row b { display: block; font-family: var(--font-caps); font-weight: 500; font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white-60); margin-bottom: 2px; }

/* episode-rail */
.pf-rail-wrap { position: relative; }
.pf-rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 2px; padding: 4px 2px 8px; scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 60px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 60px), transparent); }
.pf-rail.is-end { -webkit-mask-image: none; mask-image: none; }
.pf-rail::-webkit-scrollbar { display: none; }
.pf-rail:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 4px; border-radius: 12px; }
.pf-ep { flex: 0 0 clamp(260px, 31%, 350px); scroll-snap-align: start; overflow: hidden; border-radius: 18px; border: 1px solid var(--white-12); background: rgba(255, 255, 255, 0.04); transition: border-color 0.3s, transform 0.35s var(--ease); }
.pf-ep:hover { border-color: rgba(233, 197, 95, 0.5); transform: translateY(-4px); }
.pf-ep-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--purple-950); }
.pf-ep-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--ease); }
.pf-ep:hover .pf-ep-media img { transform: scale(1.07); }
.pf-ep-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 45%, rgba(20, 8, 48, 0.85)); }
.pf-ep-n { position: absolute; left: 14px; bottom: 6px; z-index: 1; font-weight: 900; font-size: 58px; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.9); }
.pf-ep-top { position: absolute; top: 12px; right: 12px; z-index: 1; font-family: var(--font-caps); font-weight: 600; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--gold-500); color: var(--purple-990); box-shadow: 0 6px 24px rgba(233, 197, 95, 0.4); }
.pf-ep-body { padding: 16px 18px 20px; }
.pf-ep-meta { display: flex; justify-content: space-between; gap: 10px; font-family: var(--font-caps); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white-60); margin-bottom: 8px; }
.pf-ep-views { color: var(--gold-500); }
.pf-ep h4 { font-weight: 800; font-size: 18px; line-height: 1.2; margin-bottom: 8px; }
.pf-ep h4 a { color: var(--white); text-decoration: none; }
.pf-ep-body p { color: var(--white-80); font-size: 13px; line-height: 1.55; }
.pf-rail-ctl, .pf-car-ctl { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.pf-rail-btn, .pf-car-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--white-24); background: transparent; color: var(--white); font-size: 18px; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s; }
.pf-rail-btn:hover:not(:disabled), .pf-car-btn:hover { background: var(--gold-500); color: var(--purple-990); border-color: var(--gold-500); }
.pf-rail-btn:disabled { opacity: 0.3; cursor: default; }
.pf-rail-prog { flex: 1; height: 2px; background: var(--white-12); border-radius: 2px; position: relative; overflow: hidden; }
.pf-rail-prog i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--violet-500), var(--gold-500)); transform-origin: left; transform: scaleX(var(--rp, 0.25)); transition: transform 0.2s; }

/* quote-wall */
.pf-qwall { columns: 3 280px; column-gap: 14px; }
.pf-q { break-inside: avoid; margin-bottom: 14px; padding: 26px 24px 20px; position: relative; overflow: hidden; }
.pf-q::before { content: "\201C"; position: absolute; top: -18px; right: 14px; font-weight: 900; font-size: 120px; line-height: 1; color: rgba(233, 197, 95, 0.16); }
.pf-q blockquote { position: relative; font-weight: 600; font-size: 18px; line-height: 1.45; margin-bottom: 16px; }
.pf-q figcaption, .pf-car-slide figcaption { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 12px; color: var(--white-60); }
.pf-q figcaption strong, .pf-car-slide figcaption strong { font-family: var(--font-caps); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); }
.pf-q-src { color: var(--gold-500); text-decoration: none; }

/* workflow */
.pf-flow { position: relative; list-style: none; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 16px; padding: 4px 0; }
.pf-flow-line { position: absolute; top: 31px; left: calc(50% / var(--n)); right: calc(50% / var(--n)); height: 2px; background: var(--white-12); border-radius: 2px; }
.pf-flow-dots { position: absolute; inset: -3px 0; opacity: 0.85; background: radial-gradient(circle, rgba(233, 197, 95, 0.95) 0 1.6px, transparent 2.4px) 0 50% / 22px 8px repeat-x; }
.pf-flow-comet { position: absolute; top: -3px; left: 0; width: 120px; height: 8px; border-radius: 8px; opacity: 0; background: linear-gradient(90deg, transparent, var(--magenta-500), var(--gold-500)); filter: blur(1px); box-shadow: 0 0 18px 2px rgba(233, 197, 95, 0.6); }
.pf-flow-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.pf-flow-node { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; margin-bottom: 8px; background: var(--purple-990); border: 1px solid var(--white-24); font-family: var(--font-caps); font-weight: 700; font-size: 17px; color: var(--white-60); transition: background 0.5s, color 0.5s, border-color 0.5s, box-shadow 0.5s, transform 0.5s var(--ease); }
.pf-flow-step strong { font-size: 15px; line-height: 1.3; color: var(--white-80); transition: color 0.5s; }
.pf-flow-step small { font-size: 12.5px; line-height: 1.5; color: var(--white-60); }
.pf-flow-step em { font-style: normal; font-family: var(--font-caps); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-500); border: 1px solid rgba(233, 197, 95, 0.4); border-radius: 999px; padding: 3px 9px; }
.pf-flow-step.is-on .pf-flow-node, .pf-flow:not(.is-live) .pf-flow-node { background: var(--gold-500); color: var(--purple-990); border-color: var(--gold-500); box-shadow: 0 0 0 6px rgba(233, 197, 95, 0.15), 0 0 30px rgba(233, 197, 95, 0.55); }
.pf-flow-step.is-on strong, .pf-flow:not(.is-live) .pf-flow-step strong { color: var(--white); }
.pf-flow-step.is-now .pf-flow-node { transform: scale(1.12); }

/* carousel: in their own words */
.pf-car { position: relative; overflow: hidden; padding: 54px 60px 34px; border-radius: 26px; border: 1px solid var(--white-12);
  background: radial-gradient(80% 120% at 100% 0%, rgba(224, 33, 138, 0.22), transparent 60%), radial-gradient(80% 120% at 0% 100%, rgba(139, 61, 240, 0.3), transparent 60%), rgba(255, 255, 255, 0.03); }
.pf-car::before { content: "\201C"; position: absolute; top: -40px; left: 26px; font-weight: 900; font-size: 260px; line-height: 1; color: rgba(233, 197, 95, 0.18); pointer-events: none; }
.pf-car-track { position: relative; display: flex; align-items: center; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pf-car-track::-webkit-scrollbar { display: none; }
.pf-car-slide { flex: 0 0 100%; scroll-snap-align: start; padding-right: 8px; }
.pf-car-slide blockquote { font-weight: 800; font-size: clamp(24px, 3.3vw, 42px); line-height: 1.18; letter-spacing: -0.01em; margin-bottom: 22px; max-width: 920px; }
.pf-car-dots { flex: 1; display: flex; gap: 8px; align-items: center; justify-content: center; }
.pf-car-dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: var(--white-24); cursor: pointer; transition: width 0.35s var(--ease), background 0.3s; }
.pf-car-dots button[aria-current="true"] { width: 28px; background: var(--gold-500); }

/* on AI LIVE */
.pf-app-stats { display: flex; flex-wrap: wrap; gap: 14px 0; margin-bottom: 34px; padding: 22px 0; border-top: 1px solid var(--white-12); border-bottom: 1px solid var(--white-12); }
.pf-app-stats > div { flex: 1 1 160px; padding: 0 22px; border-left: 1px solid var(--white-12); display: flex; flex-direction: column; gap: 6px; }
.pf-app-stats > div:first-child { border-left: 0; padding-left: 0; }
.pf-app-stats strong { font-weight: 900; font-size: clamp(30px, 3.6vw, 46px); line-height: 1; color: var(--gold-500); letter-spacing: -0.02em; }
.pf-app-stats strong.pf-app-first { font-size: clamp(22px, 2.4vw, 30px); padding-top: 8px; color: var(--white); }
.pf-app-stats > div > span { font-size: 13px; line-height: 1.4; color: var(--white-60); }
.pf-app-h { margin-top: 34px; font-size: clamp(20px, 2.2vw, 26px); }
.pf-app-h small { font-family: var(--font-caps); font-weight: 500; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white-60); margin-left: 8px; }
.pf-apps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.pf-app { overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.35s; }
.pf-app:hover { transform: translateY(-4px); border-color: var(--white-24); }
.pf-app a { display: flex; flex-direction: column; height: 100%; color: var(--white); text-decoration: none; }
.pf-app-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--purple-950); }
.pf-app-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--ease); }
.pf-app:hover .pf-app-media img { transform: scale(1.06); }
.pf-app-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.pf-app-body small { font-family: var(--font-caps); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white-60); }
.pf-app-body strong { font-size: 15.5px; line-height: 1.3; }
.pf-app-body em { font-style: normal; font-size: 13px; line-height: 1.5; color: var(--white-80); }
.pf-app-score { margin-top: auto; padding-top: 10px; font-size: 12px; color: var(--white-60); }
.pf-app-score b { font-family: var(--font-caps); font-size: 20px; color: var(--gold-500); margin-right: 2px; }

/* press, collaborators */
.pf-press { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pf-press li { position: relative; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.pf-press small { font-family: var(--font-caps); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white-60); }
.pf-press strong { font-size: 16px; line-height: 1.35; }
.pf-press strong a { color: var(--white); text-decoration: none; }
.pf-press span { font-size: 13px; color: var(--white-80); line-height: 1.5; }
.pf-award { border-color: rgba(233, 197, 95, 0.5); background: linear-gradient(140deg, rgba(233, 197, 95, 0.14), rgba(255, 255, 255, 0.03)); }
.pf-award-ic { position: absolute; top: 16px; right: 18px; font-size: 20px; color: var(--gold-500); }
.pf-collab { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pf-collab > li > a, .pf-collab > li > div { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; color: var(--white); text-decoration: none; transition: border-color 0.3s, transform 0.3s var(--ease); }
.pf-collab > li > a:hover { border-color: rgba(233, 197, 95, 0.5); transform: translateY(-3px); }
.pf-collab-av { flex: none; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-size: 18px; font-weight: 800; border: 1px solid var(--white-24); }
.pf-collab strong { display: block; font-size: 15px; line-height: 1.25; }
.pf-collab small { display: block; font-size: 12px; line-height: 1.45; color: var(--white-60); margin-top: 3px; }
.pf-collab > li > a strong::after { content: " →"; color: var(--gold-500); }

/* sources */
.pf-src { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px; counter-reset: none; }
.pf-src li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 12px 10px; border-radius: 12px; border-bottom: 1px solid var(--white-12); scroll-margin-top: 90px; font-size: 14px; line-height: 1.45; }
.pf-src li:target { background: rgba(233, 197, 95, 0.12); box-shadow: inset 0 0 0 1px rgba(233, 197, 95, 0.5); }
.pf-src-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(233, 197, 95, 0.5); font-family: var(--font-caps); font-weight: 600; font-size: 12px; color: var(--gold-500); }
.pf-src a { color: var(--white); text-decoration: none; font-weight: 600; }
.pf-src a:hover { color: var(--gold-500); }
.pf-src small { display: block; margin-top: 3px; font-size: 12px; color: var(--white-60); overflow-wrap: anywhere; }
.pf .faq summary h3 { font-size: 17px; }

/* --- motion (profile.js has booted and the visitor has not asked for less motion) --- */
@media (prefers-reduced-motion: no-preference) {
  .pf-av-ring { animation: pfSpin 9s linear infinite; }
  .pf-av-ring2 { animation: pfSpin 40s linear infinite reverse; }
  .pf-av-orbit { animation: pfSpin 7s linear infinite; }
  .pf-av::before { animation: pfBreathe 5s ease-in-out infinite; }
  .pf-w { animation: pfRise 0.9s var(--ease) both, pfShine 2.4s 0.6s ease-in-out both; animation-delay: calc(var(--i) * 0.09s + 0.05s), calc(var(--i) * 0.12s + 0.7s); }
  .pf-hero-bg img { animation: pfKen 30s ease-in-out infinite alternate; }
  .pf-pulse { animation: pfPulse 1.8s ease-out infinite; }
  .pf-world::after { animation: pfEmbers 28s linear infinite; will-change: transform; }
  .pf-or-still { animation: pfSweep 7s ease-in-out infinite alternate; }

  .pf-on .pf-rv { opacity: 0; transform: translate3d(0, 36px, 0) scale(0.985); transition: opacity 0.9s var(--out), transform 1.1s var(--out); transition-delay: calc(var(--d, 0) * 80ms); }
  /* Section titles wipe up out of their own baseline as the head arrives. */
  .pf-on .pf-head.pf-rv .pf-h2 { clip-path: inset(-0.2em -0.1em 100% -0.1em); transform: translate3d(0, 0.32em, 0); transition: clip-path 1.1s var(--out), transform 1.1s var(--out); transition-delay: calc(var(--d, 0) * 80ms + 70ms); }
  .pf-on .pf-head.pf-rv.is-in .pf-h2 { clip-path: inset(-0.2em -0.1em -0.3em -0.1em); transform: none; }
  /* Hero: the backdrop drifts down and the intro lifts away as the page scrolls past it (moved by profile.js). */
  .pf-on .pf-hero-bg, .pf-on .pf-hero-in { will-change: transform, opacity; }
  /* Reading progress along the foot of the section nav (scaled by profile.js). */
  .pf-on .pf-read { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; background: linear-gradient(90deg, var(--violet-500), var(--magenta-500) 60%, var(--gold-500)); transform-origin: left; transform: scaleX(0); will-change: transform; }
  .pf-on .pf-q.pf-rv { transform: translateX(calc(var(--from, 1) * 44px)) rotate(calc(var(--from, 1) * 1.2deg)); }
  .pf-on .pf-rv.is-in { opacity: 1; transform: none; }
  .pf-on .pf-bars .bar-fill { animation: none; transform: scaleX(0); transition: transform 1.3s var(--ease); transition-delay: calc(var(--d, 0) * 70ms + 150ms); }
  .pf-on .pf-bars.is-in .bar-fill { transform: scaleX(1); }
  .pf-on .pf-flow.is-live .pf-flow-dots { animation: pfFlow 0.9s linear infinite; }
  .pf-on .pf-flow.is-live .pf-flow-comet { animation: pfComet 3.4s cubic-bezier(0.5, 0, 0.5, 1) infinite; }
  .pf-on .pf-roster .pf-rv { transform: translateY(40px) rotateX(18deg) scale(0.94); }
  .pf-on .pf-roster .pf-rv.is-in { transform: none; }

  /* Pinned sideways timeline on desktop */
  @media (min-width: 761px) {
    .pf-js .pf-tl { height: calc(100vh + var(--n) * 24vh); }
    .pf-js .pf-sec-tl { margin-top: 64px; }
    .pf-js .pf-tl-sticky { position: sticky; top: var(--pf-nav-h); height: calc(100vh - var(--pf-nav-h)); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; padding-top: clamp(16px, 4vh, 40px); }
    .pf-js .pf-tl-scroller { overflow: visible; }
    .pf-js .pf-tl-year { display: block; position: absolute; right: max(28px, calc((var(--pf-vw, 100vw) - 1180px) / 2 + 28px)); bottom: 3vh; z-index: 0; font-weight: 900; font-size: min(26vw, 340px); line-height: 0.8; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(233, 197, 95, 0.16); pointer-events: none; transition: opacity 0.4s; }
    .pf-js .pf-tl-year:empty { opacity: 0; }
    .pf-js .pf-tl-track { will-change: transform; transform: translate3d(var(--tx, 0px), 0, 0); }
    .pf-js .pf-tl-line span { transform: scaleX(var(--tl, 0)); }
    .pf-on .pf-tl-item .pf-tl-dot { transform: scale(0.5); background: var(--purple-990); border-color: var(--white-24); box-shadow: none; transition: transform 0.5s var(--ease), background 0.4s, border-color 0.4s, box-shadow 0.4s; }
    .pf-on .pf-tl-item .pf-tl-date, .pf-on .pf-tl-item .pf-tl-card { opacity: 0.22; transform: translate3d(0, 22px, 0) scale(0.97); transition: opacity 0.6s var(--out), transform 0.8s var(--out); }
    .pf-on .pf-tl-item.is-on .pf-tl-dot { transform: scale(1); background: var(--gold-500); border-color: var(--gold-500); box-shadow: 0 0 0 6px rgba(233, 197, 95, 0.18), 0 0 22px rgba(233, 197, 95, 0.8); animation: pfPop 0.6s var(--ease); }
    .pf-on .pf-tl-item.is-on .pf-tl-date, .pf-on .pf-tl-item.is-on .pf-tl-card { opacity: 1; transform: none; }

    /* Scroll-scrubbed object flipbook */
    .pf-js .pf-or-flip { height: 290vh; }
    .pf-js .pf-or-flip .pf-or-stage { position: sticky; top: 0; height: 100vh; padding-top: 0; padding-bottom: 0; }
  }
  @media (max-width: 760px) {
    .pf-js .pf-tl-line span { transform: scaleY(var(--tl, 0)); }
    .pf-on .pf-tl-item .pf-tl-dot { transform: scale(0.4); transition: transform 0.5s var(--ease); }
    .pf-on .pf-tl-item.is-on .pf-tl-dot { transform: scale(1); }
    .pf-on .pf-tl-item .pf-tl-card, .pf-on .pf-tl-item .pf-tl-date { opacity: 0.25; transform: translateX(18px); transition: opacity 0.6s ease, transform 0.7s var(--ease); }
    .pf-on .pf-tl-item.is-on .pf-tl-card, .pf-on .pf-tl-item.is-on .pf-tl-date { opacity: 1; transform: none; }
    .pf-js .pf-or-flip { height: 230vh; }
    .pf-js .pf-or-flip .pf-or-stage { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; align-content: center; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .pf-or-canvas { display: none; }
  .pf, .pf-or { --p: 0.5; }
  .pf-card-in, .pf-card { transition: none; }
}

@keyframes pfSpin { to { transform: rotate(360deg); } }
@keyframes pfBreathe { 50% { transform: scale(1.08); opacity: 0.75; } }
@keyframes pfRise { from { opacity: 0; transform: translateY(0.45em) rotate(2deg); } }
@keyframes pfShine { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes pfKen { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.16) translate(-2%, -1.5%); } }
@keyframes pfPulse { 0% { box-shadow: 0 0 0 0 rgba(224, 33, 138, 0.7); } 100% { box-shadow: 0 0 0 12px rgba(224, 33, 138, 0); } }
@keyframes pfEmbers { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -50%, 0); } }
@keyframes pfSweep { from { --p: 0; } to { --p: 1; } }
@keyframes pfFlow { to { background-position: 22px 50%; } }
@keyframes pfComet { 0% { left: -10%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes pfPop { 0% { transform: scale(0.5); } 60% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* --- mid widths --- */
@media (max-width: 1060px) {
  .pf-roster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pf-collab { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pf-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
  .pf-flow-line { display: none; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .pf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-films, .pf-apps, .pf-press { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-lore { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-hero-in { grid-template-columns: 190px minmax(0, 1fr); gap: 40px; }
  .pf-av { width: 190px; }
  .pf-or-stage { grid-template-columns: 1fr; gap: 26px; }
}

/* --- phones --- */
@media (max-width: 760px) {
  .pf-sec { margin-top: 84px; }
  .pf-showcase { margin-top: 96px; }
  .pf-mod { margin-top: 72px; }
  .pf-head { margin-bottom: 22px; }
  .pf-sub { font-size: 15.5px; }
  .pf-hero-bg { top: -180px; height: 640px; }
  .pf-hero-bg img { opacity: 0.32; object-position: 70% 20%; }
  .pf-hero-in { grid-template-columns: 1fr; gap: 34px; padding: 26px 0 30px; justify-items: start; }
  .pf-av { width: 148px; margin-left: 24px; margin-top: 18px; }
  .pf-av::before { inset: -40px; }
  .pf-name { font-size: clamp(42px, 13vw, 60px); }
  .pf-live { padding: 18px 18px 14px; }
  .pf-live-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; }
  .pf-live-row > div { padding: 0 14px; }
  .pf-live-row > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .pf-live-row dd { font-size: 30px; }
  .pf-nav { margin-top: 34px; }
  .pf-nav-in { padding: 0 8px; }
  .pf-answer { padding: 30px 22px 22px; }
  .pf-answer-p { font-size: 17px; }
  .pf-facts { grid-template-columns: 1fr; margin-top: 22px; }
  .pf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pf-stat { padding: 18px 16px 14px; }
  .pf-stat strong { font-size: clamp(24px, 7.4vw, 32px); white-space: normal; }
  .pf-stat > span { font-size: 13px; }
  .pf-bio p { font-size: 16px; }

  .pf-tl.pf-bleed { width: auto; margin-left: 0; }
  .pf-tl-scroller { overflow: visible; }
  .pf-tl-head { padding: 0; }
  .pf-tl-track { flex-direction: column; width: auto; padding: 0 0 0 34px; }
  .pf-tl-line { top: 6px; bottom: 30px; left: 9px; right: auto; width: 2px; height: auto; }
  .pf-tl-line span { transform-origin: top; transform: scaleY(var(--tl, 1)); }
  .pf-tl-item { width: auto; padding: 0 0 28px; }
  .pf-tl-dot { top: 2px; left: -34px; }
  .pf-tl-date { margin-bottom: 10px; }

  .pf-films, .pf-apps, .pf-press, .pf-lore { grid-template-columns: 1fr; }
  .pf-views { padding: 22px 18px; }
  .pf-bars .bar-row { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .pf-world { min-height: 0; }
  .pf-world-copy { padding: 64px 16px; }
  .pf-world-fog { background: linear-gradient(90deg, rgba(20, 8, 48, 0.9), rgba(20, 8, 48, 0.55)), linear-gradient(0deg, var(--purple-990) 0%, transparent 30%, transparent 75%, var(--purple-990) 100%); }
  .pf-world-copy p:not(.mod-kicker) { font-size: 15.5px; }

  .pf-or-stage { grid-template-columns: 1fr; gap: 18px; padding: 28px 16px; }
  .pf-or-frame { border-radius: 16px; }
  .pf-or-cap { display: none; }
  .pf-or-meter { margin-top: 12px; }
  .pf-plate { margin-bottom: 12px; padding: 10px 20px 12px 14px; }
  .pf-or-title { font-size: 18px; margin-bottom: 8px; }
  .pf-or-story { font-size: 14px; line-height: 1.6; }
  .pf-or-specs { margin-top: 10px; }
  .pf-or-specs > div { padding: 6px 0; grid-template-columns: 84px 1fr; }

  .pf-roster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pf-card-cap { left: 12px; right: 12px; bottom: 12px; }
  .pf-card-cap strong { font-size: 16px; }
  .pf-card-cap em { display: none; }
  .pf-card-back { padding: 14px 12px; gap: 6px; }
  .pf-card-back strong { font-size: 15px; }
  .pf-card-story { font-size: 12px; line-height: 1.45; }
  .pf-card-row { font-size: 11px; }
  .pf-card-flipcue { top: 8px; right: 8px; }

  .pf-ep { flex-basis: 80%; }
  .pf-flow { grid-template-columns: 1fr; row-gap: 0; }
  .pf-flow-line { display: block; top: 30px; bottom: 30px; left: 30px; right: auto; width: 2px; height: auto; }
  .pf-flow-dots { inset: 0 -3px; background: radial-gradient(circle, rgba(233, 197, 95, 0.95) 0 1.6px, transparent 2.4px) 50% 0 / 8px 22px repeat-y; }
  .pf-flow-comet { display: none; }
  .pf-flow-step { display: grid; grid-template-columns: 62px 1fr; column-gap: 16px; row-gap: 4px; text-align: left; align-items: start; padding-bottom: 22px; }
  .pf-flow-node { grid-row: 1 / 5; margin: 0; }
  .pf-flow-step em { justify-self: start; }
  .pf-car { padding: 40px 22px 22px; }
  .pf-car::before { font-size: 180px; top: -30px; left: 10px; }
  .pf-app-stats > div { flex: 1 1 40%; padding: 0 14px; }
  .pf-app-stats > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .pf-collab { grid-template-columns: 1fr; }
  .pf-src { grid-template-columns: 1fr; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .pf-on .pf-flow.is-live .pf-flow-dots { animation: pfFlowV 0.9s linear infinite; }
}
@keyframes pfFlowV { to { background-position: 50% 22px; } }
.pf-live .pf-cite, .pf-stat strong .pf-cite { font-size: 11px; vertical-align: top; position: relative; top: 2px; }
.pf .toolkit .pf-cite a, .pf .pf-collab .pf-cite a { font-size: inherit; font-weight: 600; color: var(--gold-500); display: inline; padding: 0 1px; height: auto; }
.pf-sec-tl .pf-tl-head .pf-head { margin-bottom: 18px; }
.pf-mod-quote-wall { overflow-x: clip; }
@media (max-width: 760px) { .pf-nav-in { padding-right: 64px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 90px), transparent calc(100% - 60px)); mask-image: linear-gradient(90deg, #000 calc(100% - 90px), transparent calc(100% - 60px)); } }
.pf-or-media { position: relative; isolation: isolate; }
.pf-or-media::before { content: ""; position: absolute; inset: -14% -10%; z-index: -1; pointer-events: none; filter: blur(40px);
  background: radial-gradient(closest-side, rgba(233, 197, 95, calc(0.08 + var(--p) * 0.22)), rgba(224, 33, 138, 0.18) 50%, rgba(139, 61, 240, 0.12) 70%, transparent); }
.pf-or { overflow-x: clip; }

/* =====================================================================
   Showcase v2: arsenal vault, effect reveals (extend, unfold, push),
   gear rail, relic cards and the lore primer. Static by default; the
   motion layers only appear with .pf-on and prefers-reduced-motion: no-preference.
   ===================================================================== */

/* --- object-reveal, shared additions --- */
.pf-or-frame { aspect-ratio: var(--ratio, 16 / 9); container-type: inline-size; }
.pf-or-run, .pf-or-mname { display: none; }
.pf-or-pin { display: contents; }
.pf-or-bar { overflow: visible; }
.pf-or-bar b { position: absolute; top: -4px; width: 2px; height: 10px; margin-left: -1px; background: var(--white-60); border-radius: 2px; }
.pf-or-fx-extend .pf-or-gleam, .pf-or-fx-unfold .pf-or-gleam, .pf-or-fx-push .pf-or-gleam { display: none; }
.pf-or-fx-extend .pf-or-spot, .pf-or-fx-unfold .pf-or-spot { opacity: 0.55; }
.pf-or-strip { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.pf-or-strip li { position: relative; aspect-ratio: var(--ratio, 16 / 9); border-radius: 10px; overflow: hidden; border: 1px solid var(--white-12); background: #07020f; }
.pf-or-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-or-strip span { position: absolute; left: 6px; bottom: 4px; font-family: var(--font-caps); font-size: 10px; letter-spacing: 0.12em; color: var(--gold-500); text-shadow: 0 1px 6px #000; }

/* viewfinder corners and HUD */
.pf-or-corners i { position: absolute; z-index: 4; width: 22px; height: 22px; border: 2px solid rgba(233, 197, 95, 0.75); pointer-events: none; }
.pf-or-corners i:nth-child(1) { top: 10px; left: 10px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.pf-or-corners i:nth-child(2) { top: 10px; right: 10px; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.pf-or-corners i:nth-child(3) { bottom: 10px; left: 10px; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.pf-or-corners i:nth-child(4) { bottom: 10px; right: 10px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.pf-or-hud { position: absolute; inset: 0; z-index: 5; pointer-events: none; font-family: var(--font-caps); color: var(--white); }
.pf-or-tc { position: absolute; top: 22px; left: 24px; display: flex; align-items: center; gap: 9px; padding: 6px 12px 6px 10px; border-radius: 8px; background: rgba(8, 3, 20, 0.6); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 12px; letter-spacing: 0.14em; font-variant-numeric: tabular-nums; }
.pf-or-tc::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--magenta-500); box-shadow: 0 0 10px var(--magenta-500); }
.pf-or-tc b { font-weight: 600; color: var(--gold-500); }
.pf-or-tc-v { min-width: 6.2ch; }
.pf-or-seg { position: absolute; top: 18px; right: 24px; display: grid; justify-items: end; line-height: 1; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8); }
.pf-or-seg small { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--white-80); margin-bottom: 4px; }
.pf-or-seg b { font-size: clamp(28px, 4.2cqw, 46px); font-weight: 700; color: var(--gold-500); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.pf-or-seg span { font-size: 12px; letter-spacing: 0.2em; color: var(--white-60); margin-top: 3px; }
.pf-or-phase { position: absolute; left: 24px; bottom: 20px; display: grid; gap: 3px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9); }
.pf-or-phase b { font-weight: 500; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--white-80); }
.pf-or-phase i { font-style: normal; color: var(--gold-500); }
.pf-or-phase-l { font-weight: 700; font-size: clamp(16px, 2.2cqw, 26px); letter-spacing: 0.06em; text-transform: uppercase; }
.pf-or-watch { position: absolute; top: 16px; right: 18px; display: grid; justify-items: center; gap: 4px; width: 104px; }
.pf-or-watch svg { width: 74px; height: 74px; transform: rotate(-90deg); overflow: visible; filter: drop-shadow(0 0 10px rgba(233, 197, 95, 0.45)); }
.pf-or-watch circle { fill: rgba(8, 3, 20, 0.62); stroke-width: 3; }
.pf-or-watch-bg { stroke: rgba(255, 255, 255, 0.16); }
.pf-or-watch-arc { fill: none !important; stroke: var(--gold-500); stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: calc(100 - var(--watch, 1) * 100); }
.pf-or-watch-v { position: absolute; top: 0; left: 0; right: 0; height: 74px; display: flex; align-items: baseline; justify-content: center; padding-top: 25px; font-variant-numeric: tabular-nums; }
.pf-or-watch-v b { font-size: 21px; font-weight: 700; letter-spacing: 0.01em; }
.pf-or-watch-v small { font-size: 11px; margin-left: 1px; color: var(--gold-500); }
.pf-or-watch-l { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--white-80); text-shadow: 0 1px 8px #000; }
.pf-or-meter { flex-wrap: nowrap; }

/* extend: a glint, segment ticks and an impact at the tip */
.pf-or-track { position: absolute; height: 0; z-index: 3; pointer-events: none; transform-origin: 0 50%; display: none; }
.pf-or-sheen { position: absolute; left: 0; right: 0; top: -3.2cqw; height: 6.4cqw; overflow: hidden; mix-blend-mode: screen; clip-path: inset(0 calc((1 - var(--reach, 0)) * 100%) 0 0); }
.pf-or-sheen::before { content: ""; position: absolute; top: 0; bottom: 0; left: -24%; width: 24%; background: linear-gradient(90deg, transparent, rgba(255, 244, 214, 0.15) 30%, rgba(255, 248, 228, 0.95) 50%, rgba(255, 244, 214, 0.15) 70%, transparent); filter: blur(3px); transform: skewX(-24deg); }
.pf-or-ticks { position: absolute; left: 0; right: 0; top: 4.6cqw; height: 0; }
.pf-or-ticks i { position: absolute; left: calc(var(--k) * 100%); top: 0; width: 2px; height: 1.4cqw; margin-left: -1px; background: rgba(255, 255, 255, 0.28); border-radius: 2px; transition: background 0.25s, box-shadow 0.25s, transform 0.25s; transform-origin: top; }
.pf-or-ticks i.is-on { background: var(--gold-500); box-shadow: 0 0 10px rgba(233, 197, 95, 0.9); transform: scaleY(1.7); }
.pf-or-ticks::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(233, 197, 95, 0.6), rgba(233, 197, 95, 0.1)); }
.pf-or-tip { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: clamp(0, calc(var(--reach, 0) * 30 - 0.4), 1); }
.pf-or-tip i { position: absolute; left: -2.6cqw; top: -2.6cqw; width: 5.2cqw; height: 5.2cqw; border-radius: 50%; mix-blend-mode: screen;
  background: radial-gradient(circle, #fff 0 6%, rgba(255, 236, 190, 0.85) 14%, rgba(233, 197, 95, 0.35) 34%, transparent 66%); }
.pf-or-tip i::before, .pf-or-tip i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9cqw; height: 2px; margin: -1px 0 0 -4.5cqw; background: linear-gradient(90deg, transparent, rgba(255, 248, 228, 0.95), transparent); }
.pf-or-tip i::after { transform: rotate(90deg) scaleX(0.45); }
.pf-or-embers { position: absolute; left: 100%; top: 0; width: 0; height: 0; }
.pf-or-embers i { position: absolute; left: 0; top: 0; width: var(--sz); height: var(--sz); border-radius: 50%; opacity: 0; background: radial-gradient(circle, #fff8dc 0 25%, #ffc35a 45%, rgba(224, 33, 138, 0.8) 75%, transparent); box-shadow: 0 0 8px rgba(255, 195, 90, 0.9); }
.pf-or-flash { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; mix-blend-mode: screen; display: none;
  background: radial-gradient(70% 110% at var(--tipx, 50%) var(--tipy, 50%), rgba(255, 248, 228, 0.9), rgba(233, 197, 95, 0.45) 18%, rgba(224, 33, 138, 0.2) 40%, transparent 70%); }
.pf-or-sheen::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; opacity: 0; background: linear-gradient(90deg, rgba(233, 197, 95, 0.2), rgba(255, 244, 214, 0.95)); box-shadow: 0 0 18px 4px rgba(233, 197, 95, 0.55); }

/* unfold: a shockwave and speed lines from the snap point */
.pf-or-burst { position: absolute; width: 0; height: 0; z-index: 3; pointer-events: none; display: none; mix-blend-mode: screen; }
.pf-or-ring { position: absolute; left: -9cqw; top: -9cqw; width: 18cqw; height: 18cqw; border-radius: 50%; border: 2px solid rgba(255, 240, 205, 0.95); box-shadow: 0 0 34px rgba(233, 197, 95, 0.75), inset 0 0 26px rgba(233, 197, 95, 0.5);
  opacity: var(--ring, 0); transform: scale(calc(0.25 + var(--snap, 0) * 2.3)); }
.pf-or-ring2 { border-color: rgba(224, 33, 138, 0.9); box-shadow: 0 0 30px rgba(224, 33, 138, 0.6); opacity: calc(var(--ring, 0) * 0.75); transform: scale(calc(0.15 + var(--snap, 0) * 1.45)); }
.pf-or-burst b { position: absolute; left: 0; top: -1px; width: 15cqw; height: 2px; transform-origin: 0 50%; border-radius: 2px; opacity: var(--ring, 0);
  background: linear-gradient(90deg, transparent, rgba(255, 244, 214, 0.95));
  transform: rotate(calc(var(--i) * 25.71deg + 6deg)) translateX(calc(5cqw + var(--snap, 0) * 13cqw)) scaleX(calc(0.15 + var(--snap, 0) * 0.85)); }

/* throw: the drawn arc and a spinning ghost of the blade */
.pf-or-trail { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; overflow: visible; pointer-events: none; opacity: var(--trail-o, 0); transition: opacity 0.35s; display: none; }
.pf-or-trail path { fill: none; stroke-linecap: round; }
.pf-or-trail-glow { stroke: rgba(224, 33, 138, 0.6); stroke-width: 1.4; filter: blur(4px); }
.pf-or-trail-line { stroke: #ffe8ad; stroke-width: 0.32; }
.pf-or-ghost { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity 0.2s; display: none; }
.is-throw .pf-or-ghost { opacity: 1; }
.pf-or-ghost i { position: absolute; left: -3.4cqw; top: -3.4cqw; width: 6.8cqw; height: 6.8cqw; border-radius: 50%; mix-blend-mode: screen; filter: blur(1.4px);
  background: conic-gradient(from 0deg, rgba(255, 255, 255, 0.95) 0 7%, transparent 7% 25%, rgba(255, 240, 210, 0.8) 25% 32%, transparent 32% 50%, rgba(255, 255, 255, 0.95) 50% 57%, transparent 57% 75%, rgba(255, 240, 210, 0.8) 75% 82%, transparent 82%);
  box-shadow: 0 0 26px rgba(233, 197, 95, 0.75); }
.pf-or-ghost::before { content: ""; position: absolute; right: 0; top: -1.5px; width: 16cqw; height: 3px; transform-origin: 100% 50%; transform: rotate(var(--dir, 0deg)); border-radius: 3px; background: linear-gradient(90deg, transparent, rgba(255, 236, 190, 0.95)); filter: blur(1px); }

/* push: snow at two depths over a slow push-in */
.pf-or-snow { position: absolute; inset: -30% 0; z-index: 3; pointer-events: none; display: none;
  background-image: radial-gradient(1.6px 1.6px at 8% 12%, rgba(255, 255, 255, 0.85), transparent), radial-gradient(1.4px 1.4px at 22% 64%, rgba(255, 255, 255, 0.7), transparent), radial-gradient(2px 2px at 37% 28%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.4px 1.4px at 51% 82%, rgba(255, 255, 255, 0.7), transparent), radial-gradient(1.8px 1.8px at 66% 41%, rgba(255, 255, 255, 0.85), transparent), radial-gradient(1.4px 1.4px at 79% 9%, rgba(255, 255, 255, 0.7), transparent), radial-gradient(2px 2px at 91% 57%, rgba(255, 255, 255, 0.8), transparent);
  background-size: 260px 260px; transform: translate3d(0, calc(var(--p, 0) * -12%), 0); }
.pf-or-snow2 { background-size: 420px 420px; filter: blur(1.5px); opacity: 0.7; transform: translate3d(0, calc(var(--p, 0) * -26%), 0) scale(1.6); }
@media (min-width: 981px) { .pf-or-fx-push .pf-or-stage { grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 44px; } }
.pf-or-fx-push .pf-or-canvas { transform-origin: 50% 38%; transform: scale(calc(1 + var(--p, 0) * var(--zoom, 0.3))); }
.pf-or-quote { margin: 20px 0 4px; padding: 4px 0 4px 18px; border-left: 3px solid var(--gold-500); }
.pf-or-quote blockquote { font-weight: 800; font-size: clamp(18px, 1.9vw, 24px); line-height: 1.28; color: var(--white); }
.pf-or-quote blockquote::before { content: "\201C"; color: var(--gold-500); margin-right: 2px; }
.pf-or-quote blockquote::after { content: "\201D"; color: var(--gold-500); }
.pf-or-quote figcaption { margin-top: 8px; font-family: var(--font-caps); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white-60); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.pf-or-quote figcaption span { letter-spacing: 0.12em; }
.pf-or-typed { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(8, 3, 20, 0.55); border: 1px dashed rgba(233, 197, 95, 0.45); }
.pf-or-typed-k { display: block; font-family: var(--font-caps); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 6px; }
.pf-or-typed-box { position: relative; display: block; font-family: var(--font-caps); font-size: 15px; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); }
.pf-or-typed-v { display: none; }

/* wide layout: the frame takes the full width, the text sits underneath in three columns */
.pf-or-wide .pf-or-stage { grid-template-columns: 1fr; gap: 20px; align-content: center; }
.pf-or-wide .pf-or-media { width: min(100%, calc(56vh * var(--rnum, 1.78))); margin: 0 auto; }
.pf-or-wide .pf-or-frame { transform: perspective(1800px) rotateX(calc((var(--p) - 0.5) * 3deg)) scale(calc(0.97 + var(--p) * 0.03)); }
.pf-or-wide .pf-or-text { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 8px 34px; align-items: start; width: min(100%, 1124px); margin: 0 auto; transform: none; }
.pf-or-wide .pf-or-text > .mod-kicker { grid-column: 1; grid-row: 1; margin-bottom: 0; }
.pf-or-wide .pf-plate { grid-column: 1; grid-row: 2; margin: 2px 0 8px; }
.pf-or-wide .pf-or-title { grid-column: 1; grid-row: 3; font-size: 18px; margin-bottom: 6px; }
.pf-or-wide .pf-or-wield { grid-column: 1; grid-row: 4; margin-bottom: 0; font-size: 14px; }
.pf-or-wide .pf-or-story { grid-column: 2; grid-row: 1 / span 4; font-size: 14px; line-height: 1.62; }
.pf-or-wide .pf-or-specs { grid-column: 3; grid-row: 1 / span 4; margin-top: 0; }
.pf-or-wide .pf-or-specs > div { grid-template-columns: 86px 1fr; padding: 7px 0; font-size: 12.5px; }
.pf-or-wide .pf-plate strong { font-size: clamp(22px, 2.3vw, 32px); }

/* --- arsenal: the vault --- */
.pf-ars { position: relative; isolation: isolate; }
.pf-ars-stage { position: relative; height: clamp(600px, 90vh, 860px); overflow: hidden; background: #05020c; }
.pf-ars-scene { position: absolute; left: 50%; top: 50%; width: max(100%, calc(clamp(600px, 90vh, 860px) * var(--rnum, 1.94))); aspect-ratio: var(--rnum, 1.94); transform: translate(-50%, -50%) scale(calc(1.1 - var(--ap, 0.5) * 0.12)); transform-origin: 56% 40%; }
.pf-ars-hots { z-index: 2; pointer-events: none; }
.pf-ars-hots::after { display: none; }
.pf-ars-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.06) brightness(0.82); }
.pf-ars-scene::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 2, 12, 0.96) 0%, rgba(5, 2, 12, 0.7) 26%, rgba(5, 2, 12, 0) 46%, rgba(5, 2, 12, 0) 78%, rgba(5, 2, 12, 0.6) 100%), radial-gradient(70% 80% at 56% 38%, transparent 35%, rgba(20, 8, 48, 0.75) 100%), linear-gradient(180deg, rgba(139, 61, 240, 0.12), rgba(224, 33, 138, 0.08)); }
.pf-ars-vault { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(34% 70% at 56% -12%, rgba(233, 197, 95, 0.22), transparent 70%), linear-gradient(0deg, var(--purple-990) 0%, rgba(20, 8, 48, 0.9) 12%, transparent 34%), linear-gradient(180deg, var(--purple-990) 0%, transparent 16%); }
.pf-ars-dust { position: absolute; inset: -40% 0 0; z-index: 1; pointer-events: none; opacity: 0.7;
  background-image: radial-gradient(1.6px 1.6px at 14% 22%, rgba(255, 236, 190, 0.8), transparent), radial-gradient(1.2px 1.2px at 31% 71%, rgba(255, 236, 190, 0.6), transparent), radial-gradient(2px 2px at 49% 38%, rgba(255, 236, 190, 0.7), transparent), radial-gradient(1.2px 1.2px at 63% 88%, rgba(255, 236, 190, 0.6), transparent), radial-gradient(1.8px 1.8px at 78% 14%, rgba(255, 236, 190, 0.75), transparent), radial-gradient(1.4px 1.4px at 92% 52%, rgba(255, 236, 190, 0.6), transparent);
  background-size: 340px 340px; }
.pf-ars-hot { position: absolute; z-index: 2; width: 0; height: 0; color: var(--white); text-decoration: none; pointer-events: auto; }
.pf-ars-hot i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle, #fff 0 22%, var(--gold-500) 38%, rgba(233, 197, 95, 0.25) 70%); box-shadow: 0 0 0 1px rgba(233, 197, 95, 0.8), 0 0 24px 4px rgba(233, 197, 95, 0.65); }
.pf-ars-hot i::before, .pf-ars-hot i::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(233, 197, 95, 0.7); opacity: 0; }
.pf-ars-hot span { position: absolute; left: 20px; top: 0; transform: translateY(-50%); white-space: nowrap; padding: 6px 12px; border-radius: 999px; font-family: var(--font-caps); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; background: rgba(8, 3, 20, 0.72); border: 1px solid rgba(233, 197, 95, 0.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pf-ars-hot span::before { content: ""; position: absolute; right: 100%; top: 50%; width: 10px; height: 1px; background: rgba(233, 197, 95, 0.7); }
.pf-ars-copy { position: absolute; z-index: 3; left: max(28px, calc((var(--pf-vw, 100vw) - 1180px) / 2 + 28px)); top: 41%; transform: translateY(-50%); width: min(420px, 34%); }
.pf-ars-title { font-weight: 900; font-size: clamp(32px, 3.7vw, 54px); line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; margin: 6px 0 18px; text-wrap: balance; }
.pf-ars-intro { color: var(--white-80); font-size: 16px; line-height: 1.65; }
.pf-ars-cases { position: relative; z-index: 4; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1180px; margin: -96px auto 0; padding: 0 28px; }
.pf-ars-cases li { perspective: 1000px; }
.pf-ars-case { position: relative; display: block; height: 100%; border-radius: 18px; overflow: hidden; color: var(--white); text-decoration: none; border: 1px solid rgba(233, 197, 95, 0.35);
  background: linear-gradient(160deg, rgba(139, 61, 240, 0.28), rgba(20, 8, 48, 0.94) 52%); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.25s ease-out, border-color 0.3s, box-shadow 0.3s; }
.pf-ars-case:hover, .pf-ars-case:focus-visible { border-color: var(--gold-500); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 44px rgba(233, 197, 95, 0.28); outline: none; }
.pf-ars-case-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #07020f; }
.pf-ars-case-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--ease); }
.pf-ars-case:hover .pf-ars-case-media img { transform: scale(1.08); }
.pf-ars-case-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(20, 8, 48, 0.9)); }
.pf-ars-case .pf-card-shine, .pf-gear .pf-card-shine { opacity: 0; }
.pf-ars-case.is-tilt .pf-card-shine, .pf-gear.is-tilt .pf-card-shine, .pf-relic.is-tilt .pf-card-shine { opacity: 1; }
.pf-ars-case-body { position: relative; display: grid; gap: 6px; padding: 4px 20px 20px; margin-top: -22px; }
.pf-ars-case-body small { font-family: var(--font-caps); font-weight: 600; font-size: 13px; letter-spacing: 0.3em; color: var(--gold-500); }
.pf-ars-case-body strong { font-weight: 900; font-size: 21px; line-height: 1.05; text-transform: uppercase; letter-spacing: -0.005em; }
.pf-ars-case-body em { font-style: normal; font-size: 13.5px; line-height: 1.5; color: var(--white-80); }
.pf-ars-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-family: var(--font-caps); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-500); }
.pf-ars-go b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(233, 197, 95, 0.6); font-size: 12px; }
.pf-ars-case.is-flying { transform: translateY(-10px) scale(1.05); border-color: var(--gold-500); box-shadow: 0 0 0 1px var(--gold-500), 0 0 80px rgba(233, 197, 95, 0.55); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.pf-ars-flash { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 60%, rgba(255, 248, 228, 0.9), rgba(233, 197, 95, 0.5) 30%, rgba(139, 61, 240, 0.35) 65%, rgba(20, 8, 48, 0.2)); }

/* --- gear rail --- */
.pf-gear { flex: 0 0 clamp(270px, 34%, 390px); scroll-snap-align: start; border-radius: 18px; overflow: hidden; border: 1px solid var(--white-12); background: rgba(255, 255, 255, 0.04);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.25s ease-out, border-color 0.3s; }
.pf-gear:hover { border-color: rgba(233, 197, 95, 0.5); }
.pf-gear-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--purple-950); }
.pf-gear-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--ease); }
.pf-gear:hover .pf-gear-media img { transform: scale(1.07); }
.pf-gear-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 50%, rgba(20, 8, 48, 0.75)); }
.pf-gear-tc { position: absolute; left: 12px; bottom: 10px; z-index: 3; font-family: var(--font-caps); font-size: 11px; letter-spacing: 0.16em; padding: 4px 10px 4px 9px; border-radius: 999px; background: rgba(8, 3, 20, 0.72); border: 1px solid rgba(233, 197, 95, 0.45); }
.pf-gear-tc a { color: var(--gold-500); text-decoration: none; }
.pf-gear-tc a::before { content: "▶ "; font-size: 9px; }
.pf-gear-body { padding: 16px 18px 20px; }
.pf-gear-body small { font-family: var(--font-caps); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-500); }
.pf-gear-body h4 { font-weight: 900; font-size: 19px; line-height: 1.15; text-transform: uppercase; margin: 6px 0 6px; }
.pf-gear-who { font-size: 12px; color: var(--white-60); margin-bottom: 8px; }
.pf-gear-who b { color: var(--white); font-weight: 600; }
.pf-gear-body p:last-child { color: var(--white-80); font-size: 13.5px; line-height: 1.55; }

/* --- relic cards --- */
.pf-relics { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pf-relics > li { perspective: 1000px; }
.pf-relic { position: relative; height: 100%; padding: 0; overflow: hidden; display: flex; flex-direction: column; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.25s ease-out, border-color 0.3s; }
.pf-relic:hover { border-color: rgba(233, 197, 95, 0.5); }
.pf-relic-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--purple-950); }
.pf-relic-media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.75) brightness(0.72); transition: transform 0.8s var(--ease), filter 0.5s; }
.pf-relic:hover .pf-relic-media img { transform: scale(1.06); filter: saturate(0.95) brightness(0.85); }
.pf-relic-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20, 8, 48, 0.92)); }
.pf-relic-note { position: absolute; left: 10px; top: 10px; z-index: 2; font-family: var(--font-caps); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(8, 3, 20, 0.78); border: 1px dashed rgba(255, 255, 255, 0.4); color: var(--white-80); }
.pf-relic-body { display: flex; flex-direction: column; gap: 8px; padding: 4px 18px 20px; margin-top: -18px; position: relative; flex: 1; }
.pf-relic-body small { font-family: var(--font-caps); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-500); }
.pf-relic-body h4 { font-weight: 900; font-size: 20px; line-height: 1.05; text-transform: uppercase; }
.pf-relic-who { font-size: 12px; color: var(--white-60); }
.pf-relic-who b { color: var(--white); font-weight: 600; }
.pf-relic-body p { font-size: 13.5px; line-height: 1.55; color: var(--white-80); }
.pf-relic-seen { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--white-12); font-size: 12.5px; }
.pf-relic-seen span { display: block; font-family: var(--font-caps); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white-60); margin-bottom: 2px; }
.pf-relic-seen a { color: var(--white); text-decoration: none; font-weight: 600; }
.pf-relic-seen a:hover { color: var(--gold-500); }

/* --- roster additions --- */
.pf-card-note { position: absolute; left: 12px; top: 12px; z-index: 3; font-family: var(--font-caps); font-size: 8.5px; letter-spacing: 0.18em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: rgba(8, 3, 20, 0.75); border: 1px dashed rgba(255, 255, 255, 0.4); color: var(--white-80); }
.pf-card-flag { display: block; margin-top: auto; padding: 8px 10px; border-radius: 10px; font-size: 11px; line-height: 1.45; color: #ffd98a; background: rgba(233, 197, 95, 0.1); border: 1px solid rgba(233, 197, 95, 0.3); }
.pf-card-flag::before { content: "Note: "; font-family: var(--font-caps); letter-spacing: 0.14em; text-transform: uppercase; font-size: 9.5px; color: var(--gold-500); }

/* --- primer --- */
.pf-primer { list-style: none; position: relative; display: grid; gap: clamp(30px, 6vh, 64px); max-width: 980px; margin-top: 8px; padding-left: 24px; }
.pf-primer::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--violet-500), var(--magenta-500) 60%, var(--gold-500)); border-radius: 2px; opacity: 0.7; }
.pf-pl { position: relative; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: baseline; --lp: 1; }
.pf-pl::before { content: ""; position: absolute; left: -29px; top: 0.55em; width: 12px; height: 12px; border-radius: 50%; background: var(--purple-990); border: 2px solid var(--gold-500); box-shadow: 0 0 14px rgba(233, 197, 95, 0.6); }
.pf-pl-k { display: flex; align-items: center; gap: 10px; font-family: var(--font-caps); font-weight: 600; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-500); }
.pf-pl-k b { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 7px; border: 1px solid rgba(233, 197, 95, 0.5); border-radius: 999px; font-size: 10px; letter-spacing: 0.08em; }
.pf-pl-t { font-weight: 800; font-size: clamp(21px, 2.7vw, 36px); line-height: 1.2; letter-spacing: -0.01em; color: var(--white); }
.pf-pl-t .pf-cite { font-size: 0.42em; }

/* --- motion layers --- */
@media (prefers-reduced-motion: no-preference) {
  .pf-js .pf-or-flip .pf-or-strip { display: none; }
  .pf-on .pf-or-flip.is-live .pf-or-track, .pf-on .pf-or-flip.is-live .pf-or-burst, .pf-on .pf-or-flip.is-live .pf-or-trail, .pf-on .pf-or-flip.is-live .pf-or-ghost,
  .pf-on .pf-or-flip.is-live .pf-or-snow, .pf-on .pf-or-flip.is-live .pf-or-flash { display: block; }
  .pf-on .pf-or-sheen::before { animation: pfSheen 1.7s cubic-bezier(0.45, 0, 0.25, 1) infinite; }
  .pf-on .pf-or-flip.is-full .pf-or-embers i { animation: pfEmber 1.25s cubic-bezier(0.15, 0.7, 0.3, 1) var(--dl) both; }
  .pf-on .pf-or-flip.is-full .pf-or-flash { animation: pfFlash 1.3s ease-out both; }
  .pf-on .pf-or-flip.is-full .pf-or-sheen::after { animation: pfGlow 1.6s ease-out both; }
  .pf-on .pf-or-flip.is-full .pf-or-canvas { animation: pfJolt 0.42s ease-out; }
  .pf-on .pf-or-flip.is-full .pf-or-tip i { animation: pfFlare 1.6s ease-in-out infinite; }
  .pf-on .pf-or-flip.is-full .pf-or-seg b { animation: pfPop 0.5s var(--ease); }
  .pf-on .pf-or-flip.is-cut .pf-or-frame::after { content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; background: #fff; mix-blend-mode: overlay; animation: pfCut 0.45s ease-out both; }
  .pf-on .pf-or-ghost i { animation: pfSpin 0.14s linear infinite; }
  .pf-on .pf-or-tc::before { animation: pfPulse 1.6s ease-out infinite; }
  .pf-on .pf-or-flip .pf-or-quote { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.8s var(--ease); }
  .pf-on .pf-or-flip.q-on .pf-or-quote { opacity: 1; transform: none; }
  .pf-on .pf-or-flip .pf-or-typed-full { visibility: hidden; }
  .pf-on .pf-or-flip .pf-or-typed-v { display: block; position: absolute; inset: 0; }
  .pf-on .pf-or-flip .pf-or-typed-v::after { content: ""; display: inline-block; width: 0.55em; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: var(--gold-500); animation: pfCaret 0.9s steps(1) infinite; }
  .pf-on .pf-ars-hot i::before { animation: pfHot 2.4s ease-out infinite; animation-delay: calc(var(--d) * 0.4s); }
  .pf-on .pf-ars-hot i::after { animation: pfHot 2.4s ease-out infinite; animation-delay: calc(var(--d) * 0.4s + 1.2s); }
  .pf-on .pf-ars-dust { animation: pfDust 26s linear infinite; }
  .pf-on .pf-ars-go b { animation: pfNudge 1.8s ease-in-out infinite; }
  .pf-on .pf-ars.is-flash .pf-ars-flash { animation: pfFlyFlash 1.2s ease-out both; }
  .pf-on .pf-pl { --lp: 0; }
  .pf-on .pf-pw { opacity: clamp(0.14, calc(var(--lp) * (var(--nw) + 4) - var(--wi)), 1); }
  .pf-on .pf-pl-k { opacity: clamp(0.25, calc(var(--lp) * 4), 1); transform: translateX(calc((1 - clamp(0, var(--lp) * 3, 1)) * -14px)); }
  .pf-on .pf-pl::before { transform: scale(calc(0.5 + clamp(0, var(--lp) * 2, 1) * 0.5)); }

  @media (min-width: 761px) {
    .pf-js .pf-or-flip { height: calc(var(--run, 290) * 1vh); }
  }
  /* Phones: the media sticks over a spacer, then the text follows. */
  @media (max-width: 760px) {
    .pf-js .pf-or-flip { height: auto; }
    .pf-js .pf-or-flip .pf-or-stage { position: static; display: block; min-height: 0; padding: 0 16px; }
    .pf-js .pf-or-flip .pf-or-pin { display: block; }
    .pf-js .pf-or-flip .pf-or-media { position: sticky; top: max(54px, calc(50svh - 160px)); z-index: 2; }
    .pf-js .pf-or-flip .pf-or-mname { display: block; }
    .pf-js .pf-or-flip .pf-or-run { display: block; height: calc(var(--run-m, 160) * 1vh); }
    .pf-js .pf-or-flip .pf-or-text { transform: none; }
  }
}
@keyframes pfSheen { from { transform: translateX(0) skewX(-24deg); } to { transform: translateX(520%) skewX(-24deg); } }
@keyframes pfEmber { 0% { opacity: 1; transform: translate(0, 0) scale(1.5); } 70% { opacity: 0.9; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.25); } }
@keyframes pfFlash { 0% { opacity: 0; } 10% { opacity: 1; } 35% { opacity: 0.7; } 100% { opacity: 0; } }
@keyframes pfGlow { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0.25; } }
@keyframes pfJolt { 0% { transform: translate(0, 0); } 20% { transform: translate(-0.6%, 0.3%); } 45% { transform: translate(0.4%, -0.2%); } 70% { transform: translate(-0.2%, 0.1%); } 100% { transform: translate(0, 0); } }
@keyframes pfFlare { 50% { transform: scale(1.35); opacity: 0.85; } }
@keyframes pfCut { 0% { opacity: 0.85; } 100% { opacity: 0; } }
@keyframes pfCaret { 50% { opacity: 0; } }
@keyframes pfHot { 0% { opacity: 0.9; transform: scale(0.6); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes pfDust { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-40px, 340px, 0); } }
@keyframes pfNudge { 50% { transform: translateY(3px); } }
@keyframes pfFlyFlash { 0% { opacity: 0; } 28% { opacity: 0.85; } 100% { opacity: 0; } }

/* --- showcase v2 at mid widths and on phones --- */
@media (max-width: 1060px) {
  .pf-relics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-or-wide .pf-or-text { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .pf-or-wide .pf-or-specs { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 760px) {
  .pf-or-tc { top: 14px; left: 14px; padding: 4px 8px 4px 7px; font-size: 10px; gap: 6px; }
  .pf-or-tc::before { width: 6px; height: 6px; }
  .pf-or-seg { top: 12px; right: 14px; }
  .pf-or-seg small { font-size: 8px; }
  .pf-or-seg span { font-size: 10px; }
  .pf-or-phase { left: 14px; bottom: 12px; }
  .pf-or-phase b { font-size: 8px; }
  .pf-or-watch { top: 8px; right: 6px; width: 70px; }
  .pf-or-watch svg { width: 48px; height: 48px; }
  .pf-or-watch-v { height: 48px; padding-top: 15px; }
  .pf-or-watch-v b { font-size: 14px; }
  .pf-or-watch-l { font-size: 7px; letter-spacing: 0.2em; }
  .pf-or-corners i { width: 14px; height: 14px; }
  .pf-or-corners i:nth-child(1), .pf-or-corners i:nth-child(2) { top: 6px; }
  .pf-or-corners i:nth-child(3), .pf-or-corners i:nth-child(4) { bottom: 6px; }
  .pf-or-corners i:nth-child(1), .pf-or-corners i:nth-child(3) { left: 6px; }
  .pf-or-corners i:nth-child(2), .pf-or-corners i:nth-child(4) { right: 6px; }
  .pf-or-mname { margin-bottom: 10px; font-weight: 900; font-size: 22px; line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; }
  .pf-or-mname span { display: block; margin-bottom: 5px; font-family: var(--font-caps); font-weight: 500; font-size: 10px; letter-spacing: 0.3em; color: var(--gold-500); }
  .pf-or-meter { gap: 10px; font-size: 9px; }
  .pf-or-meter > span:last-child { display: none; }
  .pf-or-wide .pf-or-media { width: 100%; }
  .pf-or-wide .pf-or-text { display: block; }
  .pf-or-wide .pf-or-title { font-size: 18px; }
  .pf-or-wide .pf-or-story { margin-top: 10px; }
  .pf-or-wide .pf-or-specs { margin-top: 12px; }
  .pf-or-text { padding-top: 22px; }
  .pf-or-quote blockquote { font-size: 18px; }
  .pf-or-typed-box { font-size: 13px; }
  .pf-or-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .pf-ars-stage { height: auto; padding-top: 30px; }
  .pf-ars-stage::after { content: ""; display: block; height: 380px; }
  .pf-ars-scene { top: auto; bottom: 0; width: calc(430px * var(--rnum, 1.94)); transform: translateX(-50%) scale(calc(1.06 - var(--ap, 0.5) * 0.08)); }
  .pf-ars-stage { background: linear-gradient(180deg, var(--purple-990), #05020c 45%); }
  .pf-ars-scene::after { background: linear-gradient(180deg, #05020c 0%, rgba(5, 2, 12, 0.4) 18%, transparent 36%), radial-gradient(80% 80% at 55% 40%, transparent 40%, rgba(20, 8, 48, 0.7) 100%); }
  .pf-ars-copy { position: relative; left: auto; top: auto; transform: none; width: auto; padding: 0 16px; }
  .pf-ars-title { font-size: clamp(30px, 9vw, 40px); margin-bottom: 10px; }
  .pf-ars-intro { font-size: 14.5px; line-height: 1.55; }
  .pf-ars-hot span { display: none; }
  .pf-ars-cases { grid-template-columns: 1fr; gap: 10px; margin-top: -20px; padding: 0 16px; }
  .pf-ars-case { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: stretch; }
  .pf-ars-case-media { aspect-ratio: auto; height: 100%; min-height: 108px; }
  .pf-ars-case-media::after { background: linear-gradient(90deg, transparent 50%, rgba(20, 8, 48, 0.8)); }
  .pf-ars-case-body { margin-top: 0; padding: 12px 14px 14px; gap: 4px; }
  .pf-ars-case-body strong { font-size: 17px; }
  .pf-ars-case-body em { font-size: 12.5px; line-height: 1.45; }
  .pf-ars-go { margin-top: 2px; font-size: 10px; }

  .pf-gear { flex-basis: 82%; }
  .pf-relics { grid-template-columns: 1fr; }
  .pf-primer { padding-left: 20px; }
  .pf-pl { grid-template-columns: 1fr; gap: 8px; }
  .pf-pl::before { left: -25px; top: 3px; width: 10px; height: 10px; }
  .pf-pl-t { font-size: 22px; }
}
/* Without the live scrubber (no JS, or reduced motion) the bar and hint mean nothing: keep the space, hide them. */
.pf-or-flip:not(.is-live) .pf-or-bar, .pf-or-flip:not(.is-live) .pf-or-meter > span:last-child { visibility: hidden; }

/* --- scan effect (object-reveal "effect": "scan"): a sweeping scanline over a faint grid, one pass per frame --- */
.pf-or-scan { --scan-c: 94, 231, 255; position: absolute; inset: 0; z-index: 3; pointer-events: none; display: none; overflow: hidden; }
.pf-or-scan-grid { position: absolute; inset: 0; opacity: 0.35; mix-blend-mode: screen;
  background-image: linear-gradient(rgba(var(--scan-c), 0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--scan-c), 0.14) 1px, transparent 1px);
  background-size: 4.2cqw 4.2cqw;
  -webkit-mask-image: linear-gradient(to bottom, transparent calc(var(--scan, 0) * 100% - 26%), #000 calc(var(--scan, 0) * 100%), transparent calc(var(--scan, 0) * 100% + 2%));
  mask-image: linear-gradient(to bottom, transparent calc(var(--scan, 0) * 100% - 26%), #000 calc(var(--scan, 0) * 100%), transparent calc(var(--scan, 0) * 100% + 2%)); }
.pf-or-scan-mv { position: absolute; left: 0; right: 0; top: 0; height: 100%; transform: translate3d(0, calc(var(--scan, 0) * 100%), 0); }
.pf-or-scan-band { position: absolute; left: 0; right: 0; bottom: 100%; height: 22%; mix-blend-mode: screen;
  background: linear-gradient(to bottom, transparent, rgba(var(--scan-c), 0.05) 60%, rgba(var(--scan-c), 0.22)); }
.pf-or-scan-line { position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--scan-c), 0.95) 12%, #fff 50%, rgba(var(--scan-c), 0.95) 88%, transparent);
  box-shadow: 0 0 14px 3px rgba(var(--scan-c), 0.8), 0 0 46px 10px rgba(var(--scan-c), 0.3); }
.pf-or-fx-scan .pf-or-gleam { display: none; }
.pf-or-fx-scan .pf-or-corners i { border-color: rgba(94, 231, 255, 0.8); }
.pf-or-scanread { position: absolute; top: 18px; right: 24px; display: grid; justify-items: end; line-height: 1; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85); }
.pf-or-scanread small { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: rgb(94, 231, 255); margin-bottom: 4px; }
.pf-or-scanread b { font-size: clamp(26px, 4cqw, 44px); font-weight: 700; color: #fff; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.pf-or-scanread span { font-size: 12px; letter-spacing: 0.2em; color: var(--white-60); margin-top: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .pf-on .pf-or-flip.is-live .pf-or-scan { display: block; }
}
@media (max-width: 760px) {
  .pf-or-scanread { top: 12px; right: 14px; }
  .pf-or-scanread b { font-size: 22px; }
}

/* --- before-after: two images of one subject, wiped by a draggable divider --- */
.pf-ba-list { display: grid; gap: 46px; }
.pf-ba { margin: 0; }
.pf-ba-frame { --x: 50%; position: relative; aspect-ratio: var(--ratio, 16 / 9); border-radius: 22px; overflow: hidden; background: #07020f; border: 1px solid var(--white-12); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(233, 197, 95, 0.08), 0 0 120px rgba(139, 61, 240, 0.22); }
.pf-ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.pf-ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x)); }
.pf-ba-after .pf-ba-img { filter: saturate(1.04); }
.pf-ba-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 0; z-index: 3; outline: none; }
.pf-ba-line::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: linear-gradient(to bottom, rgba(233, 197, 95, 0), var(--gold-500) 18%, #fff 50%, var(--gold-500) 82%, rgba(233, 197, 95, 0)); box-shadow: 0 0 18px rgba(233, 197, 95, 0.75); }
.pf-ba-line i { position: absolute; top: 50%; left: 0; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(20, 8, 48, 0.72); border: 2px solid var(--gold-500); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 0 0 6px rgba(233, 197, 95, 0.14), 0 10px 30px rgba(0, 0, 0, 0.5); transition: transform 0.25s var(--ease); }
.pf-ba-line i::before, .pf-ba-line i::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.pf-ba-line i::before { left: 9px; border-right: 8px solid var(--gold-500); border-left: 0; }
.pf-ba-line i::after { right: 9px; border-left: 8px solid var(--gold-500); border-right: 0; }
.pf-ba-line:focus-visible i { box-shadow: 0 0 0 4px var(--white), 0 0 0 9px rgba(233, 197, 95, 0.5); }
.pf-ba-frame.is-drag .pf-ba-line i, .pf-ba-frame:hover .pf-ba-line i { transform: scale(1.1); }
.pf-ba-tag { position: absolute; top: 18px; z-index: 2; padding: 6px 12px; border-radius: 8px; font-family: var(--font-caps); font-weight: 600; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; background: rgba(8, 3, 20, 0.62); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity 0.3s; }
.pf-ba-tag-b { left: 18px; color: var(--white-80); opacity: clamp(0, calc((var(--xn, 0.5) - 0.08) * 8), 1); }
.pf-ba-tag-a { right: 18px; color: var(--gold-500); opacity: clamp(0, calc((0.92 - var(--xn, 0.5)) * 8), 1); }
.pf-ba-caps { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 18px; }
.pf-ba-side { display: grid; gap: 4px; align-content: start; padding-top: 12px; border-top: 2px solid var(--white-12); }
.pf-ba-cap-a { border-top-color: var(--gold-500); text-align: right; }
.pf-ba-side small { font-family: var(--font-caps); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--white-60); }
.pf-ba-cap-a small { color: var(--gold-500); }
.pf-ba-side strong { font-weight: 800; font-size: clamp(18px, 2vw, 24px); text-transform: uppercase; letter-spacing: 0.01em; }
.pf-ba-side span { color: var(--white-80); font-size: 14px; line-height: 1.55; }
.pf-ba .mod-caption { margin-top: 14px; }
.pf-ba-hint { font-family: var(--font-caps); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--white-60); text-align: center; margin-top: -26px; }
@media (max-width: 760px) {
  .pf-ba-list { gap: 34px; }
  .pf-ba-frame { border-radius: 16px; }
  .pf-ba-line i { width: 42px; height: 42px; margin: -21px 0 0 -21px; }
  .pf-ba-line i::before { left: 6px; } .pf-ba-line i::after { right: 6px; }
  .pf-ba-tag { top: 10px; font-size: 10px; padding: 4px 8px; }
  .pf-ba-tag-b { left: 10px; } .pf-ba-tag-a { right: 10px; }
  .pf-ba-caps { gap: 14px; }
  .pf-ba-side strong { font-size: 16px; }
  .pf-ba-side span { font-size: 13px; }
  .pf-ba-hint { margin-top: -18px; }
}

/* --- object-reveal with portrait frames (ratio below 1, e.g. vertical Shorts at 608/1080) ---
   The frame is sized by the screen height rather than the column width, so a tall frame still
   fits the pinned screen, and the text column gets the spare width. */
.pf-or-tall .pf-or-stage { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr); }
.pf-or-tall .pf-or-media { width: min(100%, calc(70vh * var(--rnum, 0.5625))); margin: 0 auto; }
.pf-or-tall .pf-or-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pf-or-tall .pf-or-watch { width: 84px; }
.pf-or-tall .pf-or-watch svg { width: 60px; height: 60px; }
.pf-or-tall .pf-or-watch-v { height: 60px; padding-top: 19px; }
.pf-or-tall .pf-or-watch-v b { font-size: 17px; }
.pf-or-tall .pf-or-meter > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
@media (max-width: 980px) { .pf-or-tall .pf-or-media { width: min(100%, calc(60vh * var(--rnum, 0.5625))); } }
@media (max-width: 760px) {
  .pf-or-tall .pf-or-media { width: min(100%, calc(58svh * var(--rnum, 0.5625))); }
  .pf-or-tall .pf-or-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
}
@media (prefers-reduced-motion: no-preference) {
  @media (max-width: 760px) {
    .pf-js .pf-or-tall.pf-or-flip .pf-or-media { top: 58px; }
  }
}

/* --- eras: a pinned time machine (static list by default; pinned on desktop with motion) --- */
.pf-eras { position: relative; --lp: 1; --ep: 0; }
.pf-eras-stage { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.pf-eras-bg, .pf-eras-dial { display: none; }
.pf-eras-copy { max-width: 820px; margin-bottom: 34px; }
.pf-eras-title { font-weight: 900; font-size: clamp(30px, 4.2vw, 52px); line-height: 0.98; letter-spacing: -0.02em; text-transform: uppercase; }
.pf-eras-intro { color: var(--white-80); font-size: 17px; line-height: 1.65; margin-top: 14px; max-width: 720px; }
.pf-eras-list { list-style: none; display: grid; gap: 22px; }
.pf-eras-item { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 34px; align-items: center; padding: 30px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(120deg, color-mix(in srgb, var(--ac) 16%, transparent), rgba(255, 255, 255, 0.025) 55%); border: 1px solid var(--white-12); }
.pf-eras-era { position: relative; display: inline-grid; font-weight: 900; font-size: clamp(64px, 8.6vw, 132px); line-height: 0.82; letter-spacing: -0.045em; margin-bottom: 14px; }
.pf-eras-era > span { grid-area: 1 / 1; }
.pf-eras-era { filter: drop-shadow(0 0 28px color-mix(in srgb, var(--ac) 40%, transparent)); }
.pf-eras-era-o { color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--ac) 70%, #fff); opacity: 0.55; }
.pf-eras-era-f { color: var(--ac); clip-path: inset(calc((1 - var(--lp)) * 100%) 0 0 0); }
.pf-eras-place { font-family: var(--font-caps); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--white-60); margin-bottom: 14px; }
.pf-eras-film { font-weight: 800; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.1; margin-bottom: 6px; }
.pf-eras-film a { color: var(--white); text-decoration: none; background: linear-gradient(var(--ac), var(--ac)) 0 100% / 0 2px no-repeat; transition: background-size 0.4s var(--ease); }
.pf-eras-film a:hover { background-size: 100% 2px; }
.pf-eras-film small { display: inline-block; margin-left: 12px; font-family: var(--font-caps); font-weight: 500; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white-60); vertical-align: middle; }
.pf-eras-style { font-family: var(--font-caps); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ac); margin-bottom: 12px; }
.pf-eras-p { color: var(--white-80); font-size: 15px; line-height: 1.65; }
.pf-eras-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin-top: 14px; }
.pf-eras-specs > div { padding: 8px 0; border-top: 1px solid var(--white-12); }
.pf-eras-specs dt { font-family: var(--font-caps); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white-60); margin-bottom: 2px; }
.pf-eras-specs dd { font-size: 13px; line-height: 1.4; color: var(--white); }
.pf-eras-pal { display: flex; align-items: center; gap: 6px; margin-top: 16px; }
.pf-eras-pal-k { font-family: var(--font-caps); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white-60); margin-right: 8px; }
.pf-eras-pal i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 6px 14px rgba(0, 0, 0, 0.4); }
.pf-eras-go { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 9px 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ac) 60%, transparent); font-family: var(--font-caps); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white); text-decoration: none; transition: background 0.25s, color 0.25s; }
.pf-eras-go:hover { background: var(--ac); color: #0b0418; }
.pf-eras-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pf-eras-card { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #07020f; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.pf-eras-card:first-child { grid-column: 1 / -1; }
.pf-eras-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 760px) {
  .pf-eras.pf-bleed { width: auto; margin-left: 0; }
  .pf-eras-stage { padding: 0; }
  .pf-eras-item { grid-template-columns: 1fr; gap: 18px; padding: 20px 16px; }
  .pf-eras-stack { order: -1; }
  .pf-eras-era { font-size: clamp(56px, 18vw, 84px); margin-bottom: 10px; }
  .pf-eras-specs { grid-template-columns: 1fr; }
  .pf-eras-intro { font-size: 15.5px; }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 761px) {
  .pf-js .pf-eras { height: calc(100vh + var(--n) * 75vh); }
  .pf-js .pf-eras-stage { position: sticky; top: 0; height: 100vh; max-width: none; padding: 0; overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
  .pf-js .pf-eras-stage > * { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin-left: auto; margin-right: auto; padding-left: 28px; padding-right: 28px; }
  .pf-js .pf-eras-stage > .pf-eras-bg { position: absolute; inset: 0; z-index: 0; display: block; max-width: none; padding: 0; }
  .pf-eras-bgi { position: absolute; inset: -6%; opacity: 0; transition: opacity 1.1s ease; }
  .pf-eras-bgi img { width: 100%; height: 100%; object-fit: cover; filter: blur(34px) saturate(1.35); transform: scale(1.1); }
  .pf-eras-bgi.is-on { opacity: 0.5; }
  .pf-eras-veil { position: absolute; inset: 0; background:
    radial-gradient(70% 60% at 72% 50%, color-mix(in srgb, var(--ac) 22%, transparent), transparent 70%),
    linear-gradient(90deg, rgba(14, 5, 34, 0.94) 0%, rgba(14, 5, 34, 0.7) 45%, rgba(14, 5, 34, 0.45) 100%),
    linear-gradient(0deg, var(--purple-990) 0%, transparent 18%, transparent 82%, var(--purple-990) 100%); transition: background 0.8s; }
  .pf-eras-grain { position: absolute; inset: 0; opacity: 0.12; mix-blend-mode: overlay;
    background-image: repeating-radial-gradient(circle at 17% 32%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1px 3px), repeating-radial-gradient(circle at 71% 64%, rgba(0, 0, 0, 0.6) 0 1px, transparent 1px 4px); }
  .pf-js .pf-eras-copy { padding-top: 64px; margin-bottom: 0; max-width: 1180px; }
  .pf-js .pf-eras-title { font-size: clamp(24px, 2.6vw, 34px); }
  .pf-js .pf-eras-intro { font-size: 14.5px; margin-top: 8px; max-width: 640px; }
  .pf-js .pf-eras-list { display: block; position: relative; min-height: 0; }
  .pf-js .pf-eras-item { position: absolute; inset: 0 28px; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 54px; padding: 0; border: 0; border-radius: 0; background: none; overflow: visible;
    opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0s 0.5s; }
  .pf-js .pf-eras-item.is-on { opacity: 1; visibility: visible; transition: opacity 0.5s ease, visibility 0s; }
  .pf-js .pf-eras-text > * { transform: translateY(26px); opacity: 0; transition: transform 0.8s var(--ease), opacity 0.6s ease; }
  .pf-js .pf-eras-item.is-on .pf-eras-text > * { transform: none; opacity: 1; }
  .pf-js .pf-eras-item.is-on .pf-eras-text > :nth-child(2) { transition-delay: 0.06s; }
  .pf-js .pf-eras-item.is-on .pf-eras-text > :nth-child(3) { transition-delay: 0.12s; }
  .pf-js .pf-eras-item.is-on .pf-eras-text > :nth-child(4) { transition-delay: 0.18s; }
  .pf-js .pf-eras-item.is-on .pf-eras-text > :nth-child(5) { transition-delay: 0.24s; }
  .pf-js .pf-eras-item.is-on .pf-eras-text > :nth-child(n+6) { transition-delay: 0.3s; }
  .pf-js .pf-eras-item.is-past .pf-eras-text > * { transform: translateY(-26px); }
  .pf-js .pf-eras-era { font-size: clamp(84px, 10.5vw, 168px); }
  .pf-js .pf-eras-p { font-size: 14.5px; }
  .pf-eras-pal i { transform: scale(0); transition: transform 0.5s var(--ease); transition-delay: calc(0.35s + var(--k) * 70ms); }
  .pf-js .pf-eras-item.is-on .pf-eras-pal i { transform: none; }
  .pf-js .pf-eras-stack { display: block; position: relative; aspect-ratio: 16 / 10.5; align-self: center; }
  .pf-js .pf-eras-card { position: absolute; width: 74%; left: 13%; top: 14%; transform-origin: 50% 120%;
    transition: transform 0.9s var(--ease), opacity 0.6s ease, filter 0.6s; opacity: 0; transform: translate(70px, 40px) rotate(9deg) scale(0.9); }
  .pf-js .pf-eras-card:first-child { z-index: 3; }
  .pf-js .pf-eras-card:nth-child(2) { z-index: 2; }
  .pf-js .pf-eras-card:nth-child(3) { z-index: 1; }
  .pf-js .pf-eras-item.is-on .pf-eras-card { opacity: 1; }
  .pf-js .pf-eras-item.is-on .pf-eras-card:first-child { transform: translate(calc((0.5 - var(--lp)) * 18px), calc((0.5 - var(--lp)) * 26px)) rotate(-1.5deg); transition-delay: 0.18s; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 60px color-mix(in srgb, var(--ac) 30%, transparent); }
  .pf-js .pf-eras-item.is-on .pf-eras-card:nth-child(2) { transform: translate(-22%, -16%) rotate(-7deg) scale(0.7); filter: brightness(0.75); transition-delay: 0.06s; }
  .pf-js .pf-eras-item.is-on .pf-eras-card:nth-child(3) { transform: translate(24%, 22%) rotate(6deg) scale(0.64); filter: brightness(0.6); transition-delay: 0s; }
  .pf-js .pf-eras-item.is-past .pf-eras-card { transform: translate(-80px, -60px) rotate(-10deg) scale(0.9); }
  .pf-js .pf-eras-dial { display: block; position: relative; height: 92px; }
  .pf-eras-rule { position: absolute; left: 28px; right: 28px; top: 22px; height: 2px; background: var(--white-12); }
  .pf-eras-rule i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--ep)); background: linear-gradient(90deg, var(--violet-500), var(--ac)); box-shadow: 0 0 14px color-mix(in srgb, var(--ac) 70%, transparent); transition: background 0.6s; }
  .pf-eras-tick { position: absolute; top: 12px; left: calc(28px + (100% - 56px) * var(--x)); transform: translateX(-50%); display: grid; justify-items: center; gap: 2px; padding: 0 6px; background: none; border: 0; color: var(--white-60); cursor: pointer; font: inherit; }
  .pf-eras-tick::before { content: ""; width: 12px; height: 12px; margin-bottom: 8px; border-radius: 50%; background: var(--purple-990); border: 2px solid var(--white-24); transition: transform 0.4s var(--ease), background 0.4s, border-color 0.4s, box-shadow 0.4s; }
  .pf-eras-tick b { font-weight: 800; font-size: 14px; letter-spacing: 0.02em; color: var(--white-80); transition: color 0.3s; }
  .pf-eras-tick small { font-family: var(--font-caps); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }
  .pf-eras-tick.is-past::before { background: var(--white-60); border-color: var(--white-60); }
  .pf-eras-tick.is-on::before { transform: scale(1.45); background: var(--ac); border-color: var(--ac); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ac) 25%, transparent), 0 0 20px var(--ac); }
  .pf-eras-tick.is-on b { color: var(--ac); }
  .pf-eras-tick:hover b { color: var(--white); }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 761px) and (max-height: 820px) {
  .pf-js .pf-eras-copy { padding-top: 48px; }
  .pf-js .pf-eras-intro { display: none; }
  .pf-js .pf-eras-era { font-size: clamp(72px, 8.4vw, 128px); }
  .pf-js .pf-eras-specs { display: none; }
}
