:root {
  --ink: #111118;
  --paper: #f7f7f4;
  --mist: #eeeeec;
  --line: rgba(17, 17, 24, 0.12);
  --muted: #696b76;
  --coral: #f72c32;
  --cyan: #12b9e8;
  --lime: #ffe600;
  --violet: #ed1e8f;
  --green: #737373;
  --shadow: 0 24px 70px rgba(17, 17, 24, 0.16);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --flip-ease: cubic-bezier(.16, 1, .28, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
main section { scroll-margin-top: 130px; }
body {
  margin: 0;
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(115,115,115,.12) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(180deg, rgba(115,115,115,.1) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--paper);
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  gap: 24px;
  align-content: center;
  background: var(--ink);
  color: white;
  transition: opacity .65s var(--ease), visibility .65s var(--ease);
}
.loaded .loader { opacity: 0; visibility: hidden; }
.loader-mark {
  display: flex;
  gap: 8px;
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: .8;
}
.loader-mark span {
  display: inline-block;
  animation: popLetter .9s var(--ease) infinite alternate;
}
.loader-mark span:last-child { animation-delay: .18s; color: var(--violet); }
.loader-line {
  width: min(280px, 68vw);
  height: 5px;
  overflow: hidden;
  background: rgba(255,255,255,.18);
}
.loader-line i {
  display: block;
  height: 100%;
  width: 42%;
  background: linear-gradient(90deg, var(--coral), var(--cyan), var(--lime));
  animation: loadingSlide 1.1s var(--ease) infinite;
}

.cursor-ink {
  position: fixed;
  width: 26px;
  height: 26px;
  pointer-events: none;
  z-index: 99;
  border: 1px solid rgba(237,30,143,.36);
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  transform: translate(-50%, -50%);
  mix-blend-mode: normal;
  opacity: 0;
  transition: opacity .2s ease;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 28px));
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,.42));
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 24px 70px rgba(17,17,24,.12), inset 0 1px 0 rgba(255,255,255,.88);
  backdrop-filter: blur(24px) saturate(1.4);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo {
  width: 92px;
  height: 62px;
  object-fit: contain;
  padding: 3px;
}
.brand strong { display: block; font-size: .98rem; }
.brand small { display: block; color: var(--muted); font-size: .72rem; margin-top: 2px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 11px 14px;
  font-size: .9rem;
  font-weight: 750;
  color: #292a32;
}
.site-nav a:hover { color: var(--coral); }
.menu-toggle { display: none; }

