/* Brand layer. Original layout, scroll timings and WebGL effects are retained. */
:root { --stan-green: #76df27; --stan-ink: #172316; }
::selection { background: #b2f581; color: #13230b; }
.nav .nav__logo img.nav__logo-sun { width: clamp(145px, 13vw, 195px); height: auto; }
.nav__logo { transition: transform .7s cubic-bezier(.16,1,.3,1); }
.nav__logo:hover { transform: translateY(-2px); }
.nav__cta, .services__btn--dark { background-color: #192017; }
.nav__links a:after { background: #5bbd21; }
.stan-footer-logo { width: min(290px, 100%); height: auto; }
.foot__tagline { white-space: normal; max-width: 340px; }
.stan-mark { display: block; width: 100%; height: 100%; overflow: hidden; background: #fff; }
.work-card__mark .stan-mark img { width: 535%; height: 100%; max-width: none; object-fit: contain; transform: translateX(-2.6%); }
.work-card__mark { background: white; }
.work-card__mark > img { object-fit: contain; }
.work-card__caption { right: 16px; }
.work-card__name { font-size: clamp(17px, 2.8cqw, 25px); }
.works__grid { row-gap: 20px; }
.work-card--website { background: #adc494; }
.work-card--website .work-card__photo { object-fit: contain; }
.work-card__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.work-card.is-previewing .work-card__preview { opacity: 1; }
.work-card__scroll-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
@media (prefers-reduced-motion: reduce) { .work-card__preview { display: none; transition: none; } }
.stan-client-card { position: relative; width: 100%; height: 100%; min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 7%; box-sizing: border-box; border: 1px solid #ffffffd9; border-radius: 18px; background: linear-gradient(140deg, #fff, #eef7e7); }
.stan-client-card > img { width: 65%; height: 55%; object-fit: contain; mix-blend-mode: multiply; }
.stan-client-card__eyebrow { font-size: clamp(10px, .82vw, 13px); letter-spacing: .1em; color: #506348; }
.stan-client-card__caption { font-size: clamp(12px, 1vw, 16px); color: #52644e; }
.stan-client-wordmark { display: block; width: min(100%, 240px); height: auto; }
.awards-info__body { padding-top: 11%; }
.awards-info__text { max-width: 100%; }
.awards-info__logo-wrap { min-height: 40px; }
.brand-badge .stan-badge { width: 78%; height: auto; object-fit: contain; }
.stan-contact { padding: 42px; color: #192017; font-family: var(--font-rounded); }
.stan-contact > img { width: 185px; height: auto; margin-bottom: 32px; }
.stan-contact__eyebrow { font-size: 12px; letter-spacing: .1em; color: #57744b; }
.stan-contact h2 { font-size: 44px; line-height: 1.03; letter-spacing: -.045em; margin: 18px 0; }
.stan-contact > p:not(.stan-contact__eyebrow) { font-size: 16px; line-height: 1.5; }
.stan-contact__email { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; margin-top: 25px; border-top: 1px solid #d5e2ce; border-bottom: 1px solid #d5e2ce; color: #192017; font-size: 21px; text-decoration: none; }
.stan-contact__email:hover { color: #478d1c; }
.stan-contact__phone { display: inline-block; margin-top: 22px; color: inherit; font-size: 18px; text-decoration: none; }
.stan-contact__address { color: #73806c; margin-top: 24px; }
.cmodal__panel { overflow-y: auto; max-height: 88vh; }
.cmodal__cal { height: auto; min-height: 0; }
@media (max-width: 768px) {
  .nav .nav__logo img.nav__logo-sun { width: 145px; height: auto; }
  .stan-footer-logo { width: 235px; }
  .stan-contact { padding: 28px; }
  .stan-contact h2 { font-size: 36px; }
  .stan-contact__email { font-size: 18px; }
  .stan-client-card { min-height: 0; }
  .stan-client-card__eyebrow { font-size: 9px; }
  .stan-client-wordmark { width: 160px; }
  .work-card__name { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .nav__logo { transition: none; } }

.services .services__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-card--ai { container-type: inline-size; background: #d8edb9; }
.svc-card--ai .brand-text { top: 73%; gap: 2cqw; }
.svc-card--ai .brand-text__title, .svc-card--ai .brand-text__sub { color: #253c23; text-shadow: none; }
.ai-card-art { position: absolute; top: 9%; left: 18%; width: 64%; display: flex; flex-direction: column; align-items: center; font-family: var(--font-rounded); color: #253c23; }
.ai-card-art__input, .ai-card-art__output { display: flex; justify-content: space-between; gap: 12px; padding: 4cqw 5cqw; width: 100%; border: 1px solid #97b580; border-radius: 3cqw; background: #f0f7e4; font-size: 3.5cqw; }
.ai-card-art__connector { height: 6cqw; width: 1px; background: #76965d; }
.ai-card-art__core { width: 26cqw; height: 26cqw; display: flex; align-items: center; justify-content: center; gap: 2cqw; border-radius: 7cqw; background: #284b2c; color: #d9ffb7; font-size: 9cqw; box-shadow: 0 3cqw 6cqw #36532726; transform: rotate(-6deg); }
.ai-card-art__core > span { font-size: 8cqw; }
.ai-card-contact { display: inline-flex; align-items: center; gap: 3cqw; width: fit-content; color: #253c23; font-size: 3.3cqw; text-decoration: underline; text-underline-offset: .2em; }
.ai-card-contact:focus-visible { outline: 2px solid #253c23; outline-offset: 5px; }
@media (prefers-reduced-motion: no-preference) { .ai-card-art__core { animation: ai-core-float 5s ease-in-out infinite; } }
@keyframes ai-core-float { 50% { transform: translateY(-1cqw) rotate(6deg); } }
@media (max-width: 768px) { .services .services__cards { grid-template-columns: 1fr; } }


/* Measured hero positions: all words share one font scale and baseline. */
.hero-art .hero-avatars { left:17.9351cqw; top:0.3571cqw; width:14.2857cqw; height:7.8571cqw; }
.hero-art .hero-arrow { left:57.7627cqw; top:12.9286cqw; width:15.7143cqw; height:5.5714cqw; }
.hero-art .hero-reel { left:26.4923cqw; top:22.3214cqw; width:17.1429cqw; height:9.6429cqw; }
.hero-art .hero-avatar { width:7cqw; height:7cqw; flex-shrink:0; }
.hero-art .hero-avatar + .hero-avatar { margin-left:-3.36cqw; }
