:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --gray-900: #171412;
  --gray-850: #3e3e3e;
  --gray-800: #312c29;
  --gray-700: #6f6862;
  --gray-600: #8f8983;
  --gray-580: #8f8f8f;
  --gray-500: #b4aea9;
  --gray-450: #bcb4ae;
  --gray-400: #cfcac6;
  --gray-300: #e3dfdb;
  --gray-250: #d8d3cf;
  --gray-220: #ebebeb;
  --gray-210: #ebe7e2;
  --gray-205: #f1eeeb;
  --gray-200: #f1efee;
  --gray-190: #f4f2f0;
  --gray-185: #f3f1f0;
  --gray-180: #e6e6e6;
  --gray-170: #d7d2cd;
  --gray-165: #d6d0cb;
  --gray-150: #cfc8c2;
  --gray-140: #bdb5ae;
  --gray-130: #c8c8ce;
  --gray-120: #5a5a5f;
  --gray-115: #4a4a4d;
  --gray-110: #2b2b31;
  --gray-105: #28282c;
  --gray-100: #ffffff;
  --gray-95: #1f1f22;
  --gray-90: #1a1715;
  --gray-80: #0f0f12;
  --gray-75: #fbfaf9;
  --gray-50: #f8f7f6;
  --gray-850-a4: rgba(62, 62, 62, 0.04);
  --gray-580-a20: rgba(143, 143, 143, 0.2);
  --gray-900-a35: rgba(23, 20, 18, 0.35);
  --overlay-dark-a42: rgba(23, 20, 18, 0.42);
  --overlay-dark-a48: rgba(10, 10, 10, 0.48);
  --overlay-dark-a50: rgba(10, 10, 10, 0.5);
  --overlay-white-a12: rgba(255, 255, 255, 0.12);
  --overlay-border-a35: rgba(241, 239, 238, 0.35);
  --overlay-light-80-10: rgba(255, 255, 255, 0.8), rgba(17, 17, 17, 0.1);
  --overlay-light-82-08: rgba(255, 255, 255, 0.82), rgba(17, 17, 17, 0.08);
  --bg: var(--gray-100);
  --shape: var(--gray-75);
  --border: var(--gray-200);
  --text: var(--gray-900);
  --muted: var(--gray-700);
  --accent: #111111;
  --accent-soft: #ece7e1;
  --white: var(--gray-100);
  --brand-telegram: #229ed9;
  --brand-telegram-lite: #dff2ff;
  --brand-blue-500: #1f7eff;
  --focus-ring: #4b8dff;
  --system-red: #ff5f57;
  --system-yellow: #febc2e;
  --system-green: #28c840;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-pill: 999px;
  --shadow-1: 0 10px 24px rgba(17, 17, 17, 0.12);
  --radius: 8px;
  --max: 1160px;
  --page-gutter: clamp(18px, 4vw, 56px);
  --heading: "Inter Tight", Arial, sans-serif;
  --body: "Inter Tight", Arial, sans-serif;
  --type-h1-size: clamp(38px, 5.2vw, 76px);
  --type-h1-weight: 500;
  --type-h1-line: 1.02;
  --type-h2-size: clamp(30px, 3.4vw, 48px);
  --type-h2-weight: 500;
  --type-h2-line: 1.08;
  --type-h3-size: 23px;
  --type-h3-weight: 500;
  --type-h3-line: 1.16;
  --type-h4-size: 20px;
  --type-h4-weight: 500;
  --type-h4-line: 1.2;
  --type-lead-size: 18px;
  --type-lead-weight: 500;
  --type-lead-line: 1.35;
  --type-body-size: 16px;
  --type-regular-weight: 400;
  --type-body-weight: 500;
  --type-body-line: 1.45;
  --type-small-size: 14px;
  --type-small-weight: 500;
  --type-small-line: 1.35;
  --type-caption-size: 12px;
  --type-caption-weight: 500;
  --type-caption-line: 1.3;
  --type-eyebrow-size: 14px;
  --type-eyebrow-weight: 500;
  --type-eyebrow-line: 1.2;
  --type-button-size: 16px;
  --type-button-weight: 400;
  --type-button-line: 1.12;
  --type-button-sm-size: 14px;
  --type-button-sm-weight: 500;
  --type-button-sm-line: 1.1;
  --button-primary-min-height: 60px;
  --button-primary-padding-x: 30px;
  --button-primary-press-offset: 4px;
  --button-primary-highlight: #6f6f6f;
  --button-primary-core: #252525;
  --button-primary-top: #4e4e4e;
  --button-primary-bottom: #2a2a2a;
  --button-primary-depth: #131313;
  --button-primary-label: #f2f2f2;
  --button-primary-inset-bottom: rgba(173, 160, 160, 0.25);
  --type-card-title-size: 23px;
  --type-card-title-weight: 500;
  --type-card-title-line: 1.16;
  --type-card-text-size: 16px;
  --type-card-text-weight: 500;
  --type-card-text-line: 1.45;
  --type-name-size: 16px;
  --type-name-weight: 500;
  --type-name-line: 1.24;
  --review-name: 20px;
  --review-quote: 17px;
  --review-text: 15px;
  --review-meta: 14px;
  --review-pad: 20px;
  --review-square-video-size: 208px;
  --review-card-quote-size: 21px;
  --review-card-quote-weight: var(--type-regular-weight);
  --review-card-quote-line: var(--type-h4-line);
  --review-card-name-size: var(--type-name-size);
  --review-card-name-weight: var(--type-small-weight);
  --review-card-name-line: var(--type-name-line);
  --review-card-text-size: 15px;
  --review-card-text-weight: var(--type-regular-weight);
  --review-card-text-line: var(--type-small-line);
  --review-mobile-quote-size: var(--type-h4-size);
  --review-mobile-quote-weight: var(--type-h4-weight);
  --review-mobile-quote-line: var(--type-h4-line);
  --review-mobile-name-size: var(--type-name-size);
  --review-mobile-name-weight: var(--type-small-weight);
  --review-mobile-name-line: var(--type-name-line);
  --review-modal-name-size: var(--type-h4-size);
  --review-modal-name-weight: var(--type-small-weight);
  --review-modal-name-line: var(--type-h4-line);
  --review-modal-text-size: var(--type-body-size);
  --review-modal-text-weight: var(--type-regular-weight);
  --review-modal-text-line: var(--type-body-line);
  --portfolio-work-preview-height: 620px;
  --portfolio-work-preview-tablet-height: 520px;
  --portfolio-work-preview-mobile-height: 520px;
  --portfolio-work-meta-height: 132px;
  --portfolio-grid-max: 1160px;
  --portfolio-work-border: var(--gray-200);
  --portfolio-work-title-size: 22px;
  --portfolio-work-title-weight: 500;
  --portfolio-work-title-line: 1.16;
  --portfolio-work-tag-size: 14px;
  --service-visual-height: 180px;
  --service-title-size: var(--type-h4-size);
  --service-title-weight: var(--type-h4-weight);
  --service-title-line: var(--type-h4-line);
  --service-meta-size: var(--type-small-size);
  --service-meta-weight: var(--type-small-weight);
  --service-meta-line: var(--type-small-line);
  --service-time-size: var(--type-body-size);
  --service-time-weight: var(--type-body-weight);
  --service-time-line: var(--type-body-line);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: var(--type-body-size);
  font-weight: var(--type-body-weight);
  line-height: var(--type-body-line);
}

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

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
.hero__lead,
.section__eyebrow,
.reviews-count-badge,
.portfolio-work__meta h3 {
  font-family: var(--heading);
  letter-spacing: 0;
  text-wrap: balance;
}

