/* ==========================================
   VYLDAR — GLOBAL STYLES
========================================== */

:root {
  --cream: #e8e0d2;
  --cream-light: #f2ede5;
  --charcoal: #252525;
  --charcoal-light: #353535;
  --oxblood: #641f29;
  --white: #faf8f4;
  --border: rgba(37, 37, 37, 0.16);
}


/* ==========================================
   RESET
========================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}


/* ==========================================
   ANNOUNCEMENT
========================================== */

.announcement {
  height: 34px;
  background: var(--oxblood);
  color: var(--cream-light);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}


/* ==========================================
   NAVIGATION
========================================== */

header {
  position: absolute;
  z-index: 20;
  top: 34px;
  left: 0;
  width: 100%;
  color: var(--white);
}

.nav {
  height: 82px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 5vw;

  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.logo {
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.nav-links {
  display: flex;
  gap: 32px;

  list-style: none;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -6px;

  width: 0;
  height: 1px;

  background: currentColor;

  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-button {
  border: 0;
  background: transparent;
  color: inherit;

  cursor: pointer;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-button {
  display: none;

  border: 0;
  background: none;
  color: inherit;

  cursor: pointer;

  font-size: 22px;
}


/* ==========================================
   MOBILE MENU
========================================== */

.mobile-menu {
  position: fixed;
  z-index: 30;
  inset: 0;

  background: var(--charcoal);
  color: var(--cream-light);

  padding: 40px 7vw 50px;

  transform: translateX(100%);

  transition:
    transform 0.4s cubic-bezier(.7, 0, .2, 1);

  display: flex;
  flex-direction: column;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 90px;

  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.mobile-menu-top button {
  border: 0;
  background: transparent;
  color: inherit;

  cursor: pointer;

  font-size: 34px;
  line-height: 1;
}

.mobile-links {
  list-style: none;

  display: grid;
  gap: 20px;
}

.mobile-links a {
  font-size: clamp(42px, 12vw, 70px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.9;
  text-transform: uppercase;
}

.mobile-menu-footer {
  margin-top: auto;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  opacity: 0.45;
}


/* ==========================================
   HERO
========================================== */

.hero {
  position: relative;

  min-height: 100svh;

  background:
    url("https://images.unsplash.com/photo-1529139574466-a303027c1d8b?auto=format&fit=crop&w=2200&q=90")
    center / cover;

  color: var(--white);

  display: flex;
  align-items: flex-end;

  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.62),
      rgba(0, 0, 0, 0.18) 65%,
      rgba(0, 0, 0, 0.35)
    );
}

.hero-content {
  position: relative;
  z-index: 2;

  width: 100%;

  padding: 0 5vw 7vw;
}

.hero-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;

  margin-bottom: 20px;
}

.hero-title {
  max-width: 1000px;

  font-size: clamp(64px, 11vw, 170px);
  line-height: 0.82;

  font-weight: 900;

  letter-spacing: -0.095em;
  text-transform: uppercase;
}

.hero-bottom {
  margin-top: 42px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

.hero-copy {
  max-width: 390px;

  font-size: 14px;
  line-height: 1.6;

  color: rgba(255, 255, 255, 0.8);
}


/* ==========================================
   BUTTON
========================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;

  padding: 0 26px;

  border: 1px solid currentColor;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.button:hover {
  background: var(--white);
  color: var(--charcoal);

  transform: translateY(-2px);
}

.button-light {
  color: var(--white);
}


/* ==========================================
   SCROLL INDICATOR
========================================== */

.scroll-indicator {
  position: absolute;
  z-index: 3;

  right: 5vw;
  bottom: 34px;

  writing-mode: vertical-rl;

  font-size: 9px;
  letter-spacing: 0.2em;
  font-weight: 700;

  text-transform: uppercase;

  opacity: 0.7;
}


/* ==========================================
   SECTION NUMBERS
========================================== */

.section-number {
  font-size: 10px;
  letter-spacing: 0.15em;
  font-weight: 700;

  text-transform: uppercase;

  margin-bottom: 35px;
}


/* ==========================================
   INTRO
========================================== */

.intro {
  padding: 120px 5vw;

  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 10vw;

  background: var(--cream-light);
}

.intro-title {
  font-size: clamp(38px, 5vw, 72px);

  line-height: 0.95;

  font-weight: 800;

  letter-spacing: -0.065em;

  text-transform: uppercase;
}

.intro-text {
  max-width: 480px;

  align-self: end;

  font-size: 15px;
  line-height: 1.8;
}

.intro-text strong {
  color: var(--oxblood);
}


/* ==========================================
   PRODUCTS
========================================== */

.products-section {
  padding: 110px 5vw;

  background: var(--cream);
}

.section-header {
  display: flex;

  justify-content: space-between;
  align-items: flex-end;

  margin-bottom: 45px;
}

.section-title {
  font-size: clamp(40px, 6vw, 80px);

  font-weight: 900;

  letter-spacing: -0.08em;
  line-height: 0.85;

  text-transform: uppercase;
}

.view-all {
  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.16em;

  text-transform: uppercase;

  border-bottom: 1px solid var(--charcoal);

  padding-bottom: 5px;
}

.products {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 12px;
}

.product-card {
  cursor: pointer;
}

.product-image {
  position: relative;

  aspect-ratio: 0.78;

  overflow: hidden;

  background: #d8d0c3;
}

.product-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
    transform 0.7s cubic-bezier(.2, .7, .2, 1);
}

.product-card:hover img {
  transform: scale(1.045);
}

.product-tag {
  position: absolute;

  top: 14px;
  left: 14px;

  padding: 7px 9px;

  background: var(--oxblood);
  color: var(--white);

  font-size: 8px;
  font-weight: 800;

  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quick-add {
  position: absolute;

  bottom: 12px;
  left: 12px;
  right: 12px;

  padding: 14px;

  background: rgba(242, 237, 229, 0.94);

  border: none;

  cursor: pointer;

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 0.15em;
  text-transform: uppercase;

  transform: translateY(70px);

  transition: transform 0.3s ease;
}

.product-card:hover .quick-add {
  transform: translateY(0);
}

.product-info {
  padding: 16px 0 35px;

  display: flex;

  justify-content: space-between;

  gap: 15px;
}

.product-name {
  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.06em;

  text-transform: uppercase;
}

.product-meta {
  margin-top: 6px;

  font-size: 10px;

  opacity: 0.6;
}

.product-price {
  font-size: 11px;
  font-weight: 700;

  white-space: nowrap;
}


/* ==========================================
   STATEMENT
========================================== */

.statement {
  min-height: 78vh;

  padding: 8vw 5vw;

  background: var(--charcoal);
  color: var(--cream-light);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.statement-top {
  display: flex;
  justify-content: space-between;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.statement-title {
  max-width: 1200px;

  font-size: clamp(55px, 9vw, 140px);

  line-height: 0.82;

  letter-spacing: -0.09em;

  font-weight: 900;

  text-transform: uppercase;
}

.statement-title span {
  color: var(--oxblood);
}


/* ==========================================
   EDITORIAL
========================================== */

.editorial {
  display: grid;

  grid-template-columns: 1fr 1fr;

  min-height: 750px;
}

.editorial-image {
  background:
    url("https://images.unsplash.com/photo-1509631179647-0177331693ae?auto=format&fit=crop&w=1400&q=85")
    center / cover;
}

.editorial-content {
  background: var(--oxblood);
  color: var(--cream-light);

  padding: 8vw 7vw;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.editorial-label {
  font-size: 10px;

  letter-spacing: 0.2em;

  font-weight: 800;

  text-transform: uppercase;
}

.editorial-title {
  font-size: clamp(48px, 6vw, 90px);

  font-weight: 900;

  letter-spacing: -0.08em;

  line-height: 0.84;

  text-transform: uppercase;
}

.editorial-copy {
  max-width: 420px;

  font-size: 14px;

  line-height: 1.75;

  opacity: 0.85;
}

.editorial-button {
  align-self: flex-start;

  margin-top: 35px;
}


/* ==========================================
   NEWSLETTER
========================================== */

.newsletter {
  padding: 110px 5vw;

  background: var(--cream-light);

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 10vw;
}

.newsletter-title {
  font-size: clamp(45px, 6vw, 90px);

  font-weight: 900;

  line-height: 0.85;

  letter-spacing: -0.08em;

  text-transform: uppercase;
}

.newsletter-right {
  display: flex;

  flex-direction: column;

  justify-content: flex-end;
}

.newsletter-copy {
  max-width: 450px;

  font-size: 14px;

  line-height: 1.7;

  margin-bottom: 25px;
}

.newsletter-form {
  display: flex;

  max-width: 500px;

  border-bottom: 1px solid var(--charcoal);
}

.newsletter-form input {
  flex: 1;

  min-width: 0;

  padding: 18px 0;

  background: transparent;

  border: none;

  outline: none;

  font-size: 13px;

  color: var(--charcoal);
}

.newsletter-form button {
  border: none;

  background: transparent;

  cursor: pointer;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.15em;

  text-transform: uppercase;
}


/* ==========================================
   FOOTER
========================================== */

footer {
  padding: 55px 5vw 30px;

  background: var(--charcoal);

  color: var(--cream-light);
}

.footer-top {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1fr;

  gap: 50px;

  padding-bottom: 80px;
}

.footer-logo {
  font-size: clamp(65px, 12vw, 170px);

  line-height: 0.75;

  letter-spacing: -0.1em;

  font-weight: 900;
}

.footer-heading {
  font-size: 9px;

  letter-spacing: 0.16em;

  text-transform: uppercase;

  opacity: 0.45;

  margin-bottom: 18px;

  font-weight: 800;
}

.footer-links {
  list-style: none;

  display: grid;

  gap: 10px;

  font-size: 11px;

  font-weight: 600;
}

.footer-links a {
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.55;
}

.footer-bottom {
  padding-top: 22px;

  border-top: 1px solid rgba(255, 255, 255, 0.15);

  display: flex;

  justify-content: space-between;

  font-size: 9px;

  letter-spacing: 0.12em;

  text-transform: uppercase;

  opacity: 0.45;
}


/* ==========================================
   CART TOAST
========================================== */

.cart-toast {
  position: fixed;

  z-index: 50;

  right: 20px;
  bottom: 20px;

  background: var(--charcoal);

  color: var(--cream-light);

  padding: 16px 20px;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.1em;

  text-transform: uppercase;

  transform: translateY(120px);

  transition: transform 0.35s ease;
}

.cart-toast.show {
  transform: translateY(0);
}


/* ==========================================
   RESPONSIVE — TABLET
========================================== */

@media (max-width: 900px) {

  .nav-links {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: 90svh;
  }

  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .scroll-indicator {
    display: none;
  }

  .intro,
  .newsletter {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .editorial {
    grid-template-columns: 1fr;
  }

  .editorial-image {
    min-height: 65vh;
  }

  .editorial-content {
    min-height: 650px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;

    margin-bottom: 30px;
  }
}


/* ==========================================
   RESPONSIVE — MOBILE
========================================== */

@media (max-width: 560px) {

  .announcement {
    height: 30px;

    font-size: 8px;

    padding: 0 10px;

    text-align: center;
  }

  header {
    top: 30px;
  }

  .nav {
    height: 70px;

    padding: 0 5vw;
  }

  .logo {
    font-size: 24px;
  }

  .cart-button {
    font-size: 9px;
  }

  .hero-content {
    padding-bottom: 12vw;
  }

  .hero-title {
    font-size: clamp(55px, 17vw, 90px);
  }

  .hero-copy {
    font-size: 12px;
  }

  .intro,
  .products-section,
  .newsletter {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .section-header {
    align-items: flex-start;

    flex-direction: column;

    gap: 25px;
  }

  .products {
    grid-template-columns: 1fr 1fr;
  }

  .product-image {
    aspect-ratio: 0.7;
  }

  .product-info {
    display: block;
  }

  .product-price {
    display: block;

    margin-top: 8px;
  }

  .quick-add {
    display: none;
  }

  .statement {
    min-height: 65vh;
  }

  .statement-top {
    font-size: 8px;
  }

  .editorial-image {
    min-height: 55vh;
  }

  .editorial-content {
    min-height: 570px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;

    gap: 40px 20px;
  }

  .footer-logo {
    font-size: 70px;
  }

  .footer-bottom {
    gap: 15px;

    flex-direction: column;
  }
}