:root {
  --bg: #f6f4f0;
  --card-bg: #e7e2d8;
  --text: #11110f;
  --muted: #777168;
  --line: rgba(17, 17, 15, 0.13);
  --line-strong: rgba(17, 17, 15, 0.3);
  --accent: #213d31;
  --padding: clamp(14px, 2.2vw, 34px);
  --header-height: 74px;
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --weight-regular: 400;
  --weight-medium: 500;
  --tracking-caps: 0.1em;
  --tracking-brand: 0.14em;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: 14px; font-weight: var(--weight-regular); line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.locked { overflow: hidden; }
a, button { color: inherit; font: inherit; }
a { text-decoration: none; }
button { border: 0; background: none; cursor: pointer; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-height);
  padding: 8px var(--padding);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 244, 240, 0.92);
  backdrop-filter: blur(18px);
}

.category,
.small-title,
.product-card__label,
.product-card__price,
.product-card__badge,
.footer__eyebrow,
.group-chip {
  font-size: 11px;
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.breadcrumbs {
  margin: 0 0 16px;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin: 0 9px;
  color: color-mix(in srgb, var(--muted) 65%, transparent);
  pointer-events: none;
}

.breadcrumbs__link {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.breadcrumbs__link:hover,
.breadcrumbs__link:focus-visible {
  color: var(--text);
}

.breadcrumbs__current {
  color: var(--text);
}

.brand-block {
  justify-self: start;
  display: grid;
  gap: 5px;
  max-width: min(100%, 320px);
  color: inherit;
  text-decoration: none;
}

.brand {
  white-space: nowrap;
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-brand);
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
  transition: color 180ms ease;
}

.brand-tagline {
  font-size: clamp(12px, 0.95vw, 13px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-transform: none;
  color: color-mix(in srgb, var(--text) 58%, var(--muted));
}

.brand-block:hover .brand {
  color: var(--accent);
}

.main-nav {
  display: flex;
  justify-self: center;
  justify-content: center;
  gap: clamp(22px, 3.4vw, 48px);
  color: var(--muted);
  font-size: clamp(12px, 1.05vw, 13px);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 8px 2px;
  transition: color 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent);
  outline: none;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.order-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: transparent;
  color: var(--accent);
  font-size: clamp(12px, 1.05vw, 13px);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.order-link:hover,
.order-link:focus-visible {
  background: var(--accent);
  color: #fff;
  outline: none;
}

code { padding: 1px 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.35); font-size: 0.9em; }

.catalog { padding: 0 var(--padding) clamp(64px, 8vw, 120px); }
.product-card { position: relative; display: flex; flex-direction: column; min-width: 0; text-align: left; }
.product-card.is-hidden { display: none; }
.catalog__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-card__media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--card-bg);
  cursor: zoom-in;
  border: 0;
  padding: 0;
  text-decoration: none;
  color: inherit;
}
.product-card__media img { position: absolute; inset: 0; transition: opacity 720ms ease, transform 720ms ease, filter 720ms ease; }
.product-card__image--slide { opacity: 0; }
.product-card--has-slides:hover .product-card__image--main { opacity: 0; }
.product-card--has-slides:hover .product-card__image--slide.is-active { opacity: 1; }
.product-card:hover img { transform: scale(1.02); filter: saturate(0.97); }
.product-card__badge { position: absolute; top: 10px; left: 10px; z-index: 3; padding: 5px 7px; background: rgba(246, 244, 240, 0.88); color: var(--text); }
.product-card__body { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding-top: 12px; }
.product-card__title { margin: 0 0 5px; font-size: 12px; font-weight: var(--weight-medium); letter-spacing: 0.07em; line-height: 1.3; text-transform: uppercase; }
.product-card__title-link { color: inherit; text-decoration: none; transition: color 160ms ease; }
.product-card__title-link:hover,
.product-card__title-link:focus-visible { color: var(--accent); outline: none; }
.product-card__label { margin: 0; color: var(--muted); }
.product-card__price { margin: 0; white-space: nowrap; }

