/* Inline vector icons use the same stroke on desktop and mobile. */
.icon{display:inline-block;width:16px;height:16px;vertical-align:-3px;flex-shrink:0;color:inherit}
.btn .icon,.nav-cta .icon{width:18px;height:18px;vertical-align:middle}
.arrow{display:inline-flex;align-items:center;justify-content:center;line-height:1}
.project-open .icon,.service a .icon{width:17px;height:17px;vertical-align:middle}
.contact-email .icon{width:24px;height:24px;vertical-align:-1px}
.heart-icon .icon{width:37px;height:37px}
.brand-strip-heading{display:flex;align-items:start;justify-content:space-between;gap:18px}
.brand-strip-heading .eyebrow{max-width:calc(100% - 60px)}
.brand-toggle{display:none;align-items:center;gap:5px;padding:0;background:transparent;border:0;color:var(--muted);font-size:10px;white-space:nowrap}
.brand-toggle .icon{width:12px;height:12px}
.brand-carousel{width:100%;min-width:0}
.brand-track .brand-list[aria-hidden="true"]{display:none}
.brand-list>span{flex-shrink:0}
.off-visual{min-width:0}
.off-metrics strong{display:block;line-height:1.15}
.off-metrics small{line-height:1.5}
.project-caption>div{min-width:0}
.project-visual .visual-label{max-width:calc(100% - 40px);line-height:1.6}
@keyframes brand-scroll{from{transform:translateX(0)}to{transform:translateX(calc(-33.333333% - 12px))}}
.brand-toggle{display:inline-flex;padding-top:2px}
.brand-carousel{overflow:hidden;mask-image:linear-gradient(to right,transparent,#000 12px,#000 calc(100% - 12px),transparent);-webkit-mask-image:linear-gradient(to right,transparent,#000 12px,#000 calc(100% - 12px),transparent)}
.brand-track{display:flex;gap:36px;width:max-content;animation:brand-scroll 32s linear infinite;will-change:transform}
.brand-track .brand-list{display:flex;flex-wrap:nowrap;justify-content:flex-start;width:max-content;gap:36px;font-size:17px;margin:0}
.brand-track .brand-list[aria-hidden="true"]{display:flex}
.brand-track.is-paused{animation-play-state:paused}
.brand-carousel:focus-within .brand-track{animation-play-state:paused}
@media(max-width:760px){
  .brand-strip-heading .eyebrow{font-size:8px;line-height:1.7;letter-spacing:.13em}
  .brand-track .brand-list{font-size:16px}
  .project-visual.off,.case-cover .project-visual.off{aspect-ratio:auto;min-height:290px;padding:55px 23px 27px;align-items:center}
  .off .off-visual h4,.case-cover .off .off-visual h4{font-size:clamp(25px,7.6vw,33px);line-height:1.12;letter-spacing:-.025em}
  .off-brands{font-size:9px;line-height:1.7;letter-spacing:.035em;padding:15px 0 18px}
  .off-metrics{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding-top:16px}
  .off-metrics strong{font-size:35px;line-height:1.12;margin-bottom:5px}
  .off-metrics small{font-size:9px;line-height:1.5}
  .project-visual.cool,.case-cover .project-visual.cool{aspect-ratio:auto;min-height:265px;padding:56px 20px 95px}
  .event-title,.case-cover .event-title{font-size:clamp(37px,11vw,53px);line-height:1.05}
  .event-title span{font-size:8px;line-height:1.7;margin:13px 0 0}
  .event-result{bottom:18px;right:18px;padding:9px 14px}
  .event-result strong{font-size:25px;line-height:1.1}
  .event-result small{margin-top:3px;line-height:1.5}
  .project-visual.orchard,.case-cover .project-visual.orchard{aspect-ratio:auto;min-height:260px;padding:55px 25px 62px;justify-content:flex-start}
  .orchard-word,.case-cover .orchard-word{font-size:clamp(32px,10.5vw,45px);line-height:1.05}
  .orchard-word span{font-size:8px;line-height:1.7;margin-top:18px}
  .status-tag{bottom:17px;right:18px;font-size:8px}
  .project-visual.heart,.case-cover .project-visual.heart{aspect-ratio:auto;min-height:245px;padding:52px 20px 75px}
  .heart-word,.case-cover .heart-word{font-size:clamp(37px,11vw,50px);gap:10px;line-height:1.1}
  .heart-icon .icon{width:30px;height:30px}
  .heart-voice{bottom:38px}
  .project-visual.future,.project-visual.runward,.project-visual.math{padding:41px 19px 22px;aspect-ratio:auto;min-height:215px}
  .future .screenshot-frame,.runward .screenshot-frame,.math .screenshot-frame{width:100%;transform:none}
  .project-screenshot{height:auto;max-width:100%}
  .case-cover .project-visual.future,.case-cover .project-visual.runward,.case-cover .project-visual.math{padding:42px 18px 24px;aspect-ratio:auto;min-height:215px}
  .case-cover .screenshot-frame{width:100%;max-width:500px}
  .project-visual.dyet{padding:41px 19px 22px;aspect-ratio:auto;min-height:215px}
  .dyet .screenshot-frame{width:100%;transform:none}
  .case-cover .project-visual.dyet{padding:42px 18px 24px;min-height:0}
  .project a:hover .project-visual{transform:none}
  .project-caption .eyebrow{line-height:1.6}
}
@media(prefers-reduced-motion:reduce){
  .brand-track{animation:none;transform:none;will-change:auto;width:100%}
  .brand-track .brand-list{width:100%;flex-wrap:wrap;gap:17px 24px}
  .brand-track .brand-list[aria-hidden="true"],.brand-toggle{display:none}
  .brand-carousel{overflow:visible;mask-image:none;-webkit-mask-image:none}
}
@media print{.brand-toggle,.brand-track .brand-list[aria-hidden="true"]{display:none}.brand-track{animation:none;transform:none}}
.psy{background:#d8e9e4}
.psy .project-screenshot{object-fit:cover;object-position:top}
.case-cover .project-visual.psy{aspect-ratio:auto;min-height:0;padding:48px 30px}
.case-cover .psy .screenshot-frame{width:90%;max-width:900px}
.case-cover .psy .project-screenshot{aspect-ratio:auto;object-fit:contain;height:auto}
@media(max-width:760px){
  .project-visual.psy{padding:41px 19px 22px;aspect-ratio:auto;min-height:215px}
  .psy .screenshot-frame{width:100%;transform:none}
  .case-cover .project-visual.psy{padding:42px 18px 24px;min-height:0}
  .case-cover .psy .screenshot-frame{width:100%;max-width:500px}
}

/* Authentic HeartWard captures retain their complete image at every size. */
.project-visual.heart{background:#eadde6;aspect-ratio:auto;padding:48px 25px 28px;min-height:0}
.heart .screenshot-frame{width:100%;transform:none}
.heart .project-screenshot{aspect-ratio:auto;object-fit:contain;height:auto}
.case-cover .project-visual.heart{aspect-ratio:auto;min-height:0;padding:48px 30px 30px}
.case-cover .heart .screenshot-frame{width:90%;max-width:900px}
.heartward-gallery figure{margin:26px 0 0;min-width:0}
.heartward-image-link{display:block;border:1px solid var(--line);border-radius:5px;overflow:hidden;background:#fff}
.heartward-image-link img{display:block;width:100%;height:auto;object-fit:contain}
.heartward-gallery figcaption{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:12px;margin-top:13px;font-size:11px;color:var(--muted)}
.heartward-gallery figcaption .text-link{font-size:11px}
/* Match the neighboring Orchard card while keeping the complete screenshot visible. */
@media(min-width:761px){
 .work-grid .project-visual.heart{aspect-ratio:1.6;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:stretch}
 .work-grid .heart .screenshot-frame{display:flex;flex-direction:column;height:100%;width:100%;min-height:0}
 .work-grid .heart .screen-chrome{flex-shrink:0}
 .work-grid .heart .project-screenshot{flex:1;min-height:0;height:0;width:100%;object-fit:contain}
}
@media(max-width:760px){
 .project-visual.heart,.case-cover .project-visual.heart{padding:42px 18px 24px;min-height:0;aspect-ratio:auto}
 .heart .screenshot-frame,.case-cover .heart .screenshot-frame{width:100%;max-width:500px}
}
