:root{color-scheme:light;--paper:#fffaf2;--ink:#302747;--muted:#685f75;--purple:#6941d9;--lilac:#efe9ff;--yellow:#ffdf80;--line:#e8dfd5;--radius:28px;scroll-behavior:smooth;--background:var(--paper);--foreground:var(--ink);--popover:var(--paper);--popover-foreground:var(--ink);--input:#c6bbd7;--border:var(--line);--accent:var(--lilac);--accent-foreground:var(--ink);--muted-foreground:var(--muted);--ring:var(--purple)}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Avenir Next",Avenir,"Trebuchet MS",Arial,sans-serif;font-size:17px;line-height:1.55}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #e6a700;outline-offset:5px}.wrap{width:min(1280px,calc(100% - 80px));margin:auto}.header{display:flex;align-items:center;justify-content:space-between;height:108px;gap:32px}.brand{text-decoration:none;font-weight:800;letter-spacing:-1.2px;font-size:31px;white-space:nowrap}.brand span{color:var(--purple);font-size:38px;vertical-align:middle;margin-right:7px}.header nav{display:flex;gap:34px;font-size:15px;font-weight:600}.header nav a{text-decoration:none}.header nav a:hover{color:var(--purple)}.button{border:0;display:inline-flex;align-items:center;justify-content:center;gap:25px;border-radius:999px;padding:18px 29px;font-size:17px;font-weight:700;min-height:56px;transition:transform .18s,background .18s;text-decoration:none}.button:hover{transform:translateY(-2px)}.primary{background:var(--purple);color:white;box-shadow:0 7px 0 #e4d9fb}.primary:hover{background:#5731bd}.secondary{background:transparent;border:1.5px solid #c6bbd7;color:var(--ink)}.small{font-size:15px;min-height:43px;padding:10px 25px}.hero{display:grid;grid-template-columns:.9fr 1.1fr;gap:50px;align-items:center;padding-top:45px;padding-bottom:105px}.hero h1{font-size:clamp(44px,4.7vw,68px);line-height:1.08;letter-spacing:-2.9px;margin:0 0 26px;font-weight:750}.hero em{font-style:normal;color:var(--purple)}.hero-copy>p{font-size:20px;max-width:440px;line-height:1.55;color:var(--muted);margin:0 0 33px}.text-link{display:block;font-size:14px;text-decoration:none;margin-top:23px;text-underline-offset:5px}.text-link:hover{text-decoration:underline}.hero-art{position:relative;padding:16px 0 22px}.hero-art img{width:100%;height:auto;display:block;border-radius:42px 42px 110px 42px;box-shadow:16px 18px 0 #f3ddaf}.art-note{position:absolute;right:18px;bottom:0;padding:13px 24px;background:var(--yellow);border-radius:15px;transform:rotate(-5deg);font-size:20px;font-weight:700;box-shadow:0 7px 15px #56330a12}.skip{position:fixed;left:16px;top:-100px;background:white;z-index:100;padding:10px}.skip:focus{top:10px}img{max-width:100%}@media(max-width:800px){.wrap{width:calc(100% - 40px)}.header{height:86px;gap:15px}.brand{font-size:26px}.brand span{font-size:30px}.header nav{display:none}.hero{grid-template-columns:1fr;gap:32px;padding-top:28px;padding-bottom:70px}.hero h1{font-size:clamp(42px,9vw,64px);letter-spacing:-1.8px}.hero-copy>p{font-size:18px}.hero-art{max-width:600px}.hero-art img{border-radius:26px 26px 75px 26px;box-shadow:9px 12px 0 #f3ddaf}.art-note{font-size:17px}.button{min-height:54px}.small{min-height:42px;padding:9px 20px}}@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*{transition:none!important}}
section[id]{scroll-margin-top:30px}h2{font-size:clamp(32px,3.4vw,46px);line-height:1.17;letter-spacing:-1.6px;margin:0 0 24px;font-weight:750}h2 em{font-style:normal;color:var(--purple)}h3{font-size:23px;line-height:1.25;letter-spacing:-.5px;margin:0 0 16px}p{margin:0 0 16px}figure{margin:0}.how-section{background:#f1eafe;padding:60px 0 64px;border-radius:48px}.how-section h2{text-align:center;font-size:32px;margin-bottom:40px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:60px}.steps p{color:var(--muted);font-size:16px;margin:0}.step-number{display:grid;place-items:center;border-radius:50%;width:40px;height:40px;background:white;color:var(--purple);font-size:19px;font-weight:800;margin-bottom:21px}.varvara-section{padding-top:115px;padding-bottom:105px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:95px}.photos{position:relative;padding-right:75px;padding-bottom:38px}.portrait{width:100%;height:450px;object-fit:cover;object-position:50% 59%;display:block;border-radius:40px}.stage-portrait{position:absolute;right:0;bottom:0;width:170px;height:208px;object-fit:cover;border:8px solid var(--paper);border-radius:30px;transform:rotate(6deg)}.eyebrow{display:block;color:var(--purple);font-weight:700;font-size:14px;margin-bottom:22px}.section-copy p{color:var(--muted);max-width:430px;font-size:18px}.accent{font-weight:700;color:var(--purple);font-size:16px}.section-heading{text-align:center;max-width:810px;margin:0 auto 45px}.section-heading p{color:var(--muted);font-size:18px;max-width:660px;margin:auto}.transformation{display:grid;grid-template-columns:.76fr 1fr 35px 1fr;align-items:center;gap:24px;padding:32px;margin-bottom:24px;border-radius:36px}.blue{background:#e4f0f3}.peach{background:#f8e6d5}.character-story{align-self:center;padding:10px}.character-story h3{font-size:28px;line-height:1.15}.character-story p{font-size:16px;color:#595460}.transformation figure{min-width:0}.transformation img{height:425px;width:100%;object-fit:contain;border-radius:20px;display:block;background:#fffaf0}.transformation:not(.result) figure:not(.result) img{background:transparent}.result img{padding:14px}.result{background:#fff3de;border-radius:22px;padding-bottom:0}.transformation figcaption{text-align:center;font-size:14px;font-weight:650;margin-top:12px;padding-bottom:5px}.result figcaption{padding-bottom:16px}.change-arrow{font-size:31px;color:#766984}.centered{text-align:center;margin-top:40px}.drawing-invite{font-size:19px;margin-bottom:23px}.world-section{padding-top:115px}.story-images{display:grid;grid-template-columns:1fr 1fr;gap:24px}.story-images img{width:100%;height:auto;border-radius:30px;display:block}.style-section{padding-top:115px;padding-bottom:105px}.styles{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.styles img{width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;background:#f4eddf;border-radius:28px;display:block}.styles figcaption{text-align:center;font-weight:650;font-size:17px;margin-top:16px}.final-section{text-align:center;background:var(--yellow);padding:55px 25px 65px;border-radius:42px;position:relative}.final-section h2{font-size:clamp(36px,4vw,54px);margin-bottom:20px}.final-section p{font-size:19px;margin-bottom:27px}.final-star{color:var(--purple);display:block;font-size:48px;line-height:1;margin-bottom:20px}.final-section .primary{box-shadow:0 7px 0 #e5bd60}.footer{display:flex;align-items:center;gap:30px;justify-content:center;padding-top:55px;padding-bottom:40px}.footer .brand{font-size:24px}.footer p{font-size:14px;color:var(--muted);margin:0}.footer>a:last-child{font-size:13px;color:var(--muted);text-decoration:none}[hidden]{display:none!important}@media(max-width:1050px){.hero{gap:30px}.hero h1{font-size:50px}.varvara-section{gap:45px}.transformation{grid-template-columns:.7fr 1fr 24px 1fr;gap:12px;padding:24px}.transformation img{height:340px}.character-story h3{font-size:24px}.steps{gap:32px}}@media(max-width:800px){h2{letter-spacing:-1px}.hero h1{font-size:clamp(42px,9vw,64px)}.how-section{border-radius:30px;padding:40px 0}.how-section h2{font-size:29px;line-height:1.2;text-align:left;margin-bottom:30px}.steps{grid-template-columns:1fr;gap:30px}.steps article{display:grid;grid-template-columns:38px 1fr;gap:0 17px}.step-number{grid-row:1/3;width:36px;height:36px;margin:0}.steps h3{font-size:22px;margin-bottom:10px}.steps p{grid-column:2}.varvara-section{padding-top:68px;padding-bottom:65px;grid-template-columns:1fr;gap:32px}.photos{max-width:490px;width:100%;padding-right:60px;padding-bottom:20px}.portrait{height:390px;border-radius:28px}.stage-portrait{width:145px;height:175px;border-width:6px}.section-copy h2 br{display:none}.section-copy h2{max-width:440px}.section-copy p{font-size:17px}.eyebrow{margin-bottom:15px}.section-heading{text-align:left;margin-bottom:30px}.section-heading p{font-size:17px}.transformation{grid-template-columns:1fr 22px 1fr;padding:20px 14px;gap:12px;border-radius:25px}.character-story{grid-column:1/-1;padding:0 5px}.character-story h3{font-size:26px;margin-bottom:10px}.character-story p{margin-bottom:6px}.transformation img{height:280px;object-fit:contain;border-radius:15px}.result img{padding:8px}.transformation figcaption{font-size:13px;line-height:1.25}.change-arrow{font-size:26px}.drawing-invite{font-size:17px}.world-section{padding-top:75px}.story-images{grid-template-columns:1fr;gap:18px}.story-images img{border-radius:25px}.style-section{padding-top:75px;padding-bottom:65px}.styles{gap:12px;grid-template-columns:1fr}.styles figure{display:grid;grid-template-columns:125px 1fr;align-items:center;gap:20px}.styles figcaption{text-align:left;margin:0}.styles img{border-radius:20px}.final-section{border-radius:28px;padding:40px 20px 48px}.final-section p{font-size:17px}.footer{flex-wrap:wrap;gap:10px 22px;padding-top:35px;padding-bottom:30px}.footer p{order:3;width:100%;font-size:13px}.footer .brand{font-size:24px}.footer .brand span{font-size:27px}.footer>a:last-child{font-size:12px}}@media(max-width:400px){.transformation img{height:245px}.result img{padding:3px}.transformation{gap:8px;padding:18px 10px}.brand{font-size:24px}.button{font-size:16px;padding:16px 23px}.small{font-size:14px;padding:9px 18px}}
.transformation figure:not(.result) img{width:auto;height:auto;max-height:425px;max-width:100%;margin:0 auto;border-radius:20px}@media(max-width:1050px){.transformation figure:not(.result) img{max-height:340px}}@media(max-width:800px){.transformation figure:not(.result) img{max-height:280px}}@media(max-width:400px){.transformation figure:not(.result) img{max-height:245px}}
.adventure-section{padding-top:115px}.adventure-section .section-heading{max-width:960px}@media(max-width:800px){.adventure-section{padding-top:75px}.adventure-section .section-heading h2{font-size:clamp(28px,7.5vw,40px);overflow-wrap:break-word}.adventure-section h2 br{display:none}}
.styles img{aspect-ratio:4/3}@media(max-width:800px){.styles{gap:26px}.styles figure{display:block}#styles .styles>figure:nth-child(n+5){display:none}.styles figcaption{text-align:center;margin-top:14px}}
.transformation figure.result,.transformation figure.result img{background:transparent;padding:0}.transformation figure.result img{width:auto;height:auto;max-width:100%;max-height:425px;margin:auto}@media(max-width:1050px){.transformation figure.result img{max-height:340px}}@media(max-width:800px){.transformation figure.result img{max-height:280px}}@media(max-width:400px){.transformation figure.result img{max-height:245px}}

/* Tiny previews are visible immediately; full images replace them after decode. */
img[data-preview]{filter:blur(12px);transition:filter .55s ease}
img[data-preview].image-ready{filter:none}
@media(prefers-reduced-motion:reduce){img[data-preview]{transition:none}}

/* Shared shadcn theme control; artwork remains in its original colors. */
.header-actions{display:flex;align-items:center;gap:12px}
#theme-control{display:flex;width:44px;min-height:44px;flex-shrink:0}
.dark{color-scheme:dark;--paper:#191522;--ink:#f4edf9;--muted:#c1b5cf;--purple:#bd9cff;--lilac:#352746;--yellow:#493821;--line:#493d58;--input:#786789;--popover:#241e30;--accent:#3e3052}
.dark .primary{color:#231438;box-shadow:0 7px 0 #39284e}
.dark .primary:hover{background:#cfb5ff}
.dark .secondary{border-color:var(--input)}
.dark .hero-art img{box-shadow:16px 18px 0 #493821}
.dark .art-note{color:var(--ink)}
.dark .how-section{background:#2b223b}
.dark .step-number,.dark .skip{background:#241e30}
.dark .blue{background:#20343e}
.dark .peach{background:#3c2c2b}
.dark .character-story p,.dark .change-arrow{color:var(--muted)}
.dark .styles img{background:#30283b}
.dark .final-section{background:#3b2d2c}
.dark .final-section .primary{box-shadow:0 7px 0 #302218}
@media(max-width:800px){.header-actions{gap:8px}.dark .hero-art img{box-shadow:9px 12px 0 #493821}}
@media(max-width:400px){.header{gap:8px}.header .brand{font-size:22px;letter-spacing:-1px}.header .brand span{font-size:27px;margin-right:3px}.header-actions{gap:6px}.header-actions .small{padding:9px 12px}.header.wrap{width:calc(100% - 28px)}}

/* Landing-only aurora and small stars, based on the owner's video reference. */
.button[data-auth]{position:relative;isolation:isolate;overflow:hidden;border:0;background:#6933ba;color:#fff;box-shadow:0 7px 0 #e4d9fb;transition:transform .18s,box-shadow .18s;text-shadow:0 1px 2px #32115d66}
.button[data-auth]::before{content:"";position:absolute;z-index:-2;inset:-65% -40%;pointer-events:none;background:radial-gradient(ellipse at 22% 32%,#a766e7 0%,transparent 44%),radial-gradient(ellipse at 78% 62%,#8a08df 0%,transparent 47%),linear-gradient(110deg,#793abb,#542194 48%,#8745cb);animation:button-aurora 4.4s ease-in-out infinite alternate;will-change:transform}
.button-stars{position:absolute;z-index:-1;inset:0;pointer-events:none;overflow:hidden;border-radius:inherit}
.button-stars>span{position:absolute;left:var(--x);top:var(--y);font:normal var(--size)/1 Arial,sans-serif;color:#fff7d6;text-shadow:0 0 3px #fff1bd;animation:button-starlight var(--duration) ease-in-out var(--delay) infinite alternate;will-change:transform,opacity}
.button[data-auth]:hover{transform:translateY(-2px);box-shadow:0 9px 0 #e4d9fb}
.button[data-auth]:active{transform:translateY(3px);box-shadow:0 3px 0 #e4d9fb}
.dark .button[data-auth]{color:#fff;box-shadow:0 7px 0 #39284e}
.dark .button[data-auth]:hover{box-shadow:0 9px 0 #39284e}
.dark .button[data-auth]:active{box-shadow:0 3px 0 #39284e}
@keyframes button-aurora{from{transform:translateX(-9%) rotate(-4deg)}to{transform:translateX(9%) rotate(5deg)}}
@keyframes button-starlight{0%{opacity:.22;transform:translate(-4px,2px) scale(.65)}55%{opacity:.9;transform:translate(1px,-2px) scale(1)}100%{opacity:.35;transform:translate(6px,1px) scale(.75)}}
@media(prefers-reduced-motion:reduce){.button[data-auth]::before,.button-stars>span{animation:none;will-change:auto}.button-stars>span{opacity:.6}.button[data-auth],.button[data-auth]:hover,.button[data-auth]:active{transform:none}}

/* Picture sources keep the existing grid and image positioning. */
picture{display:contents}picture>source{display:none}
.story-origin{grid-column:1/-1}.story-origin h2{max-width:1000px;margin:0 auto 32px;text-align:center}.story-origin img{display:block;width:100%;height:auto;border-radius:30px}@media(max-width:800px){.story-origin{margin-top:24px}.story-origin h2{text-align:left;margin-bottom:26px}.story-origin img{border-radius:25px}}

/* Desktop placement follows the owner's annotated gallery cells. */
@media(min-width:801px){.adventure-gallery>figure:nth-child(1){grid-area:2/3}.adventure-gallery>figure:nth-child(2){grid-area:1/1}.adventure-gallery>figure:nth-child(3){grid-area:1/2}.adventure-gallery>figure:nth-child(4){grid-area:1/3}.adventure-gallery>figure:nth-child(5){grid-area:2/1}.adventure-gallery>figure:nth-child(6){grid-area:2/2}}

/* Descriptions share the final invitation sizing and keep their original tint. */
.hero-copy>p,.section-copy p,.section-heading p,.steps p,.character-story p,.drawing-invite,.final-section p{font-size:19px;line-height:1.55}
@media(max-width:800px){.hero-copy>p,.section-copy p,.section-heading p,.steps p,.character-story p,.drawing-invite,.final-section p{font-size:17px}}
