/* Home alone: one composition with its ATHAR introduction and footer.
   No overflow clipping; long/zoomed content and the active game can still scroll. */
body:has(#athar-home:not([hidden])){height:auto;min-height:100svh;min-height:100dvh}
body:has(#athar-home:not([hidden])) #main{min-height:0}
body:has(#athar-home:not([hidden])) #home{flex:1 1 auto;min-height:0}
body:has(#athar-home:not([hidden])) .hero-grid{min-height:0;padding-block:12px;align-items:center}
body:has(#athar-home:not([hidden])) .header-inner{height:clamp(58px,8dvh,82px)}
body:has(#athar-home:not([hidden])) .hero-title{font-size:clamp(32px,min(4.5vw,6.5dvh),64px);line-height:1.22;margin-block:8px}
body[dir="ltr"]:has(#athar-home:not([hidden])) .hero-title{font-size:clamp(34px,min(4.7vw,6.8dvh),66px);line-height:1.08}
body:has(#athar-home:not([hidden])) .hero-desc{margin-bottom:12px;line-height:1.85}
body:has(#athar-home:not([hidden])) .hero-mission{margin-bottom:5px;font-size:11px;line-height:1.7}
body:has(#athar-home:not([hidden])) .hero-footnote{margin-top:12px;font-size:10px}
body:has(#athar-home:not([hidden])) .hero-art:not(.hero-game-active){width:min(100%,max(240px,calc(100dvh - 350px)))}
body:has(#athar-home:not([hidden])) .hero-buttons .btn{padding:10px 17px;font-size:11px}
body:has(#athar-home:not([hidden])) .marquee{min-height:24px}
body:has(#athar-home:not([hidden])) .marquee-track{font-size:8px;line-height:24px}

/* The full story remains in About; Home keeps identity, message, status and entry. */
.athar-home-inner{grid-template-columns:44px minmax(0,1fr) auto;grid-template-areas:"mark title link" "mark tagline tagline" "mark status status";column-gap:12px;row-gap:3px;padding-block:10px}
.athar-home-copy{display:contents}
.athar-home-mark{grid-area:mark;align-self:center;padding:0}
.athar-home-mark img{width:44px;height:44px;border-radius:12px}
.athar-home h2{grid-area:title;font-size:18px;line-height:1.25;margin:0}
.athar-home-tagline{grid-area:tagline;font-size:12px;line-height:1.65;margin:0}
.athar-home-summary{display:none}
.athar-home .athar-status{grid-area:status;display:block;font-size:10px;line-height:1.5;border:0;padding:0;margin:0}
.athar-home .athar-status::before{display:inline-block;width:4px;height:4px;vertical-align:middle;margin-inline-end:7px}
.athar-home-link{grid-area:link;grid-column:auto;justify-self:end;max-width:none;font-size:10px;line-height:1.5;min-height:24px;padding-block:2px;gap:8px;border:0}
.athar-home-link svg{width:13px;height:13px;flex:none}
@media(min-width:821px){
 .athar-home-inner{grid-template-columns:44px auto minmax(0,1fr) auto;grid-template-areas:"mark title tagline link" "mark status status link"}
}

body:has(#athar-home:not([hidden])) .footer-inner{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:12px;padding-block:9px}
body:has(#athar-home:not([hidden])) .footer-mark{font-size:13px;letter-spacing:.1em;white-space:nowrap}
body:has(#athar-home:not([hidden])) .footer-mini{width:22px;height:22px}
body:has(#athar-home:not([hidden])) .footer [data-i="footerMade"]{font-size:9px;line-height:1.6}
body:has(#athar-home:not([hidden])) .footer .personal-socials{justify-content:center;gap:7px;flex-basis:auto}
body:has(#athar-home:not([hidden])) .footer .personal-social-link{width:30px;height:30px}
body:has(#athar-home:not([hidden])) .footer [data-i="legal"]{font-size:10px;line-height:1.6;min-height:24px;display:flex;align-items:center}

@media(max-width:1050px){
 body:has(#athar-home:not([hidden])) .footer-inner{gap:8px}
 body:has(#athar-home:not([hidden])) .footer-mark{font-size:11px}
 body:has(#athar-home:not([hidden])) .footer [data-i="footerMade"]{font-size:8px}
 body:has(#athar-home:not([hidden])) .footer .personal-social-link{width:27px;height:27px}
 .athar-home-inner{column-gap:10px}
}
@media(max-width:820px){
 body:has(#athar-home:not([hidden])) .header-inner{height:60px}
 body:has(#athar-home:not([hidden])) .hero-grid{padding-block:12px}
 body:has(#athar-home:not([hidden])) .hero-title{font-size:clamp(30px,min(8.5vw,5.6dvh),47px);line-height:1.28;margin-block:8px}
 body[dir="ltr"]:has(#athar-home:not([hidden])) .hero-title{font-size:clamp(32px,min(8.5vw,5.9dvh),49px);line-height:1.1}
 body:has(#athar-home:not([hidden])) .hero-desc{font-size:12px;line-height:1.8;margin-bottom:12px}
 body:has(#athar-home:not([hidden])) .hero-mission{font-size:11px}
 body:has(#athar-home:not([hidden])) .hero-footnote{font-size:9px;line-height:1.5;margin-top:12px}
 body:has(#athar-home:not([hidden])) .hero-overline{font-size:8px}
 body:has(#athar-home:not([hidden])) .hero-art:not(.hero-game-active){width:440px;top:6%;inset-inline-end:-145px}
 body:has(#athar-home:not([hidden])) .hero-buttons{gap:10px}
 body:has(#athar-home:not([hidden])) .hero-buttons .btn{padding:9px 15px;font-size:11px;min-height:36px}
 .athar-home-inner{grid-template-columns:40px minmax(0,1fr) auto;padding-block:8px;padding-left:max(64px,var(--pad));row-gap:2px}
 .athar-home-mark img{width:40px;height:40px;border-radius:11px}
 .athar-home h2{font-size:16px}
 .athar-home-tagline{font-size:11px;line-height:1.55}
 .athar-home .athar-status{font-size:9px;line-height:1.5}
 .athar-home-link{font-size:9px;gap:5px}
 body:has(#athar-home:not([hidden])) .footer-inner{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"mark made" "social social" "legal legal";column-gap:8px;row-gap:3px;padding-block:6px;padding-left:64px;padding-right:var(--pad);text-align:center}
 body:has(#athar-home:not([hidden])) .footer-mark{grid-area:mark;font-size:11px;letter-spacing:.07em;justify-self:center}
 body:has(#athar-home:not([hidden])) .footer [data-i="footerMade"]{grid-area:made;font-size:8px;white-space:nowrap}
 body:has(#athar-home:not([hidden])) .footer .personal-socials{grid-area:social;flex-basis:auto;gap:6px;flex-wrap:nowrap;justify-self:center}
 body:has(#athar-home:not([hidden])) .footer .personal-social-link{width:26px;height:26px}
 body:has(#athar-home:not([hidden])) .footer [data-i="legal"]{grid-area:legal;justify-self:center;font-size:9px}
}
@media(max-width:820px) and (max-height:700px){
 body:has(#athar-home:not([hidden])) .header-inner{height:54px}
 body:has(#athar-home:not([hidden])) .hero-grid{padding-block:7px}
 body:has(#athar-home:not([hidden])) .hero-title{font-size:clamp(27px,7.7vw,36px);line-height:1.2;margin-block:5px}
 body[dir="ltr"]:has(#athar-home:not([hidden])) .hero-title{font-size:clamp(28px,7.9vw,38px);line-height:1.08}
 body:has(#athar-home:not([hidden])) .hero-desc{font-size:11px;line-height:1.65;margin-bottom:8px}
 body:has(#athar-home:not([hidden])) .hero-mission{font-size:10px;line-height:1.5;margin-bottom:4px}
 body:has(#athar-home:not([hidden])) .hero-footnote{margin-top:7px;font-size:8px}
 body:has(#athar-home:not([hidden])) .hero-buttons .btn{padding:7px 12px;font-size:10px;min-height:34px}
 body:has(#athar-home:not([hidden])) .marquee{min-height:21px}
 body:has(#athar-home:not([hidden])) .marquee-track{line-height:21px;font-size:7px}
 .athar-home-inner{padding-block:6px}
}
@media(min-width:821px) and (max-height:500px){
 body:has(#athar-home:not([hidden])) .header-inner{height:52px}
 body:has(#athar-home:not([hidden])) .hero-grid{padding-block:4px;grid-template-columns:minmax(0,1.4fr) minmax(0,.6fr)}
 body:has(#athar-home:not([hidden])) .hero-title,body[dir="ltr"]:has(#athar-home:not([hidden])) .hero-title{font-size:28px;line-height:1.06;margin-block:5px}
 body:has(#athar-home:not([hidden])) .hero-title span:not(:last-child){display:inline;margin-inline-end:.2em}
 body:has(#athar-home:not([hidden])) .hero-title span:last-child{display:block}
 body:has(#athar-home:not([hidden])) .hero-desc{font-size:11px;line-height:1.65;margin-bottom:6px}
 body:has(#athar-home:not([hidden])) .hero-mission{font-size:10px;line-height:1.4;margin-bottom:3px}
 body:has(#athar-home:not([hidden])) .hero-overline{font-size:8px;line-height:1.4}
 body:has(#athar-home:not([hidden])) .hero-buttons .btn{min-height:30px;padding:6px 12px;font-size:10px}
 body:has(#athar-home:not([hidden])) .hero-footnote{font-size:8px;line-height:1.3;margin-top:6px}
 body:has(#athar-home:not([hidden])) .hero-art:not(.hero-game-active){width:min(100%,max(140px,calc(100dvh - 205px)))}
}
@media(max-width:820px) and (max-height:620px){
 body:has(#athar-home:not([hidden])) .hero-grid{padding-block:5px}
 body:has(#athar-home:not([hidden])) .hero-title{margin-block:3px}
 body:has(#athar-home:not([hidden])) .hero-footnote{margin-top:3px}
}
@media(min-width:600px) and (max-width:820px) and (max-height:500px){
 body:has(#athar-home:not([hidden])) .header-inner{height:48px}
 body:has(#athar-home:not([hidden])) .hero-grid{padding-block:6px}
 body:has(#athar-home:not([hidden])) .hero-title,body[dir="ltr"]:has(#athar-home:not([hidden])) .hero-title{font-size:27px;line-height:1.08;margin-block:5px}
 body:has(#athar-home:not([hidden])) .hero-title span{display:inline;margin-inline-end:.2em}
 body:has(#athar-home:not([hidden])) .hero-mission{display:inline;margin-inline-end:8px}
 body:has(#athar-home:not([hidden])) .hero-mission::before{display:inline-block;vertical-align:middle;margin-inline-end:6px}
 body:has(#athar-home:not([hidden])) .hero-desc{display:inline;font-size:11px;line-height:1.6;margin:0}
 body:has(#athar-home:not([hidden])) .hero-buttons{margin-top:7px}
 body:has(#athar-home:not([hidden])) .hero-buttons .btn{min-height:30px;padding:5px 12px}
 body:has(#athar-home:not([hidden])) .hero-footnote{margin-top:5px}
 .athar-home-inner{grid-template-columns:36px auto minmax(0,1fr) auto;grid-template-areas:"mark title tagline link" "mark status status link"}
 .athar-home-mark img{width:36px;height:36px}
 body:has(#athar-home:not([hidden])) .footer-inner{grid-template-columns:auto auto minmax(0,1fr) auto;grid-template-areas:"mark made social legal";padding-block:5px;gap:8px}
 body:has(#athar-home:not([hidden])) .footer-mark{font-size:10px}
 body:has(#athar-home:not([hidden])) .footer [data-i="footerMade"]{white-space:normal;font-size:7px}
 body:has(#athar-home:not([hidden])) .footer .personal-socials{gap:4px}
 body:has(#athar-home:not([hidden])) .footer .personal-social-link{width:24px;height:24px}
}
/* Keep native content available rather than crop when play or user sizing needs room. */
body:has(#home.hero-orbit-playing){height:auto;min-height:100dvh}
body:has(#home.hero-orbit-playing) #home{flex:none}