p,
li,
.review__text,
.section__text {
  text-wrap: pretty;
}

h1 {
  max-width: 860px;
  font-size: var(--type-h1-size);
  font-weight: var(--type-h1-weight);
  line-height: var(--type-h1-line);
}

h2 {
  max-width: 780px;
  font-size: var(--type-h2-size);
  font-weight: var(--type-h2-weight);
  line-height: var(--type-h2-line);
}

h3 {
  font-size: var(--type-h3-size);
  font-weight: var(--type-h3-weight);
  line-height: var(--type-h3-line);
}

.hero,
.section,
.footer {
  width: 100%;
}

.hero,
.section {
  container-type: inline-size;
}

.page-container.page-container {
  width: min(calc(100% - var(--page-gutter) * 2), var(--max));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.hero {
  min-height: 90svh;
  display: flex;
  flex-direction: column;
  padding-top: 24px;
  padding-bottom: 34px;
}

.nav {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.logo__photo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.logo__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.logo__name {
  display: grid;
  gap: 1px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: var(--type-regular-weight);
}

.nav__links--center {
  justify-content: center;
}

.nav__links a:hover {
  color: var(--text);
}

.nav__links a,
.footer__policy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav__mobile-only {
  display: none;
}

.nav__menu-toggle {
  display: none;
}

.menu-count {
  min-width: 28px;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--brand-blue-500);
  color: var(--gray-100);
  font-size: var(--type-caption-size);
  font-weight: var(--type-caption-weight);
  line-height: var(--type-caption-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero__grid {
  min-width: 0;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: var(--space-6);
  padding-top: clamp(48px, 8vh, 88px);
}

.hero__content {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 28px;
}

.hero__content h1 {
  max-width: var(--max);
}

.hero__content > h1 {
  font-weight: 500;
}

.eyebrow {
  color: var(--muted);
  font-size: var(--type-eyebrow-size);
  font-weight: var(--type-eyebrow-weight);
  line-height: var(--type-eyebrow-line);
  text-transform: uppercase;
}

.hero__lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.24;
  font-weight: var(--type-regular-weight);
}

.hero__action {
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 780px;
}

.hero__action p {
  max-width: 330px;
  color: var(--muted);
  font-size: var(--type-small-size);
  line-height: var(--type-small-line);
}

.button,
.ghost-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-sm);
  font: var(--type-button-weight) var(--type-button-size) / var(--type-button-line) var(--body);
  white-space: normal;
  cursor: pointer;
}

.button:not(.button--secondary) {
  min-height: var(--button-primary-min-height);
  min-width: 0;
  max-width: 100%;
  padding: 0 var(--button-primary-padding-x);
  border: 1px solid var(--gray-90);
  background:
    radial-gradient(
      120% 170% at 50% -35%,
      var(--button-primary-highlight) 0%,
      var(--button-primary-core) 65%,
      var(--button-primary-core) 100%
    ),
    linear-gradient(180deg, var(--button-primary-top) 0%, var(--button-primary-bottom) 100%);
  box-shadow:
    inset 0 2px 2px var(--button-primary-highlight),
    inset 0 -2px 2px var(--button-primary-inset-bottom),
    inset 0 0 0 1px var(--gray-90),
    0 var(--button-primary-press-offset) 0 var(--button-primary-depth),
    0 6px 10px var(--gray-900-a35);
  color: var(--button-primary-label);
  line-height: 1;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.button:not(.button--secondary):active {
  transform: translateY(var(--button-primary-press-offset));
  box-shadow:
    inset 0 2px 2px var(--button-primary-highlight),
    inset 0 -2px 2px var(--button-primary-inset-bottom),
    inset 0 0 0 1px var(--gray-90);
}

.button--secondary {
  min-height: 44px;
  padding: 0 16px;
  background: var(--gray-100);
  color: var(--text);
  font: var(--type-button-sm-weight) var(--type-button-sm-size) / 1 var(--body);
  border: 0;
  box-shadow:
    inset 0 -2px 0 0 var(--gray-850-a4),
    0 1px 3px 0 var(--gray-580-a20),
    0 0 0 1px var(--gray-220);
}

.button--secondary:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.hero__visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-self: center;
}

