/* EliteNuggets — Modular Nuggets art direction */
.home-reference-page{background:#090e11}
.home-reference-page .hero{isolation:isolate;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:16px;min-height:560px;padding-block:48px}
.home-reference-page .hero-copy{width:100%;position:relative;z-index:1;grid-column:1;grid-row:1}
.home-reference-page .hero-art{position:relative;grid-column:2;grid-row:1;inset:auto;width:110%;max-width:none;height:auto;aspect-ratio:3/2;object-fit:contain;z-index:0;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);pointer-events:none}
.home-reference-page .hero h1{font-size:clamp(38px,4.4vw,60px);line-height:1.05}
.home-reference-page .service{min-height:415px;padding:24px 20px 180px;background:#151d21}
.home-reference-page .service>img{width:100%;height:175px;left:0;right:auto;bottom:0;object-fit:cover;object-position:center;mask-image:linear-gradient(transparent,#000 18%)}
.home-reference-page .service p{max-width:none;line-height:1.6;font-size:14px;margin-bottom:0}
.home-reference-page .service h3{position:relative;z-index:1}
.home-reference-page .community-card{min-height:390px;padding:22px 22px 176px;background:#f5f6f2}
.home-reference-page .community-card>img{position:absolute;top:auto;bottom:0;right:0;width:100%;height:176px;object-fit:cover;object-position:center;mask-image:linear-gradient(transparent,#000 20%);pointer-events:none}
.home-reference-page .community-card .badge,.home-reference-page .community-card h3,.home-reference-page .community-card p{position:relative;z-index:1}
.home-reference-page .community-card p{max-width:none;font-size:14px;line-height:1.6;margin-bottom:12px}
.home-reference-page .community-card.write .badge,.home-reference-page .community-card.discover .badge{background:#213400;color:#d0ff35}
.home-reference-page .circle{z-index:2}
.home-reference-page .cta{isolation:isolate;background:#090e11;min-height:390px;overflow:hidden;padding-block:64px}
.home-reference-page .cta:before{display:none}
.home-reference-page .cta-art{position:absolute;right:0;top:0;height:100%;width:51%;object-fit:contain;z-index:-1;mask-image:linear-gradient(90deg,transparent,#000 22%,#000 92%,transparent);pointer-events:none}
.home-reference-page .cta .wrap>*{max-width:55%}
@media(max-width:1000px) and (min-width:701px){.home-reference-page .service{padding-inline:16px;min-height:460px}.home-reference-page .community-card{padding-inline:16px;min-height:435px}.home-reference-page .hero h1{font-size:42px}}
@media(max-width:700px){.home-reference-page .hero{display:flex;flex-direction:column;gap:8px;padding-top:32px;padding-bottom:24px;min-height:0}.home-reference-page .hero-copy{order:0}.home-reference-page .hero-art{order:1;width:100%;height:auto;aspect-ratio:3/2;margin-top:8px}.home-reference-page .hero h1{font-size:clamp(36px,9vw,52px)}.home-reference-page .service{min-height:380px;padding:24px 24px 190px}.home-reference-page .service>img{width:100%;height:190px;object-fit:contain}.home-reference-page .community-card{min-height:380px;padding:24px 24px 190px}.home-reference-page .community-card>img{height:190px;object-fit:contain}.home-reference-page .cta{padding:40px 0 250px;min-height:0}.home-reference-page .cta .wrap>*{max-width:100%}.home-reference-page .cta-art{top:auto;bottom:0;width:100%;height:240px;object-fit:contain;mask-image:linear-gradient(transparent,#000 15%,#000 90%,transparent)}}

/* Compact mobile overview cards; project media keeps its own aspect ratio. */
@media(max-width:768px){
 .home-reference-page .section{padding-block:48px!important;gap:24px!important}
 .home-reference-page .wrap{width:calc(100% - 36px)!important;max-width:1140px}
 .home-reference-page .hero{min-height:0!important;padding-block:32px 24px!important;gap:12px!important}
 .home-reference-page .hero h1{font-size:clamp(36px,9vw,52px)!important;line-height:1.06}
 .home-reference-page .hero-art{width:100%!important;height:180px!important;max-height:180px;aspect-ratio:auto!important;margin:0!important}
 .home-reference-page :is(.services,.community-grid,.projects,.resources){gap:20px!important;min-width:0}
 .home-reference-page .service{min-height:0!important;padding:18px 18px 136px!important;border-radius:12px}
 .home-reference-page .service>img{height:120px!important;object-fit:contain!important;bottom:0!important}
 .home-reference-page .service h3{font-size:21px!important;margin-block:8px!important;padding-right:32px}
 .home-reference-page .service p{font-size:14px;line-height:1.5!important}
 .home-reference-page .service .circle{width:36px;height:36px}
 .home-reference-page .community-card{min-height:0!important;padding:18px 100px 18px 18px!important;border-radius:12px}
 .home-reference-page .community-card>img{width:88px!important;height:96px!important;bottom:18px!important;object-fit:contain!important;opacity:.85}
 .home-reference-page .community-card h3{font-size:21px!important;margin-block:10px!important}
 .home-reference-page .community-card p{font-size:14px;line-height:1.5!important}
 .home-reference-page .community-card .circle{position:relative!important;inset:auto!important;width:36px;height:36px}
 .home-reference-page .cta{padding:40px 0 184px!important;min-height:0!important}
 .home-reference-page .cta-art{height:168px!important;width:100%!important}
 .home-reference-page .cta h2{font-size:clamp(32px,8vw,44px)!important}
 .home-reference-page .asset-grid{gap:12px!important}
 .home-reference-page .asset-grid img{height:150px!important;object-fit:contain!important}
 .home-reference-page .journal{gap:12px!important}
 .home-reference-page .journal a{padding-block:14px!important}
}
@media(max-width:768px){
 .home-reference-page .community{padding-block:48px!important}
 .home-reference-page .community-inner{gap:20px!important}
 .home-reference-page .cta .wrap>*{max-width:100%!important}
}

/* Mobile homepage reference: compact information, prominent featured work. */
@media(max-width:768px){
 .home-reference-page .hero{display:flex!important;flex-direction:column!important;align-items:stretch!important;padding:36px 0 24px!important;gap:16px!important}
 .home-reference-page .hero-copy{max-width:540px!important}
 .home-reference-page .hero h1{font-size:clamp(32px,8.1vw,46px)!important;margin:0 0 14px!important;line-height:1.06!important}
 .home-reference-page .hero-copy>p:not(.eyebrow):not(.disciplines){font-size:15px!important;line-height:1.5!important;margin:0 0 18px!important}
 .home-reference-page .hero .actions{gap:10px!important;margin:0!important}
 .home-reference-page .hero .disciplines{margin:16px 0 0!important;font-size:11px!important;line-height:1.6!important}
 .home-reference-page .hero-art{height:160px!important;max-height:170px!important;object-fit:contain!important;object-position:right bottom!important;order:1}
 .home-reference-page .section,.home-reference-page .community{padding-block:44px!important}
 .home-reference-page :is(.work,.services,.explore,.community-inner){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important}
 .home-reference-page .intro h2{font-size:clamp(27px,7vw,36px)!important;line-height:1.08!important;margin:8px 0 12px!important}
 .home-reference-page .intro>p:not(.eyebrow){font-size:14px!important;line-height:1.5!important;margin:0 0 16px!important;max-width:480px}
 .home-reference-page .intro .btn{min-height:44px!important;padding:10px 14px!important}
 .home-reference-page .projects{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 .home-reference-page .project{grid-column:auto!important;grid-row:auto!important;min-height:0!important;height:auto!important}
 .home-reference-page .project.featured{display:block!important;padding:0!important;border:1px solid #ffffff20!important;border-radius:10px!important;overflow:hidden!important;background:#11191c}
 .home-reference-page .project.featured>img,.home-reference-page .project.featured>video{position:static!important;display:block!important;width:100%!important;height:auto!important;max-height:240px!important;aspect-ratio:16/10!important;object-fit:cover!important}
 .home-reference-page .project-caption{position:static!important;inset:auto!important;background:none!important;padding:12px!important;min-width:0}
 .home-reference-page .project-caption h3{font-size:18px!important;line-height:1.25!important;margin:5px 0 0!important}
 .home-reference-page .project-caption small{font-size:10px!important;line-height:1.3!important}
 .home-reference-page .project:not(.featured){display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;padding:12px 0!important;border:0!important;border-bottom:1px solid #ffffff20!important;border-radius:0!important;background:transparent!important}
 .home-reference-page .project:not(.featured)>img,.home-reference-page .project:not(.featured)>video{position:static!important;width:88px!important;height:72px!important;aspect-ratio:auto!important;object-fit:cover!important;border-radius:6px!important}
 .home-reference-page .project:not(.featured) .project-caption{padding:0!important}
 .home-reference-page .project:not(.featured) h3{font-size:16px!important}
 .home-reference-page .services .cards,.home-reference-page .community .cards{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 .home-reference-page .service{position:relative!important;display:block!important;min-height:170px!important;height:auto!important;padding:18px 116px 18px 18px!important;overflow:hidden!important}
 .home-reference-page .service .icon{width:26px!important;height:26px!important;font-size:24px!important;margin:0!important}
 .home-reference-page .service h3{font-size:18px!important;line-height:1.2!important;padding:0!important;margin:8px 0 6px!important}
 .home-reference-page .service h3 br{display:none}
 .home-reference-page .service p{font-size:12px!important;line-height:1.45!important;margin:0!important}
 .home-reference-page .service>img{position:absolute!important;inset:auto 12px 12px auto!important;width:90px!important;height:90px!important;object-fit:contain!important;mask-image:none!important}
 .home-reference-page .service .circle{position:absolute!important;inset:14px 14px auto auto!important;width:28px!important;height:28px!important;border:0!important}
 .home-reference-page .community-card{position:relative!important;display:grid!important;grid-template-columns:36px minmax(0,1fr) 24px!important;gap:4px 12px!important;align-items:center!important;min-height:0!important;height:auto!important;padding:18px 0!important;background:transparent!important;border:0!important;border-bottom:1px solid #090e1126!important;border-radius:0!important;box-shadow:none!important}
 .home-reference-page .community-card>img{display:none!important}
 .home-reference-page .community-card .badge{grid-column:1;grid-row:1/3;position:static!important;width:34px!important;height:34px!important;margin:0!important}
 .home-reference-page .community-card h3{grid-column:2;grid-row:1;font-size:18px!important;margin:0!important}
 .home-reference-page .community-card p{grid-column:2;grid-row:2;font-size:12px!important;line-height:1.45!important;margin:0!important}
 .home-reference-page .community-card .circle{grid-column:3;grid-row:1/3;position:static!important;width:24px!important;height:28px!important;border:0!important}
 .home-reference-page .resources{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:28px!important}
 .home-reference-page .resources>div{min-width:0!important}
 .home-reference-page .asset-grid{display:flex!important;gap:12px!important;overflow-x:auto!important;scroll-snap-type:x proximity;overscroll-behavior-x:contain;padding:4px 4px 14px!important;grid-template-columns:none!important}
 .home-reference-page .asset-grid>a{flex:0 0 160px!important;width:160px!important;min-width:0!important;padding:0 0 10px!important;scroll-snap-align:start;border:1px solid #ffffff20!important;border-radius:8px!important;overflow:hidden}
 .home-reference-page .asset-grid img{display:block!important;width:100%!important;height:105px!important;object-fit:contain!important}
 .home-reference-page .asset-grid :is(h4,p,span){margin:8px 10px 0!important;display:block;font-size:12px!important;line-height:1.35!important}
 .home-reference-page .asset-grid h4{font-size:13px!important}
 .home-reference-page .journal{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}
 .home-reference-page .journal>a{display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;padding:14px 0!important;border-bottom:1px solid #ffffff20!important}
 .home-reference-page .journal>a>img{position:static!important;width:92px!important;height:70px!important;object-fit:cover!important;border-radius:6px!important}
 .home-reference-page .journal h4{font-size:16px!important;line-height:1.3!important;margin:5px 0!important}
 .home-reference-page .journal :is(small,p){font-size:11px!important;line-height:1.4!important;margin:0!important}
 .home-reference-page .cta{padding:44px 0!important;min-height:0!important}
 .home-reference-page .cta-art{display:none!important}
 .home-reference-page .cta h2{font-size:clamp(30px,8vw,40px)!important;line-height:1.1!important;margin:0 0 12px!important}
 .home-reference-page .cta p{font-size:14px!important;line-height:1.5!important;max-width:440px!important;margin:0 0 18px!important}
 .home-reference-page .cta .actions{gap:10px!important;margin:0!important}
 .home-reference-page .cta .actions .btn:not(.primary){display:none!important}
 .home-reference-page br.desktop{display:none!important}
}
@media(max-width:380px){.home-reference-page .wrap{width:calc(100% - 32px)!important}.home-reference-page .service{padding-right:100px!important}.home-reference-page .service>img{width:76px!important;height:76px!important}.home-reference-page .service h3{font-size:17px!important}}

/* Reset desktop media geometry when cards switch to mobile rows. */
@media(max-width:768px){
 .home-reference-page .live-project,.home-reference-page .live-project.featured,.home-reference-page .live-project:not(.featured){aspect-ratio:auto!important}
 .home-reference-page :is(.hero,.section,.community-inner,.projects,.resources,.cards,.intro,.journal){min-width:0!important}
 .home-reference-page .intro{margin-bottom:0!important;padding-top:0!important}
 .home-reference-page .community-inner{padding-block:0!important}
 .home-reference-page .service p,.home-reference-page .community-card p{max-width:100%!important}
 .home-reference-page .project:not(.featured)>img,.home-reference-page .project:not(.featured)>video{align-self:center!important}
 .home-reference-page .journal>a>div{padding:0!important;min-width:0!important}
 .home-reference-page :is(h3,h4,p){overflow-wrap:break-word}
 .home-reference-page .asset-grid span{padding:0!important}
}

/* Decorative mobile art sits behind content and reserves no layout space. */
@media(max-width:768px){
 .home-reference-page .hero{position:relative!important;isolation:isolate;overflow:hidden!important;min-height:0!important;gap:0!important}
 .home-reference-page .hero-art,.home-reference-page .service>img{display:none!important}
 .home-reference-page .hero:after{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background-image:linear-gradient(90deg,#090e11 25%,transparent 100%),url('hero.webp');background-size:100% 100%,260px auto;background-position:center,right bottom;background-repeat:no-repeat;opacity:.32}
 .home-reference-page .hero-copy{position:relative!important;z-index:1!important}
 .home-reference-page .service{isolation:isolate;min-height:0!important;padding:18px!important}
 .home-reference-page .service:before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background-image:linear-gradient(90deg,#151d21 40%,transparent 100%),url('brand.webp');background-size:100% 100%,160px auto;background-position:center,right bottom;background-repeat:no-repeat;opacity:.25}
 .home-reference-page .service:nth-child(2):before{background-image:linear-gradient(90deg,#151d21 40%,transparent 100%),url('motion.webp')}
 .home-reference-page .service:nth-child(3):before{background-image:linear-gradient(90deg,#151d21 40%,transparent 100%),url('web.webp')}
 .home-reference-page .service>:not(img){position:relative;z-index:1}
 .home-reference-page .service h3{padding-right:40px!important}
 .home-reference-page .service p{max-width:100%!important;padding-right:0!important}
 .home-reference-page .service .circle{position:absolute!important;z-index:2!important}
}

/* Mobile overview text uses the shared reading scale. */
@media(max-width:768px){
 .home-reference-page .service p,.home-reference-page .community-card p{font-size:14px!important;line-height:1.5!important}
 .home-reference-page .asset-grid :is(h4,p,span){font-size:14px!important;line-height:1.4!important}
 .home-reference-page .journal p{font-size:14px!important;line-height:1.5!important}
 .home-reference-page .journal small{font-size:12px!important;line-height:1.4!important}
}
