/* Pinned product scenes for Strength Programs and Narrative Pro.
   Without JS or with reduced motion they render as ordinary sections. */
.scene{position:relative;border-top:1px solid var(--line);scroll-margin-top:0}
.scene-stage{position:relative;overflow:hidden}
.scene-grid{display:grid;align-items:center;gap:clamp(24px,4vw,64px);padding-top:72px;padding-bottom:72px}
.scene-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.scene-copy .product-meta{width:100%;margin-bottom:40px}
.scene-copy h3{margin-bottom:20px}
.scene-note{font-size:15px;line-height:1.7;color:#aeb9c2;max-width:32ch;margin:0 0 24px}
.scene.is-live{height:340vh;height:340svh}
.scene.is-live .scene-stage{position:sticky;top:0;height:100vh;height:100svh}
.scene.is-live .scene-grid{height:100%;padding-top:40px;padding-bottom:40px}

/* Strength Programs: the session */
.sp-scene{--sp-bg:#131117;--sp-panel:#221f27;--sp-line:#34303b;--sp-ink:#f1ecf6;--sp-muted:#a79fb2;--sp-lilac:#d8b4fe;--sp-green:#34d399;background:radial-gradient(ellipse 60% 55% at 58% 50%,#221c2b 0%,var(--sp-bg) 70%)}
.sp-scene .scene-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1fr) minmax(0,.9fr)}
.sp-scene.is-live .scene-grid{padding-bottom:clamp(120px,19vh,190px)}
.sp-scene:not(.is-live) .sp-counter{position:static;padding-bottom:40px}
.sp-rig{position:relative;display:grid;place-items:center;perspective:1100px;min-width:0}
.sp-counter{position:absolute;left:0;right:0;bottom:clamp(8px,2.5vh,28px);display:flex;flex-direction:column;align-items:center;pointer-events:none;z-index:0}
.scene-grid{position:relative;z-index:1}
.sp-counter span{font-size:clamp(64px,9vw,140px);font-weight:700;letter-spacing:-.06em;line-height:1;color:transparent;-webkit-text-stroke:1px rgb(216 180 254/45%);font-variant-numeric:tabular-nums}
.sp-counter small{margin-top:10px;font:12px/1.4 monospace;letter-spacing:.1em;text-transform:uppercase;color:var(--sp-muted)}
.sp-phone{position:relative;z-index:1;width:min(250px,100%);padding:8px;border-radius:36px;background:#0b0a0d;box-shadow:0 0 0 1px #3a3542,0 40px 80px #00000080,0 0 90px rgb(216 180 254/16%);transform-style:preserve-3d;will-change:transform}
.sp-screen{position:relative;aspect-ratio:355/789;overflow:hidden;border-radius:29px;background:var(--sp-panel)}
.sp-shot{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top;opacity:0;transform:scale(1.03);transition:opacity .5s ease,transform .6s cubic-bezier(.2,.8,.2,1)}
.sp-shot.is-active{opacity:1;transform:none}
.sp-log{position:relative;min-width:0;padding:18px;border:1px solid var(--sp-line);border-radius:16px;background:rgb(34 31 39/72%);backdrop-filter:blur(6px);color:var(--sp-ink)}
.sp-log-head{display:flex;justify-content:space-between;gap:12px;margin:0 0 12px;font:12px/1.5 monospace;color:var(--sp-muted)}
.sp-log-head span:first-child{color:var(--sp-lilac);font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.sp-log ol{display:grid;gap:6px;list-style:none;margin:0;padding:0}
.sp-log li{position:relative;display:flex;justify-content:space-between;gap:10px;padding:9px 12px 9px 34px;border-radius:9px;border:1px solid transparent;font-size:13.5px;color:var(--sp-muted);transition:color .25s,background .25s,border-color .25s}
.sp-log li::before{content:'';position:absolute;left:11px;top:50%;width:14px;height:14px;margin-top:-7px;border-radius:4px;border:1.5px solid #5b5466;transition:background .25s,border-color .25s}
.sp-log li span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap}
.sp-log li.is-current{color:var(--sp-ink);border-color:rgb(216 180 254/50%);background:#2b2632}
.sp-log li.is-current::before{border-color:var(--sp-lilac)}
.sp-log li.is-done{color:var(--sp-ink)}
.sp-log li.is-done::before{background:var(--sp-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5' fill='none' stroke='%23131117' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;border-color:var(--sp-green)}
.sp-pr{--stamp:1;display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:14px 0 0;padding:12px 14px;border-radius:10px;background:linear-gradient(90deg,rgb(245 176 66/18%),rgb(216 180 254/12%));border:1px solid rgb(245 176 66/45%);color:#f5c26b;opacity:var(--stamp);transform:scale(calc(1.25 - var(--stamp)*.25)) rotate(calc((1 - var(--stamp))*-6deg));transform-origin:50% 50%}
.sp-pr b{font-size:13px;letter-spacing:.06em;text-transform:uppercase}
.sp-pr span{font-size:20px;font-weight:700;font-variant-numeric:tabular-nums}

/* Narrative Pro: the edit */
.np-scene{--np-bg:#07101c;--np-paper:#0f1d31;--np-line:#1e2d44;--np-ink:#eaf0f8;--np-muted:#93a3b8;--np-brand:#2dd4bf;--np-green:#4ade80;--np-gold:#d99a54;--np-blue:#6aa5f0;background:radial-gradient(ellipse 60% 60% at 65% 45%,#0f2238 0%,var(--np-bg) 72%)}
.np-scene .scene-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr)}
.np-desk{display:grid;gap:18px;min-width:0}
.np-page{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 190px;grid-template-areas:"head head" "text notes";gap:18px 28px;padding:24px 26px 28px;border:1px solid var(--np-line);border-radius:14px;background:var(--np-paper);color:var(--np-ink);box-shadow:0 30px 70px #00000066;transition:border-color .4s}
.np-scene.is-strong .np-page{border-color:rgb(45 212 191/45%)}
.np-page-head{grid-area:head;display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--np-line)}
.np-label{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--np-muted)}
.np-grade{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:var(--np-muted);font-variant-numeric:tabular-nums}
.np-grade svg{width:28px;height:28px;transform:rotate(-90deg)}
.np-grade circle{fill:none;stroke:var(--np-line);stroke-width:4}
.np-grade .np-arc{stroke:var(--np-gold);stroke-dasharray:100;stroke-dashoffset:50;stroke-linecap:round;transition:stroke .4s}
.np-grade b{font-size:22px;color:var(--np-gold);transition:color .4s}
.np-scene.is-strong .np-arc{stroke:var(--np-green)}
.np-scene.is-strong .np-grade b{color:var(--np-green)}
.np-sentence{grid-area:text;margin:0;font-family:var(--serif);font-size:clamp(24px,2.6vw,38px);line-height:1.32;letter-spacing:-.025em;min-height:3.96em}
.np-w{--flag:0;--strike:0;text-decoration:underline wavy rgb(217 154 84/calc(var(--flag)*.8));text-decoration-thickness:1.5px;text-underline-offset:7px;background:linear-gradient(var(--np-gold),var(--np-gold)) 0 55%/calc(var(--strike)*100%) 2px no-repeat}
.np-old.is-gone{display:none}
.np-new{color:var(--np-ink)}
.np-caret{display:inline-block;width:2px;height:.95em;margin-left:3px;vertical-align:-.1em;background:var(--np-brand);opacity:0}
.np-new.is-typing .np-caret{opacity:1;animation:np-blink 1s steps(1) infinite}
.np-notes{grid-area:notes;display:flex;flex-direction:column;gap:10px;list-style:none;margin:0;padding:0 0 0 18px;border-left:1px dashed #2c3f5c}
.np-notes li{position:relative;font-family:'Segoe Print','Bradley Hand',var(--serif);font-size:15px;line-height:1.3;color:var(--np-gold);opacity:0;transform:translateX(10px) rotate(-1.5deg);transition:opacity .35s,transform .45s cubic-bezier(.2,.8,.2,1),color .3s}
.np-notes li::before{content:'→';position:absolute;left:-16px;color:inherit;font-family:var(--sans);font-size:12px;top:2px}
.np-notes li.is-on{opacity:1;transform:rotate(-1.5deg)}
.np-notes li.is-fixed{color:var(--np-green)}
.np-notes li.is-fixed::before{content:'✓'}
.np-notes li.is-fixed span{text-decoration:line-through;text-decoration-color:rgb(74 222 128/60%)}
.np-docs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.np-doc{display:flex;flex-direction:column;gap:8px;min-width:0;padding:14px 14px 16px;border-radius:10px;background:#f4f6fa;color:#0f172a;box-shadow:0 18px 40px #0000004d;transform-origin:50% 0}
.np-doc p{margin:0;font-size:13.5px;line-height:1.45}
.np-pill{align-self:flex-start;padding:2px 8px;border-radius:999px;background:#fde9d4;color:#8a4b12;font-size:11px;font-weight:700}
.np-ats{margin-top:auto;align-self:flex-start;padding:2px 7px;border-radius:4px;border:1px solid #9cc0f2;color:#1f5fb4;font-size:11px}
@keyframes np-blink{50%{opacity:0}}

@media(max-width:1050px){
  .sp-scene .scene-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .sp-scene .scene-copy{grid-column:1/-1}
  .scene.is-live .scene-copy .scene-note,.scene.is-live .scene-copy .product-meta{display:none}
  .np-scene .scene-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .scene-grid{gap:20px;padding-top:44px;padding-bottom:44px}
  .scene.is-live .scene-grid{align-content:center;padding-top:20px;padding-bottom:20px}
  .scene.is-live .scene-copy .product-description{display:none}
  .scene-copy h3{font-size:34px;margin-bottom:10px}
  .scene-copy h3 br{display:none}
  .sp-scene .scene-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1fr);gap:14px}
  .sp-phone{width:100%;border-radius:26px;padding:5px}
  .sp-screen{border-radius:22px}
  .sp-counter span{font-size:60px}
  .sp-scene.is-live .scene-grid{padding-bottom:110px}
  .sp-log{padding:12px}
  .sp-log li{padding:6px 8px 6px 28px;font-size:12px;flex-direction:column;gap:0}
  .sp-log li::before{left:8px;width:12px;height:12px;margin-top:-6px}
  .sp-log-head{flex-direction:column;gap:0;margin-bottom:8px}
  .sp-pr{flex-direction:column;gap:2px;padding:9px 10px}
  .sp-pr span{font-size:16px}
  .np-page{grid-template-columns:1fr;grid-template-areas:"head" "text" "notes";padding:16px 16px 18px;gap:12px}
  .np-sentence{font-size:23px;min-height:4em}
  .np-notes{flex-direction:row;flex-wrap:wrap;gap:6px 14px;padding:10px 0 0 16px;border-left:0;border-top:1px dashed #2c3f5c}
  .np-notes li{font-size:13px;padding-left:14px}
  .np-notes li::before{left:0}
  .np-docs{gap:8px}
  .np-doc{padding:10px}
  .np-doc p{font-size:11.5px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
  .np-ats{display:none}
}
@media(max-width:760px) and (max-height:720px){.scene.is-live .scene-copy .text-link{display:none}}
@media(prefers-reduced-motion:reduce){.sp-shot,.np-notes li{transition:none}}
