/* =====================================================================
   sections.css : package D (creative brief v2, sections 7 to 12)
   Prefixes: wh- who, fr- free, ea- early access, pt- partners,
   tm- team and security, nx- next and film.
   Reads tokens from theme.css (section 2.1). Local helpers are scoped.
   ===================================================================== */

/* ---------- shared: lights (section content sits above them) ---------- */
.wh > .container, .fr > .container, .nx > .container { position: relative; z-index: 1; }
.fr > .lights, .nx > .lights, .ea > .lights { z-index: 0; }

/* =====================================================================
   7. WHO IT'S FOR
   ===================================================================== */
.wh-bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr .62fr;
  gap: 20px;
  min-height: 580px;
}
.wh-bento .card { padding: 28px; box-shadow: var(--shadow-card); }
.wh-arr {
  grid-row: 1 / 4; grid-column: 1;
  border-radius: 20px; padding: 40px !important;
  border-color: var(--border-strong);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.wh-arr > .lights { z-index: 0; }
.wh-arr__body, .wh-arr__list, .wh-arr__link { position: relative; z-index: 1; }
.wh-arr .chip { align-self: flex-start; margin-top: 28px; }
.wh-arr h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; margin-top: 16px; font-family: var(--font-head, inherit); }
.wh-arr__body p { margin-top: 14px; font-size: 17px; max-width: 46ch; }
.wh-arr__list { list-style: none; margin: auto 0 0; padding: 0; border-top: 1px solid var(--border); }
.wh-arr__list li { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 16px; font-weight: 500; color: var(--heading); }
.wh-arr__link { margin-top: 22px; align-self: flex-start; }
.wh-card {
  border-radius: 14px;
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr;
  column-gap: 16px; align-items: start;
}
.wh-card__chip { justify-self: end; }
.wh-card__text { grid-column: 1 / -1; align-self: end; }
.wh-card h3 { font-size: 20px; line-height: 1.25; }
.wh-card p, .wh-support p { margin-top: 6px; font-size: 15.5px; line-height: 1.5; }
.wh-support {
  border-radius: 14px; padding: 20px 28px !important;
  background: var(--surface-2) !important;
  --icon-bg: var(--surface-2);
  display: flex; align-items: center; gap: 20px;
}
.wh-support h3 { font-size: 17px; line-height: 1.25; }
.wh-support p { font-size: 15px; }

.wh-icon { flex: none; display: block; }
.wh-icon--lg { width: 64px; height: 64px; }
.wh-icon--md { width: 48px; height: 48px; }
.wh-icon--sm { width: 40px; height: 40px; }
.wh-icon--arranger { color: var(--party-arranger); }
.wh-icon--lender { color: var(--party-lender); }
.wh-icon--borrower { color: var(--party-borrower); }
.wh-icon--support { color: var(--muted); }
.wh-icon .i-fill { fill: currentColor; fill-opacity: .16; stroke: none; }
.wh-icon .i-faint { stroke-opacity: .45; }

