/* ==========================================================================
   Home page — hero, services, about, work, process, numbers, clients,
   voices, FAQ, journal, contact, case-study dialog.
   Shared pieces (header, buttons, footer, tokens) live in base.css and
   components.css; other pages do not load this file.
   ========================================================================== */

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px var(--pad-x) 0;
  overflow: hidden;
}

.hero__spot {
  position: absolute;
  top: 0;
  left: 0;
  width: 720px;
  height: 720px;
  margin: -360px 0 0 -360px;
  background: radial-gradient(circle, rgba(255, 90, 31, .16), rgba(255, 90, 31, 0) 62%);
  pointer-events: none;
  transform: translate3d(-500px, -500px, 0);
}

.hero__fx {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.hero__title {
  font-size: clamp(52px, 13.4vw, 232px);
  line-height: .82;
  font-weight: 900;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.hero__line { display: block; overflow: hidden; }
.hero__word { display: block; }
.js .hero__word {
  transform: translateY(105%);
  transition: transform 1.2s var(--ease-out);
}
.js .hero__word.is-in { transform: none; }

/* scrolling label strip under the headline */
.strip {
  position: relative;
  margin-top: 100px;
  padding: 18px 0 19px;
  overflow: hidden;
  border-top: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
}
.strip__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: dz-marquee var(--marquee-dur, 30s) linear infinite;
}
.strip__item {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  margin-right: 44px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink-45);
  white-space: nowrap;
}
.strip__item i { display: block; width: 4px; height: 4px; background: var(--accent); }

/* ==========================================================================
   Big scrolling words
   ========================================================================== */
