/* A complete nine-second choreography: scatter, assemble, orbit, assemble.
   All four original SVGs share their unchanged artboard and colors. */
.hp-hero__art { display: block; width: 100%; max-width: 440px; aspect-ratio: 1; isolation: isolate; --pointer-x: 0px; --pointer-y: 0px; }
.hp-hero__art::before { content: ''; position: absolute; inset: 5%; border-radius: 50%; background: var(--brand-violet-50); z-index: -1; }
.hp-hero__piece { position: absolute; inset: 0; width: 100%; aspect-ratio: 1; background: transparent; border: 0; border-radius: 0; box-shadow: none; animation: none; transform: none; pointer-events: none; }
.hp-hero__piece img { position: absolute; left: -50%; top: -50%; width: 200%; height: 200%; max-width: none; object-fit: contain; filter: none; animation: none; }
.hp-hero__piece--curl { z-index: 2; --scatter-x: -12%; --scatter-y: 10%; --scatter-angle: -22deg; --orbit-x: -10%; --orbit-y: -8%; --orbit-angle: 18deg; }
.hp-hero__piece--ring { z-index: 3; --scatter-x: 10%; --scatter-y: -8%; --scatter-angle: 18deg; --orbit-x: 12%; --orbit-y: 6%; --orbit-angle: -20deg; }
.hp-hero__piece--hook { z-index: 4; --scatter-x: -9%; --scatter-y: 10%; --scatter-angle: 24deg; --orbit-x: 8%; --orbit-y: 8%; --orbit-angle: -16deg; }
.hp-hero__piece--dash { z-index: 1; --scatter-x: 14%; --scatter-y: 6%; --scatter-angle: -18deg; --orbit-x: 8%; --orbit-y: -14%; --orbit-angle: 32deg; }
.motion-enabled .hp-hero__piece { animation: brand-choreography 9s cubic-bezier(.65, 0, .35, 1) infinite; transition: none; }
.motion-enabled .hp-hero__piece img { animation: none; }
.motion-enabled .hp-hero__art { translate: var(--pointer-x) var(--pointer-y); transition: translate 350ms ease-out; }
@keyframes brand-choreography {
 0%, 8%, 100% { transform: translate(var(--scatter-x), var(--scatter-y)) rotate(var(--scatter-angle)); }
 28%, 42% { transform: translate(0, 0) rotate(0deg); }
 62%, 74% { transform: translate(var(--orbit-x), var(--orbit-y)) rotate(var(--orbit-angle)); }
 88%, 92% { transform: translate(0, 0) rotate(0deg); }
}
.motion-enabled .motion-reveal { opacity: 0; translate: 0 28px; transition: opacity 650ms cubic-bezier(.16, 1, .3, 1), translate 750ms cubic-bezier(.16, 1, .3, 1); transition-delay: var(--motion-delay, 0ms); }
.motion-enabled .motion-reveal.in-view { opacity: 1; translate: 0 0; }
.motion-enabled .hp-work-card, .motion-enabled .hp-journal-card, .motion-enabled .hp-service, .motion-enabled .svc-tile, .motion-enabled .pf-card { transition: transform 450ms cubic-bezier(.16, 1, .3, 1), box-shadow 450ms ease; }
.motion-enabled .hp-work-card__art .brand-card-art, .motion-enabled .hp-service__symbol .brand-card-art, .motion-enabled .svc-tile > .brand-card-art { transition: transform 650ms cubic-bezier(.16, 1, .3, 1); }
.motion-enabled .hp-work-card:focus-within .brand-card-art, .motion-enabled .hp-service:focus-within .brand-card-art, .motion-enabled .svc-tile:focus-visible > .brand-card-art { transform: translateY(-6px); }
@media (hover: hover) and (pointer: fine) {
 .motion-enabled .hp-service:hover, .motion-enabled .svc-tile:hover { transform: translateY(-5px); box-shadow: 0 12px 28px #0a0a0f12; }
 .motion-enabled .hp-work-card:hover .brand-card-art, .motion-enabled .hp-service:hover .brand-card-art, .motion-enabled .svc-tile:hover > .brand-card-art { transform: translateY(-6px); }
}
@keyframes brand-piece-float {
 0%, 100% { transform: translate(0, 0) rotate(0deg); }
 50% { transform: translate(var(--float-x), var(--float-y)) rotate(var(--float-angle)); }
}
.hp-motion-control { display: inline-flex; align-items: center; gap: 8px; margin: 20px 0 0 24px; padding: 8px 12px; border: 1px solid var(--ink-300); border-radius: var(--r-pill); background: transparent; color: var(--ink-700); font-size: 12px; }
.hp-motion-control:hover { background: white; }
.hp-motion-control:focus-visible { outline: 3px solid var(--brand-violet); outline-offset: 3px; }
@media (max-width: 600px) {
 .hp-hero__art { max-width: 250px; margin-block: 24px; }
 .hp-hero__piece { border-radius: 0; }
 .hp-motion-control { margin-left: 0; }
}
body:not(.motion-enabled) .hp-hero__piece, body:not(.motion-enabled) .hp-hero__piece img, body:not(.motion-enabled) .motion-reveal { animation: none !important; transition: none !important; transform: none !important; translate: none !important; rotate: none !important; opacity: 1 !important; }
body:not(.motion-enabled) .brand-card-art { transform: none !important; transition: none !important; }
.fx-no-motion .hp-hero__piece, .fx-no-motion .hp-hero__piece img, .fx-no-motion .motion-reveal { animation: none !important; transition: none !important; transform: none !important; translate: none !important; opacity: 1 !important; }
/* Transparent vector symbols now move independently from their card backgrounds. */
.motion-enabled .brand-card-art { animation: card-symbol-float 5s ease-in-out infinite; animation-play-state: paused; }
.motion-enabled .brand-card-art.motion-visible { animation-play-state: running; }
.hp-work-card:nth-child(2n) .brand-card-art, .hp-service:nth-child(2n) .brand-card-art { animation-duration: 6s; animation-delay: -2s; }
.hp-work-card:nth-child(3n) .brand-card-art, .hp-service:nth-child(3n) .brand-card-art { animation-delay: -3s; }
@keyframes card-symbol-float { 0%, 100% { translate: 0 4px; } 50% { translate: 0 -10px; } }
body:not(.motion-enabled) .brand-card-art { animation: none !important; translate: none !important; }
@media (max-width: 600px) { .hp-motion-control { display: flex; width: max-content; margin: 18px 0 0; } }
/* The fast draw sequence takes precedence over the earlier orbit loop. */
.hp-hero__piece .sq--trace { position: absolute; left: -50%; top: -50%; width: 200%; height: 200%; max-width: none; overflow: visible; }
.motion-enabled .hp-hero__piece { animation: none; transform: none; }
/* Home CTA: yellow first at its existing lower-left anchor, then magenta at top-right. */
.gbg-cta--trace-pair { min-height: 620px !important; }
.gbg-cta__art { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.gbg-cta__yellow { position: absolute; left: 14%; bottom: -6%; width: clamp(280px, 32vw, 450px); transform: rotate(8deg); }
.gbg-cta__magenta { position: absolute; right: 3%; top: -12%; width: clamp(240px, 29vw, 400px); transform: rotate(8deg); }
.gbg-cta__yellow .sq--trace, .gbg-cta__magenta .sq--trace { width: 100%; display: block; }
.gbg-cta__magenta .sq--trace { translate: calc(40px * (1 - var(--trace-entry, 0))) calc(-48px * (1 - var(--trace-entry, 0))); }
.gbg-cta--trace-pair .gbg-cta__inner { max-width: 620px; margin-left: 13%; padding: 72px 24px; }
.gbg-cta--trace-pair .gbg-cta__title { font-size: clamp(2.5rem, 5vw, 4.8rem); }
@media (max-width: 960px) {
 .gbg-cta__yellow { left: 3%; width: 270px; bottom: -10%; }
 .gbg-cta__magenta { right: -3%; width: 245px; top: -12%; }
 .gbg-cta--trace-pair .gbg-cta__inner { margin-left: 0; max-width: 540px; }
}
@media (max-width: 600px) {
 .gbg-cta--trace-pair { min-height: 650px !important; }
 .gbg-cta__yellow { left: -9%; width: 220px; bottom: -5%; }
 .gbg-cta__magenta { right: -10%; top: -7%; width: 185px; }
 .gbg-cta--trace-pair .gbg-cta__inner { padding: 100px 8px 140px; }
 .gbg-cta--trace-pair .gbg-cta__subtitle { font-size: 17px; }
}
body:not(.motion-enabled) .gbg-cta__magenta .sq--trace { translate: none; }
/* Full-size artwork kept inside the CTA, with room reserved for the message. */
.gbg-cta--trace-pair { min-height: 820px !important; }
.gbg-cta__yellow { left: 1.5%; bottom: 32px; width: min(32vw, 520px); transform: none; }
.gbg-cta__magenta { right: 1.5%; top: 72px; width: min(30vw, 480px); transform: none; }
.gbg-cta--trace-pair .gbg-cta__inner { max-width: min(36vw, 520px); margin-left: 0; padding: 48px 24px; }
.gbg-cta--trace-pair .gbg-cta__title { font-size: clamp(2.5rem, 4.2vw, 4.5rem); }
@media (max-width: 960px) {
 .gbg-cta--trace-pair { min-height: 1100px !important; align-items: flex-start; }
 .gbg-cta--trace-pair .gbg-cta__inner { max-width: 640px; padding: 32px 24px; }
 .gbg-cta__yellow { left: 3%; bottom: 32px; width: 46%; }
 .gbg-cta__magenta { right: 3%; top: auto; bottom: 96px; width: 42%; }
 .gbg-cta__magenta .sq--trace { translate: calc(12px * (1 - var(--trace-entry, 0))) calc(-32px * (1 - var(--trace-entry, 0))); }
}
@media (max-width: 600px) {
 .gbg-cta--trace-pair { min-height: 1100px !important; }
 .gbg-cta--trace-pair .gbg-cta__inner { max-width: 100%; padding: 32px 8px 0; }
 .gbg-cta__yellow { left: 4%; bottom: 30px; width: 66%; }
 .gbg-cta__magenta { right: 4%; bottom: auto; top: 530px; width: 60%; }
 .gbg-cta__magenta .sq--trace { translate: calc(8px * (1 - var(--trace-entry, 0))) calc(-24px * (1 - var(--trace-entry, 0))); }
}
@media (min-width: 961px) { .gbg-cta__magenta { right: max(1.5%, 48px); } }
/* Mobile CTA: the drawing sits behind the message instead of below it. */
@media (max-width: 600px) {
 .gbg-cta--trace-pair { min-height: 660px !important; padding: 48px 20px; align-items: center; isolation: isolate; }
 .gbg-cta--trace-pair .gbg-cta__art { z-index: 0; }
 .gbg-cta__yellow { left: 4%; bottom: 28px; width: 86%; }
 .gbg-cta__magenta { right: 5%; top: 30px; bottom: auto; width: 78%; }
 .gbg-cta--trace-pair .gbg-cta__inner { z-index: 1; max-width: 100%; padding: 28px 12px; gap: 22px; background: rgb(102 0 255 / 84%); border-radius: 20px; }
 .gbg-cta--trace-pair .gbg-cta__title { font-size: clamp(2rem, 9vw, 2.75rem); }
 .gbg-cta--trace-pair .gbg-cta__subtitle { font-size: 17px; opacity: 1 !important; }
 .gbg-cta--trace-pair .gbg-cta__actions { width: 100%; gap: 12px; }
 .gbg-cta--trace-pair .gbg-cta__btn { width: 100%; justify-content: center; padding: 16px 18px; }
 .gbg-cta__magenta .sq--trace { translate: calc(4px * (1 - var(--trace-entry, 0))) calc(-16px * (1 - var(--trace-entry, 0))); }
}
@media (max-width: 600px) {
 .gbg-cta--trace-pair .gbg-cta__inner { background: transparent; isolation: isolate; }
 .gbg-cta--trace-pair .gbg-cta__inner::before { content: ''; position: absolute; inset: -24px -20px; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, transparent, rgb(102 0 255 / 84%) 12%, rgb(102 0 255 / 84%) 88%, transparent); }
}
/* Keep the two drawings separate while exposing more of their original colors. */
@media (max-width: 600px) {
 .gbg-cta--trace-pair { min-height: 740px !important; }
 .gbg-cta__yellow { left: 4%; bottom: 24px; width: min(76%, 320px); }
 .gbg-cta__magenta { right: 5%; top: 24px; bottom: auto; width: min(64%, 270px); }
 .gbg-cta--trace-pair .gbg-cta__inner::before { background: linear-gradient(to bottom, transparent, rgb(102 0 255 / 72%) 12%, rgb(102 0 255 / 72%) 88%, transparent); }
}
/* Landing artwork behind the headline, with a larger responsive composition. */
.hp-hero { display: flex; justify-content: center; min-height: 820px; padding: 80px 48px; text-align: center; isolation: isolate; }
.hp-hero__art { position: absolute; left: 50%; top: 50%; width: min(84vw, 780px); max-width: none; margin: 0; transform: translate(-50%, -50%); z-index: 0; pointer-events: none; }
.hp-hero__art::before { display: none; }
.hp-hero__inner { position: relative; z-index: 1; isolation: isolate; width: 100%; max-width: 800px; }
.hp-hero__inner::before { content: ''; position: absolute; inset: -42px -20px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse, rgb(247 247 247 / 82%) 45%, rgb(247 247 247 / 70%) 70%, transparent 100%); }
.hp-hero__title { font-size: clamp(3rem, 6vw, 5.5rem); }
.hp-hero__sub { margin-inline: auto; max-width: 620px; }
.hp-hero__ctas { justify-content: center; }
.hp-motion-control { margin-left: 20px; }
@media (max-width: 960px) {
 .hp-hero { min-height: 740px; padding: 64px 32px; }
 .hp-hero__art { width: min(90%, 680px); }
 .hp-hero__title { font-size: clamp(2.5rem, 6vw, 4rem); }
}
@media (max-width: 600px) {
 .hp-hero { min-height: 690px; padding: 48px 24px; }
 .hp-hero__art { width: 98%; max-width: none; margin: 0; }
 .hp-hero__inner::before { inset: -30px -16px; background: radial-gradient(ellipse, rgb(247 247 247 / 78%) 50%, rgb(247 247 247 / 66%) 80%, transparent); }
 .hp-hero__title { font-size: clamp(2rem, 9vw, 3rem); }
 .hp-motion-control { margin: 18px auto 0; }
 .hp-hero__scroll { margin-top: 24px; }
}
.hp-hero__inner::before { inset: -80px -100px; background: radial-gradient(ellipse closest-side, rgb(247 247 247 / 82%) 45%, rgb(247 247 247 / 70%) 75%, transparent 100%); }
@media (max-width: 600px) { .hp-hero__inner::before { inset: -64px -20px; background: radial-gradient(ellipse closest-side, rgb(247 247 247 / 78%) 55%, rgb(247 247 247 / 66%) 80%, transparent 100%); } }
/* Tighter reading halo leaves more of the original brand colors visible. */
.hp-hero__inner::before { inset: -28px -24px; background: radial-gradient(ellipse closest-side, rgb(247 247 247 / 68%) 28%, rgb(247 247 247 / 42%) 62%, transparent 100%); }
.hp-hero__title { text-shadow: 0 2px 14px rgb(247 247 247 / 60%); }
.hp-hero__sub { text-shadow: 0 1px 8px #f7f7f7; }
.hp-hero__ctas .btn--secondary { background: rgb(247 247 247 / 90%); }
@media (max-width: 600px) {
 .hp-hero__inner::before { inset: -20px -8px; background: radial-gradient(ellipse closest-side, rgb(247 247 247 / 72%) 34%, rgb(247 247 247 / 44%) 65%, transparent 100%); }
}
/* Landing composition on the right, copy on the left. */
.hp-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; min-height: 740px; padding: 64px; text-align: left; }
.hp-hero__inner { grid-column: 1; grid-row: 1; max-width: 660px; }
.hp-hero__inner::before { display: none; }
.hp-hero__title { font-size: clamp(2.75rem, 4.5vw, 4.8rem); text-shadow: none; }
.hp-hero__sub { margin-left: 0; text-shadow: none; }
.hp-hero__ctas { justify-content: flex-start; }
.hp-hero__art { position: relative; left: auto; top: auto; grid-column: 2; grid-row: 1; justify-self: end; width: 100%; max-width: 560px; transform: none; margin: 0; }
.hp-motion-control { margin-left: 20px; }
@media (max-width: 960px) {
 .hp-hero { gap: 24px; padding: 48px 28px; min-height: 660px; }
 .hp-hero__title { font-size: clamp(2.25rem, 5vw, 3.5rem); }
 .hp-hero__art { width: 100%; }
}
@media (max-width: 600px) {
 .hp-hero { grid-template-columns: 1fr; padding: 40px 24px 32px; gap: 32px; min-height: auto; }
 .hp-hero__title { font-size: clamp(2rem, 9vw, 3rem); }
 .hp-hero__art { grid-column: 1; grid-row: 2; width: 86%; max-width: 320px; justify-self: end; margin: 0; }
 .hp-motion-control { margin: 18px 0 0; }
}
/* After drawing: deform the original silhouettes, fill the screen, return to white. */
.hero-color-wipe { position: fixed; inset: 0; z-index: 9998; overflow: hidden; pointer-events: none; }
.hero-color-wipe__piece { position: absolute; max-width: none; transform-origin: center; animation: hero-color-expand 750ms cubic-bezier(.65,0,.35,1) both; }
.hero-color-wipe__piece--1 { animation-name: hero-color-expand-right; }
.hero-color-wipe__piece--2 { animation-name: hero-color-expand-left; }
.hero-color-wipe__piece--3 { animation-name: hero-color-expand-bar; }
.hero-color-wipe__colors { position: absolute; inset: 0; background: var(--brand-yellow); opacity: 0; animation: hero-color-fill 2400ms linear both; }
.hero-color-wipe__white { position: absolute; inset: 0; background: white; opacity: 0; animation: hero-color-white 3000ms cubic-bezier(.45,0,.55,1) both; }
@keyframes hero-color-expand { to { transform: translate(-25vw,-10vh) rotate(-30deg) scale(7,5); } }
@keyframes hero-color-expand-right { to { transform: translate(10vw,-15vh) rotate(35deg) scale(6,8); } }
@keyframes hero-color-expand-left { to { transform: translate(-25vw,10vh) rotate(-40deg) scale(9,6); } }
@keyframes hero-color-expand-bar { to { transform: translate(-10vw,-10vh) rotate(20deg) scale(12,18); } }
@keyframes hero-color-fill { 0%,25% {opacity:0;} 33.333%,100% {opacity:1;} }
@keyframes hero-color-white { 0%,60% {opacity:0;} 96.667%,100% {opacity:1;} }
body:not(.motion-enabled) .hero-color-wipe { display: none; }
/* Each approved pairing holds for a second, with 350ms crossfades between screens. */
.hero-color-screen { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; animation: hero-screen-enter 350ms ease-in-out var(--screen-enter) both; }
.hero-color-screen--yellow { background: var(--brand-yellow); animation-duration: 200ms; }
.hero-color-screen--magenta { background: var(--brand-magenta); }
.hero-color-screen--violet { background: var(--brand-violet); }
.hero-color-screen--orange { background: var(--brand-orange); }
.hero-color-screen .sq--trace { width: min(48vw, 380px); height: auto; overflow: visible; }
@keyframes hero-screen-enter { from { opacity: 0; } to { opacity: 1; } }
.hero-color-wipe__white { animation: hero-sequence-white 7100ms linear both; }
@keyframes hero-sequence-white { 0%,82.394% {opacity:0;} 97.887%,100% {opacity:1;} }
@media (max-width: 600px) { .hero-color-screen .sq--trace { width: 64vw; max-width: 280px; } }
/* Opening sequence runs once, then gives way to the white value proposition. */
.brand-intro { position: fixed; inset: 0; z-index: 10002; display: grid; place-items: center; background: white; }
.brand-intro__logo { animation: brand-intro-mark 550ms ease-out both; }
@keyframes brand-intro-mark { from {opacity:0;transform:translateY(8px);} to {opacity:1;transform:none;} }
.brand-intro__sequence { z-index: 0; background: white; }
.brand-intro__skip { position: absolute; top: max(20px, env(safe-area-inset-top)); right: 20px; z-index: 1; display: inline-flex; gap: 12px; align-items: center; background: white; color: var(--ink-900); border: 1px solid #0a0a0f20; padding: 10px 16px; border-radius: 999px; font-size: 13px; }
.brand-intro__skip:focus-visible { outline: 3px solid var(--brand-violet); outline-offset: 3px; }
.hp-hero { background: white; }
@media (prefers-reduced-motion: reduce) { .brand-intro__logo {animation:none;} }
/* Closing colors converge on the real navbar logo position. */
.brand-intro__gather { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.brand-intro__collector { position: absolute; width: 62px; height: 62px; max-width: none; left: calc(var(--logo-x) - 31px); top: calc(var(--logo-y) - 31px); animation: intro-color-collect 1400ms cubic-bezier(.65,0,.35,1) both; }
.brand-intro__collector--0 { --travel-x: 20vw; --travel-y: 60vh; --travel-angle: -22deg; }
.brand-intro__collector--1 { --travel-x: 65vw; --travel-y: 18vh; --travel-angle: 25deg; }
.brand-intro__collector--2 { --travel-x: 65vw; --travel-y: 62vh; --travel-angle: -18deg; }
.brand-intro__collector--3 { --travel-x: 25vw; --travel-y: 20vh; --travel-angle: 18deg; }
@keyframes intro-color-collect {
 0% { transform: translate(var(--travel-x),var(--travel-y)) rotate(var(--travel-angle)) scale(7); }
 88%,100% { transform: translate(0,0) rotate(0deg) scale(1); }
}
/* The initial isotipo expands over the first color screen instead of cutting away. */
.brand-intro { overflow: hidden; }
.brand-intro__logo { position: relative; z-index: 1; transform-origin: center; }
.brand-intro__logo--expand { animation: intro-isotipo-expand 1000ms cubic-bezier(.65,0,.35,1) both; }
@keyframes intro-isotipo-expand { 0% {transform:scale(1);opacity:1;} 85% {transform:scale(var(--intro-zoom));opacity:1;} 100% {transform:scale(var(--intro-zoom));opacity:0;} }
.brand-intro__skip { z-index: 3; }
/* Draw the opening isotipo from its four exact silhouettes on a shared canvas. */
.brand-intro__isotipo { position: relative; width: 64.58px; height: 72px; }
.brand-intro__isotipo .sq--trace { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
/* Center artwork within its own column; avoid an excessive gutter in the middle. */
.hp-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding-inline: 48px; }
.hp-hero__art { justify-self: center; width: 94%; max-width: 500px; }
@media (max-width: 960px) { .hp-hero { gap: 20px; padding-inline: 28px; } .hp-hero__art { width: 96%; } }
@media (max-width: 600px) { .hp-hero { grid-template-columns: 1fr; gap: 32px; padding-inline: 24px; } .hp-hero__art { justify-self: center; width: 90%; max-width: 320px; } }
/* Let orange dissolve before the smaller pieces enter on separate paths. */
.brand-intro__collector { animation: intro-color-collect-refined 1500ms cubic-bezier(.42,0,.58,1) both; }
.brand-intro__collector--0 { animation-delay: 0ms; }
.brand-intro__collector--1 { animation-delay: 120ms; }
.brand-intro__collector--2 { animation-delay: 240ms; }
.brand-intro__collector--3 { animation-delay: 360ms; }
@keyframes intro-color-collect-refined {
 0% { opacity: 0; transform: translate(var(--travel-x),var(--travel-y)) rotate(var(--travel-angle)) scale(3); }
 12% { opacity: 1; }
 100% { opacity: 1; transform: translate(0,0) rotate(0deg) scale(1); }
}

#hero, #services, #conocenos, #journal { scroll-margin-top: 100px; }
/* Client logos use an exact flat gray, preserving original silhouettes. */
.hp-logos__row { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 28px 36px; margin-top: 36px; align-items: center; }
.hp-logos__item { display: flex; align-items: center; justify-content: center; height: 76px; min-width: 0; color: #a6a6a6; }
.hp-logos__item:hover { color: #a6a6a6; transform: none; }
.hp-logos__mark { display: block; width: 100%; max-width: 160px; height: 64px; background: #a6a6a6; mask-repeat: no-repeat; mask-position: center; mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; -webkit-mask-size: contain; }
.hp-logos__fallback { color: #a6a6a6; font-family: var(--font-display); font-size: 18px; text-align: center; }
@media (max-width: 960px) { .hp-logos__row { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; } }
@media (max-width: 600px) { .hp-logos__row { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; } .hp-logos__mark { height: 48px; } .hp-logos__item { height: 60px; } .hp-logos__fallback { font-size: 14px; } }
.hp-logos__mark-svg { width: 100%; max-width: 160px; height: 64px; }
@media (max-width: 600px) { .hp-logos__mark-svg { height: 48px; } }
/* Three concise brand promises between the hero and client logos. */
.hp-hero-bullets { padding: 36px 48px 12px; }
.hp-hero-bullets__list { max-width: 1200px; margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.hp-hero-bullets__list li { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--ink-700); font-size: 16px; line-height: 1.5; }
.hp-hero-bullets__dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.hp-hero-bullets__dot--yellow { background: var(--brand-yellow); }
.hp-hero-bullets__dot--magenta { background: var(--brand-magenta); }
.hp-hero-bullets__dot--violet { background: var(--brand-violet); }
@media (max-width: 960px) { .hp-hero-bullets { padding-inline: 24px; } .hp-hero-bullets__list { gap: 20px; } }
@media (max-width: 600px) { .hp-hero-bullets { padding: 28px 24px 8px; } .hp-hero-bullets__list { grid-template-columns: 1fr; gap: 16px; } .hp-hero-bullets__list li { justify-content: flex-start; } }
/* Brand cards replacing the three bullets. */
.hp-hero-bullets { padding: 48px 48px 20px; }
.hp-hero-bullets__list { gap: 24px; }
.hp-hero-bullets__list .hp-focus-card { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; border-radius: 16px; overflow: hidden; color: var(--card-text); }
.hp-focus-card > .brand-card-art { width: 100%; height: 180px; object-fit: contain; }
.hp-focus-card__body { padding: 0 28px 32px; }
.hp-focus-card h2 { font-size: clamp(1.4rem,2vw,1.8rem); line-height: 1.2; font-weight: 600; }
.hp-focus-card p { font-size: 16px; line-height: 1.55; margin-top: 14px; }
@media (max-width: 960px) { .hp-hero-bullets { padding-inline: 24px; } .hp-focus-card__body { padding-inline: 22px; } }
@media (max-width: 600px) { .hp-hero-bullets { padding: 32px 24px 16px; } .hp-focus-card > .brand-card-art { height: 160px; } .hp-focus-card__body { padding: 0 24px 28px; } }

/* Consistent brand buttons across navigation, hero and content. */
.hp-hero__button:hover { background: var(--brand-violet-600); border-color: var(--brand-violet-600); color: white; }
.hp-hero__ctas .btn--secondary { background: transparent; border-color: var(--brand-violet); color: var(--brand-violet); }
.hp-hero__ctas .btn--secondary:hover { background: var(--brand-violet); border-color: var(--brand-violet); color: white; }
.pf-filter.is-active { background: var(--brand-violet); border-color: var(--brand-violet); color: white; }
.pf-filter:hover { border-color: var(--brand-violet); color: var(--brand-violet); }
.pf-filter.is-active:hover { background: var(--brand-violet-600); border-color: var(--brand-violet-600); color: white; }
.gbg-cta__btn { font-family: var(--font-sans); font-weight: var(--fw-semibold); border-radius: var(--r-pill); }
/* Restore the violet hero button's original yellow hover. */
.hp-hero__button:hover { background: var(--brand-yellow); border-color: var(--brand-yellow); color: var(--ink-900); box-shadow: none; }

/* Spatial rhythm: original silhouettes, individual trajectories, calm reading areas. */
.hp-hero { padding-block: 88px; }
.hp-hero__art { --pointer-x: 0px; --pointer-y: 0px; }
.hp-hero__piece--curl { --rest-x: -7%; --rest-y: 5%; --rest-angle: -8deg; --lift: -8px; }
.hp-hero__piece--ring { --rest-x: 7%; --rest-y: -4%; --rest-angle: 7deg; --lift: 9px; }
.hp-hero__piece--hook { --rest-x: -5%; --rest-y: 6%; --rest-angle: -5deg; --lift: 6px; }
.hp-hero__piece--dash { --rest-x: 9%; --rest-y: 8%; --rest-angle: 0deg; --lift: -6px; }
.motion-enabled .hp-hero__piece { transform: translate(var(--rest-x),var(--rest-y)) rotate(var(--rest-angle)); animation: hero-spatial-drift 8s ease-in-out infinite; }
.motion-enabled .hp-hero__piece--ring { animation-delay: -2s; }
.motion-enabled .hp-hero__piece--hook { animation-delay: -4s; }
.motion-enabled .hp-hero__piece--dash { animation-delay: -6s; }
@keyframes hero-spatial-drift {
 0%,100% { transform: translate(var(--rest-x),var(--rest-y)) rotate(var(--rest-angle)); }
 50% { transform: translate(var(--rest-x),calc(var(--rest-y) + var(--lift))) rotate(0deg); }
}
.hp-hero-bullets { padding-top: 64px; padding-bottom: 48px; }
.hp-hero-bullets__list .hp-focus-card { border-radius: 24px; }
.hp-focus-card__figure { height: 220px; display: grid; place-items: center; padding: 32px; }
.hp-focus-card__figure .sq--trace { width: 132px; height: 150px; }
.hp-focus-card__body { padding: 12px 32px 36px; }
.hp-focus-card:nth-child(2) .hp-focus-card__figure .sq--trace { width: 125px; }
.hp-focus-card:nth-child(3) .hp-focus-card__figure .sq--trace { width: 150px; }
.motion-enabled .hp-focus-card { transition: transform 500ms cubic-bezier(.16,1,.3,1),box-shadow 500ms ease; }
.motion-enabled .hp-focus-card__figure .sq--trace { animation: focus-piece-drift 7s ease-in-out infinite; }
.hp-focus-card:nth-child(2) .sq--trace { animation-delay: -2s; }
.hp-focus-card:nth-child(3) .sq--trace { animation-delay: -4s; }
@keyframes focus-piece-drift { 0%,100% {transform:translateY(3px) rotate(-5deg);} 50% {transform:translateY(-7px) rotate(5deg);} }
@media (hover:hover) and (pointer:fine) {
 .motion-enabled .hp-focus-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px #17102718; }
 .motion-enabled .hp-work-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px #17102718; }
}
.motion-enabled .hp-work-card:focus-visible { transform: translateY(-6px); }
/* Keep project and editorial artwork still until interaction. */
.motion-enabled .hp-work-card .brand-card-art,.motion-enabled .hp-journal-card .brand-card-art { animation:none; translate:none; }
body:not(.motion-enabled) .hp-focus-card__figure .sq--trace { animation:none; transform:none; }
@media (max-width:960px) { .hp-hero {padding-block:64px;} .hp-focus-card__body {padding-inline:24px;} }
@media (max-width:600px) {
 .hp-hero {padding-block:40px;gap:40px;}
 .hp-hero__art {width:86%;max-width:300px; margin-block:12px 24px;}
 .hp-hero__piece {--lift:4px;}
 .hp-hero-bullets {padding-top:24px;padding-bottom:32px;}
 .hp-hero-bullets__list {gap:20px;}
 .hp-focus-card__figure {height:190px;padding:24px;}
 .hp-focus-card__body {padding:8px 28px 32px;}
}

/* Floating project gallery, with an editorial pause at its center. */
.hp-work--floating { padding: 96px 48px; background: #faf9fc; isolation: isolate; }
.hp-work--floating > .gbg { display:none; }
.hp-work--floating .hp-work__header { position:absolute; top:440px; left:50%; transform:translateX(-50%); width:min(620px,48%); display:block; text-align:center; margin:0; z-index:2; }
.hp-work--floating .hp-work__header.motion-reveal { translate:none; }
.hp-work--floating .hp-work__header .t-display-lg {font-size:clamp(2.7rem,4.7vw,4.5rem);line-height:1.05;letter-spacing:-.05em;}
.hp-work--floating .hp-work__header-right p {margin:24px auto 0;font-size:16px;line-height:1.55;}
.hp-work--floating .hp-work__grid {display:block;height:1110px;max-width:1300px;perspective:1400px;}
.hp-work__float {position:absolute;width:27%;rotate:var(--card-angle);z-index:1;}
.hp-work__float:nth-child(1) {left:2%;top:30px;--card-angle:-7deg;--drift-x:10px;--drift-y:-16px;--float-time:7.5s;--float-delay:-1s;}
.hp-work__float:nth-child(2) {left:37%;top:0;--card-angle:5deg;--drift-x:-8px;--drift-y:14px;--float-time:9s;--float-delay:-4s;}
.hp-work__float:nth-child(3) {right:1%;top:55px;--card-angle:8deg;--drift-x:-12px;--drift-y:-12px;--float-time:8s;--float-delay:-2s;}
.hp-work__float:nth-child(4) {left:1%;top:760px;--card-angle:6deg;--drift-x:12px;--drift-y:14px;--float-time:8.5s;--float-delay:-5s;}
.hp-work__float:nth-child(5) {left:36%;top:790px;--card-angle:-5deg;--drift-x:8px;--drift-y:-15px;--float-time:7s;--float-delay:-3s;}
.hp-work__float:nth-child(6) {right:1%;top:750px;--card-angle:-8deg;--drift-x:-10px;--drift-y:16px;--float-time:9.5s;--float-delay:-6s;}
.hp-work--floating .hp-work-card {width:100%;height:290px;aspect-ratio:auto;border-radius:22px;box-shadow:0 18px 35px #21103b17;}
.hp-work--floating .hp-work-card__meta {padding:24px;}
.hp-work--floating .hp-work-card__meta .t-display-sm,.hp-work--floating .hp-work-card__meta .t-h2 {font-size:clamp(20px,2vw,28px);}
.hp-work--floating .hp-work-card__art {inset:90px 20px 40px;}
.motion-enabled .hp-work__float {animation:project-card-drift var(--float-time) ease-in-out var(--float-delay) infinite;animation-play-state:paused;}
.motion-enabled .hp-work__float.motion-visible {animation-play-state:running;}
@keyframes project-card-drift {0%,100% {transform:translate3d(0,0,0);}50% {transform:translate3d(var(--drift-x),var(--drift-y),0);}}
.hp-work__float:focus-within {z-index:3;}
@media(hover:hover) and (pointer:fine) {
 .hp-work__float:hover {z-index:3;animation-play-state:paused;}
 .motion-enabled .hp-work--floating .hp-work-card:hover {transform:translateY(-8px) rotate(2deg);box-shadow:0 28px 48px #21103b26;}
}
body:not(.motion-enabled) .hp-work__float {animation:none;transform:none;}
@media(max-width:1100px) {
 .hp-work--floating {padding:80px 32px;}
 .hp-work--floating .hp-work__header {position:relative;top:auto;left:auto;transform:none;width:100%;max-width:620px;margin:0 auto 72px;}
 .hp-work--floating .hp-work__grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:52px 32px;height:auto;padding:20px 8px;}
 .hp-work--floating .hp-work__float {position:relative;inset:auto;width:100%;--drift-x:4px;--drift-y:9px;rotate:-3deg;}
 .hp-work__float:nth-child(even) {rotate:3deg;margin-top:30px;}
 .hp-work--floating .hp-work-card {height:300px;}
}
@media(max-width:600px) {
 .hp-work--floating {padding:64px 24px;}
 .hp-work--floating .hp-work__header {margin-bottom:44px;}
 .hp-work--floating .hp-work__header .t-display-lg {font-size:clamp(2.4rem,11vw,3.5rem);}
 .hp-work--floating .hp-work__grid {grid-template-columns:1fr;gap:36px;padding:12px 8px;}
 .hp-work--floating .hp-work__float {width:94%;justify-self:center;--drift-x:3px;--drift-y:7px;rotate:-3deg;}
 .hp-work--floating .hp-work__float:nth-child(even) {rotate:3deg;margin-top:0;}
 .hp-work--floating .hp-work-card {height:310px;}
 .hp-work--floating .hp-work-card__meta .t-display-sm,.hp-work--floating .hp-work-card__meta .t-h2 {font-size:25px;}
}

/* Fun reference: a cloud of projects in front of and behind the central title. */
.hp-work--cloud {padding:0 36px;background:#fff;min-height:960px;--cloud-x:0px;--cloud-y:0px;}
.hp-work--cloud .hp-work__grid {height:960px;max-width:1440px;perspective:none;}
.hp-work--cloud .hp-work__header {top:340px;width:min(720px,60%);z-index:2;pointer-events:none;}
.hp-work--cloud .hp-work__header .t-display-lg {font-size:clamp(4rem,7.5vw,7rem);letter-spacing:-.065em;line-height:.98;}
.hp-work--cloud .hp-work__header .t-eyebrow {display:none;}
.hp-work--cloud .hp-work__header-right p {max-width:340px!important;margin-top:28px;font-size:15px;}
.hp-work--cloud .hp-work__header a {pointer-events:auto;position:relative;z-index:5;background:white;}
.hp-work--cloud .hp-work__float {position:absolute;inset:auto;width:var(--cloud-width,17%);rotate:0deg;margin:0;--drift-x:12px;--drift-y:-16px;--float-time:10s;--float-delay:-3s;translate:calc(var(--cloud-x)*var(--depth,1)) calc(var(--cloud-y)*var(--depth,1));transition:translate 1100ms cubic-bezier(.16,1,.3,1),filter 400ms,opacity 400ms;}
.hp-work--cloud .hp-work-card {height:var(--cloud-height,190px);border-radius:26px;box-shadow:0 12px 28px #21103b0c;}
.hp-work--cloud .hp-work-card__meta {padding:18px;}
.hp-work--cloud .hp-work-card__meta .t-caption {font-size:10px;}
.hp-work--cloud .hp-work-card__meta .t-h2,.hp-work--cloud .hp-work-card__meta .t-display-sm {font-size:19px;line-height:1.1;}
.hp-work--cloud .hp-work-card__meta > svg {width:18px;height:18px;}
.hp-work--cloud .hp-work-card__art {inset:70px 24px 28px;}
.hp-work--cloud .hp-work__float:nth-child(n+7) {z-index:1;filter:blur(3px);opacity:.32;--depth:-.5;--drift-y:12px;--float-time:14s;}
.hp-work--cloud .hp-work__float:nth-child(-n+6) {z-index:3;--depth:1.2;}
.hp-work--cloud .hp-work__float:focus-within {z-index:6;filter:none;opacity:1;animation-play-state:paused;}
.hp-work--cloud .hp-work-card:focus-visible {outline-offset:-5px;}
body:not(.motion-enabled) .hp-work--cloud .hp-work__float {translate:none;}
.hp-work--cloud .hp-work__float--0 {left:4%;top:240px;--cloud-width:17%;--cloud-height:195px;--float-delay:-0s;}
.hp-work--cloud .hp-work__float--1 {left:27%;top:95px;--cloud-width:17%;--cloud-height:180px;--float-delay:-1s;}
.hp-work--cloud .hp-work__float--2 {left:78%;top:160px;--cloud-width:17%;--cloud-height:190px;--float-delay:-2s;}
.hp-work--cloud .hp-work__float--3 {left:7%;top:590px;--cloud-width:17%;--cloud-height:190px;--float-delay:-3s;}
.hp-work--cloud .hp-work__float--4 {left:72%;top:570px;--cloud-width:19%;--cloud-height:245px;--float-delay:-4s;}
.hp-work--cloud .hp-work__float--5 {left:40%;top:735px;--cloud-width:17%;--cloud-height:180px;--float-delay:-5s;}
.hp-work--cloud .hp-work__float--6 {left:18%;top:345px;--cloud-width:17%;--cloud-height:240px;--float-delay:-6s;}
.hp-work--cloud .hp-work__float--7 {left:30%;top:250px;--cloud-width:17%;--cloud-height:195px;--float-delay:-0s;}
.hp-work--cloud .hp-work__float--8 {left:57%;top:135px;--cloud-width:17%;--cloud-height:180px;--float-delay:-1s;}
.hp-work--cloud .hp-work__float--9 {left:68%;top:350px;--cloud-width:17%;--cloud-height:205px;--float-delay:-2s;}
.hp-work--cloud .hp-work__float--10 {left:83%;top:410px;--cloud-width:17%;--cloud-height:250px;--float-delay:-3s;}
.hp-work--cloud .hp-work__float--11 {left:21%;top:700px;--cloud-width:17%;--cloud-height:170px;--float-delay:-4s;}
.hp-work--cloud .hp-work__float--12 {left:56%;top:695px;--cloud-width:17%;--cloud-height:190px;--float-delay:-5s;}
.hp-work--cloud .hp-work__float--13 {left:46%;top:195px;--cloud-width:15%;--cloud-height:165px;--float-delay:-6s;}
.hp-work--cloud .hp-work__float--14 {left:4%;top:430px;--cloud-width:15%;--cloud-height:180px;--float-delay:-0s;}
.hp-work--cloud .hp-work__float--15 {left:60%;top:480px;--cloud-width:16%;--cloud-height:195px;--float-delay:-1s;}
.hp-work--cloud .hp-work__float--16 {left:30%;top:590px;--cloud-width:16%;--cloud-height:180px;--float-delay:-2s;}
.hp-work--cloud .hp-work__float--17 {left:45%;top:455px;--cloud-width:15%;--cloud-height:190px;--float-delay:-3s;}
.hp-work--cloud .hp-work__float--18 {left:76%;top:710px;--cloud-width:16%;--cloud-height:165px;--float-delay:-4s;}

@media(hover:hover) and (pointer:fine) {
 .hp-work--cloud .hp-work__float:hover {z-index:6;filter:none;opacity:1;}
 .motion-enabled .hp-work--cloud .hp-work-card:hover {transform:translateY(-4px) scale(1.04);}
}
@media(max-width:1100px) and (min-width:601px) {
 .hp-work--cloud {padding:0 24px;min-height:900px;}
 .hp-work--cloud .hp-work__grid {display:block;height:900px;padding:0;}
 .hp-work--cloud .hp-work__header {position:absolute;left:50%;top:330px;transform:translateX(-50%);width:60%;margin:0;}
 .hp-work--cloud .hp-work__header .t-display-lg {font-size:clamp(4rem,8vw,6rem);}
 .hp-work--cloud .hp-work-card__meta .t-h2,.hp-work--cloud .hp-work-card__meta .t-display-sm {font-size:16px;}
 .hp-work--cloud .hp-work-card__meta {padding:14px;}
}
@media(max-width:600px) {
 .hp-work--cloud {padding:64px 24px;min-height:0;}
 .hp-work--cloud .hp-work__header {position:relative;inset:auto;transform:none;width:100%;margin:0 auto 48px;pointer-events:auto;}
 .hp-work--cloud .hp-work__header .t-display-lg {font-size:clamp(3rem,14vw,4.5rem);}
 .hp-work--cloud .hp-work__grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px;height:auto;padding:12px 0;}
 .hp-work--cloud .hp-work__float {position:relative;inset:auto;width:100%;translate:none;rotate:-3deg;--drift-x:2px;--drift-y:6px;}
 .hp-work--cloud .hp-work__float:nth-child(even) {rotate:3deg;margin-top:24px;}
 .hp-work--cloud .hp-work__float:nth-child(n+7) {display:none;}
 .hp-work--cloud .hp-work-card {height:205px;border-radius:18px;}
 .hp-work--cloud .hp-work-card__meta {padding:12px;}
 .hp-work--cloud .hp-work-card__meta .t-h2,.hp-work--cloud .hp-work-card__meta .t-display-sm {font-size:17px;}
 .hp-work--cloud .hp-work-card__meta .t-caption {font-size:9px;}
 .hp-work--cloud .hp-work-card__art {inset:85px 12px 30px;}
}

@media(min-width:601px) { .hp-work--cloud .hp-work__float--5 {top:800px;} .hp-work--cloud .hp-work__grid {height:1020px;} .hp-work--cloud .hp-work__header-right p {background:rgb(255 255 255 / 82%);border-radius:14px;padding:8px 12px;} }

/* Continuous circulation, with depth changing throughout the same orbit. */
@media(min-width:601px) {
 .hp-work--cloud .hp-work__grid {height:1020px;}
 .hp-work--cloud .hp-work__float {width:200px!important;rotate:0deg!important;animation:none!important;transition:translate 1100ms cubic-bezier(.16,1,.3,1);transform-origin:center;}
 .hp-work--cloud .hp-work-card {height:200px;}
 body:not(.motion-enabled) .hp-work--cloud .hp-work__float {transform:scale(.85);}
 .hp-work--cloud .hp-work__float:hover,.hp-work--cloud .hp-work__float:focus-within {filter:none!important;opacity:1!important;z-index:6!important;}
 .hp-work--cloud .hp-work__float:focus-within .hp-work-card {outline-offset:-4px;}
 .hp-work--cloud .hp-work__header {top:350px;}
}

/* Every project remains available on touch screens, with balanced color alternation. */
@media(max-width:600px) {
 .hp-work--cloud .hp-work__float:nth-child(n+7) {display:block;filter:none;opacity:1;}
 .hp-work--cloud .hp-work__float {animation:none!important;rotate:0deg!important;}
 .hp-work--cloud .hp-work__float:nth-child(even) {rotate:0deg;margin-top:18px;}
 .hp-work--cloud .hp-work__float:focus-within {z-index:6;}
 .hp-work--cloud .hp-work-card {box-shadow:0 10px 24px #21103b12;}
}

/* Mobile keeps the same layered circulating scene, scaled to the viewport. */
@media(max-width:600px) {
 .hp-work--cloud {padding:0 8px;min-height:780px;}
 .hp-work--cloud .hp-work__grid {display:block;height:780px;padding:0;perspective:none;}
 .hp-work--cloud .hp-work__header {position:absolute;top:245px;left:50%;transform:translateX(-50%);width:92%;margin:0;z-index:2;pointer-events:none;}
 .hp-work--cloud .hp-work__header .t-display-lg {font-size:clamp(2.6rem,11.8vw,3.8rem);line-height:1;letter-spacing:-.06em;}
 .hp-work--cloud .hp-work__header-right p {max-width:255px!important;font-size:13px;line-height:1.45;margin:22px auto 0;padding:8px 10px;background:rgb(255 255 255 / 85%);border-radius:12px;}
 .hp-work--cloud .hp-work__header a {font-size:13px;min-height:44px;padding:10px 18px;pointer-events:auto;}
 .hp-work--cloud .hp-work__float,.hp-work--cloud .hp-work__float:nth-child(even),.hp-work--cloud .hp-work__float:nth-child(n+7) {position:absolute;inset:auto;width:112px!important;margin:0;display:block;rotate:0deg;translate:none;animation:none!important;transform-origin:center;}
 .hp-work--cloud .hp-work-card {height:126px;border-radius:16px;}
 .hp-work--cloud .hp-work-card__meta {padding:10px;}
 .hp-work--cloud .hp-work-card__meta .t-h2,.hp-work--cloud .hp-work-card__meta .t-display-sm {font-size:14px;line-height:1.1;}
 .hp-work--cloud .hp-work-card__meta .t-caption {display:none;}
 .hp-work--cloud .hp-work-card__meta > svg {width:14px;height:14px;}
 .hp-work--cloud .hp-work-card__art {inset:44px 14px 18px;}
 .hp-work--cloud .hp-work__float:focus-within {filter:none!important;opacity:1!important;z-index:6!important;}
}

/* Project cards: cropped brand artwork above, original company logo below. */
.hp-work--cloud .hp-project-card {background:white!important;border-radius:16px;display:flex;flex-direction:column;border:1px solid #16102109;}
.hp-project-card__cover {position:relative;isolation:isolate;height:66%;flex:0 0 66%;overflow:hidden;background:var(--card-bg);}
.hp-work--cloud .hp-project-card__cover .brand-card-art {position:absolute;width:290%;height:290%;max-width:none;left:-95%;top:-95%;object-fit:contain;transform:none!important;translate:none;animation:none;}
.hp-work--cloud .hp-project-card--1 .brand-card-art {width:330%;height:330%;left:-111%;top:-88%;}
.hp-work--cloud .hp-project-card--2 .brand-card-art {left:-80%;top:-90%;}
.hp-work--cloud .hp-project-card--3 .brand-card-art {left:-100%;top:-90%;}
.hp-project-card__title {position:absolute;z-index:1;inset:auto 12px 12px;text-align:center;font-family:var(--font-display);font-size:18px;line-height:1.15;font-weight:700;color:var(--card-text);text-wrap:balance;margin:0;text-shadow:0 1px 8px var(--card-bg);}
.hp-project-card__footer {flex:1;min-height:0;background:white;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;color:#17121f;}
.hp-project-card__logo {display:block;width:125px;max-width:calc(100% - 22px);height:40px;object-fit:contain;object-position:left center;filter:none;}
.hp-project-card__fallback {font-family:var(--font-display);font-size:12px;line-height:1.2;color:#17121f;}
.hp-project-card__footer > svg {flex-shrink:0;color:var(--brand-violet);}
@media(max-width:600px) {
 .hp-work--cloud .hp-project-card {border-radius:12px;}
 .hp-project-card__title {inset:auto 6px 7px;font-size:12px;line-height:1.1;}
 .hp-project-card__footer {gap:5px;padding:6px 8px;}
 .hp-project-card__logo {height:28px;max-width:calc(100% - 15px);}
 .hp-project-card__footer > svg {width:11px;height:11px;}
 .hp-project-card__fallback {font-size:9px;}
}

.hp-work--cloud .hp-project-card__cover .brand-card-art {width:180%;height:240%;left:-40%;top:-70%;}
.hp-work--cloud .hp-project-card--1 .brand-card-art {width:150%;height:210%;left:-25%;top:-45%;}
.hp-work--cloud .hp-project-card--2 .brand-card-art {width:180%;height:240%;left:-40%;top:-70%;}
.hp-work--cloud .hp-project-card--3 .brand-card-art {width:400%;height:400%;left:-150%;top:-150%;}

/* White project cards retain brand color only on their outline. */
.hp-work--cloud .hp-project-card {background:white!important;border:2px solid var(--card-bg);}
.hp-work--cloud .hp-project-card__cover {background:white;}
.hp-work--cloud .hp-project-card__title {color:var(--ink-900);text-shadow:none;}
.hp-work--cloud .hp-project-card__logo--black {filter:brightness(0);}
.hp-work--cloud .hp-project-card__footer > svg {color:var(--ink-900);}

/* The same four-color outline on every project card. */
.hp-work--cloud .hp-project-card {
 border:2px solid transparent;
 background:linear-gradient(white,white) padding-box,conic-gradient(from 0deg,#6600ff 0deg,#ff0066 90deg,#ff9900 180deg,#ffcc00 270deg,#6600ff 360deg) border-box!important;
}

/* Client-inspired palettes share one restrained graphic and a clean logo zone. */
.hp-work--cloud .hp-project-card--brand {
 background:white!important;border:1px solid #17121f0c;
 box-shadow:0 12px 28px #21103b12;
}
.hp-work--cloud .hp-project-card--brand .hp-project-card__cover {
 height:66%;flex:0 0 66%;background:var(--project-color);isolation:isolate;
}
.hp-project-card--brand .hp-project-card__cover::before,
.hp-project-card--brand .hp-project-card__cover::after {
 content:'';position:absolute;pointer-events:none;border:28px solid rgb(255 255 255 / 14%);border-radius:48%;width:180px;height:210px;transform:rotate(var(--pattern-angle));
}
.hp-project-card--brand .hp-project-card__cover::before {left:-80px;top:-110px;}
.hp-project-card--brand .hp-project-card__cover::after {right:-100px;bottom:-160px;border-width:36px;}
.hp-work--cloud .hp-project-card--brand .hp-project-card__title {color:var(--project-text);text-shadow:none;font-weight:600;font-size:17px;}
.hp-project-card--brand .hp-project-card__footer {position:relative;justify-content:center;padding:10px 28px;gap:0;background:white;}
.hp-project-card--brand .hp-project-card__logo {width:100%;height:42px;max-width:100%;object-position:center;object-fit:contain;}
.hp-project-card--brand .hp-project-card__footer > svg {position:absolute;right:10px;bottom:12px;width:12px;height:12px;color:#5b5662;}
@media(max-width:600px) {
 .hp-work--cloud .hp-project-card--brand .hp-project-card__title {font-size:12px;}
 .hp-project-card--brand .hp-project-card__footer {padding:6px 15px;}
 .hp-project-card--brand .hp-project-card__logo {height:27px;}
 .hp-project-card--brand .hp-project-card__footer > svg {width:9px;height:9px;right:5px;bottom:6px;}
 .hp-project-card--brand .hp-project-card__cover::before {width:100px;height:130px;border-width:18px;left:-48px;top:-65px;}
 .hp-project-card--brand .hp-project-card__cover::after {width:100px;height:130px;border-width:22px;right:-60px;bottom:-100px;}
}

/* Garabato palette with white graphic details. */
.hp-project-card--brand .hp-project-card__cover::before,
.hp-project-card--brand .hp-project-card__cover::after {border-color:#fff;}

/* Original graphic silhouettes, individually composed and cropped per project. */
.hp-project-card--brand .hp-project-card__cover::before,
.hp-project-card--brand .hp-project-card__cover::after {content:none;}
.hp-project-card__stroke {
 opacity:.25;
 position:absolute;pointer-events:none;display:block;
 width:var(--stroke-size);aspect-ratio:1;height:auto;
 left:var(--stroke-left);top:var(--stroke-top);
 transform:rotate(var(--stroke-rotate));transform-origin:center;
 background:white;
 mask-image:var(--stroke-src);-webkit-mask-image:var(--stroke-src);
 mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;
 mask-size:contain;-webkit-mask-size:contain;
 mask-position:center;-webkit-mask-position:center;
}

/* Circulation uses composited transforms with one synchronized timing source. */
.motion-enabled .hp-work--cloud .hp-work__float {will-change:transform;}

/* A rotating sphere keeps all cards upright, like the Fun reference. */
.hp-work--cloud {touch-action:pan-y;}
.hp-work--cloud .hp-work__float {translate:none!important;rotate:none!important;transition:none!important;animation:none!important;}
.hp-work--cloud .hp-work__header {z-index:300;}
.hp-work--cloud .hp-work__float:focus-within {z-index:600!important;filter:none!important;opacity:1!important;}
.hp-work--cloud .hp-work__float a {user-select:none;-webkit-user-drag:none;}
.hp-work--cloud .hp-project-card__logo {-webkit-user-drag:none;}
@media(hover:hover) and (pointer:fine) {
 .hp-work--cloud .hp-work__float:hover {z-index:600!important;}
 .motion-enabled .hp-work--cloud .hp-work-card:hover {transform:translateY(-3px);}
}

/* The compact footer follows the contact form directly, on brand violet. */
.hp-footer {background:var(--brand-violet);color:white;}
.hp-footer__inner {padding-block:64px;}
.hp-footer__cols ul a,.hp-footer__cols ul span,.hp-footer__social a {color:rgb(255 255 255 / 90%);}
.hp-footer__social a,.hp-footer__bottom {border-color:rgb(255 255 255 / 24%);}
.hp-footer__social a:hover,.hp-footer__cols ul a:hover {color:var(--brand-yellow);border-color:var(--brand-yellow);}
@media(max-width:600px) {.hp-footer__inner {padding-block:48px;}}

/* Keep the form's glass surface when its small decorative trace is omitted. */
.hp-contact__form {background:rgb(255 255 255 / 8%);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);}

/* Stagger the page introduction after the brief loading mark clears. */
.motion-enabled .hp-page-header--animated .hp-page-header__inner > * {
 animation:page-copy-enter 850ms cubic-bezier(.16,1,.3,1) 850ms both;
}
.motion-enabled .hp-page-header--animated .hp-page-header__inner > :nth-child(2) {animation-delay:1000ms;}
.motion-enabled .hp-page-header--animated .hp-page-header__inner > :nth-child(3) {animation-delay:1150ms;}
@keyframes page-copy-enter {from {opacity:0;transform:translate3d(0,24px,0);} to {opacity:1;transform:translate3d(0,0,0);}}
body:not(.motion-enabled) .hp-page-header--animated .hp-page-header__inner > * {animation:none;opacity:1;transform:none;}

/* Internal-page loading repeats the opening isotipo's original trace sequence. */
.preloader--trace {background:white;transition:opacity 300ms ease,visibility 300ms;}
.preloader__isotipo {position:relative;width:64.58px;height:72px;}
.preloader__isotipo .sq--trace {position:absolute;inset:0;width:100%;height:100%;max-width:none;}
.motion-enabled .hp-page-header--animated .hp-page-header__inner > * {animation-delay:1250ms;}
.motion-enabled .hp-page-header--animated .hp-page-header__inner > :nth-child(2) {animation-delay:1390ms;}
.motion-enabled .hp-page-header--animated .hp-page-header__inner > :nth-child(3) {animation-delay:1530ms;}

/* Scroll gathers the exact original artboards back into the complete isotipo. */
.hp-hero__art {--scene-progress:0;}
.motion-enabled .hp-hero__piece {
 transform:translate(calc(var(--rest-x) * (1 - var(--scene-progress))),calc(var(--rest-y) * (1 - var(--scene-progress)))) rotate(calc(var(--rest-angle) * (1 - var(--scene-progress))));
 animation:hero-assembly-breathe 8s ease-in-out infinite;transition:none;
}
.motion-enabled .hp-hero__art {translate:calc(var(--pointer-x) * (1 - var(--scene-progress))) calc(var(--pointer-y) * (1 - var(--scene-progress)));}
@keyframes hero-assembly-breathe {
 0%,100% {translate:0 calc(3px * (1 - var(--scene-progress)));}
 50% {translate:0 calc(-5px * (1 - var(--scene-progress)));}
}
@media(min-width:601px) {
 .hp-hero__art {position:relative;top:auto;}
 .motion-enabled .hp-hero__art {transform:translateY(calc(120px * var(--scene-progress))) scale(calc(1 - .2 * var(--scene-progress)));transform-origin:center;}
}

/* Mobile hero: artwork belongs to the headline composition rather than a final row. */
@media(max-width:600px) {
 .hp-hero {display:block;position:relative;padding:36px 24px 32px;min-height:0;}
 .hp-hero__inner {position:relative;z-index:2;max-width:none;}
 .hp-hero__title {position:relative;margin-bottom:200px;z-index:2;}
 .hp-hero__sub {margin-top:24px;}
 .hp-hero__art {position:absolute;inset:auto;top:100px;right:20px;left:auto;width:min(60vw,240px);height:auto;max-width:none;margin:0;z-index:1;}
 .hp-hero__piece--curl {--rest-x:-15%;--rest-y:5%;--rest-angle:-10deg;}
 .hp-hero__piece--ring {--rest-x:7%;--rest-y:-5%;--rest-angle:8deg;}
 .hp-hero__piece--hook {--rest-x:-7%;--rest-y:4%;--rest-angle:-6deg;}
 .hp-hero__piece--dash {--rest-x:5%;--rest-y:7%;}
 .motion-enabled .hp-hero__art {transform:translate(calc(-10px * var(--scene-progress)),calc(30px * var(--scene-progress))) scale(calc(1 - .52 * var(--scene-progress)));transform-origin:center;}
 .hp-hero__ctas {gap:10px;}
 .hp-hero__scroll {margin-top:28px;}
 .hp-motion-control {margin-top:14px;}
}

/* Mobile: artwork opens the hero; actions use comfortable 48px touch targets. */
@media(max-width:600px) {
 .hp-hero {display:grid;grid-template-columns:minmax(0,1fr);gap:28px;padding:24px 24px 32px;}
 .hp-hero__art {position:relative;inset:auto;grid-column:1;grid-row:1;justify-self:center;width:min(56vw,220px);max-width:none;margin:0;}
 .hp-hero__inner {grid-column:1;grid-row:2;}
 .hp-hero__title {margin:0;}
 .motion-enabled .hp-hero__art {transform:scale(calc(1 - .12 * var(--scene-progress)));transform-origin:center;}
 .hp-hero__ctas {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:28px;}
 .hp-hero__ctas .btn {width:100%;min-width:0;height:48px;min-height:48px;padding:0 12px;font-size:14px;gap:8px;white-space:nowrap;}
 .hp-hero__ctas .btn svg {width:16px;height:16px;flex-shrink:0;}
 .hp-hero__scroll {margin-top:24px;}
}


/* The complete isotipo disperses into the four hero corners as the page scrolls. */
.hp-hero {overflow:clip;}
.hp-hero__art {--scene-progress:0;--piece-opacity:1;}
.motion-enabled .hp-hero__art {transform:none;translate:none;}
.hp-hero__piece--curl {--exit-angle:-24deg;}
.hp-hero__piece--ring {--exit-angle:24deg;}
.hp-hero__piece--hook {--exit-angle:-30deg;}
.hp-hero__piece--dash {--exit-angle:14deg;}
.motion-enabled .hp-hero__piece {
 animation:none;translate:none;
 transform:translate3d(calc(var(--exit-x,0px) * var(--scene-progress)),calc(var(--exit-y,0px) * var(--scene-progress)),0) rotate(calc(var(--exit-angle) * var(--scene-progress)));
 opacity:var(--piece-opacity);will-change:transform,opacity;
}
@media(max-width:600px) {
 .hp-hero {gap:28px;}
 .motion-enabled .hp-hero__art {transform:none;translate:none;}
 .motion-enabled .hp-hero__title {padding-right:0;}
}

/* Keep copy clear while the departing pieces pass behind it. */
.hp-hero__title,.hp-hero__sub {background:white;}

/* Lift the desktop isotipo to the headline's visual height. */
@media(min-width:601px) {
 .hp-hero__art {align-self:start;}
 .motion-enabled .hp-hero__art {transform:translateY(-36px);}
}

/* Clear breathing room between the bright contact block and the violet footer. */
.hp-footer {margin-top:32px;border-radius:28px 28px 0 0;overflow:hidden;}
@media(max-width:600px) {.hp-footer {margin-top:24px;border-radius:22px 22px 0 0;}}

/* Preserve the original SVG colors on tablet and mobile layouts. */
@media (max-width: 960px) {
 .hp-manifesto .sq--trace,
 .service-stack__drawing .sq--trace,
 .hp-page-header .sq-scatter .sq--trace {opacity:1!important;filter:none!important;mix-blend-mode:normal!important;}
 .hp-page-header .sq-scatter {opacity:1!important;}
}

/* Tablet CTA: magenta stays above the yellow piece. */
@media (min-width: 601px) and (max-width: 960px) {
 .gbg-cta--trace-pair {min-height:1100px!important;}
 .gbg-cta__magenta {right:4%;top:34px;bottom:auto;width:min(42%,340px);}
 .gbg-cta__yellow {left:4%;bottom:28px;width:min(44%,360px);}
}

/* Grow the inline SVG itself so the opening mark stays vector-sharp. */
.brand-intro__logo--expand .brand-intro__isotipo {
 position:fixed;
 left:50%;top:50%;
 width:64.58px;height:72px;
 overflow:visible;
 transform:translate(-50%,-50%);
 animation:intro-isotipo-vector-expand 1000ms cubic-bezier(.65,0,.35,1) both;
}
.brand-intro__logo--expand {animation:none;transform:none;}
@keyframes intro-isotipo-vector-expand {
 0% {width:64.58px;height:72px;opacity:1;}
 86% {width:340vmax;height:379vmax;opacity:1;}
 100% {width:340vmax;height:379vmax;opacity:0;}
}
@media (prefers-reduced-motion: reduce) {
 .brand-intro__logo--expand .brand-intro__isotipo {animation:none;}
}
