
:root {
  --black: #050608;
  --black-soft: #0a0b0f;
  --white: #eef1f4;
  --paper: #eef1f3;
  --ink: #0a0b0e;
  --muted: #9ca1aa;
  --line: rgba(255, 255, 255, 0.22);
  --line-dark: rgba(8, 9, 12, 0.18);
  --purple: #7f55ff;
  --pink: #ff3abf;
  --orange: #ff9d5c;
  --radius-lg: 44px;
  --page: clamp(24px, 4vw, 68px);
  --max: 1800px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  background: var(--black);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: clip;
}

body.is-loaded [data-reveal] {
  transition:
    opacity 0.85s cubic-bezier(.2,.72,.2,1),
    transform 0.9s cubic-bezier(.2,.72,.2,1),
    filter 0.9s cubic-bezier(.2,.72,.2,1);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(8px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

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

button,
input,
textarea {
  font: inherit;
}

img,
model-viewer {
  display: block;
}

.theme-dark {
  background: var(--black);
  color: var(--white);
}

.theme-light {
  background: var(--paper);
  color: var(--ink);
}

.cursor-glow {
  position: fixed;
  z-index: 999;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(132, 84, 255, .09), transparent 67%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
  mix-blend-mode: screen;
}

/* HERO */

.hero {
  position: relative;
  min-height: 100svh;
  max-height: 1050px;
  overflow: hidden;
  isolation: isolate;
  padding: 18px var(--page) 28px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(circle at 50% 52%, rgba(98, 64, 136, .14), transparent 24%),
    linear-gradient(#050608, #050608);
}

.hero-nav {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 6px 4.5% 4px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.hero-nav a {
  position: relative;
  width: fit-content;
  padding-block: 8px;
}

.hero-nav a:nth-child(1) { justify-self: start; }
.hero-nav a:nth-child(2) { justify-self: center; }
.hero-nav a:nth-child(3) { justify-self: center; }
.hero-nav a:nth-child(4) { justify-self: end; }

.hero-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transition: right .2s ease;
}

.hero-nav a:hover::after,
.hero-nav a:focus-visible::after {
  right: 0;
}

.hero-title,
.section-title,
.contact-title {
  font-family: "Anton", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.hero-title {
  position: absolute;
  z-index: 2;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  margin: 0;
  color: #d9dde2;
  font-size: clamp(105px, 13.2vw, 218px);
  line-height: .82;
  letter-spacing: -.015em;
  white-space: nowrap;
  user-select: none;
}

.hero-title[data-reveal] {
  transform: translate(-50%, 32px);
}

.hero-title[data-reveal].is-visible {
  transform: translate(-50%, 0);
}

.hero-copy {
  position: absolute;
  z-index: 12;
  top: 39%;
  left: var(--page);
  max-width: 260px;
  margin: 0;
  font-size: clamp(14px, 1.08vw, 18px);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: -.04em;
}

.avatar-stage {
  --avatar-safe-top: clamp(96px, 8vh, 118px);
  position: absolute;
  z-index: 8;
  left: 50%;
  top: -42vh;
  bottom: -65vh;
  width: min(50vw, 760px);
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
}

.avatar-halo {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 39%;
  width: 56%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .08);
  background:
    radial-gradient(circle, rgba(111, 73, 157, .18), rgba(77, 46, 109, .055) 45%, transparent 70%);
  filter: blur(.2px);
}

.avatar-model {
  position: absolute;
  inset: 0 -25% -8%;
  width: 150%;
  height: 108%;
  background: transparent;
  --poster-color: transparent;
  filter: drop-shadow(0 32px 28px rgba(0,0,0,.42));
  transform:
    translate3d(
      var(--model-x, 0px),
      calc(var(--model-y, 0px) + var(--avatar-safe-top)),
      0
    )
    scale(1.28);
  transform-origin: 50% 66%;
  transition: transform .16s ease-out;
}

/* V3.19: the mesh stays visible; skeletal clips blend inside one viewer.
   No CSS opacity crossfade / duplicate silhouette during a CTA transition. */
.hero-cta {
  position: absolute;
  z-index: 15;
  top: 42%;
  right: clamp(7%, 10vw, 180px);
}

.gradient-button {
  --tx: 0px;
  --ty: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 188px;
  padding: 16px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(var(--black), var(--black)) padding-box,
    linear-gradient(105deg, var(--purple), var(--pink), var(--orange)) border-box;
  box-shadow:
    0 0 34px rgba(180, 60, 255, .14),
    inset 0 0 25px rgba(255,255,255,.02);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  transform: translate(var(--tx), var(--ty));
  transition: filter .2s ease, box-shadow .2s ease, transform .1s linear;
}

.gradient-button:hover,
.gradient-button:focus-visible {
  filter: brightness(1.14);
  box-shadow:
    0 0 44px rgba(181, 63, 255, .23),
    0 0 84px rgba(255, 56, 191, .08);
}

.hero-meta {
  position: absolute;
  z-index: 14;
  left: var(--page);
  right: var(--page);
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.11);
  color: rgba(255,255,255,.43);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .15em;
}

/* CLIENTS / LOGOS */

.clients {
  position: relative;
  padding: 105px 0 125px;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
}

.clients-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 var(--page) 42px;
}

.section-kicker {
  margin: 0;
  color: rgba(255,255,255,.58);
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.logo-motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 10px 0 10px 12px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.48);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  cursor: pointer;
  transition: color .2s ease;
}