.bigwords {
  position: relative;
  padding: var(--sec-pad) 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.bigwords__row {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 34px;
  will-change: transform;
}
.bigwords__row--alt { margin-top: 6px; }

.bigword {
  font-size: clamp(56px, 12vw, 190px);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .9;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: default;
  color: transparent;
  -webkit-text-stroke: 1px rgba(18, 16, 14, .3);
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0%;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-size .75s var(--ease-out);
  /* negative letter-spacing makes the last letter overhang the box the fill is clipped to:
     widen the box by that overhang and pull the neighbours back so the layout does not move */
  padding: 0 .1em;
  margin: 0 -.1em;
}
.bigword:hover { background-size: 100% 100%; }

.bigwords__row--alt .bigword {
  -webkit-text-stroke: 0;
  color: rgba(255, 90, 31, .22);
  background-image: linear-gradient(var(--accent), var(--accent));
}

.bigdot {
  display: block;
  flex: none;
  width: clamp(7px, 1vw, 14px);
  height: clamp(7px, 1vw, 14px);
  background: var(--accent);
}
.bigwords__row--alt .bigdot { background: var(--ink-16); }

/* ==========================================================================
   Services
   ========================================================================== */
.services {
  position: relative;
  padding: var(--sec-pad) var(--pad-x);
  overflow: hidden;
}
.services__inner { position: relative; max-width: var(--max); margin: 0 auto; }

.services__body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

/* stack of screenshots that fans out for the active category */
.svc-stack {
  --fan-y: 22px;
  position: relative;
  z-index: 1;
  width: min(74vw, 400px);
  margin: 0 auto clamp(64px, 9vh, 96px);
  aspect-ratio: 4 / 3;
  pointer-events: none;
}
.svc-group { position: absolute; inset: 0; }

.svc-shot {
  --k: 0;
  --n: 3;
  position: absolute;
  inset: 0;
  z-index: calc(var(--k) + 1);
  overflow: hidden;
  background: #24211D;
  box-shadow: 0 30px 70px -26px rgba(18, 16, 14, .55);
  opacity: 0;
  transform: translate3d(0, 48px, 0) rotate(-2deg) scale(.9);
  transition: opacity .5s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: calc((var(--n) - 1 - var(--k)) * 70ms);
}
.svc-shot:nth-child(2) { --k: 1; }
.svc-shot:nth-child(3) { --k: 2; }
.svc-shot:only-child { --n: 1; }
.svc-shot img { width: 100%; height: 100%; object-fit: cover; }

.svc-group.is-on .svc-shot {
  opacity: 1;
  transform:
    translate3d(calc(var(--k) * -6px), calc(var(--k) * var(--fan-y)), 0)
    rotate(calc(-3.5deg + var(--k) * 3.2deg))
    scale(1);
  transition-delay: calc(var(--k) * 130ms);
}

.svc-list {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: clamp(2px, .4vh, 8px);
  min-width: 0;
  padding-left: 13%;
}

.svc-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 26px);
  cursor: pointer;
  outline-offset: 6px;
}
.svc-item__title {
  font-size: clamp(30px, 6.4vw, 108px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.02;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(18, 16, 14, .17);
  transition: color .45s ease, transform .6s var(--ease-out);
}
.svc-item__num,
.svc-item__meta {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.svc-item__num { text-align: right; white-space: nowrap; transform: translateX(-14px); }
.svc-item__meta { max-width: 22ch; line-height: 1.5; letter-spacing: .14em; transform: translateX(14px); }

.svc-item.is-on .svc-item__title { color: var(--ink); transform: scale(1.03); }
.svc-item.is-on .svc-item__num,
.svc-item.is-on .svc-item__meta { opacity: 1; transform: none; }

/* ==========================================================================
   About
   ========================================================================== */
.about {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding: var(--sec-pad) var(--pad-x);
}

.about__cells {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, clamp(20px, 2.4vw, 38px));
  grid-auto-rows: clamp(20px, 2.4vw, 38px);
}
.about__cells .c1 { background: var(--accent); }
.about__cells .c2 { background: rgba(255, 255, 255, .05); }
.about__cells .c3 { background: rgba(255, 90, 31, .45); }

.about__grid {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
}

.about__copy { display: grid; gap: clamp(20px, 3vh, 30px); }

.sec-head--dark { gap: 12px; margin-bottom: 0; }
.sec-head--dark .rule { background: rgba(255, 255, 255, .16); }

.about__title { letter-spacing: -.055em; line-height: 1.01; }
.about__text {
  max-width: 40ch;
  font-size: 16px;
  line-height: 22px;
  color: var(--on-dark-60);
  text-wrap: pretty;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: rgba(255, 255, 255, .14);
}
.about__stat {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: clamp(14px, 1.5vw, 20px) clamp(10px, 1vw, 14px);
  background: var(--ink);
}
.about__stat-value {
  grid-row: 1;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1;
}
.about__stat--accent .about__stat-value { color: var(--accent); }
.about__stat-label {
  grid-row: 2;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--on-dark-45);
}

.about__cta { justify-self: start; }

.about__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, .06);
}
.about__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ==========================================================================
   Work — pinned horizontal rail
   ========================================================================== */
.work { position: relative; height: 680vh; }

.work__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.work__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0 var(--pad-x) clamp(22px, 3.5vh, 42px);
}
.work__scroll {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-45);
}
.work__scroll-track {
  position: relative;
  display: block;
  width: clamp(80px, 14vw, 220px);
  height: 1px;
  background: rgba(18, 16, 14, .18);
}
.work__scroll-bar {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  height: 1px;
  width: 0;
  background: var(--accent);
}

.work__rail {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2vw, 34px);
  width: max-content;
  padding: 0 var(--pad-x);
  will-change: transform;
}

.work-card {
  position: relative;
  flex: none;
  width: clamp(320px, 34vw, 560px);
}

.work-card__media {
  position: relative;
  overflow: hidden;
  height: clamp(340px, 56vh, 580px);
  background: var(--ink-06);
}
.work-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

/* the 8x6 pixel veil over the picture is shared with the blog cards (see components.css) */
.work-card__media { isolation: isolate; }


.work-card__body { display: flex; align-items: flex-start; gap: 12px; padding-top: 18px; }
.work-card__mark {
  display: block;
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 9px;
  background: var(--accent);
}
.work-card__text { min-width: 0; }
.work-card__name {
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.1;
}
/* whole card is clickable through the title link */
.work-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.work-card__name a:hover { color: inherit; }
.work-card__short {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-50);
  text-wrap: pretty;
}
.work-card__tags-wrap {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .6s var(--ease-out), opacity .45s ease;
}
.work-card__tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; }
.work-card__tags li {
  padding: 6px 10px;
  border: 1px solid var(--ink-16);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-60);
  white-space: nowrap;
}

