/* The final three chapters share one continuous cinematic stage. */
.focus-story {
    --story-label: .75rem;
    --story-body: clamp(.9375rem, 1.2vw, 1.125rem);
    --story-title: clamp(2rem, 4.6vw, 4.25rem);
    --story-display: clamp(2.3rem, 6vw, 5.5rem);
    --story-quote: clamp(2.7rem, 5.8vw, 5.2rem);
    --story-ink: #e7f0fb;
    --story-muted: #aabbd1;
    position: relative; z-index: 2;
    margin: 0; padding: 0; background: #060914;
    color: var(--story-ink); isolation: isolate;
}
.focus-story.is-cinematic { height: calc(100svh + 3400px); }
.focus-story__stage { position: relative; overflow: hidden; background: #060914; }
.is-cinematic .focus-story__stage { position: sticky; top: 0; height: 100svh; }
.focus-story__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.story-horizon { position: absolute; z-index: 1; left: 50%; top: 40%; width: min(74vw, 1050px); height: auto; aspect-ratio: 2752 / 1536; object-fit: cover; background: transparent; pointer-events: none; opacity: 0; mix-blend-mode: screen; mask-image: radial-gradient(ellipse 49% 48% at center,#000 34%,transparent 100%); will-change: transform,opacity; }
.focus-story__heading { position: absolute; z-index: 3; top: max(110px, 12vh); left: max(32px, calc((100% - 1136px)/2)); right: 32px; display: flex; align-items: center; justify-content: space-between; }
.focus-story__heading h2 { font: 500 var(--story-label)/1.4 "Sora", sans-serif; letter-spacing: .16em; text-transform: uppercase; margin: 0; color: #b8cee6; }
.focus-story__skip { color: #92a8c0; font-size: var(--story-label); padding: 14px 0 14px 20px; text-decoration: none; }
.focus-story__skip:hover { color: #e6f1ff; }
.story-chapter { position: relative; z-index: 2; padding: 80px 24px; }
.is-cinematic .story-chapter { position: absolute; left: max(32px, calc((100% - 1136px)/2)); top: 38%; width: 43%; max-width: 490px; padding: 0; }
.story-chapter__index { color: var(--chapter-accent, #a4ceff); font: 500 var(--story-label)/1.4 "Sora", sans-serif; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 22px; }
.story-chapter h3 { font: 500 var(--story-title)/1.08 "Sora", sans-serif; letter-spacing: -.045em; text-wrap: balance; color: var(--story-ink); margin: 0 0 24px; }
.story-chapter__body { font-size: var(--story-body); line-height: 1.65; color: var(--story-muted); max-width: 38ch; margin: 0; }
.story-visual { position: absolute; z-index: 1; left: 72%; top: 44%; width: min(44vw, 560px); aspect-ratio: 1; pointer-events: none; transform: translate(-50%,-50%); will-change: transform, opacity; }
.story-visual img, .story-visual video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; mask-image: radial-gradient(ellipse 48% 48% at 50% 50%, #000 58%, transparent 100%); }
.story-visual__label { position: absolute; bottom: 10%; left: 0; right: 0; color: #c5d6e9; font: 500 var(--story-label)/1.4 "Sora",sans-serif; text-align: center; letter-spacing: .1em; opacity: 0; }
.story-convergence { position: relative; padding: 120px 24px; text-align: center; z-index: 3; }
.is-cinematic .story-convergence { position: absolute; top: 62%; left: 50%; width: min(900px, 88%); padding: 0; transform: translate(-50%,0); }
.story-convergence h3 { font: 500 var(--story-display)/1.08 "Sora", sans-serif; letter-spacing: -.055em; margin: 0 0 22px; background: linear-gradient(170deg,#fff 5%,#cbe9ff 45%,#83a7d8); background-clip: text; -webkit-background-clip: text; color: transparent; text-wrap: balance; }
.story-convergence__body { font-size: var(--story-body); line-height: 1.65; max-width: 65ch; color: #b6c8dc; margin: 0 auto; }
.story-nav { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); width: min(720px, calc(100% - 64px)); z-index: 5; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.story-nav button { --step: 0; position: relative; border: 0; border-top: 1px solid #344252; padding: 18px 0 12px; background: transparent; color: #7f94ad; text-align: left; font: 500 var(--story-label)/1.4 "Sora", sans-serif; cursor: pointer; min-height: 48px; }
.story-nav button::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; transform: scaleX(var(--step)); transform-origin: left; background: #aad9fc; }
.story-nav button[aria-current="step"], .story-nav button:hover { color: #e4f2ff; }
.story-nav button span { display: block; color: #70869d; margin-bottom: 6px; }
.story-nav button:focus-visible, .focus-story a:focus-visible { outline: 2px solid #9bd1fa; outline-offset: 5px; }
.focus-story .manifesto-quote { position: relative; z-index: 4; margin: 0; padding: 100px 24px; background: transparent; }
.is-cinematic .manifesto-quote { position: absolute; left: 0; top: 50%; width: 100%; padding: 0; transform: translateY(-50%); }
.focus-story .manifesto-quote::before, .focus-story .manifesto-quote::after, .focus-story .quote-stars, .focus-story .manifesto-quote__caret { display: none; }
.focus-story .manifesto-quote__text { font-family: "Cormorant Garamond", Georgia, serif; font-size: var(--story-quote); font-weight: 500; line-height: 1.16; letter-spacing: -.025em; text-shadow: none; max-width: 960px; padding: 0; }
.focus-story .manifesto-quote__mark { color: #a6c7e3; opacity: 1; font-size: 1em; transition: none; }
.focus-story .manifesto-quote__rule { width: 160px; transition: none; margin-top: 38px; }
.focus-story .manifesto-quote__signature { opacity: 1; transform: none; transition: none; margin-top: 26px; }
.focus-story .manifesto-quote__wordmark { font-family: "Sora", sans-serif; font-size: var(--story-label); font-weight: 500; letter-spacing: .2em; line-height: 1.6; }
.focus-story .manifesto-quote__tagline { font-size: 1rem; }
/* A single pass of light across the signature when the closing scene arrives. */
.focus-story .manifesto-quote__wordmark {
    background-image: linear-gradient(105deg, transparent 43%, rgba(214,236,255,.55) 47%, #fff 50%, rgba(214,236,255,.55) 53%, transparent 57%), linear-gradient(180deg, #e8eef9 0%, #c5d0e4 55%, #8da0bf 100%);
    width: fit-content; margin-inline: auto;
    background-size: 260% 100%, 100% 100%; background-position: 100% 0, 0 0; background-repeat: no-repeat;
    -webkit-background-clip: text; background-clip: text;
}
.focus-story .manifesto-quote__wordmark.is-glint { animation: story-wordmark-glint 1.25s cubic-bezier(.3,.1,.25,1) .12s 1 both; }
@keyframes story-wordmark-glint {
    0% { background-position: 100% 0, 0 0; filter: brightness(1) drop-shadow(0 0 0 rgba(200,228,255,0)); }
    45% { filter: brightness(1.28) drop-shadow(0 0 10px rgba(200,228,255,.45)); }
    100% { background-position: 0% 0, 0 0; filter: brightness(1) drop-shadow(0 0 0 rgba(200,228,255,0)); }
}
.story-quote-word { display: inline-block; will-change: transform, opacity; }
.story-quote-next { display: inline-block; margin-top: 48px; padding: 14px; color: #90a7c1; font: 500 var(--story-label)/1.4 "Sora", sans-serif; letter-spacing: .06em; text-decoration: none; }
.story-quote-next:hover { color: #e3f1ff; }
.story-contact-bridge { height: 0; position: relative; z-index: 3; pointer-events: none; }
.story-contact-bridge::before { content: ""; position: absolute; top: -170px; height: 340px; left: 0; right: 0; background: radial-gradient(ellipse 55% 48% at 50% 50%, #2879a923, #244c8310 40%, transparent 75%); }
.story-contact-bridge::after { content: ""; position: absolute; top: 0; left: 20%; right: 20%; height: 1px; background: linear-gradient(90deg,transparent,#81badd32,transparent); }
.focus-story ~ .closing-sequence { position: relative; z-index: 2; }
.focus-story ~ .closing-sequence::before { display: none; }
.focus-story ~ .closing-sequence .contact { padding-top: 100px; }
.focus-story:not(.is-cinematic) .focus-story__stage { padding-top: 100px; }
.focus-story:not(.is-cinematic) .focus-story__heading { position: relative; inset: auto; margin: 20px 24px; }
.focus-story:not(.is-cinematic) .story-nav, .focus-story:not(.is-cinematic) .story-visual, .focus-story:not(.is-cinematic) .focus-story__canvas, .focus-story:not(.is-cinematic) .story-horizon { display: none; }
.focus-story:not(.is-cinematic) .story-convergence::before { content: ""; display: block; width: min(640px,100%); aspect-ratio: 16/9; margin: 0 auto 2rem; background: url("singularity-hero.png") center / contain no-repeat; mask-image: radial-gradient(ellipse at center,#000 30%,transparent 72%); }
.focus-story:not(.is-cinematic) .story-chapter { max-width: 780px; margin: 0 auto; padding-top: 48px; padding-bottom: 48px; }
.story-static-image { display: none; }
.focus-story:not(.is-cinematic) .story-static-image { display: block; width: min(340px,100%); height: 260px; object-fit: cover; object-position: 50% 50%; margin-bottom: 24px; mask-image: radial-gradient(ellipse at center,#000 40%,transparent 72%); }
@media (max-width: 760px) {
 .focus-story.is-cinematic { height: calc(100svh + 2500px); }
 .focus-story__heading { top: 112px; left: 24px; right: 24px; }
 .focus-story__skip { font-size: 12px; }
 .is-cinematic .story-chapter { left: 24px; right: 24px; width: auto; max-width: none; top: 55%; }
 .story-chapter h3 { font-size: 2rem; margin-bottom: 16px; max-width: 100%; }
 .story-chapter__index { margin-bottom: 14px; font-size: 12px; }
 .story-chapter__body { font-size: .9375rem; line-height: 1.55; max-width: none; }
 .story-visual { left: 50%; top: 34%; width: min(86vw, 360px); }
 .story-nav { bottom: 22px; width: calc(100% - 48px); gap: 14px; }
 .story-nav button { font-size: 12px; padding-top: 12px; }
 .story-nav button span { font-size: 12px; }
 .is-cinematic .story-convergence { top: 58%; width: calc(100% - 48px); }
 .story-convergence h3 { font-size: 2.3rem; margin-bottom: 18px; }
 .story-convergence__body { font-size: .9375rem; line-height: 1.55; }
 .story-horizon { width: 145vw; }
 .focus-story .manifesto-quote > .container { padding: 0 24px; }
 .focus-story .manifesto-quote__text { font-size: clamp(2.5rem,10vw,3.2rem); }
 .focus-story .manifesto-quote__rule { margin-top: 28px; }
 .focus-story .manifesto-quote__wordmark { font-size: 12px; }
 .focus-story .manifesto-quote__tagline { font-size: .9375rem; }
 .focus-story ~ .closing-sequence .contact { padding-top: 80px; }
}
@media (min-width: 761px) and (max-height: 780px) {
 .focus-story__heading { top: 100px; }
 .is-cinematic .story-chapter { top: 31%; }
 .story-chapter h3 { font-size: 3rem; }
 .story-chapter__body { font-size: 1rem; }
 .story-convergence h3 { font-size: 3.75rem; margin-bottom: 14px; }
 .story-convergence__body { font-size: 1rem; }
 .story-nav { bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
 .focus-story *, .focus-story ~ .closing-sequence .contact > .container { transition: none !important; animation: none !important; }
}