.metric,
.project-card,
.fact,
.clients,
.step,
.service,
.review,
.modal__dialog {
  background: var(--shape);
  border-radius: var(--radius);
}

.hero__placeholder {
  border: 1px dashed var(--gray-250);
  background: var(--gray-50);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
}

.hero__placeholder span {
  color: var(--gray-450);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  font-weight: 500;
}

.hero__placeholder--lg {
  min-height: 330px;
}

.hero__placeholder--sm {
  min-height: 120px;
}

.metric {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
}

.metric--wide {
  grid-column: 1 / -1;
}

.metric span,
.fact span {
  font-family: var(--heading);
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
}

.fact span {
  font-size: 26px;
}

.metric p,
.fact p,
.project-card p,
.step p,
.service p,
.review blockquote,
.footer p {
  color: var(--muted);
}

.fact p {
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.section {
  padding-top: clamp(68px, 10vw, 130px);
  padding-bottom: clamp(68px, 10vw, 130px);
}

.about-page {
  display: grid;
  gap: var(--space-6);
}

.about-page__hero,
.about-page__facts {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.about-page__hero {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: var(--space-6);
  align-items: center;
}

.about-page__content {
  display: grid;
  gap: var(--space-5);
}

.about-page__title-row {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.about-page__lead {
  color: var(--muted);
  font-size: var(--type-lead-size);
  font-weight: var(--type-lead-weight);
  line-height: var(--type-lead-line);
}

.about-page__photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--shape);
}

.about-page__photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-page__facts {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.about-page__facts > h2 {
  grid-column: 1 / -1;
}

.about-fact {
  display: grid;
  align-content: start;
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--shape);
}

.about-fact--wide {
  grid-column: span 2;
}

.about-fact__title {
  color: var(--text);
  font-size: var(--type-h4-size);
  font-weight: var(--type-regular-weight);
  line-height: var(--type-h4-line);
}

.about-fact p:not(.about-fact__title) {
  color: var(--muted);
  font-size: var(--type-body-size);
  font-weight: var(--type-regular-weight);
  line-height: var(--type-body-line);
}

#benefits {
  padding-top: clamp(34px, 5vw, 64px);
}

.section--benefits {
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--gray-50) 100%);
}

.benefits-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.benefit-card {
  min-height: 172px;
  background: var(--gray-205);
  border: 1px solid var(--gray-210);
  border-radius: 18px;
  padding: 20px;
  display: grid;
  align-content: space-between;
  gap: 16px;
}

.benefit-card--wide {
  grid-column: span 2;
}

.benefit-card--accent {
  grid-column: span 2;
  background: var(--gray-900);
  border-color: var(--gray-900);
}

.benefit-card h3 {
  font-size: var(--type-card-title-size);
  font-weight: var(--type-card-title-weight);
  line-height: var(--type-card-title-line);
}

.benefit-card p {
  color: var(--muted);
  font-size: var(--type-card-text-size);
  font-weight: var(--type-card-text-weight);
  line-height: var(--type-card-text-line);
}

.benefit-card--accent h3,
.benefit-card--accent p {
  color: var(--gray-100);
}

#portfolio {
  padding-top: clamp(34px, 5vw, 64px);
}

.section__head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.section__head--simple {
  gap: 0;
}

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

.project-card {
  border: 1px solid var(--border);
  background: var(--white);
  display: grid;
  grid-template-rows: var(--project-card-visual-height) auto;
  gap: 0;
  padding: 12px;
  box-shadow: 0 0 0 1px var(--overlay-border-a35);
}

