

/* =========================================================
   PIXEL AGENCY
   REFINED EDITORIAL SYSTEM
   ========================================================= */

:root {
  --black: #202024;
  --white: #fffdf8;
  --paper: #f5f1e8;

  /* Pixel logo palette */
  --cyan: #08A8E0;
  --cyan-soft: #DDF5FC;

  --pink: #EC1681;
  --pink-soft: #FDE2EF;

  --yellow: #FFD600;
  --yellow-soft: #FFF4B8;

  --pixel-red: #F04444;

  --grey: #68666a;
  --muted: #99958d;

  --line: rgba(32,32,36,.13);

  --ease: cubic-bezier(.22,1,.36,1);
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  display: block;
}


/* =========================================================
   GLOBAL
   ========================================================= */

#pixel-agency {
  overflow: clip;
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

section {
  position: relative;
}

.eyebrow {
  margin-bottom: 22px;

  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
}

.display {
  margin: 0;

  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .86;

  text-wrap: balance;
}

.body-copy {
  max-width: 650px;

  color: var(--grey);

  font-size: 17px;
  line-height: 1.7;
}

.divider {
  height: 1px;
  background: var(--line);
}


/* =========================================================
   NAVIGATION — ONE CLEAN COLOR
   ========================================================= */

.px-nav {
  position: fixed;
  z-index: 1000;
  top: 16px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 10px 7px 12px;
  background: rgba(255,255,255,.96);
  color: var(--black);
  border: 1px solid rgba(32,32,36,.12);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 14px 45px rgba(32,32,36,.10);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}

/* A quiet reference to the four-color Pixel mark. */
.px-nav::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -2px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan) 0 25%, var(--pink) 25% 50%, var(--yellow) 50% 75%, var(--black) 75% 100%);
  opacity: .9;
  transform: scaleX(.22);
  transform-origin: center;
  transition: transform .6s var(--ease);
}

.px-nav:hover::after {
  transform: scaleX(1);
}

