@import url("https://fonts.googleapis.com/css2?family=Onest:wght@500;600;700;800;900&display=swap&subset=cyrillic");

:root {
  --ink: #111217;
  --ink-soft: #20242c;
  --paper: #f6f7f2;
  --surface: #ffffff;
  --surface-tint: #fff8d8;
  --muted: #666d78;
  --line: rgba(17, 18, 23, .12);
  --accent: #ffd21e;
  --signal: #ffd21e;
  --success: #16d783;
  --sky: #66cfff;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 26px 70px rgba(17, 18, 23, .16);
  --shadow-soft: 0 16px 38px rgba(17, 18, 23, .10);
  --scroll-turn: 0deg;
  --scroll-turn-soft: 0deg;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Onest", "Manrope", "Golos Text", Arial, "Helvetica Neue", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background:
    linear-gradient(rgba(17,18,23,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,18,23,.035) 1px, transparent 1px);
  background-size: 36px 36px;
}

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

i[data-lucide] {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

svg {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

.site-header,
main,
.footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 24px;
  right: 24px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 18px;
  color: #fff;
  background: rgba(17, 18, 23, .82);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  box-shadow: 0 14px 40px rgba(0,0,0,.20);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 12px;
  box-shadow: inset 0 -3px 0 rgba(17,18,23,.12);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav a {
  padding: 9px 12px;
  border-radius: 999px;
  transition: color .18s ease, background .18s ease;
}

.nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.10);
}

.lang {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
}

.lang a {
  min-width: 38px;
  padding: 7px 10px;
  text-align: center;
  font-size: 12px;
}

.lang .active {
  color: var(--ink);
  background: var(--accent);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17,18,23,.92) 0%, rgba(17,18,23,.76) 48%, rgba(17,18,23,.36) 100%),
    var(--hero-image) center/cover no-repeat;
  transform: scale(1.03);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(246,247,242,0), var(--paper));
}

.hero-inner,
.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(300px, .58fr);
  gap: 48px;
  align-items: center;
  padding: 132px 0 122px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--success);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: 78px;
  font-weight: 900;
  text-transform: uppercase;
  text-wrap: balance;
}

.lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.80);
  font-size: 21px;
}

.hero-proof,
.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-proof {
  margin-top: 24px;
}

.hero-proof span,
.contact-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-proof span {
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
}

.hero-board {
  align-self: end;
  padding: 20px;
  color: var(--ink);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.50);
  border-radius: 30px;
  box-shadow: var(--shadow);
  animation: boardFloat 5.5s ease-in-out infinite;
}

.hero-command {
  display: grid;
  gap: 16px;
}

.orbit-stack {
  position: relative;
  height: 220px;
  margin: -2px -2px 2px;
  overflow: hidden;
  perspective: 760px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 52%, rgba(255,218,45,.34), transparent 0 18%, rgba(255,218,45,0) 34%),
    radial-gradient(circle at 72% 26%, rgba(54,163,255,.24), transparent 30%),
    linear-gradient(145deg, #15171d, #262a31);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  transform-style: preserve-3d;
}

.orbit-stack::before,
.orbit-stack::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-stack::before {
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle, #000 0 54%, transparent 70%);
  transform: rotateX(62deg) rotateZ(var(--scroll-turn-soft));
}

.orbit-stack::after {
  border: 1px solid rgba(255,255,255,.12);
  transform: rotateX(62deg) rotateZ(var(--scroll-turn-soft));
}

.orbit-ring,
.orbit-node,
.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-style: preserve-3d;
}

.orbit-ring {
  width: var(--size);
  height: var(--size);
  margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  border: 1px solid var(--ring);
  border-radius: 50%;
  transform: rotateX(62deg) rotateZ(calc(var(--spin) + var(--scroll-turn)));
  animation: orbitSpin var(--speed) linear infinite;
}

.ring-a { --size: 188px; --ring: rgba(255,218,45,.72); --spin: 0deg; --speed: 18s; }
.ring-b { --size: 138px; --ring: rgba(54,163,255,.55); --spin: 26deg; --speed: 14s; }
.ring-c { --size: 92px; --ring: rgba(20,201,121,.58); --spin: -18deg; --speed: 11s; }

.orbit-node {
  display: grid;
  place-items: center;
  min-width: 48px;
  min-height: 30px;
  padding: 0 10px;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
}

.node-a { transform: translate3d(-130px, -42px, 58px); }
.node-b { transform: translate3d(88px, -70px, 42px); }
.node-c { transform: translate3d(76px, 66px, 54px); }

.orbit-core {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -46px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(255,218,45,.14), 0 20px 60px rgba(255,218,45,.30);
  transform: translateZ(72px);
}

.orbit-core b {
  font-size: 25px;
  line-height: 1;
}

.orbit-core small {
  margin-top: -24px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.board-top,
.signal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.board-top {
  padding: 4px 2px 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.board-top b {
  position: relative;
  color: var(--success);
}

.board-top b::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(22,215,131,.16);
}

.lead-card {
  display: grid;
  gap: 7px;
  padding: 16px;
  background: var(--surface-tint);
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(17,18,23,.07);
}

.lead-card span,
.lead-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.lead-card strong {
  font-size: 22px;
  line-height: 1.08;
}

.signal-row {
  margin-top: 18px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-row strong {
  padding: 7px 12px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 999px;
}

.board-bars {
  display: grid;
  gap: 9px;
  margin: 20px 0;
}

.board-bars span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: var(--ink);
  transform-origin: left center;
  animation: barPulse 3.8s ease-in-out infinite;
}

.board-bars span:nth-child(1) { width: 58%; animation-delay: .1s; }
.board-bars span:nth-child(2) { width: 82%; background: var(--signal); animation-delay: .35s; }
.board-bars span:nth-child(3) { width: 68%; animation-delay: .6s; }
.board-bars span:nth-child(4) { width: 92%; background: var(--success); animation-delay: .85s; }

.hero-board p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button.primary {
  color: var(--ink);
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(255,210,30,.28);
}

.button.dark {
  color: #fff;
  background: var(--ink);
}

.button.light {
  color: #fff;
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.24);
}

.button.ghost {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(17,18,23,.16);
}

.button.primary:hover {
  box-shadow: 0 18px 38px rgba(255,210,30,.34);
}

.hero-metrics {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1180px, calc(100% - 48px));
  margin: -74px auto 0;
  padding: 10px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(17,18,23,.08);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.metric {
  min-height: 126px;
  padding: 24px;
  border-radius: 22px;
}

.metric:nth-child(2) {
  background: var(--ink);
  color: #fff;
}

.metric strong {
  display: block;
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.metric:nth-child(2) span { color: rgba(255,255,255,.70); }

section { padding: 104px 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 40px;
  align-items: start;
  margin-bottom: 36px;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 11px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-head h2 {
  max-width: 820px;
  font-size: 56px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.case,
.step,
.line-map article {
  background: rgba(255,255,255,.90);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.card {
  min-height: 100%;
  padding: 26px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.card:hover,
.case:hover,
.line-map article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 15px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.line-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.line-map article {
  min-height: 258px;
  padding: 24px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.line-map b {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 40px;
  color: var(--ink);
  background: var(--surface-tint);
  border-radius: 14px;
  font-size: 13px;
}

.line-map h3 {
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
}

.line-map p {
  color: var(--muted);
}

.band {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(255,210,30,.12), transparent 44%),
    var(--ink);
}

.band .section-kicker {
  color: var(--ink);
  background: var(--accent);
}

.band .section-head p,
.band .card p,
.band .card li,
.band .line-map p,
.band .step p { color: rgba(255,255,255,.86); }
.band .card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); }
.band .card h3,
.band .line-map h3,
.band .step h3 { color: #fff; }
.band .step,
.band .line-map article {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.14);
}

.case-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}

.case {
  padding: 30px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.case strong {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 11px;
  color: var(--ink);
  background: var(--surface-tint);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.case h3 {
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
}

.case p { color: var(--muted); }

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.case-stats span {
  padding: 14px;
  color: var(--muted);
  background: var(--paper);
  border-radius: 16px;
  font-size: 13px;
}

.case-stats b {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step {
  padding: 26px;
}

.step b { color: var(--signal); }
.step h3 { margin: 16px 0 10px; font-size: 22px; }
.step p { margin: 0; color: var(--muted); }

.contact-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.contact-panel {
  padding: 32px;
  color: #fff;
  background:
    linear-gradient(130deg, rgba(255,210,30,.18), transparent 55%),
    var(--ink);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.contact-panel p { color: rgba(255,255,255,.74); }

.contact-badges {
  margin-top: 22px;
}

.contact-badges span {
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
}

.form-intro {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}

.form-intro span {
  width: max-content;
  padding: 7px 11px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.form-intro h3 {
  font-size: 28px;
  line-height: 1.05;
  text-transform: none;
}

.form-intro p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(17,18,23,.16);
  border-radius: 16px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,210,30,.22);
}

textarea {
  min-height: 112px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-status {
  min-height: 22px;
  color: var(--ink);
  font-weight: 900;
}

.footer {
  padding: 34px 40px;
  color: rgba(255,255,255,.72);
  background: var(--ink);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 154px 0 78px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 22%, rgba(255,218,45,.30), transparent 25%),
    radial-gradient(circle at 88% 76%, rgba(54,163,255,.20), transparent 28%),
    linear-gradient(120deg, rgba(255,210,30,.18), rgba(102,207,255,.10)),
    var(--ink);
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.page-hero::before {
  right: max(18px, calc((100vw - 1180px) / 2));
  top: 110px;
  width: min(38vw, 430px);
  height: 240px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(255,218,45,.70), rgba(54,163,255,.42)),
    linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,0));
  box-shadow: 0 38px 120px rgba(0,0,0,.30);
  transform: perspective(760px) rotateX(58deg) rotateZ(calc(-18deg + var(--scroll-turn-soft)));
  opacity: .72;
}

.page-hero::after {
  right: max(40px, calc((100vw - 1180px) / 2 + 126px));
  top: 224px;
  width: 210px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 0 34px rgba(255,255,255,.30);
  transform: rotate(-18deg);
}

.page-hero .section-inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 64px;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255,255,255,.78);
  font-size: 19px;
}

@keyframes heroDrift {
  from { transform: scale(1.03) translateX(-8px); }
  to { transform: scale(1.06) translateX(10px); }
}

@keyframes boardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes orbitSpin {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}

@keyframes engineDrift {
  0%, 100% { transform: rotateX(58deg) rotateZ(calc(-28deg + var(--scroll-turn-soft))) translate3d(0, 0, 0); }
  50% { transform: rotateX(60deg) rotateZ(calc(-24deg + var(--scroll-turn-soft))) translate3d(0, -10px, 0); }
}

@keyframes planeLiftA {
  0%, 100% { transform: translateZ(78px) translate3d(0, 0, 0); }
  50% { transform: translateZ(108px) translate3d(10px, -12px, 0); }
}

@keyframes planeLiftB {
  0%, 100% { transform: translateZ(36px) translate3d(0, 0, 0); }
  50% { transform: translateZ(64px) translate3d(-10px, 10px, 0); }
}

@keyframes planeLiftC {
  0%, 100% { transform: translateZ(118px) translate3d(0, 0, 0); }
  50% { transform: translateZ(152px) translate3d(8px, 8px, 0); }
}

@keyframes pulseFloat {
  0%, 100% { transform: translateZ(150px) scale(1); }
  50% { transform: translateZ(178px) scale(1.08); }
}

@keyframes beamMove {
  0%, 100% { opacity: .22; transform: translateZ(96px) translateX(-8%); }
  50% { opacity: .92; transform: translateZ(120px) translateX(8%); }
}

@keyframes barPulse {
  0%, 100% { transform: scaleX(.82); opacity: .78; }
  50% { transform: scaleX(1); opacity: 1; }
}

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

@media (max-width: 1120px) {
  h1 { font-size: 64px; }
  .section-head h2 { font-size: 48px; }
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-board {
    max-width: 540px;
    align-self: start;
  }

  .line-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .site-header {
    top: 10px;
    left: 10px;
    right: 10px;
    min-height: 58px;
    padding: 8px 10px;
    border-radius: 24px;
  }

  .brand {
    gap: 10px;
    font-size: 13px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav {
    position: fixed;
    top: 76px;
    left: 10px;
    right: 10px;
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px;
    color: #fff;
    background: rgba(17,18,23,.96);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .nav { display: grid; }
  .nav a { padding: 12px; }
  .nav .lang { margin-top: 8px; width: max-content; }

  .hero {
    min-height: auto;
    align-items: end;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(17,18,23,.62) 0%, rgba(17,18,23,.88) 44%, rgba(17,18,23,.98) 100%),
      var(--hero-image) 58% center/cover no-repeat;
  }

  .hero-inner,
  .section-inner {
    width: min(100% - 28px, 1180px);
  }

  .hero-inner {
    padding: 104px 0 64px;
  }

  h1 {
    max-width: 440px;
    font-size: 44px;
  }

  .lead {
    max-width: 390px;
    font-size: 17px;
  }

  .button {
    min-height: 48px;
    font-size: 13px;
  }

  .hero-metrics,
  .grid,
  .case-grid,
  .process,
  .contact-wrap,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    width: min(100% - 28px, 1180px);
    margin-top: -34px;
  }

  .metric {
    min-height: 112px;
  }

  section { padding: 72px 0; }

  .section-head {
    gap: 18px;
    margin-bottom: 28px;
  }

  .section-head h2 {
    font-size: 38px;
  }

  .section-head p {
    font-size: 16px;
  }

  .case h3 {
    font-size: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

  .page-hero h1 {
    font-size: 40px;
    line-height: 1;
  }
}

@media (max-width: 560px) {
  .hero-actions,
  .actions {
    width: 100%;
  }

  .hero-actions .button,
  .actions .button {
    width: 100%;
  }

  .hero-board {
    padding: 16px;
    border-radius: 24px;
  }

  .lead-card {
    border-radius: 18px;
  }

  .line-map {
    grid-template-columns: 1fr;
  }

  .line-map article {
    min-height: auto;
  }

  .line-map b {
    margin-bottom: 28px;
  }

  .case-stats {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-top: 120px;
  }
}

/* B2B mobile-first direction */
.b2b-home {
  --ink: #101114;
  --paper: #f4f5ef;
  --surface-tint: #fff2a8;
  --accent: #ffda2d;
  --signal: #ffda2d;
  --success: #14c979;
  --sky: #36a3ff;
}

.agency-hero {
  min-height: auto;
  color: var(--ink);
  background: #f4f4f1;
  border-bottom: 1px solid rgba(16,17,20,.08);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.agency-hero::before,
.agency-hero::after {
  display: none;
}

.agency-hero .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  width: min(1180px, calc(100% - 44px));
  padding: 132px 0 46px;
}

.agency-hero .hero-copy {
  max-width: 980px;
}

.hero-label {
  display: block;
  margin-bottom: 18px;
  color: rgba(16,17,20,.48);
  font-size: clamp(18px, 4vw, 30px);
  line-height: 1.05;
  font-weight: 800;
}

.agency-hero h1 {
  max-width: 1040px;
  color: var(--ink);
  font-size: clamp(54px, 11vw, 132px);
  line-height: .94;
  text-transform: none;
}

.agency-hero h1 span {
  color: inherit;
  background: linear-gradient(180deg, transparent 58%, rgba(255,218,45,.62) 0);
}

.agency-hero .lead {
  max-width: 780px;
  color: rgba(16,17,20,.62);
  font-size: clamp(18px, 2.4vw, 25px);
  font-weight: 700;
}

.agency-directions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 24px;
  color: var(--ink);
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1;
  font-weight: 900;
  text-align: center;
}

.agency-directions span:not(:last-child)::after {
  content: "/";
  margin-left: 18px;
  color: rgba(16,17,20,.22);
  font-weight: 700;
}

.agency-hero .hero-actions {
  margin-top: 30px;
}

.agency-hero .button.primary {
  color: var(--ink);
  background: var(--accent);
  box-shadow: 0 18px 42px rgba(255,218,45,.28);
}

.agency-hero .button.light {
  color: var(--ink);
  background: #fff;
  border-color: rgba(16,17,20,.10);
  box-shadow: 0 14px 34px rgba(16,17,20,.08);
}

.agency-visual {
  min-height: 0;
  display: block;
  width: min(100%, 940px);
  margin: 18px auto 8px;
  perspective: none;
}

.agency-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 44px;
  filter: drop-shadow(0 34px 64px rgba(16,17,20,.14));
}

