@charset "UTF-8";
/**
  Нормализация блочной модели
 */
*,
::before,
::after {
  box-sizing: border-box;
}

/**
  Убираем внутренние отступы слева тегам списков,
  у которых есть атрибут class
 */
:where(ul, ol):where([class]) {
  padding-left: 0;
}

/**
  Убираем внешние отступы body и двум другим тегам,
  у которых есть атрибут class
 */
body,
:where(blockquote, figure, fieldset):where([class]) {
  margin: 0;
}

/**
  Убираем внешние отступы вертикали нужным тегам,
  у которых есть атрибут class
 */
:where(h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl):where([class]) {
  margin-block: 0;
}

:where(dd[class]) {
  margin-left: 0;
}

:where(fieldset[class]) {
  padding: 0;
  border: none;
}

/**
  Убираем стандартный маркер маркированному списку,
  у которого есть атрибут class
 */
:where(ul[class]) {
  list-style: none;
}

:where(address[class]) {
  font-style: normal;
}

/**
  Обнуляем вертикальные внешние отступы параграфа,
  объявляем локальную переменную для внешнего отступа вниз,
  чтобы избежать взаимодействие с более сложным селектором
 */
p {
  --paragraphMarginBottom: 24px;
  margin-block: 0;
}

/**
  Внешний отступ вниз для параграфа без атрибута class,
  который расположен не последним среди своих соседних элементов
 */
p:where(:not([class]):not(:last-child)) {
  margin-bottom: var(--paragraphMarginBottom);
}

/**
  Упрощаем работу с изображениями и видео
 */
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/**
  Наследуем свойства шрифт для полей ввода
 */
input,
textarea,
select,
button {
  font: inherit;
}

html {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  height: 100%;
  /**
    Убираем скачок интерфейса по горизонтали
    при появлении / исчезновении скроллбара
   */
  scrollbar-gutter: stable;
  /**
    Плавный скролл
   */
  scroll-behavior: smooth;
}

body {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  min-height: 100%;
  /**
    Унифицированный интерлиньяж
   */
  line-height: 1.5;
}

/**
  Нормализация высоты элемента ссылки при его инспектировании в DevTools
 */
a:where([class]) {
  display: inline-flex;
}

/**
  Курсор-рука при наведении на элемент
 */
button,
label {
  cursor: pointer;
}

/**
  Убирает серую подсветку при тапе на мобильных устройствах (iOS/Android)
 */
button {
  -webkit-tap-highlight-color: transparent;
}

/**
  Приводим к единому цвету svg-элементы
  (за исключением тех, у которых уже указан
  атрибут fill со значением 'none' или начинается с 'url')
 */
:where([fill]:not([fill=none],
[fill^=url])) {
  fill: currentColor;
}

/**
  Приводим к единому цвету svg-элементы
  (за исключением тех, у которых уже указан
  атрибут stroke со значением 'none')
 */
:where([stroke]:not([stroke=none],
[stroke^=url])) {
  stroke: currentColor;
}

/**
  Чиним баг задержки смены цвета при взаимодействии с svg-элементами
 */
svg * {
  transition-property: fill, stroke;
}

/**
  Приведение рамок таблиц в классический 'collapse' вид
 */
:where(table) {
  border-collapse: collapse;
  border-color: currentColor;
}

