:root{--sd-ease:cubic-bezier(.22,1,.36,1)}
/* A dedicated motion stage, with editorial framing rather than ornamental loops. */
.sd-story{max-width:1240px;margin:0 auto;padding:96px 36px 36px}.sd-story-heading{display:grid;grid-template-columns:1.2fr 1fr;gap:70px;align-items:end;margin-bottom:38px}.sd-story-heading .eyebrow{font-size:8px;letter-spacing:1.6px}.sd-story-heading .h2{font-size:46px}.sd-story-introduction>p{font-size:15px;line-height:1.85;color:#81715d;max-width:420px}.sd-story-invitation{display:block;margin-top:20px;color:#a08967;font:8px 'DM Mono',monospace;letter-spacing:1.1px;text-transform:uppercase}
.sd-cinema{background:#2f201a;border:1px solid #6e5035;border-radius:22px;overflow:hidden;box-shadow:0 24px 65px #4e2d1712}.sd-cinema-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 30px;border-bottom:1px solid #a1804930}.sd-cinema-brand{font:26px 'Playfair Display',Georgia,serif;color:#edddc4;letter-spacing:-1px}.sd-cinema-brand>span{color:#be9962}.sd-cinema-edition{font:8px 'DM Mono',monospace;letter-spacing:2px;color:#ac9473}.sd-cinema-edition b{font-weight:400;color:#806c52;margin-left:18px}.sd-cinema-status{display:flex;align-items:center;gap:8px;color:#9e8d73;font:7px 'DM Mono',monospace;letter-spacing:1px}.sd-cinema-status i{display:block;width:4px;height:4px;background:#b8bd90;border-radius:50%}
.sd-cinema-stage{position:relative;isolation:isolate;overflow:hidden;aspect-ratio:960/560;background:#302019}.sd-cinema-light{position:absolute;inset:-25%;pointer-events:none;background:radial-gradient(ellipse at 50% 48%,#986a3638,transparent 57%),radial-gradient(ellipse at 20% 90%,#733d251c,transparent 60%);transform:translateX(var(--light-shift,0%));opacity:.9}.sd-cinema-grain{position:absolute;inset:0;pointer-events:none;opacity:.3;background:repeating-linear-gradient(0deg,transparent 0 3px,#e7bc7c07 3px 4px),repeating-linear-gradient(90deg,transparent 0 3px,#e7bc7c04 3px 4px)}.sd-cinema-depth{position:relative;width:100%;height:100%;transform:perspective(1200px) rotateX(var(--depth-x,0deg)) rotateY(var(--depth-y,0deg));transition:transform .7s var(--sd-ease);transform-style:preserve-3d}.sd-story-svg{display:block;width:100%;height:100%;overflow:visible}.cinema-card{transform-box:view-box;transform-origin:0 0}.cinema-door{transform-box:view-box;transform-origin:366px 305px}.cinema-wheel{transform-box:view-box;transform-origin:470px 300px}.cinema-protection{transform-origin:475px 301px}.cinema-share-path{stroke-dashoffset:1}.sd-cinema-caption{position:absolute;left:0;right:0;bottom:19px;display:flex;justify-content:center;align-items:center;gap:15px;pointer-events:none}.sd-cinema-caption>span{font:8px 'DM Mono',monospace;color:#997b52;letter-spacing:1px}.sd-cinema-caption p{font:italic 18px 'Playfair Display',serif;color:#dbc29b}
.sd-story-transport{padding:16px 28px;border-top:1px solid #9b7b4725;display:flex;align-items:center;gap:20px;background:#2b1e18}.sd-story-transport[hidden]{display:none}.sd-story-playback{display:flex;align-items:center;gap:10px;flex:1}.sd-story-playback button{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:50%;border:1px solid #9c7c4c60;background:none;color:#d5bb91;cursor:pointer;transition:background .2s}.sd-story-playback button:hover{background:#9d784326}.sd-story-playback button:disabled{cursor:default;opacity:.45}.sd-story-playback button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.sd-story-playback input{flex:1;min-width:0;width:auto;height:24px;padding:0;margin:0 8px;accent-color:#d2b484;cursor:pointer;border:0;background:transparent;-webkit-appearance:none;appearance:none}.sd-story-playback input::-webkit-slider-runnable-track{height:2px;border-radius:1px;background:linear-gradient(to right,#d2b484 var(--seek-progress,0%),#715a3b var(--seek-progress,0%))}.sd-story-playback input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:10px;height:10px;background:#ead3ac;border-radius:50%;border:1px solid #ead3ac;margin-top:-4px;box-shadow:0 0 0 4px #d1ab6b15}.sd-story-playback input::-moz-range-track{height:2px;background:#715a3b}.sd-story-playback input::-moz-range-progress{height:2px;background:#d2b484}.sd-story-playback input::-moz-range-thumb{width:9px;height:9px;background:#ead3ac;border:0;border-radius:50%}.sd-story-time{font:8px 'DM Mono',monospace;white-space:nowrap;color:#b29a77;min-width:77px}.sd-transport-hint{font:8px 'Lato',sans-serif;color:#8e785a;border-left:1px solid #685134;padding-left:20px}
.sd-story-chapters{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #9b7b4725;background:#32231b}.sd-chapter{position:relative;text-align:left;display:flex;gap:15px;align-items:flex-start;padding:25px 24px 30px;background:none;border:0;border-right:1px solid #9b7b4725;color:#c7b18f;cursor:pointer;overflow:hidden;min-width:0;transition:background .3s}.sd-chapter:last-child{border-right:0}.sd-chapter:hover{background:#b58b580a}.sd-chapter[aria-pressed=true]{background:#8e6b3414}.sd-chapter-number{font:9px 'DM Mono',monospace;color:#8e7655;border:1px solid #745a3966;border-radius:50%;width:26px;height:26px;display:grid;place-items:center;flex-shrink:0}.sd-chapter[aria-pressed=true] .sd-chapter-number{background:#b99b6d;border-color:#b99b6d;color:#2c1e16}.sd-chapter strong{font-family:'Lato',sans-serif;font-size:12px;font-weight:400;line-height:1.5;display:block}.sd-chapter small{font-family:'Lato',sans-serif;display:block;font-size:10px;line-height:1.7;color:#9c8869;margin-top:6px}.sd-chapter-progress{position:absolute;bottom:0;left:0;right:0;height:2px;background:#c7a574;transform:scaleX(var(--chapter-progress,0));transform-origin:left center}
.sd-story-foot{display:flex;align-items:center;justify-content:space-between;padding:21px 2px;gap:16px}.sd-story-foot>p{font:italic 17px 'Playfair Display',serif;color:#927957}.sd-story-foot>p>span{font:7px 'DM Mono',monospace;letter-spacing:1px;text-transform:uppercase;color:#a4937d;margin-left:16px}.sd-motion-control{display:inline-flex;align-items:center;gap:8px;background:transparent;border:1px solid #d9cbb4;border-radius:25px;color:#836a4f;padding:10px 14px;cursor:pointer;font:10px 'Lato',sans-serif;min-height:38px;flex-shrink:0;transition:background .2s}.sd-motion-control[hidden]{display:none}.sd-motion-control:hover{background:#ede4d5}.sd-motion-control:disabled{cursor:default;opacity:.7}.sd-motion-control svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.sd-footer-motion{display:flex;justify-content:center;padding:20px;background:var(--bg)}
/* Hero lighting sits behind content; only the atmosphere moves. */
.sd-hero-atmosphere{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:-1}.sd-hero-orb{position:absolute;width:800px;height:800px;border-radius:50%;background:radial-gradient(circle,#bc89532b,transparent 65%);top:-400px;left:-340px;opacity:.7}.sd-hero-orb:nth-child(2){left:auto;right:-400px;top:80px;width:1000px;height:1000px;background:radial-gradient(circle,#c197591c,transparent 68%)}.sd-hero-arc{position:absolute;width:1100px;height:1100px;border-radius:50%;border:1px solid #d4ac6b0b;top:-720px;left:calc(50% - 550px)}.sd-hero-arc:after{content:'';position:absolute;inset:35px;border:1px solid #d4ac6b08;border-radius:50%}html.sd-motion-enabled .tw-hero.is-ambient-visible .sd-hero-orb{animation:sd-ambient-drift 22s ease-in-out infinite alternate}html.sd-motion-enabled .tw-hero.is-ambient-visible .sd-hero-orb:nth-child(2){animation-direction:alternate-reverse;animation-duration:26s}.sd-title-line{display:inline-block;transform-origin:center bottom}.demo-shell{perspective:1000px}.demo-doc{transform-origin:center bottom;backface-visibility:hidden}.sd-demo-illustration{transform-origin:center bottom}
@keyframes sd-ambient-drift{from{transform:translate(-2%,0) scale(.92)}to{transform:translate(16%,9%) scale(1.08)}}
html.sd-motion-enabled .tw-primary .sd-icon,html.sd-motion-enabled .btn-primary .sd-icon,html.sd-motion-enabled .btn-outline .sd-icon,html.sd-motion-enabled .demo-doc a .sd-icon{transition:transform .35s var(--sd-ease)}html.sd-motion-enabled :is(.tw-primary,.btn-primary,.btn-outline,.demo-doc a):hover .sd-icon{transform:translateX(4px)}html.sd-motion-enabled .demo-tabs button{transition:background .3s ease,color .3s ease,box-shadow .3s ease}html.sd-motion-enabled .demo-tabs button[aria-selected=true]{box-shadow:inset 2px 0 #b58b58}html.sd-motion-enabled .feat-icon .sd-art,html.sd-motion-enabled .mc-icon .sd-art{transition:transform .65s var(--sd-ease)}html.sd-motion-enabled .feat-card:hover .sd-art,html.sd-motion-enabled .module-card:hover .sd-art{transform:translateY(-5px) rotate(-3deg)}
html.sd-motion-paused *,html.sd-motion-paused *::before,html.sd-motion-paused *::after,html.sd-motion-hidden *,html.sd-motion-hidden *::before,html.sd-motion-hidden *::after{animation-play-state:paused!important;scroll-behavior:auto!important}html.sd-motion-paused .sd-cinema-depth{transform:none!important;transition:none!important}
@media(max-width:900px){.sd-story{padding:65px 28px 25px}.sd-story-heading{gap:30px}.sd-story-heading .h2{font-size:36px}.sd-story-introduction>p{font-size:14px}.sd-cinema-top{padding:18px 22px}.sd-cinema-status{display:none}.sd-chapter{padding:22px 17px 26px;gap:11px}.sd-chapter small{font-size:9px}.sd-chapter strong{font-size:11px}.sd-cinema-caption p{font-size:16px}.sd-story-foot>p{font-size:15px}.sd-story-foot>p>span{display:block;margin:7px 0 0}.sd-cinema-caption{bottom:10px}}
@media(max-width:600px){.sd-story{padding:55px 18px 15px}.sd-story-heading{grid-template-columns:1fr;gap:20px;margin-bottom:26px;padding:0 6px}.sd-story-heading .h2{font-size:36px}.sd-story-heading .eyebrow{font-size:7px}.sd-story-introduction>p{font-size:14px;max-width:350px}.sd-story-invitation{font-size:7px;margin-top:14px}.sd-cinema{border-radius:15px}.sd-cinema-top{padding:16px}.sd-cinema-brand{font-size:22px}.sd-cinema-edition{font-size:6px;letter-spacing:1px}.sd-cinema-edition b{display:none}.sd-cinema-stage{aspect-ratio:1.3}.sd-cinema-depth{padding:0}.sd-story-svg{width:120%;max-width:none;transform:translateX(-8.333%)}.sd-cinema-caption{bottom:14px;gap:8px}.sd-cinema-caption p{font-size:14px}.sd-cinema-caption>span{font-size:7px}.sd-story-transport{padding:11px 13px;gap:8px}.sd-story-playback{gap:7px}.sd-story-playback button{width:31px;height:31px}.sd-story-time{font-size:7px;min-width:68px}.sd-transport-hint{display:none}.sd-story-playback input{margin:0 3px}.sd-story-chapters{grid-template-columns:1fr}.sd-chapter{padding:17px 18px 20px;border-right:0;border-bottom:1px solid #9b7b4725;gap:14px}.sd-chapter:last-child{border-bottom:0}.sd-chapter strong{font-size:12px}.sd-chapter small{font-size:10px;margin-top:2px}.sd-chapter-number{width:27px;height:27px}.sd-story-foot{padding:19px 6px}.sd-story-foot>p{font-size:14px;max-width:190px}.sd-motion-control{font-size:9px;padding:9px 11px;gap:6px}.sd-hero-orb{width:550px;height:550px;top:-300px;left:-300px}.sd-hero-orb:nth-child(2){width:600px;height:600px;right:-350px;top:120px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.sd-cinema-depth{transform:none!important}}