.work-card:hover .work-card__media img,
.work-card:focus-within .work-card__media img { transform: scale(1.05); }
.work-card:hover .work-card__veil i,
.work-card:focus-within .work-card__veil i { opacity: 0; }
.work-card:hover .work-card__cta,
.work-card:focus-within .work-card__cta { opacity: 1; transform: none; }
.work-card:hover .work-card__tags-wrap,
.work-card:focus-within .work-card__tags-wrap { max-height: 90px; opacity: 1; }

.work-all {
  position: relative;
  flex: none;
  width: clamp(320px, 34vw, 560px);
  min-height: clamp(340px, 56vh, 580px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(20px, 2vw, 30px);
  border: 1px solid var(--ink-16);
  color: var(--ink);
  transition: background .5s ease, border-color .5s ease, color .5s ease;
}
.work-all:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.work-all__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .5;
}
.work-all__title {
  font-size: clamp(28px, 2.8vw, 44px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1.02;
}

/* ==========================================================================
   Process — pinned scroll story (animated by js/scroll.js)
   ========================================================================== */
.process {
  position: relative;
  height: 420vh;
  background: var(--accent);
  color: var(--white);
}
.process__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.process__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 34% at 84% 6%, rgba(255, 214, 170, .55), transparent 72%),
    radial-gradient(70% 60% at 8% 88%, rgba(255, 150, 90, .45), transparent 70%),
    radial-gradient(40% 32% at 30% 46%, rgba(18, 16, 14, .10), transparent 72%);
}
.process__aura {
  position: absolute;
  left: -32vh;
  bottom: -58vh;
  width: 116vh;
  height: 116vh;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 62% 28%, rgba(255, 255, 255, .30), rgba(255, 255, 255, .05) 58%, transparent 72%);
  will-change: transform, opacity;
  transition: opacity .6s ease;
}
.process__ring {
  position: absolute;
  left: -18vh;
  bottom: -46vh;
  width: 88vh;
  height: 88vh;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .16);
}

.process__grid {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 1720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.1fr) 74px;
  align-items: stretch;
  gap: clamp(24px, 4vw, 72px);
  padding: clamp(90px, 6vh, 74px) clamp(18px, 4vw, 64px) clamp(28px, 5vh, 60px);
}

.process__lead {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding-top: clamp(72px, 9vh, 92px);
}
.process__kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
}
.process__title { margin-top: clamp(14px, 2.4vh, 26px); line-height: .94; }
.process__intro {
  max-width: 30ch;
  margin-top: clamp(18px, 3vh, 34px);
  font-size: clamp(15px, 1.35vw, 21px);
  line-height: 1.5;
  letter-spacing: -.01em;
  color: rgba(255, 255, 255, .9);
  text-wrap: pretty;
}

.process__center {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
}
.process__scenes {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1500px;
  min-height: clamp(240px, 40vh, 480px);
}
.proc-plate-wrap {
  position: relative;
  width: min(34vw, 520px);
  aspect-ratio: 1 / .78;
  transform-style: preserve-3d;
}

.proc-scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(1.1);
  will-change: opacity, transform;
  backface-visibility: hidden;
}
.proc-scene.is-first { display: block; transform-style: preserve-3d; opacity: 1; transform: none; }

.proc-inner { position: relative; will-change: transform; }
.proc-scene.is-first .proc-inner { position: absolute; inset: 0; transform-style: preserve-3d; }

