/* The story begins after the complete chess viewport; it never resizes the game. */
.chesstive-story,.chesstive-about { background:#000; color:#f4f0df; }
.chesstive-story { position:relative; width:100%; height:300vh; min-height:1800px; }
.story-stage { position:sticky; top:0; display:grid; place-items:center; height:100vh; overflow:hidden; background:#000; }
.story-scroll-hint { position:absolute; top:clamp(8px,1vw,16px); left:50%; width:40px; height:40px; transform:translateX(-50%); pointer-events:none; opacity:var(--story-hint-opacity,0); }
.story-scroll-hint::before { content:''; display:block; width:25px; height:25px; margin:0 auto; border-right:5px solid #e7b84f; border-bottom:5px solid #e7b84f; border-radius:2px; transform:rotate(45deg); animation:story-arrow-breathe 2s ease-in-out infinite; }
.story-scroll-action { position:absolute; inset:0; z-index:1; width:100%; height:100%; margin:0; padding:0; border:0; background:transparent; appearance:none; pointer-events:auto; cursor:pointer; }
.story-scroll-action:focus-visible { outline:2px solid #e7b84f; outline-offset:6px; }
.story-scroll-action:disabled { pointer-events:none; }
@keyframes story-arrow-breathe { 0%,100% { transform:rotate(45deg) scale(.86); opacity:.55; } 50% { transform:rotate(45deg) scale(1.18); opacity:1; } }
.story-lockup { display:flex; align-items:center; justify-content:center; max-width:96vw; padding:0 3vw; }
.story-logo-frame { width:clamp(105px,15vw,250px); flex:none; overflow:visible; }
.story-logo { display:block; width:clamp(105px,15vw,250px); max-height:40vh; height:auto; object-fit:contain; }
.story-copy { min-width:0; }
.story-title { margin:0; color:#f4f0df; font:400 clamp(68px,11.5vw,215px)/.85 "Bebas Neue",Impact,sans-serif; letter-spacing:.015em; white-space:nowrap; }
.story-tagline { margin:clamp(8px,1.4vw,18px) 0 0; color:#d8bb72; font:700 clamp(13px,1.5vw,23px)/1.3 system-ui,sans-serif; letter-spacing:.23em; text-transform:uppercase; }
.story-next { position:absolute; bottom:clamp(26px,5vh,60px); margin:0; color:#e7b84f; font:400 clamp(18px,2vw,28px)/1 "Bebas Neue",Impact,sans-serif; letter-spacing:.16em; }
.story-motion .story-logo-frame { width:var(--story-logo-width,0px); }
.story-motion .story-title { opacity:var(--story-title-opacity,0); scale:var(--story-title-scale,.48); transform-origin:left center; }
.story-motion .story-logo { opacity:var(--story-logo-opacity,0); scale:var(--story-logo-scale,.68); transform-origin:center; }
.story-motion .story-tagline { opacity:var(--story-tagline-opacity,0); translate:0 var(--story-tagline-offset,25px); }
.story-motion .story-next { opacity:var(--story-next-opacity,0); translate:0 var(--story-next-offset,16px); }
.chesstive-about { padding:clamp(80px,10vw,150px) max(22px,calc((100vw - 1260px)/2)) 130px; }
.about-eyebrow { margin:0 0 18px; color:#e7b84f; font:400 22px/1 "Bebas Neue",Impact,sans-serif; letter-spacing:.18em; text-transform:uppercase; }
.about-intro { padding-bottom:clamp(80px,11vw,150px); border-bottom:1px solid #4c493c; }
.about-intro h2 { max-width:1000px; margin:0 0 28px; font:400 clamp(76px,11vw,156px)/.83 "Bebas Neue",Impact,sans-serif; letter-spacing:.018em; }
.about-intro .lead { max-width:900px; margin:0 0 24px; color:#f4f0df; font:400 clamp(23px,2.6vw,38px)/1.25 "Bebas Neue",Impact,sans-serif; }
.chesstive-about p { max-width:820px; }
.about-intro p:not(.about-eyebrow):not(.lead),.about-section p,.about-section li { color:#c8cec9; font:400 clamp(16px,1.3vw,19px)/1.72 system-ui,sans-serif; }
.about-contents { display:flex; flex-wrap:wrap; gap:12px; margin-top:34px; }
.about-contents a,.about-action { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:9px 15px; border:1px solid #766542; border-radius:3px; color:#f4f0df; text-decoration:none; font:400 20px/1 "Bebas Neue",Impact,sans-serif; letter-spacing:.05em; }
.about-contents a:hover,.about-action:hover { background:#b89450; color:#111; }
.about-section { display:grid; grid-template-columns:minmax(175px,.5fr) minmax(0,1.5fr); gap:clamp(22px,4vw,68px); padding:clamp(78px,9vw,136px) 0; border-bottom:1px solid #36352e; }
.about-section .about-index { margin:0; color:#b89450; font:400 clamp(56px,6vw,94px)/.9 "Bebas Neue",Impact,sans-serif; }
.about-section h3 { max-width:890px; margin:0 0 26px; font:400 clamp(56px,6vw,98px)/.9 "Bebas Neue",Impact,sans-serif; letter-spacing:.018em; }
.about-section h4 { margin:36px 0 8px; color:#f4f0df; font:400 clamp(27px,3vw,38px)/1 "Bebas Neue",Impact,sans-serif; letter-spacing:.025em; }
.about-section p { margin:0 0 18px; }
.about-section ul,.about-section ol { max-width:820px; margin:15px 0 22px; padding-left:1.3em; }
.about-section li + li { margin-top:8px; }
.about-callout { max-width:850px; margin:30px 0; padding:21px 26px; border-left:3px solid #b89450; background:#141812; }
.about-callout p:last-child { margin-bottom:0; }
.about-modes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; max-width:940px; margin:26px 0; }
.about-mode { padding:23px 20px; border:1px solid #41443a; background:#101713; }
.about-mode strong { display:block; margin-bottom:10px; color:#f4f0df; font:400 31px/1 "Bebas Neue",Impact,sans-serif; }
.about-mode p { margin:0; font-size:15px; line-height:1.55; }
.about-end { padding-top:120px; text-align:center; }
.about-end h3 { margin:0 0 15px; font:400 clamp(60px,9vw,130px)/.9 "Bebas Neue",Impact,sans-serif; }
.about-end p { margin:0 auto 25px; }
.about-end .about-action { border-color:#b89450; background:#b89450; color:#151a16; }
.about-end .about-action:hover { background:#d5b975; }
.about-section a:not(.about-action) { color:#e7b84f; text-underline-offset:3px; }
.about-section a:focus-visible,.about-contents a:focus-visible,.about-action:focus-visible { outline:2px solid #e7b84f; outline-offset:4px; }
@media(max-width:850px) {
  .chesstive-story { height:230vh; min-height:1150px; }
  .story-lockup { padding:0 12px; }
  .story-logo-frame,.story-logo { width:clamp(70px,12vw,120px); }
  .story-title { font-size:clamp(47px,11vw,90px); }
  .story-tagline { letter-spacing:.09em; }
  .about-section { grid-template-columns:1fr; gap:15px; }
  .about-modes { grid-template-columns:1fr; }
}
@media(max-width:520px) {
  .story-title { font-size:clamp(37px,10vw,58px); }
  .story-logo-frame,.story-logo { width:clamp(52px,13vw,78px); }
  .story-tagline { font-size:11px; }
  .about-intro h2 { font-size:66px; }
}
@media(prefers-reduced-motion:reduce) {
  .chesstive-story { height:100vh; min-height:540px; }
  .story-scroll-hint::before { animation:none; }
  .story-motion .story-logo-frame { width:clamp(105px,15vw,250px); }
  .story-motion .story-title,.story-motion .story-logo,.story-motion .story-tagline,.story-motion .story-next { opacity:1; scale:1; translate:none; }
}

button.about-action { appearance:none; cursor:pointer; margin:0; }
