/*
Theme Name: Double
Theme URI: https://double-i.group/
Author: Kilo
Description: Premium WordPress theme for Double I Group Architecture & Design Studio.
Version: 1.0.0
Text Domain: double
*/

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

html {
  -webkit-text-size-adjust: 100%
}

body {
  margin: 0;
  font-family: "Onest", sans-serif;
  background: #1d1d1b;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0
}

:where(p, span, li, h1, h2, h3, h4, h5, h6, a, button) {
  overflow-wrap: anywhere;
  word-break: break-word
}

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

:root {
  --bg: #1d1d1b;
  --bg-light: #fafafa;
  --gray: #6f6f6f;
  --white: #fff;
  --page-max: 100%;
  --container-padding: 48px;
  --grid-gap: 12px;
  --grid-columns: 12;
  --gutter: var(--container-padding);
  --header-h: 100px;
  --wp-admin-bar-h: 0px;
}

body.admin-bar {
  --wp-admin-bar-h: 46px;
}

@media screen and (min-width: 783px) {
  body.admin-bar {
    --wp-admin-bar-h: 32px;
  }
}

.site-container {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--container-padding)
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--grid-gap)
}

.site-col-span-1 { grid-column: span 1 }
.site-col-span-2 { grid-column: span 2 }
.site-col-span-3 { grid-column: span 3 }
.site-col-span-4 { grid-column: span 4 }
.site-col-span-5 { grid-column: span 5 }
.site-col-span-6 { grid-column: span 6 }
.site-col-span-7 { grid-column: span 7 }
.site-col-span-8 { grid-column: span 8 }
.site-col-span-9 { grid-column: span 9 }
.site-col-span-10 { grid-column: span 10 }
.site-col-span-11 { grid-column: span 11 }
.site-col-span-12 { grid-column: span 12 }

@media (min-width: 1024px) {
  .site-col-span-lg-1 { grid-column: span 1 }
  .site-col-span-lg-2 { grid-column: span 2 }
  .site-col-span-lg-3 { grid-column: span 3 }
  .site-col-span-lg-4 { grid-column: span 4 }
  .site-col-span-lg-5 { grid-column: span 5 }
  .site-col-span-lg-6 { grid-column: span 6 }
  .site-col-span-lg-7 { grid-column: span 7 }
  .site-col-span-lg-8 { grid-column: span 8 }
  .site-col-span-lg-9 { grid-column: span 9 }
  .site-col-span-lg-10 { grid-column: span 10 }
  .site-col-span-lg-11 { grid-column: span 11 }
  .site-col-span-lg-12 { grid-column: span 12 }
}

.page {
  font-family: "Onest", sans-serif;
  background: var(--bg);
  color: var(--white);
  min-height: 100vh;
  width: 100%;
  max-width: none;
  margin: 0
}

/* ——— Header ——— */
.header {
  position: fixed;
  top: var(--wp-admin-bar-h);
  left: 0;
  right: 0;
  z-index: 50;
  height: 100px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%)
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%
}

@media (min-width: 1024px) {
  .header__nav--left {
    order: 1
  }

  .header__brand {
    order: 2
  }

  .header__nav--right {
    order: 3
  }

  .header__menu-btn,
  .header__contact-btn {
    display: none
  }
}

.header__nav--left {
  display: none;
  align-items: center;
  gap: 80px;
  flex: 1
}

@media (min-width: 1024px) {
  .header__nav--left {
    display: flex
  }
}

.header__brand {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  min-height: 56px;
}

.header__logo-link {
  display: block;
  line-height: 0;
}

@media (min-width: 1024px) {
  .header__brand {
    margin-left: auto;
    margin-right: auto;
    gap: 4px;
  }
}

.header__wordmark {
  display: block;
  width: 52px;
  height: auto;
}

@media (min-width: 1024px) {
  .header__wordmark {
    width: 56px;
  }
}

.header__logo-svg {
  width: 2.5rem;
  height: 2.5rem;
  display: block
}

@media (min-width: 1024px) {
  .header__logo-svg {
    width: 3.5rem;
    height: 3.5rem
  }
}

.header__nav--right {
  display: none;
  align-items: center;
  gap: 80px;
  flex: 1;
  justify-content: flex-end
}

@media (min-width: 1024px) {
  .header__nav--right {
    display: flex
  }
}

.header__link {
  position: relative;
  display: inline-block;
  color: var(--white);
  font-size: 16px;
  line-height: 19px;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 8px
}

.header__link::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 4px;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1)
}

.header__link:hover::after,
.header__link:focus-visible::after,
.header__link[aria-current="page"]::after {
  transform: scaleX(1)
}

.header__lang {
  display: flex;
  align-items: center;
  gap: 0
}

a.header__lang-btn {
  text-decoration: none
}

.header__lang-btn {
  position: relative;
  display: inline-block;
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0.5rem;
  transition: opacity 0.2s
}

.header__lang-btn::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 2px;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1)
}

.header__lang-btn--active {
  font-weight: 400
}

.header__lang-btn--active::after {
  transform: scaleX(1)
}

.header__lang-btn:not(.header__lang-btn--active) {
  font-weight: 200;
  opacity: 0.6
}

.header__lang-btn:not(.header__lang-btn--active):hover {
  opacity: 1
}

/* Pill buttons: hover fill left → right (ghost on dark surfaces) */
.header__cta,
.header__mobile-cta,
.hero__btn,
.about__btn,
.service-row__btn,
.contacts-lead__form--modal .contacts-lead__submit {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  transition: color 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.btn-pill__label {
  position: relative;
  z-index: 1;
}

.header__cta::after,
.header__mobile-cta::after,
.hero__btn::after,
.about__btn::after,
.service-row__btn::after,
.contacts-lead__form--modal .contacts-lead__submit::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.header__cta:hover::after,
.header__mobile-cta:hover::after,
.hero__btn:hover::after,
.about__btn:hover::after,
.service-row__btn:hover::after,
.contacts-lead__form--modal .contacts-lead__submit:hover:not(:disabled)::after,
.contacts-lead__form--modal .contacts-lead__submit:focus-visible:not(:disabled)::after {
  transform: scaleX(1);
}

.header__cta svg,
.header__mobile-cta svg,
.hero__btn svg,
.about__btn svg,
.service-row__btn svg,
.contacts-lead__form--modal .contacts-lead__submit svg {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.header__cta svg path,
.header__mobile-cta svg path,
.hero__btn svg path,
.about__btn svg path,
.service-row__btn svg path {
  stroke: currentColor;
  transition: stroke 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 159px;
  height: 36px;
  border: 1px solid var(--white);
  border-radius: 32px;
  padding: 10px 24px;
  color: var(--white);
  font-size: 16px;
  line-height: 16px;
  font-weight: 400;
  font-family: inherit;
  text-transform: none;
  background: rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.header__cta:hover,
.header__mobile-cta:hover,
.hero__btn:hover,
.about__btn:hover,
.contacts-lead__form--modal .contacts-lead__submit:hover:not(:disabled),
.contacts-lead__form--modal .contacts-lead__submit:focus-visible:not(:disabled) {
  color: #1d1d1b;
}

.service-row__btn:hover {
  color: var(--bg);
}

.header__gradient {
  display: none
}

.header__icon-btn {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 32px;
  color: #fff;
  background: rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  box-shadow: none
}

.header__icon-btn::before,
.hero__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.06) 35%,
    rgba(255, 255, 255, 0.06) 65%,
    rgba(255, 255, 255, 0.45) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none
}

.header__menu-btn svg,
.header__contact-btn img {
  display: block
}

.header__mobile {
  position: fixed;
  top: var(--wp-admin-bar-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  background: #1d1d1b;
  display: none;
  flex-direction: column
}

@media (min-width: 1024px) {
  .header__mobile {
    display: none !important
  }
}

.header__mobile[hidden] {
  display: none !important
}

.header__mobile:not([hidden]) {
  display: flex
}

.header__mobile-close {
  position: absolute;
  top: 31px;
  right: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  color: #6f6f6f
}

.header__mobile-close:hover {
  color: #fff
}

.header__mobile-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  width: 100%;
  max-width: 343px;
  margin: 0 auto;
  padding: 119px 16px 48px;
  min-height: 100%
}

.header__mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px
}

.header__mobile-link {
  display: inline-block;
  color: #fff;
  font-size: 16px;
  line-height: 17px;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 8px
}

.header__mobile-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%
}

.header__mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 36px;
  border: 1px solid #fff;
  border-radius: 32px;
  padding: 10px 24px;
  color: #fff;
  font-size: 16px;
  line-height: 16px;
  font-weight: 400;
  font-family: inherit;
  background: rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.header__mobile-lang {
  display: flex;
  align-items: flex-start;
  justify-content: center
}

