:root {
  --cream: #e5e0d8;
  --cream-card: #d9d4cb;
  --cream-deep: #cfc9bf;
  --dark: #141414;
  --dark-bar: #1c1c1c;
  --text: #1a1a1a;
  --text-muted: #6f6a62;
  --white: #ffffff;
  --line-light: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(0, 0, 0, 0.08);
  --pad: clamp(16px, 4vw, 56px);
  --pad-safe: max(var(--pad), env(safe-area-inset-left, 0px));
  --pad-safe-right: max(var(--pad), env(safe-area-inset-right, 0px));
  --content-max: 1440px;
  --content-wide: min(1680px, 92vw);
  --font: "Montserrat", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ——— Header ——— */
.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--white);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 22px var(--pad);
  max-width: 1440px;
  margin: 0 auto;
}

.logo {
  flex-shrink: 0;
  z-index: 2;
}

.logo__name {
  display: block;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1;
}

.logo__tag {
  display: block;
  margin-top: 6px;
  font-size: 0.4375rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  opacity: 0.82;
}

.nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  z-index: 1;
}

.nav a {
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  white-space: nowrap;
  opacity: 0.88;
  transition: opacity 0.25s var(--ease);
}

.nav a:hover {
  opacity: 1;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  flex-shrink: 0;
  z-index: 2;
}

.search-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  opacity: 0.9;
  transition: opacity 0.25s var(--ease);
}

.search-btn:hover {
  opacity: 1;
}

.search-btn svg {
  width: 13px;
  height: 13px;
}

/* Language dropdown */
.lang {
  position: relative;
}

.lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 44px;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.92;
  transition: opacity 0.25s var(--ease);
}

.lang__toggle:hover {
  opacity: 1;
}

.lang__toggle svg {
  width: 9px;
  height: 9px;
  transition: transform 0.25s var(--ease);
}

.lang.is-open .lang__toggle svg {
  transform: rotate(180deg);
}

.lang__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 148px;
  list-style: none;
  background: rgba(20, 20, 20, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-light);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}

.lang.is-open .lang__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang__menu button {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.lang__menu button:hover,
.lang__menu button.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.lang__menu button.is-active {
  font-weight: 500;
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 28px;
  height: 28px;
}

.menu-btn span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.mobile-nav {
  display: none;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: clamp(560px, 82vh, 820px);
  overflow: hidden;
  color: var(--white);
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  transform: scale(1.03);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.38) 42%,
    rgba(0, 0, 0, 0.12) 72%,
    rgba(0, 0, 0, 0.04) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: inherit;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(110px, 14vh, 140px) var(--pad) 72px;
}

.hero__copy {
  max-width: 440px;
}

.hero__title {
  font-size: clamp(2.125rem, 5.2vw, 3.5rem);
  font-weight: 200;
  letter-spacing: 0.08em;
  line-height: 1.12;
  margin-bottom: 22px;
}

.hero__text {
  font-size: clamp(0.8125rem, 1.35vw, 0.9375rem);
  font-weight: 300;
  line-height: 1.8;
  opacity: 0.9;
  max-width: 38ch;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn svg {
  width: 14px;
  height: 14px;
}

.btn--outline {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.hero__handle {
  flex: 0 0 clamp(240px, 36vw, 460px);
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
}

.hero__handle img {
  width: 100%;
  max-height: min(72vh, 640px);
  object-fit: contain;
  object-position: center right;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.42));
  mix-blend-mode: lighten;
}

/* ——— Collections ——— */
.collections {
  padding: 52px 0 60px;
  background: var(--cream);
}

.collections__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto 32px;
  padding: 0 var(--pad);
}

.section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.carousel-nav {
  display: flex;
  gap: 10px;
}

.carousel-nav__btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  color: var(--text);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.carousel-nav__btn svg {
  width: 15px;
  height: 15px;
}

.carousel-nav__btn:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.22);
  transform: scale(1.04);
}

.collections__track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 var(--pad) 10px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.collections__track::-webkit-scrollbar {
  display: none;
}