.empty-state { max-width: 760px; padding: 70px 0; }
.empty-state h2 { margin-bottom: 18px; }

.info { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.72fr); gap: clamp(30px, 7vw, 100px); padding: clamp(58px, 8vw, 110px) var(--padding); border-top: 1px solid var(--line); }
.small-title { margin: 0 0 18px; color: var(--muted); }
h2 { max-width: 12ch; margin: 0; font-size: clamp(34px, 6vw, 88px); font-weight: 400; letter-spacing: -0.075em; line-height: 0.92; }
.info__text p, .contacts > p:not(.small-title), .empty-state p { max-width: 620px; margin: 0 0 16px; color: var(--muted); font-size: clamp(14px, 1.15vw, 17px); }

.contacts { padding: clamp(46px, 7vw, 92px) var(--padding); border-top: 1px solid var(--line); background: #e9e4db; }
.contacts h2 { margin-bottom: 22px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.contact-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 11px; font-weight: var(--weight-medium); letter-spacing: var(--tracking-caps); text-transform: uppercase; transition: background 160ms ease, border-color 160ms ease, color 160ms ease; }
.contact-links a:hover { border-color: var(--accent); background: var(--accent); color: white; }



.group-chip { min-height: 32px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); }
.group-chip.is-active { border-color: var(--accent); background: var(--accent); color: white; }

@media (max-width: 780px) {
  .header { grid-template-columns: 1fr auto; row-gap: 12px; padding-top: 14px; padding-bottom: 14px; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-self: center; justify-content: center; width: 100%; }
  .order-link { grid-column: 2; grid-row: 1; }
  .info { grid-template-columns: 1fr; }
  .product-card__body { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 480px) {
  .product-card__title { font-size: 11px; }
  .product-card__price, .product-card__label { font-size: 10px; }
  .contact-links { display: grid; }
  .contact-links a { width: 100%; }
}


/* Catalog: collections and group cards */
.catalog {
  padding-top: 0;
  padding-bottom: clamp(34px, 5vw, 72px);
}

.product-grid {
  display: block;
  padding-top: 0;
}

.all-groups-grid,
.collection-groups-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(10px, 1.4vw, 22px);
  row-gap: clamp(24px, 3.5vw, 48px);
  padding-top: 0;
}

.collection-section,
.collection-section--compact {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  border-top: 0;
}

.collection-section:not(.is-first-visible) {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.collection-section.is-hidden {
  display: none;
}

.collection-section__header {
  display: none;
}

.collection-section--compact .collection-groups-grid {
  margin-top: 0;
}

.product-card__collection-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-caps);
  line-height: 1.35;
  text-align: left;
  text-transform: uppercase;
  text-decoration: none;
}