@media (max-width: 1100px) { .wh-bento { min-height: 620px; } }
@media (max-width: 820px) {
  .wh-bento { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
  .wh-arr { grid-row: auto; padding: 28px !important; }
  .wh-card { min-height: 190px; }
  .wh-arr__list { margin-top: 28px; }
}

/* =====================================================================
   8. WHY FREE
   ===================================================================== */
.fr-grid { align-items: center; }
.fr-copy .lead { margin-bottom: 32px; }
.fr-side { display: flex; justify-content: flex-end; }
.fr-card {
  --fr-e: cubic-bezier(.2, 0, 0, 1);
  position: relative; width: 100%; max-width: 520px;
  background: var(--surface); border-radius: 20px; padding: 36px 40px;
}
.fr-glow {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 1px var(--border-strong), 0 0 56px -12px rgba(120,176,248,.38), 0 0 140px -24px rgba(65,108,179,.5);
}
html[data-theme="light"] .fr-glow {
  box-shadow: 0 0 0 1px #C9D3E6, 0 1px 2px rgba(11,19,36,.06), 0 28px 70px -28px rgba(47,86,160,.42);
}
.fr-edge { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.fr-glint {
  position: absolute; width: 38%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent);
}
html[data-theme="light"] .fr-glint { background: linear-gradient(90deg, transparent, rgba(65,108,179,.7), transparent); }
.fr-glint--t { top: 0; left: 12%; }
.fr-glint--b { bottom: 0; right: 12%; }
.fr-head, .fr-hero { position: relative; z-index: 1; }
.fr-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 22px; }
.fr-title { font-family: var(--font-head, inherit); font-weight: 600; font-size: 18px; color: var(--heading); margin: 0; }
.fr-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 0 20px; border-top: 1px solid var(--border); }
.fr-fig { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.fr-bloom {
  position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px 0 0 -150px;
  border-radius: 50%; pointer-events: none; opacity: .5;
  background: radial-gradient(closest-side, rgba(245,158,11,.28), transparent);
}
html[data-theme="light"] .fr-bloom { background: radial-gradient(closest-side, rgba(245,158,11,.22), transparent); }
.fr-price {
  position: relative; font-family: var(--font-head, inherit); font-weight: 700; font-size: clamp(120px, 14vw, 184px); line-height: 1; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums; color: var(--amber);
  text-shadow: 0 0 60px rgba(245,158,11,.35);
}
html[data-theme="light"] .fr-price { color: #D97706; text-shadow: none; }
.fr-cap { margin: 14px 0 0; font-size: 20px; font-weight: 500; color: var(--heading); }

@media (prefers-reduced-motion: no-preference) {
  /* pre-reveal state: JS only */
  html.js .fr-card:not(.fr-play) .fr-glow,
  html.js .fr-card:not(.fr-play) .fr-glint,
  html.js .fr-card:not(.fr-play) .fr-hero { opacity: 0; }
  html.js .fr-card.fr-play .fr-glow { animation: fr-fade 600ms var(--fr-e) both; }
  html.js .fr-card.fr-play .fr-glint--t { animation: fr-pass-r 1400ms var(--fr-e) both; }
  html.js .fr-card.fr-play .fr-glint--b { animation: fr-pass-l 1400ms var(--fr-e) both; }
  html.js .fr-card.fr-play .fr-hero { animation: fr-row 600ms var(--fr-e) 250ms both; }
  html.js .fr-card.fr-play .fr-price { animation: fr-zoom 700ms cubic-bezier(.2,.9,.3,1.2) 450ms both; }
  html.js .fr-card.fr-idle .fr-glint--t { animation: fr-idle 9s linear 9s infinite; }
}
@keyframes fr-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fr-pass-r {
  0% { left: -38%; opacity: 1; } 80% { left: 100%; opacity: 1; }
  80.1% { left: 12%; opacity: 0; } 100% { left: 12%; opacity: 1; }
}
@keyframes fr-pass-l {
  0% { right: -38%; opacity: 1; } 80% { right: 100%; opacity: 1; }
  80.1% { right: 12%; opacity: 0; } 100% { right: 12%; opacity: 1; }
}
@keyframes fr-idle {
  0% { left: -38%; opacity: 1; } 26% { left: 100%; opacity: 1; }
  26.1% { left: 12%; opacity: 0; } 28% { left: 12%; opacity: 1; } 100% { left: 12%; opacity: 1; }
}
@keyframes fr-row { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fr-zoom { 0% { opacity: 0; transform: scale(.84); } 60% { opacity: 1; transform: scale(1.05); } 100% { opacity: 1; transform: scale(1); } }

@media (max-width: 820px) {
  .fr-side { justify-content: stretch; }
  .fr-card { padding: 28px 24px; }
}

/* =====================================================================
   9. EARLY ACCESS: the scroll-breaker
   ===================================================================== */
.ea { position: relative; padding: calc(var(--section-pad) * .75) 0; }
.ea-slab {
  position: relative; z-index: 1;
  margin-inline: max(24px, calc((100vw - 1392px) / 2));
  border-radius: 28px; padding: 88px 72px;
  background: var(--bg); color: var(--text);
  box-shadow: var(--shadow-float);
}
.ea-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 32px; align-items: start; }
.ea-intro { grid-column: 1 / span 5; }
.ea-formwrap { grid-column: 6 / -1; min-height: 540px; position: relative; }
@media (min-width: 1280px) { .ea-formwrap { grid-column: 7 / -1; } }
.ea-intro h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.08; font-weight: 600; color: var(--heading); }
.ea-lead { margin-top: 24px; font-size: 19px; line-height: 1.55; color: var(--text); }
.ea-steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 20px; }
.ea-step { display: flex; gap: 16px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.ea-step strong { color: var(--heading); }
.ea-step__n {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  font-family: var(--font-head, inherit); font-weight: 600; font-size: 14px; color: var(--heading);
}
.ea-step.is-done .ea-step__n { border-color: var(--ok); color: var(--ok); }
.ea-step.is-done .ea-step__n::before { content: ""; width: 12px; height: 7px; border: solid var(--ok); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.ea-step.is-done .ea-step__n { font-size: 0; }

.ea-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.ea-field { display: grid; gap: 8px; margin-bottom: 20px; align-content: start; }
.ea-label { font-size: 14px; font-weight: 600; color: var(--heading); padding: 0; }
.ea-opt { font-weight: 400; color: var(--muted); }
.ea-input {
  width: 100%; height: 56px; padding: 0 16px; font: inherit; font-size: 17px; color: var(--heading);
  background: var(--input-bg); border: 1px solid var(--input-border); border-radius: 10px;
}
.ea-input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ea-input[aria-invalid="true"] { border-color: var(--error); }
.ea-err { margin: 0; font-size: 14px; color: var(--error); display: flex; gap: 6px; align-items: flex-start; }
.ea-err:not([hidden])::before { content: "!"; flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.ea-interest { border: 0; padding: 0; margin: 4px 0 28px; min-width: 0; }
.ea-interest legend { margin-bottom: 12px; }
.ea-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.ea-pill { position: relative; cursor: pointer; }
.ea-pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ea-pill span {
  display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--border-strong); color: var(--heading); font-size: 15px; font-weight: 500;
  transition: background-color .15s, color .15s;
}
.ea-pill:hover span { background: var(--pill-bg); }
.ea-pill input:checked + span { background: var(--heading); color: var(--bg); border-color: var(--heading); }
.ea-pill input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.ea-dp { margin: 0 0 24px; }
.ea-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--heading); position: relative; }
.ea-check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.ea-check__box { flex: none; width: 24px; height: 24px; border-radius: 6px; background: var(--input-bg); border: 1px solid var(--input-border); display: grid; place-items: center; transition: background-color .15s, border-color .15s; }
.ea-check__box::after { content: ""; width: 12px; height: 7px; border: solid var(--bg); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .15s; }
.ea-check input:checked + .ea-check__box { background: var(--heading); border-color: var(--heading); }
.ea-check input:checked + .ea-check__box::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.ea-check input:focus-visible + .ea-check__box { outline: 2px solid var(--focus); outline-offset: 2px; }
.ea-dp__msg { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .3s ease, opacity .3s ease; }
.ea-dp__msg > div { overflow: hidden; }
.ea-dp__msg p { margin: 10px 0 0 36px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.ea-dp:has(input:checked) .ea-dp__msg { grid-template-rows: 1fr; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ea-dp__msg, .ea-check__box, .ea-check__box::after { transition: none; } }
.ea-submit { height: 56px; font-size: 18px; box-shadow: inset 0 0 0 1px var(--amber-edge), var(--cta-shadow); }
.ea-privacy { margin-top: 16px; font-size: 13px; color: var(--muted); }

.ea-success { display: grid; justify-items: start; gap: 14px; padding-top: 8px; }
.ea-success[hidden] { display: none; }
.ea-success:focus { outline: none; }
.ea-success h3 { font-size: 28px; color: var(--heading); }
.ea-success p { font-size: 18px; }
.ea-success strong { color: var(--heading); overflow-wrap: anywhere; }
.ea-tick { width: 56px; height: 56px; fill: none; stroke: var(--ok); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ea-tick path { stroke-width: 2.5; stroke-dasharray: 40; stroke-dashoffset: 0; }
.ea-quiet { color: var(--link); font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .ea-success:not([hidden]) .ea-tick path { animation: ea-draw 500ms cubic-bezier(.2,0,0,1) both; }
  html.js .ea-slab[data-reveal]:not(.is-in) { opacity: .6; transform: translateY(40px) scale(.97); }
  html.js .ea-slab[data-reveal] { transition: opacity 700ms cubic-bezier(.2,0,0,1), transform 700ms cubic-bezier(.2,0,0,1); }
}
@keyframes ea-draw { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }

@media (max-width: 1100px) {
  .ea-slab { padding: 64px 44px; }
  .ea-grid { grid-template-columns: minmax(0, 1fr); }
  .ea-intro, .ea-formwrap { grid-column: 1 / -1; }
  .ea-formwrap { margin-top: 48px; min-height: 0; }
}
@media (max-width: 820px) {
  .ea-slab { margin-inline: 16px; border-radius: 20px; padding: 48px 22px; }
}
@media (max-width: 560px) { .ea-row { grid-template-columns: 1fr; } }

/* =====================================================================
   10. WORKING WITH
   ===================================================================== */
.pt { margin-top: 64px; padding-bottom: 112px; position: relative; z-index: 1; }
.pt-title { font-family: var(--font-head, inherit); font-weight: 600; font-size: 18px; color: var(--muted); margin: 0 0 28px; text-align: center; }
.pt-set {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 40px 88px; padding-inline: 24px;
}
.pt-logo { display: flex; align-items: center; flex: none; opacity: .8; transition: opacity .16s; }
.pt-logo:hover { opacity: 1; }
.pt-logo img { height: 26px; width: auto; display: block; }
.pt-logo--goodman img { height: 42px; }
.pt-logo--halborn img { height: 19px !important; } /* very wide wordmark: balance optically with the others */
.pt-logo--born-limitless img { height: 30px; }
.pt-logo--crypto-collective img { height: 34px; }
.pt-logo--vcm img { height: 30px; }
.pt-logo--fireblocks img, .pt-logo--halborn img, .pt-logo--clearbank img { height: 26px; }

.pt-marquee.pt-live {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 120px, #000 calc(100% - 120px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 120px, #000 calc(100% - 120px), transparent);
}
.pt-live .pt-track { display: flex; width: max-content; animation: pt-scroll var(--pt-dur, 60s) linear infinite; }
.pt-live .pt-set { flex-wrap: nowrap; justify-content: flex-start; height: 96px; gap: 88px; padding: 0 88px 0 0; flex: none; }
.pt-live:hover .pt-track, .pt-live:focus-within .pt-track { animation-play-state: paused; }
@keyframes pt-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--pt-dist, 0px))); } }
@media (max-width: 820px) {
  .pt-marquee.pt-live { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
  .pt-live .pt-set { gap: 56px; padding-right: 56px; }
  .pt-set { gap: 32px 40px; }
  .pt { padding-bottom: 80px; }
}

/* =====================================================================
   11. TEAM AND SECURITY
   ===================================================================== */
.tm-founders { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tm-person { display: block; }
.tm-medal {
  position: relative; display: block; width: 148px; height: 148px; margin: 6px; border-radius: 50%;
  overflow: hidden; background: #14171E; isolation: isolate;
  outline: 1px solid var(--border-strong); outline-offset: 6px;
}
.tm-medal img { display: block; width: 108%; height: 108%; max-width: none; margin: -4%; object-fit: cover; }
.tm-text { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.tm-name { font-family: var(--font-head, inherit); font-weight: 600; font-size: 22px; color: var(--heading); }
.tm-role { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--link); }
.tm-bio { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--text); max-width: 34ch; }

.tm-sec {
  position: relative; margin-top: 64px;
  display: grid; grid-template-columns: 3fr 9fr; grid-template-rows: 1fr auto;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 6px;
}
.tm-sec__title { grid-row: 1; padding: 28px; border-right: 1px solid var(--border); }
.tm-sec__title h3 { font-size: 22px; line-height: 1.2; }
.tm-sec__title p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.tm-sec__caps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.tm-cap { display: flex; gap: 14px; align-items: flex-start; padding: 24px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tm-cap:nth-child(3n) { border-right: 0; }
.tm-cap:nth-child(n+4) { border-bottom: 0; }
.tm-cap .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--ok); }
.tm-cap h4 { font-size: 16px; font-weight: 600; color: var(--heading); line-height: 1.3; }
.tm-cap p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--text); }
.tm-sec__foot {
  grid-column: 1 / -1; margin: 0; max-width: none; padding: 16px 28px;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  border-top: 1px dashed var(--border-strong); font-size: 14px; color: var(--muted);
}
.tm-sec__pillars {
  grid-column: 1 / -1; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-strong); border-radius: 0 0 6px 6px;
  background: color-mix(in srgb, var(--ok) 6%, transparent);
}
.tm-pillar { display: flex; gap: 14px; align-items: flex-start; padding: 24px 28px; border-right: 1px solid var(--border); }
.tm-pillar:last-child { border-right: 0; }
.tm-pillar .icon { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--ok); }
.tm-pillar h4 { font-size: 17px; font-weight: 600; color: var(--heading); line-height: 1.3; }
.tm-pillar p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--text); }
@media (max-width: 820px) { .tm-sec__pillars { grid-template-columns: 1fr; } .tm-pillar { padding: 24px; border-right: 0; border-bottom: 1px solid var(--border); } .tm-pillar:last-child { border-bottom: 0; } }
@media (max-width: 1100px) { .tm-sec__caps { grid-template-columns: repeat(2, 1fr); } .tm-cap:nth-child(3n) { border-right: 1px solid var(--border); } .tm-cap:nth-child(2n) { border-right: 0; } .tm-cap:nth-child(n+4) { border-bottom: 1px solid var(--border); } .tm-cap:nth-child(n+5) { border-bottom: 0; } }
@media (max-width: 820px) {
  .tm-founders { grid-template-columns: 1fr; gap: 40px; }
  .tm-person { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: start; }
  .tm-medal { width: 96px; height: 96px; }
  .tm-text { margin-top: 0; }
  .tm-sec { grid-template-columns: 1fr; grid-template-rows: none; }
  .tm-sec__title { border-right: 0; border-bottom: 1px solid var(--border); }
  .tm-sec__caps { grid-template-columns: 1fr; }
  .tm-cap, .tm-cap:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--border); }
  .tm-cap:last-child { border-bottom: 0; }
}