.section-band {
  position: relative;
  min-height: 100svh;
  padding: 150px max(24px, 5vw) 70px;
}
.section-pad { padding: 112px max(24px, 5vw); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
  overflow: hidden;
}
.hero-copy { max-width: 780px; position: relative; z-index: 2; }
h1, h2, h3, p { margin: 0; }
h1 {
  max-width: 850px;
  font-size: clamp(3.1rem, 7vw, 6.9rem);
  line-height: .85;
  letter-spacing: 0;
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-weight: 700;
}
h2 {
  font-size: clamp(2.1rem, 4.6vw, 5.2rem);
  line-height: .95;
  letter-spacing: 0;
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-weight: 700;
}
h3 { font-family: "Space Grotesk", Manrope, sans-serif; font-size: clamp(1.3rem, 2vw, 2rem); line-height: 1; font-weight: 700; }
p { color: var(--muted); line-height: 1.7; font-size: clamp(1rem, 1.25vw, 1.18rem); }
.hero-copy p { max-width: 660px; margin-top: 28px; font-size: clamp(1.05rem, 1.5vw, 1.32rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  font-weight: 850;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 8px 8px 0 var(--ink); }
.btn-primary { background: var(--coral); color: white; }
.btn-ghost { background: white; }

.motion-stage { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.track {
  position: absolute;
  width: 44vw;
  height: 14px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 24px, transparent 24px 38px);
  opacity: .11;
  animation: trackMove 12s linear infinite;
}
.track-a { top: 24%; left: -10%; transform: rotate(-16deg); }
.track-b { right: -12%; bottom: 18%; transform: rotate(18deg); animation-direction: reverse; }
.tile {
  position: absolute;
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(17,17,24,.1);
  animation: drift 7s var(--ease) infinite alternate;
}
.tile-a { width: 120px; height: 120px; background: var(--cyan); left: 8%; bottom: 16%; }
.tile-b { width: 90px; height: 150px; background: var(--lime); right: 43%; top: 15%; animation-delay: .8s; }
.tile-c { width: 170px; height: 70px; background: var(--violet); right: 7%; top: 30%; animation-delay: .35s; }

.hero-visual { position: relative; z-index: 2; }
.image-stack { position: relative; min-height: 610px; }
.print-showpiece {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
}
.hero-logo {
  width: min(560px, 100%);
  height: auto;
  object-fit: contain;
  padding: clamp(18px, 3vw, 30px);
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,255,255,.72));
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(17,17,24,.16), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(20px) saturate(1.2);
  transform: rotate(2deg);
  animation: logoFloat 5s var(--ease) infinite alternate;
}
.print-sheet {
  position: absolute;
  width: 230px;
  min-height: 168px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 22px 45px rgba(17,17,24,.16);
  backdrop-filter: blur(18px) saturate(1.35);
  display: grid;
  align-content: space-between;
  gap: 18px;
}
.print-sheet span {
  color: var(--violet);
  font-weight: 950;
  text-transform: uppercase;
  font-size: .78rem;
}
.print-sheet strong { font-size: 1.35rem; line-height: 1; }
.print-sheet strong b {
  display: inline-block;
  min-width: 2.5ch;
  color: var(--coral);
  font-size: clamp(2rem, 3vw, 3.35rem);
  line-height: .82;
  font-family: "Space Grotesk", Manrope, sans-serif;
  animation: metricPop 2.8s var(--ease) infinite;
}
.print-sheet i {
  display: block;
  height: 10px;
  background: linear-gradient(90deg, var(--cyan) 0 25%, var(--violet) 25% 50%, var(--lime) 50% 75%, #222 75%);
}
.sheet-a { left: -30px; top: 70px; transform: rotate(-8deg); }
.sheet-b { right: -14px; bottom: 70px; transform: rotate(7deg); }
.print-meter {
  position: absolute;
  left: 26px;
  bottom: 22px;
  display: flex;
  gap: 8px;
  padding: 12px;
  color: white;
  background: var(--coral);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(17,17,24,.18);
  backdrop-filter: blur(14px);
}
.print-meter b { padding: 9px 10px; background: rgba(255,255,255,.16); text-transform: uppercase; font-size: .75rem; }
.hero-card {
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 18px 18px 0 var(--ink);
  background: white;
}
.card-main { height: 510px; transform: rotate(2deg); }
.card-float {
  position: absolute;
  width: 54%;
  height: 240px;
  left: -11%;
  bottom: 18px;
  transform: rotate(-7deg);
  box-shadow: 12px 12px 0 var(--coral);
}
.spec-panel {
  position: absolute;
  right: -2px;
  bottom: 86px;
  display: grid;
  gap: 8px;
  padding: 14px;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  font-weight: 920;
  text-transform: uppercase;
  font-size: .82rem;
}
.hero-ribbon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 28px;
  white-space: nowrap;
  padding: 18px 0;
  color: white;
  background: var(--violet);
  overflow: hidden;
}
.hero-ribbon span {
  font-weight: 900;
  text-transform: uppercase;
  animation: marquee 6.5s linear infinite;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--coral);
  font-size: .82rem;
  font-weight: 950;
  text-transform: uppercase;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr .75fr;
  gap: clamp(28px, 7vw, 100px);
  align-items: start;
}
.intro-text { display: grid; gap: 22px; padding-top: 10px; }

.services { background: var(--ink); color: white; }
.services p, .services .section-kicker { color: rgba(255,255,255,.72); }
.section-head { max-width: 900px; margin-bottom: 46px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.18);
  border-left: 1px solid rgba(255,255,255,.18);
}
.service-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(24px, 3vw, 38px);
  border-right: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,0));
  transition: transform .3s var(--ease), background .3s var(--ease);
  overflow: hidden;
}
.service-card::after {
  content: attr(data-big);
  position: absolute;
  right: 24px;
  bottom: 12px;
  color: rgba(255,255,255,.04);
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: clamp(7rem, 11vw, 12rem);
  line-height: .8;
  font-weight: 700;
  pointer-events: none;
}
.service-card:hover { transform: translateY(-10px); background: rgba(255,255,255,.1); }
.service-index {
  color: var(--lime);
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: clamp(2.7rem, 5.2vw, 5.8rem);
  line-height: .8;
  font-weight: 700;
}
.service-card:nth-child(2) .service-index { color: var(--cyan); }
.service-card:nth-child(3) .service-index { color: var(--coral); }
.service-card:nth-child(4) .service-index { color: var(--violet); }

