/* One fixed artwork, four independently snapping screens. */
html:has(.home-story),body.home-story{height:100%;overflow:hidden}
.home-story>.wrap{max-width:none;padding:0;height:100dvh;display:flex;flex-direction:column}
.home-story header.top{width:100%;left:0;transform:none;position:relative;z-index:5;padding:10px 24px;background:rgba(251,248,241,.94);flex:none}
.story-scroll{height:0;flex:1;overflow-y:auto;scroll-snap-type:y mandatory;scroll-behavior:auto;position:relative;isolation:isolate;overscroll-behavior-y:contain}
.story-screen{height:100%;min-height:100%;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center;padding:24px 60px;box-sizing:border-box}
.home-story .hero-media{position:fixed;inset:0;z-index:-2;pointer-events:none}
.home-story .hero{position:static;margin:0;width:100%;min-height:0;overflow:visible;padding:0}
.home-story .hero-copy{min-height:0;height:100%;padding:24px;background:none}
.first-screen{padding:0}
.story-content{max-width:800px;width:100%;max-height:100%;overflow-y:auto;padding:24px 32px;background:rgba(251,248,241,.92);border-radius:24px;box-shadow:0 8px 30px #25342518}
.story-screen .story-content,.story-screen .hero-copy{opacity:0;transform:translateY(48px);transition:opacity .5s ease,transform .5s ease}
.story-screen.in-view .story-content,.story-screen.in-view .hero-copy{opacity:1;transform:translateY(0)}
.story-content h2{font-size:clamp(26px,3.2vw,36px);margin:0 0 14px}.story-content h3{margin:0 0 8px}.story-content p{line-height:1.6;margin:10px 0}.story-content article{border-top:1px solid #52644933;padding:12px 0}.story-source{display:block;font-size:11px;overflow-wrap:anywhere;color:var(--ink-soft)}.story-source a{color:inherit}.story-soon{font-weight:700}.story-content .foot{padding:10px 0 0;margin:0;font-size:11px}.story-content .foot p{margin:4px 0}.story-content .foot-links{gap:8px}
.story-dots{position:fixed;inset-inline-end:18px;top:50%;display:grid;gap:15px;z-index:9}.story-dots a{width:12px;height:12px;border:1px solid #405538;border-radius:50%;background:#fbf8f1;box-shadow:0 0 0 5px #fbf8f199}.story-dots a[aria-current]{background:#405538}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:640px){.home-story header.top{padding:8px 12px}.story-screen{padding:16px 32px 16px 12px}.first-screen{padding:0}.story-content{padding:18px 16px;border-radius:18px;font-size:14px}.story-content h2{font-size:25px}.story-dots{inset-inline-end:10px}.story-source{font-size:10px}.story-content .foot{font-size:10px}.story-content .foot-links{gap:6px}}
@media(prefers-reduced-motion:reduce){.story-screen .story-content,.story-screen .hero-copy{transform:none;transition:none}}

/* Local cream support follows the copy, leaving the illustration clear. */
.home-story .hero-copy{max-width:760px;margin-inline:auto;background:radial-gradient(ellipse at center,rgba(251,248,241,.96) 0%,rgba(251,248,241,.84) 42%,rgba(251,248,241,0) 74%)}

/* M10: merged "welcome + trouble" screen. */
.welcome-trouble{max-width:1060px}
.welcome-trouble .wt-head{display:flex;align-items:center;gap:14px;margin:0 0 6px}
.welcome-trouble .wt-head h2{margin:0;font-size:clamp(22px,2.6vw,30px);line-height:1.25}
.welcome-trouble .wt-bunny{flex:none;width:52px;height:52px;transform:rotate(-6deg)}
.welcome-trouble .wt-lead{margin:6px 0 12px;font-size:1em;line-height:1.5}
.welcome-trouble .wt-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:18px;align-items:start}
.welcome-trouble .wt-col{min-width:0;padding:14px 18px;border-radius:18px}
.welcome-trouble .wt-good{background:#edf3e7;border:1px solid #8fb59a66}
.welcome-trouble .wt-trouble{background:#fffdf7;border:1px dashed #d9a27a99}
.welcome-trouble .wt-col h3{font-size:1.06em;margin:0 0 8px}
.welcome-trouble .wt-good-list{list-style:none;margin:0;padding:0}
.welcome-trouble .wt-good-list li{position:relative;margin:7px 0;padding-inline-start:26px;line-height:1.5;font-size:.93em}
.welcome-trouble .wt-good-list li::before{content:"\2713";position:absolute;inset-inline-start:2px;top:0;color:#6e9a7c;font-weight:700}
.welcome-trouble .trouble-list{list-style:none;margin:0;padding:0;line-height:1.5}
.welcome-trouble .trouble-list li{margin:0 0 7px;padding:0 0 7px;border-bottom:1px dotted #52644940;font-size:.93em}
.welcome-trouble .trouble-list li:last-child{margin:0;padding:0;border:0}
.welcome-trouble .trouble-list b{display:block;color:#405538}
.welcome-trouble .wt-good .btn{margin-top:10px}
.welcome-trouble .wt-close{margin:12px 0 0;line-height:1.4;text-align:center;font-weight:700;color:#405538}
@media(max-width:860px){.welcome-trouble .wt-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){.welcome-trouble .wt-head h2{font-size:21px}.welcome-trouble .wt-bunny{width:38px;height:38px}.welcome-trouble .wt-head{gap:10px}.welcome-trouble .wt-lead{font-size:.95em;margin:4px 0 10px}.welcome-trouble .wt-col{padding:12px 14px}.welcome-trouble .trouble-list li{margin:0 0 7px;padding:0 0 7px}}

/* Mobile UX 2026-10-19 */

.home-story>.wrap{padding-bottom:0!important;min-height:0}
.home-story>.social-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:4px 90px 4px 12px;font-size:12px}
.story-scroll{scroll-snap-type:y proximity}
.story-screen{align-items:flex-start;padding-inline-end:60px;scroll-snap-stop:normal}
.story-screen .hero{height:100%;overflow-y:auto}
.home-story .hero-copy{height:auto;min-height:100%;justify-content:flex-start;padding:24px 60px 110px 24px}
.home-story .hero-copy::before,.home-story .hero-copy::after{content:'';flex:1 0 0}
.home-story .hero-copy>*{flex-shrink:0;max-width:100%;overflow-wrap:anywhere}
.story-screen .story-content{padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))}
.story-screen .story-content,.story-screen .hero-copy{opacity:1;transform:none}
.story-dots{inset-inline-end:2px;gap:4px;transform:translateY(-50%)}
.story-dots a{width:44px;height:44px;border:0;border-radius:0;background:none;box-shadow:none;display:grid;place-items:center}
.story-dots a::after{content:'';display:block;width:12px;height:12px;border:1px solid #405538;border-radius:50%;background:#fbf8f1;box-shadow:0 0 0 5px #fbf8f199}
.story-dots a[aria-current]{background:none}.story-dots a[aria-current]::after{background:#405538}
.story-content .foot{font-size:15px}.story-content .foot-links a{min-width:44px;min-height:44px}
@media(max-width:640px){.story-screen{padding-inline-end:48px}.first-screen{padding:0}.home-story .hero-copy{padding:20px 48px 100px 12px}.solutions-content .package-grid{grid-template-columns:minmax(0,1fr)}.solutions-content .package-price{flex-wrap:wrap;white-space:normal}}


.home-story .story-content .foot{font-size:15px}.home-story .story-content .foot-links a{font-size:15px}@media(max-width:640px){.home-story .solutions-content .package-grid{grid-template-columns:minmax(0,1fr)}}
.story-screen :is(h1,h2,h3,p,li,.btn){scroll-margin-block:12px}

/* Damped screen switching 2026-10-24: story.js drives scrollTop with a critically damped spring; snapping is paused while it runs. */
.story-scroll.is-damping{scroll-snap-type:none}
.story-dots a::after{transition:background-color .45s cubic-bezier(.22,1,.36,1),transform .6s cubic-bezier(.22,1,.36,1),box-shadow .45s cubic-bezier(.22,1,.36,1)}
.story-dots a[aria-current]::after{transform:scale(1.28);box-shadow:0 0 0 7px #fbf8f199}
.story-dots a:hover::after,.story-dots a:focus-visible::after{transform:scale(1.28)}
@media(prefers-reduced-motion:reduce){.story-dots a::after{transition:none}}