.agency-hero-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  justify-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(16,17,20,.10);
}

.agency-contacts {
  display: grid;
  gap: 9px;
  justify-items: center;
  width: min(100%, 620px);
  padding-left: 0;
  border-left: 0;
}

.agency-contacts a {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.agency-contacts .button {
  width: 100%;
  min-height: 58px;
  text-decoration: none;
}

.contact-panel-merged {
  min-height: 100%;
}

.agency-hero + .hero-metrics {
  margin-top: 28px;
}

.b2b-home body::before,
.b2b-home::before {
  opacity: .35;
  background-size: 28px 28px;
}

.mobile-first-hero {
  min-height: 100svh;
  border-bottom-left-radius: 42px;
  border-bottom-right-radius: 42px;
}

.mobile-first-hero::before {
  background:
    radial-gradient(circle at 76% 22%, rgba(255,218,45,.42), transparent 24%),
    radial-gradient(circle at 88% 70%, rgba(54,163,255,.24), transparent 25%),
    linear-gradient(90deg, rgba(16,17,20,.96) 0%, rgba(16,17,20,.84) 50%, rgba(16,17,20,.48) 100%),
    var(--hero-image) center/cover no-repeat;
}

.mobile-first-hero .eyebrow {
  color: #fff;
  padding: 7px 11px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
}

.mobile-first-hero h1 {
  max-width: 900px;
  font-size: clamp(42px, 6vw, 82px);
  text-transform: none;
}

.mobile-first-hero .lead {
  max-width: 760px;
  color: rgba(255,255,255,.84);
  font-weight: 600;
}

.mobile-trust {
  max-width: 560px;
  margin-top: 22px;
  color: rgba(255,255,255,.76);
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  min-height: 520px;
  display: grid;
  place-items: center;
  perspective: 1100px;
}

.revenue-engine {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(calc(-28deg + var(--scroll-turn-soft)));
  animation: engineDrift 7s ease-in-out infinite;
}

.revenue-engine::before,
.revenue-engine::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 42px;
  transform: translateZ(-46px);
}

.revenue-engine::before {
  background:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .42;
}

.revenue-engine::after {
  background: radial-gradient(circle, rgba(255,218,45,.26), transparent 70%);
  filter: blur(28px);
}

.engine-plane,
.engine-pulse,
.engine-beam {
  position: absolute;
  display: block;
  transform-style: preserve-3d;
}

.engine-plane {
  width: 46%;
  height: 30%;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.20), rgba(255,255,255,.04)),
    linear-gradient(145deg, rgba(255,218,45,.84), rgba(54,163,255,.38));
  box-shadow: 0 34px 90px rgba(0,0,0,.32);
}

.engine-plane::before,
.engine-plane::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 10px;
  border-radius: 999px;
  background: rgba(16,17,20,.72);
}

.engine-plane::before { top: 26px; width: 58%; }
.engine-plane::after { top: 48px; width: 78%; }

.plane-a {
  left: 4%;
  top: 28%;
  transform: translateZ(78px);
  animation: planeLiftA 5.8s ease-in-out infinite;
}

.plane-b {
  right: 5%;
  top: 8%;
  background:
    linear-gradient(135deg, rgba(255,255,255,.20), rgba(255,255,255,.04)),
    linear-gradient(145deg, rgba(255,255,255,.88), rgba(255,242,168,.84));
  transform: translateZ(36px);
  animation: planeLiftB 6.4s ease-in-out infinite;
}

.plane-c {
  right: 20%;
  bottom: 12%;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.02)),
    linear-gradient(145deg, rgba(20,201,121,.92), rgba(54,163,255,.48));
  transform: translateZ(118px);
  animation: planeLiftC 7.2s ease-in-out infinite;
}

.engine-pulse {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 18px rgba(255,218,45,.16), 0 28px 74px rgba(255,218,45,.38);
}

.pulse-a {
  left: 54%;
  top: 43%;
  transform: translateZ(150px);
  animation: pulseFloat 4.8s ease-in-out infinite;
}

.pulse-b {
  left: 18%;
  bottom: 16%;
  width: 34px;
  height: 34px;
  background: var(--success);
  box-shadow: 0 0 0 14px rgba(20,201,121,.15), 0 22px 58px rgba(20,201,121,.30);
  transform: translateZ(120px);
  animation: pulseFloat 5.5s ease-in-out infinite reverse;
}

.engine-beam {
  left: 20%;
  top: 52%;
  width: 62%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
  transform: translateZ(96px);
  animation: beamMove 3.2s ease-in-out infinite;
}

.growth-board {
  position: relative;
  overflow: hidden;
}

.growth-board::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,218,45,.36), transparent 38%),
    radial-gradient(circle at 100% 0, rgba(54,163,255,.22), transparent 30%);
}

.growth-board > * {
  position: relative;
  z-index: 1;
}

.growth-snapshot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.growth-snapshot div {
  min-height: 74px;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(17,18,23,.08);
  border-radius: 18px;
}

.growth-snapshot span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.growth-snapshot b {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  line-height: 1;
}

.partner-strip {
  padding: 56px 0 22px;
}

.partner-strip .section-inner {
  display: grid;
  gap: 18px;
}

.partner-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.partner-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-list b {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(17,18,23,.07);
}

.problem-section {
  padding-top: 74px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.problem-card {
  position: relative;
  min-height: 320px;
  padding: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease;
}

.problem-card:nth-child(2) {
  background: var(--accent);
}

.problem-card:nth-child(3) {
  color: #fff;
  background: var(--ink);
}

.problem-card:nth-child(4) {
  background: linear-gradient(145deg, #fff, #eaf6ff);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.problem-card b {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 54px;
  border-radius: 15px;
  background: rgba(17,18,23,.08);
  font-size: 13px;
}

.problem-card h3 {
  font-size: 25px;
  line-height: 1.04;
  text-transform: none;
}

.problem-card p {
  color: var(--muted);
  font-weight: 650;
}

.problem-card:nth-child(3) p {
  color: rgba(255,255,255,.74);
}

.growth-plan-section .section-kicker {
  background: var(--accent);
}

.plan-map article {
  min-height: 300px;
}

.plan-map article:nth-child(2) {
  color: var(--ink);
  background: var(--accent);
}

.band .plan-map article:nth-child(2) h3,
.band .plan-map article:nth-child(2) p {
  color: var(--ink);
}

.plan-map article:nth-child(3) {
  background: rgba(255,255,255,.16);
}

.case-lab {
  padding-top: 92px;
}

.featured-case {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,218,45,.22), transparent 40%),
    var(--ink);
}

.featured-case strong {
  background: var(--accent);
}

.featured-case p {
  color: rgba(255,255,255,.88);
}

.featured-case .case-stats span {
  color: rgba(255,255,255,.90);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.12);
}

.featured-case .case-stats b {
  color: #fff;
}

.case-stats.single {
  grid-template-columns: 1fr;
}

.b2b-home .section-head h2,
.b2b-home .page-hero h1,
.b2b-home .card h3,
.b2b-home .case h3,
.b2b-home .line-map h3 {
  text-transform: none;
}

.b2b-home .card p,
.b2b-home .case p,
.b2b-home .line-map p,
.b2b-home .section-head p {
  font-weight: 620;
}

.b2b-home .contact-panel {
  background:
    radial-gradient(circle at 90% 10%, rgba(255,218,45,.34), transparent 30%),
    linear-gradient(130deg, rgba(54,163,255,.16), transparent 55%),
    var(--ink);
}

.b2b-home form {
  border-radius: 34px;
}