.showcase {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(500px, 1fr);
  gap: clamp(46px, 6vw, 92px);
  align-items: start;
  background: #f0f0ed;
}
.showcase-copy, .project-board { min-width: 0; }
.showcase-copy { position: relative; z-index: 2; }
.showcase-copy p { margin-top: 22px; }
.stats {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}
.stats strong { font-size: clamp(3rem, 7vw, 6.5rem); line-height: .8; font-weight: 950; color: var(--green); }
.stats span { max-width: 210px; font-weight: 850; }
.stat-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  max-width: 760px;
}
.stat-stack div {
  padding: clamp(18px, 2vw, 24px);
  border-radius: 24px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: 0 20px 45px rgba(17,17,24,.1), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(16px) saturate(1.25);
}
.stat-stack strong {
  display: block;
  color: var(--coral);
  font-size: clamp(2.9rem, 4.25vw, 4.7rem);
  line-height: .82;
  font-weight: 950;
  white-space: nowrap;
}
.stat-stack span { display: block; margin-top: 12px; font-size: clamp(1rem, 1.15vw, 1.24rem); font-weight: 900; }
.project-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  position: relative;
  z-index: 1;
}
.print-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-board article {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(17,17,24,.14);
}
.project-board article:first-child { grid-row: span 2; min-height: 540px; }
.print-board article {
  min-height: 270px;
  display: flex;
  align-items: flex-end;
  padding: 0;
  isolation: isolate;
  background: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .35s var(--ease);
}
.print-board article:hover { transform: translateY(-10px) rotate(-1deg); box-shadow: 0 34px 80px rgba(17,17,24,.2); }
.print-board article::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(18,185,232,.4), rgba(237,30,143,.2));
  mix-blend-mode: multiply;
}
.print-board article::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.45);
  background: linear-gradient(135deg, rgba(255,255,255,.28), rgba(255,255,255,0));
}
.print-board article:nth-child(2)::before { background: linear-gradient(135deg, rgba(237,30,143,.42), rgba(247,44,50,.2)); }
.print-board article:nth-child(3)::before { background: linear-gradient(135deg, rgba(255,230,0,.42), rgba(18,185,232,.18)); }
.print-board article:nth-child(4)::before { background: linear-gradient(135deg, rgba(247,44,50,.45), rgba(237,30,143,.18)); }
.print-board article:first-child { grid-row: auto; min-height: 250px; }
.showcase-link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: inherit;
  overflow: hidden;
  outline-offset: -8px;
}
.print-board img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform .6s var(--ease), opacity .42s var(--ease), filter .42s var(--ease);
}
.print-board article:hover img { transform: scale(1.11); }
.print-board article.is-changing img {
  animation: showcaseSwap .82s var(--flip-ease) both;
}
.print-board article.is-changing span {
  animation: labelLift .82s var(--flip-ease) both;
}
.project-board span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 12px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 950;
}
.print-board span {
  position: static;
  display: inline-flex;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 12px 35px rgba(17,17,24,.16);
  backdrop-filter: blur(16px) saturate(1.35);
  color: var(--ink);
  font-size: clamp(1rem, 2vw, 1.55rem);
  line-height: 1;
}