/* scene 1: three stacked plates */
.proc-plates {
  position: absolute;
  left: 0;
  right: 0;
  top: 16%;
  bottom: 16%;
  transform-style: preserve-3d;
}
.proc-plate {
  position: absolute;
  inset: 0;
  border-radius: 12%;
  transform-style: preserve-3d;
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow:
    0 40px 80px rgba(140, 42, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .75),
    inset 0 -14px 26px rgba(255, 255, 255, .22);
  will-change: transform;
  backface-visibility: hidden;
}
.proc-plate:nth-child(1) { background: linear-gradient(150deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .26) 52%, rgba(255, 255, 255, .44)); }
.proc-plate:nth-child(2) { background: linear-gradient(150deg, rgba(255, 178, 124, .58), rgba(255, 120, 54, .42) 55%, rgba(255, 220, 190, .5)); }
.proc-plate:nth-child(3) { background: linear-gradient(150deg, rgba(255, 255, 255, .58), rgba(255, 236, 224, .3) 50%, rgba(255, 255, 255, .4)); }

/* scene 2: orbits */
.proc-inner--orbit { width: 76%; aspect-ratio: 1; }
.proc-spin { position: absolute; inset: 0; animation: dz-spin 34s linear infinite; }
.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5);
}
.orbit:nth-child(1) { transform: rotate(0deg) scaleY(.28); }
.orbit:nth-child(2) { transform: rotate(52deg) scaleY(.22); }
.orbit:nth-child(3) { transform: rotate(108deg) scaleY(.3); }
.orbit:nth-child(4) { transform: rotate(148deg) scaleY(.18); }
.lobe {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 20%;
  bottom: 20%;
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(255, 255, 255, .52), rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, .38));
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 30px 60px rgba(140, 42, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .8);
}
.lobe:nth-child(5) { transform: rotate(0deg); }
.lobe:nth-child(6) { transform: rotate(45deg); }
.lobe:nth-child(7) { transform: rotate(90deg); }
.lobe:nth-child(8) { transform: rotate(135deg); }
.proc-core {
  position: absolute;
  left: 30%;
  top: 30%;
  width: 40%;
  height: 40%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #FFE3CE, #FF8A3D 46%, #E24A00 92%);
  box-shadow: 0 18px 40px rgba(140, 42, 0, .4), inset 0 -10px 24px rgba(255, 255, 255, .25);
  animation: dz-float 7s ease-in-out infinite;
}

/* scene 3: streaks into ripples */
.proc-inner--streak { width: 92%; aspect-ratio: 1 / .7; }
.streak {
  position: absolute;
  right: 26%;
  top: 50%;
  width: 54%;
  height: 1.5px;
  transform-origin: right center;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, var(--o, 1)));
}
.streak:nth-child(1) { --o: .5;  transform: rotate(-26deg); }
.streak:nth-child(2) { --o: .7;  transform: rotate(-16deg); }
.streak:nth-child(3) { --o: .85; transform: rotate(-8deg); }
.streak:nth-child(4) { --o: 1;   transform: rotate(0deg); }
.streak:nth-child(5) { --o: .85; transform: rotate(8deg); }
.streak:nth-child(6) { --o: .65; transform: rotate(17deg); }
.streak:nth-child(7) { --o: .45; transform: rotate(27deg); }
.ripples {
  position: absolute;
  right: 6%;
  top: 50%;
  width: 40%;
  aspect-ratio: 1;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
}
.ripple {
  position: absolute;
  width: var(--w, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55);
  background: radial-gradient(circle at 40% 34%, rgba(255, 255, 255, .30), rgba(255, 255, 255, .04) 68%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}
.ripple:nth-child(2) { --w: 76%; }
.ripple:nth-child(3) { --w: 52%; }
.ripple:nth-child(4) { --w: 30%; }
.ripple-core {
  position: absolute;
  width: 12%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #FFF3E8;
  box-shadow: 0 0 34px 12px rgba(255, 236, 214, .75);
}

/* scene 4: funnel */
.proc-inner--funnel {
  width: 94%;
  aspect-ratio: 1 / .62;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2%;
}
.funnel {
  flex: none;
  width: var(--w);
  height: var(--h);
  margin-left: var(--ml, 0);
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(255, 255, 255, .52), rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, .38));
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 30px 60px rgba(140, 42, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .8);
}
.funnel:nth-child(1) { --w: 17%; --h: 100%; }
.funnel:nth-child(2) { --w: 15%; --h: 86%; --ml: -6%; }
.funnel:nth-child(3) { --w: 13%; --h: 70%; --ml: -5%; }
.funnel:nth-child(4) { --w: 11%; --h: 54%; --ml: -4%; }
.funnel:nth-child(5) { --w: 9%;  --h: 38%; --ml: -3%; }
.funnel-core {
  flex: none;
  width: 12%;
  aspect-ratio: 1;
  margin-left: -6%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #FFE7D4, #FF8F49 48%, #E04A00 94%);
  box-shadow: 0 14px 30px rgba(140, 42, 0, .38);
}
.funnel-line { flex: none; width: 12%; height: 1px; margin-left: 4%; background: rgba(255, 255, 255, .8); }