a.header__mobile-lang-btn {
  text-decoration: none
}

.header__mobile-lang-btn {
  position: relative;
  color: #fff;
  font-size: 16px;
  line-height: 17px;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 8px
}

.header__mobile-lang-btn::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 2px;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1)
}

.header__mobile-lang-btn--active {
  font-weight: 400
}

.header__mobile-lang-btn--active::after {
  transform: scaleX(1)
}

.header__mobile-lang-btn:not(.header__mobile-lang-btn--active) {
  font-weight: 200;
  opacity: 0.6
}

body.menu-open {
  overflow: hidden
}

/* ——— Hero ——— */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden
}

.hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden
}

.hero__slide,
.hero__img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  min-height: 0;
  z-index: 0;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: center
}

.hero__slideshow--multiple {
  --hero-transition: 1.2s;
  --hero-slide-x: -50%;
  --hero-leave-y: -6vh;
  --hero-leave-scale: 0.92;
}

.hero__slideshow--multiple .hero__slide {
  opacity: 0;
  z-index: 0;
  transform: translateX(var(--hero-slide-x)) translateY(0) scale(1);
  transition:
    opacity var(--hero-transition) cubic-bezier(0.25, 0.1, 0.25, 1),
    transform var(--hero-transition) cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform
}

.hero__slideshow--multiple .hero__slide.is-active {
  opacity: 1;
  z-index: 1;
  transform: translateX(var(--hero-slide-x)) translateY(0) scale(1)
}

.hero__slideshow--multiple .hero__slide.is-entering {
  opacity: 0;
  z-index: 0;
  transform: translateX(var(--hero-slide-x)) translateY(0) scale(1)
}

.hero__slideshow--multiple .hero__slide.is-leaving {
  opacity: 0;
  z-index: 2;
  transform: translateX(var(--hero-slide-x)) translateY(var(--hero-leave-y)) scale(var(--hero-leave-scale));
  transition:
    opacity var(--hero-transition) cubic-bezier(0.4, 0, 0.2, 1),
    transform var(--hero-transition) cubic-bezier(0.4, 0, 0.2, 1)
}

.hero__gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 308px;
  z-index: 2;
  background: linear-gradient(180deg, rgba(29, 29, 27, 0) 0%, rgba(29, 29, 27, 0.8) 100%);
  pointer-events: none
}

.hero__bottom {
  display: contents
}

.hero__content-left {
  position: absolute;
  bottom: 80px;
  left: var(--container-padding);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 424px;
  max-width: calc(100% - var(--container-padding) * 2)
}

.hero__lead {
  margin: 0;
  color: #fff;
  font-size: 1.125rem;
  line-height: 100%;
  letter-spacing: -0.02em;
  text-transform: uppercase
}

@media (min-width: 768px) {
  .hero__lead {
    font-size: 1.5rem
  }
}

.hero__lead-line {
  display: block
}

.hero__lead-line--light {
  font-weight: 300
}

.hero__lead-line--medium {
  font-weight: 500
}

.hero__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 424px;
  height: 50px;
  border: none;
  border-radius: 32px;
  padding: 12px 32px;
  color: var(--white);
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: none;
}

.hero__btn::before {
  z-index: 1;
  transition: opacity 0.25s ease;
}

.hero__btn:hover::before {
  opacity: 0;
}

.hero__stat {
  display: none;
  position: absolute;
  bottom: 80px;
  right: var(--container-padding);
  z-index: 3;
  width: 327px;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px
}

@media (min-width: 1024px) {
  .hero__stat {
    display: flex
  }
}

.hero__stat-row {
  display: flex;
  align-items: baseline;
  gap: 0.25rem
}

.hero__stat-value {
  font-family: "Inter", sans-serif;
  font-size: 2.25rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff
}

@media (min-width: 768px) {
  .hero__stat-value {
    font-size: 56px
  }
}

.hero__stat-unit {
  font-family: "Onest", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  color: #fff
}

@media (min-width: 768px) {
  .hero__stat-unit {
    font-size: 32px
  }
}

.hero__stat-caption {
  margin: 0;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 110%;
  text-align: right;
  max-width: 226px
}

@media (min-width: 768px) {
  .hero__stat-caption {
    font-size: 1rem
  }
}

/* ——— Inspiration ——— */
.inspiration {
  background: var(--bg);
  height: 110vh;
  height: 110dvh;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 80px;
  box-sizing: border-box
}

.inspiration__line {
  display: block;
}

.inspiration__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  width: 666px;
  max-width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.3s;
}

.inspiration--animate .inspiration__inner {
  opacity: 1;
  transform: translateY(0);
}

.inspiration__title {
  margin: 0;
  color: #fff;
  font-size: 1.875rem;
  line-height: 100%;
  letter-spacing: 0.08em;
  text-align: center;
  font-weight: 300
}

@media (min-width: 640px) {
  .inspiration__title {
    font-size: 2.25rem
  }
}

@media (min-width: 768px) {
  .inspiration__title {
    font-size: 56px
    letter-spacing: -2%;
  }
}

.inspiration__w-light {
  font-weight: 300
}

.inspiration__w-normal {
  font-weight: 400
}

.inspiration__w-semibold {
  font-weight: 600
}

.inspiration__w-medium {
  font-weight: 500
}

.inspiration__w-muted {
  color: #6f6f6f
}

.inspiration__subtitle {
  margin: 0.25rem 0 0;
  color: #6f6f6f;
  font-size: 1rem;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0.4em
}

@media (min-width: 768px) {
  .inspiration__subtitle {
    font-size: 1.5rem
  }
}

/* ——— About ——— */
.about {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
}

.about__bg {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  min-width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center
}

.about__gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 682px;
  background: linear-gradient(180deg, rgba(29, 29, 27, 0) 0%, rgba(29, 29, 27, 0.9) 100%);
  pointer-events: none;
  z-index: 1
}

.about__card-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding-bottom: 0;
  z-index: 1
}

.about__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 48px;
  max-width: 666px;
  width: 100%;
  margin-left: 1rem;
  margin-right: 1rem;
  transform: translateY(20px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.3s;
}

.about--animate .about__card {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .about__card {
    padding: 3rem 3rem 6rem;
    margin-left: 0;
    margin-right: 0
  }
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center
}

.about__p {
  margin: 0;
  color: #fff
}

.about__p--lead {
  font-size: 1.125rem;
  font-weight: 200;
  line-height: 100%;
  letter-spacing: -0.02em
}

@media (min-width: 768px) {
  .about__p--lead {
    font-size: 1.5rem
  }
}

.about__p--secondary {
  font-size: 0.875rem;
  line-height: 100%
}

@media (min-width: 768px) {
  .about__p--secondary {
    font-size: 1rem
  }
}

.about__light {
  font-weight: 300
}

.about__semibold {
  font-weight: 600
}

.about__bold {
  font-weight: 700
}

.about__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 208px;
  height: 36px;
  border: 1px solid var(--white);
  border-radius: 32px;
  padding: 10px 24px;
  color: var(--white);
  font-size: 16px;
  line-height: 16px;
  font-weight: 400;
}

/* ——— Stats ——— */
.stats {
  background: var(--bg);
  padding-block: 60px 50px
}

.stats__inner {
  display: flex;
  flex-direction: column;
  gap: 20px
}

.stats__title {
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: -0.02em;
  text-transform: uppercase
}

@media (min-width: 768px) {
  .stats__title {
    font-size: 1.5rem
  }
}

.stats__title-medium {
  font-weight: 500
}

.stats__title-light {
  font-weight: 300
}

.stats__bottom-divider {
  width: 100%;
  height: 1px;
  background: var(--gray);
  flex-shrink: 0;
  margin-top: 8px
}

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

@media (min-width: 1024px) {
  .stats__grid {
    grid-template-columns: repeat(4, minmax(0, 327px));
    justify-content: space-between
  }
}

.stats__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--gray);
  min-height: 152px;
  padding: 24px
}

.stats__nums {
  display: flex;
  align-items: center;
  gap: 0
}

.stats__value {
  font-family: "Inter", sans-serif;
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff
}

@media (min-width: 768px) {
  .stats__value {
    font-size: 56px
  }
}

.stats__suffix {
  font-family: "Onest", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  color: #fff
}

.stats__suffix--unit {
  margin-left: 4px;
  align-self: flex-end;
  padding-bottom: 9px
}

@media (min-width: 768px) {
  .stats__suffix {
    font-size: 32px
  }

  .stats__suffix--unit {
    padding-bottom: 12px
  }
}

.stats__label {
  margin: 0;
  color: #6f6f6f;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 110%
}

@media (min-width: 768px) {
  .stats__label {
    font-size: 1rem
  }
}

/* ——— Clients ——— */
.clients {
  background: var(--bg-light)
}

