/* MEGUMU JEWELRY — TOP page
   Applies to: /index.html
   Common rules: /css/style.css
   Edit here: TOP layout, COLLECTION / ABOUT / PAIR cards, mobile hero.
*/

/* 01. Navigation cards — shared by COLLECTION, ABOUT and PAIR */
.top-entries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 30px);
  margin-top: clamp(26px, 4vw, 54px);
  margin-bottom: clamp(35px, 5vw, 70px);
}

.top-entry {
  display: grid;
  grid-template-columns: minmax(90px, 34%) minmax(0, 1fr) 18px;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  padding: 12px 16px 12px 12px;
  border-top: 1px solid #dededb;
  border-bottom: 1px solid #dededb;
  color: inherit;
  text-decoration: none;
  min-height: 140px;
}

.top-entry img {
  width: 100%;
  height: 116px;
  object-fit: cover;
  background: #f7f7f5;
}

.top-entry .section-label {
  font-size: .68rem;
  letter-spacing: .13em;
}

.top-entry h2 {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  margin: 9px 0 5px;
}

.top-entry p {
  font-size: .82rem;
  line-height: 1.8;
  margin: 0;
}

.top-entry-arrow {
  font-size: 1.1rem;
  align-self: center;
}

/* 02. COLLECTION card — wide on desktop, same width as other cards on mobile */
.top-entry--collection {
  width: 100%;
  margin-top: 1.2rem;
  grid-template-columns: minmax(0, 38%) minmax(0, 1fr) 18px;
  min-height: 200px;
}

.top-entry--collection img {
  height: 176px;
  object-position: center;
}

/* 03. TOP-specific spacing */
body > main > .hero {
  width: min(1100px, 90vw);
}

body > main > .brand-message {
  padding: clamp(55px, 7vw, 105px) 0 clamp(50px, 6vw, 90px);
}

body > main > .brand-message .section-label {
  margin-bottom: 1.4rem;
}

body > main > .brand-message .message-text {
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.9;
}

body > main > .brand-message .message-text p {
  margin-bottom: 1rem;
}

body > main > .collection {
  padding: clamp(24px, 4vw, 54px) 0 clamp(24px, 4vw, 54px);
}

body > main > .collection .section-heading {
  margin-bottom: 1.5rem;
}

body > main > .collection .section-label {
  margin-bottom: .65rem;
}

body > main > .contact-shop {
  padding: 1.7rem 5vw;
}

/* 04. TOP-specific hero typography */
body > main > .hero .hero-copy h1 {
  font-size: clamp(26px, 2.7vw, 36px);
  line-height: 1.65;
  letter-spacing: .12em;
}

/* 05. Mobile overrides: one breakpoint and one place to edit */
@media (max-width: 700px) {
  .top-entries {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
    margin-bottom: 36px;
  }

  .top-entry {
    min-height: 112px;
    grid-template-columns: 110px minmax(0, 1fr) 18px;
  }

  .top-entry img {
    height: 100px;
  }

  .top-entry--collection {
    min-height: 112px;
    grid-template-columns: 110px minmax(0, 1fr) 18px;
    margin-top: 1rem;
  }

  .top-entry--collection img {
    height: 100px;
  }

  body > main > .brand-message {
    padding: 52px 0 48px;
  }

  body > main > .brand-message .message-text {
    font-size: 14px;
    line-height: 1.9;
  }

  body > main > .collection {
    padding: 25px 0 30px;
  }

  body > main > .hero .hero-copy {
    left: 6%;
    top: 30%;
    bottom: auto;
    transform: none;
  }

  body > main > .hero .hero-copy h1 {
    font-size: clamp(13px, 3.7vw, 16px);
    line-height: 1.45;
    letter-spacing: .055em;
    margin: 0;
  }
}