@media (max-width: 1120px) {
  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .site-header {
    color: var(--ink);
    background: rgba(255,255,255,.86);
    border-color: rgba(17,18,23,.08);
  }

  .brand-mark {
    border-radius: 14px;
  }

  .menu-toggle {
    color: var(--ink);
    background: rgba(17,18,23,.05);
    border-color: rgba(17,18,23,.10);
  }

  .mobile-first-hero {
    min-height: auto;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
  }

  .mobile-first-hero::before {
    background:
      radial-gradient(circle at 86% 8%, rgba(255,218,45,.50), transparent 25%),
      linear-gradient(180deg, rgba(16,17,20,.50) 0%, rgba(16,17,20,.88) 38%, rgba(16,17,20,.99) 100%),
      var(--hero-image) 56% top/cover no-repeat;
  }

  .mobile-first-hero .hero-inner {
    gap: 8px;
    padding: 90px 0 36px;
  }

  .mobile-first-hero h1 {
    max-width: 520px;
    font-size: 38px;
    line-height: .98;
  }

  .mobile-first-hero .lead {
    max-width: 520px;
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.42;
  }

  .hero-proof {
    gap: 7px;
    margin-top: 14px;
  }

  .hero-proof span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 10.5px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  .mobile-trust {
    margin-top: 12px;
    font-size: 12px;
  }

  .hero-visual {
    min-height: 178px;
    margin-top: 2px;
    overflow: hidden;
  }

  .revenue-engine {
    width: min(82vw, 330px);
    transform: rotateX(58deg) rotateZ(calc(-26deg + var(--scroll-turn-soft)));
  }

  .engine-plane {
    border-radius: 22px;
  }

  .engine-plane::before,
  .engine-plane::after {
    left: 13px;
    right: 13px;
    height: 7px;
  }

  .engine-plane::before { top: 18px; }
  .engine-plane::after { top: 34px; }

  .engine-pulse {
    width: 38px;
    height: 38px;
  }

  .pulse-b {
    width: 26px;
    height: 26px;
  }

  .growth-board {
    max-width: none;
    padding: 12px;
    border-radius: 26px;
    animation: none;
  }

  .hero-command {
    gap: 10px;
  }

  .orbit-stack {
    height: 138px;
    border-radius: 22px;
  }

  .ring-a { --size: 152px; }
  .ring-b { --size: 110px; }
  .ring-c { --size: 74px; }

  .orbit-core {
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
  }

  .orbit-core b {
    font-size: 18px;
  }

  .orbit-core small {
    margin-top: -15px;
    font-size: 9px;
  }

  .node-a { transform: translate3d(-84px, -26px, 42px); }
  .node-b { transform: translate3d(56px, -42px, 34px); }
  .node-c { transform: translate3d(48px, 40px, 38px); }

  .growth-board .board-top,
  .growth-board .lead-card,
  .growth-board .signal-row,
  .growth-board .board-bars {
    display: none;
  }

  .lead-card strong {
    font-size: 19px;
  }

  .growth-snapshot div {
    min-height: 58px;
    padding: 9px;
    border-radius: 15px;
  }

  .growth-snapshot b {
    font-size: 19px;
  }

  .hero-board p {
    display: none;
  }

  .hero-metrics {
    gap: 8px;
    padding: 8px;
    border-radius: 26px;
  }

  .metric {
    min-height: auto;
    padding: 18px;
    border-radius: 20px;
  }

  .metric strong {
    font-size: 31px;
  }

  .partner-strip {
    padding: 34px 0 0;
  }

  .partner-list {
    flex-wrap: nowrap;
    margin: -8px -14px 0;
    padding: 8px 14px 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 14px;
    scrollbar-width: none;
  }

  .partner-list::-webkit-scrollbar {
    display: none;
  }

  .partner-list b {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .problem-section {
    padding-top: 48px;
  }

  .problem-grid {
    display: flex;
    gap: 12px;
    margin: -10px -14px 0;
    padding: 10px 14px 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 14px;
    scrollbar-width: none;
  }

  .problem-grid::-webkit-scrollbar {
    display: none;
  }

  .problem-card {
    flex: 0 0 min(78vw, 348px);
    min-height: 282px;
    scroll-snap-align: start;
    border-radius: 28px;
  }

  .problem-card b {
    margin-bottom: 44px;
  }

  .plan-map {
    display: flex;
    gap: 12px;
    margin: -10px -14px 0;
    padding: 10px 14px 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 14px;
    scrollbar-width: none;
  }

  .plan-map::-webkit-scrollbar {
    display: none;
  }

  .plan-map article {
    flex: 0 0 min(78vw, 348px);
    min-height: 272px;
    scroll-snap-align: start;
  }

  .case-grid {
    gap: 12px;
  }

  .page-hero {
    padding: 112px 0 50px;
  }

  .page-hero::before {
    right: -78px;
    top: 82px;
    width: 250px;
    height: 150px;
    border-radius: 28px;
    opacity: .46;
  }

  .page-hero::after {
    right: 20px;
    top: 156px;
    width: 118px;
    height: 12px;
    opacity: .64;
  }

  .contact-panel,
  form {
    border-radius: 28px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 56px;
    border-radius: 22px;
  }

  .brand span:last-child {
    max-width: 150px;
  }

  .mobile-first-hero .hero-inner {
    width: min(100% - 24px, 1180px);
    padding-top: 82px;
    padding-bottom: 30px;
  }

  .mobile-first-hero h1 {
    font-size: 36px;
  }

  .mobile-first-hero .lead {
    font-size: 14.5px;
  }

  .hero-proof {
    display: none;
  }

  .mobile-first-hero .button {
    min-height: 50px;
  }

  .hero-visual {
    min-height: 154px;
  }

  .growth-snapshot {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .growth-snapshot span {
    font-size: 10px;
  }

  .growth-snapshot b {
    font-size: 17px;
  }

  .signal-row {
    gap: 8px;
    font-size: 10px;
  }

  .board-bars {
    margin: 14px 0 0;
  }

  .hero-metrics {
    margin-top: -24px;
  }

  section {
    padding: 54px 0;
  }

  .partner-strip {
    padding-top: 30px;
  }

  .metric strong {
    font-size: 29px;
  }

  .section-head h2 {
    font-size: 32px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .section-head {
    margin-bottom: 20px;
  }

  .problem-card h3,
  .case h3 {
    font-size: 25px;
  }

  .case,
  .contact-panel,
  form {
    padding: 22px;
    border-radius: 26px;
  }

  input,
  textarea,
  select {
    border-radius: 14px;
  }
}

/* Agency-style hero direction, kept at the end to override earlier experiments. */
.b2b-home .agency-hero {
  min-height: auto;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 14%, rgba(255,218,45,.18), transparent 22%),
    radial-gradient(circle at 18% 56%, rgba(255,218,45,.16), transparent 24%),
    #f4f4f1;
}

.b2b-home .agency-hero .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.b2b-home .agency-hero h1 {
  max-width: 1040px;
  color: var(--ink);
  font-size: clamp(54px, 11vw, 132px);
  line-height: .94;
  text-transform: none;
}

.b2b-home .agency-hero h1 span {
  color: inherit;
  background: linear-gradient(180deg, transparent 58%, rgba(255,218,45,.62) 0);
}

.b2b-home .agency-hero .lead {
  color: rgba(16,17,20,.62);
}

.b2b-home .agency-hero::before,
.b2b-home .agency-hero::after {
  display: none;
}

.b2b-home .page-hero {
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 24%, rgba(255,218,45,.18), transparent 24%),
    radial-gradient(circle at 28% 72%, rgba(255,218,45,.18), transparent 28%),
    #f4f4f1;
}

.b2b-home .page-hero::before {
  border-radius: 38px;
  background: url("assets/agency-funnel-cutout.png") center/contain no-repeat;
  box-shadow: 0 28px 80px rgba(16,17,20,.12);
  opacity: .56;
  transform: rotate(-8deg);
}

.b2b-home .page-hero::after {
  background: var(--accent);
  opacity: .82;
}

.b2b-home .page-hero .eyebrow {
  color: var(--ink);
  padding: 7px 11px;
  background: var(--accent);
  border-radius: 999px;
}

.b2b-home .page-hero p {
  color: rgba(16,17,20,.62);
}

@media (max-width: 880px) {
  .b2b-home .agency-hero .hero-inner {
    width: min(100% - 32px, 1180px);
    gap: 22px;
    padding: 86px 0 38px;
  }

  .b2b-home .agency-hero h1 {
    max-width: 100%;
    font-size: clamp(46px, 13.2vw, 68px);
    line-height: .92;
  }

  .b2b-home .agency-hero .lead {
    max-width: 100%;
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.35;
  }

  .hero-label {
    margin-bottom: 18px;
    font-size: 23px;
  }

  .agency-directions {
    margin-top: 24px;
    font-size: 30px;
  }

  .agency-visual {
    width: 100%;
    margin: 8px 0 0;
    aspect-ratio: 1.14;
    overflow: hidden;
    border-radius: 34px;
    background: #fff;
    box-shadow: 0 22px 70px rgba(16,17,20,.13);
  }

  .agency-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 54%;
    border-radius: 0;
    filter: none;
    transform: scale(1.22);
  }

  .agency-hero-footer {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .agency-contacts {
    padding-left: 0;
    border-left: 0;
    width: 100%;
  }

  .agency-hero + .hero-metrics {
    margin-top: 20px;
  }
}

@media (max-width: 560px) {
  .b2b-home .agency-hero .hero-inner {
    width: min(100% - 28px, 1180px);
    padding-top: 76px;
  }

  .b2b-home .agency-hero h1 {
    font-size: 44px;
  }

  .hero-label {
    font-size: 20px;
  }

  .agency-directions {
    display: grid;
    gap: 8px;
    font-size: 29px;
  }

  .agency-directions span::after {
    display: none;
  }

  .agency-hero .hero-actions {
    display: grid;
    margin-top: 24px;
  }

  .agency-contacts a {
    font-size: 16px;
  }
}

/* Transparent asset pass: use cutout PNGs as static objects, not animated scenes. */
.agency-visual {
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.agency-visual,
.section-art {
  position: relative;
  isolation: isolate;
}

.agency-visual::before,
.agency-visual::after,
.section-art::before,
.section-art::after,
.page-hero .section-inner::before,
.page-hero .section-inner::after,
.b2b-home .page-hero::before,
.b2b-home .page-hero::after {
  display: none;
}

.agency-visual img,
.page-hero-art,
.section-art img {
  user-select: none;
  pointer-events: none;
  animation: none;
  transform: none;
}

.agency-visual img {
  filter: drop-shadow(0 30px 52px rgba(16,17,20,.15));
}

.page-hero .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 26px;
  align-items: center;
}

.page-hero-art {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 24px 46px rgba(16,17,20,.12));
}

.section-art {
  display: grid;
  place-items: center;
  min-height: 220px;
  margin: -12px 0 18px;
  overflow: visible;
}

.section-art img {
  display: block;
  width: min(86vw, 640px);
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 28px 54px rgba(16,17,20,.14));
}

.services-art {
  justify-content: end;
  margin-top: -34px;
}

.cases-art {
  justify-content: center;
  margin-top: -28px;
}

@media (max-width: 880px) {
  .b2b-home .agency-hero .hero-inner {
    gap: 16px;
    padding: 82px 0 28px;
  }

  .b2b-home .agency-hero h1 {
    font-size: clamp(42px, 12vw, 56px);
    line-height: .94;
  }

  .hero-label {
    margin-bottom: 14px;
    font-size: 18px;
  }

  .agency-visual {
    width: min(100%, 430px);
    margin: -2px auto 0;
    aspect-ratio: auto;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .agency-visual img {
    height: auto;
    max-height: 294px;
    object-fit: contain;
    object-position: center;
    transform: none;
    filter: drop-shadow(0 22px 42px rgba(16,17,20,.14));
  }

  .agency-hero-footer {
    gap: 14px;
    padding-top: 14px;
  }

  .agency-directions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 13px;
    margin-top: 0;
    font-size: 22px;
    text-align: center;
  }

  .agency-directions span:not(:last-child)::after {
    display: inline;
    margin-left: 13px;
  }

  .agency-contacts {
    gap: 10px;
  }

  .agency-contacts .button {
    min-height: 50px;
  }

  .page-hero .section-inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .page-hero-art {
    width: min(100%, 390px);
    max-height: 240px;
    margin: -10px auto 0;
    transform: none;
  }

  .section-art {
    min-height: 150px;
    margin: -12px 0 12px;
  }

  .section-art img {
    width: min(94vw, 430px);
    max-height: 260px;
    transform: none;
  }
}

@media (max-width: 560px) {
  .b2b-home .agency-hero .hero-inner {
    padding-top: 76px;
  }

  .b2b-home .agency-hero h1 {
    font-size: 41px;
  }

  .agency-visual img {
    max-height: 255px;
  }

  .agency-directions {
    font-size: 20px;
  }

  .agency-contacts a:not(.button) {
    justify-self: center;
  }

  .page-hero-art {
    max-height: 210px;
  }
}

/* Desktop composition pass: wide screens should not feel like stretched mobile. */
.hero-desktop-lead {
  max-width: 640px;
  margin: 26px 0 0;
  color: rgba(16,17,20,.64);
  font-size: 22px;
  line-height: 1.36;
  font-weight: 720;
}

@media (min-width: 1024px) {
  .hero-inner,
  .section-inner,
  .hero-metrics,
  .footer-inner {
    width: min(1320px, calc(100% - 72px));
  }

  .b2b-home .agency-hero {
    min-height: 860px;
    display: grid;
    align-items: center;
  }

  .b2b-home .agency-hero .hero-inner {
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
    grid-template-areas:
      "copy visual"
      "footer footer";
    gap: 34px 58px;
    align-items: center;
    width: min(1320px, calc(100% - 72px));
    padding: 126px 0 56px;
  }

  .agency-hero .hero-copy {
    grid-area: copy;
    max-width: 760px;
  }

  .b2b-home .agency-hero h1 {
    max-width: 760px;
    font-size: clamp(66px, 7vw, 104px);
    line-height: .93;
  }

  .hero-label {
    max-width: 680px;
    font-size: clamp(18px, 1.7vw, 24px);
  }

  .agency-visual {
    grid-area: visual;
    justify-self: end;
    width: min(100%, 560px);
    margin: 0;
  }

  .agency-visual img {
    width: 100%;
    max-height: 570px;
    object-fit: contain;
  }

  .agency-hero-footer {
    grid-area: footer;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
    gap: 28px;
    justify-items: stretch;
    padding-top: 26px;
  }

  .agency-directions {
    justify-content: flex-start;
    margin-top: 0;
    font-size: clamp(25px, 2.2vw, 34px);
    text-align: left;
  }

  .agency-contacts {
    justify-items: stretch;
    width: 100%;
  }

  .agency-contacts a:not(.button) {
    justify-self: center;
    font-size: 16px;
  }

  .agency-hero + .hero-metrics {
    margin-top: 34px;
  }

  .hero-metrics {
    grid-template-columns: .72fr .92fr 1.36fr;
  }

  .metric {
    min-height: 142px;
    padding: 28px;
  }

  .metric strong {
    font-size: clamp(34px, 3vw, 46px);
  }

  section {
    padding: 112px 0;
  }

  .partner-strip {
    padding: 64px 0 26px;
  }

  .section-head {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .72fr);
    gap: 64px;
    margin-bottom: 46px;
  }

  .section-head h2 {
    max-width: 780px;
    font-size: clamp(48px, 4.3vw, 64px);
  }

  .problem-grid {
    grid-template-columns: 1.08fr .92fr .92fr 1.08fr;
  }

  .problem-card {
    min-height: 350px;
    padding: 28px;
  }

  .problem-card h3 {
    font-size: 28px;
  }

  .line-map article {
    min-height: 286px;
    padding: 28px;
  }

  .section-art {
    min-height: 260px;
    margin: -42px 0 24px;
  }

  .services-art {
    justify-content: end;
  }

  .cases-art {
    justify-content: start;
  }

  .grid {
    gap: 22px;
  }

  .card {
    padding: 30px;
  }

  .case-grid {
    grid-template-columns: 1.25fr .75fr;
    gap: 22px;
  }

  .case {
    padding: 34px;
  }

  .contact-wrap {
    grid-template-columns: minmax(320px, .82fr) minmax(560px, 1.18fr);
    gap: 38px;
  }
}

@media (min-width: 1440px) {
  .b2b-home .agency-hero .hero-inner {
    padding-top: 138px;
  }

  .agency-visual {
    width: 610px;
  }

  .hero-desktop-lead {
    font-size: 23px;
  }
}

@media (max-width: 880px) {
  .hero-desktop-lead {
    display: none;
  }
}

/* Final static guard: no jumping, orbit, float, sweep, or legacy motion. */
*,
*::before,
*::after {
  animation: none !important;
}

.agency-visual::before,
.agency-visual::after,
.section-art::before,
.section-art::after,
.page-hero .section-inner::before,
.page-hero .section-inner::after,
.orbit-stack,
.orbit-ring,
.orbit-node,
.orbit-core,
.revenue-engine,
.engine-plane,
.engine-pulse,
.engine-beam {
  display: none !important;
}

.agency-visual img,
.section-art img,
.page-hero-art,
.hero-board,
.growth-board {
  transform: none !important;
}

.button:hover,
.card:hover,
.case:hover,
.line-map article:hover,
.problem-card:hover {
  transform: none !important;
}

