/* The seven shortlisted worlds have room to breathe across the whole hero. */
.home-page #hero.world-hero{background:#12201e;color:#faf7ed;height:calc(100svh - var(--header-h));min-height:720px;padding:clamp(65px,12svh,130px) max(40px,calc((100vw - 1360px)/2)) 270px;display:block}
.home-page #hero.world-hero .world-stage{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:1;pointer-events:none}
.home-page #hero.world-hero .world-stage:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#081614c7 0%,#08161488 32%,#08161412 70%),linear-gradient(0deg,#07141190,transparent 40%);pointer-events:none;transition:opacity .5s}
.home-page #hero.world-hero .world-stage canvas{width:100%;height:100%;display:block;transition:opacity .35s;animation:none;filter:none;transform:none}
.home-page #hero.world-hero .world-loading canvas{opacity:.25}
.home-page #hero.world-hero .hero-content{max-width:720px;transition:opacity .4s;z-index:2}
.home-page #hero.world-hero h1{font-size:clamp(51px,5.6vw,87px);line-height:1.06;margin-bottom:24px;text-shadow:0 3px 35px #06151330}
.home-page #hero.world-hero .hero-line{color:#fffaf0}
.home-page #hero.world-hero .hero-line-accent{color:#e8bd8d}
.home-page #hero.world-hero .hero-lead{font-size:clamp(19px,2vw,25px);color:#f5efdf;margin-bottom:15px}
.home-page #hero.world-hero .hero-support{color:#dedfd4;font-size:14px;line-height:1.7}
.home-page #hero.world-hero .hero-work-link{color:#faf4e6}
.home-page #hero.world-hero .hero-primary{background:#f3e8d6;color:#21372f;border-color:#f3e8d6}
.home-page #hero.world-hero .hero-bottom{border-color:#ffffff30;color:#d1d5c9;z-index:4;bottom:22px}
.home-page #hero.world-hero .hero-bottom button,.home-page #hero.world-hero .scroll-invitation{color:#e4e8db}
.home-page #hero.world-hero .scroll-track{border-color:#d4deca66}.home-page #hero.world-hero .scroll-track i{background:#e9ddc5}
.home-page #hero.world-clean .hero-content{opacity:0;pointer-events:none}
.home-page #hero.world-clean .world-stage:after{opacity:0}
.world-controls{position:absolute;right:40px;bottom:87px;z-index:8;width:470px;border:1px solid #ecdfc733;border-radius:12px;padding:14px 16px 12px;background:#14241fe0;box-shadow:0 10px 40px #0003;backdrop-filter:blur(20px);color:#eeeade}
.world-control-top{display:flex;align-items:end;gap:7px}.world-select-wrap{flex:1;min-width:0}.world-select-wrap label{display:block;font-size:8px;letter-spacing:.16em;color:#c2c9b7;margin:0 0 7px}
.world-select-wrap select{display:block;width:100%;max-width:100%;min-height:36px;font-size:15px;font-family:inherit;background:#20372f;color:#fff4e1;border:1px solid #9aaa864d;border-radius:5px;padding:7px 8px;cursor:pointer}
.world-step{flex:0 0 36px;min-height:36px;background:#ffffff08;border:1px solid #eee4cc40;border-radius:5px;color:#f5eddd;font-size:17px}
.world-options{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:12px 0 11px}
.world-options button{position:relative;overflow:hidden;height:40px;border-radius:4px;border:1px solid transparent;padding:0;background:#203329;opacity:.65;transition:opacity .2s,border-color .2s}
.world-options button[aria-pressed=true]{opacity:1;border:2px solid #ebbb83}.world-options button:hover{opacity:1}.world-options img{width:100%;height:100%;object-fit:cover;display:block}
.world-options span{position:absolute;bottom:2px;left:3px;color:#fff;font-size:9px;text-shadow:0 1px 4px #000;background:#07181399;padding:1px 3px;border-radius:2px}
.world-control-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}
.world-text-button{color:#efe6d4;background:transparent;min-height:32px;font-size:10px;padding:4px 0;text-decoration:underline;text-decoration-color:#c8cbb36b;text-underline-offset:4px}
.world-text-button[aria-pressed=true]{color:#f3c48b}.world-motion-note{font-size:10px;color:#b7c1ae;line-height:1.5;margin:6px 0 0;min-height:15px}
.world-clean .world-options,.world-clean .world-motion-note,.world-clean .world-select-wrap label{display:none}.world-clean .world-control-bottom{margin-top:5px}
.world-controls :focus-visible,.world-reference :focus-visible{outline:2px solid #f2be83;outline-offset:4px}
.world-status{position:absolute;inset:40% 24px auto;z-index:9;text-align:center;font-size:14px;color:#fff4df;text-shadow:0 2px 8px #000}.world-status a{text-decoration:underline}
.world-reference{width:min(1280px,calc(100vw - 32px));height:min(900px,calc(100dvh - 32px));max-width:none;max-height:none;padding:0;border:1px solid #cfb78d66;border-radius:12px;background:#12221d;color:#f4eddd;overflow:hidden}
.world-reference[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.world-reference::backdrop{background:#07100ded;backdrop-filter:blur(10px)}
.world-reference header,.world-reference footer{padding:16px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px}
.world-reference header button{color:#fff;background:transparent;width:44px;height:44px;border:1px solid #e7d7b84d;border-radius:50%;font-size:25px}.world-reference img{width:100%;height:100%;object-fit:contain;min-height:0}.world-reference footer a{color:#c8d3ba;font-size:11px}
@media(min-width:1500px){.world-controls{right:max(40px,calc((100vw - 1360px)/2));width:500px}}
@media(max-width:1100px){.home-page #hero.world-hero{padding-inline:28px;min-height:760px}.world-controls{right:28px;width:425px}.home-page #hero.world-hero h1{font-size:64px;max-width:580px}}
@media(max-width:760px){
 .home-page #hero.world-hero{height:calc(100svh - var(--header-h));min-height:780px;padding:48px 24px 290px}
 .home-page #hero.world-hero .world-stage{position:absolute;inset:0;width:100%;height:100%;margin:0}
 .home-page #hero.world-hero .world-stage:after{background:linear-gradient(180deg,#08141185 0%,#08141132 48%,#08141133 65%,#081411aa 100%)}
 .home-page #hero.world-hero .hero-content{max-width:100%;order:initial}
 .home-page #hero.world-hero h1{font-size:clamp(38px,9.8vw,62px);margin-bottom:20px}
 .home-page #hero.world-hero .hero-lead{font-size:19px}.home-page #hero.world-hero .hero-support{font-size:12px;max-width:320px}
 .home-page #hero.world-hero .hero-actions{margin-top:23px;gap:16px}.home-page #hero.world-hero .hero-actions a{font-size:11px}
 .world-controls{left:20px;right:20px;bottom:68px;width:auto;padding:12px;border-radius:10px}
 .world-select-wrap select{font-size:13px;min-height:39px}.world-step{min-height:39px;flex-basis:36px}.world-options{gap:5px;margin-block:10px}.world-options button{height:38px}.world-motion-note{font-size:9px;min-height:27px}
 .world-text-button{font-size:10px;min-height:34px}.world-control-bottom{gap:10px}.home-page #hero.world-hero .hero-bottom{bottom:14px;left:24px;right:24px}.home-page #hero.world-hero .scroll-invitation{visibility:visible}
 .world-reference header,.world-reference footer{padding:12px;gap:10px;font-size:10px}.world-reference footer a{font-size:10px}.world-reference footer{align-items:start}
}
@media(max-width:380px){.home-page #hero.world-hero{padding-inline:20px;min-height:760px}.home-page #hero.world-hero h1{font-size:37px}.world-controls{left:14px;right:14px}.world-options{gap:4px}.world-options button{height:33px}.world-text-button{font-size:9px}}
@media(prefers-reduced-motion:reduce){.world-hero *{transition:none!important}}

/* The chosen direction: four distinct, directly playable bird behaviours. */
.swarm-hero{touch-action:pan-y}
.swarm-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.swarm-options button{height:52px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;background:#ffffff06;border:1px solid #e3dcc523;opacity:1;color:#bdc7b6}
.swarm-options button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
.swarm-options button b{font-size:9px;font-weight:500;line-height:1}
.swarm-options button[aria-pressed=true]{border:1px solid #e9bb84;background:#ebbb831a;color:#f4d1a2}
.world-interact{display:flex;align-items:center;justify-content:center;width:100%;min-height:41px;padding:9px 14px;margin-bottom:6px;border:1px solid #e6d2ae9c;border-radius:5px;background:#ecdfc8;color:#23372d;font-size:12px;font-weight:550;transition:background .2s}
.world-interact:hover{background:#fff0d5}.world-interact:disabled{background:#d5d4c0;color:#5b6659;opacity:.6;cursor:default}
.world-interact[aria-pressed=true]:not(:disabled){background:#cbd8bf;border-color:#cbd8bf}
.world-bird-link{display:block;color:#eac798;font-size:11px;padding-top:12px;text-decoration:underline;text-underline-offset:3px}
.flock-cursor{position:absolute;z-index:3;width:var(--cursor-size,26px);height:var(--cursor-size,26px);margin-left:calc(var(--cursor-size,26px) / -2);margin-top:calc(var(--cursor-size,26px) / -2);border:1px solid #eeddb666;border-radius:50%;pointer-events:none}
.swarm-options button img{width:28px;height:23px;object-fit:contain}
.world-clean .world-interact{margin-top:10px}.swarm-hero .world-motion-note{min-height:30px}
@media(max-width:760px){.swarm-options button{height:48px}.swarm-options button b{font-size:9px}.world-interact{font-size:11px;min-height:40px}.swarm-hero .world-motion-note{font-size:10px;min-height:30px}.swarm-hero .world-controls{padding:12px}.swarm-hero.world-clean .world-controls{padding:11px}}
@media(max-width:380px){.home-page #hero.swarm-hero{min-height:810px}}

.home-page #hero.world-fallback{background:linear-gradient(110deg,#26392f 0%,#384c3d 52%,#b6b397 100%)}.world-fallback .kinetic-stage:after{content:"";position:absolute;inset:15% 5% 15% 52%;background:url("/assets/arrowhit-logo.png") center/contain no-repeat;opacity:.55}.world-fallback .world-status{display:none}@media(max-width:760px){.world-fallback .kinetic-stage:after{inset:48% 15% 12%;opacity:.25}}
