:root {
  --canvas: #070a10;
  --panel: #0d131c;
  --panel-soft: #101923;
  --gold: #c6a15a;
  --gold-hot: #dfbd78;
  --gold-muted: rgba(198, 161, 90, 0.2);
  --blue: #4b9ee8;
  --blue-muted: rgba(75, 158, 232, 0.16);
  --text: #f1f4f7;
  --muted: #98a4b3;
  --line: rgba(196, 211, 225, 0.14);
  --wrap: min(1280px, calc(100vw - 64px));
  --radius: 28px;
  --hero-title-size: clamp(3rem, 6vw, 6.2rem);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--canvas);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold-hot);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--text);
  color: var(--canvas);
}

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

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 100;
  display: flex;
  width: min(1320px, calc(100vw - 36px));
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 20px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 10, 16, 0.64);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  transition: background 300ms ease, transform 300ms ease;
}

.nav.scrolled {
  background: rgba(7, 10, 16, 0.88);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-wordmark {
  display: block;
  width: 142px;
  height: auto;
  filter: drop-shadow(0 2px 7px rgba(212, 175, 55, 0.08));
  transition: filter 220ms ease;
}

.brand:hover .brand-wordmark {
  filter: drop-shadow(0 2px 9px rgba(212, 175, 55, 0.18));
}

.nav-links,
.nav-actions,
.language {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 30px;
  color: var(--muted);
  font-size: 0.84rem;
}

.nav-links a,
.footer-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--text);
}

.nav-actions {
  gap: 14px;
}

.language {
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language button,
.language a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 34px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
}

.language button.active,
.language a.active {
  background: var(--text);
  color: var(--canvas);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  text-shadow: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-cta {
  background: var(--text);
  color: var(--canvas);
  font-size: 0.8rem;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: #090a0d;
  box-shadow: 0 8px 24px rgba(198, 161, 90, 0.14);
}

.button-primary:hover {
  background: var(--gold-hot);
}

.hero-journey {
  position: relative;
  height: 420vh;
}

.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-media {
  z-index: -4;
  overflow: hidden;
  background: #070a10;
}

.hero-poster,
.hero-video {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) brightness(0.68);
}

.hero-poster {
  background-position: center;
  background-size: cover;
}

.hero-video {
  opacity: 0;
  transform: translateZ(0) scale(1.002);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-stage.video-ready .hero-video {
  opacity: 1;
}

.hero-stage.video-failed .hero-video {
  display: none;
}

.hero-loader {
  position: absolute;
  right: 27px;
  bottom: 28px;
  width: 38px;
  color: rgba(198, 161, 90, 0.8);
  opacity: 1;
  transform: rotate(-90deg);
  transition: opacity 350ms ease;
}

.hero-loader circle {
  transition: stroke-dashoffset 120ms linear;
}

.hero-stage.video-ready .hero-loader,
.hero-stage.video-failed .hero-loader {
  opacity: 0;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 120% 90% at 50% 45%, rgba(5, 7, 11, 0.04) 34%, rgba(5, 7, 11, 0.66) 100%),
    linear-gradient(90deg, rgba(5, 7, 11, 0.86) 0%, rgba(5, 7, 11, 0.58) 38%, rgba(5, 7, 11, 0.08) 76%);
}

.hero-progress {
  position: absolute;
  top: 50%;
  right: 28px;
  width: 2px;
  height: min(42vh, 360px);
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.13);
}

.hero-progress span {
  display: block;
  width: 100%;
  height: var(--hero-progress-percent, 0%);
  background: linear-gradient(var(--gold), var(--blue));
}

.hero-copy {
  position: relative;
  width: var(--wrap);
  height: 100%;
  margin-inline: auto;
  opacity: calc(1 - var(--hero-exit, 0));
  will-change: opacity;
}

.hero-copy-mobile { display: none; }

.hero-band {
  --band-opacity: 0;
  --k: 0;
  position: absolute;
  top: 50%;
  left: 0;
  width: min(670px, 70vw);
  padding-block: 20px;
  transform: translateY(calc(-44% + (1 - var(--k)) * 34px));
  opacity: var(--band-opacity);
  pointer-events: none;
  isolation: isolate;
  text-shadow: 0 1px 2px rgba(5, 5, 10, 0.95), 0 3px 12px rgba(5, 5, 10, 0.78), 0 10px 44px rgba(5, 5, 10, 0.8);
  will-change: transform, opacity;
}

.hero-band::before {
  position: absolute;
  inset: -18% -10%;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: calc(0.25 + 0.75 * var(--k));
  background: radial-gradient(ellipse 76% 66% at 36% 50%, rgba(5, 7, 11, 0.72) 0%, rgba(5, 7, 11, 0.48) 48%, rgba(5, 7, 11, 0) 78%);
}

.hero-band-approach {
  transform: translateY(-44%) scale(calc(0.9 + 0.1 * var(--k)));
}

.hero-band-connect {
  transform: translate(calc((1 - var(--k)) * -34px), -44%);
}

.hero-band-cross {
  transform: translate(calc((1 - var(--k)) * 34px), -44%);
}

.hero-band-final {
  transform: translateY(calc(-44% + (1 - var(--k)) * 28px));
}

.hero-band.active {
  pointer-events: auto;
}

.hero-band h1,
.hero-band h2,
.section-intro h2,
.process-intro h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Onest", sans-serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.hero-band h1,
.hero-band h2 {
  max-width: 720px;
  font-size: var(--hero-title-size);
  text-wrap: balance;
  text-shadow: inherit;
}

html[lang="ru"] .hero-band h1,
html[lang="ru"] .hero-band h2 {
  --hero-title-size: clamp(2.65rem, 4vw, 4.8rem);
  max-width: 860px;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.hero-band p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 30px;
  color: #d4dbe3;
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  line-height: 1.55;
  text-shadow: inherit;
  text-wrap: pretty;
}

.eyebrow,
.index,
.case-number {
  margin: 0 0 20px;
  color: var(--gold);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: "Onest", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.075em;
  line-height: 1.5;
  text-wrap: balance;
}

.section-intro > p,
.contact-copy > p,
.process-steps p {
  text-wrap: pretty;
}

.hero-band .hero-lead {
  max-width: 680px;
}

.section {
  position: relative;
  padding: 150px 0;
}

.section-intro {
  display: grid;
  max-width: 920px;
  grid-template-columns: 0.55fr 1fr;
  column-gap: 80px;
}

.section-intro .eyebrow {
  grid-row: 1 / span 2;
}

.section-intro h2,
.process-intro h2,
.contact-copy h2 {
  font-size: clamp(2.8rem, 5vw, 5.8rem);
}

.section-intro > p:last-child,
.contact-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

[data-reveal] {
  transform: translateY(26px);
  opacity: 0;
  transition: opacity 700ms ease, transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].in {
  transform: translateY(0);
  opacity: 1;
}