/* Desktop polish pass: stronger agency layout, larger static visuals, cleaner CTAs. */
@media (min-width: 1024px) {
  .b2b-home .agency-hero {
    min-height: 780px;
    background:
      radial-gradient(circle at 72% 16%, rgba(255,218,45,.30), transparent 25%),
      linear-gradient(90deg, rgba(244,244,241,1) 0%, rgba(244,244,241,.98) 50%, rgba(255,248,216,.88) 100%);
  }

  .b2b-home .agency-hero .hero-inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-areas:
      "copy copy copy copy copy copy copy visual visual visual visual visual"
      "footer footer footer footer footer footer footer footer footer footer footer footer";
    gap: 22px 0;
    padding: 118px 0 48px;
  }

  .agency-hero .hero-copy {
    position: relative;
    z-index: 2;
    max-width: 760px;
  }

  .b2b-home .agency-hero h1 {
    max-width: 790px;
    font-size: clamp(58px, 4.85vw, 86px);
    line-height: .96;
  }

  .hero-label {
    max-width: 590px;
    margin-bottom: 16px;
    font-size: clamp(18px, 1.35vw, 22px);
  }

  .hero-desktop-lead {
    max-width: 570px;
    margin-top: 24px;
    font-size: 20px;
  }

  .agency-visual {
    position: relative;
    z-index: 1;
    justify-self: end;
    align-self: center;
    width: min(50vw, 760px);
    margin: 8px 0 0 -160px;
  }

  .agency-visual img {
    width: 100%;
    max-height: 620px;
    filter: drop-shadow(0 34px 70px rgba(16,17,20,.17));
  }

  .agency-hero-footer {
    margin-top: 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 36px;
    align-items: center;
    padding-top: 28px;
  }

  .agency-directions {
    max-width: 760px;
    gap: 10px 14px;
    font-size: clamp(28px, 2vw, 34px);
  }

  .agency-directions span:not(:last-child)::after {
    margin-left: 14px;
  }

  .agency-contacts {
    display: flex;
    width: auto;
    min-width: 520px;
    gap: 12px;
    justify-content: flex-end;
    align-items: stretch;
  }

  .agency-contacts .button {
    width: auto;
    min-width: 220px;
    min-height: 58px;
    justify-content: center;
    padding-inline: 26px;
    border-radius: 999px;
    font-size: 16px;
    text-transform: uppercase;
  }

  .agency-contacts .button.light {
    color: var(--ink);
    background: rgba(255,255,255,.74);
    border-color: rgba(16,17,20,.14);
    box-shadow: 0 16px 34px rgba(16,17,20,.08);
  }

  .agency-hero + .hero-metrics {
    margin-top: 30px;
  }

  section[data-od-id="services-preview"] .section-inner,
  .case-lab .section-inner {
    position: relative;
  }

  section[data-od-id="services-preview"] .section-head,
  section[data-od-id="services-preview"] .grid,
  section[data-od-id="services-preview"] .actions,
  .case-lab .section-head,
  .case-lab .case-grid,
  .case-lab .actions {
    position: relative;
    z-index: 2;
  }

  section[data-od-id="services-preview"] .section-art,
  .case-lab .section-art {
    position: absolute;
    z-index: 1;
    width: min(45vw, 650px);
    min-height: 0;
    margin: 0;
    pointer-events: none;
  }

  section[data-od-id="services-preview"] .section-art {
    top: 58px;
    right: 0;
    justify-content: end;
  }

  .case-lab .section-art {
    top: 68px;
    left: -18px;
    justify-content: start;
  }

  section[data-od-id="services-preview"] .section-art img,
  .case-lab .section-art img {
    width: 100%;
    max-height: 430px;
    opacity: .95;
  }

  section[data-od-id="services-preview"] .section-head {
    padding-right: min(31vw, 430px);
  }

  .case-lab .section-head {
    padding-left: min(24vw, 320px);
  }

  section[data-od-id="services-preview"] .grid,
  .case-lab .case-grid {
    margin-top: 18px;
  }
}

@media (min-width: 1440px) {
  .b2b-home .agency-hero .hero-inner {
    padding-top: 124px;
  }

  .agency-visual {
    width: min(47vw, 820px);
    margin-left: -210px;
  }

  .b2b-home .agency-hero h1 {
    font-size: clamp(64px, 4.55vw, 92px);
  }
}

/* Desktop correction: keep big visuals, but do not place readable text on noisy art. */
@media (min-width: 1024px) {
  section,
  .hero-metrics,
  .partner-strip {
    scroll-margin-top: 120px;
  }

  .b2b-home .agency-hero .hero-inner {
    grid-template-columns: minmax(0, 660px) minmax(520px, 1fr);
    grid-template-areas:
      "copy visual"
      "footer footer";
    column-gap: 0;
    min-height: 740px;
  }

  .agency-hero .hero-copy {
    max-width: 660px;
  }

  .b2b-home .agency-hero h1 {
    max-width: 650px;
    font-size: clamp(52px, 3.8vw, 72px);
    line-height: .98;
  }

  .hero-desktop-lead {
    max-width: 540px;
    font-size: 19px;
  }

  .agency-visual {
    width: min(43vw, 720px);
    margin: 0 0 0 0;
  }

  .agency-visual img {
    max-height: 610px;
  }

  .agency-hero-footer {
    margin-top: 4px;
  }

  section[data-od-id="services-preview"] .section-art,
  .case-lab .section-art {
    top: 88px;
    left: auto;
    right: 0;
    width: min(34vw, 520px);
    opacity: .78;
  }

  .case-lab .section-art {
    top: 102px;
    opacity: .64;
  }

  section[data-od-id="services-preview"] .section-art img,
  .case-lab .section-art img {
    max-height: 390px;
  }

  section[data-od-id="services-preview"] .section-head,
  .case-lab .section-head {
    padding-left: 0;
    padding-right: min(32vw, 430px);
  }

  section[data-od-id="services-preview"] .grid,
  .case-lab .case-grid {
    margin-top: 28px;
  }
}

@media (min-width: 1440px) {
  .b2b-home .agency-hero .hero-inner {
    grid-template-columns: minmax(0, 710px) minmax(560px, 1fr);
  }

  .agency-hero .hero-copy {
    max-width: 710px;
  }

  .b2b-home .agency-hero h1 {
    max-width: 690px;
    font-size: clamp(58px, 3.75vw, 76px);
  }

  .agency-visual {
    width: min(41vw, 760px);
    margin-left: 0;
  }
}

/* Mobile hero fit pass: keep the whole first screen visible on short phones. */
@media (max-width: 880px) {
  .b2b-home .agency-hero {
    min-height: 100svh;
    display: grid;
    align-items: stretch;
  }

  .b2b-home .agency-hero .hero-inner {
    min-height: 100svh;
    align-content: start;
    gap: clamp(8px, 1.7svh, 16px);
    padding-top: max(76px, env(safe-area-inset-top));
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }

  .hero-label {
    margin-bottom: clamp(8px, 1.3svh, 14px);
    font-size: clamp(16px, 4.6vw, 19px);
  }

  .b2b-home .agency-hero h1 {
    font-size: clamp(36px, 10.8vw, 48px);
    line-height: .93;
  }

  .agency-visual {
    width: min(100%, 430px);
    margin-top: clamp(-8px, -1svh, 0px);
  }

  .agency-visual img {
    max-height: min(255px, 31svh);
  }

  .agency-hero-footer {
    gap: clamp(4px, .8svh, 8px);
    padding-top: clamp(8px, 1.2svh, 14px);
  }

  .agency-directions {
    gap: 6px 8px;
    font-size: clamp(17px, 5.05vw, 20px);
  }

  .agency-directions span:not(:last-child)::after {
    margin-left: 8px;
  }

  .agency-contacts {
    gap: 8px;
  }

  .agency-contacts .button {
    min-height: clamp(42px, 6svh, 50px);
    font-size: 14px;
  }
}

@media (max-width: 560px) {
  .b2b-home .agency-hero .hero-inner {
    width: min(100% - 24px, 1180px);
  }
}

@media (max-width: 560px) and (max-height: 780px) {
  .b2b-home .agency-hero .hero-inner {
    gap: 7px;
    padding-top: max(68px, env(safe-area-inset-top));
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .site-header {
    min-height: 52px;
    padding: 6px 10px;
  }

  .brand {
    font-size: 12px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .hero-label {
    margin-bottom: 7px;
    font-size: 16px;
  }

  .b2b-home .agency-hero h1 {
    font-size: clamp(34px, 10.2vw, 39px);
    line-height: .92;
  }

  .agency-visual {
    width: min(92%, 390px);
    margin-top: -10px;
  }

  .agency-visual img {
    max-height: min(216px, 29svh);
  }

  .agency-hero-footer {
    gap: 4px;
    padding-top: 8px;
  }

  .agency-directions {
    font-size: clamp(16px, 4.65vw, 18px);
  }

  .agency-contacts .button {
    min-height: 42px;
    font-size: 13px;
  }
}

@media (max-width: 380px) and (max-height: 720px) {
  .b2b-home .agency-hero h1 {
    font-size: 32px;
  }

  .agency-visual img {
    max-height: 188px;
  }

  .agency-directions {
    font-size: 15px;
  }
}

/* Client logos under the hero directions. */
.agency-hero-trust {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.client-logo-row {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 12px;
  margin-top: 2px;
  align-items: center;
  justify-content: center;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  line-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.client-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.company-story {
  padding: 72px 0 30px;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 10%, rgba(255,210,30,.28), transparent 24%),
    #fff;
  border: 1px solid rgba(17,18,23,.10);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(17,18,23,.08);
}

.story-copy {
  align-self: center;
}

.story-copy h2 {
  max-width: 620px;
  margin-top: 10px;
  font-size: clamp(34px, 4vw, 58px);
}

.story-copy p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(17,18,23,.66);
  font-size: 18px;
  font-weight: 700;
}

.story-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.story-timeline article {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  padding: 20px;
  background: rgba(246,247,242,.86);
  border: 1px solid rgba(17,18,23,.08);
  border-radius: 16px;
}

.story-timeline b {
  color: rgba(17,18,23,.34);
  font-size: 13px;
}

.story-timeline span {
  font-size: 18px;
  line-height: 1.16;
  font-weight: 900;
}

@media (min-width: 1024px) {
  .agency-hero-footer {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .agency-hero-trust .agency-directions {
    margin-top: 0;
  }

  .client-logo-row {
    justify-content: flex-start;
  }
}

@media (max-width: 880px) {
  .agency-hero-trust {
    gap: clamp(10px, 1.4svh, 14px);
    width: 100%;
  }

  .client-logo-row {
    grid-template-columns: repeat(4, max-content);
    gap: 10px;
  }

  .client-logo {
    width: 27px;
    height: 27px;
  }

  .company-story {
    padding: 44px 0 18px;
  }

  .story-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px;
    border-radius: 20px;
  }

  .story-copy h2 {
    font-size: clamp(30px, 8.8vw, 42px);
  }

  .story-copy p {
    font-size: 16px;
  }

  .story-timeline {
    grid-template-columns: 1fr;
  }

  .story-timeline article {
    min-height: 104px;
    padding: 17px;
  }

  .story-timeline span {
    font-size: 16px;
  }
}

@media (max-width: 560px) and (max-height: 780px) {
  .agency-hero-trust {
    gap: 10px;
  }

  .client-logo-row {
    gap: 9px;
  }

  .client-logo {
    width: 26px;
    height: 26px;
  }

  .agency-visual img {
    max-height: min(188px, 27svh);
  }
}

@media (max-width: 380px) and (max-height: 720px) {
  .client-logo {
    width: 24px;
    height: 24px;
  }

  .agency-visual img {
    max-height: 170px;
  }
}

/* Reveal and mobile menu motion. Kept below the static guard so only these
   controlled transitions run; slider internals are intentionally not targeted. */
.reveal-item {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity .7s cubic-bezier(.2, .7, .2, 1),
    transform .7s cubic-bezier(.2, .7, .2, 1);
  will-change: opacity, transform;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-metrics.reveal-item,
.problem-grid.reveal-item,
.line-map.reveal-item,
.grid.reveal-item,
.case-grid.reveal-item {
  transition-delay: .06s;
}

.contact-wrap.reveal-item {
  transition-delay: .1s;
}

.reveal-item {
  opacity: 1;
  transform: none;
}

/* OpenDesign whole-project pass: make secondary pages and post-hero blocks feel
   like one agency system instead of separate templates. */
.hero-metrics {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
  gap: 12px;
}

.metric {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(17,18,23,.08);
  box-shadow: 0 18px 44px rgba(17,18,23,.08);
}

.metric:nth-child(2) {
  color: var(--ink);
  background: var(--accent);
}

.metric:nth-child(2) span {
  color: rgba(17,18,23,.64);
}

.partner-strip .section-inner {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  padding: 18px 22px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(255,218,45,.16), transparent 34%),
    var(--ink);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(17,18,23,.14);
}

.partner-strip span {
  color: rgba(255,255,255,.66);
}

.partner-list {
  justify-content: flex-end;
}

.partner-list b {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  box-shadow: none;
}

.story-layout {
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(17,18,23,.07);
}

.card,
.case,
.step,
.line-map article,
.problem-card,
form,
.contact-panel {
  border-radius: 18px;
}

.card,
.case,
.step,
.line-map article,
.problem-card {
  box-shadow: 0 16px 36px rgba(17,18,23,.07);
}

.card {
  display: grid;
  align-content: start;
}

.card ul {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.card li {
  position: relative;
  padding-left: 18px;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,218,45,.18);
}

.page-hero {
  min-height: clamp(560px, 70svh, 720px);
  display: grid;
  align-items: center;
}

.page-hero .section-inner {
  padding-top: 20px;
}

.page-hero h1 {
  max-width: 780px;
}

.page-hero p {
  max-width: 680px;
  font-weight: 680;
}

.page-hero-art {
  justify-self: end;
}

.page-grid-section {
  padding-top: 78px;
}

.services-grid-section .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-grid-section .card {
  min-height: 304px;
}

.process-band {
  position: relative;
  overflow: hidden;
}

.process-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,218,45,.12) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .55;
}