/**
  Удаляем все анимации и переходы для людей,
  которые предпочитают их не использовать
 */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@font-face {
  font-family: "Kumbh Sans";
  src: url("../fonts/KumbhSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kumbh Sans";
  src: url("../fonts/KumbhSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink:#0a1220;
  --paper:#f5f3ee;
  --lime:#c6fa5b;
  --muted:#8290a1;
  --line:rgba(10,18,32,.15);
  --display:'Kumbh Sans',sans-serif;
  --body:'Inter',sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  letter-spacing: -0.035em;
}

.container {
  width: min(1240px, 100% - 64px);
  margin-inline: auto;
}

.header {
  position: absolute;
  z-index: 5;
  width: 100%;
  color: #fff;
}

.header__inner {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
  color: inherit;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.09em;
  text-decoration: none;
}

.logo__mark {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  margin-right: 3px;
  border: 1px solid var(--lime);
  color: var(--lime);
  font-size: 15px;
}

.logo__dot {
  color: var(--lime);
}

.nav {
  display: flex;
  align-items: center;
  gap: 33px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

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

.nav a:hover {
  color: var(--lime);
}

.nav__contact {
  margin-left: 17px;
  padding: 11px 0 11px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.nav__contact span {
  color: var(--lime);
  margin-left: 9px;
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 760px;
  position: relative;
  display: flex;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  isolation: isolate;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.24;
  background-image: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: calc((100vw - 64px) / 6) 100%;
}

.hero__content {
  padding-top: 205px;
}

.eyebrow, .section-label {
  margin: 0;
  text-transform: uppercase;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.eyebrow {
  color: #b7c0ca;
}

.eyebrow span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--lime);
}

.hero h1 {
  max-width: 900px;
  margin: 30px 0 68px;
  font: 500 clamp(48px, 6.4vw, 91px)/0.97 var(--display);
  letter-spacing: -0.075em;
}

.hero h1 em, h2 em, .statement em {
  color: var(--lime);
  font-style: normal;
}

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.hero__bottom p {
  width: 327px;
  margin: 0;
  color: #b7c0ca;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.button {
  padding: 15px 20px;
  display: inline-flex;
  gap: 32px;
  align-items: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.button--light {
  background: var(--lime);
  color: var(--ink);
}

.button:hover {
  background: #fff;
}

.button span, .contact__email span {
  font-size: 18px;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
  z-index: -1;
}

.hero__orb--one {
  width: 420px;
  height: 420px;
  top: 145px;
  right: -80px;
  background: radial-gradient(circle at 35% 38%, #c6fa5b 0, rgba(198, 250, 91, 0.45) 15%, rgba(13, 54, 63, 0.2) 45%, transparent 68%);
}

.hero__orb--two {
  width: 350px;
  height: 350px;
  bottom: -165px;
  left: 20%;
  background: radial-gradient(circle, rgba(38, 113, 143, 0.5), transparent 65%);
}

.hero__scroll {
  position: absolute;
  bottom: 27px;
  right: 32px;
  color: #b7c0ca;
  text-decoration: none;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__scroll span {
  margin-left: 8px;
  color: var(--lime);
}

.section {
  padding: 130px 0;
}

.intro__grid {
  display: grid;
  grid-template-columns: 25% 1fr;
}

.section-label {
  color: #69778a;
}

.intro h2, .section-heading h2, .contact h2 {
  margin: 0;
  font: 500 clamp(38px, 5vw, 68px)/1 var(--display);
  letter-spacing: -0.075em;
}

.intro h2 em {
  color: #4b81b7;
  font-style: normal;
}

.intro__text {
  max-width: 500px;
  margin: 43px 0 62px;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -0.04em;
}

.metrics {
  display: flex;
  gap: 64px;
}

.metrics div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.metrics strong {
  font: 500 39px/1 var(--display);
  letter-spacing: -0.07em;
}

.metrics span {
  color: #687486;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.services {
  padding-bottom: 145px;
  background: #e5e9e6;
}

.section-heading {
  display: grid;
  grid-template-columns: 25% 1fr;
  margin-bottom: 69px;
}

.section-heading h2 {
  color: var(--ink);
}

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

.service-card {
  display: grid;
  grid-template-columns: 25% 1fr auto;
  align-items: center;
  min-height: 159px;
  padding: 25px 12px 25px 0;
  border-bottom: 1px solid var(--line);
  transition: 0.25s ease;
}

.service-card:hover {
  padding-left: 18px;
  background: var(--lime);
}

.service-card__number, .steps > li > span {
  color: #798493;
  font: 500 13px var(--display);
}

.service-card h3 {
  margin: 0;
  font: 500 clamp(25px, 3vw, 40px)/0.95 var(--display);
  letter-spacing: -0.07em;
}

.service-card p {
  max-width: 320px;
  margin: 13px 0 0;
  color: #6b7787;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.service-card__arrow {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 20px;
}

.service-card:hover .service-card__arrow {
  border-color: var(--ink);
}

.statement {
  padding: 100px 0 105px;
  color: #fff;
  background: #355f84;
}

.statement p {
  max-width: 990px;
  margin: 0;
  font: 500 clamp(33px, 4.5vw, 61px)/1.05 var(--display);
  letter-spacing: -0.075em;
}

.process {
  background: var(--paper);
}

.steps {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps li {
  display: grid;
  grid-template-columns: 25% 1fr;
  padding: 29px 0 34px;
  border-bottom: 1px solid var(--line);
}

.steps li > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.steps h3 {
  margin: 0;
  font: 500 25px/1 var(--display);
  letter-spacing: -0.055em;
}

.steps p {
  max-width: 250px;
  margin: 0;
  color: #6b7787;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.contact {
  padding: 110px 0 50px;
  color: #fff;
  background: var(--ink);
}

.contact__inner {
  display: grid;
  grid-template-columns: 25% 1fr;
}

.contact .section-label {
  color: #9ba6b4;
}

.contact h2 {
  color: #fff;
}

.contact__email {
  margin-top: 45px;
  display: inline-flex;
  align-items: center;
  gap: 36px;
  padding-bottom: 9px;
  color: var(--lime);
  border-bottom: 1px solid rgba(198, 250, 91, 0.5);
  text-decoration: none;
  font: 500 clamp(20px, 2.3vw, 31px)/1 var(--display);
  letter-spacing: -0.05em;
}

.contact__details {
  grid-column: 2;
  margin-top: 104px;
  display: flex;
  gap: 22px;
  align-items: flex-end;
  color: #9ba6b4;
  font-size: 12px;
  letter-spacing: -0.02em;
}

.contact__details p {
  margin: 0 auto 0 0;
  line-height: 1.6;
}

.contact__details a {
  color: #fff;
  text-decoration: none;
}

.footer {
  padding: 19px 0;
  color: #9ba6b4;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 11px;
  letter-spacing: -0.01em;
}

.footer .container {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 40px);
  }
  .header__inner {
    height: 76px;
  }
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 24px 20px 28px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
  }
  .nav.is-open {
    display: flex;
  }
  .nav__contact {
    margin: 0;
    padding: 0;
    border: 0;
  }
  .menu-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    align-items: center;
    border: 0;
    color: #fff;
    background: none;
  }
  .menu-toggle span {
    width: 22px;
    height: 1px;
    background: currentColor;
  }
  .hero {
    min-height: 690px;
  }
  .hero__content {
    padding-top: 160px;
  }
  .hero h1 {
    margin: 26px 0 50px;
  }
  .hero__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero__bottom p {
    width: auto;
  }
  .hero__scroll {
    display: none;
  }
  .section {
    padding: 82px 0;
  }
  .intro__grid, .section-heading, .contact__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .intro__text {
    margin: 30px 0 40px;
    font-size: 17px;
  }
  .metrics {
    gap: 28px;
  }
  .metrics strong {
    font-size: 31px;
  }
  .section-heading {
    margin-bottom: 46px;
  }
  .service-card {
    grid-template-columns: 35px 1fr auto;
    min-height: 140px;
  }
  .service-card p {
    padding-right: 12px;
  }
  .statement {
    padding: 75px 0;
  }
  .steps li {
    grid-template-columns: 35px 1fr;
  }
  .steps li > div {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .contact {
    padding-top: 80px;
  }
  .contact__details {
    grid-column: 1;
    margin-top: 70px;
    flex-wrap: wrap;
  }
  .contact__details p {
    flex-basis: 100%;
    margin-bottom: 14px;
  }
  .footer .container {
    gap: 12px;
    flex-direction: column;
  }
}
/* Brand palette: plum, cream and coral */
:root {
  --ink:#221b35;
  --paper:#fcf8f1;
  --lime:#ff775c;
  --muted:#887f91;
  --line:rgba(34,27,53,.14);
}

.eyebrow, .hero__bottom p, .hero__scroll {
  color: #d0c9d5;
}

.hero__orb--one {
  width: 470px;
  height: 470px;
  top: 105px;
  right: -100px;
  background: radial-gradient(circle at 35% 38%, #ff987f 0, rgba(255, 119, 92, 0.52) 15%, rgba(83, 43, 109, 0.46) 45%, transparent 68%);
}

.hero__orb--two {
  width: 390px;
  height: 390px;
  bottom: -185px;
  left: 17%;
  background: radial-gradient(circle, rgba(133, 90, 167, 0.58), transparent 65%);
}

.intro h2 em {
  color: #a15c73;
}

.section-label, .metrics span, .service-card__number, .steps > li > span {
  color: #817789;
}

.services {
  background: #eee4dc;
}

.service-card:hover {
  background: #e9b47a;
}

.service-card p, .steps p {
  color: #746b7b;
}

.statement {
  background: #6a456d;
}

.contact .section-label, .contact__details, .footer {
  color: #bcb2c3;
}

.contact__email {
  border-color: rgba(255, 119, 92, 0.55);
}

/* More precise, contemporary type system */
:root {
  --display:'Inter',sans-serif;
}

.hero h1 {
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.intro h2, .section-heading h2, .contact h2 {
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.statement p {
  font-weight: 600;
  letter-spacing: -0.06em;
}

.service-card h3 {
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.01;
}

.steps h3 {
  font-weight: 600;
  letter-spacing: -0.045em;
}

.metrics strong {
  font-weight: 700;
  letter-spacing: -0.06em;
}

.contact__email {
  font-weight: 600;
  letter-spacing: -0.045em;
}

/* Projects */
.projects {
  background: #fcf8f1;
}

.projects h2 em {
  color: #a15c73;
}

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

.project-card {
  min-height: 490px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  color: #fff;
}

.project-card--plum {
  background: #6a456d;
}

.project-card--coral {
  background: #e47760;
}

.project-card--ink {
  background: #221b35;
}

.project-card__top {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.project-card__visual {
  position: relative;
  flex: 1;
  min-height: 190px;
  margin: 22px 0;
  overflow: hidden;
}

.project-card__visual--photo {
  background: #1a1528;
}

.project-card__visual--photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(34, 27, 53, 0.28), rgba(255, 119, 92, 0.16));
  mix-blend-mode: multiply;
}

.project-card__visual--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.76) contrast(1.06);
  transition: transform 0.45s ease;
}

.project-card:hover .project-card__visual--photo img {
  transform: scale(1.06);
}

.project-card__content h3 {
  margin: 0;
  font: 600 clamp(22px, 2.3vw, 31px)/1.01 var(--display);
  letter-spacing: -0.06em;
}

.project-card__content p {
  max-width: 300px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: -0.015em;
}

.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 17px;
}

.project-card__meta span {
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.projects__note {
  max-width: 600px;
  margin: 26px 0 0;
  color: #817789;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

@media (max-width: 700px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-card {
    min-height: 410px;
  }
  .projects__note {
    margin-top: 20px;
  }
}
/* Consistent section rhythm */
:root {
  --section-space:120px;
  --section-space-mobile:80px;
}

.section, .statement {
  padding-block: var(--section-space);
}

.services {
  padding-bottom: var(--section-space);
}

.contact {
  padding-top: var(--section-space);
}

.project-grid {
  grid-auto-rows: 520px;
}

.project-card {
  min-height: 0;
  height: 100%;
}

@media (max-width: 700px) {
  .section, .statement {
    padding-block: var(--section-space-mobile);
  }
  .contact {
    padding-top: var(--section-space-mobile);
  }
  .project-grid {
    grid-auto-rows: auto;
  }
  .project-card {
    min-height: 410px;
  }
}
/* Project enquiry form */
.no-scroll {
  overflow: hidden;
}

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

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

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(34, 27, 53, 0.7);
  backdrop-filter: blur(5px);
}

.modal__content {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 52px;
  background: #fcf8f1;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.3);
}

.modal__close {
  position: absolute;
  top: 17px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font-size: 28px;
  line-height: 1;
}

.modal__content h2 {
  margin: 25px 0 0;
  font: 700 clamp(34px, 5vw, 55px)/0.96 var(--display);
  letter-spacing: -0.065em;
}

.modal__content h2 em {
  color: #a15c73;
  font-style: normal;
}

.modal__lead {
  max-width: 395px;
  margin: 22px 0 30px;
  color: #746b7b;
  font-size: 14px;
  line-height: 1.5;
}

.project-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.project-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #746b7b;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.project-form label:nth-of-type(4) {
  grid-column: 1/-1;
}

.project-form input, .project-form textarea {
  width: 100%;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.project-form textarea {
  resize: vertical;
}

.project-form input:focus, .project-form textarea:focus {
  border-color: #a15c73;
}

.project-form input::placeholder, .project-form textarea::placeholder {
  color: #a7a0aa;
}

.button--form {
  grid-column: 1/-1;
  justify-content: space-between;
  margin-top: 8px;
  border: 0;
  background: #221b35;
  color: #fff;
}

.button--form:hover {
  background: #6a456d;
}

.project-form__hint {
  grid-column: 1/-1;
  margin: 0;
  color: #817789;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

@media (max-width: 700px) {
  .modal {
    padding: 12px;
  }
  .modal__content {
    max-height: calc(100vh - 24px);
    padding: 46px 25px 30px;
  }
  .project-form {
    grid-template-columns: 1fr;
  }
  .project-form label:nth-of-type(4) {
    grid-column: auto;
  }
}
/* FAQ and language navigation */
.nav__language {
  display: grid !important;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-size: 10px !important;
  letter-spacing: 0.04em;
}

.faq {
  background: #eee4dc;
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
  cursor: pointer;
  list-style: none;
  font: 600 clamp(18px, 2vw, 25px)/1.1 var(--display);
  letter-spacing: -0.045em;
}

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

.faq__item summary span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font: 400 22px/1 var(--body);
  transition: transform 0.2s;
}

.faq__item[open] summary span {
  transform: rotate(45deg);
  background: #ff775c;
  border-color: #ff775c;
}

.faq__item p {
  max-width: 570px;
  margin: 0 50px 25px 0;
  color: #746b7b;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

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

.footer a:hover {
  color: #ff775c;
}

@media (max-width: 700px) {
  .nav__language {
    border-color: var(--line);
  }
  .faq__item summary {
    gap: 20px;
  }
  .faq__item p {
    margin-right: 0;
  }
}
/* Privacy policy */
.legal-page {
  background: #fcf8f1;
}

.legal {
  min-height: 100vh;
  padding: 42px 0 100px;
}

.legal__logo {
  display: inline-flex;
  margin-bottom: 105px;
  color: var(--ink);
}

.legal h1 {
  margin: 25px 0 0;
  font: 700 clamp(48px, 7vw, 90px)/0.92 var(--display);
  letter-spacing: -0.075em;
}

.legal h1 em {
  color: #a15c73;
  font-style: normal;
}

.legal__updated {
  margin: 26px 0 64px;
  color: #817789;
  font-size: 12px;
}

.legal__content {
  max-width: 700px;
}

.legal__content p {
  margin: 0 0 25px;
  color: #574e5e;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.02em;
}

.legal__content h2 {
  margin: 45px 0 13px;
  font: 600 25px/1 var(--display);
  letter-spacing: -0.05em;
}

.legal__content a {
  color: #a15c73;
}

.button--legal {
  margin-top: 38px;
  background: #221b35;
  color: #fff;
}

.button--legal:hover {
  background: #6a456d;
}

@media (max-width: 700px) {
  .legal {
    padding-top: 25px;
    padding-bottom: 65px;
  }
  .legal__logo {
    margin-bottom: 70px;
  }
  .legal__updated {
    margin-bottom: 45px;
  }
  .legal__content p {
    font-size: 15px;
  }
}
/* Fixes: footer social icons had no explicit size (broken on every viewport), footer links ran together with no gap, contact heading's tight line-height clipped diacritics like "її" */
.footer__socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__socials a {
  display: inline-flex;
  opacity: 0.72;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer__socials a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer__socials img {
  display: block;
  width: 16px;
  height: 16px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}

.contact h2 {
  line-height: 1.1;
}

/* Sticky, scroll-aware header so navigation stays reachable past the hero */
.header {
  position: fixed;
  top: 0;
  left: 0;
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.header--scrolled {
  background: rgba(15, 11, 26, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
}

.header--scrolled .header__inner {
  border-bottom-color: transparent;
}

/* Ambient grain on the colored sections for a less flat, more tactile surface */
.hero, .statement, .contact {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* Eyebrow "live studio" pulse */
.eyebrow span {
  position: relative;
}

.eyebrow span::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.55;
  animation: eyebrow-pulse 2.2s ease-out infinite;
}

@keyframes eyebrow-pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.5;
  }
  75% {
    transform: scale(2.3);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
/* Scroll-reveal, applied via JS to avoid a flash of hidden content before it runs */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 0.8, 0.24, 1), transform 0.7s cubic-bezier(0.16, 0.8, 0.24, 1);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.service-list .reveal:nth-child(2) {
  transition-delay: 0.06s;
}

.service-list .reveal:nth-child(3) {
  transition-delay: 0.12s;
}

.service-list .reveal:nth-child(4) {
  transition-delay: 0.18s;
}

.project-grid .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.project-grid .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.steps .reveal:nth-child(2) {
  transition-delay: 0.06s;
}

.steps .reveal:nth-child(3) {
  transition-delay: 0.12s;
}

.steps .reveal:nth-child(4) {
  transition-delay: 0.18s;
}

.faq__list .reveal:nth-child(2) {
  transition-delay: 0.06s;
}

.faq__list .reveal:nth-child(3) {
  transition-delay: 0.12s;
}

.faq__list .reveal:nth-child(4) {
  transition-delay: 0.18s;
}

/* Interaction polish: hover lift/rotate/arrow-nudge details, smooth FAQ expand */
.hero__orb {
  transition: transform 0.2s ease-out;
}

.service-card__arrow {
  transition: transform 0.3s ease, border-color 0.2s ease;
}

.service-card:hover .service-card__arrow {
  transform: rotate(45deg);
}

.project-card {
  transition: transform 0.45s cubic-bezier(0.16, 0.8, 0.24, 1), box-shadow 0.45s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.3);
}

.button {
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.button:active {
  transform: translateY(0);
  box-shadow: none;
}

.button span, .contact__email span {
  display: inline-block;
  transition: transform 0.25s ease;
}

.button:hover span, .contact__email:hover span {
  transform: translate(3px, -3px);
}

.nav a {
  position: relative;
}

.nav a:not(.nav__language):not(.nav__contact)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 1px;
  background: var(--lime);
  transition: right 0.25s ease;
}

.nav a:not(.nav__language):not(.nav__contact):hover::after {
  right: 0;
}

.faq__item p {
  overflow: hidden;
  transition: height 0.32s ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .eyebrow span::after {
    animation: none;
    display: none;
  }
  .hero__orb {
    transition: none;
  }
  .project-card, .button {
    transition: none;
  }
}