.logo-motion-toggle[hidden],
.logo-motion-icon--play {
  display: none;
}

.logo-motion-toggle:hover {
  color: var(--white);
}

.logo-motion-toggle:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 5px;
}

.logo-motion-toggle[aria-pressed="true"] .logo-motion-icon--pause {
  display: none;
}

.logo-motion-toggle[aria-pressed="true"] .logo-motion-icon--play {
  display: block;
}

.logo-marquee {
  --logo-gap: clamp(60px, 8vw, 128px);
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 7%, black 93%, transparent);
  mask-image: linear-gradient(to right, transparent, black 7%, black 93%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  /* A shared dark backdrop lets the Hio screenshot blend without a black box. */
  background: var(--black);
  animation: marquee 48s linear infinite;
}

.logo-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-shrink: 0;
  gap: var(--logo-gap);
  min-width: 100vw;
  margin: 0;
  padding: 0 calc(var(--logo-gap) / 2);
  list-style: none;
}

.logo-marquee:hover .logo-track,
.logo-marquee.is-paused .logo-track {
  animation-play-state: paused;
}

/* The logo slots are invisible layout helpers: no borders, cards or backgrounds. */
.logo-item {
  display: grid;
  place-items: center;
  flex: 0 0 clamp(190px, 19vw, 280px);
  width: clamp(190px, 19vw, 280px);
  height: 128px;
  padding: 16px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: .78;
  transition: opacity .25s ease, transform .25s ease;
}

.logo-item:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.company-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: brightness(0) invert(1);
}

.logo-item--lcmd .company-logo {
  max-width: 185px;
  max-height: 64px;
}

.logo-item--ffuf .company-logo {
  max-width: 170px;
  max-height: 48px;
  /* Original white vector mark from Greg's presentation; no backdrop to remove. */
  filter: none;
}

.logo-item--diconium .company-logo {
  /* The supplied historic lockup has two lines; do not flatten the subtitle. */
  max-width: 252px;
  max-height: 86px;
}

.logo-item--hio {
  /* Blend at the slot level so its opacity does not isolate the black backdrop. */
  mix-blend-mode: screen;
}

.logo-item--hio .company-logo {
  max-width: 112px;
  max-height: 112px;
  filter: none;
}

.logo-item--greg .company-logo {
  max-width: 66px;
  max-height: 78px;
  filter: none;
}

.logo-item--yourwork .company-logo {
  /* The original app-icon tile is part of the logo, not an added UI container. */
  max-width: 86px;
  max-height: 86px;
  filter: none;
}

/* This is a network-failure label, not a simulated/recreated brand logo. */
.logo-fallback {
  max-width: 100%;
  color: var(--white);
  text-align: center;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 600;
  line-height: 1.25;
}

.company-logo[hidden],
.logo-fallback[hidden] {
  display: none;
}

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

@media (max-width: 760px) {
  .clients {
    padding: 76px 0 86px;
  }

  .clients-heading {
    padding-bottom: 28px;
  }

  .logo-item {
    height: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-motion-toggle {
    display: none;
  }

  .logo-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .logo-track {
    width: 100%;
    animation: none;
    transform: none;
  }

  .logo-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    min-width: 0;
    width: 100%;
    gap: 20px clamp(20px, 3vw, 48px);
    padding-inline: var(--page);
  }

  .logo-group .logo-item {
    width: 100%;
    max-width: 280px;
    justify-self: center;
  }

  .logo-group[aria-hidden="true"] {
    display: none;
  }
}

/* GLOBAL HEADINGS */

.section-title {
  margin: 0;
  font-size: clamp(88px, 12vw, 195px);
  line-height: .86;
  letter-spacing: -.015em;
}

.section-title--center {
  text-align: center;
}

.section-title--dark {
  color: var(--ink);
  text-align: center;
}

/* PROJECT STACK — native sticky siblings, no scroll hijacking */

.projects {
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding: 120px var(--page) 100px;
}

.projects-heading-wrap {
  max-width: var(--max);
  margin: 0 auto 80px;
}

.projects-intro {
  max-width: 520px;
  margin: 32px auto 0;
  color: rgba(255,255,255,.52);
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
}

.project-stack {
  --stack-top: clamp(20px, 3.2svh, 44px);
  --stack-tab: clamp(62px, 9svh, 100px);
  --stack-offset: var(--stack-tab);
  --stack-bottom: 24px;
  /* V3.16: 25% taller than V3.15; cap only on very short viewports. */
  --card-base-height: min(720px, calc(100svh - var(--stack-top) - (var(--stack-count) - 1) * var(--stack-offset) - var(--stack-bottom)));
  --card-height: min(calc(var(--card-base-height) * 1.25), calc(100svh - var(--stack-top) - var(--stack-bottom)));
  max-width: 1440px;
  margin: 0 auto;
  --stack-tail: clamp(110px, 22svh, 280px);
  padding-bottom: 0;
}

/* A real in-flow spacer extends the sticky containing block. Padding alone
   is outside its content box and lets the last card unpin too early. */
.project-stack::after { content: ""; display: block; height: var(--stack-tail); }

/* This element (not its child) must be sticky: all five cards need the SAME
   containing block. A separate short parent per card prevents real overlap. */