.clients__header {
  position: relative;
  background: var(--bg);
  border-top: 1px solid var(--gray);
  min-height: 70px
}

.clients__header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 157px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 47.5%, rgba(29, 29, 27, 0) 100%);
  pointer-events: none;
  z-index: 0
}

.clients__header-inner {
  position: relative;
  z-index: 1;
  padding-block: 40px 8px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 70px
}

.clients__title {
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: 1.25rem;
  line-height: 90%;
  letter-spacing: -0.02em;
  text-transform: uppercase
}

@media (min-width: 768px) {
  .clients__title {
    font-size: 1.5rem
  }
}

.clients__title-light {
  font-weight: 300
}

.clients__title-semibold {
  font-weight: 600
}

.clients__logos {
  padding-block: 40px 48px
}

.clients__carousel {
  width: 100%
}

.clients__viewport {
  overflow: hidden;
  width: 100%
}

.clients__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform
}

.clients__slide {
  flex: 0 0 100%;
  min-width: 0
}

.clients__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 24px;
  padding-left: 80px;
  padding-right: 80px
}

@media (min-width: 1024px) {
  .clients__row {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 60px
  }
}

.clients__row:last-of-type {
  margin-bottom: 0
}

@media (min-width: 640px) {
  .clients__row {
    grid-template-columns: repeat(4, 1fr)
  }
}

.clients__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px
}

.clients__cell img {
  max-height: 4rem;
  max-width: 100%;
  width: auto;
  object-fit: contain
}

.clients__dots {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 0.5rem
}

.clients__dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  border: 1px solid #1d1d1b;
  background: transparent;
  padding: 0;
  cursor: pointer
}

.clients__dot--active {
  background: #1d1d1b;
  border-color: #1d1d1b
}

/* ——— Footer ——— */
.footer {
  background: #1d1d1b;
  border-top: 1px solid #6f6f6f
}

.footer {
  min-height: 196px
}

.inspiration > .site-container {
  display: flex;
  justify-content: center
}

.footer__row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem
}

@media (min-width: 768px) {
  .footer__row {
    flex-direction: row;
    align-items: center
  }
}

.footer__brand {
  flex-shrink: 0
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 120px;
  row-gap: 1rem
}

.footer__nav-col {
  display: contents
}

@media (min-width: 1024px) {
  .footer__nav-col {
    display: contents
  }
}

.footer__link {
  position: relative;
  display: inline-block;
  color: var(--white);
  font-size: 1rem;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 8px
}

.footer__link::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 4px;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1)
}

.footer__link:hover::after,
.footer__link:focus-visible::after,
.footer__link[aria-current="page"]::after {
  transform: scaleX(1)
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 40px
}

.footer__social-link {
  display: flex;
  transition: opacity 0.2s
}

.footer__social-link:hover {
  opacity: 0.7
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid rgba(111, 111, 111, 0.4)
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    align-items: center
  }
}

.footer__copy {
  margin: 0;
  color: #6f6f6f;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 400
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 40px
}

.footer__legal-link {
  color: #6f6f6f;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  transition: color 0.2s
}

.footer__legal-link:hover {
  color: #fff
}

/* ——— Remaining Container ——— */
.remaining-container {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.remaining-container .stats {
  padding-top: 40px;
  padding-bottom: 20px;
  background: transparent;
}

@media (min-width: 1024px) {
  .remaining-container .stats {
    padding-top: 60px;
    padding-bottom: 30px;
  }
}

.remaining-container .stats__inner {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.3s;
}

.remaining-container .clients {
  flex-grow: 1;
  background: var(--bg-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.remaining-container .clients__header {
  background: var(--bg);
  border-top: none;
  min-height: 0;
}

.remaining-container .clients__header-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}

.remaining-container .clients__title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.7s;
}

.remaining-container .clients__logos {
  padding-block: 20px;
}

@media (min-width: 1024px) {
  .remaining-container .clients__logos {
    padding-block: 40px 60px;
    padding-top: 100px;
  }
}

.remaining-container .footer {
  padding-top: 0;
  border-top: 1px solid var(--gray);
  background: #1d1d1b;
}

.remaining-container .footer__row {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

@media (min-width: 1024px) {
  .remaining-container .footer__row {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

/* Animations for remaining container elements when in view */
.remaining-container.remaining--animate .stats__inner,
.remaining-container.remaining--animate .clients__title {
  opacity: 1;
  transform: translateY(0);
}

/* Figma mobile — Frame 267 / iPhone 16 (375×3380) */
@media (max-width: 1023px) {
  html.page--home {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }

  :root {
    --container-padding: 16px;
    --header-h: 76px
  }

  .header {
    height: var(--header-h);
    background: none
  }

  .header__gradient {
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none
  }

  .header__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    padding-top: 20px;
    height: 100%
  }

  .header__icon-btn {
    display: flex
  }

  .header__menu-btn {
    grid-column: 1
  }

  .header__brand {
    grid-column: 2;
    justify-self: center;
    margin: 0
  }

  .header__logo-svg {
    width: 48px;
    height: 48px
  }

  .header__contact-btn {
    grid-column: 3;
    justify-self: end
  }

  .header__nav--left,
  .header__nav--right {
    display: none
  }

  .header--open .header__menu-btn {
    visibility: hidden
  }

  .header__mobile-inner {
    padding-bottom: max(48px, env(safe-area-inset-bottom))
  }

  .hero__slideshow--multiple {
    --hero-slide-x: -42%
  }

  .hero__slide,
  .hero__img {
    height: 100%;
    width: 120%;
    max-width: none;
    left: 50%;
    transform: translateX(-42%)
  }

  .hero__slideshow--multiple .hero__slide.is-active,
  .hero__slideshow--multiple .hero__slide.is-entering,
  .hero__slideshow--multiple .hero__slide.is-leaving {
    transform: translateX(-42%) translateY(0) scale(1)
  }

  .hero__slideshow--multiple .hero__slide.is-leaving {
    transform: translateX(-42%) translateY(var(--hero-leave-y)) scale(var(--hero-leave-scale))
  }

  .hero__gradient-bottom {
    height: 472px;
    background: linear-gradient(180deg, rgba(29, 29, 27, 0) 0%, rgba(29, 29, 27, 0.8) 100%)
  }

  .hero__bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: absolute;
    left: var(--container-padding);
    right: var(--container-padding);
    bottom: 80px;
    z-index: 3;
    pointer-events: none
  }

  .hero__bottom > * {
    pointer-events: auto
  }

  .hero__stat {
    display: flex;
    position: static;
    align-self: flex-end;
    width: 100%;
    max-width: 335px;
    margin-left: auto;
    margin-right: 0
  }

  .hero__stat-value {
    font-size: 40px
  }

  .hero__stat-unit {
    font-size: 28px
  }

  .hero__stat-caption {
    font-size: 14px;
    max-width: 167px
  }

  .hero__content-left {
    position: static;
    width: 100%;
    max-width: 343px;
    margin: 0;
    gap: 12px
  }

  .hero__lead {
    font-size: 20px;
    line-height: 100%
  }

  .hero__btn {
    max-width: none;
    height: 48px;
    font-size: 18px;
    line-height: 23px;
    padding: 12px 32px
  }

  .inspiration {
    min-height: 0;
    padding-block: var(--container-padding)
  }

  .inspiration__inner {
    width: 100%;
    max-width: 360px;
    align-items: center;
    text-align: center
  }

  .inspiration__title {
    font-size: 32px;
    line-height: 100%;
    letter-spacing: -3%;
    text-align: center
  }

  .inspiration__subtitle {
    font-size: 14px;
    letter-spacing: 0.4em;
    margin-top: 4px
  }

  .about__gradient {
    height: 662px
  }

  .inspiration > .site-container {
    justify-content: center
  }

  .about__card {
    max-width: 343px;
    min-height: 344px;
    margin: 0;
    padding: 48px;
    gap: 24px
  }

  .about__text {
    max-width: 287px;
    margin-left: auto;
    margin-right: auto
  }

  .about__p--lead {
    font-size: 16px;
    line-height: 120%
  }

  .about__p--secondary {
    font-size: 14px;
    line-height: 120%
  }

  .about__btn {
    min-width: 184px
  }

  .stats {
    padding-block: 80px 96px
  }

  .stats__inner {
    max-width: 343px
  }

  .stats__title {
    font-size: 20px
  }

  .stats__grid {
    gap: 8px
  }

  .stats__item {
    min-height: 117px;
    padding: 12px;
    gap: 8px
  }

  .stats__value {
    font-size: 40px
  }

  .stats__suffix {
    font-size: 28px
  }

  .stats__suffix--unit {
    padding-bottom: 6px
  }

  .stats__label {
    font-size: 14px
  }

  .clients__header {
    min-height: 58px
  }

  .clients__header::before {
    height: 138px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 47.5%, rgba(29, 29, 27, 0) 100%)
  }

  .clients__header-inner {
    min-height: 58px;
    padding-block: 32px 8px;
    align-items: center
  }

  .clients__title {
    font-size: 18px
  }

  .clients__logos {
    padding-block: 16px 48px;
    padding-top: 60px !important;
  }

  .clients__row {
    grid-template-columns: repeat(3, 1fr);
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 16px;
    gap: 8px
  }

  .clients__cell {
    height: 56px
  }

  .clients__cell img {
    max-height: 48px
  }

  .clients__cell--desktop-only {
    display: none
  }

  .clients__dots {
    margin-top: 16px;
    gap: 8px
  }

  .clients__dot {
    width: 8px;
    height: 8px
  }

  .footer {
    min-height: 204px
  }

  .footer__row {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    column-gap: 32px;
    row-gap: 29px;
    padding-top: 16px;
    padding-bottom: 16px
  }

  .footer__brand svg {
    width: 56px;
    height: 63px
  }

  .footer__nav {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    row-gap: 12px;
    align-items: start;
    align-content: start
  }

  .footer__nav-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center
  }

  .footer__link {
    font-size: 16px;
    line-height: 17px;
    padding: 8px
  }

  .footer__link::after {
    left: 8px;
    right: 8px;
    bottom: 4px
  }

  .footer__social {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: space-between;
    gap: 0
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 16px
  }

  .footer__legal {
    width: 100%;
    justify-content: space-between;
    gap: 0
  }
}

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