.capabilities {
  padding-top: 180px;
  background: linear-gradient(180deg, var(--canvas), #09101a 48%, var(--canvas));
}

.capability-map {
  position: relative;
  min-height: 880px;
  margin-top: 100px;
}

.connection-map {
  position: absolute;
  inset: 20px 0 auto;
  width: 100%;
  overflow: visible;
}

.connection-map circle {
  fill: var(--canvas);
  stroke: var(--blue);
  stroke-width: 2;
}

.connection-path {
  fill: none;
  stroke-width: 1.5;
}

.connection-path.base {
  stroke: rgba(152, 164, 179, 0.2);
}

.connection-path.live {
  stroke: url("#signal");
  stroke: var(--blue);
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  filter: drop-shadow(0 0 8px rgba(75, 158, 232, 0.7));
  transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.capability-map.connected .connection-path.live {
  stroke-dashoffset: 0;
}

.capability {
  position: absolute;
  width: min(260px, 23%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(17, 25, 36, 0.92), rgba(10, 15, 23, 0.68));
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), border-color 400ms ease, background 400ms ease;
}

.capability:hover,
.capability-map.connected .capability {
  border-color: rgba(75, 158, 232, 0.42);
  background: linear-gradient(145deg, rgba(20, 35, 50, 0.94), rgba(10, 15, 23, 0.78));
}

.capability-build { top: 0; left: 2%; }
.capability-automate { top: 245px; left: 28%; }
.capability-connect { top: 330px; left: 54%; }
.capability-ads { top: 0; right: 1%; }

.capability-map.connected .capability-build { transform: translate(10px, 12px); }
.capability-map.connected .capability-automate { transform: translate(8px, -12px); }
.capability-map.connected .capability-connect { transform: translate(-8px, -20px); }
.capability-map.connected .capability-ads { transform: translate(-10px, 12px); }

.capability h3 {
  margin: 0 0 18px;
  font-family: "Onest", sans-serif;
  font-size: 2rem;
  letter-spacing: -0.035em;
}

.capability ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  font-size: 0.88rem;
}

.capability li::before {
  margin-right: 8px;
  color: var(--blue);
  content: "/";
}

.capability-icon {
  position: relative;
  width: 58px;
  height: 48px;
  margin-bottom: 34px;
}

.capability-icon .screen {
  position: absolute;
  top: 2px;
  left: 0;
  width: 47px;
  height: 33px;
  border: 1px solid var(--blue);
  border-radius: 4px;
}

.capability-icon .screen::after {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 18px;
  height: 1px;
  content: "";
  background: var(--gold);
}

.capability-icon .phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 18px;
  height: 31px;
  border: 1px solid rgba(241, 244, 247, 0.7);
  border-radius: 5px;
  background: var(--panel);
}

.flow-icon,
.api-icon,
.signal-icon {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flow-icon i,
.api-icon i {
  display: block;
  width: 10px;
  height: 10px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(75, 158, 232, 0.2);
}

.flow-icon::after,
.api-icon::after {
  position: absolute;
  top: 24px;
  left: 10px;
  z-index: -1;
  width: 38px;
  height: 1px;
  content: "";
  background: var(--blue);
}

.api-icon i:nth-child(2) { transform: translateY(-12px); }

.signal-icon i {
  position: absolute;
  left: 50%;
  border: 1px solid var(--blue);
  border-radius: 50%;
  transform: translateX(-50%);
}

.signal-icon i:nth-child(1) { width: 12px; height: 12px; background: var(--gold); border: 0; }
.signal-icon i:nth-child(2) { width: 34px; height: 34px; opacity: 0.8; }
.signal-icon i:nth-child(3) { width: 58px; height: 58px; opacity: 0.35; }

.connect-control {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  justify-items: center;
}

.hold-button {
  position: relative;
  width: min(330px, 90vw);
  min-height: 62px;
  overflow: hidden;
  border: 1px solid rgba(198, 161, 90, 0.4);
  border-radius: 999px;
  background: rgba(7, 10, 16, 0.74);
  color: var(--text);
  cursor: pointer;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}

.hold-button span {
  position: relative;
  z-index: 2;
}

.hold-button i {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: scaleX(var(--hold, 0));
  transform-origin: left;
  background: linear-gradient(90deg, rgba(75, 158, 232, 0.2), rgba(198, 161, 90, 0.38));
}

.connected-sequence {
  margin: 18px 0 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  opacity: 0.4;
  transition: opacity 400ms ease, color 400ms ease;
}

.capability-map.connected .connected-sequence {
  color: var(--text);
  opacity: 1;
}

.capabilities {
  padding-block: 96px 104px;
}

/* One restrained background system across the dark content sections. */
.ambient-dots {
  isolation: isolate;
}

.ambient-dots::before,
.ambient-dots::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: 32px 32px;
}

.ambient-dots::before {
  background-image: radial-gradient(circle, rgb(119 149 176 / 12%) 1px, transparent 1.5px);
  mask-image: linear-gradient(transparent, #000 15%, #000 85%, transparent);
}

.ambient-dots::after {
  background-image: radial-gradient(circle, rgb(207 171 94 / 58%) 1.7px, transparent 2.3px);
  mask-image: radial-gradient(circle 76px at var(--dot-x, -160px) var(--dot-y, -160px), #000 0 24%, transparent 100%);
  opacity: var(--dot-active, 0);
  transition: opacity 220ms ease;
}

.ambient-dots > .wrap,
.ambient-dots > .contact-horizon {
  position: relative;
  z-index: 1;
}

@media (max-width: 1050px), (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .ambient-dots::after {
    display: none;
  }
}

.capabilities-intro {
  display: block;
  max-width: none;
}

.capabilities-intro .eyebrow {
  margin-bottom: 20px;
}

.capabilities-intro h2 {
  max-width: none;
  font-size: clamp(3rem, 4.15vw, 5rem);
  line-height: 1;
  text-wrap: balance;
}

.capabilities-intro > p:last-child {
  max-width: 980px;
  margin-top: 20px;
}

.capability-grid {
  display: grid;
  margin-top: 44px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.capability-grid .capability {
  position: relative;
  inset: auto;
  width: auto;
  min-width: 0;
  min-height: 252px;
  padding: 24px;
  overflow: hidden;
  transform: none;
}

.capability-grid .capability::after {
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(75, 158, 232, 0.12);
  border-radius: 50%;
  content: "";
  transition: transform 500ms ease, border-color 300ms ease;
}

.capability-grid .capability:hover {
  transform: translateY(-3px);
  border-color: rgba(75, 158, 232, 0.42);
}

.capability-grid .capability:hover::after {
  transform: scale(1.08);
  border-color: rgba(198, 161, 90, 0.3);
}

.capability-grid .capability h3 {
  max-width: 100%;
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 1.55vw, 1.72rem);
  overflow-wrap: normal;
  white-space: nowrap;
}

.capability-symbol {
  display: block;
  width: 72px;
  height: 52px;
  margin-bottom: 22px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--blue);
  filter: drop-shadow(0 0 10px rgba(75, 158, 232, 0.12));
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), filter 300ms ease;
}