/* captions */
.process__caps {
  position: relative;
  min-height: clamp(190px, 27vh, 250px);
  padding-left: clamp(0px, 2vw, 34px);
}
.proc-cap {
  position: absolute;
  left: clamp(0px, 2vw, 34px);
  right: 0;
  top: 0;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  will-change: opacity, transform;
}
.proc-cap__num {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .92);
}
.proc-cap__rule {
  display: block;
  width: 50px;
  height: 1px;
  margin: clamp(12px, 2vh, 20px) 0 clamp(14px, 2.4vh, 24px);
  background: rgba(255, 255, 255, .75);
}
.proc-cap__title {
  font-size: clamp(28px, 3.2vw, 54px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
}
.proc-cap__text {
  max-width: 40ch;
  margin-top: clamp(10px, 1.6vh, 18px);
  font-size: clamp(14px, 1.2vw, 19px);
  line-height: 1.45;
  color: rgba(255, 255, 255, .9);
  text-wrap: pretty;
}

/* progress rail */
.process__rail { position: relative; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.proc-rail {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  padding: 6vh 0 8vh;
}
.proc-rail__line,
.proc-rail__fill { position: absolute; top: 6vh; bottom: 8vh; }
.proc-rail__line { right: 5px; width: 1px; background: rgba(255, 255, 255, .3); }
.proc-rail__fill {
  right: 4.5px;
  width: 2px;
  background: var(--white);
  transform-origin: top center;
  transform: scaleY(.04);
  will-change: transform;
}
.proc-step { position: relative; display: flex; align-items: center; gap: 14px; }
.proc-step__num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--white);
  opacity: .45;
  will-change: opacity;
}
.proc-step__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .85);
  background: transparent;
  will-change: transform;
}

/* ==========================================================================
   Numbers
   ========================================================================== */
.numbers {
  padding: var(--sec-pad) var(--pad-x);
  border-top: 1px solid var(--ink-08);
}
.numbers__row {
  --stat-gap: clamp(44px, 9vw, 140px);
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: var(--stat-gap);
}
.stat {
  position: relative;
  display: grid;
  justify-items: center;
  min-width: 88px;
  text-align: center;
}
/* hairline between neighbouring stats */
.stat + .stat::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 26px;
  left: calc(var(--stat-gap) / -2);
  width: 1px;
  background: rgba(74, 73, 72, .3);
}
.stat__figure {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-size: clamp(40px, 4.6vw, 62px);
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1;
  white-space: nowrap;
}
.stat--accent .stat__figure { color: var(--accent); }
.stat__label {
  margin-top: 15px;
  font-size: 16px;
  line-height: 1.35;
  white-space: nowrap;
  color: var(--ink-72);
}

/* ==========================================================================
   Voices
   ========================================================================== */
.voices { padding: var(--sec-pad) var(--pad-x); }
.voices__inner,
.journal__inner { max-width: var(--max); margin: 0 auto; }

.voices__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(34px, 5vh, 64px);
}
.voices__title { margin-top: 12px; }

.voices__rating { display: flex; align-items: center; gap: 14px; }
.voices__grid { display: grid; grid-template-columns: repeat(8, 7px); gap: 3px; }
.voices__grid i { display: block; width: 7px; height: 7px; background: rgba(255, 90, 31, .9); }
.voices__grid i:nth-child(4n + 2) { background: rgba(255, 90, 31, .55); }
.voices__grid i:nth-child(4n + 3) { background: rgba(255, 90, 31, .3); }
.voices__grid i:nth-child(4n) { background: rgba(255, 90, 31, .16); }
.voices__rating-text { font-size: 12.5px; line-height: 1.5; color: var(--ink-60); }
.voices__score { font-weight: 600; color: var(--ink); }