/* Section-by-section snap scroll (Desktop) */
@media (min-width: 1024px) {
  html {
    scroll-behavior: smooth;
  }
}

/* ——— Contacts Page ——— */
.contacts-page {
  padding-top: var(--header-h);
  background-color: var(--bg);
  min-height: 100vh;
}

.contacts-info {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg);
  min-height: calc(100vh - var(--header-h));
  padding: 48px 0 64px;
}

@media (min-width: 768px) {
  .contacts-info {
    padding: 64px 0 80px;
  }
}

.contacts-info__inner {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center
}

.contacts-info__heading {
  font-family: "Onest", sans-serif;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: -2%;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  margin: 0 0 20px;
}

@media (min-width: 768px) {
  .contacts-info__heading {
    font-size: 32px;
    letter-spacing: -2%;
    margin-bottom: 14px;
  }
}

.contacts-info__divider {
  width: min(438px, 100%);
  height: 1px;
  background-color: #6F6F6F;
  margin: 0 auto 48px;
  opacity: 1;
}

@media (min-width: 768px) {
  .contacts-info__divider {
    margin-bottom: 56px;
  }
}

.contacts-info__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}

@media (min-width: 768px) {
  .contacts-info__grid {
    gap: 40px;
  }
}

.contacts-info__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.contacts-info__label {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .contacts-info__label {
    font-size: 14px;
  }
}

.contacts-info__value {
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.35;
  display: inline-block;
  transition: opacity 0.2s;
  word-break: normal;
  overflow-wrap: normal;
}

@media (min-width: 768px) {
  .contacts-info__value {
    font-size: 20px;
    letter-spacing: 0.04em;
  }
}

.contacts-info__value--email {
  white-space: nowrap;
  font-size: clamp(11px, 2.8vw, 20px);
  letter-spacing: 0.06em;
}

@media (min-width: 768px) {
  .contacts-info__value--email {
    font-size: 20px;
    letter-spacing: 0.08em;
  }
}

.contacts-info__value:hover {
  opacity: 0.8;
}

.contacts-info__social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .contacts-info__social {
    gap: 32px;
    margin-top: 48px;
  }
}

.contacts-info__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gray);
  border-radius: 50%;
  color: var(--white);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.contacts-info__social-btn:hover {
  border-color: var(--white);
  background-color: var(--white);
  color: var(--bg);
}

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

/* ——— Map Section ——— */
.contacts-map {
  width: 100%;
}

.contacts-map__container {
  width: 100%;
  height: 350px;
  background-color: #151515;
}

@media (min-width: 768px) {
  .contacts-map__container {
    height: 666px;
  }
}

.leaflet-div-icon.contacts-map__custom-pin {
  background: transparent !important;
  border: none !important;
}

.contacts-map__custom-pin svg {
  display: block;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.4));
}

.contacts-map__popup {
  font-family: "Onest", sans-serif;
  color: #1d1d1b;
  font-size: 13px;
  line-height: 1.4;
}

/* ——— Lead Form Section ——— */
.contacts-lead {
  width: 100%;
  background-color: var(--bg);
  position: relative;
}

.contacts-lead__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (min-width: 1024px) {
  .contacts-lead__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 720px;
    position: relative;
  }
}

.contacts-lead__image-col {
  width: 100%;
  height: 300px;
  order: 2;
}

@media (min-width: 1024px) {
  .contacts-lead__image-col {
    grid-column: 1 / -1;
    grid-row: 1;
    height: 100%;
    order: unset;
  }
}

.contacts-lead__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contacts-lead__form-col {
  width: 100%;
  order: 1;
  background-color: var(--bg-light);
}

@media (min-width: 1024px) {
  .contacts-lead__form-col {
    grid-column: 1;
    grid-row: 1;
    z-index: 5;
    background: transparent;
    order: unset;
    display: flex;
    align-items: stretch;
  }
}

.contacts-lead__form-card {
  width: 100%;
  background-color: var(--bg-light);
  padding: 48px 20px;
  color: var(--bg);
}

@media (min-width: 1024px) {
  .contacts-lead__form-card {
    background-color: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 80px var(--container-padding);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
  }
}

.contacts-lead__form-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contacts-lead__title {
  font-family: "Onest", sans-serif;
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bg);
  margin: 0;
  letter-spacing: 0.02em;
}

.contacts-lead__description {
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray);
  margin: 0;
}

.contacts-lead__form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contacts-lead__inputs {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contacts-lead__field {
  position: relative;
  width: 100%;
}

.contacts-lead__input,
.contacts-lead__textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(111, 111, 111, 0.5);
  background: transparent;
  color: var(--bg);
  font-size: 16px;
  font-family: "Onest", sans-serif;
  padding: 14px 4px;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s;
  border-radius: 0;
}

.contacts-lead__input:focus,
.contacts-lead__textarea:focus {
  border-bottom-color: var(--bg);
}

.contacts-lead__textarea {
  min-height: 86px;
  resize: none;
}

/* Phone Field UI */
.contacts-lead__field--phone {
  display: flex;
  flex-direction: column;
}

.contacts-lead__phone-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid rgba(111, 111, 111, 0.5);
  transition: border-color 0.2s;
}

.contacts-lead__phone-wrapper:focus-within {
  border-bottom-color: var(--bg);
}

.contacts-lead__country-select {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.contacts-lead__country-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 12px 14px 4px;
  border-right: 1px solid rgba(111, 111, 111, 0.25);
  user-select: none;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.contacts-lead__country-trigger:focus-visible {
  outline: 2px solid var(--bg);
  outline-offset: 2px;
}

.contacts-lead__country-select.is-open .contacts-lead__select-arrow {
  transform: rotate(180deg);
}

.contacts-lead__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 14px;
  font-size: 14px;
  line-height: 1;
}

.contacts-lead__select-arrow {
  display: block;
  opacity: 0.6;
  transition: transform 0.2s;
}

.contacts-lead__country-code {
  font-size: 16px;
  color: var(--bg);
  font-weight: 400;
  min-width: 3.25rem;
}

.contacts-lead__country-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 20;
  min-width: 240px;
  max-height: 240px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(111, 111, 111, 0.2);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(29, 29, 27, 0.12);
}

.contacts-lead__country-list[hidden] {
  display: none;
}

.contacts-lead__country-option {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.2;
  color: var(--bg);
  cursor: pointer;
  transition: background-color 0.15s;
}

.contacts-lead__country-option:hover,
.contacts-lead__country-option:focus {
  background: rgba(29, 29, 27, 0.05);
  outline: none;
}

.contacts-lead__country-option[aria-selected="true"] {
  background: rgba(29, 29, 27, 0.08);
  font-weight: 500;
}

.contacts-lead__country-option-flag {
  font-size: 16px;
  line-height: 1;
}

.contacts-lead__country-option-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contacts-lead__country-option-dial {
  color: rgba(29, 29, 27, 0.65);
  font-variant-numeric: tabular-nums;
}

.contacts-lead__input--tel {
  border-bottom: none !important;
  padding-left: 12px;
}

/* Checkbox Consent */
.contacts-lead__consent {
  margin-top: 8px;
}

.contacts-lead__checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

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

.contacts-lead__custom-checkbox {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--bg);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  background-color: transparent;
  color: var(--white);
  flex-shrink: 0;
}