.project-card__visual {
  min-height: 260px;
  border-radius: 6px;
  background-color: var(--gray-190);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.project-card__visual--one {
  background-image: linear-gradient(135deg, var(--overlay-light-80-10)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=900&q=80");
}

.project-card__visual--two {
  background-image: linear-gradient(135deg, var(--overlay-light-82-08)),
    url("https://images.unsplash.com/photo-1552581234-26160f608093?auto=format&fit=crop&w=900&q=80");
}

.project-card__visual--three {
  background-image: linear-gradient(135deg, var(--overlay-light-82-08)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=900&q=80");
}

.project-card__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}

.project-card__body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.project-card__body h3 {
  font-size: var(--type-card-title-size);
  font-weight: var(--type-card-title-weight);
  line-height: var(--type-card-title-line);
}

.project-card__body p {
  max-width: 23ch;
  font-size: var(--type-card-text-size);
  font-weight: var(--type-card-text-weight);
  line-height: var(--type-card-text-line);
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.project-card__tags span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.portfolio__more {
  display: flex;
  justify-content: center;
  margin-top: var(--space-6);
}

.about {
  background: var(--shape);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 14px;
  align-items: stretch;
}

.about__lead {
  max-width: var(--max);
  margin: 0 auto 14px;
  color: var(--text);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.35;
}

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

.fact,
.about__photo {
  background: var(--white);
  padding: 18px 18px 16px;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
}

.fact {
  display: grid;
  align-content: end;
  min-height: 128px;
  gap: 8px;
}

.fact span {
  font-size: clamp(26px, 2.8vw, 46px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.fact p {
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}

.about__photo {
  min-height: 128px;
  border: 1px dashed var(--gray-250);
  background: var(--gray-50);
  display: grid;
  place-items: center;
}

.about__photo span {
  color: var(--gray-450);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  font-weight: 500;
}

.collaboration {
  background: var(--bg);
  color: var(--text);
}

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

.collaboration__subhead {
  margin-top: 20px;
  margin-bottom: 12px;
}

.collaboration__subhead h3 {
  font-size: clamp(28px, 2.6vw, 36px);
}

.collab-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 8px 0;
  border: 0;
  background: transparent;
}

.collab-item img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.collab-item__name {
  margin: 0;
  font-size: var(--type-name-size);
  line-height: var(--type-name-line);
  font-weight: var(--type-name-weight);
  color: var(--text);
}

.collab-item__name-row {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

app-info-button {
  display: inline-flex;
}

.person-info-btn {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-150);
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  color: var(--muted);
  font: var(--type-caption-weight) var(--type-caption-size) / 1 var(--body);
  cursor: pointer;
  padding: 0;
  vertical-align: middle;
}

.person-info-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

.person-info-btn:hover {
  color: var(--text);
  border-color: var(--gray-140);
}

.person-info-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 70;
  max-width: min(320px, calc(100vw - 24px));
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--gray-100);
  color: var(--text);
  font-size: var(--type-small-size);
  line-height: var(--type-small-line);
  box-shadow: var(--shadow-1);
  pointer-events: none;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.person-info-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.person-info-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.person-info-modal.is-open {
  display: block;
}

.person-info-modal__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-dark-a48);
}

.person-info-modal__dialog {
  position: relative;
  width: min(92vw, 420px);
  margin: 14vh auto 0;
  background: var(--gray-100);
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 18px 18px 16px;
}

.person-info-modal__close {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.person-info-modal__dialog h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.person-info-modal__dialog p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.collab-item__desc {
  margin-top: 2px;
  color: var(--muted);
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.28;
}

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

.steps--carousel {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 24px) / 3);
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: 12px;
  align-items: start;
}

.steps--carousel::-webkit-scrollbar,
.reviews--carousel::-webkit-scrollbar {
  display: none;
}

.step {
  border: 1px solid var(--border);
  display: grid;
  grid-template-rows: 220px auto 1fr;
  gap: var(--space-4);
  padding: 0;
  background: var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
}

.steps--carousel .step,
.reviews--carousel .review {
  scroll-snap-align: start;
}

.steps--carousel,
.reviews--carousel {
  touch-action: pan-y;
  cursor: grab;
}

.steps--carousel.is-dragging,
.reviews--carousel.is-dragging {
  cursor: grabbing;
}

.steps--carousel .step {
  width: 100%;
  align-content: start;
  height: auto !important;
}

.step__visual {
  position: relative;
  background: var(--gray-190);
  min-height: 220px;
  overflow: hidden;
}

.step__visual img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.step__visual span {
  position: absolute;
  left: var(--space-4);
  top: var(--space-4);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius-sm) - 2px);
  background: var(--gray-100);
  border: 1px solid var(--gray-210);
  color: var(--text);
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 500;
}

.step h3 {
  margin: 0;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
  font-size: var(--type-card-title-size);
  font-weight: var(--type-card-title-weight);
  line-height: var(--type-card-title-line);
}

.step__desc {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 0 var(--space-4) var(--space-4);
}

.step__desc p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.services {
  background: var(--shape);
}

.service {
  background: var(--white);
  display: grid;
  align-content: start;
  gap: var(--space-4);
  padding: 0 0 var(--space-5);
  overflow: hidden;
}

.service__visual {
  min-height: var(--service-visual-height);
  background: var(--gray-190);
  border-bottom: 1px solid var(--border);
}

.service p {
  margin: 0;
  padding: 0 var(--space-5);
  color: var(--muted);
  font-size: var(--service-meta-size);
  font-weight: var(--service-meta-weight);
  line-height: var(--service-meta-line);
}

.service h3 {
  padding: 0 var(--space-5);
  font-size: var(--service-title-size);
  font-weight: var(--service-title-weight);
  line-height: var(--service-title-line);
}

.service__action {
  padding: 0 var(--space-5);
}

.service__action .review__link {
  pointer-events: none;
}

.reviews {
  align-items: stretch;
}

.reviews--carousel {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  align-items: start;
  padding: 0;
  margin: 0;
}

.review {
  border: 1px solid var(--border);
  display: grid;
  align-content: start;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: var(--white);
}

.review__media {
  width: 100%;
  overflow: hidden;
  background: var(--shape);
  border-bottom: 1px solid var(--border);
}

.review__media--horizontal {
  aspect-ratio: 16 / 9;
}

.review__media--vertical {
  aspect-ratio: 9 / 16;
}

.review__media--square {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
}

.review__media--video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.review__video-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: var(--gray-190);
}

.review__media--audio {
  padding: 10px var(--review-pad);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.review__media--audio audio {
  width: 100%;
  height: 36px;
}

.review__top {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 20px var(--review-pad) var(--review-pad);
  border-top: 1px solid var(--border);
}

.review__avatar {
  width: 72px;
  height: 72px;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  background: var(--shape);
  border: 1px solid var(--border);
}

.review img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review__avatar-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
}

.review--avatar-fallback .review__avatar-fallback {
  display: flex;
}

.review__person {
  display: grid;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.review__person-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}

.review__person-row h3 {
  min-width: 0;
  font-size: var(--review-card-name-size);
  font-weight: var(--review-card-name-weight);
  line-height: var(--review-card-name-line);
}

.review__year {
  color: var(--muted);
  font-size: var(--review-meta);
  font-weight: var(--type-small-weight);
  line-height: 1.1;
}

.review__service {
  color: var(--muted);
  font-size: var(--review-meta);
  line-height: 1.25;
}

