/* Base: 1728px design width, 960px hero height */

:root {
  /* Минимальная высота секции: 960px при ширине 1728px */
  --section-height: calc(960 / 1728 * 100vw);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: calc(16 / 1728 * 100vw);
  scrollbar-gutter: stable;
  overflow-x: hidden;
  background: #fff;
  touch-action: manipulation;
}

body {
  font-family: 'Inter', sans-serif;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  touch-action: manipulation;
}

img {
  display: block;
  max-width: none;
}

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

/* ── Sections ── */

.section {
  position: relative;
  width: 100%;
  min-width: 768px;
  min-height: var(--section-height);
  overflow: hidden;
}

.clients.section {
  height: auto;
}

.section__clip {
  position: relative;
  width: 100%;
  min-height: var(--section-height);
  overflow: hidden;
}

/* ── Hero section ── */

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #f5f0ea;
  background-image: url('../img/section1.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 130% 80% at 50% 91.25%,
    rgba(196, 176, 147, 0.8) 0%,
    rgba(196, 176, 147, 0) 65.866%
  );
  opacity: 0.15;
}

/* ── Header ── */

.header {
  position: fixed;
  top: calc(25 / 1728 * 100vw);
  left: calc(25 / 1728 * 100vw);
  right: calc(25 / 1728 * 100vw);
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(70 / 1728 * 100vw);
  padding: calc(10 / 1728 * 100vw) calc(40 / 1728 * 100vw);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: calc(8 / 1728 * 100vw);
}

.header__logo {
  flex-shrink: 0;
  width: calc(320 / 1728 * 100vw);
}

.header__logo img {
  width: calc(210 / 1728 * 100vw);
  height: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: calc(24 / 1728 * 100vw);
}

.header__nav a {
  font-size: calc(13 / 1728 * 100vw);
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s;
}

.header__nav a:hover {
  color: #ca171e;
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: calc(24 / 1728 * 100vw);
  flex-shrink: 0;
}

.header__phone,
.header__email {
  font-size: calc(13 / 1728 * 100vw);
  line-height: 1;
  letter-spacing: calc(-0.26 / 1728 * 100vw);
  white-space: nowrap;
}

.header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: calc(8 / 1728 * 100vw) calc(16 / 1728 * 100vw);
  background: #0f172a;
  color: #fff;
  font-size: calc(13 / 1728 * 100vw);
  font-weight: 400;
  line-height: calc(24 / 13);
  border-radius: calc(6 / 1728 * 100vw);
  white-space: nowrap;
  transition: background 0.2s;
}

.header__btn:hover {
  background: #1e293b;
}

.header__burger {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #000;
}

.header__burger-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.header__burger-line {
  display: block;
  width: 100%;
  background: currentColor;
  border-radius: calc(1 / 375 * 100vw);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header__menu-footer {
  display: none;
}

.header__bar {
  display: contents;
}

.header__menu-panel {
  display: contents;
}

/* ── Hero content ── */

.hero__content {
  position: absolute;
  z-index: 5;
  top: calc(130 / 960 * 100%);
  left: 50%;
  transform: translateX(-50%);
  width: calc(1203 / 1728 * 100%);
  text-align: center;
}

.hero__title {
  font-family: 'Oranienbaum', serif;
  font-size: calc(100 / 1728 * 100vw);
  font-weight: 400;
  line-height: 1;
  letter-spacing: calc(-2 / 1728 * 100vw);
  color: #000;
}

.hero__subtitle {
  margin-top: 1vw;
  margin-left: auto;
  margin-right: auto;
  width: calc(647 / 1203 * 100%);
  font-size: calc(18 / 1728 * 100vw);
  line-height: 1.5;
  letter-spacing: calc(-0.36 / 1728 * 100vw);
  font-weight: 400;
  color: #000;
}

/* ── Logo marquee ── */

.hero__logos {
  position: absolute;
  z-index: 5;
  bottom: calc(105 / 960 * 100%);
  left: 0;
  width: 100%;
  height: calc(42 / 1728 * 100vw);
  opacity: 0.5;
}

.logos-swiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.logos-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
  align-items: center;
}