.contacts-lead__custom-checkbox svg {
  opacity: 0;
  transition: opacity 0.15s;
  width: 10px;
  height: 8px;
}

.contacts-lead__checkbox:checked + .contacts-lead__custom-checkbox {
  background-color: var(--bg);
  border-color: var(--bg);
  color: var(--white);
}

.contacts-lead__checkbox:checked + .contacts-lead__custom-checkbox svg {
  opacity: 1;
  stroke: var(--white);
}

.contacts-lead__consent-text {
  font-size: 13px;
  line-height: 1.4;
  color: var(--gray);
  font-weight: 400;
}

/* Submit — white pill, black fill left → right on hover */
.contacts-lead__submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  border: 1.5px solid var(--bg);
  border-radius: 32px;
  color: var(--bg);
  background: var(--white);
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  margin-top: 12px;
  padding: 0 24px;
  transition: color 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.12s, opacity 0.2s;
}

.contacts-lead__submit::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: var(--bg);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.contacts-lead__submit:hover:not(:disabled),
.contacts-lead__submit:focus-visible:not(:disabled) {
  color: var(--white);
}

.contacts-lead__submit:hover:not(:disabled)::after,
.contacts-lead__submit:focus-visible:not(:disabled)::after {
  transform: scaleX(1);
}

.contacts-lead__submit-text,
.contacts-lead__submit .btn-pill__label,
.contacts-lead__submit svg {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.contacts-lead__submit svg path {
  stroke: currentColor;
  transition: stroke 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.contacts-lead__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contacts-lead__response {
  text-align: center;
  font-size: 14px;
}

.contacts-lead__success-msg {
  color: #2e7d32;
  font-weight: 500;
}

.contacts-lead__error-msg {
  color: #e57373;
  font-weight: 500;
}

/* ——— Contact Modal ——— */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.contact-modal.is-open {
  visibility: visible;
}

.contact-modal.is-visible {
  opacity: 1;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 779px;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 56px;
  background: #1d1d1b;
  color: var(--white);
  transform: scale(0.94) translateY(20px);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-modal.is-visible .contact-modal__dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.contact-modal__close {
  position: absolute;
  top: 32px;
  right: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  color: #6f6f6f;
  cursor: pointer;
  transition: color 0.2s;
}

.contact-modal__close:hover {
  color: var(--white);
}

.contact-modal__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  padding-right: 32px;
}

.contact-modal__title {
  margin: 0;
  font-family: "Onest", sans-serif;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.contact-modal__description {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 400;
  color: #fafafa;
}

.contacts-lead__form--modal {
  gap: 24px;
}

.contacts-lead__form--modal .contacts-lead__inputs {
  gap: 16px;
}

.contacts-lead__form--modal .contacts-lead__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contacts-lead__form--modal .contacts-lead__input,
.contacts-lead__form--modal .contacts-lead__textarea {
  color: var(--white);
  border-bottom-color: #6f6f6f;
}

.contacts-lead__form--modal .contacts-lead__input::placeholder,
.contacts-lead__form--modal .contacts-lead__textarea::placeholder {
  color: var(--white);
  opacity: 1;
}

.contacts-lead__form--modal .contacts-lead__input:focus,
.contacts-lead__form--modal .contacts-lead__textarea:focus,
.contacts-lead__form--modal .contacts-lead__phone-wrapper:focus-within {
  border-bottom-color: var(--white);
}

.contacts-lead__form--modal .contacts-lead__phone-wrapper {
  border-bottom-color: #6f6f6f;
}

.contacts-lead__form--modal .contacts-lead__country-trigger {
  color: var(--white);
  border-right-color: rgba(111, 111, 111, 0.5);
}

.contacts-lead__form--modal .contacts-lead__country-code {
  color: var(--white);
}

.contacts-lead__form--modal .contacts-lead__select-arrow path {
  stroke: var(--white);
}

.contacts-lead__form--modal .contacts-lead__custom-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border-color: var(--white);
}

.contacts-lead__form--modal .contacts-lead__checkbox:checked + .contacts-lead__custom-checkbox {
  background-color: var(--white);
  border-color: var(--white);
  color: #1d1d1b;
}

.contacts-lead__form--modal .contacts-lead__checkbox:checked + .contacts-lead__custom-checkbox svg {
  opacity: 1;
  stroke: #1d1d1b;
}

.contacts-lead__form--modal .contacts-lead__consent-text {
  color: #6f6f6f;
}

.contacts-lead__form--modal .contacts-lead__submit {
  margin-top: 0;
  color: var(--white);
  border-color: var(--white);
  background: rgba(0, 0, 0, 0.02);
}

.contacts-lead__form--modal .contacts-lead__submit::after {
  background: var(--white);
}

.contacts-lead__form--modal .contacts-lead__success-msg {
  color: #8fd19e;
}

.contacts-lead__form--modal .contacts-lead__error-msg {
  color: #f29a9a;
}

body.contact-modal-open,
body.lead-success-modal-open {
  overflow: hidden;
}

/* ——— Lead Success Modal ——— */
.lead-success-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.lead-success-modal.is-open {
  visibility: visible;
}

.lead-success-modal.is-visible {
  opacity: 1;
}

.lead-success-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lead-success-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 779px;
  min-height: 220px;
  padding: 56px;
  background: #1d1d1b;
  color: var(--white);
  transform: scale(0.94) translateY(20px);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.lead-success-modal.is-visible .lead-success-modal__dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.lead-success-modal__close {
  position: absolute;
  top: 32px;
  right: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  color: #6f6f6f;
  cursor: pointer;
  transition: color 0.2s;
}

.lead-success-modal__close:hover {
  color: var(--white);
}

.lead-success-modal__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
  padding-right: 32px;
}

.lead-success-modal__title {
  margin: 0;
  font-family: "Onest", sans-serif;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.lead-success-modal__subtitle {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 400;
  color: #fafafa;
}

@media (max-width: 767px) {
  .contact-modal__dialog {
    padding: 40px 24px 32px;
  }

  .contact-modal__close {
    top: 20px;
    right: 20px;
  }

  .contact-modal__header {
    padding-right: 24px;
    margin-bottom: 20px;
  }

  .contacts-lead__form--modal .contacts-lead__row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lead-success-modal__dialog {
    padding: 40px 24px 32px;
    min-height: 180px;
  }

  .lead-success-modal__close {
    top: 20px;
    right: 20px;
  }

  .lead-success-modal__content {
    padding-right: 24px;
  }
}

.double-theme-settings__general {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #dcdcde;
}

/* ——— Single Project ——— */
.project-single {
  background: var(--bg);
}

.project-hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 480px;
  margin-bottom: 60px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.project-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 28%),
    linear-gradient(180deg, rgba(29, 29, 27, 0) 45%, rgba(29, 29, 27, 0.82) 100%);
  pointer-events: none;
}

.project-content__inner .wp-block-paragraph{
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
  padding-top: 20px;
  padding-bottom: 30px;
}

.project-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 0 56px var(--container-padding);
}

.project-hero__title {
  margin: 0 0 20px;
  color: var(--white);
  font-family: "Onest", sans-serif;
  font-size: 32px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 18ch;
}

.project-hero__meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-hero__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
  margin: 0;
}

.project-hero__meta-label,
.project-hero__meta-value {
  margin: 0;
  color: var(--white);
  font-family: "Onest", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 300;
}

.project-hero__meta-label {
  font-weight: 400;
}

@media (min-width: 768px) {
  .project-hero__content {
    padding-bottom: 64px;
  }

  .project-hero__title {
    margin-bottom: 24px;
    font-size: 48px;
    max-width: 22ch;
  }

  .project-hero__meta {
    gap: 10px;
  }

  .project-hero__meta-label,
  .project-hero__meta-value {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .project-hero__title {
    font-size: 48px;
  }

  .project-hero__meta-label,
  .project-hero__meta-value {
    font-size: 18px;
  }
}

.project-content {
  background: var(--bg);
  color: var(--white);
}

.project-content__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.project-content__inner > * {
  margin-block: 0;
}

.project-content__inner > * + * {
  margin-top: var(--grid-gap);
}

.project-content__inner p,
.project-content__inner ul,
.project-content__inner ol {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
}

.project-content__inner h2,
.project-content__inner h3,
.project-content__inner h4 {
  font-family: "Onest", sans-serif;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.project-content__inner img {
  width: 100%;
  display: block;
}

.project-content__inner .wp-block-image {
  margin: 0;
  max-width: none;
}

.project-content__inner .wp-block-image img {
  width: 100%;
}

.project-content__inner .wp-block-image figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--gray);
}

.project-content__inner .wp-block-columns {
  gap: var(--grid-gap);
  margin: 0;
  max-width: none;
}

