/* NextCanvas motion layer. All artwork uses the original brand palette. */
:root { --motion-ease:cubic-bezier(.22,1,.36,1); }
body { background:#fff8f5; background-image:none; }
body::before, body::after, .hero::before, .hero::after { display:none; }
.hero { cursor:auto; padding:68px 0 36px; overflow:hidden; }
.hero-spotlight,.hero-spotlight-glass,.hero .liquid-bubble { display:none; }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 .motion-enabled .hero .hero-spotlight,.motion-enabled .hero .hero-spotlight-glass { display:block; opacity:0; }
 .motion-enabled .hero.has-spotlight .hero-spotlight,.motion-enabled .hero.has-spotlight .hero-spotlight-glass { opacity:1; }
}
.hero > .container { display:grid; grid-template-columns:1.05fr 1fr; align-items:center; gap:32px; }
.hero-content { text-align:left; margin:0; max-width:none; }
.hero-content,.hero-title,.hero-badge { animation:none; }
.hero-badge { box-shadow:none; backdrop-filter:none; padding:0; background:none; border:0; color:var(--gray-700); font-size:12px; letter-spacing:.1em; text-transform:uppercase; }
.hero-badge i { color:var(--primary); }
.hero-title { font-size:clamp(48px,5.4vw,78px); letter-spacing:-.045em; line-height:1.04; }
.hero-title .highlight { font-style:normal; padding-bottom:8px; }
.hero-subtitle { font-size:17px; line-height:1.8; max-width:465px; margin:24px 0 30px; }
.hero-buttons { justify-content:flex-start; gap:10px; margin:0; }
.hero-buttons .btn { font-size:13px; padding:14px 18px; border-radius:10px; box-shadow:none; }
.hero-buttons .btn-outline { background:none; border-color:transparent; }
.canvas-slot { height:480px; position:relative; min-width:0; isolation:isolate; z-index:6; }
.canvas-slot::before { content:''; position:absolute; inset:8% 8%; border:1px solid #e8dcd8; border-radius:50%; transform:rotate(-22deg) scaleY(.85); }
.canvas-slot::after { content:'✳'; font-size:42px; color:var(--primary); position:absolute; right:8%; top:3%; }
.canvas-static { position:absolute; width:55%; height:68%; object-fit:contain; top:16%; left:23%; transform:rotate(-9deg); filter:drop-shadow(8px 22px 18px #7312d11a); }
.motion-enabled .canvas-static { visibility:hidden; }
.canvas-kicker { position:absolute; top:0; left:0; font-size:10px; letter-spacing:.15em; color:var(--gray-600); text-transform:uppercase; }
.canvas-label { position:absolute; z-index:3; padding:10px 14px; border:1px solid #e4d7d3; border-radius:8px; background:#fffcf9; color:#3c4043; text-decoration:none; font-size:12px; box-shadow:0 6px 20px #2c3e5006; transition:transform 200ms var(--motion-ease),border-color 200ms; }
.canvas-label span { color:var(--primary); margin-right:7px; }
.canvas-label:nth-of-type(1) { top:12%; left:0; }
.canvas-label:nth-of-type(2) { right:0; bottom:15%; }
.canvas-label:hover,.canvas-label:focus-visible { transform:translateY(-3px); border-color:var(--primary); }
.canvas-controls { position:absolute; bottom:0; left:0; right:0; display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:10px; color:var(--gray-600); }
.canvas-controls button { font:inherit; padding:8px 10px; background:transparent; color:inherit; border:1px solid #ddceca; border-radius:20px; cursor:pointer; }
.motion-control { display:none; }
.motion-enabled .motion-control { display:inline-block; }
.canvas-touch { position:absolute; width:60%; height:70%; top:12%; left:20%; background:none; border:0; border-radius:30px; z-index:2; cursor:pointer; display:none; touch-action:pan-y; }
.motion-enabled .canvas-touch { display:block; }
:focus-visible { outline:3px solid var(--violet); outline-offset:5px; }
#canvas-subject,#avatar-subject { position:fixed; left:0; top:0; width:300px; height:360px; z-index:5; pointer-events:none; perspective:1100px; visibility:hidden; }
.canvas-prop { width:100%; height:100%; transform-style:preserve-3d; }
.avatar-presenter { display:none; position:absolute; width:400px; height:400px; left:-50px; top:-30px; }
.avatar-figure { width:100%; height:100%; transform-origin:50% 85%; position:relative; }
.avatar-frame,.avatar-static { background-image:url('../assets/images/areeba-cartoon-poses.webp'); background-size:300% 300%; background-repeat:no-repeat; clip-path:inset(0 2% 7% 2% round 8px); }
.avatar-frame { position:absolute; inset:0; opacity:0; transition:opacity 100ms linear; }
.avatar-frame.is-current { opacity:1; }
#avatar-subject .avatar-presenter { display:block; }
#avatar-subject { z-index:4; }
.canvas-slot .avatar-static { width:min(83.33%,408px); height:auto; aspect-ratio:1; left:50%; top:50%; transform:translate(-50%,-50%); background-position:50% 49.5215311%; filter:none; }
.avatar-caption { position:absolute; z-index:3; left:50%; bottom:38px; transform:translateX(-50%); padding:8px 18px; border:1px solid #eadfd9; border-radius:10px; background:#fffcf9f5; font-size:13px; font-weight:600; white-space:nowrap; text-align:center; line-height:1.5; }
.avatar-caption span { display:block; color:var(--gray-600); font-size:10px; font-weight:400; }
[data-canvas-scene="hero"] .canvas-label:nth-of-type(2) { bottom:24%; }
[data-canvas-scene="hero"]::before { display:none; }
.canvas-pose,.canvas-body { width:100%; height:100%; transform-style:preserve-3d; }
.canvas-body { position:relative; }
.canvas-layer { position:absolute; inset:0; border-radius:12px; transform-style:preserve-3d; border:1px solid #ffffff80; }
.canvas-back { background:linear-gradient(135deg,#990aa5,#7312d1); transform:translate3d(25px,18px,-32px) rotate(7deg); box-shadow:4px 5px 0 #5d0fa6; }
.canvas-mid { background:linear-gradient(135deg,#ff6b35,#df2242); transform:translate3d(12px,9px,-16px) rotate(3deg); box-shadow:3px 4px 0 #c41e3a; }
.canvas-front { background:#fff8f5; box-shadow:1px 1px 0 #d6c7c1,2px 2px 0 #d6c7c1,3px 3px 0 #d6c7c1,14px 28px 36px #2c3e501c; }
.canvas-front img { width:100%; height:100%; display:block; border-radius:12px; }
.canvas-selection { position:absolute; inset:76px 26px 49px; border:1px solid #7312d180; transform:translateZ(3px); }
.canvas-selection i { position:absolute; width:6px; height:6px; background:white; border:1px solid var(--violet); }
.canvas-selection i:nth-child(2) { right:-3px; top:-3px; }.canvas-selection i:first-child { left:-3px; top:-3px; }
.canvas-selection i:nth-child(3) { right:-3px; bottom:-3px; }.canvas-selection i:last-child { left:-3px; bottom:-3px; }
.canvas-stylus { position:absolute; width:18px; height:210px; top:102px; left:283px; transform-origin:50% 85%; transform:translateZ(55px) rotate(24deg); border-radius:9px 9px 4px 4px; background:linear-gradient(90deg,#7312d1,#b52cc7 27%,#f4dcf4 40%,#990aa5 65%,#5d0fa6); box-shadow:8px 12px 14px #7312d126; }
.canvas-stylus::after { content:''; position:absolute; bottom:-25px; left:0; border-left:9px solid transparent; border-right:9px solid transparent; border-top:26px solid #2c3e50; }
.canvas-stylus::before { content:''; position:absolute; top:16px; width:100%; height:6px; background:#fff8f5; }
.canvas-help { margin-top:24px; font-size:11px; color:var(--gray-600); display:flex; gap:9px; align-items:center; }
.canvas-help::before { content:'↗'; color:var(--primary); font-size:19px; }
/* Existing copy and conversion paths stay in the DOM. No reveal gates. */
.scroll-reveal,.fade-in { opacity:1; transform:none; animation:none; }
.header { background:#fffcf9f5; box-shadow:none; border-bottom:1px solid #eadfd9; }
/* Navigation needs an opaque surface over both dark sections and live artwork. */
.header .dropdown-menu { z-index:1; background:#fffcf9; backdrop-filter:none; -webkit-backdrop-filter:none; border:1px solid #e4d7d3; box-shadow:0 12px 32px #1a1a1a26; }
.header .dropdown-menu a { color:#29252c; border-bottom-color:#eadfd9; border-radius:0; }
.header .dropdown-menu a:hover,.header .dropdown-menu a:focus-visible { background:#fff0e8; color:#a32c0c; transform:none; }
.header .dropdown-menu a:focus-visible { outline-offset:-3px; }
.header .dropdown-menu a::before { display:none; }
.mobile-nav { background:#fffcf9; backdrop-filter:none; -webkit-backdrop-filter:none; }
.mobile-dropdown-menu { background:#fff0e8; }
.mobile-dropdown-menu a { color:#29252c; }
.brand-logo { display:block; flex:none; width:40px; height:40px; border-radius:50%; object-fit:contain; }
.logo-icon,.logo-icon::before,.btn::before,.newsletter-icon,.link-icon { animation:none!important; }
.section { scroll-margin-top:85px; }
.studio-rule { max-width:1232px; margin:22px auto 0; padding:24px 0; border-top:1px solid #e8dcd8; display:flex; justify-content:space-between; gap:20px; font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:var(--gray-600); }
.studio-rule a { color:inherit; text-decoration:none; }
.scene-intro { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:70px; margin-bottom:34px; }
.scene-intro .section-header { margin:0; text-align:left; }
.scene-intro .section-title { font-size:clamp(34px,4vw,54px); line-height:1.08; letter-spacing:-.035em; margin:18px 0; }
.scene-intro .section-subtitle { font-size:16px; margin:0; }
.scene-number { display:block; color:var(--primary); font-size:11px; letter-spacing:.15em; text-transform:uppercase; }
.scene-links { display:grid; gap:0; margin-top:26px; max-width:400px; }
.scene-links a { padding:13px 0; display:flex; justify-content:space-between; border-top:1px solid #ffffff24; color:inherit; text-decoration:none; font-size:13px; }
.scene-links a:hover,.scene-links a:focus-visible { color:var(--primary-light); }
.scene-links a span { opacity:.5; }
#tutorials { padding:60px 0 64px; background:var(--gray-900); color:#fff8f5; }
#tutorials .section-title,#tutorials .section-subtitle { color:inherit; }
#tutorials .section-subtitle { opacity:.7; }
#tutorials .canvas-kicker,#tutorials .canvas-controls { color:#dfd3dc; }
#tutorials .canvas-slot::before { border-color:#ffffff20; }
#tutorials .canvas-slot { height:400px; }
#tutorials .canvas-label { background:#29252c; border-color:#67536b; color:#fff8f5; }
#tutorials .video-card { background:#29252c; border:1px solid #ffffff19; box-shadow:none; border-radius:12px; }
#tutorials .video-title { color:#fff8f5; }
#tutorials .video-meta { color:#cabccb; }
#tutorials .slider-header { margin-bottom:22px; }
.scene-caption { font-size:11px; letter-spacing:.1em; text-transform:uppercase; opacity:.65; }
.scene-view-all { margin:24px 0 0; display:inline-block; }
.section-alt { background:#fff8f5; padding:64px 0; }
.newsletter-card { background:white; border:1px solid #eadfd9; box-shadow:none; border-radius:16px; }
.newsletter-title { letter-spacing:-.025em; }
#shop { padding:40px 0 72px; background:#fff; }
#shop .canvas-slot { height:360px; }
#shop .scene-intro { margin-bottom:22px; }
.shop-card { box-shadow:none; border:1px solid #eadfd9; border-radius:14px; }
.shop-card:hover { box-shadow:0 12px 30px #7312d10d; }
#find-me { border-top:1px solid #eadfd9; background:#fff8f5; }
#find-me .section-title { font-size:36px; }
.link-card { background:#fff; box-shadow:none; border:1px solid #eadfd9; }
.motion-static-note { display:none; }
html:not(.motion-enabled) .motion-static-note { display:inline; }
html:not(.motion-enabled) .motion-live-note { display:none; }
.motion-paused *, .motion-paused *::before,.motion-paused *::after { animation-play-state:paused!important; }
@media(min-width:1000px) and (min-height:780px) {
 #tutorials { min-height:125svh; }
 #tutorials > .container { position:sticky; top:94px; }
}
@media(max-width:800px) {
 .hero { padding-top:32px; }.hero > .container { grid-template-columns:1fr; gap:24px; }
 .hero-content { text-align:left; }.hero-title { font-size:clamp(44px,10vw,70px); max-width:620px; }
 .hero-subtitle { font-size:16px; margin:18px 0 24px; }.hero-buttons { flex-direction:row; }
 .hero-buttons .btn { width:auto; }.canvas-slot { height:420px; max-width:560px; width:100%; margin:auto; }
 .canvas-help { display:none; }
 .scene-intro { grid-template-columns:1fr; gap:24px; }.scene-intro .section-title { font-size:38px; }
 .scene-intro .canvas-slot { grid-row:1; }
 .scene-links { max-width:none; }#tutorials { padding-top:42px; }#tutorials .canvas-slot { height:340px; }
 #shop .canvas-slot { height:330px; }.studio-rule { margin:16px 24px 0; padding:20px 0; font-size:8px; }
 .studio-rule span:nth-child(2) { display:none; }.canvas-label:nth-of-type(1) { top:8%; }
}
@media(max-width:420px) { .canvas-slot { height:370px; }.canvas-label { padding:8px; font-size:10px; }.hero-buttons .btn { padding:12px; font-size:11px; }.hero-title { font-size:45px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }.scroll-reveal,.fade-in { opacity:1!important; transform:none!important; } }

/* The Toolbox Crew replaces the avatar in the hero (motion/crew.js). The still
   picture shows until the crew is live, and stays for reduced motion / no JS. */
#avatar-subject { display:none !important; }
.canvas-slot .crew-static { width:min(92%,460px); height:auto; aspect-ratio:1; left:50%; top:47%; transform:translate(-50%,-50%); filter:none; }
/* Stays visible under the canvas motion too, until the crew itself is live. */
.motion-enabled .canvas-slot .crew-static { visibility:visible; }
.crew-live .canvas-slot .crew-static { visibility:hidden; }
.crew-canvas { position:absolute; inset:4% 0 10% 0; width:100%; height:86%; z-index:1; pointer-events:none; }
.crew-caption { bottom:30px; }