.voices__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
  align-items: stretch;
}

.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(26px, 4vh, 46px);
  overflow: hidden;
  padding: clamp(26px, 3.4vw, 54px);
  background: var(--ink);
  color: var(--white);
}
.quote__cells {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(4, clamp(16px, 1.8vw, 26px));
  grid-auto-rows: clamp(16px, 1.8vw, 26px);
  opacity: .5;
}
.quote__cells .c1 { background: var(--accent); }
.quote__cells .c4 { background: rgba(255, 255, 255, .06); }
.quote__cells .c5 { background: rgba(255, 90, 31, .5); }
.quote__cells .c6 { background: rgba(255, 90, 31, .28); }
.quote__cells .c7 { background: rgba(255, 255, 255, .05); }
.quote__cells .c8 { background: rgba(255, 255, 255, .04); }

.quote__main { position: relative; display: grid; gap: clamp(20px, 3vh, 32px); }
.quote__meta { display: flex; align-items: center; gap: 14px; }
.quote__stars { display: inline-flex; gap: 4px; color: var(--accent); font-size: 15px; }
.quote__kind {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-dark-45);
}
.quote__text {
  font-size: clamp(22px, 2.9vw, 44px);
  line-height: 1.16;
  font-weight: 400;
  letter-spacing: -.045em;
  text-wrap: pretty;
}
.quote__detail {
  max-width: 70ch;
  font-size: 16px;
  color: var(--on-dark-60);
  text-wrap: pretty;
}

.quote__foot {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: clamp(20px, 2.6vh, 30px);
  border-top: 1px solid var(--on-dark-14);
}
.quote__who { display: flex; align-items: center; gap: 14px; }
.quote__avatar {
  display: block;
  flex: none;
  width: 76px;
  height: 46px;
  overflow: hidden;
  background: #fff;
}
.quote__avatar img { width: 100%; height: 100%; object-fit: contain; }
.quote__who-text { display: grid; gap: 3px; font-size: 16px; }
.quote__name { font-weight: 600; }
.quote__role { font-size: 14px; color: rgba(255, 255, 255, .55); }
.quote__result { display: block; text-align: right; }
.quote__result:has(.quote__metric:empty) { display: none; }
.quote__metric {
  display: block;
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 1;
  color: var(--accent);
}
.quote__metric-label {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.quote-list { display: grid; grid-auto-rows: 1fr; gap: 14px; }
.quote-tab {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: clamp(16px, 1.8vw, 24px);
  border: 1px solid var(--ink-10);
  background: rgba(255, 255, 255, .5);
  color: var(--ink);
  text-align: left;
  transition: background .4s ease, border-color .4s ease;
}
.quote-tab:hover,
.quote-tab.is-active { border-color: rgba(255, 90, 31, .7); }
.quote-tab.is-active { background: var(--white); }
.quote-tab__bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .4s ease;
}
.quote-tab.is-active .quote-tab__bar { opacity: 1; }
.quote-tab__avatar {
  display: block;
  flex: none;
  width: 68px;
  height: 44px;
  overflow: hidden;
  background: #fff;
}
.quote-tab__avatar img { width: 100%; height: 100%; object-fit: contain; }
.quote-tab__text { display: grid; gap: 3px; min-width: 0; }
.quote-tab__company { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.quote-tab__teaser { font-size: 14px; line-height: 1.45; color: var(--ink-55); text-wrap: pretty; }
.quote-tab__num {
  margin-left: auto;
  flex: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  color: rgba(18, 16, 14, .3);
  transition: color .4s ease;
}
.quote-tab.is-active .quote-tab__num { color: var(--accent); }

.voices__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: clamp(18px, 2.4vw, 28px);
  padding-top: clamp(18px, 2.4vw, 26px);
  border-top: 1px solid var(--ink-10);
}

/* ==========================================================================
   Journal
   ========================================================================== */