.project-content__inner .wp-block-column {
  padding: 0;
}

.project-content__inner .wp-block-gallery {
  --wp--style--gallery-gap-default: 10px;
  --gallery-block--gutter-size: 10px;
  gap: 10px;
  margin-bottom: 10px;
}

.project-content__inner .wp-block-gallery + * {
  margin-top: 0;
}

.project-content__inner .wp-block-gallery .wp-block-image {
  margin: 0;
}

.project-content__inner .alignwide,
.project-content__inner .alignfull {
  max-width: none;
  width: 100%;
}

/* ——— Single Post (Publication) ——— */
.post-single {
  background: var(--bg);
}

/* Static page: title only, no hero image */
.post-single--page .post-hero--page {
  display: block;
  height: auto;
  min-height: 0;
  overflow: visible;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 48px;
}

.post-single--page .post-hero--page .post-hero__content {
  padding-bottom: 0;
  text-align: center;
}

.post-single--page .post-hero--page .post-hero__title {
  margin-inline: auto;
  max-width: none;
}

.post-single--page .post-content {
  padding-top: 0;
}

.post-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100vh;
  height: 100dvh;
  min-height: 480px;
  overflow: hidden;
}

.post-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.post-hero__bg--placeholder {
  background: #2a2a2a;
}

.post-hero__overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  bottom: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(29, 29, 27, 0) 0%,
    #1d1d1b 100%
  );
}

.post-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 120px;
  text-align: center;
}



.post-hero__title {
  margin: 0 auto;
  max-width: 22ch;
  color: var(--white);
  font-family: "Onest", sans-serif;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.post-hero__eyebrow,
.post-hero__headline,
.post-hero__slash {
  display: inline;
}

.post-content {
  background: var(--bg);
  color: var(--white);
  padding-block: 48px 96px;
}

.post-content__wrap {
  max-width: 80%;
}

.post-content__inner {
  width: 100%;
  margin: 0;
  padding: 0;
}

.post-content__inner > * {
  margin-block: 0;
}

.post-content__inner > * + * {
  margin-top: 24px;
}

.post-content__inner p,
.post-content__inner ul,
.post-content__inner ol {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}

.post-content__inner > :first-child {
  font-family: "Onest", sans-serif;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 300;
}

.post-content__inner h2,
.post-content__inner h3,
.post-content__inner h4 {
  font-family: "Onest", sans-serif;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.post-content__inner img {
  width: 100%;
  height: auto;
  display: block;
}

.post-content__inner .wp-block-image {
  margin: 0;
  max-width: none;
}

.post-content__inner .wp-block-image img {
  width: 100%;
}

.post-content__inner .wp-block-image figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--gray);
}

.post-content__inner .wp-block-columns {
  gap: var(--grid-gap);
  margin: 0;
}

.post-content__inner .alignwide,
.post-content__inner .alignfull {
  max-width: none;
  width: 100%;
}

@media (min-width: 768px) {
  .post-hero__content {
    padding-bottom: 120px;
  }

  .post-hero__title {
    font-size: 40px;
    max-width: 24ch;
  }

  .post-content {
    padding-block: 64px 120px;
  }

  .post-content__inner > :first-child {
    font-size: 24px;
  }

  .post-content__inner p,
  .post-content__inner ul,
  .post-content__inner ol {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .post-hero__title {
    font-size: 48px;
  }
}

@media (max-width: 1023px) {
  .post-hero {
    align-items: flex-end;
    justify-content: flex-start;
  }

  .post-hero__content {
    text-align: left;
    padding-bottom: 100px;
  }

  .post-hero__title {
    margin-inline: 0;
    max-width: 14ch;
    font-size: 20px;
  }

  .post-single--page .post-hero--page {
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 32px;
  }

  .post-single--page .post-hero--page .post-hero__content {
    text-align: center;
    padding-bottom: 0;
  }

  .post-single--page .post-hero--page .post-hero__title {
    margin-inline: auto;
    max-width: none;
    font-size: 20px;
  }

  .post-content {
    padding-block: 32px 64px;
  }

  .post-single--page .post-content {
    padding-top: 0;
  }

  .post-content__inner > :first-child {
    font-size: 16px;
  }

  .post-content__inner p,
  .post-content__inner ul,
  .post-content__inner ol {
    font-size: 14px;
  }

  .post-content__wrap{
    max-width: 100%;
  }

  .post-content__inner > * + * {
    margin-top: 20px;
  }
}

/* ——— Single Service ——— */
.service-single {
  background: var(--bg);
}

.service-hero {
  margin-bottom: 60px;
}

.service-hero__title {
  margin-bottom: 0;
}

.service-content {
  margin-top: 0;
}

.service-content .project-content__inner > * + * {
  margin-top: var(--grid-gap);
}

.service-stages {
  padding: 60px 0;
  color: var(--white);
}

@media (max-width: 767px){
  .service-stages{
    padding: 20px 0;
  }

  .service-stage__body,
  .service-row__body {
    padding: 20px 0;
  }

  .service-stages__container{
    gap: 20px!important;
  }

  .service-stage__list{
    font-size: 14px;
  }

  .service-stage,
  .service-row {
    padding-block: 30px!important;
  }

  .service-row__btn {
    width: 100%;
    min-width: 0;
  }

  .services-list__container{
    gap: 20px!important;
  }
}

.service-stages__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-stages__title {
  margin: 0;
  font-family: "Onest", sans-serif;
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.service-stages__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-stage,
.service-row {
  padding-block: 30px;
}

.service-stage:first-child,
.service-row:first-child {
  padding-top: 0;
}

.service-stage__grid,
.service-row__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-stage__divider,
.service-row__divider {
  width: 100%;
  height: 1px;
  background: rgba(111, 111, 111, 0.55);
  margin-bottom: 4px;
}

.service-stage__content,
.service-row__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 0;
}

.service-stage__body,
.service-row__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 16px;
}

.service-stage__number,
.service-row__number {
  color: var(--gray);
  font-family: "Onest", sans-serif;
  font-size: 24px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: 0.08em;
}

.service-stage__title,
.service-row__title {
  margin: 0;
  color: var(--white);
  font-family: "Onest", sans-serif;
  font-size: clamp(20px, 2.5vw, 24px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.service-stage__list,
.service-stage__description ul,
.service-stage__description ol,
.service-row__description ul,
.service-row__description ol {
  margin: 0;
  padding-left: 1.1em;
  color: #6F6F6F;
  font-family: "Onest", sans-serif;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 400;
}

.service-row__description {
  margin: 0;
  color: var(--white);
  font-family: "Onest", sans-serif;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 300;
}

.service-row__description.rich-text > p,
.service-stage__description.rich-text > p {
  margin: 0 0 8px;
}

.service-row__description.rich-text > p:last-child,
.service-stage__description.rich-text > p:last-child {
  margin-bottom: 0;
}

.service-row__description a,
.service-stage__description a {
  color: inherit;
  text-decoration: underline;
}

.service-stage__list li + li,
.service-stage__description li + li,
.service-row__description li + li {
  margin-top: 8px;
}

.service-stage__description {
  color: #6F6F6F;
  font-family: "Onest", sans-serif;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 400;
}

.service-stage__media,
.service-row__media {
  width: 100%;
}

.service-stage__image,
.service-row__image {
  width: 100%;
  height: auto;
  min-height: 240px;
  object-fit: cover;
  object-position: center;
}

.service-stage__image-placeholder,
.service-row__image-placeholder {
  width: 100%;
  min-height: 240px;
  background: rgba(255, 255, 255, 0.06);
}

.service-row__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 208px;
  height: 36px;
  margin-top: 4px;
  border: 1px solid var(--white);
  border-radius: 32px;
  padding: 10px 24px;
  color: var(--white);
  font-family: "Onest", sans-serif;
  font-size: 16px;
  line-height: 16px;
  font-weight: 400;
}

@media (min-width: 768px) {
  .service-stages {
    padding: 80px 0;
  }

  .service-stages__container {
    gap: 48px;
  }

  .service-stage,
  .service-row {
    padding-block: 50px;
  }

  .service-stage:first-child,
  .service-row:first-child {
    padding-top: 0;
  }

  .service-stage__grid,
  .service-row__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 80px;
    row-gap: 0;
  }

  .service-row--reverse .service-row__media {
    order: 1;
  }

  .service-row--reverse .service-row__content {
    order: 2;
  }

  .service-stage__content,
  .service-row__content {
    gap: 0;
  }

  .service-stage__body,
  .service-row__body {
    gap: 20px;
    padding: 40px 24px;
  }

  .service-stage__divider,
  .service-row__divider {
    margin-bottom: 6px;
  }

  .service-stage__media,
  .service-row__media {
    align-self: center;
  }

  .service-stage__image,
  .service-stage__image-placeholder,
  .service-row__image,
  .service-row__image-placeholder {
    min-height: 360px;
  }
}