/* =====================================================================
   12. THIS IS JUST THE BEGINNING
   ===================================================================== */
.nx-grid { align-items: center; }
.nx-copy .lead { margin-bottom: 0; }
.nx-core { margin: 28px 0 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.nx-core__row { display: flex; align-items: center; gap: 16px; }
.nx-lockup { height: 30px; width: auto; display: block; }
.nx-word { fill: var(--logo-word); }
.nx-core-word { fill: var(--gold-text); }
.nx-next { padding: 2px 12px; border-radius: 999px; border: 1px solid var(--gold-line); color: var(--gold-text); font-size: 12px; font-weight: 600; line-height: 1.5; }
.nx-core p { margin-top: 12px; font-size: 16px; }

.nx-film {
  --nx-e: cubic-bezier(.2, 0, 0, 1);
  position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
  background: #070B17; container-type: inline-size;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), inset 0 1px 0 rgba(255,255,255,.18), var(--shadow-float);
  --pos: 0%;
}
.nx-poster { position: absolute; inset: 0; }
.nx-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.nx-poster__blur { filter: blur(14px) saturate(.8) brightness(.7); transition: filter 600ms var(--nx-e); }
.nx-poster__sharp {
  -webkit-mask-image: linear-gradient(180deg, transparent 22%, #000 40%, #000 56%, transparent 74%);
  mask-image: linear-gradient(180deg, transparent 22%, #000 40%, #000 56%, transparent 74%);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 0 0; mask-position: 0 0;
  transition: -webkit-mask-position 600ms var(--nx-e), mask-position 600ms var(--nx-e);
}
.nx-poster__fields {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(65,108,179,.5), transparent 70%),
    radial-gradient(50% 70% at 0% 50%, rgba(124,58,237,.22), transparent 70%);
}
.nx-poster__fade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,11,23,.85)); }
.nx-play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; padding: 0;
  border-radius: 50%; cursor: default; color: #fff; display: grid; place-items: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3);
  -webkit-backdrop-filter: blur(12px) saturate(150%); backdrop-filter: blur(12px) saturate(150%);
  transition: transform 600ms var(--nx-e);
}
.nx-play .icon { width: 24px; height: 24px; fill: #fff; stroke: #fff; margin-left: 3px; }
.nx-play:focus-visible { outline: 2px solid #78B0F8; outline-offset: 3px; }
.nx-cap { position: absolute; left: 24px; bottom: 20px; right: 24px; }
.nx-cap__t { font-family: var(--font-head, inherit); font-weight: 600; font-size: 18px; color: #fff; margin: 0; }
.nx-cap__s { font-size: 14px; color: rgba(255,255,255,.75); margin: 2px 0 0; }
.nx-film .placeholder-tag { z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  .nx-film:hover .nx-poster__blur, .nx-film:focus-within .nx-poster__blur { filter: blur(10px) saturate(.8) brightness(.7); }
  .nx-film:hover .nx-poster__sharp, .nx-film:focus-within .nx-poster__sharp { -webkit-mask-position: 0 7.9cqw; mask-position: 0 7.9cqw; }
  .nx-film:hover .nx-play, .nx-film:focus-within .nx-play { transform: scale(1.06); }
}
.nx-chapters-cap { margin: 28px 0 0; font-size: 13px; color: var(--muted); }
.nx-chapters { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.nx-chapters li { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); font-size: 15px; color: var(--text); }
.nx-n { color: var(--link); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 820px) { .nx-chapters { grid-template-columns: 1fr; } .nx-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; } }



/* trust: icon + title only caps */
.tm-cap { align-items: center; padding: 18px 24px; }
.tm-cap .icon { margin-top: 0; flex: none; }
/* next: video in film frame */
.nx-film--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #070B17; }
.nx-film--video video:-webkit-full-screen { object-fit: contain; background: #000; }
.nx-film--video video:fullscreen { object-fit: contain; background: #000; }

/* Film placeholder: poster + big play button (05-next) */
.nx-film--video .nx-play--big {
  z-index: 2; width: 112px; height: 112px; margin: -56px 0 0 -56px; cursor: pointer;
  background: rgba(7, 11, 23, .55); border: 1.5px solid rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .08), 0 18px 48px -12px rgba(0, 0, 0, .7);
  transition: transform .2s var(--nx-e), background-color .2s, opacity .2s;
}
.nx-film--video .nx-play--big .icon { width: 38px; height: 38px; margin-left: 6px; }
.nx-film--video .nx-play--big:hover { background: var(--amber); border-color: var(--amber); transform: scale(1.06); }
.nx-film--video .nx-play--big:hover .icon { fill: #1A1F2E; stroke: #1A1F2E; }
.nx-film--video::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle at 50% 50%, rgba(7, 11, 23, .35), transparent 60%); transition: opacity .2s; }
.nx-film--video.is-playing .nx-play--big, .nx-film--video.is-playing::after { opacity: 0; pointer-events: none; }
@media (max-width: 820px) { .nx-film--video .nx-play--big { width: 76px; height: 76px; margin: -38px 0 0 -38px; } .nx-film--video .nx-play--big .icon { width: 28px; height: 28px; } }

/* film poster label + CTA below the player */
.nx-poster-label { position: absolute; left: 50%; top: calc(50% + 76px); transform: translateX(-50%); z-index: 2; padding: 8px 18px; border-radius: 999px; background: rgba(7, 11, 23, .72); border: 1px solid rgba(255, 255, 255, .35); color: #fff; font: 600 16px/1.2 var(--font-body); white-space: nowrap; pointer-events: none; transition: opacity .2s; }
.nx-film--video.is-playing .nx-poster-label { opacity: 0; }
.nx-after { margin: 24px 0 0; display: flex; justify-content: flex-start; }
@media (max-width: 820px) { .nx-poster-label { top: calc(50% + 52px); font-size: 14px; padding: 6px 14px; } .nx-after .btn { width: 100%; } }
@media (max-width: 400px) { .nx-poster-label { top: calc(50% + 46px); font-size: 13px; } }