.process-band .section-inner {
  position: relative;
  z-index: 1;
}

.process {
  align-items: stretch;
}

.step {
  min-height: 226px;
}

.case {
  display: flex;
  flex-direction: column;
}

.case p {
  font-weight: 640;
}

.case-stats {
  margin-top: auto;
  padding-top: 22px;
}

.case-stats span {
  border: 1px solid rgba(17,18,23,.07);
}

.cases-page .case-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
}

.contact-section {
  padding-top: 78px;
}

.contact-page .contact-wrap {
  align-items: stretch;
}

.contact-page .contact-panel,
.contact-page form {
  min-height: 100%;
}

.form-intro h3 {
  max-width: 620px;
}

@media (max-width: 880px) {
  .hero-metrics {
    width: min(100% - 24px, 1180px);
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .metric {
    min-height: 0;
    padding: 18px;
  }

  .partner-strip .section-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .partner-list {
    justify-content: flex-start;
  }

  .page-hero {
    min-height: auto;
    padding-bottom: 34px;
  }

  .page-hero .section-inner {
    padding-top: 0;
  }

  .page-hero-art {
    justify-self: center;
  }

  .page-grid-section,
  .contact-section {
    padding-top: 44px;
  }

  .services-grid-section .grid,
  .cases-page .case-grid {
    grid-template-columns: 1fr;
  }

  .services-grid-section .card,
  .step {
    min-height: 0;
  }

  .case-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .partner-strip .section-inner,
  .card,
  .case,
  .step,
  .line-map article,
  .problem-card,
  form,
  .contact-panel,
  .story-layout {
    border-radius: 16px;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  .page-hero p {
    font-size: 18px;
    line-height: 1.45;
  }
}

.menu-toggle span {
  transition:
    transform .22s ease,
    opacity .22s ease,
    background-color .22s ease;
}

.site-header.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

@media (max-width: 880px) {
  .nav {
    display: grid;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -10px, 0) scale(.98);
    transform-origin: top center;
    transition:
      opacity .24s ease,
      visibility .24s ease,
      transform .24s cubic-bezier(.2, .7, .2, 1);
  }

  .site-header.menu-open .nav {
    display: grid;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .nav,
  .menu-toggle span {
    transition: none;
  }
}

/* Founder hero portrait: transparent PNG cutout, large like a personal site. */
.agency-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  background: transparent !important;
  border: 0;
  box-shadow: none !important;
}

.agency-visual img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 34px 70px rgba(16,17,20,.17));
}

@media (min-width: 1024px) {
  .b2b-home .agency-hero {
    min-height: 860px;
  }

  .b2b-home .agency-hero .hero-inner {
    grid-template-columns: minmax(0, 620px) minmax(560px, 1fr);
    align-items: center;
    min-height: 810px;
    padding: 112px 0 40px;
  }

  .agency-visual {
    justify-self: end;
    align-self: end;
    width: min(50vw, 860px);
    margin: 0 -22px -8px 0;
  }

  .agency-visual img {
    width: min(50vw, 860px);
    max-height: min(82svh, 760px);
  }

  .agency-hero-footer {
    margin-top: -6px;
  }
}

@media (min-width: 1440px) {
  .b2b-home .agency-hero .hero-inner {
    grid-template-columns: minmax(0, 680px) minmax(620px, 1fr);
  }

  .agency-visual {
    width: min(48vw, 900px);
    margin-right: -42px;
  }

  .agency-visual img {
    width: min(48vw, 900px);
    max-height: min(84svh, 790px);
  }
}

@media (max-width: 880px) {
  .agency-visual {
    width: min(100%, 500px);
    margin: clamp(-4px, -0.4svh, 0px) auto 0;
  }

  .agency-visual img {
    width: min(100vw, 500px);
    max-height: min(49svh, 430px);
    filter: drop-shadow(0 24px 42px rgba(16,17,20,.14));
  }
}

@media (max-width: 560px) and (max-height: 780px) {
  .agency-visual {
    width: min(100%, 440px);
    margin-top: -8px;
  }

  .agency-visual img {
    width: min(96vw, 420px);
    max-height: min(39svh, 320px);
  }
}

/* Wider hero composition pass: title and portrait should fill the screen. */
@media (min-width: 1024px) {
  .b2b-home .agency-hero .hero-inner {
    width: min(100% - 48px, 1500px);
    grid-template-columns: minmax(0, 47vw) minmax(0, 53vw);
    column-gap: 0;
  }

  .agency-hero .hero-copy {
    max-width: 760px;
  }

  .b2b-home .agency-hero h1 {
    max-width: 760px;
    font-size: clamp(62px, 4.55vw, 88px);
  }

  .agency-visual {
    justify-self: end;
    width: min(62vw, 1120px);
    margin-right: -92px;
    margin-bottom: -24px;
  }

  .agency-visual img {
    width: min(62vw, 1120px);
    max-height: min(92svh, 900px);
  }

  .agency-hero-footer {
    position: relative;
    margin-top: -20px;
    padding-top: 22px;
  }

  .agency-hero-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 1px;
    background: rgba(17,18,23,.14);
    transform: translateX(-50%);
  }
}

@media (max-width: 880px) {
  .b2b-home .agency-hero .hero-inner {
    width: 100%;
    gap: 0;
    padding-left: 12px;
    padding-right: 0;
  }

  .agency-hero .hero-copy {
    width: 100%;
    max-width: none;
    padding-right: 12px;
  }

  .b2b-home .agency-hero h1 {
    max-width: none;
    font-size: clamp(38px, 11.2vw, 51px);
  }

  .agency-visual {
    justify-self: end;
    width: min(122vw, 640px);
    margin: -8px -42px -1px auto;
  }

  .agency-visual img {
    width: min(122vw, 640px);
    max-height: min(58svh, 540px);
    object-position: right bottom;
  }

  .agency-hero-footer {
    position: relative;
    margin-top: 0;
    padding-top: 9px;
  }

  .agency-hero-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 1px;
    background: rgba(17,18,23,.14);
    transform: translateX(-50%);
  }
}

@media (max-width: 560px) and (max-height: 780px) {
  .agency-visual {
    width: min(118vw, 560px);
    margin-right: -34px;
  }

  .agency-visual img {
    width: min(118vw, 560px);
    max-height: min(48svh, 410px);
  }
}

/* Desktop fit pass: keep the whole hero, including SMM row and CTAs, in view. */
@media (min-width: 1024px) {
  .b2b-home .agency-hero {
    min-height: 100svh;
    align-items: start;
  }

  .b2b-home .agency-hero .hero-inner {
    min-height: 100svh;
    padding-top: 94px;
    padding-bottom: 24px;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: end;
  }

  .agency-hero .hero-copy {
    align-self: center;
    padding-bottom: 12px;
  }

  .agency-visual {
    align-self: end;
    margin-bottom: -10px;
  }

  .agency-visual img {
    max-height: min(72svh, 710px);
  }

  .agency-hero-footer {
    margin-top: -4px;
    padding-top: 18px;
  }

  .agency-directions {
    font-size: clamp(24px, 1.8vw, 31px);
  }

  .agency-contacts .button {
    min-height: 52px;
  }
}

@media (min-width: 1440px) and (max-height: 940px) {
  .agency-visual img {
    max-height: min(70svh, 680px);
  }
}

@media (min-width: 1024px) and (max-height: 940px) {
  .b2b-home .agency-hero .hero-inner {
    padding-top: 82px;
    padding-bottom: 14px;
  }

  .agency-visual {
    margin-bottom: -8px;
  }

  .agency-visual img {
    max-height: min(56svh, 560px);
  }

  .agency-hero-footer {
    margin-top: -8px;
    padding-top: 14px;
  }

  .agency-hero-trust {
    gap: 9px;
  }

  .agency-directions {
    font-size: clamp(22px, 1.55vw, 28px);
  }

  .client-logo {
    width: 24px;
    height: 24px;
  }

  .agency-contacts .button {
    min-height: 48px;
    font-size: 14px;
  }
}

@media (min-width: 1024px) {
  .b2b-home .agency-hero .hero-inner {
    position: relative;
    min-height: 100svh;
    padding-bottom: 118px;
    grid-template-areas: "copy visual";
    grid-template-rows: minmax(0, 1fr);
  }

  .agency-visual {
    margin-bottom: 4px;
  }

  .agency-visual img {
    max-height: min(66svh, 720px);
  }

  .agency-hero-footer {
    grid-area: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 4;
    margin-top: 0;
    padding-top: 14px;
  }
}

@media (min-width: 1024px) and (max-height: 820px) {
  .b2b-home .agency-hero .hero-inner {
    padding-top: 76px;
    padding-bottom: 104px;
  }

  .agency-visual img {
    max-height: min(60svh, 520px);
  }

  .agency-hero-footer {
    bottom: 12px;
  }
}

/* Final desktop viewport fit: remove inherited section padding from the hero. */
@media (min-width: 1024px) {
  .b2b-home .agency-hero {
    height: 100svh;
    min-height: 720px;
    padding: 0;
    overflow: hidden;
  }

  .b2b-home .agency-hero .hero-inner {
    height: 100%;
    min-height: 0;
    padding-top: 86px;
    padding-bottom: 106px;
  }

  .agency-hero-footer {
    bottom: 14px;
  }
}

@media (min-width: 1024px) and (max-height: 820px) {
  .b2b-home .agency-hero {
    min-height: 0;
  }

  .b2b-home .agency-hero .hero-inner {
    padding-top: 76px;
    padding-bottom: 100px;
  }

  .agency-visual img {
    max-height: min(58svh, 500px);
  }

  .agency-hero-footer {
    bottom: 10px;
  }
}

/* Desktop-only layout requested after mobile approval. Keep mobile untouched. */
.hero-copy-actions,
.nav-contact-cta {
  display: none;
}

