:root {
  --ink: #080a09;
  --ink-soft: #151815;
  --canvas: #080a09;
  --surface: #111411;
  --surface-soft: #0c0f0d;
  --text: #f4f6f1;
  --text-muted: #969d96;
  --line: rgba(244, 246, 241, .12);
  --line-dark: rgba(244, 246, 241, .16);
  --acid: #47ff68;
  --acid-dark: #47ff68;
  --on-dark: #f4f6f1;
  --shell: 1360px;
  --radius-card: 28px;
  --radius-small: 20px;
  --font-display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .78, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; width: 100%; }
::selection { background: var(--acid); color: var(--ink); }

html[lang="ru"] [data-lang-en],
html[lang="en"] [data-lang-ru] { display: none !important; }

.shell {
  width: min(calc(100% - 80px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--acid);
  color: var(--ink);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.topbar {
  position: fixed;
  z-index: 200;
  top: 16px;
  left: 50%;
  width: min(calc(100% - 48px), var(--shell));
  min-height: 64px;
  padding: 10px 12px 10px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: var(--on-dark);
  border: 1px solid transparent;
  border-radius: 16px;
  background: rgba(8, 10, 9, .22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -16px);
  transition: opacity .3s var(--ease), visibility .3s ease, transform .3s var(--ease), background .3s ease, border-color .3s ease;
}

.topbar.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.topbar.scrolled {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(8, 10, 9, .88);
}

.brand {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.desktop-nav { display: flex; align-items: center; gap: 30px; }
.desktop-nav a { color: rgba(244, 246, 241, .68); font-size: 13px; font-weight: 600; transition: color .2s ease; }
.desktop-nav a:hover { color: var(--on-dark); }
.top-actions { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }

.social-link,
.lang-btn {
  min-width: auto;
  height: 38px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(244, 246, 241, .64);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
  transition: color .2s ease;
}

.social-link:hover,
.lang-btn:hover { color: var(--on-dark); }

.social-link { width: 28px; }
.social-link svg,
.mobile-socials svg { width: 18px; height: 18px; fill: currentColor; }

.nav-cta {
  height: 40px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: var(--acid);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  transition: background .2s ease;
}

.nav-cta:hover { background: #78ff8f; }

.menu-button {
  display: none;
  width: 42px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.menu-button span { display: block; width: 16px; height: 1px; margin: 5px auto; background: currentColor; transition: transform .25s ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  z-index: 180;
  inset: 0;
  padding: 112px 28px 40px;
  display: flex;
  flex-direction: column;
  background: rgba(8, 10, 9, .98);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}

.mobile-nav.open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a { padding: 18px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.mobile-socials { margin-top: auto; display: flex; gap: 22px; }
.mobile-nav .mobile-socials a { width: 42px; height: 42px; padding: 0; display: grid; place-items: center; border: 0; color: rgba(244, 246, 241, .68); }

.hero-scroll { position: relative; height: 245svh; background: var(--ink); }
.hero-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }

.hero-media,
.hero-poster,
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-poster,
.hero-video { object-fit: cover; object-position: 58% center; }

.hero-poster { z-index: 1; }
.hero-video { z-index: 2; opacity: 0; transition: opacity .25s linear; }
.hero-video.is-ready { opacity: 1; }

.hero-loader {
  position: absolute;
  z-index: 6;
  left: max(20px, env(safe-area-inset-left));
  bottom: calc(28px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 9px;
  padding: 12px 18px 12px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(8, 10, 9, .84);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  opacity: 1;
  transition: opacity .35s ease, visibility 0s linear 0s;
  pointer-events: none;
}
.hero-loader[hidden] { display: none; }
.hero-loader__error { display: none; grid-column: 1 / -1; }
.hero-loader.is-error .hero-loader__error { display: block; }
.hero-loader.is-error .hero-loader__label,
.hero-loader.is-error .hero-loader__ring,
.hero-loader.is-error .hero-loader__bar { display: none !important; }
.hero-loader.is-done { opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
.hero-loader__ring {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(71, 255, 104, .22);
  border-top-color: var(--acid);
  border-radius: 50%;
  animation: hero-loader-spin .9s linear infinite;
}
.hero-loader__bar {
  grid-column: 1 / -1;
  position: relative;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(244, 246, 241, .14);
}
.hero-loader__bar i {
  position: absolute;
  inset: 0;
  background: var(--acid);
  transform-origin: left center;
  transform: scaleX(var(--loader-progress, 0));
  transition: transform .2s linear;
}
.hero-loader.is-indeterminate .hero-loader__bar i {
  width: 40%;
  transform: none;
  transition: none;
  animation: hero-loader-slide 1.3s ease-in-out infinite;
}
@keyframes hero-loader-spin { to { transform: rotate(360deg); } }
@keyframes hero-loader-slide {
  from { left: -40%; }
  to { left: 100%; }
}

.hero-overlay {
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 6, 5, .96) 0%, rgba(4, 6, 5, .78) 31%, rgba(4, 6, 5, .2) 62%, rgba(4, 6, 5, .04) 100%),
    linear-gradient(180deg, rgba(4, 6, 5, .22) 0%, transparent 66%, rgba(4, 6, 5, .76) 100%);
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 4; height: 100%; display: flex; align-items: center; padding-top: 44px; }
.hero-copy-inner { width: min(760px, 56vw); will-change: transform, opacity; }

.eyebrow {
  margin: 0 0 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(244, 246, 241, .72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--acid); }

.hero-copy h1 {
  max-width: 790px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 5.6vw, 96px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero-copy h1 em { color: var(--acid); font-style: normal; }
.hero-lead { max-width: 610px; margin: 30px 0 0; color: rgba(244, 246, 241, .68); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.58; }
.hero-scroll-cue {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: calc(56px + env(safe-area-inset-bottom));
  width: 30px;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(244, 246, 241, .72);
  transform: translateX(-50%);
  pointer-events: none;
  animation: hero-cue-float 2s ease-in-out infinite;
}

.hero-scroll-mouse {
  position: relative;
  width: 24px;
  height: 38px;
  border: 1px solid currentColor;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(111, 255, 128, .06), 0 8px 28px rgba(0, 0, 0, .24);
}

.hero-scroll-mouse i {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: var(--acid);
  transform: translateX(-50%);
  animation: hero-scroll-wheel 2s ease-in-out infinite;
}

.hero-scroll-chevron {
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

@keyframes hero-scroll-wheel {
  0% { opacity: 0; transform: translate(-50%, 0); }
  20% { opacity: 1; }
  70%, 100% { opacity: 0; transform: translate(-50%, 13px); }
}

@keyframes hero-cue-float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 3px); }
}

.hero-progress { display: none; }
.hero-progress i { display: block; width: 100%; height: 100%; background: var(--acid); transform: scaleY(0); transform-origin: top; }

.section { position: relative; padding: clamp(104px, 9vw, 144px) 0; }

.section-kicker {
  margin: 0 0 54px;
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

.services {
  z-index: 5;
  margin-top: -48px;
  padding-top: clamp(128px, 10vw, 160px);
  border-radius: 48px 48px 0 0;
  background: var(--canvas);
  border-top: 1px solid var(--line);
  color: var(--text);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}

.service-row {
  min-width: 0;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 10px 10px 32px;
  overflow: hidden;
  border-radius: 30px;
  background: #101310;
  isolation: isolate;
  transition: background-color .28s ease, transform .28s var(--ease);
}

.service-row:hover { background: #171b17; transform: translateY(-5px); }
.service-row:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }

.service-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 23px;
  background: #050706;
}

.service-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.04) brightness(.9);
  transition: filter .35s ease;
}

.service-row:hover .service-media img { filter: saturate(1) contrast(1.02) brightness(1); }

.service-copy {
  min-height: 0;
  padding: 30px 22px 0;
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.service-copy > span,
.case-copy > span,
.work-row > span,
.credential > span,
.resource-row > span,
.press-row > span {
  display: none;
}

.service-copy h2 {
  max-width: 100%;
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(28px, 2.3vw, 38px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.015em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.service-copy p { max-width: 38ch; margin: auto 0 0; color: var(--text-muted); font-size: 14px; line-height: 1.58; }
.service-copy h2 { transition: color .28s ease; }
.service-row:hover .service-copy h2 { color: var(--acid); }

.cases { border-top: 1px solid var(--line); background: var(--surface-soft); color: var(--text); }
.case-list { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }

.case-row {
  min-width: 0;
  min-height: 0;
  padding: clamp(30px, 3vw, 44px) 0;
  display: grid;
  grid-template-columns: minmax(320px, 44%) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.case-row:nth-child(even) .case-media { order: 2; }
.case-row:nth-child(even) .case-copy { order: 1; }
/* Product mockup: dark-green stage (.case-media) holding a browser frame (.case-frame).
   Chrome bar = .case-frame::before (three muted dots), address pill = .case-frame::after. Image is never cropped. */
.case-media {
  position: relative;
  min-width: 0;
  max-width: 100%;
  padding: clamp(18px, 2.4vw, 34px);
  border: 1px solid rgba(71, 255, 104, .14);
  border-radius: 22px;
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(71, 255, 104, .10), transparent 62%),
    linear-gradient(160deg, rgba(71, 255, 104, .07) 0%, #0a100c 55%, #070a08 100%);
  transition: border-color .35s ease;
}

.case-frame {
  position: relative;
  min-width: 0;
  max-width: 100%;
  padding-top: 30px;
  overflow: hidden;
  border: 1px solid rgba(244, 246, 241, .14);
  border-radius: 12px;
  background: #0b0e0c;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .35), 0 12px 24px -8px rgba(0, 0, 0, .5), 0 32px 64px -24px rgba(0, 0, 0, .65);
}

.case-frame::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 30px;
  border-bottom: 1px solid rgba(244, 246, 241, .08);
  background:
    radial-gradient(circle at 5px 50%, rgba(244, 246, 241, .26) 0 3px, transparent 3.5px) 14px 0 / 14px 100% no-repeat,
    radial-gradient(circle at 5px 50%, rgba(244, 246, 241, .26) 0 3px, transparent 3.5px) 28px 0 / 14px 100% no-repeat,
    radial-gradient(circle at 5px 50%, rgba(244, 246, 241, .26) 0 3px, transparent 3.5px) 42px 0 / 14px 100% no-repeat,
    #151915;
}

.case-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 50%;
  width: min(46%, 280px);
  height: 16px;
  border-radius: 8px;
  background: rgba(244, 246, 241, .06);
  transform: translateX(-50%);
}

.case-media img { display: block; width: 100%; max-width: 100%; height: auto; }
.case-row:hover .case-media { border-color: rgba(71, 255, 104, .3); }
.case-copy { min-width: 0; position: relative; padding: 0; display: flex; flex-direction: column; justify-content: center; }

.case-copy h2 {
  max-width: 100%;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(25px, 2vw, 32px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.015em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.case-copy p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.58; }
.case-copy h2 { transition: color .2s ease; }
.case-row:hover .case-copy h2 { color: var(--acid); }

.work { background: var(--ink); color: var(--on-dark); }
.work-list { border-top: 1px solid var(--line-dark); }

.work-row {
  min-height: 160px;
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(360px, 1.25fr);
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line-dark);
}

.work-row h2 { margin: 0; font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 34px); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; overflow-wrap: break-word; }
.work-row p { margin: 0; color: rgba(244, 246, 241, .62); font-size: 15px; line-height: 1.55; }
.about { overflow: hidden; background: var(--canvas); color: var(--text); }
.about::before { display: none; }
.about-grid { display: grid; grid-template-columns: minmax(300px, 5fr) minmax(0, 7fr); gap: clamp(56px, 7vw, 112px); align-items: center; }
.about-image { overflow: hidden; border-radius: var(--radius-card); background: #050706; }
.about-image img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 24%; }
.about-copy .section-kicker { margin-bottom: 38px; font-size: clamp(36px, 4.4vw, 68px); }
.about-copy > p { max-width: 760px; margin: 0 0 24px; color: var(--text-muted); font-size: clamp(17px, 1.35vw, 21px); line-height: 1.58; }
.about-copy strong { color: var(--text); font-weight: 700; }

.credential-grid {
  margin-top: clamp(76px, 8vw, 118px);
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.credential {
  min-height: 0;
  padding: clamp(26px, 2.6vw, 38px) 0;
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  align-items: baseline;
  gap: clamp(36px, 6vw, 112px);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.credential h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.015em;
  overflow-wrap: break-word;
}

.credential p { max-width: 660px; margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.58; }

.contact { min-height: 520px; display: flex; align-items: center; border-block: 1px solid var(--line); background: #0e120f; color: var(--on-dark); }
.contact .shell { display: flex; flex-direction: column; align-items: flex-start; }
.contact h2 { max-width: 1120px; margin: 0; font-family: var(--font-display); font-size: clamp(42px, 6vw, 92px); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: break-word; }
.contact h2 em { color: var(--acid); font-style: normal; }
.contact p { margin: 34px 0 0; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; }
.contact-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }

.button {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  transition: background .2s ease, color .2s ease;
}

.button.primary { border-color: var(--acid); background: var(--acid); color: var(--ink); }
.button.primary:hover { background: #78ff8f; }
.button.secondary { background: transparent; color: var(--on-dark); }
.button.secondary:hover { border-color: rgba(244, 246, 241, .42); background: rgba(255, 255, 255, .05); }

.resources { background: var(--canvas); color: var(--text); }
.resource-list { border-top: 1px solid var(--line); }

.resource-row {
  min-width: 0;
  min-height: 0;
  padding: 24px 0;
  display: block;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.resource-row > div { width: 100%; display: grid; grid-template-columns: minmax(220px, .48fr) minmax(0, 1fr); align-items: baseline; gap: 34px; }
.resource-row h2 { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 1.9vw, 29px); font-weight: 700; line-height: 1.18; letter-spacing: -.01em; overflow-wrap: break-word; }
.resource-row p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.resource-row h2 { transition: color .2s ease; }
a.resource-row:hover h2 { color: var(--acid); }
.resource-row b { display: none; }
.resource-more { display: inline-block; margin-top: 34px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 700; }

.press { background: var(--ink); color: var(--on-dark); }
.press-list { border-top: 1px solid var(--line-dark); }

.press-row {
  min-height: 116px;
  padding: 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line-dark);
}

.press-row h2 { max-width: 1080px; margin: 0; font-family: var(--font-display); font-size: clamp(21px, 1.9vw, 29px); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: break-word; transition: color .2s ease; }
.press-row b { display: none; }
.press-row:hover h2 { color: var(--acid); }

footer { padding: 34px 0; border-top: 1px solid var(--line-dark); background: #030403; color: rgba(244, 246, 241, .5); }
footer .shell { display: flex; align-items: center; justify-content: space-between; gap: 30px; font-size: 12px; }
footer nav { display: flex; gap: 24px; }
footer a:hover { color: var(--on-dark); }

/* Clients proof strip (monochrome logos, quiet secondary section) */
/* Shared client-logo system. Mirrored for .case-client-* in case-detail.css (that page does not load this file).
   Used on /, /consulting/ and /cases/corporate-ai-consulting/. Keep values in sync. */
.client-list { --logo-cell-h: 52px; --logo-word-h: 32px; --logo-mark-size: 108px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px clamp(16px, 2.5vw, 40px); align-items: start; margin: 0; padding: 0; list-style: none; }
.client-list .client { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; text-align: center; }
.client-list .client-logo { display: flex; align-items: center; justify-content: center; width: 100%; height: var(--logo-cell-h); overflow: hidden; }
.client-list .client-logo img { display: block; width: auto; height: auto; max-width: 78%; max-height: var(--logo-word-h); object-fit: contain; filter: brightness(0) invert(1); opacity: .85; transition: opacity .4s var(--ease); }
.client-list .client:hover .client-logo img { opacity: 1; }
/* Size modifier only: the Delta PNG has wide empty margins, so the square mark is enlarged and cropped to its artwork. Cell width stays identical. */
.client-list .client-logo--mark img { flex: none; width: var(--logo-mark-size); height: var(--logo-mark-size); max-width: none; max-height: none; clip-path: inset(24% 26%); transform: translateX(10%); }
.client-list .client-name { max-width: 24ch; font-family: var(--font-body); font-size: 15px; line-height: 1.35; letter-spacing: normal; color: rgba(244, 246, 241, .78); text-wrap: balance; overflow-wrap: break-word; }

/* Corporate consulting proof block */
.clients { padding-block: clamp(40px, 4vw, 64px); }
.corp-head { max-width: 760px; }
.corp-kicker { margin: 0 0 20px; font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--acid); }
.corp-title { margin: 0 0 24px; font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 48px); font-weight: 700; line-height: 1.14; letter-spacing: -.015em; text-wrap: balance; overflow-wrap: break-word; }
.corp-lead { margin: 0 0 14px; max-width: 680px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--text); }
.corp-audience { margin: 0; max-width: 680px; font-size: 15px; color: var(--text-muted); }

.corp-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 28px 0 0; font-size: 16px; font-weight: 600; }
.corp-links a { color: var(--text); border-bottom: 1px solid var(--acid); padding-bottom: 2px; transition: color .3s var(--ease); }
.corp-links a:hover { color: var(--acid); }

.corp-caption { margin: clamp(28px, 3vw, 40px) 0 18px; max-width: 640px; font-size: 16px; color: rgba(244, 246, 241, .78); }

/* Desktop: head and links stack in the left column; caption and a 2x2 logo grid sit on the right (header uses display: contents) */
@media (min-width: 961px) {
  #clients .shell { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-auto-rows: auto; column-gap: clamp(48px, 6vw, 96px); align-items: start; }
  #clients .corp-head { display: contents; }
  #clients .corp-kicker { grid-area: 1 / 1; margin-bottom: 18px; }
  #clients .corp-title { grid-area: 2 / 1; margin: 0 0 18px; }
  #clients .corp-lead { grid-area: 3 / 1; margin: 0 0 12px; }
  #clients .corp-audience { grid-area: 4 / 1; }
  #clients .corp-links { grid-area: 5 / 1; margin-top: 22px; }
  #clients .corp-caption { grid-area: 2 / 2; align-self: end; margin: 0 0 16px; max-width: none; }
  #clients .client-list { grid-area: 3 / 2 / span 3; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
}

@media (max-width: 800px) {
  .client-list { --logo-cell-h: 48px; --logo-word-h: 28px; --logo-mark-size: 96px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .client-logo img { transition: none; }
}

@media (max-width: 1240px) {
  .shell { width: min(calc(100% - 48px), var(--shell)); }
  .desktop-nav { display: none; }
  .topbar { grid-template-columns: 1fr auto; }

  .case-row { grid-template-columns: minmax(280px, 42%) minmax(0, 58%); }
  .case-copy { min-height: 0; padding: 0; }
  .case-copy h2 { font-size: clamp(24px, 2.4vw, 30px); }
  .case-copy p { font-size: 14px; }

}

@media (max-width: 1060px) {
  /* Tablet: one column, each card media left / copy right (no 2+1 asymmetry) */
  .service-list { grid-template-columns: minmax(0, 1fr); }
  .service-row { min-height: 0; flex-direction: row; align-items: stretch; }
  .service-media { flex: 0 0 46%; align-self: flex-start; }
  .service-copy { padding: 22px 26px 12px; }
  .service-copy h2 { margin-bottom: 16px; }
  .service-copy p { margin-top: 0; max-width: 46ch; }

  .work-row { grid-template-columns: minmax(180px, .7fr) minmax(280px, 1.2fr); gap: 22px; }
  .about-grid { gap: 52px; }
}

@media (max-width: 800px) {
  .shell { width: min(calc(100% - 36px), var(--shell)); }

  .topbar { top: 10px; width: calc(100% - 20px); min-height: 56px; padding: 8px 8px 8px 15px; border-radius: 12px; }
  .brand { font-size: 14px; }
  .social-link, .nav-cta { display: none; }
  .menu-button { display: block; }

  .hero-scroll { height: 225svh; }
  .hero-poster, .hero-video { object-position: 88% center; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(4, 6, 5, .18) 0%, rgba(4, 6, 5, .04) 42%, rgba(4, 6, 5, .94) 82%),
      linear-gradient(90deg, rgba(4, 6, 5, .26), transparent 70%);
  }

  .hero-copy { align-items: flex-end; padding-top: 0; padding-bottom: max(94px, env(safe-area-inset-bottom)); }
  .hero-copy-inner { width: 100%; }
  .eyebrow { margin-bottom: 18px; font-size: 9px; }
  .hero-copy h1 { max-width: 96%; font-size: clamp(36px, 9.8vw, 52px); line-height: 1.1; }
  .hero-lead { max-width: 94%; margin-top: 18px; font-size: 13px; line-height: 1.48; }
  .hero-scroll-cue { bottom: calc(36px + env(safe-area-inset-bottom)); }
  .hero-progress { right: 12px; bottom: 20px; height: 62px; }

  .section { padding: 92px 0; }
  .section-kicker { margin-bottom: 38px; font-size: clamp(34px, 9.6vw, 54px); line-height: 1.12; }
  .services { margin-top: -28px; padding-top: 104px; border-radius: 32px 32px 0 0; }

  .service-list { grid-template-columns: 1fr; gap: 16px; }
  .service-row { min-height: 0; flex-direction: column; padding: 8px 8px 26px; border-radius: 26px; }
  .service-row:hover { transform: none; }
  .service-media { flex: none; align-self: auto; aspect-ratio: 16 / 10; border-radius: 20px; }
  .service-copy { min-height: 0; padding: 26px 18px 0; }
  .service-copy p { margin-top: auto; }
  .service-copy h2 { margin: 0 0 18px; font-size: 30px; line-height: 1.15; }
  .service-copy p { font-size: 14px; }

  .case-list { gap: 12px; }
  .case-row { min-height: 0; grid-template-columns: 1fr; gap: 24px; }
  .case-row:nth-child(even) .case-media,
  .case-row:nth-child(even) .case-copy { order: initial; }
  .case-media { padding: 12px; border-radius: 16px; }
  .case-frame { padding-top: 26px; border-radius: 10px; }
  .case-frame::before { height: 26px; background-position: 12px 0, 24px 0, 36px 0, 0 0; }
  .case-frame::after { top: 5px; height: 16px; }
  .case-copy { padding: 26px 24px 30px; }
  .case-copy h2 { margin: 0 0 16px; font-size: 26px; line-height: 1.18; }
  .case-copy p { font-size: 13px; line-height: 1.55; }

  .work-row { min-height: 0; padding: 30px 0; grid-template-columns: 1fr; gap: 10px; }
  .work-row h2 { font-size: 26px; line-height: 1.16; }
  .work-row p { grid-column: 1; }
  .work-row p { margin-top: 6px; font-size: 13px; }

  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-image img { aspect-ratio: 16 / 13; object-position: center 24%; }
  .about-copy .section-kicker { margin-bottom: 30px; }
  .about-copy > p { font-size: 16px; }

  .credential-grid { margin-top: 68px; }
  .credential { padding: 25px 0; grid-template-columns: 1fr; gap: 10px; }
  .credential h3 { font-size: 23px; line-height: 1.18; }
  .credential p { font-size: 14px; }

  .contact { min-height: 500px; }
  .contact h2 { font-size: clamp(34px, 10vw, 56px); line-height: 1.1; }
  .contact p { margin-top: 28px; font-size: 15px; }

  .resource-list { display: block; }
  .resource-row { min-height: 0; padding: 22px 0; }
  .resource-row > div { grid-template-columns: 1fr; gap: 8px; }
  .resource-row h2 { font-size: 23px; }

  .press-row { min-height: 0; padding: 26px 0; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .press-row h2 { font-size: 20px; }

  footer .shell { align-items: flex-start; flex-direction: column; }
  footer nav { flex-wrap: wrap; gap: 14px 20px; }
}

@media (max-width: 420px) {
  .shell { width: calc(100% - 28px); }
  .hero-copy h1 { font-size: 38px; line-height: 1.1; }
  .hero-lead { max-width: calc(100% - 10px); }
  .section-kicker { font-size: 34px; }
  .service-copy h2 { font-size: 27px; }
  .case-copy h2 { font-size: 24px; }
  .contact-actions { width: 100%; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-scroll { height: 100svh; }
  .hero-video { display: none; }
  .hero-loader { display: none !important; }
  .hero-loader__ring,
  .hero-loader__bar i { animation: none; transition: none; }
  .hero-scroll-cue,
  .hero-scroll-mouse i { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .service-media img,
  .case-media,
  .case-media img,
  .service-copy::after,
  .case-copy::after,
  .resource-row b,
  .press-row b { transition: none; }
}
