/* ================= ROOT VARIABLES ================= */

:root {
  --espresso: #211a17;
  --cream: #f7f2eb;
  --beige: #e8dccf;
  --gold: #b8955a;
  --charcoal: #302b28;
  --white: #ffffff;
  --muted: #8d8178;

  --heading-font: "Playfair Display", serif;
  --body-font: "DM Sans", sans-serif;
}


/* ================= RESET ================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--body-font);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

img {
  display: block;
  width: 100%;
}


/* ================= INTRO SCREEN ================= */

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: grid;
  place-items: center;

  background: var(--espresso);
  color: var(--cream);

  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.intro-screen.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-content {
  text-align: center;
  animation: introReveal 1.2s ease forwards;
}

.intro-small {
  display: block;
  margin-bottom: 20px;

  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 5px;
}

.intro-content h1 {
  font-family: var(--heading-font);
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 400;
  line-height: 0.95;
}

.intro-content h1 em {
  color: var(--gold);
  font-weight: 400;
}

.intro-line {
  width: 70px;
  height: 1px;
  margin: 28px auto 20px;
  background: var(--gold);
}

.intro-content p {
  color: var(--beige);
  font-size: 12px;
  letter-spacing: 2px;
}

@keyframes introReveal {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ================= HEADER ================= */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;

  width: 100%;
  padding: 30px 6vw;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: var(--cream);
}

.brand-logo {
  font-family: var(--heading-font);
  font-size: 25px;
  line-height: 1;
}

.brand-logo span {
  display: block;
  margin-top: 5px;

  color: var(--gold);
  font-family: var(--body-font);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 35px;
}

.desktop-nav a {
  position: relative;
  font-size: 12px;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.desktop-nav a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -8px;

  width: 0;
  height: 1px;

  background: var(--gold);
  transition: width 0.3s ease;
}

.desktop-nav a:hover {
  color: var(--gold);
}

.desktop-nav a:hover::after {
  width: 100%;
}

.header-cta {
  padding: 12px 18px;

  border: 1px solid rgba(247, 242, 235, 0.5);

  font-size: 11px;
  letter-spacing: 1px;

  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.header-cta:hover {
  background: var(--cream);
  color: var(--espresso);
}

.header-cta span {
  color: var(--gold);
}

.menu-toggle {
  display: none;

  border: 0;
  background: transparent;
  color: var(--cream);

  font-size: 26px;
}


/* ================= MOBILE MENU ================= */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;

  z-index: 500;

  width: min(85%, 360px);
  height: 100vh;
  padding: 100px 35px 40px;

  background: var(--espresso);
  color: var(--cream);

  transition: right 0.4s ease;
}

.mobile-menu.open {
  right: 0;
}

.mobile-close {
  position: absolute;
  top: 25px;
  right: 25px;

  border: 0;
  background: transparent;
  color: var(--cream);

  font-size: 32px;
}

.mobile-menu-label {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 45px;
}

.mobile-menu nav a {
  font-family: var(--heading-font);
  font-size: 35px;
}

.mobile-menu p {
  position: absolute;
  bottom: 40px;

  max-width: 220px;

  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}


/* ================= HERO SECTION ================= */

.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 150px 6vw 80px;

  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 70px;

  overflow: hidden;
  background: var(--espresso);
  color: var(--cream);
}

.hero-section::before {
  content: "MIMO’S";

  position: absolute;
  right: -35px;
  bottom: -65px;

  color: transparent;
  font-family: var(--heading-font);
  font-size: clamp(150px, 24vw, 400px);
  line-height: 1;

  -webkit-text-stroke: 1px rgba(247, 242, 235, 0.07);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
}

.eyebrow::before {
  content: "";
  width: 35px;
  height: 1px;
  background: var(--gold);
}

.hero-copy h1 {
  margin: 28px 0;

  font-family: var(--heading-font);
  font-size: clamp(60px, 7vw, 108px);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: -4px;
}

.hero-copy h1 em {
  color: var(--gold);
  font-weight: 400;
}

