:root {
  --bg-dark: #070707;
  --bg-dark-soft: #111214;
  --text-dark-1: #ffffff;
  --text-dark-2: rgba(255,255,255,.6);
  --bg-light: #ffffff;
  --text-light-1: #0a0a0a;
  --text-light-2: #6b6f76;
  --mint: #3fe0a5;
  --mint-2: #34d399;
  --navy: #0b1220;
  --violet: #9967ff;
  --border-soft: rgba(0,0,0,.09);
  --card-shadow: 0 0 0 1px rgba(0,0,0,.08), 3px 6px 18px rgba(0,0,0,.05);
  --radius-lg: 20px;
  --radius-md: 14px;
  --container-w: 1160px;
  --font-display: 'Instrument Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-hand: 'Caveat', cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg-dark);
  color: var(--text-light-1);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
/* The scrolled nav's solid background/backdrop-blur stops dead at a
   straight rectangular edge. Sitting on top of the aurora divider,
   that edge reads as a hard cut line straight across the colored
   wash. A soft fading "skirt" just below the nav — same color, fading
   to nothing — removes that edge regardless of what's behind it. */
.nav::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  height: 16px;
  background: linear-gradient(180deg, rgba(10,10,11,.3), transparent);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.nav.is-scrolled::after { opacity: 1; }
.nav-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
}
.nav.is-scrolled {
  background: rgba(10,10,11,.86);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.nav-left { display: flex; align-items: center; gap: 18px; }
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo svg { width: 26px; height: auto; }
.nav-links { display: flex; gap: 16px; font-size: 15px; }
.nav-link { color: rgba(255,255,255,.55); transition: color .2s ease; }
.nav-link.active, .nav-link:hover { color: #fff; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-say-hi { font-size: 15px; color: rgba(255,255,255,.85); cursor: pointer; }
.nav-socials { display: flex; gap: 12px; color: rgba(255,255,255,.65); }
.nav-socials a:hover { color: #fff; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 26px;
  height: 22px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease, width .25s ease;
}
.nav-burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-active span:nth-child(2) { opacity: 0; }
.nav-burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 100%; }

.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 28px 20px 32px;
  background: rgba(10,10,11,.98);
  backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 30px rgba(0,0,0,.3);
}
.mobile-menu .nav-link { font-size: 17px; color: rgba(255,255,255,.75); }
.mobile-menu .nav-link.active, .mobile-menu .nav-link:hover { color: #fff; }
.mobile-menu-socials { display: flex; gap: 20px; color: rgba(255,255,255,.65); margin-top: 4px; }
.mobile-menu-socials a:hover { color: #fff; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
}
.lang-btn {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,.5);
  transition: background .2s ease, color .2s ease;
}
.lang-btn:hover { color: rgba(255,255,255,.85); }
.lang-btn.is-active { background: #fff; color: #0a0a0a; }

/* ---------- REVEAL ANIM ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- HERO ---------- */
.hero {
  background: var(--bg-dark);
  padding: 110px 0 80px;
  position: relative;
}
.hero .container > .reveal:first-child { text-align: center; }
.availability {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 17px;
  color: var(--text-dark-2);
  margin: 0 auto 24px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(63,224,165,.15);
}
.hero-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 85%;
  font-size: clamp(48px, 9vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--text-dark-1);
  margin: 0 0 24px;
}
.hero-sub {
  max-width: 800px;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.4;
  color: var(--text-dark-2);
  margin: 0 auto 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  perspective: 1400px;
  margin-top: 40px;
}
.fan-card {
  display: block;
  width: 300px;
  height: 370px;
  background: linear-gradient(180deg, #16171a, #0c0d0f);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
  opacity: 0;
  transform: translateY(90px) rotate(0deg) scale(.92);
  transition: box-shadow .18s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.fan-card.is-entering {
  transition: transform .7s cubic-bezier(.16,1,.3,1), opacity .5s ease, box-shadow .18s ease;
}
.fan-card.is-live {
  transition: transform .12s ease-out, opacity .12s linear, box-shadow .18s ease;
}
.fan-1 { z-index: 1; transition-delay: 0ms; }
.fan-2 { z-index: 2; margin-left: -60px; transition-delay: 120ms; }
.fan-3 { z-index: 1; margin-left: -60px; transition-delay: 240ms; }
.fan-card:hover { box-shadow: 0 24px 44px rgba(0,0,0,.5); }

.photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.5), transparent 40%),
    linear-gradient(135deg, #cfe8dd, #9fb7c9);
  position: relative;
}
.photo-placeholder::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,.6), transparent 45%);
}
.photo-placeholder--how-work {
  background-image: url('images/HOW%20WORK.png');
  background-size: cover;
  background-position: center;
}
.photo-placeholder--how-work::after {
  display: none;
}
.photo-placeholder--portfolio {
  background-image: url('images/portfolio.png');
  background-size: cover;
  background-position: center;
}
.photo-placeholder--portfolio::after {
  display: none;
}
.photo-placeholder--mystory {
  background-image: url('images/mystory.png');
  background-size: cover;
  background-position: center;
}
.photo-placeholder--mystory::after {
  display: none;
}
.polaroid-caption {
  display: block;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 16px;
  color: #333;
  margin-top: 6px;
}