.review__content {
  display: grid;
  gap: 14px;
  padding: var(--review-pad);
  border-top: 1px solid var(--border);
}

.review__quote-mark {
  height: 22px;
  color: var(--gray-500);
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 0.7;
}

.review blockquote {
  margin: 0;
  font-family: var(--body);
  font-size: var(--review-card-quote-size);
  font-weight: var(--review-card-quote-weight);
  line-height: var(--review-card-quote-line);
  color: var(--gray-900);
}

.review__text-scroll {
  max-height: 6.6em;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-170) transparent;
}

.review__text-scroll::-webkit-scrollbar {
  width: 4px;
}

.review__text-scroll::-webkit-scrollbar-thumb {
  background: var(--gray-170);
  border-radius: 999px;
}

.review__text {
  color: var(--muted);
  font-size: var(--review-card-text-size);
  font-weight: var(--review-card-text-weight);
  line-height: var(--review-card-text-line);
}

.review--compact blockquote {
  font-size: var(--review-card-quote-size);
  font-weight: var(--review-card-quote-weight);
  line-height: var(--review-card-quote-line);
}

.review--compact .review__text-scroll {
  max-height: 5.3em;
}

.review--compact .review__media--vertical {
  aspect-ratio: 9 / 14;
}

.review--compact .review__media--horizontal {
  aspect-ratio: 16 / 9;
}

.review--compact .review__media--square {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 0;
}

.review--compact.review--square .review__media {
  width: 100%;
  max-width: none;
  margin: 0;
}

.review--compact .review__person-row h3 {
  font-size: var(--review-card-name-size);
  font-weight: var(--review-card-name-weight);
}

.review--full {
  min-height: 100%;
}

.review__video-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 420px;
  max-height: 520px;
}

.review__video-row .review__media {
  height: 100%;
  max-height: 520px;
  border-right: 1px solid var(--border);
  border-bottom: 0;
}

.review__side {
  display: grid;
  align-content: space-between;
  min-width: 0;
}

.review__side .review__top {
  padding: 20px var(--review-pad) var(--review-pad);
  align-self: end;
}

.review--video .review__top {
  grid-template-columns: minmax(0, 1fr);
}

.review__side .review__content {
  padding-bottom: 18px;
}

.review__side .review__text-scroll {
  max-height: 6.6em;
}

.review__bottom-text {
  border-top: 1px solid var(--border);
  padding: var(--review-pad);
}

.review__bottom-text .review__text-scroll {
  max-height: 6.6em;
}

.review__bottom-text:has(.review__text--hidden) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.review__text--hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.review--horizontal .review__top {
  padding: 20px var(--review-pad) var(--review-pad);
  border-top: 1px solid var(--border);
}

.review--horizontal .review__content {
  padding: var(--review-pad);
}

.review--horizontal .review__text-scroll {
  max-height: 6.6em;
}

.review--square .review__video-row {
  grid-template-columns: var(--review-square-video-size) minmax(0, 1fr);
  align-items: center;
  min-height: auto;
  max-height: none;
}

.review__video-col {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: var(--review-square-video-size);
  flex: 0 0 auto;
  border-right: 1px solid var(--border);
}

.review__video-col .review__media {
  width: var(--review-square-video-size);
  height: var(--review-square-video-size);
  max-height: var(--review-square-video-size);
  border-right: 0;
  border-bottom: 0;
}

.review__video-col .review__media--square {
  width: var(--review-square-video-size);
  height: var(--review-square-video-size);
  max-width: var(--review-square-video-size);
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  border: 0;
}

.review__video-col .review__media--square iframe {
  position: static;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  border: 0;
}

.review__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.review__link {
  width: fit-content;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  color: var(--gray-700);
  font: var(--type-button-sm-weight) var(--type-button-sm-size) / var(--type-button-sm-line) var(--body);
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    inset 0 -2px 0 0 var(--gray-850-a4),
    0 1px 3px 0 var(--gray-580-a20),
    0 0 0 1px var(--gray-220);
}

.review__link:hover {
  color: var(--text);
  background: var(--gray-100);
}

.review > .review__link {
  margin: var(--review-pad);
}

.reviews__more {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.slider-block {
  position: relative;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
  padding-bottom: 28px;
}

.slider-block > .page-container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

.slider-btn svg {
  width: 18px;
  height: 18px;
}

.slider-btn--prev {
  left: -46px;
}

.slider-btn--next {
  right: -46px;
}

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slider-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray-165);
  transition: transform 0.14s ease, background-color 0.14s ease;
}

.slider-dot.is-active {
  background: var(--gray-90);
  transform: scale(1.15);
}

.footer {
  max-width: none;
  padding-top: 38px;
  padding-bottom: 38px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer__inner > div:first-child {
  max-width: 760px;
  display: grid;
  gap: var(--space-3);
}

.footer__nav-label {
  color: var(--gray-100);
  font-size: var(--type-small-size);
  font-weight: var(--type-regular-weight);
  line-height: var(--type-small-line);
}

.footer__policy {
  color: var(--gray-850);
  font-size: var(--type-body-size);
  font-weight: var(--type-body-weight);
  line-height: var(--type-body-line);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
}

.footer__meta {
  display: grid;
  gap: var(--space-2);
  color: var(--muted);
  font-size: var(--type-small-size);
  font-weight: var(--type-regular-weight);
  line-height: var(--type-small-line);
}

.footer__meta a {
  width: fit-content;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--gray-220);
  text-decoration-thickness: 1px;
  text-underline-offset: var(--space-1);
}

.page-header {
  width: 100%;
  padding-top: 24px;
}

.reviews-page {
  padding-top: 38px;
}

.reviews-page__title {
  max-width: 900px;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: var(--type-regular-weight);
  line-height: 0.98;
}