@media (min-width: 1024px) {
  .service-stage__grid,
  .service-row__grid {
    column-gap: 100px;
  }

  .service-stage__list,
  .service-row__description {
    font-size: 16px;
  }

  .service-stage__image,
  .service-stage__image-placeholder,
  .service-row__image,
  .service-row__image-placeholder {
    min-height: 420px;
  }
}

@media (min-width: 1280px) {
  .service-stage__grid,
  .service-row__grid {
    column-gap: 120px;
  }
}

/* ——— Services Page ——— */
.services-page {
  background: var(--bg);
  color: var(--white);
}

.services-list {
  padding-top: var(--header-h);
}

.services-list__container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding-bottom: 60px;
}

.services-list__header {
  padding-top: 40px;
}

.services-list__title {
  margin: 0;
  font-family: "Onest", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
}

.services-list__items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.services-list__empty {
  margin: 0;
  text-align: center;
  color: var(--gray);
  font-size: 16px;
}

@media (min-width: 768px) {
  .services-list__container {
    gap: 80px;
    padding-bottom: 80px;
  }
}

@media (min-width: 1024px) {
  .services-list__header {
    padding-top: 60px;
  }
}

/* ——— Projects Archive ——— */
.projects-page {
  background: var(--bg);
  color: var(--white);
  padding-top: var(--header-h);
  padding-bottom: 80px;
}

.projects-archive__container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.projects-archive__header {
  padding-top: 40px;
}

.projects-archive__title {
  margin: 0;
  font-family: "Onest", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
}

.projects-archive__filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.projects-filter-row {
  min-width: 0;
}

.projects-filter-row--categories {
  border-bottom: 1px solid var(--gray);
}

.projects-filter {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-start;
  justify-content: space-between;
  gap: 24px 32px;
}

.projects-filter__indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--white);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition:
    left 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.15s ease;
}

.projects-filter__indicator.is-visible {
  opacity: 1;
}

.projects-filter--years .projects-filter__indicator {
  bottom: 2px;
  height: 1px;
  border-radius: 0;
}

.projects-filter--categories {
  padding-bottom: 0;
}

.projects-filter--years {
  gap: 24px 48px;
}

.projects-filter__tab {
  position: relative;
  flex-shrink: 0;
  padding: 8px;
  color: var(--gray);
  font-family: "Onest", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s;
}

.projects-filter--years .projects-filter__tab {
  text-transform: none;
  letter-spacing: 0;
}

.projects-filter--categories .projects-filter__tab {
  padding-bottom: 10px;
  margin-bottom: -1px;
}

.projects-filter__tab:hover {
  color: var(--white);
}

.projects-filter__tab--active {
  color: var(--white);
}


.projects-archive__results {
  transition: opacity 0.2s;
}

.projects-archive--loading .projects-archive__results {
  opacity: 0.55;
  pointer-events: none;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
}

.project-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: #2a2a28;
}

.project-card__link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  color: var(--white);
}

.project-card__img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.project-card__img--placeholder {
  background: linear-gradient(135deg, #2a2a28 0%, #3a3a36 100%);
}

.project-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  z-index: 1;
  background: linear-gradient(180deg, rgba(29, 29, 27, 0) 0%, rgba(29, 29, 27, 0.6) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card__link:hover .project-card__overlay,
.project-card__link:focus-visible .project-card__overlay {
  opacity: 1;
}

.project-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card__link:hover .project-card__content,
.project-card__link:focus-visible .project-card__content {
  transform: translateY(-14px);
}

.project-card__title {
  margin: 0;
  font-family: "Onest", sans-serif;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.project-card__meta {
  margin: 0;
  font-family: "Onest", sans-serif;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 300;
  color: var(--white);
}

.project-card__link:hover .project-card__img {
  transform: scale(1.03);
}

.projects-archive__empty {
  margin: 48px 0 0;
  text-align: center;
  color: var(--gray);
  font-size: 16px;
}

.projects-archive__actions {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.projects-archive__load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 175px;
  height: 36px;
  padding: 0 24px;
  border: 1px solid var(--white);
  border-radius: 32px;
  color: var(--white);
  font-family: "Onest", sans-serif;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}

.projects-archive__load-more:hover:not(:disabled) {
  background: var(--white);
  color: var(--bg);
}

.projects-archive__load-more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 1023px) {
  .projects-page {
    padding-bottom: 48px;
  }

  .projects-archive__container {
    gap: 20px;
  }

  .projects-archive__header {
    padding-top: 40px;
  }

  .projects-archive__title {
    font-size: 32px;
    line-height: 1;
  }

  .projects-archive__filters {
    gap: 16px;
  }

  .projects-filter-row {
    margin-inline: calc(var(--container-padding) * -1);
    overflow: hidden;
  }

  .projects-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-inline: var(--container-padding);
  }

  .projects-filter::-webkit-scrollbar {
    display: none;
  }

  .projects-filter--categories {
    gap: 12px;
    padding-bottom: 0;
  }

  .projects-filter--years {
    gap: 20px;
    border-bottom: none;
  }

  .projects-filter__tab {
    padding: 6px;
    font-size: 14px;
    line-height: 1.35;
  }

  .projects-filter--categories .projects-filter__tab {
    padding-bottom: 8px;
  }

  .projects-archive__results {
    margin-inline: calc(var(--container-padding) * -1);
  }

  .projects-grid {
    gap: 12px;
  }

  .project-card,
  .project-card__img {
    min-height: 240px;
  }

  .project-card__content {
    padding: 20px;
    gap: 6px;
  }

  .project-card__title {
    font-size: 18px;
    line-height: 1.2;
  }

  .project-card__meta {
    font-size: 13px;
    line-height: 1.15;
  }

  .projects-archive__actions {
    padding-top: 4px;
  }

  .projects-archive__load-more {
    width: 100%;
    min-width: 0;
  }
}

@media (min-width: 640px) {
  .projects-archive__results {
    margin-inline: 0;
  }

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

  .project-card,
  .project-card__img {
    min-height: 260px;
  }
}

@media (min-width: 1024px) {
  .projects-filter--categories {
    gap: 24px 44px;
  }

  .projects-filter--years {
    gap: 24px 64px;
  }

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

  .project-card,
  .project-card__img {
    min-height: 300px;
  }

  .project-card__title {
    font-size: 20px;
  }

  .project-card__meta {
    font-size: 16px;
  }
}

/* ——— About page ——— */
.about-hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  background: var(--bg);
}

.about-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-hero__gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 308px;
  z-index: 1;
  background: linear-gradient(180deg, rgba(29, 29, 27, 0) 0%, rgba(29, 29, 27, 0.8) 100%);
  pointer-events: none;
}

.about-hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 80px;
  z-index: 2;
}

.about-hero__tagline {
  margin: 0;
  max-width: 666px;
  color: var(--white);
  font-size: 24px;
  line-height: 100%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-weight: 300;
}

@media (min-width: 768px) {
  .about-hero__tagline {
    font-size: 1.5rem;
  }
}

.about-slogan__inner {
  width: 100%;
  max-width: 892px;
}

.about-slogan__title {
  text-align: center;
}

.about-slogan__subtitle {
  color: var(--gray);
  letter-spacing: 0.4em;
  text-align: center;
  text-transform: uppercase;
}

.about-story {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.about-story__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-story__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(29, 29, 27, 0) 0%,
    rgba(29, 29, 27, 1) 100%
  );
}

@media (min-width: 1024px) {
  .about-story__overlay {
    top: 31px;
  }
}

.about-story__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 666px;
  text-align: center;
}

.about-story__title {
  margin: 0;
  color: var(--white);
  font-size: 1.125rem;
  line-height: 100%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-weight: 500;
}

.about-story__card {
  width: 100%;
  padding: 0 48px;
  box-sizing: border-box;
}

.about-story__text {
  color: var(--white);
  font-size: 1.125rem;
  line-height: 120%;
  font-weight: 300;
}

.about-story__text.rich-text > p {
  margin: 0 0 12px;
}

.about-story__text.rich-text > p:last-child {
  margin-bottom: 0;
}

.about-stats-team {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background: var(--bg-light);
}

.about-stats-team__stats {
  flex-shrink: 0;
  padding-block: 0px;
  background: var(--bg);
}

.about-stats-team__stats .stats {
  display: block;
  height: auto;
  min-height: 0;
  background: transparent;
}

.about-stats-team__stats .stats__inner {
  width: 100%;
  gap: 30px;
}

.about-stats-team .stats__title {
  padding-bottom: 0px;
}

.about-stats-team__bridge {
  flex-shrink: 0;
  height: 72px;
}

.about-stats-team__bridge--stats-team {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-light) 100%);
}