/* ---------- SECTIONS ---------- */
.section { padding: 40px 0 120px; scroll-margin-top: 80px; }
#work { padding-top: 172px; }
.section--light { background: var(--bg-light); color: var(--text-light-1); }
.section--dark { background: var(--bg-dark); color: var(--text-dark-1); padding-top: 100px; }
.section--tight-bottom { padding-bottom: 20px; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 85%;
  font-size: clamp(38px, 6.6vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
}
.section-title--light { color: var(--text-dark-1); }
.section-title.center { text-align: center; margin-bottom: 56px; }
.section-lede {
  max-width: 640px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-light-2);
  margin: 0 0 56px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-soft);
}
.stat {
  padding: 28px 28px 28px 0;
  border-left: 1px solid var(--border-soft);
  padding-left: 28px;
}
.stat:first-child { padding-left: 0; border-left: none; }
.stat-icon {
  width: 51px; height: 51px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  font-size: 15px;
  margin-bottom: 16px;
}
.stat-title { font-weight: 600; font-size: 20px; letter-spacing: -0.01em; margin-bottom: 8px; }
.stat-desc { color: var(--text-light-2); font-size: 15px; line-height: 1.5; margin: 0; }

/* ---------- CAPABILITIES ---------- */
.capabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.accordion { display: flex; flex-direction: column; }
.accordion-item {
  text-align: left;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.accordion-item:first-child { border-top: 1px solid var(--border-soft); }
.accordion-title { font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.accordion-body {
  color: var(--text-light-2);
  font-size: 15px;
  line-height: 1.55;
  height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  /* height/margin are NOT animated (snap instantly) — with two items
     both easing their height at once, swiping quickly across several
     items retargets those transitions mid-flight and their heights
     can briefly stop summing to a constant, nudging the layout below.
     Snapping height removes that window entirely; opacity still fades
     for a soft feel without ever touching layout. */
  transition: opacity .25s ease;
}
.accordion-item.is-open .accordion-body {
  /* Fixed height, the same for every item: exactly one item is ever
     open, so the accordion's total height never changes when
     switching between them — nothing below it ever gets pushed. */
  height: 95px;
  opacity: 1;
  margin-top: 10px;
}

.dial-wrap { display: flex; justify-content: center; }
.dial {
  position: relative;
  width: 300px; height: 300px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #f4f4f4, #d8d8d8 40%, #9a9a9a 70%, #6b6b6b 100%);
  box-shadow:
    inset 0 0 0 10px #2a2a2a,
    inset 0 8px 20px rgba(255,255,255,.5),
    inset 0 -12px 24px rgba(0,0,0,.35),
    0 20px 40px rgba(0,0,0,.15);
}
.dial-ticks {
  position: absolute; inset: -18px;
  border-radius: 50%;
  background: repeating-conic-gradient(rgba(0,0,0,.18) 0deg 1deg, transparent 1deg 6deg);
  mask: radial-gradient(circle, transparent 62%, #000 63%, #000 70%, transparent 71%);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%, #000 70%, transparent 71%);
}
.dial-knob {
  position: absolute; inset: 26px;
  border-radius: 50%;
  background: conic-gradient(from 90deg, #eaeaea, #8d8d8d 20%, #f5f5f5 40%, #7a7a7a 60%, #eaeaea 80%, #8d8d8d 100%);
  box-shadow: inset 0 2px 6px rgba(255,255,255,.6), inset 0 -4px 10px rgba(0,0,0,.35);
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.dial-knob::after {
  content: '';
  position: absolute;
  bottom: 14px; left: 50%;
  width: 6px; height: 6px;
  background: var(--mint);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(63,224,165,.9);
}
.dial-mark { position: absolute; font-size: 13px; color: #9a9a9a; font-weight: 600; }
.dial-mark--tl { top: 18px; left: 18px; }
.dial-mark--tr { top: 18px; right: 18px; }
.dial-mark--bl { bottom: 18px; left: 18px; }
.dial-mark--br { bottom: 18px; right: 18px; }

/* ---------- PORTFOLIO ---------- */
.portfolio-category { margin-bottom: 28px; }
.portfolio-category:last-child { margin-bottom: 0; }
.portfolio-cat-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-card {
  display: block;
  background: #fafafa;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow .3s ease, transform .3s ease;
}
.portfolio-card:hover { box-shadow: 0 16px 32px rgba(0,0,0,.1); transform: translateY(-4px); }
.portfolio-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--border-soft);
}
.case-study-tag {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  color: var(--text-light-2);
  white-space: nowrap;
}
.portfolio-thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(155deg, var(--g1, #cfe8dd), var(--g2, #9fb7c9));
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
}
.portfolio-card:hover .portfolio-thumb { transform: scale(1.05); }
.portfolio-thumb--1 { --g1: #cfe8dd; --g2: #9fb7c9; }
.portfolio-thumb--2 { --g1: #d6e8c9; --g2: #8eb98e; }
.portfolio-thumb--3 { --g1: #c9d6f5; --g2: #8ea0d8; }
.portfolio-thumb--4 { --g1: #f6d9b0; --g2: #e69a6b; }
.portfolio-thumb--5 { --g1: #f0c9d6; --g2: #c98ea8; }
.portfolio-thumb--6 { --g1: #e0d6f5; --g2: #a98ed8; }
.portfolio-thumb--7 { --g1: #f5e3c9; --g2: #d8b98e; }
.portfolio-thumb--8 { --g1: #c9f0e8; --g2: #8ed8c9; }
.portfolio-thumb--9 { --g1: #f5c9c9; --g2: #d88e8e; }
.portfolio-thumb--13 { --g1: #d6d0e8; --g2: #8e79c9; }
.portfolio-thumb--14 { --g1: #d0e0e8; --g2: #6ba0c9; }
.portfolio-thumb--15 { --g1: #e0e8d0; --g2: #9ac97a; }
.portfolio-thumb--16 { --g1: #e8d0d0; --g2: #c97a7a; }
.portfolio-thumb--17 { --g1: #d0d8e8; --g2: #7a94c9; }
.portfolio-thumb--social {
  background-image: url('images/socialmedia.jpg');
  background-size: cover;
  background-position: center;
}

/* ---------- TESTIMONIAL DECK ---------- */
.deck {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  height: 360px;
}
.deck-card {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 28px;
  cursor: pointer;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .5s ease;
}
.deck-quote {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: clamp(21px, 2.3vw, 24px);
  line-height: 1.35;
  color: #111;
  margin: 0;
}
.deck-person { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; margin-top: 0; text-align: center; }
.deck-person strong { display: block; font-family: var(--font-body); font-size: 18px; font-weight: 700; }
.deck-person span { display: block; font-family: var(--font-body); font-size: 15px; color: var(--text-light-2); }
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg,#cfe8dd,#9fb7c9);
  flex-shrink: 0;
}
.deck-hint { text-align: center; font-size: 14px; color: var(--text-light-2); margin-top: 24px; }

/* ---------- STORY ---------- */
.story-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 68px;
  align-items: center;
  padding: 56px 0;
}
.story-text { max-width: 760px; }
.story-text h3 { font-family: var(--font-display); font-stretch: 85%; font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin: 0 0 22px; letter-spacing: -0.02em; }
.story-text p { color: var(--text-dark-2); font-size: clamp(17px, 1.8vw, 20px); line-height: 1.7; margin: 0 0 18px; }
.story-text p:last-child { margin-bottom: 0; }
.story-emphasis {
  color: var(--text-dark-1) !important;
}
.story-divider { border: none; border-top: 1px solid rgba(255,255,255,.1); }
.story-collage {
  position: relative;
  min-height: 372px;
}
.story-photo-card {
  position: absolute;
  width: clamp(162px, 14.4vw, 204px);
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.28), transparent 42%),
    linear-gradient(145deg, var(--story-card-a, #d9dfd6), var(--story-card-b, #75808b));
  box-shadow: 0 24px 48px rgba(0,0,0,.46);
}
.story-photo-card--left {
  left: -8%;
  top: 70px;
  z-index: 1;
  transform: rotate(-12deg);
  opacity: .95;
}
.story-photo-card--center {
  left: 50%;
  top: 22px;
  z-index: 3;
  transform: translateX(-50%) rotate(2deg);
}
.story-photo-card--right {
  right: -8%;
  top: 84px;
  z-index: 2;
  transform: rotate(12deg);
  opacity: .97;
}
.story-collage--art { --story-card-a: #ead9ca; --story-card-b: #926f61; }
.story-collage--digital { --story-card-a: #cdddf4; --story-card-b: #40556f; }
.story-collage--experience { --story-card-a: #d8ead8; --story-card-b: #526e5f; }
.story-collage--product { --story-card-a: #e6d7ef; --story-card-b: #67507f; }
.story-collage--today { --story-card-a: #d6e7e8; --story-card-b: #3f6b73; }

/* ---------- GALLERY ---------- */
.gallery {
  columns: 3 220px;
  column-gap: 20px;
}
.gallery-item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background-color: #cfe8dd;
  background-size: cover;
  background-position: center;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
  /* Safari draws a stray hairline at column breaks when border-radius + overflow:hidden
     sit inside a multi-column layout; this mask hack forces it to repaint the clip correctly. */
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.gallery-item::after {
  content: '';
  display: block;
  padding-top: var(--ratio, 100%);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.gallery-item:hover { box-shadow: 0 20px 40px rgba(0,0,0,.18); }
.gallery-item:hover::after { transform: scale(1.08); }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(180deg, #bff2dc 0%, #34a884 22%, #114f66 55%, #0a1f3d 80%, #060a14 100%);
  padding: 90px 0 0;
  text-align: center;
  color: #fff;
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 85%;
  font-size: clamp(40px, 8vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 40px;
}
.cta-button {
  display: inline-block;
  padding: 18px 40px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 26px;
  animation: cta-float 3s ease-in-out infinite;
  transition: transform .25s ease, background .25s ease;
}
.cta-button:hover { animation-play-state: paused; transform: rotate(0deg) scale(1.04); background: rgba(255,255,255,.2); }
@keyframes cta-float {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-8px); }
}
/* ---------- FOOTER ---------- */
.footer { background: #0a0a0b; margin-top: 90px; }
.footer-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-left { display: flex; align-items: center; gap: 18px; }
.footer-links { display: flex; gap: 16px; font-size: 15px; }
.footer-link { color: rgba(255,255,255,.55); transition: color .2s ease; }
.footer-link:hover { color: #fff; }
.footer-right { display: flex; align-items: center; gap: 18px; }
.footer-say-hi { font-size: 15px; color: rgba(255,255,255,.85); cursor: pointer; }
.footer-say-hi:hover { color: #fff; }
.footer-socials { display: flex; gap: 12px; color: rgba(255,255,255,.65); }
.footer-socials a:hover { color: #fff; }

.footer-logos {
  overflow: hidden;
  padding: 32px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.footer-logos-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: footer-logos-scroll 22s linear infinite;
}
.footer-logos:hover .footer-logos-track { animation-play-state: paused; }
.footer-logo-item {
  height: 22px;
  width: auto;
  opacity: .5;
  flex-shrink: 0;
  transition: opacity .2s ease;
}
.footer-logo-item:hover { opacity: .9; }
.footer-logo-item[src$="brands/2.png"] { height: 17px; }
.footer-logo-item[src$="brands/1.png"] { height: 28px; }
.footer-logo-item[src$="brands/4.png"] { height: 35px; }
.footer-logo-item[src$="brands/5.png"] { height: 34px; }
.footer-logo-item[src$="brands/6.png"] { height: 28px; }
.footer-logo-item[src$="brands/7.png"] { height: 38px; }
.footer-logo-item[src$="brands/8.png"] { height: 30px; }
@keyframes footer-logos-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-logos-track { animation: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .capabilities { grid-template-columns: 1fr; }
  .story-block { grid-template-columns: 1fr; }
  .story-collage { min-height: 324px; margin-top: 20px;}
  .portfolio-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: none; padding-left: 0; border-top: 1px solid var(--border-soft); padding-top: 24px; }
  .stat:first-child { border-top: none; padding-top: 0; }
}
@media (max-width: 680px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-inner { padding: 12px 20px; }
  .nav-right { gap: 10px; }
  .nav-socials { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu.is-open { display: flex; }

  /* Tighter vertical rhythm on mobile — the desktop spacing makes the
     page scroll much longer than it needs to on a phone screen. */
  .hero { padding: 118px 0 44px; }
  .hero-sub { margin-bottom: 18px; }
  .availability { margin-bottom: 18px; }
  .section { padding: 28px 0 56px; }
  #work { padding-top: 64px; }
  .section--dark { padding-top: 56px; }
  .section--tight-bottom { padding-bottom: 16px; }
  .section-title { margin-bottom: 18px; }
  .section-lede { margin-bottom: 32px; }
  .stats-grid { gap: 0; }
  .stat { padding-top: 18px; }
  .capabilities { gap: 28px; }
  .accordion-item { padding: 14px 0; }
  .portfolio-category { margin-bottom: 20px; }
  .portfolio-cat-title { margin-bottom: 14px; }
  .dial-wrap { display: none; }

  .hero-cards { flex-wrap: nowrap; gap: 10px; margin-top: 24px; }
  .fan-card {
    margin-left: 0 !important;
    transform: none !important;
    width: 31%;
    max-width: 150px;
    height: auto;
    aspect-ratio: 3 / 4;
    padding: 6px;
  }
  .hero-cards:hover .fan-card { transform: none; }

  .story-block { gap: 20px; padding: 32px 0; }
  .story-collage { margin-top: 0; min-height: 260px; overflow: hidden; }
  .story-photo-card { width: clamp(110px, 27vw, 145px); }
  .story-photo-card--left { left: 4%; top: 40px; }
  .story-photo-card--right { right: 4%; top: 40px; }
  .story-photo-card--center { top: 8px; }

  .deck { height: 430px; }
  .deck-card { padding: 24px; }
  .deck-quote { font-size: clamp(19px, 6vw, 22px); }
  .gallery { columns: 2 150px; column-gap: 14px; }
  .gallery-item { margin-bottom: 14px; }

  .cta { padding: 48px 0 0; }
  .cta-title { margin-bottom: 28px; }

  .footer { margin-top: 40px; }
  .footer-inner { padding: 20px; flex-wrap: wrap; gap: 14px; }
  .footer-links { display: none; }
  .footer-say-hi { display: none; }
  .footer-logos { padding: 20px 0; }
  .footer-logos-track { gap: 36px; }
  .footer-logo-item { height: 18px; }
  .footer-logo-item[src$="brands/1.png"] { height: 23px; }
  .footer-logo-item[src$="brands/2.png"] { height: 14px; }
  .footer-logo-item[src$="brands/4.png"] { height: 28px; }
  .footer-logo-item[src$="brands/5.png"] { height: 28px; }
  .footer-logo-item[src$="brands/6.png"] { height: 23px; }
  .footer-logo-item[src$="brands/7.png"] { height: 31px; }
  .footer-logo-item[src$="brands/8.png"] { height: 25px; }
}