.reviews-head {
  gap: 12px;
}

.reviews-count-badge {
  width: fit-content;
  padding: 6px 12px;
  border-radius: calc(var(--radius-sm) - 2px);
  border: 1px solid var(--border);
  background: var(--shape);
  color: var(--muted);
  font-size: var(--type-small-size);
  font-weight: var(--type-regular-weight);
  line-height: var(--type-small-line);
}

.reviews-page__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.reviews-page__grid .review {
  height: 100%;
}

.legal-page {
  max-width: none;
  padding-top: calc(var(--space-6) + var(--space-3));
  padding-bottom: calc(var(--space-6) * 4);
}

.legal-page--document {
  padding-top: calc(var(--space-6) * 2);
}

.breadcrumbs,
.legal-page__head,
.legal-docs,
.legal-content,
.back-link {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.breadcrumbs,
.back-link {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  border-radius: var(--radius-md);
  background: var(--shape);
  color: var(--muted);
  font-size: var(--type-small-size);
  font-weight: var(--type-small-weight);
  line-height: var(--type-small-line);
}

.breadcrumbs {
  margin-left: max(var(--page-gutter), calc((100% - var(--max)) / 2));
  margin-right: auto;
  padding: var(--space-2) var(--space-4);
}

.breadcrumbs svg,
.back-link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: block;
}

.breadcrumbs span {
  color: var(--text);
}

.legal-page__head {
  display: grid;
  gap: var(--space-6);
}

.breadcrumbs + .legal-page__head,
.breadcrumbs + .legal-content,
.breadcrumbs + .hero__grid {
  margin-top: var(--space-6);
}

.hero .breadcrumbs {
  margin-top: var(--space-6);
}

.hero .breadcrumbs + .hero__grid {
  margin-top: var(--space-6);
  padding-top: 0;
}

.legal-page__head h1,
.legal-content h1 {
  max-width: var(--max);
  font-size: var(--type-h2-size);
  font-weight: var(--type-h4-weight);
  line-height: var(--type-h2-line);
}

.legal-page__head p {
  color: var(--muted);
  font-size: var(--type-lead-size);
  font-weight: var(--type-regular-weight);
  line-height: var(--type-lead-line);
}

.legal-docs {
  display: grid;
  margin-top: calc(var(--space-6) * 2);
  border-top: 1px solid var(--border);
}

.legal-doc {
  display: grid;
  gap: var(--space-4);
  padding: calc(var(--space-6) + var(--space-3)) 0;
  border-bottom: 1px solid var(--border);
}

.legal-doc:last-child {
  border-bottom: 0;
}

.legal-doc:first-child {
  margin-top: calc(var(--space-6) * 3);
}

.legal-doc__title {
  color: var(--text);
  font-size: var(--type-h3-size);
  font-weight: var(--type-body-weight);
  line-height: var(--type-h3-line);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.legal-doc__title svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: var(--gray-220);
}

.legal-doc__text {
  color: var(--muted);
  font-size: var(--type-lead-size);
  font-weight: var(--type-regular-weight);
  line-height: var(--type-lead-line);
}

.back-link {
  margin-left: max(var(--page-gutter), calc((100% - var(--max)) / 2));
  margin-right: auto;
  margin-bottom: calc(var(--space-6) * 3);
  padding: var(--space-2) var(--space-4);
  color: var(--text);
}

.back-link--bottom {
  margin-left: 0;
  margin-bottom: 0;
}

.legal-content {
  display: grid;
  gap: var(--space-6);
}

.legal-content h2 {
  max-width: none;
  font-size: var(--type-h3-size);
  font-weight: var(--type-h4-weight);
  line-height: var(--type-h3-line);
}

.legal-content p {
  color: var(--text);
  font-size: var(--type-lead-size);
  font-weight: var(--type-regular-weight);
  line-height: var(--type-lead-line);
}

.socials {
  display: flex;
  gap: var(--space-1);
}

.socials a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: transparent;
  border: 0;
  padding: 0;
}

.socials img {
  width: 32px;
  height: 32px;
  border-radius: var(--space-1);
  display: block;
}

@container (max-width: 760px) {
  .about__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .reviews--carousel {
    grid-auto-columns: calc((100% - 12px) / 2);
  }
}

.socials--nav {
  justify-content: flex-end;
}

.footer p {
  font-size: 14px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal.is-open {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-dark-a42);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  border: 1px solid var(--border);
  padding: 0;
  overflow: visible;
}

.modal__dialog--text {
  width: min(680px, 100%);
  background: var(--white);
  padding: clamp(var(--space-5), 3vw, var(--space-6));
}

.modal__dialog--shot {
  background: var(--white);
}

.modal__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gray-105);
  border-radius: var(--radius-sm);
  background: var(--gray-95);
  color: var(--gray-130);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease, transform 0.14s ease;
  z-index: 2;
}

.modal__close svg {
  width: 12px;
  height: 12px;
  display: block;
}

.modal__close:hover {
  background: var(--gray-110);
  color: var(--gray-100);
  transform: scale(1.04);
}

.modal__close:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.review-shot {
  min-height: 0;
  display: block;
  background: var(--white);
  padding: 0;
}

.review-shot img {
  width: 100%;
  height: auto;
  display: none;
}

.review-modal-text {
  display: grid;
  gap: var(--space-3);
}

.review-modal-text h2 {
  font-size: var(--review-modal-name-size);
  font-weight: var(--review-modal-name-weight);
  line-height: var(--review-modal-name-line);
}

.review-modal-text__meta {
  color: var(--muted);
  font-size: var(--type-small-size);
  font-weight: var(--type-small-weight);
  line-height: var(--type-small-line);
}