.hero-copy p {
  max-width: 330px;
  margin-bottom: 35px;

  color: #c7bbb1;
  font-size: 14px;
  line-height: 1.9;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  padding: 17px 22px;

  background: var(--gold);
  color: var(--espresso);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.primary-btn:hover {
  background: var(--cream);
  transform: translateY(-4px);
}

.primary-btn span {
  font-size: 18px;
}


/* ================= HERO IMAGE ================= */

.hero-visual {
  position: relative;
  z-index: 2;

  width: min(100%, 590px);
  margin-left: auto;
}

.hero-image-frame {
  position: relative;

  height: 680px;
  overflow: hidden;

  background: var(--beige);
}

.hero-image-frame::before {
  content: "MIMO’S COLLECTION";

  position: absolute;
  top: 25px;
  left: 25px;
  z-index: 2;

  color: var(--cream);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  writing-mode: vertical-rl;

  opacity: 0.85;
}

.hero-image-frame::after {
  content: "";

  position: absolute;
  inset: 14px;

  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.8s ease;
}

.hero-image-frame:hover img {
  transform: scale(1.05);
}


/* ================= FLOATING FEATURE CARD ================= */

.hero-floating-card {
  position: absolute;
  left: -45px;
  bottom: 35px;

  width: 155px;
  padding: 24px;

  background: var(--cream);
  color: var(--espresso);

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.hero-floating-card span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero-floating-card p {
  margin-top: 15px;

  font-family: var(--heading-font);
  font-size: 24px;
  line-height: 1.05;
}


/* ================= SIDE LABEL ================= */

.hero-side-text {
  position: absolute;
  right: -85px;
  top: 50%;

  transform: rotate(90deg);

  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 4px;
}

@media (max-width: 1000px) {

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-section {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .hero-copy h1 {
    font-size: clamp(52px, 7vw, 80px);
  }

  .hero-image-frame {
    height: 570px;
  }

  .hero-side-text {
    display: none;
  }

}


@media (max-width: 700px) {

  .hero-section {
    min-height: auto;
    padding: 145px 25px 70px;

    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero-copy h1 {
    font-size: clamp(60px, 17vw, 100px);
    letter-spacing: -2px;
  }

  .hero-visual {
    width: 90%;
    margin: auto;
  }

  .hero-image-frame {
    height: 500px;
  }

  .hero-floating-card {
    left: -15px;
    bottom: 20px;
  }

}


/* ================= HERO VISUAL ================= */

.hero-visual {
  position: relative;
  z-index: 2;

  max-width: 590px;
  margin-left: auto;
}

.hero-image-frame {
  position: relative;

  width: 100%;
  height: 650px;

  overflow: hidden;

  background: var(--beige);
}

.hero-image-frame::after {
  content: "";

  position: absolute;
  inset: 15px;

  border: 1px solid rgba(255, 255, 255, 0.45);

  pointer-events: none;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.8s ease;
}

.hero-image-frame:hover img {
  transform: scale(1.04);
}

.hero-floating-card {
  position: absolute;
  left: -35px;
  bottom: 35px;

  width: 145px;
  padding: 22px;

  background: var(--cream);
  color: var(--espresso);

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.hero-floating-card span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero-floating-card p {
  margin-top: 15px;

  font-family: var(--heading-font);
  font-size: 23px;
  line-height: 1.1;
}

.hero-side-text {
  position: absolute;
  right: -85px;
  top: 50%;

  transform: rotate(90deg);

  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 4px;
}


/* ================= STATEMENT SECTION ================= */

.statement-section {
  padding: 150px 10vw;

  background: var(--cream);
  text-align: center;
}

.statement-section h2 {
  margin: 35px auto;

  font-family: var(--heading-font);
  font-size: clamp(40px, 5vw, 75px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -2px;
}

.statement-section h2 em {
  color: var(--gold);
}

.statement-section p {
  max-width: 500px;
  margin: auto;

  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}


/* ================= COLLECTION SECTION ================= */

.collection-section {
  padding: 120px 6vw;

  background: var(--beige);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;

  margin-bottom: 60px;
}

.section-heading h2 {
  margin-top: 20px;

  font-family: var(--heading-font);
  font-size: clamp(45px, 5vw, 75px);
  font-weight: 400;
  line-height: 0.95;
}

.section-heading h2 em {
  color: var(--gold);
}

.section-heading > p {
  max-width: 260px;

  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}


/* ================= CONTACT ================= */

.contact-section {
  padding: 130px 8vw;

  background: var(--espresso);
  color: var(--cream);
  text-align: center;
}

.contact-section h2 {
  margin: 30px 0;

  font-family: var(--heading-font);
  font-size: clamp(45px, 6vw, 85px);
  font-weight: 400;
  line-height: 1;
}

.contact-section p {
  max-width: 430px;
  margin: 0 auto 35px;

  color: #bfb2a8;
  font-size: 14px;
  line-height: 1.8;
}


/* ================= FOOTER ================= */

.site-footer {
  padding: 70px 6vw 25px;

  background: #17110f;
  color: var(--cream);
}

.footer-brand h2 {
  font-family: var(--heading-font);
  font-size: 50px;
  font-weight: 400;
  line-height: 0.95;
}

.footer-brand h2 em {
  color: var(--gold);
}

.footer-brand p {
  margin-top: 20px;

  color: var(--muted);
  font-size: 12px;
}

.footer-network {
  margin-top: 65px;
  padding-top: 25px;

  border-top: 1px solid rgba(247, 242, 235, 0.15);
}

.footer-network span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.footer-network p {
  margin-top: 12px;

  color: var(--muted);
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;

  margin-top: 50px;
  padding-top: 20px;

  border-top: 1px solid rgba(247, 242, 235, 0.15);

  color: #716760;
  font-size: 10px;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1000px) {

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-section {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .hero-copy h1 {
    font-size: clamp(55px, 7vw, 80px);
  }

  .hero-image-frame {
    height: 570px;
  }

  .hero-side-text {
    display: none;
  }

}


@media (max-width: 700px) {

  .site-header {
    padding: 25px;
  }

  .hero-section {
    min-height: auto;
    padding: 145px 25px 70px;

    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero-copy h1 {
    font-size: clamp(60px, 17vw, 100px);
    letter-spacing: -2px;
  }

  .hero-visual {
    width: 90%;
    margin: auto;
  }

  .hero-image-frame {
    height: 500px;
  }

  .hero-floating-card {
    left: -15px;
    bottom: 20px;
  }

  .statement-section {
    padding: 100px 25px;
  }

  .statement-section h2 {
    font-size: 42px;
  }

  .collection-section {
    padding: 90px 25px;
  }

  .section-heading {
    display: block;
    margin-bottom: 40px;
  }

  .section-heading > p {
    margin-top: 25px;
  }

  .contact-section {
    padding: 100px 25px;
  }

  .footer-bottom {
    flex-direction: column;
  }

}


@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

}

/* ================= PRODUCT COLLECTION ================= */

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 55px 28px;
}

.product-card {
  min-width: 0;
}

.product-card:nth-child(even) {
  margin-top: 90px;
}

.product-image {
  position: relative;
  height: 350px;
  overflow: hidden;
  background: var(--cream);
}

.product-card:nth-child(3n) .product-image {
  height: 200px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-number {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;

  padding: 8px 11px;

  background: var(--cream);
  color: var(--espresso);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.product-info {
  padding: 22px 0;
}

.product-category {
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}

.product-info h3 {
  margin: 12px 0 20px;

  color: var(--espresso);
  font-family: var(--heading-font);
  font-size: 30px;
  font-weight: 400;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.product-bottom strong {
  color: var(--espresso);
  font-size: 17px;
  font-weight: 700;
}

.product-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;

  padding: 12px 15px;

  border: 1px solid var(--espresso);
  background: transparent;
  color: var(--espresso);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;

  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.product-order-btn:hover {
  background: var(--espresso);
  color: var(--cream);
}

.product-order-btn span {
  color: var(--gold);
  font-size: 16px;
}


/* ================= PRODUCT RESPONSIVE ================= */

@media (max-width: 700px) {

  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px 12px;
  }

  .product-card:nth-child(even) {
    margin-top: 0;
  }

  .product-image,
  .product-card:nth-child(3n) .product-image {
    height: 180px;
  }

  .product-info {
    padding: 15px 0;
  }

  .product-category {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .product-info h3 {
    font-size: 20px;
    margin: 8px 0 14px;
  }

  .product-bottom {
    gap: 8px;
  }

  .product-bottom strong {
    font-size: 13px;
  }

  .product-order-btn {
    padding: 9px 10px;
    gap: 8px;
    font-size: 8px;
  }

  .product-order-btn span {
    font-size: 13px;
  }

}



/* ================= PRODUCT DESIGN COUNT ================= */

.product-image {
  position: relative;
}

.design-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  background: var(--espresso);
  color: var(--cream);
  font-size: 10px;
  letter-spacing: 1px;
}

/* ================= CART BUTTON ================= */

.cart-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 400;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 15px 20px;
  border: 1px solid var(--gold);
  background: var(--espresso);
  color: var(--cream);

  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

.cart-count {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--espresso);
}

/* ================= SHOP OVERLAYS ================= */

.shop-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 20px;
  background: rgba(20, 15, 13, 0.75);
  backdrop-filter: blur(5px);
}

.shop-overlay.show {
  display: flex;
}

body.shop-open {
  overflow: hidden;
}

.shop-modal {
  position: relative;
  width: min(100%, 900px);
  max-height: 90vh;
  overflow-y: auto;

  padding: 35px;
  background: var(--cream);
  color: var(--espresso);
}

.shop-close {
  position: sticky;
  float: right;
  top: 0;
  z-index: 5;

  width: 38px;
  height: 38px;
  margin: -10px -10px 10px 10px;

  border: 1px solid var(--beige);
  background: var(--cream);
  color: var(--espresso);
  font-size: 26px;
}

.shop-modal h2 {
  clear: both;
  margin: 15px 0;
  font-family: var(--heading-font);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 400;
}

#designPrice {
  margin-bottom: 25px;
  color: var(--muted);
}

/* ================= DESIGN SELECTION GRID ================= */

.design-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.design-option {
  min-width: 0;
  border: 1px solid var(--beige);
  background: #fff;
}

.design-option img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.design-option-info {
  display: grid;
  gap: 10px;
  padding: 12px;
  font-size: 11px;
}

.design-option-info span {
  font-weight: 700;
}

.design-add-btn,
.checkout-btn {
  padding: 12px;
  border: 1px solid var(--espresso);
  background: var(--espresso);
  color: var(--cream);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.design-add-btn.added {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--espresso);
}

/* ================= CART ITEMS ================= */

.cart-modal {
  width: min(100%, 760px);
}

#cartItems {
  margin-top: 25px;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;

  padding: 20px 0;
  border-bottom: 1px solid var(--beige);
}

.cart-item > img {
  width: 90px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.cart-item-details h3 {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 400;
}

.cart-item-details p {
  margin: 7px 0;
  color: var(--muted);
  font-size: 11px;
}

.cart-item-details > strong {
  font-size: 13px;
}

.cart-line-total {
  font-size: 12px;
  white-space: nowrap;
}

.quantity-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.quantity-controls button {
  min-width: 28px;
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid var(--beige);
  background: transparent;
  color: var(--espresso);
}

.quantity-controls .remove-item {
  border: 0;
  color: #a13e32;
  text-decoration: underline;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 25px;
  padding: 20px 0;
  border-top: 1px solid var(--gold);
  font-size: 15px;
}

.cart-total strong {
  font-size: 20px;
}

.checkout-btn {
  width: 100%;
  padding: 17px;
  background: var(--gold);
  color: var(--espresso);
  border-color: var(--gold);
}

.checkout-btn:hover,
.design-add-btn:hover {
  opacity: 0.85;
}

.cart-note {
  margin-top: 15px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

.empty-cart {
  padding: 35px 10px;
  text-align: center;
  color: var(--muted);
}

.continue-shopping {
  margin-top: 20px;
  padding: 12px 18px;
  border: 1px solid var(--espresso);
  background: transparent;
  color: var(--espresso);
}

/* ================= MOBILE SHOPPING ================= */

@media (max-width: 700px) {
  .shop-overlay {
    padding: 10px;
  }

  .shop-modal {
    max-height: 94vh;
    padding: 22px 16px;
  }

  .design-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .design-option-info {
    padding: 9px;
    gap: 8px;
  }

  .design-add-btn {
    padding: 10px 5px;
    font-size: 10px;
  }

  .cart-toggle {
    right: 14px;
    bottom: 14px;
    padding: 12px 15px;
  }

  .cart-item {
    grid-template-columns: 65px minmax(0, 1fr);
    gap: 12px;
  }

  .cart-item > img {
    width: 65px;
  }

  .cart-line-total {
    grid-column: 2;
  }

  .cart-item-details h3 {
    font-size: 16px;
  }

  .quantity-controls {
    gap: 7px;
  }
}
