/* Homepage: floating paper silhouettes, never a rectangular hero board. */
.home-layout{max-width:1420px;grid-template-columns:minmax(0,1.35fr) minmax(350px,.9fr);gap:18px 48px;margin:26px auto;padding:0 30px;align-items:center}
.home-layout .home-hero{padding:0;align-self:center;position:relative;display:block;background:none;box-shadow:none;border:0}
.home-hero>.eyebrow{margin:0 0 4px}.home-layout .home-title{height:94px;width:330px}.home-layout .home-poem{font-size:25px;margin:4px 0 0;letter-spacing:3px}
.home-collage{height:400px;position:relative;isolation:isolate;margin-top:2px}
.home-goddess{position:absolute;height:108%;width:65%;object-fit:contain;left:0;bottom:-4px;z-index:2;filter:drop-shadow(2px 5px 2px #62523825)}
.home-artisan{position:absolute;width:32%;height:54%;object-fit:contain;right:1%;bottom:14px;z-index:3;transform:rotate(3deg);filter:drop-shadow(2px 4px 1px #62523830)}
.home-cloud{position:absolute;inset:16% 2% 8% 12%;background:linear-gradient(#75938a55,#75938a55),var(--art-paper-fiber) center/360px;clip-path:polygon(4% 24%,17% 8%,35% 12%,48% 0,69% 8%,82% 2%,97% 28%,90% 44%,100% 65%,87% 82%,70% 83%,54% 100%,35% 87%,15% 94%,0 71%,8% 52%);transform:rotate(-8deg);z-index:0}
.home-cloud::after{content:'';position:absolute;inset:12% -2% -1% 9%;background:var(--art-scene-cloud) center/contain no-repeat;opacity:.8;transform:rotate(12deg)}
.home-artisan-label{position:absolute;right:3%;bottom:0;font-size:14px;letter-spacing:2px;color:#88573c;z-index:4}
.home-layout .home-stones{position:absolute;right:0;top:16%;width:38%;min-height:0;padding:0;z-index:1;transform:rotate(7deg)}
.home-layout .home-stones::after{display:none}.home-layout .home-stone{width:22%;margin-right:-2%;filter:drop-shadow(2px 4px 1px #4f422530)}
.home-layout .home-entry-card{align-self:center;padding:30px;transform:rotate(.35deg);box-shadow:9px 12px 0 -3px #a9b4a37a,15px 18px 0 -5px #bbaa8660}
.home-layout .home-entry-card::before{inset:0 -7px -8px 3px;transform:rotate(-1.2deg);background:#c9ba95}
.home-layout .home-entry-card h2{font-size:29px}.home-layout .home-entry-card>.muted{font-size:15px}
.home-learn{grid-column:1/-1;display:flex;align-items:center;gap:28px;padding:16px 22px;position:relative;isolation:isolate;margin-top:4px}
.home-learn::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(#f8f0debb,#f8f0debb),var(--fiber);clip-path:var(--tear-b);border-bottom:3px solid #baaa8955}
.home-learn .home-how{flex:1;border:0;padding:0;gap:22px}.home-learn .home-how li{position:relative;padding-left:34px}.home-learn .home-how li::before{position:absolute;left:0;top:1px;font-size:17px}.home-learn .home-how strong{font-size:18px}.home-learn .home-how span{font-size:14px}.home-learn .home-guide-actions{margin:0;flex-shrink:0}
.offering-ceremony{height:440px;min-height:0;display:block;animation-duration:4.8s;overflow:hidden}
.offering-ceremony .celebration-nuwa{position:absolute;left:5%;bottom:24px;width:43%;height:90%;animation-duration:4.8s}
.offering-ceremony .celebration-cloud{left:61%;top:100px;width:44%;height:240px;opacity:.5}
.offering-array{position:absolute;right:6%;top:5%;width:44%;aspect-ratio:1}
.offering-array svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.offering-array path{fill:none;stroke:#ac8544;stroke-width:1.7;stroke-dasharray:1800;animation:array-connect 4.8s ease both}
.offering-stone{position:absolute;width:26%;height:26%;object-fit:contain;transform:translate(-50%,-50%);filter:drop-shadow(2px 3px 1px #55442640)}
.offering-stone-0{left:50%;top:10%;filter:drop-shadow(0 0 5px #b99547);animation:last-stone 4.8s ease both}
.offering-stone-1{left:88%;top:38%}.offering-stone-2{left:74%;top:82%}.offering-stone-3{left:26%;top:82%}.offering-stone-4{left:12%;top:38%}
.ceremony-skip{position:absolute;bottom:12px;right:18px}
@keyframes last-stone{0%,15%{opacity:0;translate:-150% 140%;rotate:-20deg}25%{opacity:1}60%,100%{opacity:1;translate:0 0;rotate:0deg}}
@keyframes array-connect{0%,55%{stroke-dashoffset:1800;opacity:.2}85%,100%{stroke-dashoffset:0;opacity:1}}
@media(min-width:800px) and (max-height:800px){.home-layout{margin:18px auto;gap:12px 32px;max-width:1240px}.home-layout .home-title{height:76px;width:290px}.home-layout .home-poem{font-size:22px}.home-collage{height:320px}.home-layout .home-entry-card{padding:22px 26px}.home-entry-card .entry-network{margin:12px 0}.home-learn{padding:12px 18px}.offering-ceremony{height:340px}}
@media(max-width:799px){.home-layout{display:grid;grid-template-columns:1fr;max-width:600px;padding:0 22px;gap:28px}.home-collage{height:360px}.home-layout .home-entry-card{width:100%;transform:none}.home-learn{grid-column:1;display:block}.home-learn .home-how{grid-template-columns:1fr;gap:14px}.home-learn .home-guide-actions{margin-top:18px}.offering-ceremony{height:300px}.offering-ceremony .celebration-nuwa{left:0;width:48%}.offering-array{width:49%;right:1%;top:15%}}

/* Keep decorative paper edges within the mobile page without resizing artwork. */
@media(max-width:799px){.home-layout{overflow-x:clip}}
.home-goddess{height:100%}
.offering-stone-0{filter:drop-shadow(0 0 5px #b99547)}
.offering-ceremony .ceremony-skip{top:auto;left:auto;height:auto;bottom:10px;right:14px;z-index:5}
.offering-array{width:min(43%,300px);top:7%;right:9%}
@media(max-width:799px){.offering-array{width:47%;right:2%;top:17%}}
/* Story reads from left to right: artisan refines, Nuwa repairs. */
.home-collage .home-goddess{left:auto;right:0;bottom:22px;width:58%;height:94%}
.home-collage .home-artisan{left:1%;right:auto;bottom:24px;width:42%;height:68%;transform:rotate(-2deg)}
.home-collage .home-artisan-label{right:3%;bottom:0;font-size:16px}