.product-card__collection-link:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-card--group .product-card__label,
.product-card--group .product-card__collection-link {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.product-card--group .product-card__body {
  align-items: start;
  column-gap: 14px;
  padding-top: 10px;
}

.product-card--group .product-card__title {
  margin-bottom: 4px;
}

/* Collection selector */
.category-bar {
  position: sticky;
  top: var(--header-height);
  z-index: 45;
  display: flex;
  align-items: center;
  width: calc(100% + (var(--padding) * 2));
  max-width: none;
  gap: clamp(12px, 2vw, 18px);
  overflow: hidden;
  margin: 0 calc(var(--padding) * -1) clamp(10px, 1.4vw, 18px);
  padding: 12px var(--padding);
  min-height: 40px;
  box-sizing: border-box;
  border: 0;
  border-bottom: 0;
  border-radius: 0;
  background: rgba(246, 244, 240, 0.78);
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.category-bar__scroll {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: clamp(18px, 2.4vw, 34px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x;
}

.category-bar__scroll::-webkit-scrollbar {
  display: none;
}

.category-bar__stock {
  flex: 0 0 auto;
  margin-left: auto;
  min-height: 26px;
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--text);
  white-space: nowrap;
  font: inherit;
  font-size: 10px;
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(17, 17, 15, 0.04);
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.category-bar__stock:hover {
  border-color: rgba(33, 61, 49, 0.34);
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent);
}

.category-bar__stock.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #f6f4f0;
  box-shadow: 0 1px 0 rgba(17, 17, 15, 0.08);
}

.category {
  position: relative;
  flex: 0 0 auto;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  white-space: nowrap;
  font-size: 11px;
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  line-height: 1.35;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 160ms ease, opacity 160ms ease, text-decoration-color 160ms ease;
}

.category::after {
  display: none;
}

.category:hover,
.category.is-active,
.category.is-active:hover {
  border: 0;
  background: transparent;
  color: var(--accent);
  box-shadow: none;
  transform: none;
  text-decoration-color: currentColor;
}


@media (max-width: 1080px) {
  .all-groups-grid,
  .collection-groups-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .catalog {
    padding-bottom: 38px;
  }

  .category-bar {
    position: sticky;
    top: 0;
    width: calc(100% + (var(--padding) * 2));
    margin: 0 calc(var(--padding) * -1) 12px;
    padding: 11px var(--padding);
    min-height: 38px;
    gap: 14px;
    border-radius: 0;
    border-bottom: 0;
    background: rgba(246, 244, 240, 0.86);
  }

  .category-bar__scroll {
    gap: 20px;
  }

  .all-groups-grid,
  .collection-groups-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 8px;
    row-gap: 26px;
  }
}

@media (max-width: 480px) {
  .all-groups-grid,
  .collection-groups-grid {
    column-gap: 7px;
  }
}

#info,
#contacts {
  scroll-margin-top: calc(var(--header-height) + 1px);
  position: relative;
  overflow: hidden;
}

.info {
  align-items: start;
  padding-top: clamp(50px, 7vw, 104px);
  padding-bottom: clamp(52px, 7vw, 104px);
}

.info .small-title {
  margin-bottom: clamp(14px, 1.8vw, 22px);
}

.info h2 {
  max-width: 9.5ch;
  font-size: clamp(38px, 6.4vw, 92px);
  letter-spacing: -0.078em;
}

.info__text {
  max-width: 720px;
  padding-top: clamp(4px, 1vw, 12px);
}

.info__text p {
  max-width: 680px;
  margin: 0;
  color: var(--text);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.52;
  letter-spacing: -0.015em;
}

.info__text p + p {
  margin-top: 1.15em;
}

@media (max-width: 780px) {
  .info {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .info h2 {
    max-width: 11ch;
  }

  .info__text p {
    font-size: 16px;
  }
}

#info.section-focus > div:first-child {
  animation: blurSlideFromFarRight 920ms cubic-bezier(.16, .84, .22, 1) both;
}

#info.section-focus > .info__text {
  animation: blurSlideFromFarLeft 920ms cubic-bezier(.16, .84, .22, 1) 60ms both;
}

#contacts.section-focus > * {
  animation: blurSlideFromFarRight 860ms cubic-bezier(.16, .84, .22, 1) both;
}

#contacts.section-focus > *:nth-child(2) {
  animation-delay: 50ms;
}

#contacts.section-focus > *:nth-child(3) {
  animation-delay: 90ms;
}

#contacts.section-focus > *:nth-child(4) {
  animation-delay: 130ms;
}