.px-nav.scrolled {
  box-shadow: 0 20px 55px rgba(32,32,36,.15);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.nav-links a {
  position: relative;
  color: var(--black);
  transition: color .2s var(--ease), transform .2s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 99px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}

.nav-links a:hover {
  color: var(--pink);
  transform: translateY(-1px);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 11px 17px;
  background: var(--black);
  color: var(--white);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform .25s var(--ease), background .25s var(--ease);
}

.nav-cta:hover {
  background: var(--pink);
  transform: translateY(-2px);
}

/* =========================================================
   HERO
   ========================================================= */

.px-hero {
  min-height: 100vh;

  display: flex;
  align-items: center;

  padding:
    150px 0
    100px;

  background:
    radial-gradient(
      circle at 83% 35%,
      rgba(34,181,220,.13),
      transparent 25%
    ),
    radial-gradient(
      circle at 12% 78%,
      rgba(232,90,150,.06),
      transparent 24%
    ),
    var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 80px;
  align-items: end;
}

.hero-title {
  max-width: 950px;

  font-size:
    clamp(64px, 9vw, 132px);
}

.hero-title .cyan {
  color: var(--cyan);
}

.hero-title .pink {
  color: var(--pink);
}

.hero-right {
  padding-bottom: 10px;
}

.hero-right .eyebrow {
  color: var(--pink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 0 22px;

  border: 1px solid var(--black);

  background: var(--black);
  color: var(--white);

  font-size: 13px;
  font-weight: 800;

  transition:
    transform .25s var(--ease),
    background .25s var(--ease),
    border-color .25s var(--ease);
}

.button:hover {
  background: var(--pink);
  border-color: var(--pink);
  transform: translateY(-3px);
}

.button.light {
  background: transparent;
  color: var(--black);
}

.button.light:hover {
  background: var(--black);
  color: var(--white);
}


/* =========================================================
   MARQUEE
   ========================================================= */

.px-marquee {
  overflow: hidden;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  background: var(--paper);

  white-space: nowrap;
}

.marquee-track {
  display: flex;
  width: max-content;

  animation:
    marquee 24s linear infinite;
}

.marquee-item {
  padding: 22px 28px;

  font-size: clamp(25px,3.3vw,47px);
  font-weight: 800;
  letter-spacing: -.045em;
}

.marquee-item:nth-child(3n+1) {
  color: var(--cyan);
}

.marquee-item:nth-child(3n+2) {
  color: var(--pink);
}

.marquee-item:nth-child(3n) {
  color: var(--yellow);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}


/* =========================================================
   IDEAS IN MOTION — SAME RAIL SYSTEM AS EXPLORE PIXEL
   ========================================================= */

.px-motion {
  position: relative;
  padding: clamp(90px, 9vw, 130px) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  overflow: visible;
}

.px-motion > .container { position: relative; }

.motion-head {
  display: grid;
  grid-template-columns: .35fr 1fr;
  gap: 50px;
  margin-bottom: clamp(26px, 4vh, 52px);
}

.motion-head .eyebrow { color: var(--pink); }
.motion-title { font-size: clamp(52px, 7vw, 108px); }

/* Same horizontal rail behavior as Our work. No scroll badge/left marker. */
.motion-cards-wrap {
  display: flex;
  gap: 18px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 26px 4px 34px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: none;
  touch-action: pan-x;
  cursor: grab;
  perspective: 1200px;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.motion-cards-wrap::-webkit-scrollbar { display: none; }
.motion-cards-wrap.is-dragging { cursor: grabbing; }
.motion-cards-wrap::before,
.motion-cards-wrap::after { content: none !important; display: none !important; }

.motion-cards {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  height: auto;
  padding: 0;
  margin: 0;
  transform: none !important;
}

.motion-card {
  position: relative;
  min-height: 390px;
  width: min(350px, 76vw);
  height: 390px;
  flex: 0 0 min(350px, 76vw);
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(32,32,36,.14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: center;
  box-shadow: 0 12px 30px rgba(32,32,36,.06);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  will-change: transform;
}

.motion-card:hover {
  transform: translateY(-8px) rotate(-.5deg);
  box-shadow: 0 28px 60px rgba(32,32,36,.16);
}

/* Exact Our work card typography. */
.motion-number {
  font-family: inherit;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .12em;
}

.motion-card h3 {
  margin: 0 0 10px;
  font-family: inherit;
  font-size: 27px;
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.05em;
}

.motion-card p {
  margin: 0;
  max-width: 290px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: normal;
  color: inherit;
  opacity: .78;
}

@media (max-width: 900px) {
  .px-motion { padding: 100px 0; }
  .motion-cards-wrap {
    padding: 24px 12px 34px;
    overscroll-behavior: contain;
  }
  .motion-cards { height: auto; gap: 18px; }
  .motion-card {
    height: 300px;
    min-height: 300px;
    scroll-snap-align: center;
  }
}


/* =========================================================
   SERVICES
   ========================================================= */

.px-services {
  padding: 150px 0;

  background: var(--white);
}

.services-head {
  display: grid;
  grid-template-columns: .3fr 1fr;
  gap: 50px;

  margin-bottom: 75px;
}

.services-title {
  font-size:
    clamp(55px,7.5vw,108px);
}

.services-title span {
  color: var(--cyan);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;

  background: var(--line);

  border: 1px solid var(--line);
}

.service {
  min-height: 350px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 30px;

  background: var(--white);

  transition:
    background .35s var(--ease),
    transform .35s var(--ease);
}

.service:hover {
  background: var(--paper);
  transform: translateY(-4px);
}

.service-number {
  color: var(--pink);

  font-size: 12px;
  font-weight: 900;
}

.service-icon {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  border: 2px solid var(--black);

  font-size: 18px;
  font-weight: 900;
}

.service h3 {
  margin: 25px 0 10px;

  font-size: 30px;
  line-height: .95;

  letter-spacing: -.05em;
}

.service p {
  margin: 0;

  color: var(--grey);

  font-size: 14px;
  line-height: 1.6;
}


/* =========================================================
   WORK
   ========================================================= */

.px-work {
  padding: 150px 0;

  background: var(--white);
}

.work-head {
  display: flex;
  align-items: end;
  justify-content: space-between;

  gap: 40px;

  margin-bottom: 70px;
}

.work-title {
  font-size:
    clamp(58px,7.5vw,110px);
}

.work-list {
  display: grid;
  gap: 70px;
}

.motion-cards-wrap,
.related-pages {
  user-select: none;
}

.related-pages {
  cursor: grab;
}

.related-pages.is-dragging {
  cursor: grabbing;
}

.related-card {
  border-radius: 30px;
  box-shadow: 0 12px 30px rgba(32,32,36,.06);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}

.related-card:hover {
  transform: translateY(-8px) rotate(-.5deg);
  box-shadow: 0 28px 60px rgba(32,32,36,.13);
}

/* =========================================================
   RELATED PAGE RAIL
   ========================================================= */

.related-pages {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 26px 4px 34px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: none;
  touch-action: pan-x;
  cursor: grab;
  perspective: 1200px;
}

.related-card {
  position: relative;
  min-height: 390px;
  width: min(350px, 76vw);
  flex: 0 0 min(350px, 76vw);
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(32,32,36,.14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: center;
  transform: translate3d(0,var(--card-y,0),0) scale(var(--card-scale,1)) rotate(var(--card-rotate,0deg));
  opacity: var(--card-opacity,1);
  transition: transform .45s var(--ease), opacity .45s var(--ease), box-shadow .45s var(--ease);
  will-change: transform, opacity;
}

.related-card:hover {
  box-shadow: 0 28px 60px rgba(32,32,36,.16);
}


.related-top {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.related-word {
  margin-bottom: 18px;
  font-size: clamp(42px,6vw,72px);
  line-height: .82;
  font-weight: 900;
  letter-spacing: -.09em;
}

.related-card h3 {
  margin: 0 0 10px;
  font-size: 27px;
  line-height: .98;
  letter-spacing: -.05em;
}

.related-card p {
  margin: 0;
  max-width: 290px;
  font-size: 14px;
  line-height: 1.55;
  opacity: .78;
}

.related-card::after {
  content: "OPEN →";
  position: absolute;
  right: 24px;
  bottom: 24px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

/* =========================================================
   ABOUT
   ========================================================= */

.px-about {
  padding: 150px 0;

  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: .3fr 1fr;
  gap: 50px;
}

.about-title {
  font-size:
    clamp(55px,7.5vw,105px);
}


/* =========================================================
   TRUST
   ========================================================= */

.px-trust {
  padding: 35px 0;

  background: var(--yellow-soft);

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-row {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 30px;

  flex-wrap: wrap;
}

.trust-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.trust-items {
  display: flex;
  gap: 35px;

  flex-wrap: wrap;

  font-size: 14px;
  font-weight: 800;
}


/* =========================================================
   TESTIMONIALS
   ========================================================= */

.px-testimonials {
  padding: 150px 0;

  background: var(--white);
}

.testimonial-head {
  margin-bottom: 70px;
}

.testimonial-title {
  font-size:
    clamp(55px,7.5vw,105px);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 15px;
}

.testimonial {
  min-height: 390px;

  padding: 35px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  border: 1px solid var(--line);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.testimonial:hover {
  transform: translateY(-8px) rotate(-.4deg);
  box-shadow: 0 24px 55px rgba(32,32,36,.11);
}

.testimonial::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: var(--cyan);
}

.testimonial:nth-child(1) {
  background: var(--paper);
}

.testimonial:nth-child(2) {
  background: var(--cyan-soft);
}

.testimonial:nth-child(2)::before { background: var(--cyan); }

.testimonial:nth-child(3) {
  background: var(--pink-soft);
}

.testimonial:nth-child(3)::before { background: var(--pink); }

.testimonial:nth-child(4) {
  background: var(--yellow-soft);
}

.testimonial:nth-child(4)::before { background: var(--yellow); }

.quote-mark {
  font-size: 55px;
  line-height: .7;

  font-weight: 900;
}

.testimonial blockquote {
  margin: 30px 0;

  font-size: 23px;
  line-height: 1.2;

  font-weight: 700;

  letter-spacing: -.04em;
}

.person {
  font-size: 12px;
  font-weight: 800;
}


/* =========================================================
   BELIEFS
   ========================================================= */

.px-beliefs {
  padding: 150px 0;

  background: var(--paper);

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.beliefs-grid {
  display: grid;
  grid-template-columns: .35fr 1fr;
  gap: 50px;
}

.beliefs-title {
  font-size:
    clamp(57px,7.5vw,108px);
}

.belief-list {
  border-top: 1px solid var(--line);
}

.belief {
  display: grid;
  grid-template-columns: 70px 1fr;

  padding: 30px 0;

  border-bottom: 1px solid var(--line);
}

.belief-number {
  color: var(--pink);

  font-size: 13px;
  font-weight: 900;
}

.belief h3 {
  margin: 0 0 8px;

  font-size: 27px;

  letter-spacing: -.04em;
}

.belief p {
  margin: 0;

  max-width: 650px;
}


/* =========================================================
   FAQ
   ========================================================= */

.px-faq {
  padding: 150px 0;

  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: .4fr .6fr;
  gap: 80px;
}

.faq-title {
  font-size:
    clamp(55px,7.5vw,105px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 30px;

  padding: 27px 0;

  background: none;
  border: 0;

  color: var(--black);

  text-align: left;

  cursor: pointer;

  font: inherit;
  font-size: 18px;
  font-weight: 800;

  letter-spacing: -.02em;
}

.faq-plus {
  font-size: 24px;
  transition: transform .3s var(--ease);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;

  transition:
    max-height .5s var(--ease);
}

.faq-answer p {
  padding: 0 50px 25px 0;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.px-final {
  padding: 170px 0;

  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(247,223,131,.7),
      transparent 20%
    ),
    var(--cyan-soft);
}

.final-title {
  max-width: 1150px;

  font-size:
    clamp(68px,9.5vw,140px);
}

.final-title span {
  color: var(--pink);
}

.final-copy {
  max-width: 520px;

  margin-top: 40px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.px-footer {
  padding: 70px 0 30px;

  background: #f0ece3;

  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 50px;

  padding-bottom: 55px;

  border-bottom: 1px solid var(--line);
}

.footer-logo {
  font-size: 40px;
  font-weight: 900;

  letter-spacing: -.07em;
}

.footer-logo span {
  color: var(--pink);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2,1fr);

  gap: 12px;

  font-size: 13px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--pink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;

  gap: 20px;

  padding-top: 25px;

  color: #77736d;

  font-size: 11px;
}


/* =========================================================
   REVEAL
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);

  transition:
    opacity .8s var(--ease),
    transform .8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

  .container {
    width: min(100% - 32px, 700px);
  }

  .nav-links {
    display: none;
  }

  .px-nav {
    padding-left: 9px;
  }

  .logo img {
    width: 58px;
    height: 58px;
  }

  .nav-cta {
    padding: 9px 13px;
  }

  .motion-cards,
  .related-pages {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-grid,
  .idea-grid,
  .motion-head,
  .services-head,
  .about-grid,
  .beliefs-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .services-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .case,
  .case:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .case:nth-child(even) .case-visual {
    order: 0;
  }

  .case-visual {
    min-height: 350px;
  }

  .case-info {
    padding: 35px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 600px) {

  .container {
    width: calc(100% - 28px);
  }

  .px-nav {
    top: 9px;

    width: calc(100% - 18px);

    padding: 10px 12px;
    border-radius: 999px;
  }

  .logo {
    font-size: 15px;
  }

  .nav-cta {
    padding: 9px 12px;
  }

  .px-hero {
    min-height: auto;

    padding:
      150px 0
      90px;
  }

  .hero-title {
    font-size: clamp(50px,14vw,75px);
  }

  .body-copy {
    font-size: 15px;
  }

  .px-idea,
  .px-motion,
  .px-services,
  .px-manifesto,
  .px-work,
  .px-about,
  .px-testimonials,
  .px-beliefs,
  .px-faq,
  .px-final {
    padding: 100px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .motion-card {
    min-height: 300px;
  }

  .case-visual {
    min-height: 280px;
  }

  .case-info {
    padding: 28px;
  }

  .case h3 {
    font-size: 43px;
  }

  .testimonial {
    min-height: 320px;
  }

  .trust-items {
    gap: 15px;
  }

  .belief {
    grid-template-columns: 45px 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .motion-card,
  .related-card {
    transform: none !important;
    opacity: 1 !important;
  }

}


/* =========================================================
   2026 VISUAL REFINEMENT — COLORFUL, CALM, HIGH-CONTRAST
   ========================================================= */
:root{
  --black:#171923;
  --white:#fffdf9;
  --paper:#f6f2ea;
  --cyan:#38BDF8;       /* sky blue */
  --cyan-soft:#E0F6FF;
  --pink:#E6007E;       /* magenta */
  --pink-soft:#FFE1F0;
  --yellow:#FFD600;     /* yellow */
  --yellow-soft:#FFF5C7;
  --pixel-red:#FF4D6D;
  --grey:#4d515b;
  --muted:#817f79;
  --line:rgba(23,25,35,.10);
  --line-strong:rgba(23,25,35,.18);
  --ease:cubic-bezier(.22,1,.36,1);
}

body{
  background:var(--white);
  color:var(--black);
}
.body-copy{color:var(--grey);}
.divider{background:var(--line);}

/* Keep borders quiet; let color live inside components. */
.px-nav{
  border-color:rgba(23,25,35,.10);
  box-shadow:0 14px 45px rgba(23,25,35,.08);
}
.button{border-color:var(--black);}
.px-marquee{border-color:var(--line);background:#f1eee7;}
.px-motion{border-top-color:var(--line);}
.motion-card{
  border-color:rgba(23,25,35,.10);
  box-shadow:0 16px 38px rgba(23,25,35,.07);
}
.motion-card:nth-child(1){background:var(--cyan);color:var(--black);}
.motion-card:nth-child(2){background:var(--pink);color:var(--white);}
.motion-card:nth-child(3){background:var(--yellow);color:var(--black);}
.motion-card:nth-child(4){background:var(--black);color:var(--white);}

.services-grid{background:var(--line);}
.service{border-color:transparent;}
.service:hover{background:#f7f4ed;}
.service-icon{border-color:var(--line-strong);}

.px-manifesto{
  background:
    radial-gradient(circle at 82% 18%,rgba(255,224,117,.38),transparent 22%),
    radial-gradient(circle at 12% 82%,rgba(197,27,104,.07),transparent 25%),
    var(--pink-soft);
}
.px-trust{background:#fff4cf;border-color:var(--line);}
.px-footer{background:#ece9e2;border-top-color:var(--line);}

.related-card{
  border-color:rgba(23,25,35,.10);
  box-shadow:0 16px 38px rgba(23,25,35,.07);
}
.related-home{background:var(--cyan);color:var(--black);}
.related-home:hover{background:var(--cyan);color:var(--pink);}
.related-about{background:var(--pink);color:var(--white);}
.related-cases{background:var(--yellow);color:var(--black);}
.related-careers{background:var(--black);color:var(--white);}
.related-careers:hover{background:var(--black);color:var(--yellow);}
.related-contact{background:#f0ede6;color:var(--black);}


/* Gradient typography — richer section accents without overwhelming the eye. */
.gradient-text{
  color:transparent !important;
  background:linear-gradient(105deg,var(--cyan) 0%,var(--pink) 48%,var(--yellow) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.gradient-text.warm{
  background:linear-gradient(105deg,var(--pink) 0%,#ff4da6 48%,var(--yellow) 100%);
  -webkit-background-clip:text;background-clip:text;
}
.gradient-text.cool{
  background:linear-gradient(105deg,var(--cyan) 0%,#7dd3fc 48%,var(--pink) 100%);
  -webkit-background-clip:text;background-clip:text;
}

/* Subtle gradient wash on major section headings. */
.section-gradient-heading{
  background:linear-gradient(110deg,var(--black) 0%,var(--cyan) 34%,var(--pink) 68%,#c89f00 100%);
  color:transparent;
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}


/* Section typography preference: use rich gradient fills instead of outline type. */
.section-gradient-heading,
.manifesto-title,
.curated-title,
.video-title {
  background-image: linear-gradient(105deg, #087fa8 0%, #c51b68 48%, #b88700 100%);
  background-size: 160% 160%;
  animation: sectionGradientShift 12s ease-in-out infinite alternate;
}
.section-gradient-heading,
.manifesto-title,
.curated-title,
.video-title {
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes sectionGradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .section-gradient-heading, .manifesto-title, .curated-title, .video-title { animation: none; }
}


/* Animated gradient typography — visible, lively, but still elegant. */
.section-gradient-heading,
.manifesto-title,
.curated-title,
.video-title,
.idea-title,
.motion-title,
.services-title,
.work-title,
.about-title,
.testimonial-title,
.beliefs-title,
.faq-title,
.final-title {
  background-image: linear-gradient(100deg, var(--cyan) 0%, #7dd3fc 22%, var(--pink) 48%, #ff4da6 68%, var(--yellow) 100%);
  background-size: 260% 260%;
  background-position: 0% 50%;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientTextFlow 7s ease-in-out infinite alternate;
  will-change: background-position;
}

.gradient-text {
  background-size: 220% 220%;
  animation: gradientTextFlow 6s ease-in-out infinite alternate;
}

@keyframes gradientTextFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 50% 50%; }
  100% { background-position: 100% 50%; }
}

/* Eye-catching accent motion — lightweight and WordPress-friendly. */
.px-idea::after,
.px-motion::after,
.px-curated::after {
  content:"";
  position:absolute;
  width:clamp(120px,16vw,230px);
  height:clamp(120px,16vw,230px);
  border-radius:50%;
  pointer-events:none;
  filter:blur(8px);
  opacity:.16;
  background:var(--pink);
  animation:accentFloat 8s ease-in-out infinite;
}
.px-idea::after{right:4%;top:18%;background:var(--yellow);}
.px-motion::after{left:3%;bottom:10%;background:var(--cyan);}
.px-curated::after{right:5%;top:12%;background:var(--pink);}

@keyframes accentFloat{
  0%,100%{transform:translate3d(0,0,0) scale(1);}
  50%{transform:translate3d(-18px,16px,0) scale(1.12);}
}

/* A small animated shine makes primary CTAs feel alive. */
.button,
.curated-explore{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.button::after,
.curated-explore::after{
  content:"";
  position:absolute;
  inset:-80% auto -80% -35%;
  width:28%;
  transform:rotate(20deg) translateX(-220%);
  background:rgba(255,255,255,.28);
  animation:buttonShine 4.8s ease-in-out infinite;
  pointer-events:none;
}
@keyframes buttonShine{
  0%,55%{transform:rotate(20deg) translateX(-220%);}
  72%,100%{transform:rotate(20deg) translateX(560%);}
}

@media (prefers-reduced-motion: reduce){
  .px-idea::after,.px-motion::after,.px-curated::after,
  .button::after,.curated-explore::after{animation:none;}
}

/* Soft entrance motion for section typography. */
.reveal .display {
  animation: headingLift .9s cubic-bezier(.22,1,.36,1) both;
}

.reveal:not(.visible) .display {
  animation-play-state: paused;
}

@keyframes headingLift {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Slightly stronger motion on interactive work imagery. */
.curated-card img {
  transition: transform .9s cubic-bezier(.22,1,.36,1), filter .6s ease;
}
.curated-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .section-gradient-heading,
  .manifesto-title,
  .curated-title,
  .video-title,
  .idea-title,
  .motion-title,
  .services-title,
  .work-title,
  .about-title,
  .testimonial-title,
  .beliefs-title,
  .faq-title,
  .final-title,
  .gradient-text {
    animation: none !important;
  }
}


/* Refined H1: mixed filled + outline typography. No gradient on the H1. */
.hero-title .hero-fill{
  color:var(--cyan);
  -webkit-text-fill-color:currentColor;
  background:none;
  display:inline;
}
.hero-title .hero-pink{ color:var(--pink); }
.hero-title .hero-outline{
  color:transparent;
  -webkit-text-fill-color:transparent;
  -webkit-text-stroke:2px var(--black);
  text-shadow:none;
  display:inline;
}
.hero-title .hero-fill,
.hero-title .hero-outline{
  transition:color .35s var(--ease), -webkit-text-stroke-color .35s var(--ease);
}
.hero-title:hover .hero-fill{ color:var(--pink); }
.hero-title:hover .hero-pink{ color:var(--cyan); }
.hero-title:hover .hero-outline{ -webkit-text-stroke-color:var(--pink); }

/* Smooth anchor scrolling with room for the floating navigation. */
html{
  scroll-behavior:smooth;
  scroll-padding-top:110px;
}
@media (max-width:600px){
  html{ scroll-padding-top:82px; }
  .hero-title .hero-outline{ -webkit-text-stroke-width:1.5px; }
}

/* New video intro */
.px-video-intro{
  padding:125px 0;
  background:
    radial-gradient(circle at 12% 20%,rgba(255,255,255,.13),transparent 24%),
    radial-gradient(circle at 88% 78%,rgba(255,214,0,.12),transparent 22%),
    #c51b68;
  color:#fffdf9;
  overflow:hidden;
}
.video-grid{
  display:grid;
  grid-template-columns:1fr .72fr;
  gap:55px;
  align-items:center;
}
.video-stage{grid-column:1;grid-row:1;}
.video-copy{grid-column:2;grid-row:1;}
.video-copy .eyebrow{color:#8fd8e7;}
.video-title{
  margin:0;
  max-width:900px;
  font-size:clamp(58px,8vw,118px);
}
.video-title span{color:#ff9bc4;}
.video-copy .body-copy{color:rgba(255,253,249,.76);margin-top:28px;}
.video-stage{
  position:relative;
  min-height:520px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:34px;
  overflow:hidden;
  isolation:isolate;
  background:
    radial-gradient(circle at 72% 20%,rgba(255,214,0,.24),transparent 25%),
    radial-gradient(circle at 22% 78%,rgba(8,168,224,.30),transparent 28%),
    linear-gradient(135deg,#d92b7a,#a81355 72%);
  box-shadow:0 30px 80px rgba(95,8,48,.24);
}
.video-stage::before{
  content:"";
  position:absolute;
  inset:10%;
  border:1px solid rgba(255,255,255,.12);
  border-radius:28px;
  transform:rotate(-3deg);
  z-index:-1;
}
.video-stage::after{
  content:"PIXEL / INTRO FILM";
  position:absolute;
  top:25px;
  left:28px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.16em;
  color:rgba(255,255,255,.66);
}
.video-art{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
}
.video-art::before,
.video-art::after{
  content:"";
  position:absolute;
  border-radius:50%;
  filter:blur(1px);
  animation:videoFloat 7s ease-in-out infinite;
}
.video-art::before{
  width:240px;height:240px;
  background:rgba(8,127,168,.25);
  transform:translate(-35%,-8%);
}
.video-art::after{
  width:180px;height:180px;
  background:rgba(197,27,104,.22);
  transform:translate(55%,28%);
  animation-delay:-2s;
}
.video-play{
  position:relative;
  z-index:2;
  width:92px;height:92px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.32);
  border-radius:50%;
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:25px;
  backdrop-filter:blur(12px);
  cursor:pointer;
  transition:transform .3s var(--ease),background .3s var(--ease);
}
.video-play:hover{transform:scale(1.08);background:rgba(255,255,255,.18);}
.video-meta{
  position:absolute;
  left:28px;right:28px;bottom:26px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
  color:rgba(255,255,255,.66);
}
@keyframes videoFloat{
  0%,100%{translate:0 0;scale:1}
  50%{translate:0 -18px;scale:1.06}
}

/* New curated work */
.px-curated{
  padding:145px 0;
  background:var(--white);
}
.curated-head{
  display:grid;
  grid-template-columns:.3fr 1fr;
  gap:50px;
  margin-bottom:65px;
}
.curated-head .eyebrow{color:var(--pink);}
.curated-title{
  margin:0;
  max-width:1050px;
  font-size:clamp(58px,7.5vw,110px);
}
.curated-title span{color:var(--cyan);}
.curated-actions{
  display:flex;
  gap:12px;
  margin-top:30px;
}
.curated-explore{
  background:var(--pink);
  border-color:var(--pink);
  color:var(--white);
  border-radius:999px;
  padding:0 24px;
}
.curated-explore:hover{
  background:var(--black);
  border-color:var(--black);
  transform:translateY(-3px);
}
.curated-explore span{
  font-size:16px;
  line-height:1;
}
.curated-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
}
.curated-card{
  position:relative;
  min-height:300px;
  padding:30px;
  border:1px solid var(--line);
  border-radius:30px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition:transform .45s var(--ease),box-shadow .45s var(--ease);
}
.curated-card:hover{
  transform:translateY(-7px);
  box-shadow:0 28px 65px rgba(23,25,35,.11);
}
.curated-card.featured{
  min-height:500px;
  background:
    radial-gradient(circle at 82% 25%,rgba(8,127,168,.18),transparent 25%),
    #e8f5f6;
}
.curated-card.pink{
  background:
    radial-gradient(circle at 20% 15%,rgba(197,27,104,.14),transparent 25%),
    #fae8f0;
}
.curated-card.yellow{
  background:
    radial-gradient(circle at 78% 75%,rgba(184,135,0,.15),transparent 26%),
    #fff5cf;
}
.curated-card.dark{background:#232734;color:#fffdf9;}
.curated-top{
  display:flex;justify-content:space-between;
  font-size:10px;font-weight:900;letter-spacing:.13em;
}
.curated-visual{
  position:absolute;
  right:7%;top:15%;
  width:48%;height:52%;
  border:1px solid rgba(23,25,35,.10);
  border-radius:26px;
  overflow:hidden;
  background:#eee9df;
  transform:rotate(-6deg);
  box-shadow:0 22px 45px rgba(23,25,35,.12);
}
.curated-visual img{
  width:100%;height:100%;object-fit:cover;
  display:block;
  filter:saturate(.88) contrast(1.03);
}
.curated-visual::after{
  content:"AD / CAMPAIGN";
  position:absolute;left:14px;bottom:12px;
  padding:6px 8px;border-radius:999px;
  background:rgba(255,253,249,.88);
  color:#171923;font-size:8px;font-weight:900;letter-spacing:.12em;
}
.curated-card h3{
  position:relative;z-index:2;
  margin:0 0 8px;
  max-width:600px;
  font-size:clamp(30px,4vw,54px);
  line-height:.94;letter-spacing:-.055em;
}
.curated-card p{
  position:relative;z-index:2;
  max-width:470px;margin:0;
  font-size:14px;line-height:1.6;
  opacity:.76;
}
.curated-card .curated-link{
  position:relative;z-index:2;
  display:inline-flex;align-items:center;gap:8px;
  margin-top:22px;
  font-size:10px;font-weight:900;letter-spacing:.12em;
}
.curated-stack{
  display:grid;
  grid-template-rows:1fr 1fr;
  gap:18px;
}
.curated-stack .curated-card{min-height:241px;}
@media(max-width:900px){
  .video-grid,.curated-head{grid-template-columns:1fr;gap:35px;}
  .video-stage{min-height:400px;}
  .video-stage,.video-copy{grid-column:auto;grid-row:auto;}
  .curated-grid{grid-template-columns:1fr;}
  .curated-card.featured{min-height:420px;}
}
@media(max-width:600px){
  .px-video-intro,.px-curated{padding:100px 0;}
  .video-stage{min-height:340px;border-radius:26px;}
  .curated-card{border-radius:24px;}
  .curated-card.featured{min-height:360px;}
}


/* =========================================================
   MIXED FILLED + OUTLINE TYPOGRAPHY
   ========================================================= */
.mixed-type {
  --type-stroke: rgba(24,24,29,.82);
}

.mixed-type .type-fill,
.mixed-type .type-outline {
  display: inline;
}

.mixed-type .type-fill {
  color: var(--black);
  -webkit-text-fill-color: currentColor;
}

.mixed-type .type-fill.type-pink {
  color: var(--pink);
}

.mixed-type .type-outline {
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.6px var(--type-stroke);
  text-shadow: none;
}

.mixed-type .type-outline:hover {
  color: var(--black);
  -webkit-text-fill-color: var(--black);
  -webkit-text-stroke-color: var(--black);
}

/* Give each section a slightly different filled accent without gradients. */
.px-idea .type-fill:first-child { color: var(--black); }
.px-video-intro .type-fill:first-child { color: var(--white); }
.px-motion .type-fill { color: var(--black); }
.px-services .type-fill:first-child { color: var(--cyan); }
.px-manifesto .type-fill { color: var(--black); }
.px-work .type-fill:first-child { color: var(--black); }
.px-curated .type-fill { color: var(--black); }
.px-about .type-fill:first-child { color: var(--black); }
.px-testimonials .type-fill { color: var(--black); }
.px-beliefs .type-fill:first-child { color: var(--black); }
.px-faq .type-fill:first-child { color: var(--black); }
.px-final .type-fill:first-child { color: var(--black); }

/* On the magenta video stage, use a light outline for contrast. */
.px-video-intro .type-outline {
  -webkit-text-stroke-color: rgba(255,255,255,.9);
}

@media (max-width: 600px) {
  .mixed-type .type-outline {
    -webkit-text-stroke-width: 1.15px;
  }
}


/* =========================================================
   FINAL CLEAN REFINEMENT — THIN NAV BORDER + ONE COLOR/SECTION
   ========================================================= */

:root{
  --section-ink: #171923;
  --section-line: rgba(23,25,35,.14);
}

/* Navigation: thin, cleaner, more visible edge */
.px-nav{
  border: 1px solid rgba(23,25,35,.16) !important;
  box-shadow:
    0 14px 45px rgba(23,25,35,.07),
    0 0 0 1px rgba(255,255,255,.55) inset !important;
}
.px-nav::before{
  content:"";
  position:absolute;
  inset:0;
  border:1px solid rgba(23,25,35,.055);
  border-radius:inherit;
  pointer-events:none;
}
.nav-links a,
.nav-cta{
  color:var(--section-ink);
}
.nav-links a::after{
  background:var(--section-ink);
}
.nav-links a:hover{
  color:var(--section-ink);
}
.nav-cta{
  background:var(--section-ink);
  color:var(--white);
}
.nav-cta:hover{
  background:var(--section-ink);
}

/* Remove multi-color/gradient typography and keep one clean ink color
   per section, while preserving the existing typography/layout. */
.px-hero,
.px-idea,
.px-motion,
.px-services,
.px-work,
.px-about,
.px-testimonials,
.px-beliefs,
.px-faq,
.px-footer{
  --section-ink:#171923;
}

.px-manifesto,
.px-curated{
  --section-ink:#7b1847;
}

.px-video-intro{
  --section-ink:#fffdf9;
}

.px-final{
  --section-ink:#075d78;
}

/* Major headings: single solid section color */
.px-hero .display,
.px-idea .display,
.px-motion .display,
.px-services .display,
.px-work .display,
.px-about .display,
.px-testimonials .display,
.px-beliefs .display,
.px-faq .display,
.px-footer .display,
.px-manifesto .display,
.px-video-intro .display,
.px-curated .display,
.px-final .display,
.px-hero .hero-title,
.px-idea .idea-title,
.px-motion .motion-title,
.px-services .services-title,
.px-work .work-title,
.px-about .about-title,
.px-testimonials .testimonial-title,
.px-beliefs .beliefs-title,
.px-faq .faq-title,
.px-final .final-title,
.px-manifesto .manifesto-title,
.px-video-intro .video-title,
.px-curated .curated-title{
  background:none !important;
  color:var(--section-ink) !important;
  -webkit-text-fill-color:var(--section-ink) !important;
  animation:none !important;
}

/* Keep existing outlined/mixed type treatment, but use one section color */
.px-hero .hero-outline,
.px-manifesto .type-outline,
.px-work .type-outline,
.px-video-intro .type-outline,
.px-curated .type-outline{
  color:transparent !important;
  -webkit-text-fill-color:transparent !important;
  -webkit-text-stroke-color:var(--section-ink) !important;
}

/* Section accents inherit the same section ink */
.px-idea .pink,
.px-services .services-title span,
.px-manifesto .type-pink,
.px-final .final-title span,
.px-curated-title span,
.px-curated .curated-title span,
.px-hero .hero-pink,
.px-hero .hero-fill{
  color:var(--section-ink) !important;
}

/* Cleaner section boundaries */
.px-marquee,
.px-motion,
.px-trust,
.px-beliefs,
.px-footer{
  border-color:var(--section-line);
}

/* Subtle heading animation: entrance + tiny hover lift, not a color shift */
.display.reveal{
  transition:
    opacity .8s var(--ease),
    transform .8s var(--ease);
}
.display.reveal.visible{
  animation:cleanHeadingIn .8s var(--ease) both;
}
@keyframes cleanHeadingIn{
  from{opacity:0;transform:translateY(20px);}
  to{opacity:1;transform:translateY(0);}
}
.display.reveal:hover{
  transform:translateY(-2px);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .display.reveal.visible{
    animation:none !important;
  }
  .display.reveal:hover{
    transform:none;
  }
}



/* =========================================================
   WORDPRESS-READY MOBILE MENU
   Self-contained component — desktop remains unchanged.
   ========================================================= */
.mobile-menu-toggle{
  display:none;
  width:42px;height:42px;
  border:1px solid rgba(23,25,35,.14);
  border-radius:50%;
  background:transparent;
  padding:0;
  align-items:center;justify-content:center;
  flex-direction:column;gap:4px;
  cursor:pointer;
  flex:0 0 auto;
}
.mobile-menu-toggle span{
  display:block;width:16px;height:1.5px;
  background:var(--black);
  transition:transform .3s var(--ease),opacity .25s ease;
}
.mobile-menu-toggle.is-open span:nth-child(1){transform:translateY(5.5px) rotate(45deg);}
.mobile-menu-toggle.is-open span:nth-child(2){opacity:0;}
.mobile-menu-toggle.is-open span:nth-child(3){transform:translateY(-5.5px) rotate(-45deg);}
.mobile-menu{
  position:fixed;z-index:999;
  top:76px;left:50%;
  width:min(1180px,calc(100% - 32px));
  transform:translate(-50%,-12px);
  padding:10px;
  border:1px solid rgba(23,25,35,.14);
  border-radius:24px;
  background:rgba(255,253,249,.97);
  box-shadow:0 18px 50px rgba(23,25,35,.12);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  opacity:0;visibility:hidden;
  pointer-events:none;
  transition:opacity .3s var(--ease),transform .3s var(--ease),visibility .3s;
}
.mobile-menu.is-open{
  opacity:1;visibility:visible;pointer-events:auto;
  transform:translate(-50%,0);
}
.mobile-menu-inner{display:grid;gap:2px;}
.mobile-menu-inner a{
  display:flex;align-items:center;justify-content:space-between;
  min-height:52px;padding:0 16px;
  border-radius:15px;
  font-size:15px;font-weight:800;
  color:var(--black);
  transition:background .25s var(--ease),transform .25s var(--ease);
}
.mobile-menu-inner a:hover{background:#f4f1ea;transform:translateX(3px);}
@media(max-width:900px){
  .mobile-menu-toggle{display:flex;}
  .px-nav{
    padding-left:9px;
    padding-right:9px;
  }
}
@media(min-width:901px){
  .mobile-menu{display:none!important;}
}
@media(max-width:600px){
  .mobile-menu{top:76px;width:calc(100% - 18px);}
}
@media(prefers-reduced-motion:reduce){
  .mobile-menu,.mobile-menu-toggle span,.mobile-menu-inner a{transition:none!important;}
}



/* Trust / counting bar — replaces the marquee without changing the rest of the design */
.px-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.trust-stat {
  min-height: 150px;
  padding: 28px 24px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 2px;
  row-gap: 8px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.trust-stat:last-child { border-right: 0; }

.trust-stat strong {
  font-size: clamp(42px, 5vw, 72px);
  line-height: .9;
  letter-spacing: -.065em;
  font-weight: 900;
  color: var(--black);
}

.trust-stat > span {
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1;
  font-weight: 800;
  color: var(--black);
}

.trust-stat small {
  width: 100%;
  display: block;
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--black);
}

@media (max-width: 900px) {
  .px-trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-stat:nth-child(2) { border-right: 0; }
  .trust-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 520px) {
  .trust-stat { min-height: 125px; padding: 22px 14px; }
  .trust-stat strong { font-size: 42px; }
  .trust-stat > span { font-size: 24px; }
  .trust-stat small { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .trust-stat strong { transition: none !important; }
}


/* =========================================================
   PREMIUM CARD SYSTEM — IDEAS + EXPLORE PIXEL
   Exact shared typography + distinct hover color states.
   ========================================================= */

/* Shared type: Ideas in Motion now uses the same type metrics
   as Our work cards, not merely the same font family. */
.motion-card,
.motion-card h3,
.motion-card p,
.motion-number,
.related-card,
.related-card h3,
.related-card p,
.related-top,
.related-card::after {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.motion-card h3,
.related-card h3 {
  font-size: 27px;
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.05em;
}

.motion-card p,
.related-card p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: normal;
  max-width: 290px;
}

.motion-number,
.related-top {
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .12em;
}

/* -------------------------
   Ideas: every card gets a
   real hover color change.
   ------------------------- */
.motion-card {
  overflow: hidden;
  isolation: isolate;
  transition:
    transform .55s var(--ease),
    background-color .45s ease,
    color .45s ease,
    box-shadow .55s var(--ease),
    border-color .45s ease;
}

.motion-card::before,
.motion-card > *,
.related-card > * {
  position: relative;
  z-index: 1;
}

.motion-card:hover::before,
.related-card:hover::before {
  transform: translateX(760%) rotate(18deg);
}

.motion-card:nth-child(1) { background: var(--cyan); color: var(--black); }
.motion-card:nth-child(1):hover { background: var(--pink); color: var(--white); }
.motion-card:nth-child(2) { background: var(--pink); color: var(--white); }
.motion-card:nth-child(2):hover { background: var(--yellow); color: var(--black); }
.motion-card:nth-child(3) { background: var(--yellow); color: var(--black); }
.motion-card:nth-child(3):hover { background: var(--cyan); color: var(--black); }
.motion-card:nth-child(4) { background: var(--black); color: var(--white); }
.motion-card:nth-child(4):hover { background: var(--cyan); color: var(--black); }

/* -------------------------
   Our work: all five
   cards change on hover.
   No two hover states use
   the same background/text pair.
   ------------------------- */
.related-home { background: var(--cyan); color: var(--black); }
.related-home:hover { background: var(--pink); color: var(--white); }

.related-about { background: var(--pink); color: var(--white); }
.related-about:hover { background: var(--yellow); color: var(--black); }

.related-cases { background: var(--yellow); color: var(--black); }
.related-cases:hover { background: var(--cyan); color: var(--black); }

.related-careers { background: var(--black); color: var(--white); }
.related-careers:hover { background: var(--pink); color: var(--white); }

.related-contact { background: #f0ede6; color: var(--black); }
.related-contact:hover { background: var(--black); color: var(--yellow); }

.related-card {
  overflow: hidden;
  isolation: isolate;
  transition:
    transform .55s var(--ease),
    opacity .45s ease,
    background-color .45s ease,
    color .45s ease,
    box-shadow .55s var(--ease),
    border-color .45s ease;
}

/* Keep the large Our work word locked to the same weight/spacing. */
.related-word {
  font-family: inherit;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .82;
  font-weight: 900;
  letter-spacing: -.09em;
}

/* -------------------------
   Premium motion language
   ------------------------- */
.px-motion,
.px-work {
  isolation: isolate;
}

.px-motion::before,
.px-work::before {
  content: "";
  position: absolute;
  width: clamp(180px, 24vw, 340px);
  height: clamp(180px, 24vw, 340px);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(34px);
  opacity: .12;
  background: linear-gradient(135deg, var(--cyan), var(--pink), var(--yellow));
  animation: premiumOrb 11s ease-in-out infinite alternate;
  z-index: -1;
}

.px-motion::before { right: 7%; top: 8%; }
.px-work::before { left: 5%; bottom: 4%; animation-delay: -4s; }

@keyframes premiumOrb {
  0% { transform: translate3d(-20px, 10px, 0) scale(.9); }
  50% { transform: translate3d(22px, -18px, 0) scale(1.08); }
  100% { transform: translate3d(-8px, 20px, 0) scale(.96); }
}

/* Subtle depth when cards enter the viewport. */
.motion-card.reveal,
.related-card.reveal {
  transition:
    opacity .8s var(--ease),
    transform .8s var(--ease),
    background-color .45s ease,
    color .45s ease,
    box-shadow .55s var(--ease);
}

/* Rail edge fade gives the horizontal interaction a premium finish. */
.motion-cards-wrap::after,
.related-pages::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  top: 0;
  right: 0;
  width: 58px;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--paper));
  opacity: .72;
  pointer-events: none;
  z-index: 5;
}

/* No scroll instruction / badge anywhere in the Ideas rail. */
.motion-cards-wrap::before {
  content: none !important;
  display: none !important;
}

@media (max-width: 900px) {
  .motion-cards-wrap::after,
  .related-pages::after { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .px-motion::before,
  .px-work::before,
  .motion-card::before,
  }



/* =========================================================
   FINAL CARD DIRECTION — TEXT-ONLY HOVER COLOR
   Keep every card background fixed. Only typography changes.
   Ideas uses an H1-like visual hierarchy with compact H4/H5-like support.
   ========================================================= */

/* Never show a scroll instruction, marker, or fade inside Ideas. */
.motion-cards-wrap::before,
.motion-cards-wrap::after {
  content: none !important;
  display: none !important;
}

/* ---------- IDEAS IN MOTION ---------- */
.motion-card {
  background: var(--cyan) !important;
  color: var(--black) !important;
  border-color: rgba(23,25,35,.10);
  transition:
    transform .55s var(--ease),
    box-shadow .55s var(--ease),
    border-color .35s ease,
    color .35s ease;
}

.motion-card:nth-child(1) { background: var(--cyan) !important; color: var(--black) !important; }
.motion-card:nth-child(2) { background: var(--pink) !important; color: var(--white) !important; }
.motion-card:nth-child(3) { background: var(--yellow) !important; color: var(--black) !important; }
.motion-card:nth-child(4) { background: var(--black) !important; color: var(--white) !important; }

.motion-card:nth-child(1):hover { background: var(--cyan) !important; color: var(--pink) !important; }
.motion-card:nth-child(2):hover { background: var(--pink) !important; color: var(--yellow) !important; }
.motion-card:nth-child(3):hover { background: var(--yellow) !important; color: var(--pink) !important; }
.motion-card:nth-child(4):hover { background: var(--black) !important; color: var(--cyan) !important; }

/* H1-like display treatment, while retaining the existing section hierarchy. */
.motion-card h3 {
  margin: 0 0 18px;
  max-width: 320px;
  font-family: inherit;
  font-size: clamp(44px, 4.15vw, 62px);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.065em;
  transition:
    color .35s ease,
    transform .55s var(--ease),
    letter-spacing .55s var(--ease),
    text-shadow .35s ease;
}

/* H4/H5-like supporting line: short, useful, quieter. */
.motion-card p {
  margin: 0;
  max-width: 285px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.015em;
  opacity: .82;
  transition: color .35s ease, opacity .35s ease, transform .55s var(--ease);
}

.motion-number {
  font-family: inherit;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .12em;
  transition: color .35s ease;
}

.motion-card:hover h3 {
  transform: translateX(4px) scale(1.015);
  letter-spacing: -.075em;
  text-shadow: 0 10px 28px rgba(23,25,35,.08);
}

.motion-card:hover p {
  transform: translateX(3px);
  opacity: 1;
}

/* Remove the previous light-sweep animation; the premium movement is typography/card motion. */
.motion-card::before {
  content: none !important;
  display: none !important;
}

/* ---------- EXPLORE PIXEL ---------- */
.related-card {
  border-color: rgba(23,25,35,.10);
  transition:
    transform .55s var(--ease),
    opacity .45s ease,
    box-shadow .55s var(--ease),
    border-color .35s ease,
    color .35s ease;
}

.related-home { background: var(--cyan) !important; color: var(--black) !important; }
.related-about { background: var(--pink) !important; color: var(--white) !important; }
.related-cases { background: var(--yellow) !important; color: var(--black) !important; }
.related-careers { background: var(--black) !important; color: var(--white) !important; }
.related-contact { background: #f0ede6 !important; color: var(--black) !important; }

.related-home:hover { background: var(--cyan) !important; color: var(--pink) !important; }
.related-about:hover { background: var(--pink) !important; color: var(--yellow) !important; }
.related-cases:hover { background: var(--yellow) !important; color: var(--pink) !important; }
.related-careers:hover { background: var(--black) !important; color: var(--cyan) !important; }
.related-contact:hover { background: #f0ede6 !important; color: var(--pink) !important; }

.related-card .related-word,
.related-card h3,
.related-card p,
.related-card .related-top,
.related-card::after {
  transition:
    color .35s ease,
    transform .55s var(--ease),
    opacity .35s ease,
    text-shadow .35s ease;
}

.related-card:hover .related-word {
  transform: translateX(4px) scale(1.015);
  text-shadow: 0 10px 28px rgba(23,25,35,.08);
}

.related-card:hover h3 {
  transform: translateX(3px);
}

.related-card:hover p {
  transform: translateX(2px);
  opacity: 1;
}

/* Keep the large Explore word and card typography crisp and consistent. */
.related-word {
  font-family: inherit;
  font-weight: 900;
}

/* Premium motion stays in the page atmosphere, not the card backgrounds. */
.px-motion::before,
.px-work::before {
  animation: premiumOrb 12s cubic-bezier(.22,1,.36,1) infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .px-motion::before,
  .px-work::before,
  .motion-card,
  .motion-card h3,
  .motion-card p,
  .related-card,
  .related-card .related-word,
  .related-card h3,
  .related-card p,
  .related-card .related-top,
  .related-card::after {
    animation: none !important;
    transition: none !important;
  }
}


/* =========================================================
   FINAL JOIN / CAREERS CARD FIX
   Solid background only — absolutely no light sweep/gradient.
   ========================================================= */
.related-card.related-careers,
.related-card.related-careers:hover,
.related-card.related-careers:focus,
.related-card.related-careers:active {
  background: #171923 !important;
  background-image: none !important;
  background-color: #171923 !important;
  color: #fffdf9 !important;
  border-color: rgba(23,25,35,.10) !important;
}

/* Remove every possible light/shine layer from the Careers card. */
.related-card.related-careers::before,
.related-card.related-careers::after {
  background-image: none !important;
}

.related-card.related-careers::before {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.related-card.related-careers::after {
  content: "OPEN →";
  background: none !important;
  color: inherit !important;
  display: block !important;
  opacity: 1 !important;
}

/* Text-only hover: background never changes. */
.related-card.related-careers:hover .related-word,
.related-card.related-careers:hover h3,
.related-card.related-careers:hover p,
.related-card.related-careers:hover .related-top,
.related-card.related-careers:hover::after {
  color: var(--cyan) !important;
}

/* Keep the Careers card exactly the same physical size as its siblings. */
.related-card.related-careers {
  width: min(350px, 76vw) !important;
  min-width: min(350px, 76vw) !important;
  max-width: min(350px, 76vw) !important;
  min-height: 390px !important;
  height: 390px !important;
  flex: 0 0 min(350px, 76vw) !important;
  overflow: hidden !important;
  position: relative !important;
}


/* =========================================================
   JOIN / CAREERS — FINAL SOLID CARD
   ========================================================= */
.related-card.related-careers {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  background: #171923 !important;
  background-color: #171923 !important;
  background-image: none !important;
  color: #fffdf9 !important;
}
.related-card.related-careers::before {
  content: none !important;
  display: none !important;
  position: static !important;
  inset: auto !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  opacity: 0 !important;
  visibility: hidden !important;
  animation: none !important;
  transform: none !important;
}
.related-card.related-careers:hover {
  background: #171923 !important;
  background-color: #171923 !important;
  background-image: none !important;
}



/* =========================================================
   ABSOLUTE FINAL JOIN CARD CLEANUP
   Remove every possible visual overlay from Careers/Join.
   ========================================================= */
.related-card.related-careers {
  background: #171923 !important;
  background-color: #171923 !important;
  background-image: none !important;
  box-shadow: 0 12px 30px rgba(32,32,36,.06) !important;
}

.related-card.related-careers::before {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  animation: none !important;
  transform: none !important;
  width: 0 !important;
  height: 0 !important;
  inset: auto !important;
}

.related-card.related-careers:hover,
.related-card.related-careers:focus,
.related-card.related-careers:active {
  background: #171923 !important;
  background-color: #171923 !important;
  background-image: none !important;
}

/* Remove rail overlays that can visually cross the final card. */
.related-pages::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* =========================================================
   CLIENT REVISION — 10 POINT HOMEPAGE UPDATE
   ========================================================= */
.px-services-combined {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.px-services-combined .combined-services-head {
  margin-bottom: clamp(26px, 4vh, 52px);
}
.service-motion-card:nth-child(1) { background: var(--cyan); color: var(--black); }
.service-motion-card:nth-child(2) { background: var(--pink); color: var(--white); }
.service-motion-card:nth-child(3) { background: var(--yellow); color: var(--black); }
.service-motion-card:nth-child(4) { background: var(--black); color: var(--white); }

.px-team .team-head { margin-bottom: 60px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.team-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(23,25,35,.07);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(23,25,35,.14);
}
.team-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eee9df;
}
.team-image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.82) contrast(1.03);
  transition: transform .8s var(--ease), filter .5s ease;
}
.team-card:hover .team-image img { transform: scale(1.045); filter: saturate(1) contrast(1.04); }
.team-meta { padding: 24px 26px 28px; }
.team-role { font-size: 10px; font-weight: 900; letter-spacing: .14em; color: var(--pink); margin-bottom: 12px; }
.team-meta h3 { margin: 0 0 5px; font-size: 30px; line-height: .95; letter-spacing: -.05em; }
.team-meta p { margin: 0; color: var(--grey); font-size: 13px; font-weight: 700; }

.partners-section-grid { align-items: center; }
.partners-section-grid > div:first-child .body-copy { margin-top: 28px; }
.partner-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.partner-logo {
  min-height: 120px;
  display: flex; align-items: center; justify-content: center;
  gap: 7px; padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 18px; font-weight: 900; letter-spacing: -.04em;
  background: var(--white);
}
.partner-logo span { opacity: .42; font-size: 12px; letter-spacing: .08em; }

/* Testimonials: one-row slider; cards leave on the left and enter from the right. */
.testimonials-grid {
  display: flex;
  gap: 15px;
  overflow: hidden;
  position: relative;
  padding: 8px 2px 28px;
}
.testimonial {
  flex: 0 0 calc((100% - 45px) / 4);
  min-width: 0;
}
.testimonials-grid.is-sliding .testimonial {
  transition: transform .65s var(--ease), opacity .65s var(--ease);
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card { display: grid; grid-template-columns: .9fr 1fr; }
  .team-image { aspect-ratio: 1 / 1; }
  .testimonials-grid { overflow: hidden; }
  .testimonial { flex-basis: 82%; }
}
@media (max-width: 600px) {
  .team-card { display: block; }
  .team-image { aspect-ratio: 4 / 5; }
  .partner-logos { grid-template-columns: 1fr 1fr; }
  .partner-logo { min-height: 90px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .team-card, .team-image img { transition: none; }
  .testimonials-grid.is-sliding .testimonial { transition: none; }
}


/* =========================================================
   CONTENT REFINEMENT — TEAM + CTA + SOCIAL
   ========================================================= */

.about-team-grid{
  margin-top:70px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.about-team-grid .team-card{
  border:0;
  color:var(--black);
}
.about-team-grid .team-image{
  aspect-ratio:4 / 5;
  background:transparent;
}
.about-team-grid .team-meta{
  padding:24px 26px 30px;
}
.about-team-grid .team-role{
  color:inherit;
  opacity:.68;
}
.about-team-grid .team-blue{background:var(--cyan);}
.about-team-grid .team-yellow{background:var(--yellow);}
.about-team-grid .team-red{background:var(--pixel-red);}
.about-team-grid .team-red,
.about-team-grid .team-red .team-meta p{color:var(--white);}
.about-team-grid .team-red .team-role{color:var(--white);}
.about-team-grid .team-image img{
  filter:saturate(.78) contrast(1.04);
}
.about-cta,
.section-cta-wrap,
.testimonial-cta,
.beliefs-cta{
  margin-top:28px;
}
.footer-socials{
  display:flex;
  align-items:center;
  gap:0;
  flex-wrap:wrap;
  margin-top:30px;
  padding:20px 0;
  border-bottom:1px solid var(--line);
}
.footer-socials a{
  padding:0 20px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  border-right:1px solid var(--line);
  transition:color .25s var(--ease), transform .25s var(--ease);
}
.footer-socials a:first-child{padding-left:0;}
.footer-socials a:last-child{border-right:0;}
.footer-socials a:hover{
  color:var(--pink);
  transform:translateY(-2px);
}
@media(max-width:900px){
  .about-team-grid{grid-template-columns:1fr;}
}
@media(max-width:600px){
  .footer-socials{gap:14px;}
  .footer-socials a{
    padding:0 12px 0 0;
    border-right:0;
  }
  .about-team-grid{margin-top:45px;}
}


/* =========================================================
   LATEST REFINEMENT — NAV, TEAM, TESTIMONIALS, PARTNERS, CREATIVE WORK
   ========================================================= */
@media (min-width: 901px){
  .nav-links{font-size:15px;gap:27px;}
  .nav-cta{font-size:12px;}
}
.about-team-grid{width:88%;max-width:1020px;margin-left:auto;margin-right:auto;}
.about-team-grid .team-image{aspect-ratio:5 / 5.4;}
.about-team-grid .team-meta{padding:20px 22px 24px;}
.about-team-grid .team-meta h3{font-size:24px;}
.testimonial .person{display:flex;align-items:center;gap:12px;margin-top:22px;}
.testimonial .person img{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid var(--black);flex:0 0 48px;}
.testimonial .person-copy{display:flex;flex-direction:column;gap:3px;}
.testimonial .person-name{font-size:13px;font-weight:900;line-height:1.1;}
.testimonial .person-role{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--grey);line-height:1.2;}
.video-stage{padding:0;background:#111;box-shadow:0 30px 80px rgba(0,0,0,.22);}
.video-embed{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;}
.video-meta{z-index:3;background:linear-gradient(transparent,rgba(0,0,0,.62));padding-top:70px;bottom:0;left:0;right:0;padding-left:28px;padding-right:28px;padding-bottom:24px;}
.partner-logos{position:relative;min-height:360px;overflow:hidden;}
.partner-logo{transition:opacity .45s ease,transform .45s ease;}
.partner-logo.is-changing{opacity:.15;transform:translateY(8px) scale(.97);}
.partner-logo img{max-width:130px;max-height:48px;object-fit:contain;filter:grayscale(1);}
.curated-visual img{filter:saturate(.98) contrast(1.04);}
.curated-card.featured .curated-visual{width:52%;height:60%;right:6%;top:10%;}
@media (max-width:900px){
  .about-team-grid{width:100%;}
  .video-stage{min-height:420px;}
}
@media (max-width:600px){
  .about-team-grid{width:100%;}
  .about-team-grid .team-image{aspect-ratio:1 / 1.08;}
  .video-stage{min-height:360px;border-radius:24px;}
  .partner-logos{min-height:260px;}
}

/* V3 refinements */
@media (min-width: 901px){
  .nav-links{font-size:15px;gap:28px;}
  .nav-cta{font-size:12px;}
}
.about-team-grid{max-width:980px;margin-left:auto;margin-right:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.about-team-grid .team-card{max-width:310px;width:100%;margin:0 auto;border-radius:22px;}
.about-team-grid .team-image{aspect-ratio:1 / 1.05;}
.about-team-grid .team-meta{padding:18px 20px 22px;}
.about-team-grid .team-meta h3{font-size:25px;}
.about-team-grid .team-role{font-size:9px;margin-bottom:9px;}
.about-team-grid .team-meta p{font-size:12px;}
.team-name-link{color:inherit;text-decoration:none;}
.team-name-link:hover{text-decoration:underline;text-underline-offset:4px;}
.partner-logos{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;}
.partner-logo{min-height:150px;padding:18px;overflow:hidden;opacity:1;transition:opacity .35s ease,transform .35s ease;background:var(--white);}
.partner-logo.is-fading{opacity:0;transform:scale(.97);}
.partner-logo img{display:block;max-width:100%;max-height:110px;width:auto;height:auto;object-fit:contain;}
.testimonial .person{display:flex;align-items:center;gap:12px;margin-top:18px;}
.testimonial .person img{width:52px;height:52px;border-radius:50%;object-fit:cover;flex:0 0 52px;}
.testimonial .person-name{font-size:13px;font-weight:900;}
.testimonial .person-role{margin-top:4px;font-size:11px;font-weight:700;letter-spacing:.01em;opacity:.72;}
.curated-visual{background:#eee;overflow:hidden;}
.curated-visual img{width:100%;height:100%;object-fit:cover;display:block;}
@media (max-width:900px){.about-team-grid{grid-template-columns:1fr;max-width:420px;}.about-team-grid .team-card{max-width:340px;}.partner-logo{min-height:120px;}.partner-logo img{max-height:90px;}}

/* V4 — six-at-once project + client preview rails */
.curated-grid-six{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px;}
.project-preview-card{position:relative;min-height:390px;padding:18px;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:var(--white);display:flex;flex-direction:column;justify-content:space-between;transition:opacity .55s ease,transform .55s cubic-bezier(.2,.7,.2,1),box-shadow .4s ease;}
.project-preview-card:hover{transform:translateY(-6px);box-shadow:0 24px 55px rgba(23,25,35,.10);}.project-preview-card.is-changing{opacity:0;transform:translateY(16px) scale(.985);}
.project-preview-visual{height:245px;border-radius:18px;overflow:hidden;background:#eee9df;margin-top:12px;}.project-preview-visual img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .7s ease;}.project-preview-card:hover .project-preview-visual img{transform:scale(1.04);}
.project-preview-meta{padding-top:14px;}.project-preview-meta h3{margin:0;font-size:25px;line-height:1;letter-spacing:-.045em;}.project-preview-meta p{margin:8px 0 0;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--grey);}
.partner-logos-six{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line);}.partner-logos-six .partner-logo-slot{min-height:150px;padding:20px;display:flex;align-items:center;justify-content:center;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--white);transition:opacity .5s ease,transform .5s cubic-bezier(.2,.7,.2,1);}.partner-logos-six .partner-logo-slot.is-changing{opacity:0;transform:translateY(12px) scale(.96);}.partner-logos-six .partner-logo-slot img{display:block;max-width:100%;max-height:90px;width:auto;height:auto;object-fit:contain;filter:none;}
@media (max-width:900px){.curated-grid-six{grid-template-columns:repeat(2,minmax(0,1fr));}.project-preview-card{min-height:350px;}.project-preview-visual{height:210px;}.partner-logos-six{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:600px){.curated-grid-six{grid-template-columns:1fr;}.project-preview-card{min-height:390px;}.project-preview-visual{height:245px;}.partner-logos-six{grid-template-columns:repeat(2,minmax(0,1fr));}.partner-logos-six .partner-logo-slot{min-height:120px;padding:14px;}}



/* V5 — requested brand color mapping */
.about-team-grid .team-card.team-blue{background:var(--yellow);color:#171717;}
.about-team-grid .team-card.team-yellow{background:var(--pink);color:#fff;}
.about-team-grid .team-card.team-red{background:var(--cyan);color:#fff;}
.about-team-grid .team-card.team-blue .team-meta p,
.about-team-grid .team-card.team-yellow .team-meta p,
.about-team-grid .team-card.team-red .team-meta p{color:inherit;}
.about-team-grid .team-card.team-blue .team-role{color:#171717;}
.about-team-grid .team-card.team-yellow .team-role,
.about-team-grid .team-card.team-red .team-role{color:#fff;}

/* Curated Work — light magenta / yellow / sky-blue card backgrounds */
.curated-grid-six .project-preview-card:nth-child(3n+1){background:#F9DCEB;border-color:#F9DCEB;}
.curated-grid-six .project-preview-card:nth-child(3n+2){background:#FFF1B8;border-color:#FFF1B8;}
.curated-grid-six .project-preview-card:nth-child(3n){background:#DDF3FB;border-color:#DDF3FB;}
.curated-grid-six .project-preview-card .project-preview-visual{background:rgba(255,255,255,.72);}


/* v3: services cards are a normal responsive grid; no horizontal/parallax scroll. */
.services-cards-wrap {
  display: block !important;
  width: 100% !important;
  overflow: visible !important;
  padding: 26px 0 34px !important;
  cursor: default !important;
  touch-action: auto !important;
  perspective: none !important;
  user-select: auto !important;
  -webkit-overflow-scrolling: auto !important;
}
.services-cards-wrap .motion-cards {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  width: 100% !important;
  height: auto !important;
  gap: 18px !important;
  transform: none !important;
}
.services-cards-wrap .motion-card {
  width: auto !important;
  min-width: 0 !important;
  flex: none !important;
  height: 390px !important;
  scroll-snap-align: none !important;
}
@media (max-width: 1050px) {
  .services-cards-wrap .motion-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 650px) {
  .services-cards-wrap .motion-cards { grid-template-columns: 1fr !important; }
  .services-cards-wrap .motion-card { height: auto !important; min-height: 320px !important; }
}

/* Explicitly keep custom WordPress media selected for team/project cards visible and contained. */
.team-image img,
.project-preview-visual img,
.project-preview-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