.journal { padding: var(--sec-pad) var(--pad-x); }
.journal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(16px, 1.8vw, 26px);
}
/* .post card styles live in components.css (shared with the blog pages) */

/* Contact layout and form styles live in components.css (shared with the /contact page) */

/* ==========================================================================
   Home — responsive
   ========================================================================== */
/* ---- wide screens: the services screenshot stack sits left of the words ---- */
@media (min-width: 1180px) {
  .svc-stack {
    --fan-y: -24px;
    position: absolute;
    left: 0;
    top: 50%;
    width: clamp(220px, 17vw, 300px);
    margin: 0;
    transform: translateY(-50%);
  }
}

/* ---- hero spotlight needs a fine pointer; touch shows what hover would reveal ---- */
@media (hover: none), (pointer: coarse) {
  .hero__spot { display: none !important; }

  /* no hover on touch: show the state hover would reveal */
  .work-card__veil { display: none; }
  .work-card__cta { opacity: 1; transform: none; }
  .work-card__tags-wrap { max-height: none; opacity: 1; }
}

.intro__hint--touch { display: none; }
@media (hover: none), (pointer: coarse) {
  .intro__hint--pointer { display: none; }
  .intro__hint--touch { display: inline; }
}

/* ---- tablet and below ---- */
@media (max-width: 900px) {
  .about__grid,
  .faq__layout,
  .voices__layout { grid-template-columns: 1fr; }

  .quote-list { grid-template-rows: none; }

  /* the pinned horizontal rail becomes a plain vertical list */
  .work { height: auto; }
  .work-card__media { height: auto; aspect-ratio: 1200 / 1234; }
  .work__sticky {
    position: static;
    height: auto;
    padding: clamp(48px, 8vh, 80px) 0;
  }
  .work__rail {
    flex-direction: column;
    gap: 30px;
    width: 100%;
    transform: none !important;
  }
  .work__rail > * { width: 100%; }
  .work-all { min-height: 190px; }

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

  .numbers__row { gap: 38px 40px; }
  .stat + .stat::before { display: none; }

  .intro__meta { padding-bottom: 6px; }
}

/* ---- process: pinned panels only where there is room ---- */
@media (max-width: 919px) {
  .process { height: 300vh; }
  .process__grid { gap: 12px; }
  .process__scenes { min-height: clamp(130px, 24vh, 300px); }
  .process__caps { min-height: 200px; }
  .proc-plate-wrap { width: min(82vw, 400px, 42vh); }
  .process__grid { grid-template-columns: minmax(0, 1fr); }
  .process__rail { display: none; }
}
@media (max-width: 919px) and (max-height: 720px) {
  .process__grid { padding-top: 78px; padding-bottom: 24px; }
  .process__title { margin-top: 10px; }
  .process__intro { margin-top: 12px; }
  .process__scenes { min-height: 100px; }
  .proc-plate-wrap { width: min(82vw, 400px, 30vh); }
  .process__caps { min-height: 176px; }
  .proc-cap__rule { margin: 8px 0 10px; }
}

/* ---- large phones ---- */
@media (max-width: 640px) {
  .intro__meta { flex-wrap: wrap; gap: 10px; }
  .work-all { min-height: 156px; }

  .numbers__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px 18px;
  }

  .quote,
  .quote-tab { padding: 22px; }

  /* services: stack the meta line under the title instead of beside it */
  .svc-list { padding-left: 0; }
  .svc-item { flex-direction: column; gap: 4px; }
  .svc-item__num { display: none; }
  .svc-item__meta { max-width: none; text-align: center; transform: translateY(-6px); }
}

/* ---- phones ---- */
@media (max-width: 480px) {
  .numbers__row { grid-template-columns: 1fr; gap: 26px; }
  .quote,
  .quote-tab { padding: 18px; }
  .quote-tab { align-items: flex-start; }
  .about__stats { grid-template-columns: 1fr; }
}

/* work card with no image yet: the client's logo on a quiet tile */
.work-card__logo { position: absolute; inset: 0; display: grid; place-items: center; background: var(--ink-06); }
.work-card__media .work-card__logo img { position: static; width: min(52%, 300px); height: auto; filter: none; object-fit: contain; }