.about-stats-team__bridge--publications {
  background: linear-gradient(180deg, rgba(29, 29, 27, 0) 0%, var(--bg) 100%), var(--bg-light);
}

.about-stats-team__team {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-light);
  color: var(--bg);
  padding-block: 48px 0;
  padding-bottom: 100px;
}

.about-stats-team__team .about-team__container {
  width: 100%;
}

.about-team__container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.about-team__title {
  margin: 0;
  color: var(--bg);
  font-size: 24px;
  line-height: 100%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
}

.about-team__carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  overflow-anchor: none;
}

.about-team__viewport {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  container-type: inline-size;
  touch-action: pan-y pinch-zoom;
}

@media (max-width: 1023px) {
  .about-team__track {
    gap: 0;
  }

  .about-team__card {
    flex: 0 0 100cqi;
    width: 100cqi;
    max-width: 100cqi;
    box-sizing: border-box;
  }
}

.about-team__track {
  display: flex;
  gap: 12px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.about-team__card {
  display: flex;
  flex: 0 0 var(--team-slide-size, 100%);
  flex-shrink: 0;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.about-team__media {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.about-team__photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.about-team__info {
  display: flex;
  flex-direction: column;
}

.about-team__name {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray);
  color: var(--bg);
  font-size: 1.125rem;
  line-height: 100%;
  font-weight: 500;
}

.about-team__bio {
  padding-top: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray);
}

.about-team__bio p {
  margin: 0;
  color: var(--bg);
  font-size: 0.875rem;
  line-height: 100%;
  font-weight: 400;
}

.about-team__bio p + p {
  margin-top: 2px;
}

.about-publications {
  background: var(--bg);
  padding-block: 0 96px;
}

.about-publications__container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 80px;
}

.about-publications__title {
  margin: 0;
  color: var(--white);
  font-size: 24px;
  line-height: 100%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
}

.about-publications__carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  overflow-anchor: none;
}

.about-publications__viewport {
  overflow: hidden;
  width: 100%;
  container-type: inline-size;
  container-name: publications;
}

.about-publications__track {
  display: flex;
  gap: 9px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.about-publications__card {
  position: relative;
  flex: 0 0 var(--publication-slide-size, 100%);
  overflow: hidden;
  min-height: 645px;
}

.about-publications__link {
  display: block;
  position: relative;
  height: 100%;
  min-height: inherit;
  color: inherit;
  text-decoration: none;
}

.about-publications__image--placeholder {
  width: 100%;
  height: 645px;
  background: #2a2a2a;
}

.about-publications__image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.about-publications__gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 308px;
  background: linear-gradient(180deg, rgba(29, 29, 27, 0) 0%, rgba(29, 29, 27, 0.8) 100%);
  pointer-events: none;
}

.about-publications__caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-publications__eyebrow,
.about-publications__headline {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
  line-height: 120%;
  font-weight: 400;
  text-transform: uppercase;
}

.carousel__dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.about-publications .about-publications__dots {
  display: flex;
  margin-top: 0;
}

.about-publications__dots--hidden {
  display: none !important;
}

.carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.carousel__dot--active {
  background: currentColor;
}

.about-team__dots:not(.about-team__dots--hidden) {
  display: flex;
  margin-top: 0;
}

.about-team__dots--hidden {
  display: none !important;
}

.about-team__carousel .carousel__dot {
  border-color: var(--bg);
  color: var(--bg);
}

.about-publications .carousel__dot {
  border-color: var(--white);
  color: var(--white);
}

.double-gallery__dots:not(.double-gallery__dots--hidden) {
  display: flex;
}

.about-stats-team .stats__inner {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.3s;
}

.about-stats-team.about-stats-team--animate .stats__inner,
.about-stats-team.about-stats-team--animate .about-team__title {
  opacity: 1;
  transform: translateY(0);
}

.about-stats-team .about-team__title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.5s;
}

.about-story--animate .about-story__content {
  animation: about-story-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes about-story-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1023px) {
  .about-hero,
  .about-story {
    height: 100svh;
    min-height: 100svh;
  }

  .about-hero__content {
    bottom: 120px;
  }

  .about-hero__tagline {
    max-width: 343px;
    margin-inline: auto;
    text-align: left;
    font-size: 20px;
  }

  .about-slogan__inner {
    max-width: 343px;
  }

  .about-story__content {
    max-width: 343px;
    padding-inline: 0;
  }

  .about-story__card {
    padding: 0;
  }

  .about-story__text {
    font-size: 18px;
  }

  .about-story__text.rich-text > p {
    margin-bottom: 12px;
  }

  .about-stats-team__stats {
    padding-block: 80px 12px;
  }

  .about-stats-team__stats .stats__inner {
    max-width: 343px;
    gap: 20px;
  }

  .about-stats-team__bridge {
    height: 48px;
  }

  .about-stats-team__team {
    padding-block: 32px 0;
    justify-content: flex-start;
  }

  .about-stats-team__team .about-team__container,
  .about-publications__container {
    gap: 32px;
  }

  .about-stats-team .about-team__title,
  .about-publications__title {
    text-align: center;
    font-size: 18px;
  }

  .about-publications {
    box-sizing: border-box;
  }

  .about-publications__viewport {
    container-type: normal;
  }

  .about-publications__track {
    display: flex;
    gap: 0;
  }

  .about-publications__card {
    flex: 0 0 100%;
    min-height: 480px;
  }

  .about-publications__image {
    height: 480px;
    min-height: 480px;
  }

  .about-team__dots,
  .carousel__dots {
    display: flex;
  }

  .about-team__name {
    font-size: 16px;
  }

  .about-team__bio p {
    font-size: 14px;
  }
}

/* ——— 404 ——— */
body.page--404 {
  overflow-x: hidden;
}

body.page--404 .page {
  background: #000;
  min-height: 100vh;
  overflow: visible;
}

.error-404 {
  --error-404-scroll: max(100vh, calc(100vw * 1376 / 1344));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.error-404__media {
  grid-area: 1 / 1;
  position: relative;
  z-index: 0;
  min-height: var(--error-404-scroll);
}

.error-404__bg {
  width: 100%;
  height: var(--error-404-scroll);
  display: block;
  object-fit: cover;
  object-position: center top;
}

.error-404__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.error-404__content {
  grid-area: 1 / 1;
  position: sticky;
  top: calc(25vh - 0.5em);
  z-index: 2;
  align-self: start;
  justify-self: center;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 32px;
  margin-top: calc(25vh - 0.5em);
  padding: 0 var(--container-padding);
  box-sizing: border-box;
  pointer-events: none;
}

.error-404__content a,
.error-404__content button {
  pointer-events: auto;
}

.error-404__title {
  margin: 0;
  color: var(--white);
  font-family: "Onest", sans-serif;
  font-size: clamp(14px, 2vw, 20px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.error-404__home {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .error-404__content {
    top: calc(22vh - 0.5em);
    margin-top: calc(22vh - 0.5em);
    flex-direction: column;
    gap: 24px;
  }

  .error-404__home {
    min-width: 159px;
  }
}

.post-single .post-content {
  position: relative !important;
  background: #1d1d1b !important;
  border-top: 0 !important;
  margin-top: -1px !important;
}

.post-single .post-content::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: -6px !important;
  height: 12px !important;
  background: #1d1d1b !important;
  z-index: 50 !important;
  pointer-events: none !important;
}

.post-single .post-content,
.post-single .post-content *,
.post-single .post-content::before,
.post-single .post-content::after,
.post-single .post-content__wrap,
.post-single .post-content__wrap::before,
.post-single .post-content__wrap::after,
.post-single .post-content__inner,
.post-single .post-content__inner::before,
.post-single .post-content__inner::after {
  border-top: 0 !important;
}

.project-content__inner figure.wp-block-image a.project-lightbox {
    display: block;
}

.project-content__inner figure.wp-block-image img {
    display: block;
    width: 100%;
    height: auto;
    cursor: zoom-in;
}

.double-gallery__slide .double-gallery-lightbox {
    display: block;
    width: 100%;
    height: 100%;
}
.double-gallery__track .double-gallery__img {
    cursor: zoom-in;
}

.project-content__inner figure.wp-block-image img,
.project-content__inner img:not(.double-gallery__img) {
    cursor: default;
}

@media (min-width: 768px) {
    .double-gallery__track {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px !important;
        column-gap: 12px !important;
        row-gap: 12px !important;
    }

    .double-gallery__slide {
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        min-width: 0;
    }

    .double-gallery__slide a {
        display: block;
        width: 100%;
        height: 100%;
        line-height: 0;
    }

    .double-gallery__slide img {
        display: block;
        width: 100%;
        height: 100%;
        margin: 0 !important;
        object-fit: cover;
    }
}