.work-gallery {
  background:
    radial-gradient(circle at 8% 16%, rgba(18,185,232,.13), transparent 26%),
    radial-gradient(circle at 92% 0%, rgba(237,30,143,.14), transparent 28%),
    #fff;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 18px;
  perspective: 1200px;
}
.gallery-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  background: var(--ink);
  box-shadow: 0 24px 70px rgba(17,17,24,.13);
  isolation: isolate;
  animation: galleryRise 7s var(--ease) infinite alternate;
}
.gallery-card:nth-child(2n) { animation-delay: -1.4s; }
.gallery-card:nth-child(3n) { animation-delay: -2.8s; }
.gallery-card.tall { grid-row: span 2; }
.gallery-card.wide { grid-column: span 2; }
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform .7s var(--ease), filter .7s var(--ease);
}
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.28), transparent 24%),
    linear-gradient(180deg, transparent 54%, rgba(17,17,24,.42));
  pointer-events: none;
}
.gallery-card:hover img {
  transform: scale(1.12);
  filter: saturate(1.12) contrast(1.05);
}
.process { background: #fff; }
.process-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(17,17,24,.18);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(17,17,24,.08);
}
.process-line article {
  min-height: 300px;
  padding: clamp(24px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.process-line article:nth-child(3n),
.process-line article:last-child { border-right: 0; }
.process-line article:nth-last-child(-n+3) { border-bottom: 0; }
.process-line span { font-weight: 950; color: var(--violet); }

.clientele {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(18,185,232,.16), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(237,30,143,.16), transparent 30%),
    #fff;
}
.client-orbit {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  min-height: 420px;
}
.client-orbit.is-swapping span {
  opacity: 0;
  transform: translateY(18px) scale(.96) rotate(var(--tilt, 0deg));
}
.client-orbit span {
  display: grid;
  place-items: center;
  min-height: 94px;
  padding: 18px;
  text-align: center;
  color: var(--ink);
  border-radius: 24px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: 0 20px 50px rgba(17,17,24,.08), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(18px) saturate(1.25);
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-weight: 700;
  transform: translateY(0) rotate(var(--tilt, 0deg));
  animation: clientFloat 5s var(--ease) infinite alternate;
  transition: opacity .55s var(--ease), transform .55s var(--ease), border-color .55s var(--ease);
}
.client-orbit span:nth-child(3n+1) { --tilt: -2deg; border-bottom: 5px solid var(--cyan); animation-delay: -.4s; }
.client-orbit span:nth-child(3n+2) { --tilt: 1.5deg; border-bottom: 5px solid var(--violet); animation-delay: -.9s; }
.client-orbit span:nth-child(3n+3) { --tilt: -.8deg; border-bottom: 5px solid var(--lime); animation-delay: -1.3s; }

.testimonial {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: clamp(24px, 4vw, 44px);
  background: var(--ink);
  color: white;
  overflow: hidden;
}
.testimonial-deck {
  position: relative;
  min-height: clamp(420px, 45vw, 620px);
  perspective: 1400px;
  transform-style: preserve-3d;
}
.testimonial-deck::before,
.testimonial-deck::after {
  content: "";
  position: absolute;
  border-radius: 28px;
  pointer-events: none;
}
.testimonial-deck::before {
  inset: 14% auto auto 10%;
  width: 72px;
  height: 72px;
  border: 14px solid rgba(18,185,232,.45);
  animation: orbitSquare 8s linear infinite;
}
.testimonial-deck::after {
  right: 2%;
  bottom: 8%;
  width: 110px;
  height: 110px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.15) 0 10px, transparent 10px 20px);
  transform: rotate(10deg);
}
.quote-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: clamp(34px, 5vw, 78px);
  border-radius: 34px;
  backface-visibility: hidden;
  transform-origin: 82% 50%;
  will-change: transform, opacity;
  transition: background .55s var(--flip-ease), box-shadow .55s var(--flip-ease), color .55s var(--flip-ease);
}
.quote-card-front {
  z-index: 2;
  color: white;
  background:
    radial-gradient(circle at 16% 12%, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(135deg, #ed2a97, var(--violet));
  box-shadow: 26px 26px 0 var(--lime), 0 32px 90px rgba(0,0,0,.28);
}
.testimonial-deck.is-yellow-front .quote-card-front {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255,255,255,.3), transparent 42%),
    var(--lime);
  box-shadow: 26px 26px 0 var(--violet), 0 32px 90px rgba(0,0,0,.28);
}
.quote-card-back {
  z-index: 1;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255,255,255,.26), transparent 38%),
    var(--lime);
  box-shadow: 0 28px 80px rgba(0,0,0,.22);
  transform: translate(28px, 28px) rotate(2deg) scale(.98);
}
.testimonial-deck.is-yellow-front .quote-card-back {
  color: white;
  background:
    radial-gradient(circle at 16% 12%, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(135deg, #ed2a97, var(--violet));
}
.testimonial-deck.is-rotating .quote-card-front {
  animation: cardFlipOut 1.28s var(--flip-ease) both;
}
.testimonial-deck.is-rotating .quote-card-back {
  animation: cardFlipIn 1.28s var(--flip-ease) both;
}
.quote-card p {
  color: white;
  font-size: clamp(1.6rem, 3.2vw, 3.4rem);
  line-height: 1.05;
  font-weight: 900;
}
.testimonial-deck.is-yellow-front .quote-card-front p { color: var(--ink); }
.quote-card-back p { color: var(--ink); }
.testimonial-deck.is-yellow-front .quote-card-back p { color: white; }
.quote-card span {
  display: block;
  margin-top: 28px;
  font-weight: 900;
  color: rgba(255,255,255,.9);
}
.testimonial-deck.is-yellow-front .quote-card-front span { color: rgba(17,17,24,.7); }
.quote-card-back span { color: rgba(17,17,24,.7); }
.testimonial-deck.is-yellow-front .quote-card-back span { color: rgba(255,255,255,.9); }
.review-rail {
  position: relative;
  max-height: clamp(470px, 48vw, 640px);
  overflow: hidden;
  padding: 2px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
}
.review-track {
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: reviewScroll 115s linear infinite;
}
.review-rail:hover .review-track { animation-play-state: paused; }
.review-track article {
  padding: clamp(22px, 3vw, 34px);
  color: var(--ink);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
  border: 1px solid rgba(255,255,255,.62);
  box-shadow: 0 22px 52px rgba(0,0,0,.16);
  backdrop-filter: blur(18px) saturate(1.2);
}
.review-track article:nth-child(3n+1) { border-bottom: 5px solid var(--cyan); }
.review-track article:nth-child(3n+2) { border-bottom: 5px solid var(--violet); }
.review-track article:nth-child(3n+3) { border-bottom: 5px solid var(--lime); }
.review-track p {
  color: var(--ink);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  line-height: 1.45;
  font-weight: 800;
}
.review-track strong {
  display: block;
  margin-top: 20px;
  color: var(--coral);
  font-weight: 900;
}
.review-track span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}
.texture-panel {
  min-height: 420px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.texture-panel span {
  background:
    linear-gradient(135deg, transparent 40%, rgba(255,255,255,.24) 41% 48%, transparent 49%),
    var(--cyan);
  animation: patternShift 4s var(--ease) infinite alternate;
}
.texture-panel span:nth-child(2) { background-color: var(--coral); animation-delay: .4s; }
.texture-panel span:nth-child(3) { background-color: var(--lime); animation-delay: .8s; }
.texture-panel span:nth-child(4) { background-color: white; animation-delay: 1.2s; }

.video-proof {
  background: #f0f0ed;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.video-card {
  position: relative;
  min-height: clamp(260px, 30vw, 430px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  overflow: hidden;
  padding: clamp(24px, 3vw, 38px);
  color: white;
  background:
    linear-gradient(180deg, rgba(17,17,24,.08), rgba(17,17,24,.82)),
    var(--thumb) center / cover,
    var(--ink);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(17,17,24,.18);
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .35s var(--ease);
}
.video-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 22px;
  pointer-events: none;
}
.video-card:hover {
  transform: translateY(-8px) rotate(-.6deg);
  box-shadow: 0 34px 84px rgba(17,17,24,.24);
  filter: saturate(1.08);
}
.video-card strong {
  position: relative;
  z-index: 1;
  max-width: 580px;
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: clamp(1.55rem, 2.7vw, 3rem);
  line-height: 1;
}
.video-card small {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,.78);
  font-weight: 850;
}
.play-mark {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 46px rgba(0,0,0,.18);
  backdrop-filter: blur(16px) saturate(1.25);
}
.play-mark::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 22px;
  border-left: 22px solid var(--coral);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}