#review-modal-text {
  max-height: min(58vh, 520px);
  overflow: auto;
  color: var(--muted);
  font-size: var(--review-modal-text-size);
  font-weight: var(--review-modal-text-weight);
  line-height: var(--review-modal-text-line);
  padding-right: 10px;
}

@media (max-width: 980px) {
  .hero__grid,
  .about__grid,
  .about-page__hero {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    align-self: auto;
  }

  .portfolio,
  .service-list,
  .reviews,
  .about__facts {
    grid-template-columns: 1fr;
  }

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

  .benefit-card,
  .benefit-card--wide,
  .benefit-card--accent {
    grid-column: auto;
  }

  .reviews--carousel {
    grid-auto-columns: calc((100% - 12px) / 2);
  }

  .slider-block {
    padding-bottom: 56px;
  }

  .slider-dots {
    bottom: 14px;
  }

  .slider-btn {
    display: inline-flex;
    top: auto;
    bottom: 6px;
    transform: none;
    width: 42px;
    height: 42px;
  }

  .slider-btn svg {
    width: 20px;
    height: 20px;
  }

  .slider-dot {
    width: 5px;
    height: 5px;
  }

  .slider-btn--prev {
    left: calc(50% - 70px);
  }

  .slider-btn--next {
    right: calc(50% - 70px);
  }

  .reviews-page__grid {
    grid-template-columns: 1fr;
  }

  .reviews-page__grid {
    columns: 1;
  }

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

  .fact,
  .service {
    min-height: 180px;
  }

  .project-card {
    grid-template-rows: 220px auto;
  }

  .project-card__visual {
    min-height: 220px;
  }

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

  .person-info-tooltip {
    display: none;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 17px;
    overflow-x: hidden;
  }

  h1 {
    font-size: 42px;
    line-height: 1.03;
  }

  .hero {
    min-height: auto;
  }

  .nav {
    position: relative;
    grid-template-columns: 1fr auto;
    row-gap: 12px;
    align-items: start;
    z-index: 20;
  }

  .nav::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 8;
    pointer-events: none;
    background: var(--gray-900-a35);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.16s ease;
  }

  .nav.is-menu-open::before {
    opacity: 1;
  }

  .nav__menu-toggle {
    position: relative;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    color: var(--text);
    padding: 0;
    cursor: pointer;
  }

  .nav__menu-toggle svg {
    width: 20px;
    height: 20px;
    display: block;
  }

  .socials--nav {
    display: none;
  }

  .nav__links {
    order: 3;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 10;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    white-space: normal;
    min-width: min(250px, calc(100vw - 40px));
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--gray-100);
    box-shadow: var(--shadow-1);
  }

  .nav__mobile-only {
    display: inline-flex;
  }

  .nav.is-menu-open .nav__links {
    display: flex;
  }

  .hero__grid {
    padding-top: 54px;
  }

  .hero__action,
  .footer__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button:not(.button--secondary) {
    min-height: var(--button-primary-min-height);
    padding: 0 var(--space-5);
  }

  .button {
    width: 100%;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .hero__action p {
    max-width: none;
  }

  .hero__visual,
  .steps {
    grid-template-columns: 1fr;
  }

  .portfolio {
    gap: 14px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-page__facts {
    grid-template-columns: 1fr;
  }

  .about-fact--wide {
    grid-column: auto;
  }

  .benefit-card {
    min-height: 150px;
    border-radius: 14px;
    padding: 18px;
  }

  .benefit-card h3 {
    font-size: var(--type-card-title-size);
  }

  .project-card {
    grid-template-rows: 220px auto;
    padding: 10px;
  }

  .project-card__visual {
    min-height: 220px;
  }

  .project-card__body {
    gap: 14px;
    padding: 22px 20px 20px;
  }

  .project-card__body h3 {
    font-size: var(--type-card-title-size);
  }

  .project-card__body p {
    max-width: none;
    font-size: var(--type-card-text-size);
    line-height: var(--type-card-text-line);
  }

  .project-card__tags span {
    min-height: 38px;
    padding: 0 14px;
    font-size: 15px;
  }

  .metric--wide {
    grid-column: auto;
  }

  .step {
    grid-template-rows: 200px auto 1fr;
  }

  .step__visual {
    min-height: 200px;
  }

  .step__visual span {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .steps--carousel {
    grid-template-columns: none;
    grid-auto-columns: 100%;
    gap: 10px;
  }

  #process .slider-block,
  #reviews .slider-block {
    padding-bottom: 66px;
  }

  #process .slider-dots,
  #reviews .slider-dots {
    left: 50%;
    right: auto;
    bottom: 24px;
    justify-content: center;
    transform: translateX(-50%);
  }

  #process .slider-btn,
  #reviews .slider-btn {
    bottom: 6px;
  }

  #process .slider-btn--prev,
  #reviews .slider-btn--prev {
    left: 0;
    right: auto;
  }

  #process .slider-btn--next,
  #reviews .slider-btn--next {
    right: 0;
  }

  .review {
    padding: 0;
  }

  .review__video-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .review__video-row .review__media {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .review__media--vertical {
    aspect-ratio: 9 / 12;
    max-height: 520px;
  }

  .review__side .review__top,
  .review--horizontal .review__top,
  .review__top {
    padding: 18px;
  }

  .review__content {
    padding: 18px;
  }

  .review__bottom-text {
    padding: 18px;
  }

  .review--square .review__video-row {
    grid-template-columns: 1fr;
  }

  .review__video-col {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .review__video-col {
    width: 100%;
  }

  .review__video-col .review__media {
    width: var(--review-square-video-size);
    height: var(--review-square-video-size);
    margin: 0 auto;
  }

  .review__video-col .review__media--square {
    width: var(--review-square-video-size);
    height: var(--review-square-video-size);
  }

  .review__link {
    padding: 8px 11px;
  }

  .review__top {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .review__avatar {
    width: 58px;
    height: 58px;
  }

  .review blockquote {
    font-size: var(--review-mobile-quote-size);
    font-weight: var(--review-mobile-quote-weight);
    line-height: var(--review-mobile-quote-line);
  }

  .review__text-scroll {
    max-height: 120px;
  }

  .review__text {
    font-size: 16px;
  }

  .reviews--carousel {
    grid-auto-columns: 88%;
  }

  .review__person-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px;
  }

  .review__person-row h3 {
    font-size: var(--review-mobile-name-size);
    font-weight: var(--review-mobile-name-weight);
    line-height: var(--review-mobile-name-line);
  }

  .review--compact .review__person-row h3 {
    font-size: var(--review-mobile-name-size);
    font-weight: var(--review-mobile-name-weight);
  }

  .reviews-page__title {
    font-size: 42px;
    line-height: 1.02;
  }

  .legal-page,
  .legal-page--document {
    padding-top: var(--space-6);
    padding-bottom: calc(var(--space-6) * 3);
  }

  .breadcrumbs,
  .back-link {
    max-width: 100%;
    margin-left: 0;
    font-size: var(--type-lead-size);
  }

  .legal-docs {
    padding-top: calc(var(--space-6) * 3);
  }

  .legal-doc__title {
    font-size: var(--type-h3-size);
  }

  .legal-doc__text {
    font-size: var(--type-lead-size);
  }

  .back-link {
    margin-bottom: calc(var(--space-6) * 2);
  }

  .legal-content {
    gap: var(--space-5);
  }

  .breadcrumbs + .legal-page__head,
  .breadcrumbs + .legal-content {
    margin-top: var(--space-5);
  }

  .socials {
    justify-content: flex-start;
  }
}

.portfolio-page__title {
  max-width: 900px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
}

.portfolio-cards {
  max-width: var(--portfolio-grid-max);
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 22px);
  align-items: start;
}