@keyframes blurSlideFromFarLeft {
  0% {
    opacity: 0.18;
    transform: translate3d(-100vw, 0, 0);
    filter: blur(10px);
  }

  58% {
    opacity: 1;
    transform: translate3d(10px, 0, 0);
    filter: blur(2px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes blurSlideFromFarRight {
  0% {
    opacity: 0.18;
    transform: translate3d(100vw, 0, 0);
    filter: blur(10px);
  }

  58% {
    opacity: 1;
    transform: translate3d(-10px, 0, 0);
    filter: blur(2px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@media (max-width: 780px) {
  #info.section-focus > div:first-child,
  #info.section-focus > .info__text,
  #contacts.section-focus > * {
    animation-duration: 780ms;
  }

  @keyframes blurSlideFromFarLeft {
    0% {
      opacity: 0.18;
      transform: translate3d(-92vw, 0, 0);
      filter: blur(9px);
    }

    58% {
      opacity: 1;
      transform: translate3d(6px, 0, 0);
      filter: blur(2px);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0);
      filter: blur(0);
    }
  }

  @keyframes blurSlideFromFarRight {
    0% {
      opacity: 0.18;
      transform: translate3d(92vw, 0, 0);
      filter: blur(9px);
    }

    58% {
      opacity: 1;
      transform: translate3d(-6px, 0, 0);
      filter: blur(2px);
    }

    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0);
      filter: blur(0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  #info.section-focus > div:first-child,
  #info.section-focus > .info__text,
  #contacts.section-focus > * {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Floating back-to-top button */
.scroll-top-button {
  position: fixed;
  right: clamp(14px, 2vw, 26px);
  bottom: clamp(14px, 2vw, 26px);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(17, 17, 15, 0.16);
  border-radius: 999px;
  background: rgba(246, 244, 240, 0.82);
  color: var(--text);
  font-size: 11px;
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  box-shadow: 0 14px 38px rgba(17, 17, 15, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease;
}

.scroll-top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

@media (max-width: 780px) {
  .scroll-top-button {
    right: 12px;
    bottom: 12px;
    min-height: 40px;
    padding: 9px 12px;
  }
}

/* Order modal */
.order-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: var(--padding);
  background: rgba(17, 17, 15, 0.28);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 180ms ease;
}

.order-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.order-modal__card {
  width: min(100%, 520px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: 0 28px 90px rgba(17, 17, 15, 0.18);
  transform: translateY(10px);
  transition: transform 180ms ease;
}

.order-modal.is-open .order-modal__card {
  transform: translateY(0);
}

.order-modal__close {
  float: right;
  width: 34px;
  height: 34px;
  margin: -8px -8px 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  line-height: 1;
}

.order-modal__close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.order-modal__eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.order-modal__title {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.order-modal__text {
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.15vw, 17px);
}

.order-modal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.order-modal__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11px;
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.order-modal__links a:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}


@media (max-width: 780px) {
  .brand {
    font-size: 16px;
    letter-spacing: 0.14em;
  }

  .brand-tagline {
    font-size: 12px;
  }

  .main-nav {
    gap: 18px;
    font-size: 12px;
  }

  .order-link {
    min-height: 36px;
    padding: 8px 14px;
    font-size: 11px;
  }
}

@media (max-width: 460px) {
  .brand {
    font-size: 15px;
    letter-spacing: 0.13em;
  }

  .brand-tagline {
    font-size: 11px;
    line-height: 1.3;
  }
}

/* Refined minimal footer */
.footer {
  margin-top: 0;
  padding: clamp(28px, 4.2vw, 42px) var(--padding) clamp(18px, 2.8vw, 24px);
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(260px, 1fr) auto;
  gap: clamp(24px, 5vw, 76px);
  align-items: start;
}

.footer__eyebrow {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 11px;
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  line-height: 1.25;
  text-transform: uppercase;
}

.footer__note {
  max-width: 300px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer__link {
  position: relative;
  display: inline-flex;
  width: max-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.65);
  transform-origin: center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.footer__link:hover,
.footer__link.is-active {
  color: var(--accent);
}

.footer__link:hover::after,
.footer__link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.footer__socials {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.footer__social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer__social:hover {
  color: white;
  border-color: var(--accent);
  background: var(--accent);
  transform: translateY(-1px);
}

.footer__bottom {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  margin-top: clamp(24px, 3.4vw, 34px);
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: var(--weight-regular);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__socials {
    justify-self: start;
  }

  .footer__note {
    max-width: 520px;
  }
}

@media (max-width: 620px) {
  .footer {
    padding-top: 26px;
    padding-bottom: 20px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer__links {
    gap: 10px 15px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 24px;
  }
}
