/* Gallery and finishing details for the review build. */
html.ag body[data-theme=day] .hero-world{background:none!important}
html.ag body[data-theme=day] .machine-marquee{background:linear-gradient(180deg,#edf8ff 0%,#e4eafb 39%,#d9d5f1 72%,#d3c3ec 100%)!important}
html.ag body[data-theme=day] .machine-cabinet{background:linear-gradient(180deg,#dfeafb 0%,#d9e1f9 35%,#d4cff0 68%,#cbb5e9 100%)!important}
html.ag body[data-theme=day] .machine-marquee:before{border-color:#ffffff70!important}
html.ag body #collection>.explore-search{border-bottom:0!important}

/* Small selectors stay quiet; dotted texture belongs to the principal actions. */
html.ag body :is(.filter-row button,.client-filters button,.abc-tabs button,.ag-stat-steps button,.machine-counters>span,.alt-gallery-tools button,#themeToggle,.closer-look,#clearFilters,.explore-search [data-open=ask]){background:var(--control-surface)!important}
html.ag body :is(.filter-row button[aria-pressed=true],.client-filters button[aria-pressed=true],.abc-tabs button[aria-pressed=true],.ag-stat-steps button[aria-pressed=true]){background:var(--control-fill)!important}
html.ag body .alt-gallery-tools #galleryUpload{background:var(--control-dots),var(--control-fill)!important}
html.ag body .alt-gallery-tools #galleryArrange[aria-pressed=true]{background:var(--control-fill)!important}

html.ag body #projectList .alt-card-caption{display:none!important}
html.ag body #projectList .alt-card-art{border-radius:inherit}
html.ag body #projectList .alt-card[data-client="solful"] .alt-card-art img,
html.ag body #projectList .alt-card[data-client="the swarm"] .alt-card-art img,
html.ag body #projectList .alt-card[data-client="hungerrush"] img[src*="hungerrush-brochure-mockup"]{filter:none!important}
html.ag body #projectList .popeyes-duo{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:2%;width:100%;height:100%}
html.ag body #projectList .popeyes-duo img{width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important;filter:none!important}
html.ag body #projectList .alt-card[data-client="popeyes"] .alt-card-art{background:#f8f3ee}

/* Let the website read as a website, rather than a tiny full-page thumbnail. */
html.ag body #projectList .gallery-feature-persnickety .alt-card{width:100%!important;height:100%}
html.ag body #projectList .gallery-feature-persnickety .alt-card-art{display:block;width:100%!important;height:730px;min-height:0;aspect-ratio:auto!important;padding:0;background:#e6c3ec}
html.ag body #projectList .gallery-feature-persnickety .alt-card-art img{display:block;width:100%!important;height:auto!important;max-height:none!important;object-fit:initial!important;filter:none!important;border-radius:0!important}
html.ag body #projectList .alt-card[data-client="storied studios"] .alt-card-art{display:block;height:370px;aspect-ratio:auto;padding:0;background:#e4e4d0}
html.ag body #projectList .alt-card[data-client="storied studios"] .alt-card-art img{display:block;width:100%!important;height:auto!important;max-height:none!important;object-fit:initial!important;filter:none!important;border-radius:0!important}

/* A subtle response to the three balloon letters. */
html.ag body #abcDetailLetter{left:49px!important}
html.ag body .abc-detail-copy{position:relative}
html.ag body .abc-detail-copy:before{content:'';position:absolute;left:8px;bottom:0;width:min(220px,45%);height:2px;border-radius:2px;background:linear-gradient(90deg,#bc78e6,#e2b0fb,transparent);transform:scaleX(0);transform-origin:left;opacity:0;transition:transform .5s cubic-bezier(.2,.8,.2,1),opacity .25s}
html.ag body .abc-intro:has(.abc-letters button:is(:hover,:focus-visible)) .abc-detail-copy:before{transform:scaleX(1);opacity:1}

/* The foreground crescent is visible; no orbit stroke passes behind the spheres. */
html.ag body #kind-words #quoteStars .ring-back{display:none!important}
html.ag body #kind-words #quoteStars .planet-ring.ring-front{clip-path:inset(51% -8px -8px -8px)!important}
html.ag body #kind-words .asteroid-field i{background:radial-gradient(circle at 30% 28%,#fff8ff 0%,#e6c3f9 42%,#a66fc7 100%);box-shadow:0 0 5px #dcaaf599,0 0 11px #aa71d570}
html.ag body[data-theme=day] #kind-words .asteroid-field i{background:radial-gradient(circle at 29% 25%,#fff8ff 0%,#bf8ed9 47%,#78489c 100%);box-shadow:0 0 3px #8756a988,0 0 8px #9b69b36e}

/* A small illustrated cat catches the balloon strings. */
html.ag .ag-figure{display:none!important}
html.ag .ag-cat{position:absolute;left:calc(47% - 48px);bottom:0;width:100px;height:110px;overflow:visible;filter:drop-shadow(0 5px 6px #1b173f3d)}
html.ag .ag-cat .cat-body,html.ag .ag-cat .cat-head,html.ag .ag-cat .cat-paw{fill:#d6b3eb;stroke:#76569c;stroke-width:2;stroke-linejoin:round}
html.ag .ag-cat .cat-tail{fill:none;stroke:#a47cc5;stroke-width:11;stroke-linecap:round}
html.ag .ag-cat .cat-ear{fill:none;stroke:#ecb5de;stroke-width:4;stroke-linecap:round}
html.ag .ag-cat .cat-face{fill:#413153;stroke:#413153;stroke-width:2;stroke-linecap:round}
html.ag .ag-cat .cat-whiskers{fill:none;stroke:#7b618e;stroke-width:1.5;stroke-linecap:round}
html.ag body[data-theme=night] .ag-cat .cat-body,html.ag body[data-theme=night] .ag-cat .cat-head,html.ag body[data-theme=night] .ag-cat .cat-paw{fill:#b999d7;stroke:#ead7f7}
html.ag body[data-theme=night] .ag-cat .cat-tail{stroke:#b999d7}
html.ag body[data-theme=night] .ag-cat .cat-whiskers{stroke:#ead7f7}

@media(max-width:750px){
 html.ag body #projectList .gallery-feature-persnickety .alt-card-art{height:370px}
 html.ag body #projectList .alt-card[data-client="storied studios"] .alt-card-art{height:300px}
 html.ag body #abcDetailLetter{left:25px!important}
 html.ag .ag-cat{scale:.75;transform-origin:bottom center}
}
@media(max-width:520px){
 html.ag body #projectList .gallery-feature-persnickety .alt-card-art{height:280px}
 html.ag body #projectList .alt-card[data-client="storied studios"] .alt-card-art{height:310px}
 html.ag body #abcDetailLetter{left:21px!important}
}
@media(prefers-reduced-motion:reduce){html.ag body .abc-detail-copy:before{transition:none}}