.video-grid iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--ink);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(17,17,24,.18);
}

.portfolio-page {
  min-height: 100vh;
}
.portfolio-hero {
  min-height: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: start;
  background:
    radial-gradient(circle at 82% 12%, rgba(237,30,143,.16), transparent 30%),
    radial-gradient(circle at 14% 18%, rgba(18,185,232,.16), transparent 28%),
    #fff;
}
.portfolio-hero h1 { max-width: 1020px; font-size: clamp(3rem, 6vw, 6.2rem); }
.portfolio-hero p { max-width: 760px; margin-top: 22px; }
.portfolio-section { background: #fff; }
.portfolio-section:nth-child(3) { background: #f0f0ed; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.portfolio-grid figure {
  margin: 0;
  min-height: 420px;
  overflow: hidden;
  border-radius: 30px;
  background: var(--ink);
  box-shadow: 0 24px 70px rgba(17,17,24,.13);
  animation: galleryRise 7s var(--ease) infinite alternate;
}
.portfolio-grid figure:nth-child(2n) { animation-delay: -1.2s; }
.portfolio-grid figure:nth-child(3n) { animation-delay: -2.2s; }
.portfolio-grid.banner-gallery figure {
  min-height: 330px;
  grid-column: span 1;
}
.portfolio-grid.banner-gallery figure:nth-child(3n+1) { grid-column: span 2; }
.portfolio-grid img {
  transition: transform .75s var(--ease), filter .75s var(--ease);
}
.portfolio-grid figure:hover img {
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.04);
}

