/* One page rhythm for the six chapters. */
html { scroll-padding-top:142px; }
.presentation { --violet:#7557d9; --paper:#f6f5f0; --ink:#142025; --muted:#65716d; background:var(--paper); }
.presentation .shell { width:min(1320px,calc(100% - 96px)); }
.presentation-header { position:sticky; top:0; z-index:20; background:#f6f5f0f5; backdrop-filter:blur(16px); border-bottom:1px solid #dfe2d9; }
.header-inner { height:78px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.header-label { display:flex; align-items:center; gap:9px; font-size:12px; color:var(--muted); }
.live-dot { display:inline-block; width:6px; height:6px; border-radius:50%; background:#629870; flex-shrink:0; }
.header-demo { display:flex; align-items:center; gap:24px; padding:12px 17px; border:1px solid #cdd4c9; border-radius:99px; font-size:12px; font-weight:700; }
.header-demo:hover { background:var(--ink); color:var(--lime); }
.chapter-nav { display:flex; justify-content:space-between; gap:12px; padding:15px 0 16px; }
.chapter-nav a { display:flex; align-items:center; gap:10px; font-size:11px; color:#7c847d; white-space:nowrap; }
.chapter-nav a span { font-size:10px; font-variant-numeric:tabular-nums; }
.chapter-nav a[aria-current] { color:var(--ink); font-weight:750; }
.chapter-nav a[aria-current] span { background:var(--ink); color:var(--lime); padding:3px 5px; margin:-3px -5px; border-radius:5px; }
.reading-progress { height:2px; background:#e4e6dd; }
.reading-progress span { display:block; width:16.66%; height:100%; background:var(--violet); transition:width .25s ease-out; }
.skip-link { position:fixed; top:10px; left:20px; transform:translateY(-160%); z-index:100; background:var(--ink); color:white; padding:12px; border-radius:8px; }
.skip-link:focus { transform:none; }
.story-layout { display:grid; grid-template-columns:1fr 1.05fr; gap:65px; position:relative; }
.scene-list { grid-column:1; grid-row:1; min-width:0; }
.story-scene { min-height:max(700px,calc(100svh - 112px)); display:flex; align-items:center; padding:48px 0 64px; scroll-margin-top:0; }
.scene-copy { width:100%; max-width:465px; }
.story-scene .eyebrow { font-size:10px; color:#59635a; margin-bottom:24px; }
.scene-number { color:#8d9489; margin-right:12px; font-variant-numeric:tabular-nums; }
.story-scene h1,.story-scene h2 { font-size:clamp(44px,4.2vw,64px); line-height:1.06; letter-spacing:-.055em; font-weight:700; margin:0; }
.story-scene h1 em,.story-scene h2 em { font-family:Georgia,serif; font-weight:400; color:var(--violet); letter-spacing:-.055em; }
.scene-description { font-size:16px; line-height:1.7; color:var(--muted); max-width:440px; margin:24px 0 26px; }
.scene-next { display:inline-flex; align-items:center; gap:26px; padding-bottom:9px; border-bottom:1px solid #cbd0c3; font-size:12px; font-weight:650; }
.scene-next span { font-size:17px; color:var(--violet); }
.scene-next:hover { color:var(--violet); }
.scroll-hint { display:flex; align-items:center; gap:9px; font-size:11px; color:#90968b; margin-top:32px; }
.scroll-hint>span { font-size:19px; }
.scene-note { display:flex; align-items:center; gap:14px; max-width:440px; padding:16px 0; margin:0 0 26px; border-top:1px solid #dde1d5; border-bottom:1px solid #dde1d5; }
.scene-note p { font-size:12px; line-height:1.65; color:#748072; margin:0; }
.note-icon { width:32px; height:32px; display:grid; place-items:center; border-radius:50%; background:#e6eadf; color:#617658; font-size:20px; flex-shrink:0; }
.material-tags { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:28px; }
.material-tags span { padding:7px 11px; border:1px solid #d5dbcd; border-radius:99px; color:#6b7b65; font-size:11px; }
.small-note { max-width:400px; margin-top:20px; font-size:11px; color:#87917f; line-height:1.7; }
.visual-stage { grid-column:2; grid-row:1; position:sticky; align-self:start; min-width:0; display:flex; flex-direction:column; }
.stage-panels { position:relative; flex:1; min-height:0; display:flex; }
.mobile-scene { display:none; }
.story-contact { display:grid; grid-template-columns:1.25fr .75fr; gap:90px; align-items:center; padding:80px 0; }
.story-contact h2 { font-size:clamp(38px,4.2vw,58px); }
.story-contact>div>p:not(.eyebrow) { max-width:450px; font-size:14px; line-height:1.8; color:var(--muted); margin-top:24px; }
.story-contact .eyebrow { font-size:10px; }
.presentation .contact-actions .button { border-radius:99px; }
.story-contact .contact-actions small { font-size:10px; }
.presentation .footer { padding:30px 0 36px; }
.presentation .footer>a:not(.brand) { font-size:10px; }
@media(min-width:1500px) { .presentation .shell { width:min(1440px,calc(100% - 150px)); } .story-layout { gap:110px; } }
@media(max-width:1100px) and (min-width:801px) {
  .presentation .shell { width:calc(100% - 56px); }
  .story-layout { grid-template-columns:.95fr 1fr; gap:32px; }
  .story-scene h1,.story-scene h2 { font-size:48px; }
  .scene-description { font-size:15px; }
  .scene-copy { max-width:390px; }
  .chapter-nav a { font-size:10px; gap:7px; }
}
@media(max-width:800px) {
  html { scroll-padding-top:132px; }
  .presentation .shell { width:calc(100% - 40px); }
  .header-inner { height:70px; gap:12px; }
  .header-label { display:none; }
  .header-demo { font-size:10px; padding:10px 13px; gap:14px; }
  .chapter-nav { overflow-x:auto; justify-content:flex-start; gap:26px; padding:14px 0 17px; scrollbar-width:none; }
  .chapter-nav::-webkit-scrollbar { display:none; }
  .chapter-nav a { font-size:10px; }
  .story-layout { display:block; }
  .story-scene { display:grid; grid-template-columns:1fr; gap:28px; min-height:0; padding:40px 0 48px; border-bottom:1px solid #e1e3d8; }
  .scene-copy { max-width:600px; }
  .story-scene h1,.story-scene h2 { font-size:clamp(42px,8.3vw,58px); }
  .story-scene .eyebrow { margin-bottom:20px; font-size:9px; }
  .scene-description { font-size:15px; margin-top:20px; max-width:100%; }
  .scroll-hint { display:none; }
  .scene-note { padding:13px 0; }
  .story-contact { grid-template-columns:1fr; gap:28px; padding:55px 0; }
  .story-contact h2 { font-size:43px; }
  .presentation .footer { gap:20px; }
}
@media(max-width:400px) { .presentation .shell { width:calc(100% - 32px); } .header-inner .brand { font-size:11px; } .header-inner .brand small { font-size:7px; } .header-inner .brand-mark { width:33px; height:33px; } .header-demo { font-size:9px; gap:8px; } }
@media(prefers-reduced-motion:reduce) { .reading-progress span { transition:none; } }
