/* Homepage only. Portrait tablet layout; desktop and landscape stay unchanged. */
.home-portrait-wordmark{display:none}
@media (min-width:600px) and (max-width:1100px) and (orientation:portrait){
 .home-compact{color-scheme:light}
 .home-compact .site-header .brand{width:auto;gap:10px;max-width:calc(100% - 125px)}
 .home-compact .brand-wording{width:auto;display:flex;flex-direction:row;align-items:center;gap:14px}
 .home-compact .site-header .brand-tagline{width:142px;flex-shrink:0;white-space:normal;text-align:left;font-size:11px;line-height:1.35}
 .home-compact .home-portrait-wordmark{display:block;color:#ef751c;font:900 28px/1.1 Georgia,serif;letter-spacing:1.5px;text-align:center;text-shadow:0 1px 0 #ffd69c,0 2px 0 #a6400b,0 3px 3px #7b381a33}
 .home-compact main.portrait-home{display:grid;grid-template-columns:minmax(0,1fr)}
 .home-compact main.portrait-home>.hero{display:contents}
 .home-compact .hero-copy>.crop{display:none!important}
 .home-compact .hero-copy{grid-row:1;min-height:0;padding:18px 28px!important;background:#fff}
 .home-compact .hero h1{font-size:clamp(20px,3.4vw,36px)!important;line-height:1.15!important;margin-top:8px!important;letter-spacing:-.35px!important;white-space:nowrap}
 .home-compact .hero h1 .hero-title-impact{display:inline!important;font-size:inherit!important;line-height:inherit!important;white-space:nowrap!important;margin:0 0 0 .22em!important}
 .home-compact .hero .eyebrow{font-size:11px!important}
 .home-compact .hero-benefits{font-size:14px!important;line-height:1.4!important;margin-top:10px!important;white-space:normal}
 .home-compact .hero-benefits span{display:inline}
 .home-compact .hero-principle{display:none}
 .home-compact .hero-description{display:none}
 .home-compact .hero-description br{display:none}
 .home-compact .hero-actions{display:flex;margin-top:12px!important;gap:12px}
 .home-compact .hero-actions .button{width:auto;min-height:44px;height:44px!important;font-size:14px!important}
 .home-compact .hero-note{display:none}
 .home-compact .hero-photo{grid-row:2;grid-column:1;height:var(--home-portrait-photo-height,240px)!important;width:100%;aspect-ratio:auto;min-height:180px;background:#35271f}
 .home-compact .hero-photo>.crop{position:absolute!important;inset:auto!important;left:0!important;bottom:auto!important;top:0!important;width:100%!important;height:auto!important;aspect-ratio:859/510;transform:none!important}
 .home-compact .hero-photo:before,.home-compact .hero-photo-caption{display:none!important}
 .home-compact main.portrait-home>.steps{grid-row:2;grid-column:1;align-self:end;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;height:auto;padding:12px 18px;background:#101920de;color:#fff}
 .home-compact .steps article{align-items:center;gap:8px}
 .home-compact .steps article+article:before{display:none}
 .home-compact .steps .number{width:28px;height:28px;font-size:17px}
 .home-compact .steps h2{font-family:'Segoe UI',Arial,sans-serif;font-size:13px;line-height:1.25;white-space:normal;color:#fff}
 .home-compact .steps p{display:none}
 .home-compact .universe-motto{grid-row:3;padding:8px 18px;font-size:18px;line-height:1.25}
 .home-compact .universe-motto:after{display:none}
 .home-compact .universe-banner{grid-row:4;display:block;padding:var(--home-portrait-banner-padding,10px) 18px}
 .home-compact .universe-banner-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 4px}
 .home-compact .universe-banner h2{font-size:18px;margin:0}
 .home-compact .universe-banner h2 br{display:none}
 .home-compact .universe-position{display:none}
 .home-compact .universe-controls button{width:44px;height:44px}
 .home-compact .universe-tile{flex-basis:calc((100% - var(--tile-gap))/2);min-height:136px;padding:6px 10px 6px 0;gap:10px}
 .home-compact .universe-image{width:82px;flex-basis:82px;height:116px}
 .home-compact .universe-copy strong{font-size:17px}
 .home-compact .universe-copy>span{font-size:12px;margin-top:6px}
 .home-compact .universe-copy b{font-size:12px;margin-top:6px}
 .home-compact .community{grid-row:5;height:auto;padding:28px}
}

/* The homepage uses the same clean artwork in both tablet orientations. */
:root{color-scheme:only light}
.home-compact .hero-copy>.crop{display:none!important}
.home-compact .hero-photo{background:transparent!important}
.home-compact .hero-photo::before{display:none!important}
@media (orientation:landscape){
 .home-compact .home-portrait-wordmark{display:block;color:#ef751c;font:900 clamp(20px,2vw,28px)/1.1 Georgia,serif;letter-spacing:1px;text-shadow:0 1px 0 #ffd69c,0 2px 0 #a6400b,0 3px 3px #7b381a33;background:transparent}
}

.home-compact .home-photo-scene{display:block;width:100%;height:100%;fill:none;stroke:none;border:0}
/* Short landscape screens retain the photo and carousel before the next section. */
@media (min-width:901px) and (orientation:landscape) and (max-height:750px){
 .home-compact main{display:flex;flex-direction:column}
 .home-compact main>.hero{order:0}
 .home-compact main>.steps{order:1}
 .home-compact main>.universe-motto{order:2}
 .home-compact main>.universe-banner{order:3}
 .home-compact main>.community{order:4}
 .home-compact .hero-principle,.home-compact .hero-description,.home-compact .hero-note{display:none}
}
.home-compact .home-photo-scene{position:absolute;inset:0}