.collection-card {
  flex: 0 0 clamp(148px, 14.5vw, 172px);
  scroll-snap-align: start;
  background: var(--cream-card);
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.collection-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.collection-card__img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  min-height: 196px;
}

.collection-card__img img {
  max-height: 210px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.35s var(--ease);
}

.collection-card:hover .collection-card__img img {
  transform: scale(1.03);
}

.collection-card__name {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 7px;
}

.collection-card__desc {
  font-size: 0.625rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.collection-card__link {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.85;
  transition: opacity 0.2s var(--ease);
}

.collection-card__link:hover {
  opacity: 1;
}

/* ——— Features bar ——— */
.features {
  background: var(--dark-bar);
  color: var(--white);
  padding: 40px var(--pad);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
  max-width: 1440px;
  margin: 0 auto;
}

.feature-item {
  text-align: center;
  padding: 0 8px;
  position: relative;
}

.feature-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 8px;
  right: calc(clamp(20px, 2.5vw, 36px) / -2);
  width: 1px;
  height: calc(100% - 16px);
  background: rgba(255, 255, 255, 0.08);
}

.feature-item__icon {
  width: 26px;
  height: 26px;
  margin: 0 auto 16px;
  color: rgba(255, 255, 255, 0.88);
}

.feature-item__icon svg {
  width: 100%;
  height: 100%;
}

.feature-item__title {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.feature-item__text {
  font-size: 0.5625rem;
  font-weight: 300;
  line-height: 1.55;
  opacity: 0.68;
  max-width: 20ch;
  margin: 0 auto;
}

/* ——— Discover ——— */
.discover {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--cream);
}

.discover-card {
  display: flex;
  flex-direction: column;
  min-height: 400px;
  border-right: 1px solid var(--line-dark);
}

.discover-card:last-child {
  border-right: none;
}

.discover-card__body {
  padding: 36px 32px 24px;
}

.discover-card__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}

.discover-card__text {
  font-size: 0.6875rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 30ch;
  margin-bottom: 18px;
}

.discover-card__link {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.88;
  transition: opacity 0.2s var(--ease);
}

.discover-card__link:hover {
  opacity: 1;
}

.discover-card__media {
  flex: 1;
  overflow: hidden;
  margin-top: auto;
}

.discover-card__media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.discover-card__media--swatches {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding: 0 20px 0 32px;
  background: var(--cream);
}

.discover-card__media--swatches img {
  flex: 1;
  min-height: 240px;
  max-height: 280px;
  object-fit: contain;
  object-position: bottom center;
  mix-blend-mode: multiply;
}

/* ——— Footer ——— */
.site-footer {
  padding:
    clamp(40px, 5vw, 64px)
    var(--pad-safe-right)
    max(24px, env(safe-area-inset-bottom, 0px))
    var(--pad-safe);
  background: var(--dark-bar);
  color: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 48px);
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__brand .logo__name {
  color: var(--white);
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
}

.site-footer__brand .logo__tag {
  color: rgba(255, 255, 255, 0.55);
  opacity: 1;
  margin-bottom: 18px;
}

.site-footer__about {
  font-size: clamp(0.625rem, 1.1vw, 0.6875rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
  max-width: 34ch;
  margin-bottom: 16px;
}

.site-footer__iso {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 22px;
}

.site-footer__social {
  display: flex;
  gap: 10px;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.78);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.site-footer__social a:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.24);
}

.site-footer__title {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--white);
  margin-bottom: 18px;
}

.site-footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-footer__col a,
.site-footer__col span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  font-size: clamp(0.625rem, 1vw, 0.6875rem);
  font-weight: 300;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s var(--ease);
}

.site-footer__col a:hover {
  color: var(--white);
}

.site-footer__col--contact span {
  min-height: auto;
  padding: 4px 0;
}

.site-footer__contact-list li:last-child span {
  opacity: 0.55;
  font-size: 0.625rem;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-top: clamp(20px, 3vw, 28px);
}