.portfolio-work[hidden] {
  display: none;
}

.portfolio-work {
  border: 1px solid var(--portfolio-work-border);
  background: var(--gray-75);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  color: var(--text);
  display: grid;
  grid-template-rows: var(--portfolio-work-preview-height) var(--portfolio-work-meta-height);
}

.portfolio-work__preview {
  min-height: 0;
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.portfolio-browser-bar {
  min-height: 18px;
  background: var(--gray-115);
  border-bottom: 1px solid var(--overlay-white-a12);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
}

.portfolio-browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-180);
  display: block;
}

.portfolio-work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.portfolio-work__meta {
  padding: 14px;
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 0;
  overflow: hidden;
}

.portfolio-work__meta h3 {
  color: var(--text);
  font-size: var(--portfolio-work-title-size);
  font-weight: var(--portfolio-work-title-weight);
  line-height: var(--portfolio-work-title-line);
}

.portfolio-work__tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.portfolio-work__tags span {
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--gray-185);
  padding: 6px 8px;
  font-size: var(--portfolio-work-tag-size);
  line-height: 1;
  color: var(--muted);
  text-transform: lowercase;
}

.portfolio-empty {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  gap: 0;
  background: var(--gray-75);
  box-shadow: none;
}

.portfolio-empty__preview {
  aspect-ratio: 18 / 27;
  display: grid;
  grid-template-rows: auto 1fr;
  place-items: center;
  background: var(--gray-75);
  border-bottom: 1px solid var(--gray-200);
}

.portfolio-empty__preview span {
  align-self: center;
  font-size: 14px;
  color: var(--muted);
  text-transform: lowercase;
}

.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}

.portfolio-modal.is-open {
  display: block;
}

.portfolio-modal__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-dark-a50);
}

.portfolio-modal__dialog {
  position: relative;
  width: min(96vw, 980px);
  margin: 3vh auto;
  background: var(--gray-100);
  border: 0;
  border-radius: var(--radius-md);
  height: 94vh;
  display: grid;
  grid-template-rows: 34px 1fr;
  overflow: visible;
}

.portfolio-modal__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gray-105);
  border-radius: var(--radius-sm);
  background: var(--gray-95);
  color: var(--gray-130);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease, transform 0.14s ease;
  z-index: 2;
}

.portfolio-modal__close svg {
  width: 12px;
  height: 12px;
  display: block;
}

.portfolio-modal__close:hover {
  background: var(--gray-110);
  color: var(--gray-100);
  transform: scale(1.04);
}

.portfolio-modal__close:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.portfolio-modal__viewport {
  overflow: auto;
  border: 0;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--gray-80);
}

.portfolio-modal__viewport img {
  width: 100%;
  height: auto;
  display: block;
}

.portfolio-browser-bar--modal {
  min-height: 34px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border-bottom: 1px solid var(--gray-120);
}

.portfolio-browser-bar--modal span:nth-child(1) {
  background: var(--system-red);
}

.portfolio-browser-bar--modal span:nth-child(2) {
  background: var(--system-yellow);
}

.portfolio-browser-bar--modal span:nth-child(3) {
  background: var(--system-green);
}

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

  .portfolio-work {
    grid-template-rows: var(--portfolio-work-preview-tablet-height) var(--portfolio-work-meta-height);
  }

  .portfolio-modal__dialog {
    width: 96vw;
    height: 92vh;
    margin-top: 4vh;
  }

  .portfolio-modal__close {
    top: max(var(--space-3), env(safe-area-inset-top, 0px));
    right: max(var(--space-3), env(safe-area-inset-right, 0px));
  }
}

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

  .portfolio-work {
    grid-template-rows: var(--portfolio-work-preview-mobile-height) var(--portfolio-work-meta-height);
  }
}