.logos-swiper .swiper-slide {
  width: auto;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logos-swiper .swiper-slide img {
  width: calc(var(--logo-w) / 1728 * 100vw);
  height: calc(var(--logo-h) / 1728 * 100vw);
  object-fit: contain;
}

/* ── Favorite section ── */

.favorite__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #ebd6d0;
  background-image: url('../img/section2.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.favorite__title {
  position: absolute;
  z-index: 2;
  top: calc(121 / 1728 * 100vw);
  left: 50%;
  transform: translateX(-50%);
  width: calc(1619 / 1728 * 100vw);
  font-family: 'Poiret One', cursive;
  font-size: calc(130 / 1728 * 100vw);
  font-weight: 400;
  line-height: 1;
  letter-spacing: calc(-3.9 / 1728 * 100vw);
  text-transform: uppercase;
  text-align: center;
  color: #000;
}

.favorite__title--red {
  color: #f21d20;
}

.favorite__title--blue {
  color: #2335c7;
}

.favorite__polygon {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.favorite__polygon--left {
  left: 0;
  top: calc(309.72 / 1728 * 100vw);
  width: calc(523.148 / 1728 * 100vw);
  height: calc(531.582 / 1728 * 100vw);
}

.favorite__polygon--right {
  left: calc(1233.46 / 1728 * 100vw);
  top: calc(413.26 / 1728 * 100vw);
  width: calc(494.539 / 1728 * 100vw);
  height: calc(438.5 / 1728 * 100vw);
}

.favorite__polygon--mobile {
  display: none;
}

.favorite__col {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: calc(40 / 1728 * 100vw);
}

.favorite__col--left {
  left: calc(63 / 1728 * 100vw);
  top: calc(381.72 / 1728 * 100vw);
  width: calc(385 / 1728 * 100vw);
}

.favorite__col--right {
  left: calc(1318 / 1728 * 100vw);
  top: calc(463 / 1728 * 100vw);
  width: calc(345 / 1728 * 100vw);
}

.favorite__intro {
  font-size: calc(18 / 1728 * 100vw);
  line-height: 1.5;
  letter-spacing: calc(-0.18 / 1728 * 100vw);
  font-weight: 400;
}

.favorite__block {
  display: flex;
  flex-direction: column;
  gap: calc(8 / 1728 * 100vw);
}

.favorite__col--left .favorite__block {
  width: calc(353 / 1728 * 100vw);
}

.favorite__heading {
  font-size: calc(18 / 1728 * 100vw);
  line-height: 1.5;
  letter-spacing: calc(-0.18 / 1728 * 100vw);
  font-weight: 500;
}

.favorite__heading--red {
  color: #f21d20;
}

.favorite__heading--blue {
  color: #2335c7;
}

.favorite__text {
  font-size: calc(15 / 1728 * 100vw);
  line-height: 1.5;
  letter-spacing: calc(-0.15 / 1728 * 100vw);
  font-weight: 400;
}

/* ── Elephant section ── */

.elephant__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #fff;
  background-image: url('../img/section3.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.elephant__intro {
  position: absolute;
  z-index: 2;
  left: calc(64 / 1728 * 100vw);
  top: calc(140 / 1728 * 100vw);
  width: calc(658 / 1728 * 100vw);
}

.elephant__title {
  font-family: 'Oi', cursive;
  font-size: calc(110 / 1728 * 100vw);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: #000;
}

.elephant__text {
  width: calc(416 / 1728 * 100vw);
  margin-top: calc(30 / 1728 * 100vw);
  font-size: calc(18 / 1728 * 100vw);
  line-height: 1.5;
  letter-spacing: calc(-0.36 / 1728 * 100vw);
  font-weight: 400;
}

.elephant__text p + p {
  margin-top: calc(18 / 1728 * 100vw);
}

.elephant__visual {
  display: none;
}

.elephant__btn {
  position: absolute;
  z-index: 2;
  left: calc(64 / 1728 * 100vw);
  bottom: calc(75 / 1728 * 100vw);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: calc(20 / 1728 * 100vw) calc(32 / 1728 * 100vw);
  background: #a85a19;
  border-radius: calc(8 / 1728 * 100vw);
  font-size: calc(16 / 1728 * 100vw);
  line-height: calc(24 / 16);
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.elephant__btn:hover {
  opacity: 0.9;
}

.elephant__nav {
  position: absolute;
  z-index: 2;
  left: calc(1050 / 1728 * 100vw);
  bottom: calc(75 / 1728 * 100vw);
  display: flex;
  gap: calc(23 / 1728 * 100vw);
  align-items: flex-start;
}

.elephant__nav-label {
  padding-top: calc(8 / 1728 * 100vw);
  font-size: calc(13 / 1728 * 100vw);
  line-height: normal;
  letter-spacing: calc(-0.26 / 1728 * 100vw);
  font-weight: 400;
  white-space: nowrap;
}

.elephant__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: calc(12 / 1728 * 100vw);
}

.elephant__link {
  display: flex;
  align-items: center;
  gap: calc(16 / 1728 * 100vw);
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: calc(28 / 1728 * 100vw);
  line-height: 1.5;
  letter-spacing: calc(-0.56 / 1728 * 100vw);
  font-weight: 400;
  text-transform: uppercase;
  color: #000;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.elephant__link-text {
  text-align: left;
}

.elephant__link-bullet {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: calc(32 / 1728 * 100vw);
  height: calc(32 / 1728 * 100vw);
  border: 1px solid rgba(239, 239, 239, 0.5);
  border-radius: 50%;
  color: #000;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.elephant__link-bullet svg {
  width: calc(16 / 1728 * 100vw);
  height: calc(16 / 1728 * 100vw);
}

.elephant__link:hover .elephant__link-text,
.elephant__link:focus-visible .elephant__link-text {
  color: #d8994d;
  text-decoration: underline;
  text-decoration-color: #000;
  text-decoration-thickness: 1px;
  text-underline-offset: calc(4 / 1728 * 100vw);
}

.elephant__link:hover .elephant__link-bullet,
.elephant__link:focus-visible .elephant__link-bullet {
  background: #d8994d;
  border-color: #d8994d;
  color: #fff;
}

body.modal-open {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

html.modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

/* ── Factory section ── */

.factory__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #08133f;
  background-image: url('../img/section4.webp');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

.factory__title {
  position: absolute;
  z-index: 2;
  left: calc(64 / 1728 * 100vw);
  top: calc(149 / 1728 * 100vw);
  font-family: 'Climate Crisis', cursive;
  font-size: calc(100 / 1728 * 100vw);
  font-weight: 400;
  font-variation-settings: 'YEAR' 1979;
  line-height: 0.9;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}

.factory__title span {
  display: block;
}

.factory__panel {
  position: absolute;
  z-index: 2;
  left: calc(67 / 1728 * 100vw);
  bottom: calc(75 / 1728 * 100vw);
  display: flex;
  align-items: center;
  gap: calc(36 / 1728 * 100vw);
  box-sizing: border-box;
  width: calc(1597 / 1728 * 100vw);
  height: calc(300 / 1728 * 100vw);
  padding: calc(30 / 1728 * 100vw);
  border-radius: calc(8 / 1728 * 100vw);
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 2px 2px 50px rgba(0, 0, 0, 0.4);
}

.factory__panel-left {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.factory__text {
  font-size: calc(20 / 1728 * 100vw);
  line-height: 1.5;
  letter-spacing: calc(-0.4 / 1728 * 100vw);
  font-weight: 400;
  color: #fff;
}

.factory__links {
  display: flex;
  flex-wrap: wrap;
  gap: calc(50 / 1728 * 100vw);
  align-items: center;
}

.factory__link {
  display: inline-flex;
  align-items: center;
  gap: calc(16 / 1728 * 100vw);
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: calc(28 / 1728 * 100vw);
  line-height: 1.5;
  letter-spacing: calc(-0.56 / 1728 * 100vw);
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  cursor: pointer;
  text-align: left;
}

.factory__link:hover .factory__link-text,
.factory__link:focus-visible .factory__link-text {
  text-decoration: underline;
  text-decoration-color: #fff;
  text-decoration-thickness: 1px;
  text-underline-offset: calc(4 / 1728 * 100vw);
}

.factory__link-bullet {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: calc(32 / 1728 * 100vw);
  height: calc(32 / 1728 * 100vw);
  border: 1px solid rgba(239, 239, 239, 0.5);
  border-radius: 50%;
  color: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.factory__link:hover .factory__link-bullet,
.factory__link:focus-visible .factory__link-bullet {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.factory__link-bullet svg {
  width: calc(16 / 1728 * 100vw);
  height: calc(16 / 1728 * 100vw);
}

.factory__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: calc(20 / 1728 * 100vw) calc(32 / 1728 * 100vw);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: calc(8 / 1728 * 100vw);
  font-size: calc(16 / 1728 * 100vw);
  line-height: calc(24 / 16);
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.factory__btn:hover {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.factory__images {
  display: flex;
  flex-shrink: 0;
  gap: calc(30 / 1728 * 100vw);
  align-items: center;
}

.factory__img {
  width: calc(340 / 1728 * 100vw);
  height: calc(240 / 1728 * 100vw);
  border-radius: calc(4 / 1728 * 100vw);
  object-fit: cover;
  object-position: center bottom;
}

/* ── Memories section ── */

.memories__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #f24f18;
  background-image: url('../img/section5.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.memories__header {
  display: none;
}

.memories__bottom {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: calc(75 / 1728 * 100vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(50 / 1728 * 100vw);
}

.memories__desc {
  align-self: flex-end;
  width: calc(519 / 1728 * 100vw);
  margin-right: calc(64 / 1728 * 100vw);
  font-size: calc(18 / 1728 * 100vw);
  line-height: 1.5;
  letter-spacing: calc(-0.36 / 1728 * 100vw);
  font-weight: 400;
  color: #000;
}

.memories__hint {
  display: none;
}

.memories__marquee {
  width: 100%;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.memories__marquee.is-dragging {
  cursor: grabbing;
}

.memories__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.memories__track-group {
  display: flex;
  align-items: flex-start;
  gap: calc(25 / 1728 * 100vw);
  padding-right: calc(25 / 1728 * 100vw);
  flex-shrink: 0;
}

.memories__item {
  flex-shrink: 0;
}

.memories__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(10 / 1728 * 100vw);
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  color: #fff;
  cursor: inherit;
  text-align: left;
}

.memories__card-media {
  position: relative;
  display: block;
  width: calc(var(--work-w) / 1728 * 100vw);
  height: calc(var(--work-h) / 1728 * 100vw);
  overflow: hidden;
}

.memories__card-zoom {
  display: none;
}

.memories__card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.memories__card-caption {
  font-size: calc(14 / 1728 * 100vw);
  line-height: 1.5;
  letter-spacing: calc(0.42 / 1728 * 100vw);
  font-weight: 400;
  text-transform: uppercase;
  white-space: nowrap;
}

.memories__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: calc(20 / 1728 * 100vw) calc(32 / 1728 * 100vw);
  background: #000;
  border-radius: calc(8 / 1728 * 100vw);
  font-size: calc(16 / 1728 * 100vw);
  line-height: calc(24 / 16);
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.memories__btn:hover {
  opacity: 0.85;
}

/* ── Clients section ── */

.clients__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #0d1639;
  background-image: url('../img/bg.svg');
  background-repeat: repeat;
  background-size: calc(510 / 1728 * 100vw) auto;
}

.clients__frame {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    calc(106 / 1728 * 100vw)
    minmax(0, 1fr)
    calc(106 / 1728 * 100vw);
  width: calc(1596 / 1728 * 100vw);
  min-height: calc(716 / 1728 * 100vw);
  margin: calc(187 / 1728 * 100vw) auto 0;
}

.clients__tail {
  height: calc(50 / 1728 * 100vw);
}

.clients__col--left,
.clients__col--right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  border: calc(2 / 1728 * 100vw) solid #926e3b;
}

.clients__col--left {
  border-right: none;
}

.clients__col--right {
  border-left: none;
}

.clients__ornaments {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  min-height: inherit;
  pointer-events: none;
}

.clients__ornaments--right {
  transform: scaleX(-1);
}

.clients__ornament {
  flex: 0 0 auto;
  display: block;
}

.clients__ornament--corner {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.clients__ornament--middle {
  width: calc(52 / 1728 * 100vw);
  height: calc(330 / 1728 * 100vw);
  aspect-ratio: 52 / 330;
  object-fit: contain;
}

.clients__ornament--corner-bottom {
  transform: scaleY(-1);
}

.clients__col--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: calc(2 / 1728 * 100vw) solid #926e3b;
}

.clients__title-bar {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: calc(-37.5 / 1728 * 100vw);
  margin-bottom: calc(35 / 1728 * 100vw);
  gap: calc(20 / 1728 * 100vw);
}

.clients__title-line {
  flex: 1;
  align-self: flex-start;
  margin-top: calc(37.5 / 1728 * 100vw);
  height: calc(2 / 1728 * 100vw);
  background: #926e3b;
}

.clients__title {
  flex-shrink: 0;
  width: calc(499 / 1728 * 100vw);
  height: auto;
}

.clients__desc {
  width: calc(711 / 1728 * 100vw);
  margin: 0;
  font-size: calc(18 / 1728 * 100vw);
  line-height: 1.5;
  letter-spacing: calc(-0.36 / 1728 * 100vw);
  font-weight: 400;
  text-align: center;
  color: #cda368;
}

.clients__logos-panel {
  width: 100%;
  margin-top: calc(28 / 1728 * 100vw);
  display: flex;
  justify-content: center;
}

.clients__logos-frame--outer {
  width: calc(1100 / 1728 * 100vw);
  min-height: calc(420 / 1728 * 100vw);
  padding: calc(10 / 1728 * 100vw);
  border: calc(5 / 1728 * 100vw) solid #926e3b;
  box-sizing: border-box;
}

.clients__logos-frame--inner {
  width: 100%;
  min-height: calc(400 / 1728 * 100vw);
  background-color: #0d1639;
  border: calc(2 / 1728 * 100vw) solid #926e3b;
  box-sizing: border-box;
}

.clients__logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, calc(80 / 1728 * 100vw));
  justify-items: center;
  align-items: center;
  gap: calc(40 / 1728 * 100vw) calc(80 / 1728 * 100vw);
  padding: calc(40 / 1728 * 100vw) calc(49 / 1728 * 100vw);
  min-height: calc(396 / 1728 * 100vw);
  box-sizing: border-box;
}

.clients__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  max-width: calc(159 / 1728 * 100vw);
  max-height: calc(80 / 1728 * 100vw);
  flex-shrink: 0;
}

.clients__logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(var(--logo-w) / 1728 * 100vw);
  max-height: calc(var(--logo-h) / 1728 * 100vw);
  object-fit: contain;
  object-position: center;
  filter: brightness(0) saturate(100%) invert(73%) sepia(28%) saturate(498%) hue-rotate(353deg) brightness(95%) contrast(89%);
}

/* ── Contact section ── */

.contact__map {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact__map--error {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f6f8;
}

.contact__map-error {
  max-width: calc(420 / 1728 * 100vw);
  font-size: calc(16 / 1728 * 100vw);
  line-height: 1.5;
  text-align: center;
  color: #666;
}

.contact__pin {
  display: block;
  width: calc(72 / 1728 * 100vw);
  height: calc(71 / 1728 * 100vw);
  transform: translate(-50%, -100%);
  pointer-events: none;
  user-select: none;
}

.contact__panel {
  position: absolute;
  z-index: 2;
  left: calc(64 / 1728 * 100vw);
  top: calc(158 / 1728 * 100vw);
  width: calc(603 / 1728 * 100vw);
  min-height: calc(723 / 1728 * 100vw);
  padding: calc(40 / 1728 * 100vw);
  border-radius: calc(8 / 1728 * 100vw);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 0 calc(20 / 1728 * 100vw) rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: calc(40 / 1728 * 100vw);
  pointer-events: auto;
}

.contact__panel-main {
  display: flex;
  flex-direction: column;
  gap: calc(50 / 1728 * 100vw);
}

.contact__title {
  font-size: calc(70 / 1728 * 100vw);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: calc(-3.5 / 1728 * 100vw);
  color: #000;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: calc(30 / 1728 * 100vw);
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: calc(6 / 1728 * 100vw);
}

.contact__label {
  font-size: calc(11 / 1728 * 100vw);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: calc(2.2 / 1728 * 100vw);
  text-transform: uppercase;
  color: #ca171e;
}

.contact__value {
  font-size: calc(20 / 1728 * 100vw);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: calc(-0.4 / 1728 * 100vw);
  color: #000;
}

.contact__value a {
  transition: color 0.2s ease;
}

.contact__value a:hover {
  color: #ca171e;
}

.contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: calc(20 / 1728 * 100vw) calc(32 / 1728 * 100vw);
  background: #000;
  border-radius: calc(8 / 1728 * 100vw);
  font-size: calc(16 / 1728 * 100vw);
  line-height: calc(24 / 16);
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.contact__btn:hover {
  background: #1e293b;
}

.contact__legal {
  display: flex;
  flex-direction: column;
  gap: calc(4 / 1728 * 100vw);
  font-size: calc(12 / 1728 * 100vw);
  line-height: 1.5;
  letter-spacing: calc(-0.24 / 1728 * 100vw);
  font-weight: 400;
  color: #000;
}

.contact__legal a {
  transition: color 0.2s ease;
}

.contact__legal a:hover {
  color: #ca171e;
}

/* ── Factory modal ── */

.factory-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px calc(48 / 1728 * 100vw);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.factory-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.factory-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.factory-modal__dialog {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: calc(960 / 1728 * 100vw);
  height: auto;
  max-height: calc(100vh - 100px);
  overflow: hidden;
  background: #fff;
  border-radius: calc(8 / 1728 * 100vw);
  padding: calc(48 / 1728 * 100vw);
}

.factory-modal__close {
  position: absolute;
  top: calc(24 / 1728 * 100vw);
  right: calc(24 / 1728 * 100vw);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(16 / 1728 * 100vw);
  height: calc(16 / 1728 * 100vw);
  padding: 0;
  border: none;
  background: none;
  color: #000;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.factory-modal__close:hover {
  opacity: 1;
}

.factory-modal__close svg {
  width: 100%;
  height: 100%;
}

.factory-modal__viewport {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

.factory-modal__scroll {
  width: 100%;
  max-height: calc(100vh - 100px - (96 / 1728 * 100vw));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.factory-modal__scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
  -webkit-appearance: none;
  appearance: none;
}

.factory-modal__scrollbar {
  position: absolute;
  top: calc(48 / 1728 * 100vw);
  bottom: calc(48 / 1728 * 100vw);
  right: calc(31 / 1728 * 100vw);
  width: 2px;
  z-index: 1;
}

.factory-modal__scrollbar.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.factory-modal__scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  min-height: calc(32 / 1728 * 100vw);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  will-change: transform;
}

.factory-modal__content {
  display: flex;
  flex-direction: column;
  gap: calc(24 / 1728 * 100vw);
  width: 100%;
}

.factory-modal__head {
  display: flex;
  flex-direction: column;
  gap: calc(24 / 1728 * 100vw);
}

.factory-modal__title {
  font-size: calc(28 / 1728 * 100vw);
  line-height: 1.5;
  letter-spacing: calc(-0.56 / 1728 * 100vw);
  font-weight: 500;
  text-transform: uppercase;
  color: #000;
}

.factory-modal__text {
  font-size: calc(15 / 1728 * 100vw);
  line-height: 1.5;
  letter-spacing: calc(-0.3 / 1728 * 100vw);
  font-weight: 400;
  color: #000;
}

.factory-modal__text p + p {
  margin-top: calc(15 / 1728 * 100vw);
}

.factory-modal__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(4 / 1728 * 100vw);
}

.factory-modal__img--tall {
  height: auto;
}

/* ── Mobile (≤768px), design base 375×700 ── */

@media (max-width: 768px) {
  html {
    font-size: calc(16 / 375 * 100vw);
  }

  .section {
    min-width: 0;
  }

  .hero.section,
  .hero .section__clip {
    min-height: calc(700 / 375 * 100vw);
  }

  .hero__bg {
    background-image: url('../img/section1-mobile.webp');
    background-size: 100% auto;
    background-position: center top;
  }

  .hero__content {
    top: calc(95 / 700 * 100%);
    width: calc(335 / 375 * 100%);
  }

  .hero__title {
    font-size: calc(50 / 375 * 100vw);
    letter-spacing: calc(-1 / 375 * 100vw);
  }

  .hero__subtitle {
    margin-top: calc(33 / 375 * 100vw);
    width: 100%;
    font-size: calc(15 / 375 * 100vw);
    letter-spacing: calc(-0.3 / 375 * 100vw);
  }

  .hero__logos {
    bottom: calc(35 / 700 * 100%);
    height: calc(30 / 375 * 100vw);
  }

  .logos-swiper .swiper-slide img {
    width: calc(var(--logo-w) / 42 * 30 / 375 * 100vw);
    height: calc(var(--logo-h) / 42 * 30 / 375 * 100vw);
  }

  .header {
    top: calc(10 / 375 * 100vw);
    left: calc(10 / 375 * 100vw);
    right: calc(10 / 375 * 100vw);
  }

  .header__inner {
    --header-bar-h: calc(52 / 375 * 100vw);
    --header-expanded-h: calc(100dvh - 20 / 375 * 100vw);

    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: var(--header-bar-h);
    padding: calc(12 / 375 * 100vw) calc(10 / 375 * 100vw);
    border-radius: calc(8 / 375 * 100vw);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    transition:
      background-color 0.3s ease 0.3s,
      height 0.3s ease;
  }

  .header.is-menu-open .header__inner {
    background: #fff;
    height: var(--header-expanded-h);
    transition:
      background-color 0.3s ease,
      height 0.3s ease;
  }

  .header.is-menu-open.is-menu-closing .header__inner {
    height: var(--header-bar-h);
    background: rgba(255, 255, 255, 0.8);
    transition:
      height 0.3s ease 0.3s,
      background-color 0.3s ease 0.3s;
  }

  .header__bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    width: 100%;
    min-height: calc(28 / 375 * 100vw);
  }

  .header__logo {
    width: auto;
  }

  .header__logo img {
    width: calc(158 / 375 * 100vw);
    height: calc(28 / 375 * 100vw);
  }

  .header__contacts {
    display: none;
  }

  .header__burger {
    display: flex;
    flex-shrink: 0;
  }

  .header__burger-box {
    width: calc(20 / 375 * 100vw);
    height: calc(15 / 375 * 100vw);
  }

  .header__burger-line {
    height: calc(2 / 375 * 100vw);
  }

  .header.is-menu-open .header__burger-line:nth-child(1) {
    transform: translateY(calc(6.5 / 375 * 100vw)) rotate(45deg);
  }

  .header.is-menu-open .header__burger-line:nth-child(2) {
    opacity: 0;
  }

  .header.is-menu-open .header__burger-line:nth-child(3) {
    transform: translateY(calc(-6.5 / 375 * 100vw)) rotate(-45deg);
  }

  .header__menu-panel {
    position: absolute;
    z-index: 1;
    top: var(--header-bar-h);
    left: calc(10 / 375 * 100vw);
    right: calc(10 / 375 * 100vw);
    bottom: calc(12 / 375 * 100vw);
    display: flex;
    flex-direction: column;
    gap: calc(50 / 375 * 100vw);
    padding-top: calc(50 / 375 * 100vw);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.3s ease,
      visibility 0s linear 0.6s;
  }

  .header.is-menu-open .header__menu-panel {
    visibility: visible;
    transition:
      opacity 0.3s ease 0.3s,
      visibility 0s linear 0s;
  }

  .header.is-menu-open.is-menu-animate .header__menu-panel {
    opacity: 1;
    pointer-events: auto;
  }

  .header.is-menu-open.is-menu-closing .header__menu-panel {
    opacity: 0;
    pointer-events: none;
    visibility: visible;
    transition:
      opacity 0.3s ease,
      visibility 0s linear 0.3s;
  }

  .header__nav {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: calc(24 / 375 * 100vw);
    margin: 0;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
  }

  .header__nav a {
    font-size: calc(16 / 375 * 100vw);
    letter-spacing: calc(-0.32 / 375 * 100vw);
  }

  .header__menu-footer {
    display: flex;
    flex-direction: column;
    gap: calc(50 / 375 * 100vw);
    margin-top: auto;
    padding-bottom: calc(2 / 375 * 100vw);
  }

  .header__menu-contacts {
    display: flex;
    gap: calc(20 / 375 * 100vw);
    width: 100%;
  }

  .header__menu-field {
    display: flex;
    flex-direction: column;
    gap: calc(4 / 375 * 100vw);
    min-width: 0;
  }

  .header__menu-field:last-child {
    flex: 1 1 auto;
  }

  .header__menu-label {
    font-size: calc(10 / 375 * 100vw);
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: calc(2 / 375 * 100vw);
    text-transform: uppercase;
    color: #ca171e;
  }

  .header__menu-value {
    font-size: calc(16 / 375 * 100vw);
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: calc(-0.32 / 375 * 100vw);
    color: #000;
    white-space: nowrap;
    transition: color 0.2s ease;
  }

  .header__menu-value:hover {
    color: #ca171e;
  }

  .header__menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: calc(20 / 375 * 100vw) calc(32 / 375 * 100vw);
    background: #000;
    border-radius: calc(8 / 375 * 100vw);
    font-size: calc(16 / 375 * 100vw);
    line-height: calc(24 / 16);
    font-weight: 400;
    color: #fff;
    text-align: center;
    transition: background 0.2s ease;
  }

  .header__menu-btn:hover {
    background: #1e293b;
  }

  @media (prefers-reduced-motion: reduce) {
    .header__inner {
      transition: none;
    }

    .header.is-menu-open .header__inner,
    .header.is-menu-open.is-menu-closing .header__inner {
      transition: none;
    }

    .header__menu-panel {
      transition: none;
    }

    .header.is-menu-open.is-menu-animate .header__menu-panel {
      opacity: 1;
    }
  }

  .favorite.section,
  .favorite .section__clip {
    min-height: calc(1265 / 375 * 100vw);
  }

  .favorite__bg {
    background-image: url('../img/section2-mobile.webp');
    background-size: 100% auto;
    background-position: center top;
  }

  .favorite__title {
    top: calc(87 / 375 * 100vw);
    width: calc(335 / 375 * 100vw);
    font-size: calc(50 / 375 * 100vw);
    letter-spacing: calc(-1.5 / 375 * 100vw);
  }

  .favorite__polygon--left,
  .favorite__polygon--right {
    display: none;
  }

  .favorite__polygon--mobile {
    display: block;
    left: 0;
    top: calc(534.5 / 375 * 100vw);
    width: 100%;
    height: calc(696 / 375 * 100vw);
  }

  .favorite__col {
    gap: calc(20 / 375 * 100vw);
  }

  .favorite__col--left {
    left: calc(20 / 375 * 100vw);
    top: calc(574 / 375 * 100vw);
    width: calc(335 / 375 * 100vw);
  }

  .favorite__col--right {
    left: calc(20 / 375 * 100vw);
    top: calc(891 / 375 * 100vw);
    width: calc(335 / 375 * 100vw);
  }

  .favorite__col--left .favorite__block {
    width: 100%;
  }

  .favorite__intro {
    font-size: calc(17 / 375 * 100vw);
    letter-spacing: calc(-0.17 / 375 * 100vw);
  }

  .favorite__block {
    gap: calc(8 / 375 * 100vw);
  }

  .favorite__heading {
    font-size: calc(16 / 375 * 100vw);
    letter-spacing: calc(-0.16 / 375 * 100vw);
  }

  .favorite__text {
    font-size: calc(15 / 375 * 100vw);
    letter-spacing: calc(-0.15 / 375 * 100vw);
  }

  .elephant.section,
  .elephant .section__clip {
    min-height: calc(1380 / 375 * 100vw);
  }

  .elephant .section__clip {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: calc(95 / 375 * 100vw) calc(20 / 375 * 100vw) calc(47 / 375 * 100vw);
  }

  .elephant__bg {
    background-image: none;
    background-color: #fff;
  }

  .elephant__intro {
    position: static;
    width: 100%;
  }

  .elephant__title {
    font-size: calc(50 / 375 * 100vw);
  }

  .elephant__text {
    width: 100%;
    margin-top: calc(24 / 375 * 100vw);
    font-size: calc(16 / 375 * 100vw);
    letter-spacing: calc(-0.32 / 375 * 100vw);
  }

  .elephant__text p + p {
    margin-top: calc(8 / 375 * 100vw);
  }

  .elephant__visual {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    margin-top: calc(8 / 375 * 100vw);
    flex-shrink: 0;
  }

  .elephant__image {
    display: block;
    width: 100%;
    height: auto;
  }

  .elephant__nav {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: calc(15 / 375 * 100vw);
    margin-top: calc(8 / 375 * 100vw);
  }

  .elephant__nav-label {
    padding-top: calc(8 / 375 * 100vw);
    font-size: calc(12 / 375 * 100vw);
    letter-spacing: calc(-0.24 / 375 * 100vw);
  }

  .elephant__links {
    gap: calc(12 / 375 * 100vw);
  }

  .elephant__link {
    gap: calc(10 / 375 * 100vw);
    font-size: calc(18 / 375 * 100vw);
    letter-spacing: calc(-0.36 / 375 * 100vw);
    white-space: normal;
  }

  .elephant__link-bullet {
    width: calc(24 / 375 * 100vw);
    height: calc(24 / 375 * 100vw);
    border-width: calc(0.75 / 375 * 100vw);
    border-color: rgba(216, 153, 77, 0.5);
  }

  .elephant__link-bullet svg {
    width: calc(12 / 375 * 100vw);
    height: calc(12 / 375 * 100vw);
  }

  .elephant__link:hover .elephant__link-text,
  .elephant__link:focus-visible .elephant__link-text {
    color: #000;
    text-decoration: none;
  }

  .elephant__link:hover .elephant__link-bullet,
  .elephant__link:focus-visible .elephant__link-bullet {
    background: transparent;
    border-color: rgba(216, 153, 77, 0.5);
    color: #000;
  }

  .elephant__btn {
    position: static;
    display: flex;
    width: 100%;
    margin-top: calc(40 / 375 * 100vw);
    padding: calc(20 / 375 * 100vw) calc(32 / 375 * 100vw);
    border-radius: calc(8 / 375 * 100vw);
    font-size: calc(16 / 375 * 100vw);
    white-space: normal;
    text-align: center;
  }

  .elephant__btn:hover {
    opacity: 1;
  }

  .factory.section,
  .factory .section__clip {
    min-height: calc(700 / 375 * 100vw);
  }

  .factory__bg {
    background-image: url('../img/section4-mobile.webp');
    background-size: 100% auto;
    background-position: center top;
  }

  .factory__title {
    left: calc(21 / 375 * 100vw);
    top: calc(121 / 375 * 100vw);
    font-size: calc(38 / 375 * 100vw);
  }

  .factory__panel {
    left: calc(20 / 375 * 100vw);
    top: calc(335 / 375 * 100vw);
    bottom: auto;
    width: calc(335 / 375 * 100vw);
    height: auto;
    padding: calc(15 / 375 * 100vw);
    gap: 0;
    border-radius: calc(8 / 375 * 100vw);
    box-shadow: calc(2 / 375 * 100vw) calc(2 / 375 * 100vw) calc(50 / 375 * 100vw) rgba(0, 0, 0, 0.4);
  }

  .factory__panel-left {
    height: auto;
    justify-content: flex-start;
  }

  .factory__text {
    font-size: calc(16 / 375 * 100vw);
    letter-spacing: calc(-0.32 / 375 * 100vw);
  }

  .factory__links {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: calc(24 / 375 * 100vw);
    margin-top: calc(28 / 375 * 100vw);
  }

  .factory__link {
    gap: calc(8 / 375 * 100vw);
    font-size: calc(18 / 375 * 100vw);
    letter-spacing: calc(-0.36 / 375 * 100vw);
    white-space: normal;
  }

  .factory__link-bullet {
    width: calc(24 / 375 * 100vw);
    height: calc(24 / 375 * 100vw);
    border: none;
    background: #fff;
    color: #000;
  }

  .factory__link-bullet svg {
    width: calc(12 / 375 * 100vw);
    height: calc(12 / 375 * 100vw);
  }

  .factory__link:hover .factory__link-text,
  .factory__link:focus-visible .factory__link-text {
    text-decoration: none;
  }

  .factory__link:hover .factory__link-bullet,
  .factory__link:focus-visible .factory__link-bullet {
    background: #fff;
    border-color: transparent;
    color: #000;
  }

  .factory__btn {
    width: 100%;
    margin-top: calc(36 / 375 * 100vw);
    padding: calc(20 / 375 * 100vw) calc(32 / 375 * 100vw);
    border-radius: calc(8 / 375 * 100vw);
    font-size: calc(16 / 375 * 100vw);
    white-space: normal;
    text-align: center;
  }

  .factory__btn:hover {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
  }

  .factory__images {
    display: none;
  }

  .factory-modal {
    padding: 50px calc(10 / 375 * 100vw);
    align-items: center;
    overflow: hidden;
    overscroll-behavior: none;
  }

  .factory-modal__dialog {
    width: 100%;
    max-width: calc(355 / 375 * 100vw);
    height: auto;
    max-height: calc(100vh - 100px);
    padding: calc(24 / 375 * 100vw) calc(15 / 375 * 100vw);
    border-radius: calc(8 / 375 * 100vw);
    overflow: hidden;
  }

  .factory-modal__viewport {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  .factory-modal__scroll {
    max-height: calc(100vh - 100px - (48 / 375 * 100vw));
  }

  .factory-modal__close {
    top: calc(24 / 375 * 100vw);
    right: calc(23 / 375 * 100vw);
    width: calc(16 / 375 * 100vw);
    height: calc(16 / 375 * 100vw);
  }

  .factory-modal__scrollbar {
    display: none;
  }

  .factory-modal__head {
    gap: calc(16 / 375 * 100vw);
  }

  .factory-modal__title {
    font-size: calc(18 / 375 * 100vw);
    letter-spacing: calc(-0.36 / 375 * 100vw);
    max-width: calc(270 / 375 * 100vw);
  }

  .factory-modal__text {
    font-size: calc(15 / 375 * 100vw);
    letter-spacing: calc(-0.3 / 375 * 100vw);
  }

  .factory-modal__text p + p {
    margin-top: calc(15 / 375 * 100vw);
  }

  .factory-modal__content {
    gap: calc(24 / 375 * 100vw);
  }

  .factory-modal__img,
  .factory-modal__img--tall {
    height: auto;
    border-radius: calc(4 / 375 * 100vw);
  }

  .memories.section,
  .memories .section__clip {
    min-height: calc(815 / 375 * 100vw);
    overflow: visible;
  }

  .memories.section {
    overflow: visible;
  }

  .memories__bg {
    background-image: none;
    background-color: #f24f18;
  }

  .memories__header {
    display: block;
    position: absolute;
    z-index: 1;
    top: calc(19 / 375 * 100vw);
    left: 0;
    width: 100%;
    pointer-events: none;
  }

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

  .memories__bottom {
    display: contents;
  }

  .memories__desc {
    position: absolute;
    z-index: 2;
    top: calc(255 / 375 * 100vw);
    left: calc(20 / 375 * 100vw);
    width: calc(335 / 375 * 100vw);
    margin: 0;
    font-size: calc(16 / 375 * 100vw);
    line-height: 1.5;
    letter-spacing: calc(-0.32 / 375 * 100vw);
    color: #000;
  }

  .memories__hint {
    display: block;
    position: absolute;
    z-index: 2;
    top: calc(377 / 375 * 100vw);
    left: calc(20 / 375 * 100vw);
    width: calc(335 / 375 * 100vw);
    margin: 0;
    font-size: calc(12 / 375 * 100vw);
    line-height: 1.5;
    letter-spacing: calc(-0.24 / 375 * 100vw);
    font-weight: 400;
    text-transform: none;
    color: #000;
    opacity: 0.5;
  }

  .memories__marquee {
    position: absolute;
    z-index: 2;
    top: calc(415 / 375 * 100vw);
    left: 0;
    width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .memories__track-group {
    gap: calc(18.75 / 375 * 100vw);
    padding-right: calc(18.75 / 375 * 100vw);
    align-items: flex-start;
  }

  .memories__card {
    gap: calc(7.5 / 375 * 100vw);
  }

  .memories__card-media {
    width: calc(var(--m-work-w, var(--work-w)) / 375 * 100vw);
    height: calc(var(--m-work-h, var(--work-h)) / 375 * 100vw);
    overflow: visible;
  }

  .memories__card-zoom {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    bottom: 0;
    width: calc(44.857 / 375 * 100vw);
    height: calc(44.857 / 375 * 100vw);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(calc(31.43 / 375 * 100vw));
    -webkit-backdrop-filter: blur(calc(31.43 / 375 * 100vw));
    border-radius: calc(22.4286 / 375 * 100vw) calc(22.4286 / 375 * 100vw) 0 calc(22.4286 / 375 * 100vw);
    pointer-events: none;
  }

  .memories__card-zoom img {
    display: block;
    width: calc(18.857 / 375 * 100vw);
    height: calc(18.857 / 375 * 100vw);
  }

  .memories__card-caption {
    min-height: calc(18 / 375 * 100vw);
    font-size: calc(12 / 375 * 100vw);
    line-height: 1.5;
    letter-spacing: calc(0.36 / 375 * 100vw);
    white-space: normal;
  }

  .memories__btn {
    position: absolute;
    z-index: 2;
    top: calc(695 / 375 * 100vw);
    left: 50%;
    transform: translateX(-50%);
    width: calc(328 / 375 * 100vw);
    padding: calc(16 / 375 * 100vw) calc(24 / 375 * 100vw);
    border-radius: calc(8 / 375 * 100vw);
    font-size: calc(16 / 375 * 100vw);
    line-height: calc(24 / 16);
    white-space: normal;
    text-align: center;
  }

  .memories__btn:hover {
    opacity: 1;
  }

  .clients.section,
  .clients .section__clip {
    min-height: calc(920 / 375 * 100vw);
  }

  .clients__bg {
    background-image: none;
  }

  .clients__frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: auto;
    margin: 0;
  }

  .clients__col--left,
  .clients__col--right {
    display: none;
  }

  .clients__col--center {
    width: 100%;
    border-bottom: none;
    padding-top: calc(102 / 375 * 100vw);
  }

  .clients__title-bar {
    justify-content: center;
    width: auto;
    margin: 0;
    gap: 0;
  }

  .clients__title-line {
    display: none;
  }

  .clients__title {
    width: calc(284.749 / 375 * 100vw);
    height: auto;
  }

  .clients__desc {
    width: calc(335 / 375 * 100vw);
    margin-top: calc(27 / 375 * 100vw);
    font-size: calc(16 / 375 * 100vw);
    letter-spacing: calc(-0.32 / 375 * 100vw);
  }

  .clients__logos-panel {
    margin-top: calc(33 / 375 * 100vw);
  }

  .clients__logos-frame--outer {
    width: calc(355 / 375 * 100vw);
    height: calc(484 / 375 * 100vw);
    min-height: calc(484 / 375 * 100vw);
    padding: calc(8 / 375 * 100vw);
    border-width: calc(5 / 375 * 100vw);
    box-sizing: border-box;
  }

  .clients__logos-frame--inner {
    height: calc(467 / 375 * 100vw);
    min-height: calc(467 / 375 * 100vw);
    border-width: calc(2 / 375 * 100vw);
    box-sizing: border-box;
  }

  .clients__logos {
    grid-template-columns: repeat(2, calc(121 / 375 * 100vw));
    grid-template-rows: repeat(5, calc(49 / 375 * 100vw));
    gap: calc(34.25 / 375 * 100vw) calc(40 / 375 * 100vw);
    width: calc(282 / 375 * 100vw);
    height: calc(382 / 375 * 100vw);
    margin: 0 auto;
    padding: calc(35 / 375 * 100vw) 0 calc(50 / 375 * 100vw);
    min-height: calc(382 / 375 * 100vw);
    box-sizing: content-box;
  }

  .clients__logo:nth-child(n + 11) {
    display: none;
  }

  .clients__logo {
    width: calc(121 / 375 * 100vw);
    height: calc(49 / 375 * 100vw);
    max-width: none;
    max-height: none;
    flex-shrink: 0;
  }

  .clients__logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }

  .clients__tail {
    height: calc(39 / 375 * 100vw);
  }

  .contact.section,
  .contact .section__clip {
    min-height: calc(899 / 375 * 100vw);
  }

  .contact__pin {
    width: calc(46 / 375 * 100vw);
    height: calc(45 / 375 * 100vw);
  }

  .contact__panel {
    top: calc(87 / 375 * 100vw);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(355 / 375 * 100vw);
    height: calc(418 / 375 * 100vw);
    min-height: calc(418 / 375 * 100vw);
    padding: calc(15 / 375 * 100vw);
    gap: calc(34 / 375 * 100vw);
    border-radius: calc(8 / 375 * 100vw);
    box-shadow: 0 0 calc(20 / 375 * 100vw) rgba(0, 0, 0, 0.1);
  }

  .contact__panel-main {
    gap: calc(30 / 375 * 100vw);
  }

  .contact__title {
    font-size: calc(40 / 375 * 100vw);
    letter-spacing: calc(-2 / 375 * 100vw);
  }

  .contact__details {
    display: grid;
    grid-template-columns: calc(144 / 375 * 100vw) calc(161 / 375 * 100vw);
    column-gap: calc(15 / 375 * 100vw);
    row-gap: calc(20 / 375 * 100vw);
  }

  .contact__field:first-child {
    grid-column: 1 / -1;
  }

  .contact__field {
    gap: calc(4 / 375 * 100vw);
    min-width: 0;
  }

  .contact__field:nth-child(3) .contact__value,
  .contact__field:nth-child(3) .contact__value a {
    white-space: nowrap;
  }

  .contact__label {
    font-size: calc(10 / 375 * 100vw);
    letter-spacing: calc(2 / 375 * 100vw);
  }

  .contact__value {
    font-size: calc(16 / 375 * 100vw);
    letter-spacing: calc(-0.32 / 375 * 100vw);
  }

  .contact__btn {
    align-self: stretch;
    width: 100%;
    padding: calc(20 / 375 * 100vw) calc(32 / 375 * 100vw);
    border-radius: calc(8 / 375 * 100vw);
    font-size: calc(16 / 375 * 100vw);
    white-space: normal;
    text-align: center;
  }

  .contact__legal {
    font-size: calc(12 / 375 * 100vw);
    letter-spacing: calc(-0.24 / 375 * 100vw);
    gap: calc(4 / 375 * 100vw);
  }
}