.site-footer__copy {
  font-size: clamp(0.5625rem, 1vw, 0.625rem);
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.42);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(0.5625rem, 1vw, 0.625rem);
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.48);
  transition: color 0.2s var(--ease);
}

.site-footer__legal a:hover {
  color: rgba(255, 255, 255, 0.82);
}

/* ——— Responsive ——— */
@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: fixed;
    inset: 76px 0 auto;
    z-index: 99;
    padding: 28px var(--pad) 32px;
    background: rgba(20, 20, 20, 0.97);
    backdrop-filter: blur(16px);
    color: var(--white);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), visibility 0.35s;
  }

  .mobile-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav a {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    opacity: 0.88;
  }

  .mobile-nav__langs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--line-light);
  }

  .mobile-nav__langs button {
    flex: 1;
    padding: 12px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    border: 1px solid var(--line-light);
    border-radius: 2px;
    opacity: 0.75;
    transition: background 0.2s, opacity 0.2s;
  }

  .mobile-nav__langs button.is-active,
  .mobile-nav__langs button:hover {
    background: rgba(255, 255, 255, 0.08);
    opacity: 1;
  }

  .features__grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
  }

  .feature-item::after {
    display: none;
  }

  .discover {
    grid-template-columns: 1fr;
  }

  .discover-card {
    border-right: none;
    border-bottom: 1px solid var(--line-dark);
  }

  .site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    max-width: 42ch;
  }
}

@media (max-width: 768px) {
  .search-btn {
    font-size: 0;
    gap: 0;
  }

  .hero__content {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 104px;
  }

  .hero__handle {
    width: 100%;
    max-width: 300px;
    align-self: center;
    padding-right: 0;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .collection-card {
    flex-basis: 152px;
    min-height: 320px;
  }

  .site-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .lang {
    display: none;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .discover-card__media--swatches {
    flex-wrap: wrap;
    justify-content: center;
    padding-inline: 24px;
  }

  .discover-card__media--swatches img {
    flex: 0 0 calc(33.333% - 6px);
    min-height: 130px;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer__about {
    max-width: none;
  }

  .site-footer__col--contact {
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 360px) {
  :root {
    --pad: 14px;
  }

  .logo__tag {
    letter-spacing: 0.22em;
  }

  .hero__title {
    font-size: clamp(1.375rem, 8vw, 1.75rem);
  }

  .collection-card {
    flex-basis: 138px;
    min-height: 300px;
    padding: 16px 14px;
  }

  .discover-card__body {
    padding: 28px 20px 20px;
  }

  .site-footer__social {
    flex-wrap: wrap;
  }

  .site-footer__legal {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 320px) {
  :root {
    --pad: 12px;
  }

  .header__inner {
    min-height: 68px;
    padding-block: 16px;
  }

  .hero__cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .collection-card__name {
    font-size: 0.625rem;
  }

  .site-footer__iso {
    line-height: 1.6;
  }
}

@media (min-width: 1600px) {
  .header__inner,
  .features__grid {
    max-width: var(--content-wide);
  }

  .collection-card {
    flex-basis: 220px;
  }

  .site-footer__main {
    gap: 56px;
  }
}

@media (min-width: 1920px) {
  :root {
    --pad: 64px;
  }

  .hero__content {
    max-width: var(--content-wide);
    margin-inline: auto;
  }

  .collections__track {
    padding-inline: calc((100vw - var(--content-wide)) / 2 + var(--pad));
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__copy {
    animation: fade-up 0.9s var(--ease) both;
  }

  .hero__handle {
    animation: fade-up 1s 0.12s var(--ease) both;
  }

  .collection-card {
    animation: fade-up 0.7s var(--ease) both;
  }

  .collection-card:nth-child(2) { animation-delay: 0.04s; }
  .collection-card:nth-child(3) { animation-delay: 0.08s; }
  .collection-card:nth-child(4) { animation-delay: 0.12s; }
  .collection-card:nth-child(5) { animation-delay: 0.16s; }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