.project-step {
  position: sticky;
  top: calc(var(--stack-top) + var(--index) * var(--stack-offset));
  z-index: calc(10 + var(--index));
  height: var(--card-height);
  margin-bottom: clamp(48px, 10svh, 110px);
  scroll-margin-top: calc(var(--stack-top) + var(--index) * var(--stack-offset));
}

.project-step:last-child { margin-bottom: 0; }

.project-card {
  height: 100%;
  display: grid;
  grid-template-rows: calc(var(--stack-tab) - 2px) minmax(0, 1fr);
  padding: 0 clamp(16px, 1.8vw, 28px) clamp(16px, 1.8vw, 28px);
  border: 2px solid rgba(230,234,239,.66);
  border-radius: var(--radius-lg);
  background: var(--black);
  overflow: hidden;
  box-shadow: 0 -12px 30px rgba(0,0,0,.12);
}

.project-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 20px;
}

.project-card__identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: clamp(14px, 1.35vw, 22px);
}

.project-number {
  flex-shrink: 0;
  font-family: "Anton", Impact, "Arial Narrow", sans-serif;
  font-size: calc(var(--stack-tab) * .7);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.035em;
  color: #dce1e7;
  font-variant-numeric: tabular-nums;
}

.project-card__identity div { display: grid; gap: 5px; min-width: 0; }
.project-card__identity h3 {
  margin: 0;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}
.project-card__identity span:not(.project-number) {
  color: rgba(255,255,255,.55);
  font-size: 10px;
  line-height: 1.25;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 12px;
  min-width: 180px;
  padding: 11px 22px;
  border: 2px solid rgba(255,255,255,.76);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  text-align: center;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 900;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.outline-button:hover { background: var(--white); color: var(--ink); }
.outline-button:focus-visible,
.case-dialog button:focus-visible {
  outline: 3px solid #b7a0ff;
  outline-offset: 4px;
}

.project-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 0;
  min-width: 0;
  gap: 12px;
  border-radius: 26px;
}