.brand-family {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 16%, rgba(237,30,143,.14), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(18,185,232,.16), transparent 28%),
    #fff;
}
.brand-family::before {
  content: "";
  position: absolute;
  inset: 34px max(18px, 4vw);
  border: 1px solid rgba(17,17,24,.08);
  border-radius: 36px;
  pointer-events: none;
}
.family-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr repeat(2, minmax(0, .95fr));
  gap: 20px;
}
.family-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 18px;
  padding: clamp(24px, 3.5vw, 44px);
  border-radius: 32px;
  color: var(--ink);
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 24px 70px rgba(17,17,24,.12), inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter: blur(20px) saturate(1.25);
  transform: rotate(var(--family-tilt, 0deg));
  animation: familyFloat 6s var(--ease) infinite alternate;
}
.family-card:nth-child(2) { --family-tilt: -1.2deg; animation-delay: -.7s; border-bottom: 6px solid var(--cyan); }
.family-card:nth-child(3) { --family-tilt: 1.1deg; animation-delay: -1.3s; border-bottom: 6px solid var(--violet); }
.family-card.parent {
  color: white;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.18), transparent 26%),
    linear-gradient(135deg, var(--ink), #2b2b34);
  border-color: rgba(255,255,255,.18);
  box-shadow: 16px 16px 0 var(--lime), 0 28px 80px rgba(17,17,24,.18);
}
.family-card span {
  color: var(--violet);
  font-weight: 950;
  text-transform: uppercase;
  font-size: .78rem;
}
.family-card.parent span { color: var(--lime); }
.family-card h3 {
  font-size: clamp(2rem, 3.5vw, 4.2rem);
}
.family-card p {
  max-width: 520px;
  color: rgba(17,17,24,.68);
  font-weight: 650;
}
.family-card.parent p { color: rgba(255,255,255,.7); }
.family-card a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--coral), var(--violet));
  border: 1px solid rgba(255,255,255,.45);
  font-weight: 900;
  box-shadow: 0 14px 36px rgba(237,30,143,.24);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.family-card a:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(237,30,143,.32);
}

