/* Static route visibility prevents a flash of other pages before modules load. */
body[data-page=home] :is(#about,#resources,#contact,#faq,.studio-marquee,.brand-interlude),
body[data-page=about] :is(.hero,.desert-journey,.home-intro,#resources,#contact,#faq,.brand-interlude),
body[data-page=resources] :is(.hero,.desert-journey,.home-intro,#about,#contact,#faq,.studio-marquee,.brand-interlude),
body[data-page=contact] :is(.hero,.desert-journey,.home-intro,#about,#resources,.studio-marquee,.brand-interlude) {display:none!important}
/* Short pages keep the footer on the bottom edge instead of floating above an empty band. */
body[data-page]:not([data-page=home]) {display:flex;flex-direction:column;min-height:100svh}
body[data-page]:not([data-page=home]) main {flex:1 0 auto;padding-top:96px}
.page-unavailable {min-height:60svh;padding-block:90px;text-align:center}
.page-unavailable h1 {font-family:var(--type-heading);font-size:clamp(32px,4vw,64px);font-weight:400}
.home-intro {padding-block:clamp(80px,10vw,160px);border-top:1px solid var(--studio-rule)}
.home-intro-top {display:grid;grid-template-columns:1.3fr 1fr;gap:8%;align-items:end}
.home-intro .eyebrow {grid-column:1/-1;margin-bottom:28px}
.home-intro h2 {margin:0;font-family:var(--type-heading);font-size:clamp(34px,4.2vw,68px);line-height:1.35;font-weight:400;letter-spacing:-.035em;word-break:keep-all}
.home-intro-copy {color:var(--site-muted);font-size:15px;line-height:1.95;word-break:keep-all;white-space:pre-line}
.home-paths {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px;margin-top:72px}
.home-paths>a {position:relative;display:flex;flex-direction:column;align-items:start;gap:17px;min-width:0;padding:25px 0 30px;border-top:1px solid var(--studio-rule);color:var(--site-text)}
.home-paths small {font:10px var(--type-mono);color:var(--site-muted);letter-spacing:.07em}
.home-paths strong {font:clamp(26px,3vw,40px) var(--type-display);font-weight:400;letter-spacing:-.015em}
.home-paths span {font-size:13px;line-height:1.8;color:var(--site-muted);word-break:keep-all;padding-right:35px}
.home-paths .icon {position:absolute;right:0;top:26px;width:22px;height:22px;transition:transform .3s cubic-bezier(.2,.7,.3,1),color .2s}
.home-paths>a:is(:hover,:focus-visible) strong {color:var(--site-accent)}
.home-paths>a:is(:hover,:focus-visible) .icon {transform:translate(3px,-3px)}
.home-paths>a:focus-visible {outline:2px solid var(--site-accent);outline-offset:6px}
.home-paths>a strong {transition:color .2s}
/* Latest public release, filled in after load. The line is reserved so the
   row never grows when it arrives; it stays empty if the API is unavailable. */
.home-paths .home-path-latest {display:flex;align-items:center;gap:8px;min-height:20px;margin-top:auto;padding:0;font:11px/1.8 var(--type-mono);letter-spacing:.02em;color:var(--site-text);opacity:0;transition:opacity .4s ease}
.home-paths .home-path-latest[data-ready]::before {content:'';width:6px;height:6px;border-radius:50%;background:var(--site-accent);flex:none}
.home-paths .home-path-latest[data-ready] {opacity:1}
.home-paths .home-path-latest span {padding:0;font:inherit;color:inherit;letter-spacing:inherit}
.home-paths .home-path-latest .home-path-version {color:var(--site-muted)}
@media(max-width:1100px){.home-paths{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px}}
@media(prefers-reduced-motion:reduce){.home-paths .icon,.home-paths>a strong,.home-paths .home-path-latest{transition:none}}
body[data-page=contact] .contact-title h1{margin:0;font-family:var(--type-heading);font-weight:400;color:var(--site-text)}
@media(max-width:700px){body[data-page]:not([data-page=home]) main{padding-top:82px}.home-intro-top{grid-template-columns:1fr;gap:26px}.home-paths{grid-template-columns:1fr;gap:0;margin-top:46px}.home-paths>a{padding:24px 0}.home-paths .home-path-latest:not([data-ready]){display:none}.home-intro .eyebrow{margin-bottom:0}}