.project-visual {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #111116;
}
.project-visual--main { grid-row: 1 / span 2; }
.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-step--playjoob .project-visual--main img { object-position: 66% 20%; }
.project-step--playjoob .project-visual--secondary { background: #19181e; }
.project-step--playjoob .project-visual--secondary img { object-fit: contain; }
.project-step--lcmd .project-visual--main { background: #000; }
.project-step--lcmd .project-visual--main img { object-fit: contain; }
.project-step--lcmd .project-visual--secondary img { object-position: 60% 30%; }
.project-step--hyo .project-visual--main { background: #eff3f9; }
.project-step--hyo .project-visual--main img { object-fit: contain; }
.project-step--hyo .project-visual--secondary { background: #0d141c; }
.project-step--hyo .project-visual--secondary img { object-fit: contain; }
.project-step--yourwork .project-visual--main { background: #f3f3f3; }
.project-step--yourwork .project-visual--main img { object-fit: contain; }
.project-step--yourwork .project-visual--secondary { background: #151e23; }
.project-step--yourwork .project-visual--secondary img { object-fit: contain; }
.project-step--ffuf .project-visual { background: #0d0c12; }
.project-step--ffuf .project-visual:not(.project-visual--main) img { object-fit: contain; }

.project-insight {
  container-type: size;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: clamp(14px, 2.4svh, 26px) clamp(16px, 2vw, 28px);
  border-radius: 24px;
  background: #131019;
  overflow: hidden;
}
.project-step--lcmd .project-insight { background: #101b1b; }
.project-step--hyo .project-insight { background: #18131b; }
.project-step--yourwork .project-insight { background: #131c18; }
.insight-label {
  font-size: 10px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .12em;
  color: #a39aaf;
}
.insight-value {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(30px, 34cqh, 72px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -.025em;
  color: #d8c9ff;
}
.project-insight--nps .insight-value {
  font-size: clamp(26px, 29cqh, 62px);
  white-space: nowrap;
  color: #73d5c6;
}
.project-insight--statement .insight-value {
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(20px, 17cqh, 35px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -.04em;
}
.project-step--hyo .insight-value { color: #f5cedb; }
.project-step--yourwork .insight-value { color: #cfebd5; }
.insight-note {
  max-width: 34ch;
  margin: 0;
  color: #b3adb9;
  font-size: 11px;
  line-height: 1.55;
}
@container (max-height: 125px) {
  .insight-note { display: none; }
  .insight-value { font-size: clamp(28px, 45cqh, 52px); }
  .project-insight--statement .insight-value { font-size: clamp(19px, 25cqh, 27px); }
  .insight-label { font-size: 9px; letter-spacing: .07em; }
}

/* Case studies open above the existing page; closing returns to the same stack. */
html.case-open { overflow: hidden; }
.case-dialog {
  position: fixed;
  inset: 0;
  width: min(1180px, calc(100% - 48px));
  max-width: none;
  height: auto;
  max-height: calc(100svh - 48px);
  margin: auto;
  padding: 0;
  border: 1px solid #47434d;
  border-radius: 28px;
  background: #0d0e12;
  color: var(--white);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.case-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(6px); }
.case-dialog__bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 74px;
  padding: 14px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid #29282f;
  background: #0d0e12;
}
.case-dialog__counter { color: #a8a5ae; font-size: 10px; letter-spacing: .12em; font-weight: 700; }
.case-dialog__controls { display: flex; align-items: center; gap: 8px; }
.case-dialog button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border: 1px solid #4c4853;
  background: transparent;
  color: var(--white);
  border-radius: 999px;
  cursor: pointer;
}
.case-nav { width: 40px; font-size: 18px; }
.case-close { padding-inline: 18px; margin-left: 8px; gap: 16px; font-size: 10px; font-weight: 800; }
.case-close span { font-size: 24px; line-height: 1; font-weight: 400; }
.case-dialog button:hover:not(:disabled) { background: var(--white); color: var(--ink); }
.case-dialog button:disabled { opacity: .28; cursor: default; }
.case-detail { padding: 40px clamp(20px, 4vw, 48px) 48px; }
.case-detail__category { margin: 0 0 18px; color: #afa4c1; font-size: 12px; }
.case-detail__title {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(56px, 7vw, 100px);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 400;
}
.case-detail__meta { display: flex; flex-wrap: wrap; gap: 24px 64px; margin: 30px 0; }
.case-detail__meta span { color: #8d8897; font-size: 9px; letter-spacing: .14em; }
.case-detail__meta p { margin: 8px 0 0; font-size: 12px; color: #d6d2dd; }
.case-detail__lead { max-width: 850px; margin: 0; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.65; color: #e3dfea; }
.case-story { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 38px; }
.case-story h3, .case-tools h3 { margin: 0 0 12px; font-size: 16px; line-height: 1.4; }
.case-story p { margin: 0; font-size: 14px; line-height: 1.8; color: #b4afbf; }
.case-tools { margin-block: 32px 40px; }
.case-tools ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.case-tools li { padding: 8px 12px; border-radius: 8px; background: #202027; color: #d9d5e1; font-size: 11px; }
.case-gallery { display: grid; gap: 32px; }
.case-gallery__item { margin: 0; }
.case-gallery__item img { width: 100%; height: auto; border-radius: 16px; background: #111; }
.case-gallery__item figcaption { display: grid; gap: 6px; margin-top: 14px; }
.case-gallery__item strong { font-size: 13px; font-weight: 700; }
.case-gallery__item span { font-size: 11px; line-height: 1.5; color: #95909e; }


/* Click-to-load video: local poster first, no YouTube request before consent. */
.case-story p.case-story__milestone { margin-top: 16px; color: #e2d5ff; }
.case-story__milestone strong { font-weight: 600; }
.case-video { margin: 0 0 40px; }
.case-video__heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 18px; }
.case-video__eyebrow { margin: 0 0 8px; font-size: 10px; font-weight: 700; letter-spacing: .14em; color: #a39aaf; }
.case-video__heading h3 { margin: 0; font-size: clamp(18px, 2.2vw, 25px); font-weight: 600; line-height: 1.3; letter-spacing: -.025em; }
.case-video__external { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; padding-block: 6px; font-size: 12px; color: #c9c2d7; text-decoration: underline; text-underline-offset: 4px; }
.case-video__external:hover { color: #fff; }
.case-video__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 200px; overflow: hidden; border-radius: 18px; background: #141318; }
.case-video--yourwork .case-video__frame { background: #f3f3f3; }
.case-video__poster { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.case-video--yourwork .case-video__poster { object-fit: contain; }
.case-video__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: rgba(0,0,0,.22); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-shadow: 0 2px 12px #000; cursor: pointer; transition: background .2s ease; }
.case-video__play:hover { background: rgba(0,0,0,.12); }
.case-video__play-icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #eef1f4; color: #131019; box-shadow: 0 8px 40px rgba(0,0,0,.25); transition: transform .2s ease; }
.case-video__play-icon svg { margin-left: 3px; }
.case-video__play:hover .case-video__play-icon { transform: scale(1.07); }
.case-video__play:focus-visible { outline: 3px solid #cbb8ff; outline-offset: -5px; }
.case-video__external:focus-visible { outline: 3px solid #cbb8ff; outline-offset: 4px; border-radius: 4px; }
.case-video__frame iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; background: #000; }
.case-video__frame iframe:focus-visible { outline: 3px solid #cbb8ff; outline-offset: -3px; }
.case-video__note, .case-video__local-note { margin: 12px 0 0; color: #a5a0af; font-size: 11px; line-height: 1.6; }
.case-video__local-note { color: #d7caeb; }
.case-video__local-note[hidden] { display: none; }
.case-video__local-note code { font-size: inherit; color: #eee4ff; }
@media (max-width: 700px) {
  .case-video__heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .case-video__frame { border-radius: 12px; }
  .case-video__play-icon { width: 62px; height: 62px; }
  .case-video__external { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .case-video__play, .case-video__play-icon { transition: none; }
  .case-video__play:hover .case-video__play-icon { transform: none; }
}

@media (max-width: 760px) {
  .project-stack {
    --stack-top: 14px;
    --stack-tab: clamp(60px, 8svh, 70px);
    --stack-bottom: 16px;
    --stack-tail: clamp(110px, 16svh, 200px);
  }
  .project-step { margin-bottom: 8svh; }
  .project-card {
    border-width: 1.5px;
    border-radius: 26px;
    padding: 0 12px 12px;
  }
  .project-card__header { gap: 10px; }
  .project-card__identity { gap: 9px; }
  .project-number { font-size: 35px; }
  .project-card__identity h3 { font-size: 11px; line-height: 1.12; }
  .project-card__identity span:not(.project-number) { font-size: 8px; line-height: 1.35; }
  .outline-button { min-width: 96px; min-height: 36px; padding: 9px 11px; gap: 5px; font-size: 9px; border-width: 1.5px; }
  .project-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1.4fr) minmax(0, 1fr); gap: 8px; border-radius: 16px; }
  .project-visual, .project-insight { border-radius: 16px; }
  .project-visual--main { grid-column: 1 / -1; grid-row: auto; }
  .project-step--ffuf .project-visual:not(.project-visual--main) img { object-fit: cover; object-position: center; }
  .project-insight { padding: 14px 12px; gap: 6px; }
  .insight-label { font-size: 8px; letter-spacing: .08em; }
  .insight-note { font-size: 9px; line-height: 1.45; }
  .project-insight--nps .insight-value { font-size: clamp(22px, 7vw, 38px); }
  .project-insight--statement .insight-value { font-size: clamp(17px, 4vw, 26px); }
  .case-dialog { width: calc(100% - 16px); max-height: calc(100svh - 16px); border-radius: 20px; }
  .case-dialog__bar { min-height: 66px; padding: 12px 16px; gap: 8px; }
  .case-dialog__counter { font-size: 8px; letter-spacing: .06em; }
  .case-dialog__controls { gap: 6px; }
  .case-nav { width: 34px; }
  .case-dialog button { height: 36px; }
  .case-close { margin-left: 2px; padding-inline: 12px; gap: 9px; }
  .case-detail { padding: 28px 20px 32px; }
  .case-detail__title { font-size: clamp(48px, 11vw, 74px); overflow-wrap: break-word; }
  .case-detail__meta { gap: 18px 24px; margin: 24px 0; }
  .case-detail__meta p { line-height: 1.5; }
  .case-story { grid-template-columns: 1fr; gap: 26px; margin-top: 28px; }
  .case-story p { font-size: 13px; }
  .case-gallery { gap: 26px; }
  .case-gallery__item img { border-radius: 10px; }
}

/* Keep a real overlap on short/landscape screens, but use a single pinning
   position so five header tabs cannot consume the whole viewport. */
@media (max-height: 580px) {
  .project-stack { --stack-top: 12px; --stack-offset: 0px; --stack-tab: 58px; --stack-bottom: 16px; }
  .project-card { border-radius: 26px; }
  .project-number { font-size: 40px; }
  .project-mosaic { grid-template-columns: 2fr 1fr; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
  .project-visual--main { grid-column: 1; grid-row: 1 / span 2; }
}

@media (prefers-reduced-motion: reduce) {
  /* Native positioning remains functional; there is no animated scale/parallax. */
  .project-card { transition: none; }
}

/* TESTIMONIALS */

.testimonials {
  position: relative;
  min-height: 760px;
  padding: 130px var(--page) 150px;
  overflow: hidden;
}

.testimonial-title {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(70px, 7vw, 118px);
  line-height: .92;
  letter-spacing: -.01em;
  text-align: center;
}

.emoji-float {
  position: absolute;
  right: 15%;
  top: 160px;
  font-size: clamp(56px, 6vw, 96px);
  filter: saturate(.9);
  animation: emoji-bob 4.8s ease-in-out infinite;
}

@keyframes emoji-bob {
  50% { transform: translateY(-14px) rotate(5deg); }
}

.testimonial-grid {
  max-width: 1500px;
  margin: 90px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.testimonial-card {
  min-height: 260px;
  margin: 0;
  padding: 26px;
  border: 2px solid rgba(255,255,255,.62);
  border-radius: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255,255,255,.012);
}

.testimonial-card p {
  margin: 0;
  color: rgba(255,255,255,.77);
  font-size: 14px;
  line-height: 1.58;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 13px;
}

.avatar-placeholder {
  width: 54px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d8dce0;
  color: #202126;
  font-weight: 900;
}

.testimonial-card footer div {
  display: grid;
  gap: 4px;
}

.testimonial-card footer strong {
  font-size: 11px;
}

.testimonial-card footer small {
  color: rgba(255,255,255,.43);
  font-size: 8px;
}

/* SERVICES */

.services {
  padding: 110px var(--page) 135px;
}

.service-list {
  max-width: 1320px;
  margin: 78px auto 0;
  border-top: 1px solid var(--line-dark);
}

.service-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 34px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: padding-left .25s ease, background .25s ease;
}

.service-row:hover {
  padding-left: 18px;
  background: rgba(9,10,13,.025);
}

.service-number {
  font-family: "Anton", Impact, sans-serif;
  font-size: 52px;
  line-height: 1;
}

.service-row h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
}

.service-row p {
  max-width: 680px;
  margin: 0;
  color: rgba(10,11,14,.55);
  font-size: 14px;
  line-height: 1.55;
}

/* ABOUT */

.about {
  position: relative;
  min-height: 820px;
  padding: 150px var(--page);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
  margin: 46px auto 32px;
  color: rgba(255,255,255,.86);
  font-size: clamp(20px, 2vw, 31px);
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: -.035em;
  text-align: center;
}

.about-shape {
  position: absolute;
  z-index: 1;
  display: block;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.35));
  user-select: none;
  animation: shape-float 6s ease-in-out infinite;
}

.about-shape--one {
  left: 4%;
  top: 14%;
  color: #d8dde8;
  font-size: 110px;
}

.about-shape--two {
  right: 6%;
  top: 14%;
  color: #645cff;
  font-size: 120px;
  animation-delay: -.9s;
}

.about-shape--three {
  left: 2%;
  bottom: 16%;
  color: #ef4055;
  font-size: 115px;
  animation-delay: -2.1s;
}

.about-shape--four {
  right: 8%;
  bottom: 23%;
  color: #ad58ec;
  font-size: 105px;
  animation-delay: -3.4s;
}

@keyframes shape-float {
  50% { transform: translateY(-18px) rotate(6deg); }
}

/* CONTACT — V3.20. Scoped typography; no form, avatar or third-party widgets. */

.contact {
  padding: clamp(76px, 7.5vw, 120px) var(--page) clamp(80px, 8vw, 128px);
  scroll-margin-top: 20px;
}

.contact-inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  min-width: 0;
}

.contact-title {
  margin: 0;
  font-size: clamp(60px, 8.55vw, 150px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.contact-title__mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  /* Reserve the complete glyph box so masks cannot clip tall accents. */
  padding-bottom: .08em;
  margin-bottom: -.08em;
  max-width: 100%;
}
.contact-title__mask--first { display: block; }
.contact-title__mask--third { margin-left: -.04em; }
.contact-title__line { display: block; }

/* Baseline is visible. Only a successfully initialized observer arms motion. */
.contact.contact-motion-ready .contact-title__line {
  transform: translateY(112%);
  transition: transform 700ms cubic-bezier(.2,.72,.2,1);
}
.contact.contact-motion-ready .contact-title__mask--second .contact-title__line,
.contact.contact-motion-ready .contact-title__mask--third .contact-title__line {
  transition-delay: 100ms;
}
.contact.contact-motion-ready.is-contact-visible .contact-title__line {
  transform: translateY(0);
}
.contact.contact-motion-static .contact-title__line {
  transform: none;
  transition: none;
}

.contact-intro {
  margin: clamp(26px, 3vw, 44px) 0 0;
  max-width: 54ch;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.65;
  color: rgba(10, 11, 14, .72);
}

.contact-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px clamp(28px, 4.5vw, 76px);
  margin-top: clamp(24px, 3vw, 40px);
  width: fit-content;
  max-width: 100%;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-width: 44px;
  min-height: 52px;
  padding-block: 8px;
  font-size: clamp(23px, 2.4vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  text-decoration: none;
}
.contact-link__label {
  text-decoration-line: underline;
  text-decoration-color: rgba(10, 11, 14, .26);
  text-decoration-thickness: 1px;
  text-underline-offset: .23em;
  transition: text-decoration-color 180ms ease;
}
.contact-link--primary .contact-link__label { text-decoration-color: currentColor; }
.contact-link__arrow {
  display: inline-block;
  font-size: .86em;
  transition: transform 180ms ease;
}
.contact-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
  border-radius: 2px;
}
.contact-link:focus-visible .contact-link__label { text-decoration-color: currentColor; }
.contact-link:focus-visible .contact-link__arrow { transform: translate(3px, -3px); }
@media (hover: hover) and (pointer: fine) {
  .contact-link:hover .contact-link__label { text-decoration-color: currentColor; }
  .contact-link:hover .contact-link__arrow { transform: translate(3px, -3px); }
}
.contact-email {
  margin: 24px 0 0;
  width: fit-content;
  max-width: 100%;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.6;
  color: rgba(10, 11, 14, .68);
  overflow-wrap: anywhere;
  -webkit-user-select: text;
  user-select: text;
}

@media (max-width: 760px) {
  .contact-title { font-size: clamp(44px, 13.3vw, 88px); }
  .contact-title__mask { display: block; width: fit-content; margin-left: 0; }
  .contact.contact-motion-ready .contact-title__mask--third .contact-title__line {
    transition-delay: 200ms;
  }
  .contact-intro { max-width: 39ch; }
  .contact-intro__break { display: none; }
  .contact-links { flex-direction: column; align-items: flex-start; gap: 10px; }
  .contact-link { min-height: 52px; font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact.contact-motion-ready .contact-title__line,
  .contact-link .contact-link__arrow {
    transform: none !important;
    transition: none !important;
  }
}

/* FOOTER */

.site-footer {
  min-height: 310px;
  padding: 62px var(--page);
  border-radius: 42px 42px 0 0;
  display: grid;
  grid-template-columns: 1fr .35fr .55fr;
  gap: 44px;
  align-items: start;
}

.footer-mark {
  width: fit-content;
  font-family: "Anton", Impact, sans-serif;
  font-size: 84px;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.55);
}

.footer-column {
  min-width: 0;
  overflow-wrap: anywhere;
  display: grid;
  gap: 8px;
  font-size: 12px;
}

.footer-column strong {
  margin-bottom: 8px;
  font-size: 10px;
}

.footer-column a,
.footer-column span {
  color: rgba(255,255,255,.72);
}

/* RESPONSIVE */



/*
  Avatar vertical framing is driven primarily by viewport aspect ratio.
  Taller / squarer windows need less offset; wide / short windows need more.
*/
@media (min-aspect-ratio: 4/3) {
  .avatar-stage {
    --avatar-safe-top: clamp(118px, 10vh, 142px);
  }
}

@media (min-aspect-ratio: 3/2) {
  .avatar-stage {
    --avatar-safe-top: clamp(145px, 13vh, 176px);
  }
}

@media (min-aspect-ratio: 5/3) {
  .avatar-stage {
    --avatar-safe-top: clamp(172px, 16vh, 208px);
  }
}

@media (min-aspect-ratio: 16/9) {
  .avatar-stage {
    --avatar-safe-top: clamp(188px, 18vh, 228px);
  }
}


@media (max-width: 1000px) and (min-width: 761px) {
  .hero-title {
    top: clamp(132px, 15vw, 190px);
  }
}

@media (max-width: 1000px) {
  .hero-title {
    font-size: clamp(88px, 14vw, 150px);
  }

  .avatar-stage {
    width: min(58vw, 650px);
  }

  .hero-copy {
    top: 44%;
  }

  .hero-cta {
    right: 6%;
    top: 45%;
  }

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

  .testimonial-card {
    min-height: 210px;
  }

}

@media (max-width: 760px) {
  :root {
    --page: 18px;
    --radius-lg: 28px;
  }

  .cursor-glow {
    display: none;
  }

  .hero {
    min-height: 920px;
    max-height: none;
  }

  .hero-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 20px;
    padding-inline: 0;
  }

  .hero-nav a:nth-child(n) {
    justify-self: start;
  }

  .hero-nav a:nth-child(even) {
    justify-self: end;
  }

  .hero-title {
    top: 92px;
    left: var(--page);
    width: calc(100% - 36px);
    transform: none;
    white-space: normal;
    font-size: clamp(82px, 22vw, 132px);
    line-height: .86;
  }

  .hero-title[data-reveal],
  .hero-title[data-reveal].is-visible {
    transform: translateY(0);
  }

  .hero-copy {
    top: 355px;
    max-width: 230px;
    font-size: 13px;
  }

  .avatar-stage {
    --avatar-safe-top: clamp(132px, 13vh, 172px);
    left: 54%;
    top: -180px;
    bottom: -260px;
    width: min(96vw, 600px);
    height: auto;
  }

  .avatar-model {
    transform:
      translate3d(
        var(--model-x, 0px),
        calc(var(--model-y, 0px) + var(--avatar-safe-top)),
        0
      )
      scale(1.23);
  }

  .hero-cta {
    top: auto;
    right: 18px;
    bottom: 185px;
  }

  .hero-meta {
    bottom: 20px;
    flex-direction: column;
    gap: 6px;
  }

  .clients {
    padding-block: 80px 95px;
  }

  .projects {
    padding: 90px 18px 110px;
  }

  .section-title {
    font-size: clamp(76px, 20vw, 120px);
  }

  .testimonials {
    padding: 100px 18px 110px;
  }

  .emoji-float {
    right: 7%;
    top: 205px;
  }

  .service-row {
    grid-template-columns: 70px 1fr;
    gap: 18px;
  }

  .service-number {
    font-size: 40px;
  }

  .about {
    min-height: 720px;
  }

  .about-shape {
    opacity: .76;
  }

  .about-copy {
    font-size: 21px;
  }

  .contact {
    padding: 76px var(--page) 80px;
  }


  .site-footer {
    grid-template-columns: 1fr;
    min-height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}


/* V3.17 — factual positioning and compact editorial additions.
   Existing typography, avatar, animations, stack geometry and logo styles stay intact. */
.hero-positioning {
  position: absolute;
  z-index: 12;
  top: 39%;
  left: var(--page);
  width: 260px;
  max-width: calc(100% - 2 * var(--page));
}
.hero-positioning .hero-copy { position: static; max-width: none; }
.hero-context {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0;
}
/* The added sentence uses space inside the existing card, not a taller sticky tab.
   This preserves every exposed title/button and the V3.16 card-height formula. */
.project-card { grid-template-rows: calc(var(--stack-tab) - 2px) auto minmax(0, 1fr); }
.project-card__summary {
  max-width: 80ch;
  margin: 0 0 14px;
  color: #b2b4bd;
  font-size: 12px;
  line-height: 1.5;
}
.project-card__identity span:not(.project-number) { color: #a8a9b0; }
.case-context { margin-top: 4px; }
.case-context h3 { margin: 0 0 12px; font-size: 16px; line-height: 1.4; }
.case-story { gap: 28px 36px; margin-top: 30px; }
.case-story p { line-height: 1.65; }
.case-story__my-role, .case-story__key-decisions { grid-column: 1 / -1; }
.case-story__my-role p { max-width: 100ch; }
.case-story__key-decisions {
  padding: 24px 0;
  border-top: 1px solid #302c38;
  border-bottom: 1px solid #302c38;
}
.case-story__key-decisions > h3 { color: #d8c9ff; margin-bottom: 20px; }
.case-decisions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: decisions;
}
.case-detail--lcmd .case-decisions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-decisions li { min-width: 0; counter-increment: decisions; }
.case-decisions li::before {
  content: counter(decisions, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  color: #a396bd;
  font-size: 10px;
  letter-spacing: .12em;
}
.case-decisions h4 { margin: 0 0 8px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.case-story .case-decisions p { font-size: 13px; }
.case-impact-metric { display: grid; gap: 8px; margin: 0 0 16px; }
.case-impact-metric strong {
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(42px, 4.5vw, 62px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -.025em;
  color: #d8c9ff;
}
.case-detail--lcmd .case-impact-metric strong { color: #73d5c6; }
.case-impact-metric span { color: #d3ccd9; font-size: 11px; line-height: 1.5; }
.case-story p.case-output-label { color: #d8c9ff; font-size: 11px; margin-bottom: 10px; }
.testimonials--employer { min-height: 0; padding-block: 110px 120px; }
.testimonial-grid--employer { grid-template-columns: 1fr; max-width: 880px; margin-top: 64px; }
.testimonial-card--employer { min-height: 0; padding: clamp(26px, 3.5vw, 44px); gap: 28px; }
.testimonial-card--employer > p:first-child { font-size: clamp(16px, 1.5vw, 21px); line-height: 1.6; }
.testimonial-card--employer footer strong { font-size: 12px; }
.testimonial-card--employer footer small { font-size: 10px; color: #aaa6b0; }
.testimonial-card p.testimonial-adaptation { font-size: 10px; line-height: 1.5; color: #aaa6b0; }
/* Scope the longer heading; all original heading font families remain unchanged. */
.section-title--product-teams { font-size: clamp(62px, 7.8vw, 122px); line-height: .95; }
.design-ai { padding: 84px var(--page) 56px; }
.design-ai__inner {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 24px 54px;
  max-width: 1320px;
  margin: 0 auto;
}
.design-ai__inner > h2 { margin-top: 7px; line-height: 1.6; }
.design-ai__copy {
  max-width: 38ch;
  margin: 0;
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.03em;
  color: #e3dfea;
}
.design-ai__workflow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 11px;
  line-height: 1.5;
  color: #bfb5d1;
}
.design-ai__workflow li { white-space: nowrap; }
.design-ai__workflow li:not(:last-child)::after { content: "→"; margin: 0 13px; color: #7f768e; }
.about-experience {
  position: relative;
  z-index: 3;
  max-width: 680px;
  margin: -8px auto 32px;
  color: #b4afbf;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
}
@media (max-width: 1000px) {
  .hero-positioning { top: 44%; }
  .design-ai__inner { grid-template-columns: 1fr; gap: 20px; }
  .design-ai__copy { max-width: 44ch; }
}
@media (max-width: 760px) {
  .hero-positioning { top: 355px; width: 230px; }
  .hero-context { font-size: 10px; margin-top: 14px; }
  .project-card__summary { font-size: 11px; line-height: 1.5; margin-bottom: 12px; }
  .project-card__identity span:not(.project-number) { font-size: 9px; }
  .case-decisions, .case-detail--lcmd .case-decisions { grid-template-columns: 1fr; gap: 22px; }
  .case-story { gap: 24px; }
  .case-story__key-decisions { padding-block: 20px; }
  .case-impact-metric strong { font-size: 46px; }
  .testimonials--employer { padding-block: 90px; }
  .testimonial-grid--employer { margin-top: 56px; }
  .section-title--product-teams { font-size: clamp(42px, 11vw, 76px); }
  .service-row h3 { font-size: 16px; line-height: 1.35; }
  .design-ai { padding-block: 64px 32px; }
  .design-ai__workflow { font-size: 11px; row-gap: 12px; }
  .design-ai__workflow li:not(:last-child)::after { margin-inline: 10px; }
  .about-experience { max-width: 38ch; font-size: 13px; }
}

/* Keep the longer employer heading and added experience copy clear on phones.
   The floating shapes retain their original size, colour and animation. */
@media (max-width: 760px) {
  .testimonials--employer .testimonial-title { font-size: clamp(50px, 16vw, 70px); }
  .testimonials--employer .emoji-float { top: calc(90px + clamp(50px, 16vw, 70px) * 1.84); }
  .about-shape--three, .about-shape--four { bottom: 28px; }
}


/* V3.18 — two source-backed employer cards and subtle overlap depth.
   No change to sticky geometry, card dimensions, hero, avatar or type families. */
.testimonial-grid--employer {
  max-width: 1440px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}
.testimonial-card--employer {
  display: grid;
  grid-template-rows: 1fr auto auto;
  min-width: 0;
  gap: 24px;
  padding: clamp(26px, 2.8vw, 40px);
}
.testimonial-card--employer > p:first-child {
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.6;
}
.employer-logo {
  display: grid;
  place-items: center;
  flex: 0 0 76px;
  width: 76px;
  height: 48px;
  background: transparent;
  border: 0;
}
.employer-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.employer-logo--lcmd img { width: 44px; height: 46px; }
.employer-logo--ffuf img { width: 76px; height: auto; }
.testimonial-card--employer footer div { min-width: 0; }

/* JS supplies only a 0..1 overlap value. The opaque card background stays
   opaque; no opacity/scale/transform can leak the underlying card through it.
   Titles and buttons stay sharp. Blur is confined to the receding imagery. */
.project-card {
  --stack-depth: 0;
  border-color: rgba(230, 234, 239, calc(.52 - var(--stack-depth) * .23));
  filter: brightness(calc(1 - var(--stack-depth) * .22));
  box-shadow: 0 -14px 38px rgba(0, 0, 0, .2);
}
.project-card .project-mosaic {
  filter: blur(calc(var(--stack-depth) * 1.4px));
}
/* Restore full legibility when a keyboard user returns to a covered header. */
.project-card:focus-within {
  filter: none;
  border-color: rgba(230, 234, 239, .64);
}
.project-card:focus-within .project-mosaic { filter: none; }

@media (max-width: 900px) {
  .testimonial-grid--employer { grid-template-columns: 1fr; max-width: 680px; }
}
@media (max-width: 760px) {
  .testimonial-card--employer { padding: 26px; gap: 22px; }
  .project-card .project-mosaic { filter: blur(calc(var(--stack-depth) * .8px)); }
}
@media (prefers-reduced-motion: reduce) {
  .project-card, .project-card .project-mosaic { filter: none; }
}