.contact { background: var(--paper); }
.contact-card {
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 42px;
  align-items: end;
  padding: clamp(30px, 6vw, 76px);
  color: white;
  background: var(--ink);
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(17,17,24,.2), inset 0 1px 0 rgba(255,255,255,.16);
}
.contact .contact-card { margin-top: 24px; }
.contact-card p { color: rgba(255,255,255,.72); margin-top: 20px; max-width: 720px; }
.contact-list { display: grid; gap: 12px; }
.contact-list a, .contact-list span {
  padding: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  font-weight: 850;
  overflow-wrap: anywhere;
}
.contact-list a:hover { background: var(--lime); color: var(--ink); }
.enquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 34px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 24px 70px rgba(17,17,24,.12), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(22px) saturate(1.25);
}
.form-intro {
  grid-column: 1 / -1;
  max-width: 820px;
  margin-bottom: 8px;
}
.form-intro h2 {
  font-size: clamp(2rem, 4.2vw, 4.8rem);
}
.form-intro p {
  margin-top: 14px;
  max-width: 720px;
}
.enquiry-form label {
  display: grid;
  gap: 8px;
}
.enquiry-form label.full { grid-column: 1 / -1; }
.enquiry-form span {
  font-weight: 900;
  font-size: .86rem;
  color: var(--ink);
}
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(17,17,24,.14);
  border-radius: 18px;
  padding: 15px 16px;
  color: var(--ink);
  background: rgba(255,255,255,.82);
  font: inherit;
  font-weight: 700;
  outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.enquiry-form textarea { resize: vertical; min-height: 130px; }
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--violet);
  background: white;
  box-shadow: 0 0 0 4px rgba(237,30,143,.12);
}
.enquiry-form button {
  justify-self: start;
  border-radius: 999px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 20px 0 18px;
  color: white;
  background: #19c463;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(25,196,99,.32);
  font-weight: 950;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.whatsapp-float::before {
  content: "";
  width: 24px;
  height: 24px;
  background: currentColor;
  mask: radial-gradient(circle at 50% 50%, #000 58%, transparent 60%), linear-gradient(#000 0 0);
  -webkit-mask:
    radial-gradient(circle at 50% 50%, #000 58%, transparent 60%),
    linear-gradient(#000 0 0);
  mask-composite: intersect;
}
.whatsapp-float:hover { transform: translateY(-4px); box-shadow: 0 24px 56px rgba(25,196,99,.42); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px max(24px, 5vw);
  color: white;
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.12);
  font-weight: 850;
}

[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@keyframes popLetter { to { transform: translateY(-12px) rotate(-4deg); } }
@keyframes loadingSlide { from { transform: translateX(-110%); } to { transform: translateX(260%); } }
@keyframes trackMove { to { background-position-x: 240px; } }
@keyframes drift { to { transform: translate3d(18px, -22px, 0) rotate(7deg); } }
@keyframes marquee { to { transform: translateX(-220px); } }
@keyframes patternShift { to { transform: translateY(-12px); filter: saturate(1.25); } }
@keyframes logoFloat { to { transform: translate3d(0, -14px, 0) rotate(-1deg); } }
@keyframes metricPop {
  0%, 72%, 100% { transform: translateY(0) scale(1); text-shadow: none; }
  12% { transform: translateY(-3px) scale(1.08); text-shadow: 0 10px 24px rgba(247,44,50,.22); }
  22% { transform: translateY(0) scale(1); text-shadow: none; }
}
@keyframes showcaseSwap {
  0% { opacity: 1; transform: scale(1.04) rotate(0deg); filter: blur(0) saturate(1); }
  42% { opacity: .18; transform: scale(1.16) rotate(-1.4deg); filter: blur(8px) saturate(1.3); }
  58% { opacity: .28; transform: scale(1.12) rotate(1.2deg); filter: blur(6px) saturate(1.2); }
  100% { opacity: 1; transform: scale(1.04) rotate(0deg); filter: blur(0) saturate(1); }
}
@keyframes labelLift {
  0%, 100% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-10px) scale(.96); }
}
@keyframes clientFloat { to { transform: translateY(-18px) rotate(calc(var(--tilt, 0deg) * -1)); } }
@keyframes familyFloat { to { transform: translateY(-14px) rotate(calc(var(--family-tilt, 0deg) * -1)); } }
@keyframes galleryRise {
  to { transform: translate3d(0, -12px, 0) rotateX(1.5deg); }
}
@keyframes orbitSquare {
  to { transform: rotate(1turn); }
}
@keyframes cardFlipOut {
  0% { transform: translate3d(0, 0, 0) rotateY(0) rotate(0deg) scale(1); opacity: 1; filter: brightness(1); }
  38% { transform: translate3d(34px, -16px, 0) rotateY(-22deg) rotate(2deg) scale(.995); opacity: .98; filter: brightness(1.03); }
  72% { transform: translate3d(82px, 8px, -52px) rotateY(-68deg) rotate(6deg) scale(.94); opacity: .55; filter: brightness(.92); }
  100% { transform: translate3d(120px, 24px, -110px) rotateY(-96deg) rotate(8deg) scale(.88); opacity: 0; filter: brightness(.86); }
}
@keyframes cardFlipIn {
  0% { transform: translate3d(28px, 28px, -36px) rotateY(12deg) rotate(2deg) scale(.965); filter: brightness(.96); }
  45% { transform: translate3d(14px, 18px, -12px) rotateY(5deg) rotate(.8deg) scale(.99); filter: brightness(1); }
  78% { transform: translate3d(-4px, -3px, 0) rotateY(-2deg) rotate(-.5deg) scale(1.012); filter: brightness(1.03); }
  100% { transform: translate3d(0, 0, 0) rotateY(0) rotate(0deg) scale(1); filter: brightness(1); }
}
@keyframes reviewScroll {
  to { transform: translateY(calc(-50% - 9px)); }
}

@media (max-width: 960px) {
  .site-header { top: 10px; }
  .menu-toggle {
    display: grid;
    gap: 6px;
    width: 46px;
    height: 46px;
    place-content: center;
    border: 1px solid var(--line);
    background: white;
  }
  .menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    display: grid;
    padding: 10px;
    border-radius: 24px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(255,255,255,.72);
    backdrop-filter: blur(22px) saturate(1.35);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .25s var(--ease);
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .hero, .intro-grid, .showcase, .testimonial, .contact-card { grid-template-columns: 1fr; }
  .project-board { z-index: 2; }
  .hero { padding-top: 170px; }
  .image-stack { min-height: 500px; }
  .card-main { height: 420px; }
  .service-grid, .process-line { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-orbit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .family-grid { grid-template-columns: 1fr; }
  .family-card { min-height: 280px; }
  .testimonial-deck { min-height: 470px; }
  .review-rail { max-height: 480px; }
  .video-grid { grid-template-columns: 1fr; }
  .portfolio-hero { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-grid.banner-gallery figure:nth-child(3n+1) { grid-column: span 1; }
  .process-line article { border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
  .process-line article:nth-child(2n) { border-right: 0; }
  .process-line article:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 640px) {
  .brand small { display: none; }
  .brand-logo { width: 148px; height: 98px; }
  .cursor-ink { display: none; }
  .section-band { padding-inline: 18px; }
  .section-pad { padding: 78px 18px; }
  h1 {
    font-size: clamp(2.75rem, 11.5vw, 3.35rem);
    line-height: .92;
    overflow-wrap: normal;
  }
  .hero-copy { max-width: 100%; }
  .hero-copy p { font-size: 1.05rem; }
  .hero-copy p { margin-top: 20px; }
  .hero-actions { width: 100%; }
  .btn { flex: 1 1 100%; }
  .tile-b, .tile-c { display: none; }
  .print-showpiece { min-height: 470px; margin-top: 20px; }
  .hero-logo { width: min(350px, 92vw); box-shadow: 10px 10px 0 var(--ink); }
  .print-sheet { width: 178px; min-height: 138px; padding: 16px; }
  .sheet-a { left: 0; top: 0; }
  .sheet-b { right: 0; bottom: 42px; }
  .print-meter { left: 18px; bottom: 0; }
  .print-meter b { font-size: .66rem; padding: 8px; }
  .image-stack { min-height: 390px; }
  .card-main { height: 330px; box-shadow: 10px 10px 0 var(--ink); }
  .card-float { width: 62%; height: 150px; left: 4px; bottom: 2px; }
  .spec-panel { right: 8px; bottom: 48px; font-size: .72rem; }
  .service-grid, .process-line, .project-board { grid-template-columns: 1fr; }
  .stat-stack { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-card.tall, .gallery-card.wide { grid-column: auto; grid-row: auto; }
  .client-orbit { grid-template-columns: 1fr; min-height: auto; }
  .client-orbit span { min-height: 78px; }
  .service-card { min-height: 260px; }
  .project-board article:first-child { min-height: 310px; grid-row: auto; }
  .project-board article { min-height: 230px; }
  .process-line article { border-right: 0; border-bottom: 2px solid var(--ink); min-height: auto; }
  .process-line article:nth-child(2n) { border-right: 0; }
  .process-line article:nth-last-child(-n+2) { border-bottom: 2px solid var(--ink); }
  .process-line article:last-child { border-bottom: 0; }
  .testimonial-deck { min-height: 420px; }
  .quote-card { border-radius: 28px; padding: 28px; }
  .quote-card-front { box-shadow: 12px 12px 0 var(--lime), 0 22px 60px rgba(0,0,0,.24); }
  .quote-card-back { transform: translate(12px, 12px) rotate(1deg) scale(.98); }
  .review-rail { max-height: 420px; }
  .review-track { animation-duration: 90s; }
  .texture-panel { min-height: 260px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-grid figure,
  .portfolio-grid.banner-gallery figure { min-height: 300px; }
  .contact-card { box-shadow: 9px 9px 0 var(--cyan); }
  .enquiry-form { grid-template-columns: 1fr; border-radius: 26px; }
  .whatsapp-float { right: 16px; bottom: 16px; min-height: 52px; padding: 0 16px; }
  .whatsapp-float span { display: none; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