.capability-symbol .accent {
  stroke: var(--gold-hot);
}

.capability-symbol .fill-accent {
  fill: var(--gold-hot);
}

.capability-grid .capability:hover .capability-symbol {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 0 16px rgba(75, 158, 232, 0.24));
}

.capability-grid .capability .index {
  margin-bottom: 12px;
}

.capability-grid .capability ul {
  gap: 5px;
  font-size: 0.78rem;
  line-height: 1.45;
}

.capability-callout {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 16px;
  padding: 17px 18px 17px 26px;
  border: 1px solid rgba(198, 161, 90, 0.26);
  border-radius: 18px;
  background: linear-gradient(105deg, rgba(198, 161, 90, 0.08), rgba(75, 158, 232, 0.055));
}

.capability-callout p {
  margin: 0;
  color: #dce3ea;
  font-family: "Onest", sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.4;
}

.capability-callout .button {
  min-width: max-content;
  flex: 0 0 auto;
}

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

  .capability-grid .capability h3 {
    font-size: clamp(1.45rem, 2.5vw, 2rem);
  }
}

@media (max-width: 720px) {
  .capability-grid {
    margin-top: 44px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .capability-grid .capability {
    min-height: auto;
    padding: 26px;
  }

  .capability-grid .capability h3 {
    white-space: normal;
  }

  .capability-callout {
    align-items: stretch;
    flex-direction: column;
    padding: 22px;
  }

  .capability-callout .button {
    width: 100%;
  }
}

.work {
  padding-bottom: 90px;
}

.section-intro.narrow {
  margin-bottom: 100px;
}

.case {
  position: relative;
  margin-bottom: 72px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.case h3 {
  margin: 0 0 22px;
  font-family: "Onest", sans-serif;
  font-size: clamp(2.3rem, 4.2vw, 5rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.case-copy > p:not(.case-number):not(.proof) {
  max-width: 580px;
  color: var(--muted);
  font-size: 1.05rem;
}

.case-influencer {
  display: grid;
  min-height: 650px;
  grid-template-columns: 0.85fr 1.15fr;
  background:
    radial-gradient(circle at 76% 42%, rgba(75, 158, 232, 0.24), transparent 29%),
    radial-gradient(circle at 60% 75%, rgba(198, 161, 90, 0.12), transparent 28%),
    #091019;
}

.case-influencer .case-copy,
.case-report .case-copy {
  align-self: center;
  padding: 72px;
}

.metric {
  display: grid;
  margin-top: 60px;
}

.metric strong {
  color: var(--gold-hot);
  font-family: "Onest", sans-serif;
  font-size: clamp(4.7rem, 8vw, 8.8rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.metric span {
  margin-top: 12px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.persona-visual {
  position: relative;
  min-height: 650px;
  overflow: hidden;
}

.persona-silhouette {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 270px;
  height: 390px;
  transform: translate(-50%, -46%);
  border: 1px solid rgba(75, 158, 232, 0.38);
  border-radius: 50% 50% 38% 38% / 35% 35% 55% 55%;
  background:
    radial-gradient(circle at 50% 22%, rgba(241, 244, 247, 0.26) 0 12%, transparent 12.5%),
    radial-gradient(ellipse at 50% 53%, rgba(75, 158, 232, 0.24) 0 25%, transparent 25.5%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(75, 158, 232, 0.03));
  box-shadow: 0 0 80px rgba(75, 158, 232, 0.18), inset 0 0 50px rgba(255, 255, 255, 0.04);
}

.persona-silhouette i {
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(198, 161, 90, 0.34);
  border-radius: inherit;
}

.persona-orbit {
  position: absolute;
  top: 50%;
  left: 52%;
  border: 1px solid rgba(75, 158, 232, 0.28);
  border-radius: 50%;
}

.persona-orbit.one {
  width: 520px;
  height: 310px;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.persona-orbit.two {
  width: 420px;
  height: 520px;
  transform: translate(-50%, -50%) rotate(32deg);
}

.persona-chip {
  position: absolute;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 10, 16, 0.72);
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}

.chip-a { top: 22%; left: 12%; }
.chip-b { top: 33%; right: 8%; }
.chip-c { bottom: 20%; left: 10%; }

.case-crm {
  display: grid;
  min-height: 480px;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  padding: 72px;
  background: linear-gradient(120deg, #11141a, #0b1721);
}

.proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  color: #cbd7e2;
  font-size: 0.86rem;
}

.proof i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 14px var(--blue);
}

.crm-flow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: 60px;
}

.crm-flow > div {
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border: 1px solid rgba(75, 158, 232, 0.36);
  border-radius: 50%;
  background: rgba(75, 158, 232, 0.05);
  text-align: center;
}

.crm-flow > div span {
  color: var(--gold);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
}

.crm-flow > div b {
  font-family: "Onest", sans-serif;
  font-size: 0.8rem;
}

.crm-flow > i {
  width: clamp(18px, 3vw, 58px);
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.case-furniture {
  padding: 72px;
  background: #0b1118;
}

.case-heading {
  display: grid;
  grid-template-columns: 0.3fr 0.8fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.case-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

.furniture-process {
  display: grid;
  margin-top: 80px;
  grid-template-columns: 0.62fr auto 1.5fr auto 0.62fr;
  gap: 26px;
  align-items: center;
}

.measure-card,
.result-file {
  display: grid;
  min-height: 150px;
  align-content: center;
  justify-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.measure-card span,
.result-file span {
  color: var(--blue);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.measure-card b,
.result-file b {
  margin-top: 14px;
  font-family: "Onest", sans-serif;
}

.process-arrow {
  color: var(--gold);
  font-size: 1.6rem;
}

.blueprint-drawing {
  width: 100%;
  max-height: 260px;
  color: var(--blue);
}

.blueprint-drawing rect,
.blueprint-drawing line,
.blueprint-drawing path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.case-report {
  display: grid;
  min-height: 600px;
  grid-template-columns: 1.1fr 0.9fr;
  background: linear-gradient(145deg, #111820, #090d13);
}

.report-stack {
  position: relative;
  min-height: 600px;
  perspective: 900px;
}

.report-page {
  position: absolute;
  top: 50%;
  left: 48%;
  display: grid;
  width: 270px;
  height: 360px;
  padding: 28px;
  transform-origin: center;
  border: 1px solid rgba(241, 244, 247, 0.18);
  background: #e8edf1;
  color: #111820;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.report-page span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.report-page i {
  display: block;
  height: 1px;
  margin-top: 18px;
  background: rgba(17, 24, 32, 0.3);
}

.page-back { transform: translate(-69%, -47%) rotate(-15deg); opacity: 0.48; }
.page-mid { transform: translate(-39%, -52%) rotate(8deg); opacity: 0.72; }
.page-front { transform: translate(-54%, -50%) rotate(-3deg); }

.page-front b {
  align-self: center;
  font-family: "Onest", sans-serif;
  font-size: 2.4rem;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.report-chart {
  align-self: end;
  width: 140px;
  height: 140px;
  border: 16px solid rgba(75, 158, 232, 0.22);
  border-top-color: var(--blue);
  border-radius: 50%;
}

.project-index {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 22px 0;
}

.project-index > div {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 25s linear infinite;
}

.project-index span {
  color: var(--muted);
  font-family: "Onest", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
}

.project-index i {
  width: 5px;
  height: 5px;
  margin: 0 36px;
  border-radius: 50%;
  background: var(--gold);
}

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

.work > .wrap {
  width: min(1440px, calc(100vw - 64px));
}

.work-bridge {
  max-width: 780px;
  margin: 0 0 72px;
  padding-left: 22px;
  border-left: 1px solid var(--gold);
  color: #cbd3dd;
  font-family: "Onest", sans-serif;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.45;
}

.work .section-intro.narrow {
  display: grid;
  max-width: none;
  margin-bottom: 38px;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  align-items: end;
  column-gap: clamp(48px, 7vw, 112px);
}

.work .section-intro.narrow .eyebrow {
  grid-row: 1;
  grid-column: 1;
}

.work .section-intro.narrow h2 {
  grid-row: 2;
  grid-column: 1;
  font-size: clamp(2.8rem, 4vw, 4.5rem);
}

.work .section-intro.narrow > p:last-child {
  grid-row: 2;
  grid-column: 2;
  max-width: 650px;
  margin: 0;
  padding-bottom: 6px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.work-all-link {
  width: max-content;
  margin: 30px auto 0;
}

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

.portfolio-card {
  position: relative;
  aspect-ratio: 2 / 1;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(196, 211, 225, 0.16);
  border-radius: 18px;
  background: #0b1018;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
  transition: border-color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.portfolio-open {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: zoom-in;
  text-align: left;
}

.portfolio-open img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 350ms ease;
}

.portfolio-card[data-portfolio-id="north-bean"] .portfolio-open img {
  object-position: 50% 35%;
}

.portfolio-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 4px;
  padding: 42px 22px 17px;
  background: linear-gradient(transparent, rgba(5, 8, 13, 0.9));
  transform: translateY(3px);
  transition: transform 260ms ease;
}

.portfolio-caption strong {
  font-family: "Onest", sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.portfolio-caption small {
  max-width: 90%;
  overflow: hidden;
  color: rgba(230, 235, 241, 0.76);
  font-size: clamp(0.68rem, 0.82vw, 0.78rem);
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio-card:hover,
.portfolio-card:focus-within {
  z-index: 2;
  transform: translateY(-3px);
  border-color: rgba(198, 161, 90, 0.56);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28), 0 0 28px rgba(198, 161, 90, 0.08);
}

.portfolio-card:hover img,
.portfolio-card:focus-within img {
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.02);
}

.portfolio-card:hover .portfolio-caption,
.portfolio-card:focus-within .portfolio-caption {
  transform: translateY(0);
}

.portfolio-lightbox {
  width: min(1500px, 94vw);
  max-width: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(198, 161, 90, 0.42);
  border-radius: 20px;
  background: #080c12;
  color: var(--text);
  box-shadow: 0 40px 140px rgba(0, 0, 0, 0.72);
}

.portfolio-lightbox::backdrop {
  background: rgba(2, 4, 7, 0.88);
  backdrop-filter: blur(8px);
}

.portfolio-lightbox img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
}

.portfolio-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(5, 8, 13, 0.82);
  color: white;
  cursor: pointer;
  font-size: 1.4rem;
}

.portfolio-lightbox-caption {
  display: grid;
  gap: 3px;
  padding: 16px 22px 19px;
}

.portfolio-lightbox-caption strong {
  font-family: "Onest", sans-serif;
  font-size: 1.05rem;
}

.portfolio-lightbox-caption span {
  color: var(--muted);
  font-size: 0.82rem;
}

.reviews {
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 46% at 50% 52%, rgba(75, 158, 232, 0.11), transparent 100%),
    linear-gradient(180deg, var(--canvas), #0a111b 48%, var(--canvas));
}

.reviews-layout {
  position: relative;
}

.reviews-heading {
  margin-bottom: 24px;
}

.reviews-heading h2 {
  margin: 0;
  font-family: "Onest", sans-serif;
  font-size: clamp(2.8rem, 4vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.review-stacks {
  position: relative;
  display: grid;
  height: min(58vh, 540px);
  min-height: 430px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3.5vw, 58px);
  align-items: start;
  perspective: 1200px;
}

.review-stacks::before {
  position: absolute;
  right: -8vw;
  bottom: -18vh;
  left: -8vw;
  height: 58vh;
  content: "";
  mask-image: linear-gradient(transparent, #000 35%, #000 65%, transparent);
  background: linear-gradient(165deg, rgba(18, 31, 45, 0.12), rgba(4, 7, 11, 0.7));
  transform: rotateX(58deg);
  transform-origin: bottom;
  pointer-events: none;
}

.review-stack {
  position: relative;
  height: 470px;
  min-width: 0;
  transform-style: preserve-3d;
}

.review-stack:nth-child(1) {
  margin-top: 42px;
}

.review-stack:nth-child(3) {
  margin-top: 58px;
}

.review-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(250px, 68%);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(196, 211, 225, 0.18);
  border-radius: 20px;
  background: #101721;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.46);
  cursor: zoom-in;
  transform-origin: 50% 88%;
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1), opacity 420ms ease, filter 420ms ease, border-color 260ms ease;
}

.review-card img {
  display: block;
  width: 100%;
  height: auto;
}

.review-card.back-a {
  z-index: 1;
  opacity: 0.42;
  filter: saturate(0.62) brightness(0.7);
  transform: translate(-63%, -49%) rotate(-7deg) scale(0.94);
}

.review-card.back-b {
  z-index: 2;
  opacity: 0.65;
  filter: saturate(0.8) brightness(0.84);
  transform: translate(-37%, -49%) rotate(7deg) scale(0.97);
}

.review-card.front {
  z-index: 3;
  opacity: 1;
  transform: translate(-50%, -50%);
}

.review-controls {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 5;
  display: grid;
  grid-template-columns: 42px 62px 42px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(196, 211, 225, 0.2);
  border-radius: 999px;
  background: rgba(8, 13, 20, 0.88);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.review-controls button {
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: 400 1.15rem/1 "Onest", sans-serif;
  transition: color 180ms ease, background 180ms ease;
}

.review-controls button:hover,
.review-controls button:focus-visible {
  background: rgba(75, 158, 232, 0.12);
  color: var(--blue);
  outline: none;
}

.review-controls span {
  color: var(--muted);
  text-align: center;
  font: 500 0.75rem/1 "Onest", sans-serif;
  font-variant-numeric: tabular-nums;
}

.review-stack:not(.in) .review-card {
  opacity: 0;
  transform: translate(-50%, -42%) rotate(0) scale(0.92);
}

.review-stack.in .review-card.back-b {
  transition-delay: 70ms;
}

.review-stack.in .review-card.front {
  transition-delay: 140ms;
}

.review-stack:hover .review-card.back-a,
.review-stack:focus-within .review-card.back-a {
  opacity: 0.62;
  transform: translate(-70%, -50%) rotate(-11deg) scale(0.95);
}

.review-stack:hover .review-card.back-b,
.review-stack:focus-within .review-card.back-b {
  opacity: 0.82;
  transform: translate(-30%, -50%) rotate(11deg) scale(0.98);
}

.review-stack:hover .review-card.front,
.review-stack:focus-within .review-card.front {
  border-color: rgba(198, 161, 90, 0.45);
}

.review-lightbox {
  width: min(520px, 92vw);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  overflow: hidden auto;
  border: 1px solid rgba(198, 161, 90, 0.42);
  border-radius: 20px;
  background: #080c12;
  box-shadow: 0 40px 140px rgba(0, 0, 0, 0.74);
}

.review-lightbox::backdrop {
  background: rgba(2, 4, 7, 0.9);
  backdrop-filter: blur(8px);
}

.review-lightbox img {
  display: block;
  width: 100%;
  height: auto;
}

.review-lightbox-close {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(5, 8, 13, 0.86);
  color: white;
  cursor: pointer;
  font-size: 1.45rem;
}

.projects-page {
  min-height: 100vh;
  background: radial-gradient(circle at 70% 8%, rgba(75, 158, 232, 0.09), transparent 30%), var(--canvas);
}

.projects-nav {
  position: fixed;
}

.projects-back {
  margin-left: auto;
  margin-right: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  transition: color 180ms ease;
}

.projects-back:hover {
  color: var(--text);
}

.projects-main {
  padding: 150px 0 100px;
}

.projects-heading {
  display: grid;
  padding: 42px 0 44px;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  align-items: end;
  column-gap: clamp(48px, 7vw, 112px);
}

.projects-heading .eyebrow {
  grid-row: 1;
  grid-column: 1;
}

.projects-heading h1 {
  grid-row: 2;
  grid-column: 1;
  margin: 0;
  font-family: "Onest", sans-serif;
  font-size: clamp(2.7rem, 4.2vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.projects-heading > p:last-child {
  grid-row: 2;
  grid-column: 2;
  max-width: 680px;
  margin: 0;
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 1.05rem;
}

.projects-browser {
  width: min(1440px, calc(100vw - 64px));
}

.projects-groups {
  display: grid;
  gap: 72px;
}

.project-group-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 20px;
}

.project-group-heading h2 {
  flex: 0 0 auto;
  margin: 0;
  font-family: "Onest", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.project-group-heading::after {
  width: 100%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(198, 161, 90, 0.42), transparent);
}

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

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .work > .wrap {
    width: min(100% - 32px, 1440px);
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .portfolio-card {
    border-radius: 13px;
  }

  .portfolio-caption {
    padding: 34px 14px 12px;
  }

  .portfolio-caption small {
    display: none;
  }

  .portfolio-lightbox {
    width: calc(100vw - 18px);
    border-radius: 14px;
  }

  .projects-main {
    padding-top: 100px;
  }

  .projects-heading {
    padding-block: 42px 36px;
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .projects-heading .eyebrow,
  .projects-heading h1,
  .projects-heading > p:last-child {
    grid-row: auto;
    grid-column: 1;
  }

  .projects-browser {
    width: calc(100% - 32px);
  }

  .projects-groups {
    gap: 54px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.process {
  background: linear-gradient(180deg, transparent, rgba(75, 158, 232, 0.045), transparent);
}

.process-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 120px;
}

.process-intro {
  position: sticky;
  top: 150px;
  align-self: start;
}

.text-link {
  display: inline-block;
  margin-top: 36px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--gold);
  color: var(--gold-hot);
}

.process-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-steps li {
  display: grid;
  min-height: 220px;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  align-items: start;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.process-steps li > span {
  color: var(--blue);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
}

.process-steps h3 {
  margin: 0;
  font-family: "Onest", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  letter-spacing: -0.035em;
}

.process-steps p {
  max-width: 570px;
  margin: 16px 0 0;
  color: var(--muted);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
}

.faq-layout .section-intro {
  display: block;
}

.faq-layout .section-intro h2 {
  font-size: clamp(2.5rem, 3.5vw, 4rem);
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 30px 54px 30px 0;
  cursor: pointer;
  font-family: "Onest", sans-serif;
  font-size: 1.22rem;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  position: absolute;
  top: 29px;
  right: 4px;
  content: "+";
  color: var(--gold);
  font-size: 1.5rem;
  transition: transform 250ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 700px;
  margin: 0;
  padding: 0 54px 30px 0;
  color: var(--muted);
}

.contact {
  min-height: 800px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 65% 40% at 76% 42%, rgba(198, 161, 90, 0.085), transparent 100%),
    linear-gradient(180deg, var(--canvas), #101318 48%, var(--canvas));
}

.contact-horizon {
  display: none;
  position: absolute;
  top: 50%;
  right: -10%;
  width: 76%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--gold));
  box-shadow: 0 0 30px rgba(75, 158, 232, 0.4);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 120px;
  align-items: center;
}

.contact-form {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 24px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 18, 27, 0.9);
  backdrop-filter: blur(16px);
}

.contact-form label {
  display: grid;
  gap: 9px;
}

.contact-form label span {
  color: #cbd7e2;
  font-size: 0.82rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 8, 13, 0.7);
  color: var(--text);
  outline: 0;
  transition: border-color 180ms ease, background 180ms ease;
}

.contact-form input {
  height: 54px;
  padding: 0 16px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
  padding: 14px 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(75, 158, 232, 0.7);
  background: rgba(8, 14, 21, 0.94);
}

.submit-button {
  width: 100%;
  min-height: 56px;
  border: 0;
}

.privacy,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.form-status {
  min-height: 1.4em;
  color: var(--gold-hot);
}

.footer {
  padding: 56px 0;
  border-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
}

.footer-grid > div:first-child p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-claim {
  margin: 0;
  color: var(--gold);
  font-family: "Onest", sans-serif;
  font-size: 1.2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  color: var(--muted);
  font-size: 0.82rem;
}

.contact-emails {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-emails a { overflow-wrap: anywhere; }
.contact-emails .contact-email-primary { color: var(--gold-hot); font-size: 1.1rem; }
.contact-emails a:hover, .footer-socials a:hover { color: var(--gold-hot); }
.contact-emails a:focus-visible, .footer-socials a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }

.footer-socials {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 1051px) {
  html {
    scroll-snap-type: none;
    scroll-padding-top: 0;
  }

  main > .section {
    min-height: 100svh;
    display: flex;
    align-items: center;
  }

  :root {
    --wrap: min(1140px, calc(100vw - 64px));
  }

  .hero-band {
    width: min(620px, 62vw);
  }

  html[lang="en"] .hero-band {
    width: min(860px, 72vw);
  }

  html[lang="en"] .hero-band h1,
  html[lang="en"] .hero-band h2 {
    max-width: 820px;
    font-size: clamp(2.7rem, 4.25vw, 4.85rem);
  }

  html[lang="ru"] .hero-band {
    width: min(860px, 72vw);
  }

  .hero-band h1,
  .hero-band h2 {
    max-width: 650px;
    font-size: clamp(2.8rem, 4.8vw, 5.25rem);
  }

  .section {
    padding-block: 120px;
  }

  .section-intro {
    max-width: 850px;
    column-gap: 64px;
  }

  .section-intro h2,
  .process-intro h2,
  .contact-copy h2 {
    font-size: clamp(2.6rem, 4vw, 4.6rem);
  }

  .capabilities {
    padding-top: 145px;
  }

  .capability-map {
    min-height: 760px;
    margin-top: 80px;
  }

  .section-intro.narrow {
    margin-bottom: 80px;
  }

  .case {
    margin-bottom: 56px;
  }

  .case h3 {
    font-size: clamp(2.15rem, 3.5vw, 4.2rem);
  }

  .case-influencer,
  .persona-visual {
    min-height: 580px;
  }

  .case-influencer .case-copy,
  .case-report .case-copy,
  .case-crm,
  .case-furniture {
    padding: 56px;
  }

  .metric {
    margin-top: 48px;
  }

  .metric strong {
    font-size: clamp(4.2rem, 6.5vw, 7.2rem);
  }

  .case-crm {
    min-height: 430px;
  }

  .furniture-process {
    margin-top: 64px;
  }

  .case-report,
  .report-stack {
    min-height: 540px;
  }

  .process-layout,
  .faq-layout,
  .contact-layout {
    gap: 90px;
  }

  .process-steps li {
    min-height: 190px;
    padding-block: 34px;
  }

  .process-steps h3 {
    font-size: clamp(1.5rem, 2.3vw, 2.35rem);
  }

  .contact {
    min-height: 100svh;
    padding: 120px 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
  }

  .contact > .contact-layout {
    width: var(--wrap);
    flex: 1 1 auto;
    min-height: 0;
    padding-block: 24px;
  }

  .contact .footer {
    width: 100%;
    flex: 0 0 auto;
    padding: 28px 0 24px;
  }
}

@media (min-width: 1051px) and (max-height: 900px) {
  main > .section {
    min-height: 100svh;
    padding: 112px 0 36px;
  }

  .work .section-intro.narrow {
    margin-bottom: 24px;
  }

  .work .portfolio-card {
    aspect-ratio: 2.25 / 1;
  }

  .work-all-link {
    margin-top: 22px;
  }

  .reviews-heading {
    margin-bottom: 12px;
  }

  .reviews {
    padding-top: 124px;
    padding-bottom: 24px;
  }

  .reviews-heading h2 {
    font-size: clamp(2.5rem, 3.4vw, 3.7rem);
  }

  .review-stacks {
    height: 480px;
    min-height: 0;
  }

  .review-stack {
    height: 430px;
  }

  .review-card {
    width: min(224px, 65%);
  }

  .capabilities {
    padding: 112px 0 30px;
  }

  .capabilities-intro .eyebrow {
    margin-bottom: 10px;
  }

  .capabilities-intro h2 {
    font-size: clamp(2.4rem, 3.2vw, 3.6rem);
  }

  .capabilities-intro > p:last-child {
    margin-top: 12px;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .capability-grid {
    margin-top: 22px;
  }

  .capability-grid .capability {
    min-height: 200px;
    padding: 20px;
  }

  .capability-symbol {
    width: 60px;
    height: 44px;
    margin-bottom: 12px;
  }

  .capability-grid .capability .index {
    margin-bottom: 7px;
  }

  .capability-grid .capability h3 {
    margin-bottom: 9px;
    font-size: clamp(1.18rem, 1.4vw, 1.5rem);
  }

  .capability-grid .capability ul {
    gap: 3px;
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .capability-callout {
    min-height: 64px;
    margin-top: 12px;
    padding: 11px 14px 11px 20px;
  }

  .capability-callout p {
    font-size: 0.92rem;
  }

  .process-steps li {
    min-height: 128px;
    padding-block: 14px;
  }

  .process-steps h3 {
    font-size: clamp(1.28rem, 1.65vw, 1.62rem);
  }

  .process-steps p {
    margin-top: 6px;
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .faq-list summary {
    padding-block: 18px;
    font-size: 1rem;
  }

  .faq-list summary::after {
    top: 17px;
  }

  .contact-layout {
    gap: 72px;
  }

  .contact {
    padding: 108px 0 0;
  }

  .contact > .contact-layout {
    padding-block: 14px 18px;
  }

  .contact .footer {
    padding: 20px 0 18px;
  }

  .contact .footer-grid > div:first-child p {
    margin-top: 10px;
  }

  .contact-form {
    gap: 14px;
    padding: 28px;
  }

  .contact-form input {
    height: 46px;
  }

  .contact-form textarea {
    min-height: 92px;
  }

  .submit-button {
    min-height: 48px;
  }
}

@media (max-width: 1050px) {
  :root { --wrap: min(100% - 40px, 920px); }
  .nav-links { display: none; }
  .section-intro { grid-template-columns: 1fr; }
  .section-intro .eyebrow { grid-row: auto; }
  .work .section-intro.narrow { grid-template-columns: 1fr; row-gap: 12px; }
  .work .section-intro.narrow .eyebrow,
  .work .section-intro.narrow h2,
  .work .section-intro.narrow > p:last-child { grid-row: auto; grid-column: 1; }
  .capability-map { display: grid; min-height: auto; grid-template-columns: 1fr 1fr; gap: 20px; }
  .connection-map { inset: 0; height: 100%; }
  .capability { position: relative; inset: auto; width: auto; min-height: 330px; }
  .connect-control { position: relative; grid-column: 1 / -1; margin-top: 30px; }
  .case-influencer, .case-crm, .case-report { grid-template-columns: 1fr; }
  .case-influencer .case-copy, .case-report .case-copy, .case-crm, .case-furniture { padding: 50px; }
  .persona-visual { min-height: 520px; }
  .crm-flow { justify-content: center; margin: 70px 0 0; }
  .case-heading { grid-template-columns: 1fr; }
  .process-layout, .faq-layout, .contact-layout { grid-template-columns: 1fr; gap: 70px; }
  .process-intro { position: relative; top: auto; }
  .contact-horizon { top: 55%; width: 100%; }
  .review-stacks { height: 520px; min-height: 0; gap: 8px; }
  .review-stack { height: 480px; }
  .review-card { width: min(230px, 74%); }
}

@media (max-width: 720px), (orientation: portrait) and (max-width: 1024px), (orientation: portrait) and (pointer: coarse) {
  :root { --wrap: calc(100% - 32px); --radius: 20px; }
  body { font-size: 15px; }
  .nav { top: 10px; width: calc(100vw - 20px); min-height: 58px; padding: 8px 10px 8px 14px; }
  .nav-cta { display: none; }
  .brand-wordmark { width: 122px; }
  .hero-journey { height: auto; }
  .hero-stage { position: relative; height: 100svh; min-height: 540px; background: #070a10; }
  .hero-media {
    inset: 82px 14px auto;
    width: auto;
    height: clamp(190px, 40svh, 360px);
    border: 1px solid rgba(175, 190, 209, 0.16);
    border-radius: 22px;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.05);
  }
  .hero-poster { background-image: url("hero-poster.jpg"); background-position: 67% 58%; filter: saturate(0.92) brightness(0.78); }
  .hero-video, .hero-loader { display: none; }
  .hero-scrim {
    background:
      linear-gradient(0deg, #070a10 0%, rgba(7, 10, 16, 0.96) 31%, rgba(7, 10, 16, 0.16) 62%, rgba(7, 10, 16, 0.42) 100%);
  }
  .hero-progress, .hero-band:not(:first-child) { display: none; }
  .hero-copy { width: var(--wrap); }
  .hero-band:first-child {
    top: auto;
    right: 0;
    bottom: 18px;
    width: 100%;
    padding: 42px 0 0;
    transform: none;
    opacity: 1;
    filter: none;
    pointer-events: auto;
  }
  .hero-band:first-child::before {
    inset: 0 -16px -18px;
    opacity: 1;
    background: linear-gradient(0deg, #070a10 12%, rgba(7, 10, 16, 0.96) 64%, rgba(7, 10, 16, 0));
  }
  .hero-copy-desktop { display: none; }
  .hero-copy-mobile { display: inline; }
  .hero-band h1 {
    --hero-title-size: clamp(2.15rem, 9.4vw, 3.1rem);
    max-width: 9.5em;
    line-height: 0.98;
    letter-spacing: -0.045em;
  }
  .hero-band .eyebrow { max-width: none; margin-bottom: 13px; font-size: 0.68rem; letter-spacing: 0.09em; }
  .hero-band p:not(.eyebrow) { max-width: 31em; margin-top: 15px; font-size: 0.88rem; line-height: 1.45; color: #b6bfcb; }
  .hero-band .button { min-height: 46px; margin-top: 19px; padding-inline: 20px; }
  .section { padding: 100px 0; }
  .section-intro h2, .process-intro h2, .contact-copy h2 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .capabilities { padding-top: 110px; }
  .capability-map { grid-template-columns: 1fr; margin-top: 62px; }
  .connection-map { left: 20px; width: 1px; opacity: 0.4; }
  .capability { min-height: auto; padding: 28px 28px 30px 94px; }
  .capability-icon { position: absolute; top: 34px; left: 24px; transform: scale(0.72); transform-origin: top left; }
  .capability .index { margin-bottom: 12px; }
  .connect-control { grid-column: auto; }
  .case { margin-bottom: 28px; }
  .case-influencer .case-copy, .case-report .case-copy, .case-crm, .case-furniture { padding: 34px 28px; }
  .case-influencer { min-height: auto; }
  .persona-visual { min-height: 430px; }
  .persona-silhouette { width: 210px; height: 310px; }
  .persona-orbit.one { width: 360px; height: 230px; }
  .persona-orbit.two { width: 300px; height: 390px; }
  .metric { margin-top: 45px; }
  .crm-flow { display: grid; grid-template-columns: 74px 1px 74px 1px 74px 1px 74px; overflow: hidden; }
  .crm-flow > div { width: 74px; height: 74px; }
  .crm-flow > i { width: 100%; }
  .case-heading { gap: 10px; }
  .furniture-process { grid-template-columns: 1fr; gap: 18px; margin-top: 48px; }
  .process-arrow { transform: rotate(90deg); text-align: center; }
  .measure-card, .result-file { min-height: 110px; }
  .case-report { min-height: auto; }
  .report-stack { min-height: 500px; }
  .report-page { width: 220px; height: 300px; }
  .page-front b { font-size: 2rem; }
  .reviews { padding-bottom: 78px; }
  .reviews-heading { margin-bottom: 28px; }
  .reviews-heading h2 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .review-stacks {
    width: calc(100vw - 16px);
    height: 510px;
    margin-left: calc((var(--wrap) - 100vw) / 2 + 8px);
    padding: 0 9vw 20px;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82vw;
    gap: 12vw;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .review-stacks::-webkit-scrollbar { display: none; }
  .review-stacks::before { display: none; }
  .review-stack,
  .review-stack:nth-child(1),
  .review-stack:nth-child(3) { height: 470px; margin-top: 0; scroll-snap-align: center; }
  .review-card { width: min(248px, 68vw); }
  .review-lightbox { width: calc(100vw - 18px); border-radius: 14px; }
  .process-steps li { min-height: auto; grid-template-columns: 46px 1fr; padding: 34px 0; }
  .faq-layout { gap: 45px; }
  .contact-form { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-claim { text-align: left; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 720px) and (max-height: 650px) {
  .hero-media { height: clamp(184px, 38svh, 230px); }
  .hero-band:first-child { bottom: 12px; padding-top: 32px; }
  .hero-band h1 { --hero-title-size: clamp(2rem, 8.8vw, 2.5rem); max-width: 10.5em; }
  .hero-band .eyebrow { margin-bottom: 9px; }
  .hero-band p:not(.eyebrow) { margin-top: 11px; font-size: 0.82rem; }
  .hero-band .button { min-height: 42px; margin-top: 13px; }
  .team-chat-launcher { width: 48px; min-height: 48px; padding: 0; justify-content: center; }
  .team-chat-launcher-text, .team-chat-launcher-dot { display: none; }
}

@media (orientation: landscape) and (pointer: coarse) and (max-height: 560px) {
  .hero-journey { height: auto; }
  .hero-stage { position: relative; height: 100vh; min-height: 480px; }
  .hero-poster { background-image: url("hero-poster.jpg"); }
  .hero-video, .hero-loader, .hero-progress, .hero-band:not(:first-child) { display: none; }
  .hero-band:first-child { opacity: 1; transform: translateY(-38%); filter: none; pointer-events: auto; }
  .hero-band h1 { font-size: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; transition-delay: 0s !important; }
  [data-reveal] { transform: none; opacity: 1; }
  .hero-journey { height: auto; }
  .hero-stage { position: relative; height: 100vh; }
  .hero-poster { background-image: url("hero-poster.jpg"); }
  .hero-video, .hero-loader, .hero-progress, .hero-band:not(:first-child) { display: none; }
  .hero-band:first-child { opacity: 1; transform: translateY(-44%); filter: none; pointer-events: auto; }
  .connection-path.live { stroke-dashoffset: 0; }
  .review-card { transition: none; }
  .review-stack:not(.in) .review-card.back-a { opacity: 0.42; transform: translate(-63%, -49%) rotate(-7deg) scale(0.94); }
  .review-stack:not(.in) .review-card.back-b { opacity: 0.65; transform: translate(-37%, -49%) rotate(7deg) scale(0.97); }
  .review-stack:not(.in) .review-card.front { opacity: 1; transform: translate(-50%, -50%); }
}
/* Live employee chat */
.team-chat {
  position: fixed;
  z-index: 120;
  right: 24px;
  bottom: 22px;
  font-family: Inter, system-ui, sans-serif;
}

.team-chat-launcher {
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(196, 157, 80, 0.45);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(24, 30, 40, 0.97), rgba(9, 13, 20, 0.98));
  color: #f4f6f9;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font: 600 0.88rem/1 Inter, system-ui, sans-serif;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.team-chat-launcher:hover { transform: translateY(-2px); border-color: rgba(218, 179, 94, 0.8); }
.team-chat-launcher:focus-visible, .team-chat-panel :focus-visible { outline: 2px solid #d2aa58; outline-offset: 3px; }
.team-chat-launcher-dot { width: 8px; height: 8px; border-radius: 50%; background: #cfaa5c; box-shadow: 0 0 0 5px rgba(207, 170, 92, 0.11); }
.team-chat-launcher-icon { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); color: #d8b563; }

.team-chat-panel {
  position: absolute;
  right: 0;
  bottom: 66px;
  width: min(382px, calc(100vw - 32px));
  height: min(590px, calc(100vh - 112px));
  border: 1px solid rgba(151, 165, 184, 0.2);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 0%, rgba(69, 91, 132, 0.22), transparent 38%),
    linear-gradient(160deg, #111722 0%, #090d14 64%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58), inset 0 1px rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-rows: auto 1fr auto;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.team-chat-panel[hidden] { display: none; }
.team-chat.is-open .team-chat-panel { opacity: 1; transform: none; pointer-events: auto; }
.team-chat.is-open .team-chat-launcher { border-color: rgba(218, 179, 94, 0.72); }

.team-chat-header { min-height: 74px; padding: 14px 16px; border-bottom: 1px solid rgba(151, 165, 184, 0.14); display: flex; align-items: center; gap: 12px; background: rgba(8, 12, 18, 0.54); backdrop-filter: blur(18px); }
.team-chat-avatar { width: 42px; height: 42px; border-radius: 15px; display: grid; place-items: center; flex: 0 0 auto; color: #0a0d12; background: linear-gradient(145deg, #e1c178, #9e7332); box-shadow: inset 0 1px rgba(255, 255, 255, 0.45); font: 700 1rem/1 Onest, sans-serif; }
.team-chat-identity { min-width: 0; display: grid; gap: 4px; }
.team-chat-team { color: #f5f6f8; font: 600 0.92rem/1.2 Onest, sans-serif; }
.team-chat-status { color: #98a4b4; font-size: 0.72rem; line-height: 1.25; }
.team-chat-status::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #cda657; vertical-align: 1px; }
.team-chat-close { margin-left: auto; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.06); color: #aeb7c4; cursor: pointer; font: 300 1.5rem/1 sans-serif; }

.team-chat-messages { padding: 20px 16px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; scrollbar-width: thin; scrollbar-color: rgba(174, 183, 196, 0.25) transparent; }
.team-chat-message { width: fit-content; max-width: 86%; margin: 0; padding: 11px 13px; border-radius: 16px; color: #e8ebef; font-size: 0.86rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.team-chat-message-agent { border: 1px solid rgba(151, 165, 184, 0.16); border-bottom-left-radius: 5px; background: rgba(31, 39, 51, 0.86); }
.team-chat-message-visitor { align-self: flex-end; border-bottom-right-radius: 5px; background: linear-gradient(145deg, #cfa95c, #a77d35); color: #0a0d12; }

.team-chat-form { padding: 12px; border-top: 1px solid rgba(151, 165, 184, 0.14); background: rgba(7, 10, 15, 0.72); }
.team-chat-name { width: 100%; height: 36px; margin-bottom: 8px; padding: 0 11px; border: 1px solid rgba(151, 165, 184, 0.15); border-radius: 11px; background: rgba(255, 255, 255, 0.045); color: #e8ebef; font: 0.78rem/1 Inter, sans-serif; }
.team-chat-name::placeholder, .team-chat-input::placeholder { color: #768294; }
.team-chat-honeypot { position: fixed !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.team-chat-composer { display: flex; align-items: flex-end; gap: 8px; padding: 7px 7px 7px 12px; border: 1px solid rgba(151, 165, 184, 0.2); border-radius: 16px; background: rgba(255, 255, 255, 0.055); }
.team-chat-input { width: 100%; max-height: 112px; resize: none; border: 0; outline: 0; padding: 6px 0; background: transparent; color: #f2f4f7; font: 0.86rem/1.4 Inter, sans-serif; }
.team-chat-send { flex: 0 0 auto; width: 36px; height: 36px; border: 0; border-radius: 12px; background: linear-gradient(145deg, #dbb867, #ad8137); color: #0b0e13; cursor: pointer; font: 600 1rem/1 sans-serif; }
.team-chat-send:disabled { cursor: wait; opacity: 0.5; }
.team-chat-note, .team-chat-form-status { min-height: 14px; margin: 7px 4px 0; color: #707c8d; font-size: 0.64rem; line-height: 1.3; }
.team-chat-form-status { color: #d4ad5c; }

@media (max-width: 600px) {
  .team-chat { right: 12px; bottom: 12px; }
  .team-chat-launcher { width: 50px; min-height: 50px; padding: 0; justify-content: center; }
  .team-chat-launcher-text, .team-chat-launcher-dot { display: none; }
  .footer { padding-bottom: 84px; }
  .team-chat-panel { position: fixed; inset: 10px 10px 72px; width: auto; height: auto; border-radius: 20px; transform-origin: bottom right; }
}

@media (prefers-reduced-motion: reduce) {
  .team-chat-launcher, .team-chat-panel { transition: none; }
}
