/* Shared composition; scene artwork remains independently generated. */
@font-face{font-family:OL Knewave;src:url('/site/story/assets/fonts/hero/knewave.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:OL Chakra;src:url('/site/story/assets/fonts/hero/chakra-petch-bold.ttf') format('truetype');font-weight:700;font-display:swap}
.story-home{--ol-header-height:calc(101px + env(safe-area-inset-top,0px))}
.ol-hero{height:100svh;min-height:900px;position:relative;isolation:isolate;overflow:hidden;container-type:size;--scene-unit:min(1cqw,1.6cqh);color:#fff;background:#382519}
.ol-filters{position:absolute;width:0;height:0;pointer-events:none}
.ol-scene{position:absolute;inset:0;isolation:isolate;z-index:0}
.ol-plate{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 50%;z-index:-3}
.ol-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(0,0,0,.38),rgba(0,0,0,.18) 35%,transparent 70%,rgba(0,0,0,.06)),linear-gradient(180deg,transparent 46%,rgba(0,0,0,.06))}
.ol-copy{position:absolute;left:4cqw;top:9cqh;width:46cqw;z-index:7}
.story-home .ol-hero h1{font:900 calc(6.1 * var(--scene-unit))/1.02 'Archivo','Arial Narrow',sans-serif;font-stretch:85%;font-variation-settings:'wdth' 85;letter-spacing:-.025em;word-spacing:.12em;margin:0;color:#fff;text-transform:none;text-shadow:0 2px 8px #0002;transform:none}
.ol-copy h1 span{display:block}.ol-copy h1 .ol-last{display:inline-block;position:relative}
.ol-last:after{content:'';position:absolute;left:0;right:0;bottom:-.06em;height:6px;background:#ffcb1f;transform:rotate(-2deg)}
.story-home .ol-hero .ol-body-copy{font:500 clamp(22px,calc(1.8 * var(--scene-unit)),30px)/1.5 'Bricolage Grotesque',Arial,sans-serif;max-width:calc(36 * var(--scene-unit));text-shadow:0 2px 5px #0009;margin:calc(2.2 * var(--scene-unit)) 0 calc(1.8 * var(--scene-unit));color:#fff}
.ol-lu-scene{position:absolute;left:44.5%;top:79%;width:calc(32 * var(--scene-unit));z-index:4;transform:translate(-55%,-84%)}
.ol-lu-scene img{width:100%;display:block;image-rendering:pixelated;filter:url(#ol-pixel-alpha)}
.ol-lu-scene:before{content:'';position:absolute;width:50%;height:7%;left:29%;bottom:14%;background:#2b160d70;filter:blur(4px);border-radius:50%;z-index:-1}
.ol-output{position:absolute;width:calc(42 * var(--scene-unit));right:1.4cqw;bottom:28px;aspect-ratio:735/475;z-index:5}
.ol-tv{position:absolute;left:0;bottom:8%;width:80%;aspect-ratio:1437/1095;filter:drop-shadow(0 12px 12px #0005)}
.ol-tv-screen{position:absolute;left:10.9%;top:13.1%;width:78%;height:66.3%;border-radius:8%/9%;overflow:hidden;background:#000}
.ol-tv-screen img{width:100%;height:100%;object-fit:contain;display:block;image-rendering:pixelated}
.ol-tv-shell{position:absolute;inset:0;width:100%;height:100%}
.ol-cartridge{position:absolute;width:34%;right:0;bottom:0;aspect-ratio:1224/1285;transform:rotate(7deg);transform-origin:bottom center;filter:drop-shadow(0 12px 10px #0007)}
.ol-cartridge svg{display:block;width:100%;height:100%}.ol-signoff{display:none}
/* Preserve the site's original 8-bit sky, bricks, logo and Lu runner. */
.site-head.ol-animated-header{position:fixed;inset:0 0 auto;z-index:100;visibility:hidden;transform:translateY(-110%);transition:transform .24s ease,visibility .24s}
.site-head.ol-animated-header.is-visible{visibility:visible;transform:translateY(0)}
.site-head.ol-animated-header::before{display:none}
.site-head.ol-animated-header .wrap>a:first-child{display:flex;align-items:center;gap:18px}
.ol-header-descriptor{font:700 12px/1.3 Arial,sans-serif;padding-left:18px;border-left:1px solid #17151b35;align-self:center}
@media(max-width:1150px){.ol-header-descriptor{display:none}}
.story-home section[id]{scroll-margin-top:calc(var(--ol-header-height) + 24px)}
@media(min-width:1151px) and (max-height:780px){.ol-hero{min-height:760px}}
@media(min-width:761px) and (max-width:1150px){.ol-copy{top:10cqh;width:57cqw}.story-home .ol-hero h1{font-size:6.3cqw}.story-home .ol-hero .ol-body-copy{font-size:clamp(20px,2.15cqw,24px);max-width:41cqw;margin:24px 0}.ol-lu-scene{width:max(340px,37cqw)}.ol-output{width:41cqw}}
@media(max-width:760px){
 .story-home{--ol-header-height:calc(90px + env(safe-area-inset-top,0px))}
 .ol-hero{height:100svh;min-height:0}
 .ol-plate{object-position:100% 50%}.ol-shade{background:linear-gradient(90deg,#0006,transparent 72%),linear-gradient(180deg,#0003,transparent 28%,transparent 75%,#0002)}
 .ol-copy{left:22px;top:28px;width:calc(100% - 44px)}
 .story-home .ol-hero h1{font-size:clamp(32px,10vw,52px);line-height:1.02;letter-spacing:-.025em}
 .story-home .ol-hero .ol-body-copy{font-size:17px;line-height:1.4;max-width:58%;margin:22px 0 20px}
 .ol-lu-scene{left:34%;top:67%;width:min(76vw,295px)}.ol-output{width:min(72%,310px);right:1%;bottom:76px;aspect-ratio:1.29}
 .ol-tv{width:92%;bottom:26px}.ol-cartridge{width:43%;right:0;bottom:0}
}



/* White identity belongs to the photo. The animated site header arrives after it. */
.ol-hero-cta{gap:28px;padding:17px 23px;font-size:clamp(21px,1.7cqw,26px)}
.ol-hero-brand{position:absolute;left:4cqw;bottom:28px;z-index:7;display:flex;align-items:center;gap:22px;color:#fff;text-decoration:none}
.ol-hero-brand img{width:110px;height:92px;object-fit:contain;filter:brightness(0) invert(1)}
.ol-hero-brand span{border-left:1px solid #ffffff70;padding-left:22px;font:700 14px/1.4 Arial,sans-serif}
.ol-hero :is(a):focus-visible{outline:3px solid #fff;outline-offset:6px}
@media(max-width:760px){.ol-hero-cta{padding:14px 16px;font-size:14px;gap:15px}.ol-hero-brand{left:22px;bottom:14px;gap:14px}.ol-hero-brand img{width:66px;height:56px}.ol-hero-brand span{font-size:12px;padding-left:16px}}
/* The first section's heading clears the header as it enters at the hero boundary. */
.story-home #your-idea{scroll-margin-top:0;padding-top:calc(var(--ol-header-height) + 48px)}

@media(max-width:760px) and (max-height:740px){
 .ol-copy{top:22px}.story-home .ol-hero h1{font-size:clamp(29px,9vw,40px)}
 .story-home .ol-hero .ol-body-copy{font-size:15px;line-height:1.35;margin:18px 0 16px;max-width:61%}
 .ol-lu-scene{width:min(66vw,250px)}.ol-output{width:min(66%,275px);bottom:68px}
 .ol-hero-cta{padding:12px 14px;font-size:13px;gap:12px}
}

/* A compact story selector sits in the identity row, clear of the output group. */
.ol-carousel-controls{position:absolute;z-index:8;left:32%;bottom:28px;color:white;font:500 13px/1.3 'Bricolage Grotesque',Arial,sans-serif}
.ol-carousel-controls[hidden]{display:none}
.ol-carousel-caption{display:flex;gap:12px;align-items:center;margin:0 4px 6px}
.ol-carousel-buttons,.ol-carousel-dots{display:flex;align-items:center}
.ol-carousel-controls button{appearance:none;border:0;background:transparent;color:#fff;min-width:36px;height:38px;padding:0;cursor:pointer;display:grid;place-items:center;font:22px/1 Arial,sans-serif}
.ol-carousel-dots button{min-width:28px}.ol-carousel-dots span{width:6px;height:6px;border-radius:50%;background:#ffffff85;transition:width .2s,background .2s}.ol-carousel-dots [aria-pressed=true] span{width:20px;border-radius:5px;background:#ffcb1f}
.ol-carousel-controls button:hover{background:#ffffff18;border-radius:4px}.ol-carousel-controls button:focus-visible{outline:2px solid #ffcb1f;outline-offset:2px}
.ol-carousel-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
[data-scene=long-way-here] .ol-lu-scene{transform:translate(-55%,-87%)}
[data-scene=long-way-here] .ol-tv{width:72%;left:10%}
@media(min-width:761px){.ol-hero{min-height:min(760px,100svh)}}
@media(min-width:761px) and (max-width:1150px){.ol-carousel-controls{left:35%;bottom:24px}.ol-hero-brand{gap:12px}.ol-hero-brand img{width:85px}.ol-hero-brand span{padding-left:12px;font-size:12px}}
@media(max-width:760px){
 .ol-carousel-controls{left:auto;right:14px;bottom:12px}.ol-carousel-caption{justify-content:center;font-size:10px;gap:6px;margin:0 0 2px}
 .ol-carousel-controls button{min-width:30px;height:34px;font-size:19px}.ol-carousel-dots button{min-width:23px}
 .ol-hero-brand{left:18px;gap:9px}.ol-hero-brand span{font-size:10px;padding-left:9px}.ol-hero-brand img{width:58px}
 [data-scene=long-way-here] .ol-lu-scene{width:min(68vw,270px)}
 [data-scene=long-way-here] .ol-tv{width:82%;left:6%}
}
@media(max-width:760px) and (max-height:740px){
 .story-home .ol-hero .ol-body-copy{max-width:70%}
 [data-scene=long-way-here] .ol-lu-scene{width:min(58vw,220px)}
 [data-scene=long-way-here] .ol-tv{width:74%;left:14%;bottom:18px}
}
@media(min-width:761px) and (max-width:1150px){[data-scene=long-way-here] .ol-lu-scene{width:32cqw}.ol-hero[data-active-scene=long-way-here] .ol-body-copy{max-width:37cqw}}
@media(orientation:landscape) and (max-height:500px){
 .ol-hero{height:100svh;min-height:0}.ol-plate{object-position:50% 50%}
 .ol-copy{left:4cqw;top:22px;width:44cqw}
 .story-home .ol-hero h1{font-size:clamp(26px,4.2cqw,36px)}
 .story-home .ol-hero .ol-body-copy{font-size:14px;line-height:1.35;max-width:100%;margin:16px 0 14px}
 .ol-hero-cta{padding:10px 13px;font-size:12px;gap:15px}
 .ol-lu-scene,[data-scene=long-way-here] .ol-lu-scene{width:27cqw}
 .ol-output{width:35cqw;bottom:18px;right:1.5%;aspect-ratio:735/475}
 .ol-tv{width:80%;bottom:8%}.ol-cartridge{width:34%}
 [data-scene=long-way-here] .ol-tv{width:72%;left:10%;bottom:8%}
 .ol-hero-brand{left:4cqw;bottom:12px;gap:8px}.ol-hero-brand img{width:50px;height:42px}.ol-hero-brand span{font-size:9px;padding-left:8px}
 .ol-carousel-controls{left:32%;right:auto;bottom:10px}.ol-carousel-caption{font-size:10px;margin:0}.ol-carousel-controls button{height:28px;min-width:26px}
}
@media(prefers-reduced-motion:reduce){.ol-carousel-dots span,.site-head.ol-animated-header{transition:none}}
@media(min-width:761px) and (max-width:1024px) and (orientation:portrait){
 .ol-plate{object-position:100% 50%}.ol-lu-scene{width:42cqw}.ol-output{width:54cqw;bottom:100px}
 [data-scene=long-way-here] .ol-lu-scene{width:38cqw}
 [data-scene=long-way-here] .ol-tv{left:16%;width:72%}
}
@media(max-width:360px) and (max-height:600px){.story-home .ol-hero .ol-body-copy{max-width:100%;font-size:14px}.ol-shade{background:linear-gradient(180deg,#0006 0%,#0005 35%,transparent 55%),linear-gradient(90deg,#0005,transparent 85%)}}

/* Progress capsule and a separate, explicit pause/play control. */
.ol-carousel-caption{justify-content:center;margin-bottom:10px;text-shadow:0 1px 4px #000}
.ol-carousel-buttons{gap:10px}
.ol-carousel-buttons>[data-hero-prev],.ol-carousel-buttons>[data-hero-next]{display:none}
.ol-carousel-dots{padding:0 12px;background:#f0edf1eb;border-radius:30px;height:44px;gap:2px;box-shadow:0 2px 8px #0002}
.ol-carousel-dots button{width:32px;height:44px;min-width:32px}
.ol-carousel-dots span{position:relative;background:#767078;width:7px;height:7px;overflow:hidden}
.ol-carousel-dots [aria-pressed=true]{width:54px}
.ol-carousel-dots [aria-pressed=true] span{width:42px;height:7px;background:#979099}
.ol-carousel-dots [aria-pressed=true] span:after{content:'';position:absolute;inset:0;background:#27212b;transform:scaleX(var(--hero-progress,0));transform-origin:left}
.ol-carousel-controls .ol-autoplay-toggle{width:44px;height:44px;border-radius:50%;background:#f0edf1eb;color:#27212b;box-shadow:0 2px 8px #0002}
.ol-autoplay-toggle span{width:12px;height:14px;border-left:4px solid currentColor;border-right:4px solid currentColor;box-sizing:border-box}
.ol-autoplay-toggle[data-paused=true] span{width:0;height:0;border:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:11px solid currentColor;margin-left:3px}
.ol-carousel-controls .ol-autoplay-toggle:hover{background:#fff;border-radius:50%}
.ol-carousel-dots button:hover{background:transparent}
@media(max-width:760px){.ol-carousel-controls{right:12px}.ol-carousel-caption{margin-bottom:5px}.ol-carousel-buttons{gap:7px}.ol-carousel-dots{padding:0 7px}.ol-carousel-dots button{min-width:26px;width:26px}.ol-carousel-dots [aria-pressed=true]{width:46px}.ol-carousel-dots [aria-pressed=true] span{width:34px}}

/* Compact compositions: Lu sits on the floor in front of the TV's left bezel.
   Pose-specific widths compensate for transparent padding and prop silhouettes. */
.story-home [data-scene=long-way-here] .ol-lu-scene{z-index:6;transform:none;aspect-ratio:1374/1145;width:31cqw}
@media(max-width:1150px){
 .story-home .ol-lu-scene{z-index:6;transform:none;aspect-ratio:1374/1145;width:32cqw}
 .story-home [data-scene=new-baby] .ol-lu-scene{width:30cqw}
 .story-home [data-scene=long-way-here] .ol-lu-scene{transform:none;width:31cqw}
}
@media(max-width:760px) and (orientation:portrait){
 .story-home .ol-hero .ol-lu-scene{width:min(64vw,250px)}
 .story-home [data-scene=new-baby] .ol-lu-scene{width:min(60vw,235px)}
 .story-home [data-scene=long-way-here] .ol-lu-scene{width:min(63vw,245px)}
}

.ol-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px}
.ol-hero-signin{color:#fff;padding:10px 3px;font:700 clamp(15px,1.4vw,20px)/1.2 'Bricolage Grotesque',system-ui,sans-serif;text-decoration:underline;text-underline-offset:.22em;text-shadow:0 2px 5px #000,0 1px 2px #000}
.ol-hero-signin:hover{color:#ffde65}