@media (max-width: 1023px) {
  .hero-copy-actions,
  .nav-contact-cta {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .nav-contact-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 15px !important;
    color: var(--ink) !important;
    background: var(--accent);
    border-radius: 999px;
  }

  .b2b-home .agency-hero .hero-inner {
    width: min(100% - 48px, 1560px);
    grid-template-columns: minmax(0, 58vw) minmax(0, 42vw);
    padding-top: 88px;
    padding-bottom: 96px;
  }

  .agency-hero .hero-copy {
    max-width: min(58vw, 900px);
    align-self: center;
  }

  .b2b-home .agency-hero h1 {
    max-width: min(58vw, 900px);
    font-size: clamp(62px, 5vw, 94px);
  }

  .hero-desktop-lead {
    max-width: min(54vw, 780px);
    margin-top: 22px;
    font-size: clamp(19px, 1.55vw, 24px);
  }

  .hero-copy-actions {
    display: flex !important;
    width: fit-content;
    margin-top: 28px;
    gap: 12px;
  }

  .hero-copy-actions .button {
    width: auto;
    min-width: 220px;
    min-height: 56px;
    justify-content: center;
    border-radius: 999px;
    text-transform: uppercase;
  }

  .agency-visual {
    width: min(48vw, 900px);
    margin-right: calc(50% - 50vw + 220px);
    margin-bottom: 2px;
  }

  .agency-visual img {
    width: min(48vw, 900px);
    max-height: min(70svh, 690px);
  }

  .agency-contacts {
    display: none;
  }

  .agency-hero-footer {
    bottom: 14px;
    padding-top: 16px;
  }

  .agency-hero-trust {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: 100%;
  }

  .agency-hero-trust .agency-directions {
    flex: 0 1 auto;
    margin: 0;
  }

  .client-logo-row {
    display: flex;
    flex: 0 0 auto;
    margin: 0 0 0 auto;
    justify-content: flex-end;
  }

  .section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  .section-head h2 {
    max-width: min(100%, 920px);
  }

  .section-head p,
  .band .section-head p {
    max-width: min(100%, 760px);
    margin: 0;
  }

  section[data-od-id="services-preview"] .section-head,
  .case-lab .section-head {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (min-width: 1024px) and (max-height: 820px) {
  .b2b-home .agency-hero .hero-inner {
    padding-top: 78px;
    padding-bottom: 90px;
  }

  .b2b-home .agency-hero h1 {
    font-size: clamp(58px, 4.6vw, 82px);
  }

  .hero-desktop-lead {
    margin-top: 18px;
    font-size: 19px;
  }

  .hero-copy-actions {
    margin-top: 22px;
  }

  .hero-copy-actions .button {
    min-height: 50px;
  }

  .agency-visual img {
    max-height: min(62svh, 560px);
  }
}

/* Mobile correction: keep the approved mobile layout, but bring the portrait back into frame. */
@media (max-width: 1023px) {
  .agency-visual {
    width: min(112vw, 590px);
    margin-right: 20px;
  }

  .agency-visual img {
    width: min(112vw, 590px);
  }
}

@media (max-width: 560px) and (max-height: 780px) {
  .agency-visual {
    width: min(108vw, 520px);
    margin-right: 12px;
  }

  .agency-visual img {
    width: min(108vw, 520px);
  }
}

/* OpenDesign hero polish pass. */
.b2b-home .agency-hero {
  isolation: isolate;
  color: var(--ink);
  background:
    linear-gradient(116deg, #f8f8f4 0%, #f6f5ee 48%, #fff4b8 100%);
}

.b2b-home .agency-hero::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .72;
  background:
    linear-gradient(133deg, transparent 0 48%, rgba(255,218,45,.20) 48% 67%, transparent 67%),
    repeating-linear-gradient(90deg, rgba(17,18,23,.034) 0 1px, transparent 1px 42px);
}

.b2b-home .agency-hero::after {
  display: block;
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(248,248,244,0), rgba(248,248,244,.86));
}

.agency-hero .hero-inner,
.agency-hero .hero-copy,
.agency-visual,
.agency-hero-footer {
  position: relative;
}

.agency-hero .hero-inner {
  z-index: 1;
}

.agency-hero .hero-copy {
  z-index: 3;
}

.hero-label {
  color: rgba(17,18,23,.54);
  letter-spacing: 0;
}

.agency-hero h1 span {
  padding: 0 .035em .02em;
  background:
    linear-gradient(180deg, transparent 50%, rgba(255,218,45,.86) 50% 87%, transparent 87%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.agency-visual {
  z-index: 2;
}

.agency-visual::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 5%;
  bottom: 2%;
  z-index: -1;
  display: block;
  height: 42%;
  border-radius: 34px 0 0 34px;
  background:
    linear-gradient(135deg, rgba(255,218,45,.82), rgba(255,248,212,.54));
  transform: skewY(-3deg);
  box-shadow: 0 26px 60px rgba(255,218,45,.24);
}

.agency-visual img {
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 30px 48px rgba(17,18,23,.18));
}

.agency-hero-footer {
  z-index: 4;
  border-top: 0;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(17,18,23,.10);
  box-shadow: 0 18px 42px rgba(17,18,23,.10);
  backdrop-filter: blur(18px);
}

.agency-hero-footer::before {
  display: none !important;
}

.agency-directions {
  letter-spacing: 0;
}

.agency-contacts .button.primary {
  box-shadow: 0 16px 34px rgba(255,210,30,.26);
}

@media (min-width: 1024px) {
  .b2b-home .agency-hero {
    min-height: 760px;
  }

  .b2b-home .agency-hero .hero-inner {
    grid-template-columns: minmax(0, 58vw) minmax(360px, 42vw);
  }

  .agency-visual {
    justify-self: end;
  }

  .agency-hero-footer {
    width: min(100%, 1180px);
    justify-self: center;
    padding: 16px 20px;
    border-radius: 28px;
  }
}

@media (max-width: 1023px) {
  .b2b-home .agency-hero {
    min-height: 100svh;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
  }

  .b2b-home .agency-hero .hero-inner {
    width: min(100% - 24px, 1180px);
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(185px, 1fr) auto;
    align-content: stretch;
    gap: clamp(7px, 1.4svh, 14px);
    padding-top: max(84px, env(safe-area-inset-top));
    padding-right: 0;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
    padding-left: 0;
  }

  .agency-hero .hero-copy {
    width: 100%;
    padding-right: 0;
  }

  .hero-label {
    margin-bottom: clamp(8px, 1.2svh, 12px);
    color: rgba(17,18,23,.50);
    font-size: clamp(16px, 4.45vw, 19px);
    line-height: 1.08;
  }

  .b2b-home .agency-hero h1 {
    max-width: 11ch;
    font-size: clamp(38px, 11.05vw, 49px);
    line-height: .93;
  }

  .agency-visual {
    align-self: end;
    justify-self: end;
    width: min(112vw, 540px);
    margin: clamp(-10px, -1svh, -2px) -46px -12px 0;
  }

  .agency-visual img {
    width: 100%;
    max-height: min(38svh, 320px);
  }

  .agency-hero-footer {
    width: 100%;
    margin: -6px auto 0;
    padding: 12px 12px max(12px, env(safe-area-inset-bottom));
    gap: 10px;
    border-radius: 24px;
  }

  .agency-hero-trust {
    gap: 9px;
  }

  .agency-directions {
    gap: 7px 9px;
    font-size: clamp(18px, 4.95vw, 22px);
    line-height: .98;
  }

  .agency-directions span:not(:last-child)::after {
    margin-left: 9px;
  }

  .client-logo-row {
    gap: 12px;
  }

  .client-logo {
    width: 28px;
    height: 28px;
  }

  .agency-contacts {
    gap: 0;
    width: 100%;
  }

  .agency-contacts .button {
    min-height: 56px;
    border-radius: 999px;
    font-size: 14px;
    text-transform: uppercase;
  }
}

@media (max-width: 560px) and (max-height: 780px) {
  .b2b-home .agency-hero .hero-inner {
    grid-template-rows: auto minmax(150px, 1fr) auto;
    gap: 6px;
    padding-top: max(72px, env(safe-area-inset-top));
  }

  .hero-label {
    font-size: 15px;
  }

  .b2b-home .agency-hero h1 {
    font-size: clamp(34px, 10.25vw, 41px);
  }

  .agency-visual {
    width: min(104vw, 500px);
    margin-right: -34px;
  }

  .agency-visual img {
    max-height: min(31svh, 238px);
  }

  .agency-hero-footer {
    padding: 10px 10px max(10px, env(safe-area-inset-bottom));
    border-radius: 21px;
  }

  .agency-directions {
    font-size: clamp(16px, 4.55vw, 18px);
  }

  .client-logo {
    width: 25px;
    height: 25px;
  }

  .agency-contacts .button {
    min-height: 46px;
  }
}

/* Mobile hero revision: lighter bottom, larger portrait. */
@media (max-width: 1023px) {
  .b2b-home .agency-hero::before {
    opacity: .54;
    background:
      linear-gradient(132deg, transparent 0 54%, rgba(255,218,45,.16) 54% 78%, transparent 78%),
      repeating-linear-gradient(90deg, rgba(17,18,23,.030) 0 1px, transparent 1px 42px);
  }

  .b2b-home .agency-hero .hero-inner {
    grid-template-rows: auto minmax(292px, 1fr) auto;
    gap: clamp(4px, .9svh, 10px);
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .agency-visual {
    width: auto;
    min-width: 0;
    margin: clamp(-42px, -4.4svh, -24px) -50px 14px auto;
    overflow: visible;
  }

  .agency-visual::before {
    left: -10%;
    right: -8%;
    bottom: 5%;
    height: 50%;
    opacity: .52;
    border-radius: 28px 0 0 28px;
    transform: skewY(-4deg);
  }

  .agency-visual img {
    width: auto;
    height: min(51svh, 438px);
    max-width: none;
    max-height: none;
    transform: scale(1.18);
    transform-origin: right bottom;
  }

  .agency-hero-footer {
    width: 100%;
    margin: 0;
    padding: 0 0 max(4px, env(safe-area-inset-bottom));
    gap: 10px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .agency-hero-trust {
    gap: 8px;
    padding-top: 9px;
    border-top: 1px solid rgba(17,18,23,.12);
  }

  .agency-directions {
    font-size: clamp(17px, 4.75vw, 21px);
  }

  .client-logo-row {
    gap: 11px;
  }

  .client-logo {
    width: 27px;
    height: 27px;
  }

  .agency-contacts .button.light {
    display: none;
  }

  .agency-contacts .button.primary {
    min-height: 54px;
    box-shadow: 0 12px 28px rgba(255,210,30,.24);
  }
}

@media (max-width: 560px) and (max-height: 780px) {
  .b2b-home .agency-hero .hero-inner {
    grid-template-rows: auto minmax(244px, 1fr) auto;
    gap: 4px;
  }

  .agency-visual {
    margin-top: -30px;
    margin-right: -40px;
    margin-bottom: 12px;
  }

  .agency-visual img {
    height: min(46svh, 350px);
    transform: scale(1.14);
  }

  .agency-hero-trust {
    gap: 7px;
    padding-top: 6px;
  }

  .agency-contacts .button.primary {
    min-height: 44px;
  }
}

/* Mobile hero composition: the portrait is a layer, not a separate row. */
@media (max-width: 1023px) {
  .b2b-home .agency-hero {
    overflow: hidden;
    padding: 54px 0 0;
  }

  .b2b-home .agency-hero .hero-inner {
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 0;
    position: relative;
    overflow: hidden;
  }

  .agency-hero .hero-copy {
    z-index: 4;
    min-height: 0;
  }

  .agency-visual {
    position: absolute;
    right: clamp(-118px, -23vw, -74px);
    bottom: max(50px, calc(env(safe-area-inset-bottom) + 44px));
    z-index: 2;
    width: auto;
    margin: 0;
    overflow: visible;
    pointer-events: none;
  }

  .agency-visual::before {
    left: -12%;
    right: -10%;
    bottom: 2%;
    height: 48%;
  }

  .agency-visual img {
    width: auto;
    height: min(66svh, 620px);
    max-width: none;
    max-height: none;
    transform: none;
    transform-origin: right bottom;
  }

  .agency-hero-footer {
    z-index: 5;
    align-self: end;
    background:
      linear-gradient(180deg, rgba(248,248,244,.88), rgba(248,248,244,.98) 28%, rgba(248,248,244,1));
  }
}

@media (max-width: 560px) and (min-height: 781px) {
  .agency-visual {
    right: clamp(-130px, -25vw, -88px);
    bottom: max(52px, calc(env(safe-area-inset-bottom) + 46px));
  }

  .agency-visual img {
    height: min(68svh, 640px);
  }
}

@media (max-width: 560px) and (max-height: 780px) {
  .b2b-home .agency-hero .hero-inner {
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .agency-visual {
    right: clamp(-112px, -24vw, -74px);
    bottom: max(48px, calc(env(safe-area-inset-bottom) + 42px));
  }

  .agency-visual img {
    height: min(68svh, 530px);
    transform: none;
  }
}

/* Mobile portrait edge fix: keep text inset, but let the image/footer reach the right edge. */
@media (max-width: 1023px) {
  html,
  body {
    overflow-x: hidden;
  }

  .b2b-home .agency-hero .hero-inner {
    width: 100%;
    min-height: calc(100svh - 54px);
    padding-left: 12px;
  }

  .agency-visual {
    right: clamp(-74px, -16vw, -48px);
  }
}

@media (max-width: 560px) and (min-height: 781px) {
  .agency-visual {
    right: clamp(-78px, -16vw, -52px);
  }
}

@media (max-width: 560px) and (max-height: 780px) {
  .agency-visual {
    right: clamp(-70px, -16vw, -46px);
  }
}

/* Mobile hero bottom dock: one compact control surface instead of stacked rows. */
@media (max-width: 1023px) {
  .agency-hero-footer {
    width: 100%;
    padding: 10px 12px max(10px, env(safe-area-inset-bottom)) 0;
    gap: 10px;
    background:
      linear-gradient(180deg, rgba(248,248,244,.82), rgba(248,248,244,.98) 24%, #f8f8f4);
  }

  .agency-hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    min-height: 30px;
    padding-top: 9px;
    border-top: 1px solid rgba(17,18,23,.12);
  }

  .agency-directions {
    flex: 0 1 auto;
    justify-content: center;
    gap: 4px 6px;
    margin: 0;
    font-size: clamp(15px, 4.05vw, 17px);
    line-height: 1;
    white-space: nowrap;
  }

  .agency-directions span:not(:last-child)::after {
    margin-left: 6px;
    color: rgba(17,18,23,.20);
  }

  .client-logo-row {
    display: none;
  }

  .agency-contacts {
    width: 100%;
    margin-top: 0;
  }

  .agency-contacts .button.primary {
    min-height: 52px;
    border-radius: 18px;
    font-size: 13px;
    box-shadow: 0 12px 24px rgba(255,210,30,.22);
  }
}

@media (max-width: 374px) {
  .agency-directions {
    font-size: 13px;
  }
}

/* Desktop hero correction: larger centered portrait, softer base, stable service rail. */
@media (min-width: 1024px) {
  .b2b-home .agency-hero {
    min-height: min(100svh, 860px);
    overflow: hidden;
  }

  .b2b-home .agency-hero::after {
    z-index: 0;
    height: 210px;
    opacity: 1;
    background:
      linear-gradient(180deg, rgba(248,248,244,0) 0%, rgba(248,248,244,.80) 48%, #f8f8f4 100%);
  }

  .b2b-home .agency-hero .hero-inner {
    z-index: 1;
    min-height: min(100svh, 820px);
    grid-template-columns: minmax(0, 590px) minmax(0, 1fr);
    column-gap: clamp(8px, 2vw, 34px);
    padding-top: clamp(92px, 10svh, 124px);
    padding-bottom: 34px;
  }

  .agency-hero .hero-copy {
    z-index: 6;
  }

  .agency-visual {
    z-index: 4;
    justify-self: start;
    align-self: end;
    width: clamp(620px, 49vw, 930px);
    max-width: none;
    margin: 0 0 -8px clamp(-112px, -5.6vw, -54px);
  }

  .agency-visual::before {
    left: 13%;
    right: 4%;
    bottom: 3%;
    height: 44%;
  }

  .agency-visual img {
    width: 100%;
    height: auto;
    max-width: none;
    max-height: min(78svh, 780px);
    object-position: center bottom;
    -webkit-mask-image: linear-gradient(180deg, #000 0 78%, rgba(0,0,0,.76) 89%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0 78%, rgba(0,0,0,.76) 89%, transparent 100%);
  }

  .agency-hero-footer {
    z-index: 7;
    width: min(100%, 1240px);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    margin-top: -6px;
    padding: 15px 18px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.92));
    color: var(--ink);
    border: 1px solid rgba(17,18,23,.12);
    border-top-color: rgba(17,18,23,.18);
    box-shadow:
      0 -10px 30px rgba(248,248,244,.82),
      0 18px 42px rgba(17,18,23,.10);
  }

  .agency-hero-trust {
    min-width: 0;
  }

  .agency-directions {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px 10px;
    max-width: none;
    white-space: nowrap;
    font-size: clamp(22px, 1.75vw, 30px);
    line-height: 1;
  }

  .agency-directions span {
    white-space: nowrap;
  }

  .agency-directions span:not(:last-child)::after {
    margin-left: 10px;
  }

  .client-logo-row {
    justify-content: flex-start;
    gap: 10px;
  }

  .agency-contacts {
    flex: 0 0 auto;
    min-width: 420px;
  }
}

@media (min-width: 1024px) and (max-width: 1380px) {
  .b2b-home .agency-hero .hero-inner {
    grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
    column-gap: 4px;
  }

  .b2b-home .agency-hero h1 {
    max-width: 560px;
    font-size: clamp(54px, 4.7vw, 66px);
  }

  .hero-desktop-lead {
    max-width: 500px;
    font-size: 18px;
  }

  .agency-visual {
    width: clamp(600px, 51vw, 725px);
    margin-left: clamp(-96px, -6vw, -58px);
  }

  .agency-directions {
    gap: 4px 7px;
    font-size: clamp(20px, 1.7vw, 24px);
  }

  .agency-directions span:not(:last-child)::after {
    margin-left: 7px;
  }

  .agency-contacts {
    min-width: 378px;
    gap: 10px;
  }

  .agency-contacts .button {
    min-width: 178px;
    padding-inline: 18px;
    font-size: 14px;
  }
}

@media (min-width: 1024px) and (max-height: 820px) {
  .b2b-home .agency-hero {
    min-height: 740px;
  }

  .b2b-home .agency-hero .hero-inner {
    min-height: 720px;
    padding-top: 84px;
    padding-bottom: 30px;
  }

  .agency-visual img {
    max-height: min(76svh, 640px);
  }

  .agency-hero-footer {
    padding-block: 12px;
  }
}

@media (min-width: 1600px) {
  .agency-visual {
    width: clamp(800px, 51vw, 1080px);
    margin-left: -154px;
  }
}

/* Realweb-inspired closing block: dense, editorial, and useful. */
.footer {
  position: relative;
  padding: clamp(54px, 7vw, 96px) clamp(20px, 4vw, 40px) 28px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255,218,45,.08), transparent 34%),
    #111217;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #66cfff, rgba(255,255,255,.26));
}

.footer-inner,
.footer-bottom {
  position: relative;
  z-index: 1;
  width: min(1320px, 100%);
  margin: 0 auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, .4fr) minmax(260px, .45fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.footer-kicker,
.footer-cta span {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-main p {
  max-width: 860px;
  margin: 22px 0 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 72px);
  line-height: .98;
  font-weight: 950;
}

.footer-nav {
  display: grid;
  gap: 11px;
  align-content: end;
}

.footer-nav a {
  color: rgba(255,255,255,.78);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-cta {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.footer-cta .button {
  min-height: 56px;
  color: var(--ink);
  background: var(--accent);
  border-color: transparent;
  box-shadow: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(44px, 7vw, 82px);
  padding-top: 20px;
  color: rgba(255,255,255,.56);
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 14px;
  font-weight: 750;
}

@media (max-width: 880px) {
  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-main p {
    font-size: clamp(32px, 10vw, 48px);
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-cta .button {
    width: 100%;
  }

  .footer-bottom {
    display: grid;
  }
}

/* Transparent visual pass: PNGs are accents inside the layout, not poster blocks. */
.page-hero .section-inner,
section[data-od-id="services-preview"] .section-inner,
.case-lab .section-inner,
.page-grid-section .section-inner,
.contact-wrap,
.footer {
  position: relative;
  isolation: isolate;
}

section[data-od-id="services-preview"],
.case-lab {
  overflow: hidden;
}

.page-hero-art,
.section-art,
.section-art img {
  border-radius: 0;
  clip-path: none;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
  user-select: none;
}

.page-hero .section-inner {
  min-height: clamp(330px, 36vw, 460px);
}

.page-hero .section-inner > div {
  position: relative;
  z-index: 2;
  max-width: min(760px, 72vw);
}

.page-hero-art {
  position: absolute;
  z-index: 1;
  right: clamp(-18px, 2vw, 38px);
  top: 52%;
  width: clamp(300px, 34vw, 540px);
  max-height: none;
  object-fit: contain;
  opacity: .86;
  filter: drop-shadow(0 28px 52px rgba(16,17,20,.16));
  transform: translateY(-48%) rotate(-4deg);
}

.page-hero-cases .page-hero-art {
  right: clamp(-34px, 1vw, 24px);
  width: clamp(330px, 36vw, 570px);
  transform: translateY(-47%) rotate(3deg);
}

.page-hero-contact .page-hero-art {
  right: clamp(-46px, 0vw, 20px);
  width: clamp(330px, 36vw, 585px);
  transform: translateY(-45%) rotate(-5deg);
}

.section-art {
  position: absolute;
  z-index: 0;
  display: block;
  min-height: 0;
  margin: 0;
  overflow: visible;
  opacity: .28;
}

.section-art img {
  display: block;
  width: 100%;
  max-height: none;
  object-fit: contain;
  filter: drop-shadow(0 26px 54px rgba(16,17,20,.13));
}

section[data-od-id="services-preview"] .section-art {
  top: 68px;
  right: clamp(-110px, -4vw, -48px);
  width: clamp(310px, 30vw, 520px);
  transform: rotate(-7deg);
}

.case-lab .section-art {
  top: 54px;
  right: clamp(-90px, -3vw, -34px);
  width: clamp(300px, 29vw, 500px);
  transform: rotate(5deg);
}

.section-head,
.grid,
.case-grid,
.actions,
.contact-panel,
form {
  position: relative;
  z-index: 1;
}

.card,
.case,
.problem-card,
.line-map article,
.contact-panel,
form {
  position: relative;
  overflow: hidden;
}

.card::after,
.case::after,
.problem-card::after,
.line-map article::after,
.contact-panel::after,
form::after,
.footer::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.card > *,
.case > *,
.problem-card > *,
.line-map article > *,
.contact-panel > *,
form > *,
.footer-inner,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.services-grid-section .card:nth-child(2)::after,
.services-grid-section .card:nth-child(6)::after {
  right: -64px;
  bottom: -74px;
  width: 210px;
  height: 210px;
  opacity: .13;
  background-image: url("assets/services-system-cutout.png");
  transform: rotate(-8deg);
}

.services-grid-section .card:nth-child(1)::after {
  right: -76px;
  bottom: -86px;
  width: 220px;
  height: 220px;
  opacity: .12;
  background-image: url("assets/agency-funnel-cutout.png");
  transform: rotate(8deg);
}

.problem-card::after {
  right: -62px;
  top: 14px;
  width: 190px;
  height: 190px;
  opacity: .12;
  transform: rotate(-8deg);
}

.problem-card:nth-child(1)::after {
  background-image: url("assets/agency-funnel-cutout.png");
}

.problem-card:nth-child(2)::after {
  right: -76px;
  top: auto;
  bottom: -54px;
  width: 220px;
  height: 220px;
  opacity: .18;
  background-image: url("assets/services-system-cutout.png");
  transform: rotate(9deg);
}

.problem-card:nth-child(3)::after {
  right: -70px;
  top: -40px;
  width: 230px;
  height: 230px;
  opacity: .16;
  background-image: url("assets/cases-results-cutout.png");
  transform: rotate(5deg);
}

.problem-card:nth-child(4)::after {
  right: -84px;
  bottom: -74px;
  top: auto;
  width: 230px;
  height: 230px;
  opacity: .16;
  background-image: url("assets/services-system-cutout.png");
  transform: rotate(-11deg);
}

.plan-map article::after {
  right: -72px;
  bottom: -82px;
  width: 230px;
  height: 230px;
  opacity: .11;
  transform: rotate(-7deg);
}

.plan-map article:nth-child(1)::after {
  background-image: url("assets/cases-results-cutout.png");
}

.plan-map article:nth-child(2)::after {
  opacity: .16;
  background-image: url("assets/agency-funnel-cutout.png");
  transform: rotate(8deg);
}

.plan-map article:nth-child(3)::after {
  background-image: url("assets/services-system-cutout.png");
}

.plan-map article:nth-child(4)::after {
  background-image: url("assets/cases-results-cutout.png");
  transform: rotate(9deg);
}

.featured-case::after {
  right: -92px;
  bottom: -104px;
  width: 300px;
  height: 300px;
  opacity: .12;
  background-image: url("assets/cases-results-cutout.png");
}

.contact-panel::after,
form::after {
  right: -92px;
  bottom: -112px;
  width: 280px;
  height: 280px;
  opacity: .10;
  background-image: url("assets/agency-funnel-cutout.png");
  transform: rotate(-10deg);
}

form::after {
  right: -110px;
  bottom: auto;
  top: -100px;
  opacity: .075;
}

.footer::after {
  right: max(-120px, calc((100vw - 1320px) / 2 - 140px));
  bottom: -170px;
  width: clamp(390px, 35vw, 620px);
  height: clamp(390px, 35vw, 620px);
  opacity: .16;
  background-image: url("assets/agency-funnel-cutout.png");
  filter: drop-shadow(0 34px 70px rgba(0,0,0,.32));
  transform: rotate(-9deg);
}

@media (max-width: 880px) {
  .page-hero {
    padding-bottom: 66px;
  }

  .page-hero .section-inner {
    min-height: 430px;
  }

  .page-hero .section-inner > div {
    max-width: 100%;
  }

  .page-hero-art {
    right: -118px;
    top: auto;
    bottom: -106px;
    width: 360px;
    opacity: .18;
    transform: rotate(-7deg);
    filter: drop-shadow(0 18px 34px rgba(16,17,20,.12));
  }

  .page-hero-cases .page-hero-art,
  .page-hero-contact .page-hero-art {
    right: -132px;
    bottom: -112px;
    width: 380px;
    transform: rotate(5deg);
  }

  section[data-od-id="services-preview"] .section-art,
  .case-lab .section-art {
    top: 92px;
    right: -154px;
    width: 330px;
    opacity: .12;
  }

  .services-grid-section .card:nth-child(1)::after,
  .services-grid-section .card:nth-child(2)::after,
  .services-grid-section .card:nth-child(6)::after,
  .problem-card::after,
  .line-map article::after,
  .featured-case::after,
  .contact-panel::after,
  form::after {
    opacity: .10;
  }

  .problem-card:nth-child(2)::after,
  .problem-card:nth-child(3)::after,
  .problem-card:nth-child(4)::after,
  .plan-map article:nth-child(2)::after {
    opacity: .14;
  }

  .problem-card::after {
    right: -84px;
    top: -18px;
    width: 220px;
    height: 220px;
  }

  .problem-card:nth-child(2)::after,
  .problem-card:nth-child(4)::after,
  .line-map article::after {
    right: -92px;
    bottom: -84px;
    width: 240px;
    height: 240px;
  }

  .footer::after {
    right: -180px;
    bottom: -160px;
    width: 410px;
    height: 410px;
    opacity: .12;
  }
}

/* Redesign skill pass: clean editorial structure, fewer card shells, stronger hierarchy. */
:root {
  --paper: #f4f5ef;
  --surface: #fbfbf7;
  --surface-tint: #fff3a6;
  --ink: #111217;
  --muted: #5f6570;
  --line: rgba(17,18,23,.10);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 48px rgba(17,18,23,.10);
  --shadow-soft: 0 8px 22px rgba(17,18,23,.06);
}

body {
  background: var(--paper);
}

body::before {
  opacity: .42;
  background:
    linear-gradient(rgba(17,18,23,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,18,23,.026) 1px, transparent 1px);
  background-size: 38px 38px;
}

.site-header {
  top: 16px;
  min-height: 58px;
  border-radius: 20px;
  background: rgba(19,20,24,.88);
  box-shadow: 0 12px 32px rgba(17,18,23,.14);
}

.site-header .brand,
.site-header .menu-toggle {
  color: #fff;
}

.brand-mark,
.card-icon,
.line-map b,
.problem-card b {
  border-radius: 9px;
}

.button {
  border-radius: 13px;
  box-shadow: none;
}

.button.primary {
  box-shadow: 0 10px 24px rgba(255,210,30,.18);
}

.b2b-home .agency-hero {
  color: var(--ink);
  background: var(--paper);
}

.b2b-home .agency-hero::before {
  opacity: 1;
  background:
    linear-gradient(122deg, rgba(255,255,255,.02) 0 48%, rgba(255,210,30,.18) 48% 100%),
    radial-gradient(circle at 80% 24%, rgba(255,210,30,.18), transparent 32%);
  transform: none;
  animation: none;
}

.b2b-home .agency-hero::after {
  background: linear-gradient(180deg, rgba(244,245,239,0), var(--paper));
}

.hero-label,
.hero-desktop-lead {
  color: rgba(17,18,23,.58);
}

.hero-label {
  max-width: min(560px, 100%);
  white-space: normal;
}

.b2b-home .agency-hero h1 {
  letter-spacing: -.035em;
}

.b2b-home .agency-hero h1 span {
  background: linear-gradient(180deg, transparent 58%, rgba(255,210,30,.72) 58%);
}

.agency-visual::before {
  background: rgba(255,210,30,.24);
  filter: blur(24px);
}

.agency-hero-footer {
  border-radius: 20px;
}

.hero-metrics {
  gap: 1px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(17,18,23,.06);
}

.metric {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.metric:nth-child(2) {
  background: var(--accent);
}

.partner-strip .section-inner {
  border-radius: 16px;
  box-shadow: none;
}

section {
  padding: clamp(76px, 8vw, 118px) 0;
}

.section-head {
  display: block;
  max-width: 820px;
  margin-bottom: 34px;
}

.section-kicker {
  border-radius: 9px;
  letter-spacing: .06em;
}

.section-head h2 {
  max-width: 780px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.035em;
}

.section-head p {
  max-width: 680px;
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.45;
}

.company-story .story-layout {
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: 1px;
  padding: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: none;
}

.story-copy,
.story-timeline {
  background: rgba(255,255,255,.72);
}

.story-copy {
  padding: clamp(28px, 4vw, 54px);
}

.story-copy h2 {
  letter-spacing: -.03em;
}

.story-timeline {
  display: grid;
  gap: 1px;
  padding: 0;
  background: var(--line);
}

.story-timeline article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px;
  background: var(--surface);
  border: 0;
  border-radius: 0;
}

.story-timeline b {
  color: var(--ink);
  background: var(--accent);
  border-radius: 9px;
}

.diagnosis-board {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.diagnosis-visual,
.diagnosis-copy,
.diagnosis-rows article {
  background: var(--surface);
}

.diagnosis-visual {
  grid-row: span 2;
  display: grid;
  place-items: center;
  min-height: 510px;
  padding: 34px;
  background:
    radial-gradient(circle at 28% 20%, rgba(255,210,30,.20), transparent 36%),
    #f7f7f1;
}

.diagnosis-visual img {
  width: min(430px, 88%);
  filter: drop-shadow(0 22px 38px rgba(17,18,23,.12));
}

.diagnosis-copy {
  padding: clamp(28px, 4vw, 54px);
}

.diagnosis-copy h3 {
  max-width: 720px;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: .98;
  letter-spacing: -.035em;
}

.diagnosis-copy p {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.diagnosis-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.diagnosis-rows article {
  min-height: 150px;
  padding: 26px;
}

.diagnosis-rows b,
.service-catalog article h3 {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.04;
}

.diagnosis-rows span {
  color: var(--muted);
  font-weight: 650;
}

.growth-plan-section {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255,210,30,.18), rgba(255,210,30,0) 32%),
    #ebece6;
}

.growth-plan-section .section-kicker {
  color: var(--ink);
  background: var(--accent);
}

.growth-plan-section .section-head p {
  color: rgba(17,18,23,.64);
}

.launch-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid rgba(17,18,23,.10);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(17,18,23,.12);
}

.launch-ledger article {
  min-height: 300px;
  padding: 28px;
  color: #fff;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.12);
  border-radius: 0;
  box-shadow: none;
}

.launch-ledger article:last-child {
  border-right: 0;
}

.launch-ledger article:nth-child(2) {
  color: var(--ink);
  background: var(--accent);
}

.launch-ledger article:nth-child(2) p,
.launch-ledger article:nth-child(2) h3 {
  color: var(--ink);
}

.launch-ledger b {
  color: var(--ink);
  background: rgba(255,255,255,.92);
}

.launch-ledger article:nth-child(2) b {
  color: #fff;
  background: var(--ink);
}

.launch-ledger h3 {
  margin-top: 58px;
  font-size: clamp(28px, 2.7vw, 42px);
  line-height: .98;
}

.launch-ledger p {
  color: rgba(255,255,255,.72);
}

.service-catalog {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.service-catalog-visual {
  grid-row: span 3;
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: 34px;
  background:
    radial-gradient(circle at 48% 34%, rgba(102,207,255,.16), transparent 34%),
    #fff;
}

.service-catalog-visual img {
  width: min(460px, 94%);
  filter: drop-shadow(0 22px 38px rgba(17,18,23,.12));
}

.service-catalog article {
  display: grid;
  grid-template-columns: 54px minmax(180px, 280px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  min-height: 170px;
  padding: 28px;
  background: var(--surface);
}

.service-catalog article > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 10px;
}

.service-catalog article p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.case-lab {
  background: var(--paper);
}

.case-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.case {
  box-shadow: none;
  border: 0;
  border-radius: 0;
}

.featured-case {
  display: block;
  min-height: 470px;
  padding: clamp(30px, 4vw, 56px);
}

.featured-case::after {
  right: -74px;
  bottom: -92px;
  opacity: .18;
}

.case:not(.featured-case) {
  padding: clamp(28px, 3.5vw, 42px);
  background: var(--surface);
}

.case h3 {
  max-width: 620px;
  letter-spacing: -.02em;
}

.case-stats {
  max-width: 560px;
  margin-top: 32px;
}

.case-stats span {
  border-radius: 12px;
  box-shadow: none;
}

.contact-wrap {
  align-items: stretch;
}

.contact-panel,
form {
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(17,18,23,.08);
}

@media (max-width: 1023px) {
  .site-header {
    left: 12px;
    right: 12px;
  }

  .diagnosis-board,
  .service-catalog,
  .case-grid,
  .company-story .story-layout {
    grid-template-columns: 1fr;
  }

  .diagnosis-visual,
  .service-catalog-visual {
    grid-row: auto;
    min-height: 290px;
  }

  .diagnosis-rows {
    grid-template-columns: 1fr;
  }

  .launch-ledger {
    grid-auto-flow: column;
    grid-auto-columns: minmax(284px, 78vw);
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .launch-ledger::-webkit-scrollbar {
    display: none;
  }

  .launch-ledger article {
    scroll-snap-align: start;
  }

  .service-catalog article {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .service-catalog article p {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  section {
    padding: 64px 0;
  }

  .section-head h2 {
    font-size: 34px;
  }

  .b2b-home .agency-hero h1 {
    max-width: 280px;
    font-size: clamp(43px, 11.4vw, 48px);
    line-height: .92;
  }

  .agency-visual {
    transform: translateX(28px);
  }

  .hero-label {
    max-width: 300px;
    font-size: 17px;
    line-height: 1.12;
  }

  .section-head p,
  .diagnosis-copy p {
    font-size: 16px;
  }

  .diagnosis-copy,
  .diagnosis-rows article,
  .service-catalog article,
  .story-copy,
  .story-timeline article {
    padding: 22px;
  }

  .diagnosis-copy h3 {
    font-size: 32px;
  }

  .diagnosis-visual,
  .service-catalog-visual {
    min-height: 230px;
  }

  .diagnosis-visual img,
  .service-catalog-visual img {
    width: 88%;
  }

  .launch-ledger article {
    min-height: 286px;
  }

  .launch-ledger h3 {
    margin-top: 42px;
  }
}

/* Screenshot fixes: calm the oversized footer and remove clipped mobile ledger cards. */
.footer-main p {
  max-width: 720px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
}

.story-timeline article {
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 132px;
  gap: clamp(18px, 2.4vw, 28px);
  padding: clamp(22px, 3.2vw, 34px);
}

.story-timeline b {
  display: grid;
  place-items: center;
  width: 72px;
  min-width: 72px;
  min-height: 44px;
  font-size: 22px;
  line-height: 1;
}

.story-timeline span {
  max-width: 720px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  text-wrap: balance;
}

@media (max-width: 1023px) {
  .growth-plan-section {
    padding-bottom: 0;
  }

  .launch-ledger {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(100vw - 46px);
    grid-template-columns: none;
    gap: 0;
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 0;
    overflow-x: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .launch-ledger::-webkit-scrollbar {
    display: none;
  }

  .growth-plan-section .launch-ledger article {
    width: 100%;
    flex: initial;
    min-height: 286px;
    background: var(--ink);
    border-right: 1px solid rgba(255,255,255,.12);
    border-bottom: 0;
    border-radius: 0;
    scroll-snap-align: start;
  }

  .launch-ledger article:nth-child(3),
  .launch-ledger article:nth-child(4) {
    background: #2f3238;
  }

  .growth-plan-section .launch-ledger article:nth-child(2) {
    color: var(--ink);
    background: var(--accent);
  }

  .launch-ledger article:last-child {
    border-right: 0;
  }
}

@media (max-width: 880px) {
  .footer {
    padding-top: 48px;
  }

  .footer-main p {
    max-width: 520px;
    font-size: clamp(24px, 6.6vw, 30px);
    line-height: 1.08;
  }

  .story-timeline article {
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: auto;
    gap: 16px;
    padding: 18px;
  }

  .story-timeline b {
    width: 58px;
    min-width: 58px;
    min-height: 38px;
    font-size: 18px;
    border-radius: 10px;
  }

  .story-timeline span {
    font-size: clamp(19px, 5.4vw, 25px);
    line-height: 1.1;
  }

  .launch-ledger article {
    padding: 24px max(22px, calc((100vw - 100%) / 2 + 22px));
  }

  .launch-ledger h3 {
    margin-top: 30px;
    font-size: clamp(29px, 9vw, 36px);
  }
}

@media (max-width: 560px) {
  .footer-main p {
    font-size: clamp(22px, 6.7vw, 28px);
  }

  .story-timeline article {
    padding: 16px;
  }

  .story-timeline span {
    font-size: clamp(18px, 5.1vw, 22px);
  }

  .launch-ledger article {
    padding: 20px;
  }

  .launch-ledger p {
    font-size: 16px;
    line-height: 1.35;
  }
}

/* Smooth browser-resize changes for the hero portrait. */
.agency-hero .agency-visual img {
  transition: all .6s ease !important;
}

/* Desktop hero composition fix: right-edge portrait and wider balanced copy. */
@media (min-width: 1024px) {
  .b2b-home .agency-hero {
    height: 100svh;
    min-height: 720px;
    overflow: hidden;
  }

  .b2b-home .agency-hero .hero-inner {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    grid-template-columns: minmax(520px, clamp(560px, 49vw, 900px)) minmax(0, 1fr);
    grid-template-areas: "copy visual";
    column-gap: clamp(16px, 2.6vw, 58px);
    padding-top: clamp(86px, 9svh, 118px);
    padding-right: 0;
    padding-bottom: 112px;
    padding-left: clamp(64px, 9vw, 180px);
  }

  .agency-hero .hero-copy {
    grid-area: copy;
    max-width: clamp(560px, 48vw, 900px);
    align-self: center;
    padding-bottom: 10px;
  }

  .b2b-home .agency-hero h1 {
    max-width: clamp(560px, 48vw, 900px);
    font-size: clamp(60px, 5.1vw, 96px);
    line-height: .94;
    text-wrap: balance;
  }

  .hero-label {
    max-width: clamp(520px, 42vw, 780px);
  }

  .hero-desktop-lead {
    max-width: clamp(520px, 42vw, 760px);
  }

  .agency-visual {
    position: absolute;
    right: clamp(-120px, -4vw, -54px);
    bottom: -78px;
    z-index: 4;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: clamp(680px, 52vw, 980px);
    max-width: none;
    margin: 0;
    pointer-events: none;
  }

  .agency-visual::before {
    left: 18%;
    right: -2%;
    bottom: 3%;
    height: 44%;
  }

  .agency-visual img {
    width: auto;
    height: min(78svh, 860px);
    max-width: none;
    max-height: none;
    object-position: right bottom;
  }

  .agency-hero-footer {
    position: absolute !important;
    left: clamp(64px, 9vw, 180px);
    right: auto;
    bottom: 28px;
    width: min(720px, calc(100vw - clamp(64px, 9vw, 180px) - 48px));
  }

  .agency-hero-trust {
    justify-content: flex-start;
    gap: 18px;
    transform: none;
  }

  .agency-hero-trust .agency-directions {
    flex: 0 0 auto;
  }

  .client-logo-row {
    flex: 0 0 auto;
    margin-left: 0;
  }
}

@media (min-width: 1024px) and (max-width: 1380px) {
  .b2b-home .agency-hero .hero-inner {
    grid-template-columns: minmax(500px, 50vw) minmax(0, 1fr);
    padding-left: 24px;
    column-gap: 8px;
  }

  .agency-hero .hero-copy,
  .b2b-home .agency-hero h1 {
    max-width: 560px;
  }

  .b2b-home .agency-hero h1 {
    font-size: clamp(58px, 4.8vw, 66px);
  }

  .hero-desktop-lead {
    max-width: 520px;
  }

  .agency-visual {
    right: clamp(-100px, -5vw, -54px);
    width: clamp(560px, 49vw, 680px);
    bottom: -76px;
  }

  .agency-visual img {
    height: min(76svh, 600px);
  }

  .agency-hero-footer {
    position: absolute !important;
    left: 24px;
    right: auto;
    bottom: 24px;
    width: min(620px, calc(100vw - 48px));
  }
}

@media (min-width: 1600px) {
  .agency-visual {
    right: clamp(-150px, -5vw, -80px);
    bottom: -92px;
  }

  .agency-visual img {
    height: min(78svh, 860px);
  }

  .agency-hero-trust {
    transform: none;
  }

  .agency-directions {
    gap: 5px 8px;
    font-size: clamp(22px, 1.35vw, 26px);
  }

  .agency-directions span:not(:last-child)::after {
    margin-left: 8px;
  }

  .client-logo-row {
    gap: 8px;
  }

  .client-logo {
    width: 22px;
    height: 22px;
  }
}

/* Taste regroup: copy + capability strip form one left composition; portrait stays a right edge layer. */
@media (min-width: 1024px) {
  .b2b-home .agency-hero .hero-inner {
    display: grid;
    grid-template-columns: minmax(520px, clamp(560px, 49vw, 900px)) minmax(0, 1fr);
    grid-template-rows: auto auto;
    grid-template-areas:
      "copy visual"
      "footer visual";
    align-content: center;
    row-gap: 24px;
    height: 100%;
    padding-top: 84px;
    padding-bottom: 58px;
  }

  .agency-hero .hero-copy {
    grid-area: copy;
    align-self: end;
  }

  .agency-hero-footer {
    position: relative !important;
    grid-area: footer;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    justify-self: start;
    width: min(720px, 100%);
    margin: 0;
    padding: 12px 18px;
  }

  .agency-hero-trust {
    display: flex;
    justify-content: flex-start;
    gap: 18px;
    transform: none;
  }

  .agency-visual {
    position: absolute;
    right: clamp(-120px, -4vw, -54px);
    bottom: -104px;
  }

  .agency-visual img {
    height: min(74svh, 800px);
  }
}

@media (min-width: 1024px) and (max-width: 1380px) {
  .b2b-home .agency-hero .hero-inner {
    grid-template-columns: minmax(500px, 50vw) minmax(0, 1fr);
    row-gap: 22px;
    padding-bottom: 50px;
  }

  .agency-hero-footer {
    width: min(620px, 100%);
  }

  .agency-visual {
    bottom: -88px;
  }

  .agency-visual img {
    height: min(72svh, 570px);
  }
}

@media (min-width: 1600px) {
  .agency-visual {
    right: clamp(-150px, -5vw, -80px);
    bottom: -118px;
  }

  .agency-visual img {
    height: min(74svh, 820px);
  }
}
