:root {
  --bg-page: #E4ECF8;
  --navy: #1F3058;
  --blue-accent: #4368BE;
  --warm-grey: #D9D9D9;
  --trust-grey: #C9C9C9;
  --black: #000000;
  --white: #FFFFFF;
  --font-serif: 'Montagu Slab', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-barcode: 'Libre Barcode 39 Text', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-page);
  color: var(--black);
  font-family: var(--font-sans);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* =========================================
   1. Top Utility Bar
   ========================================= */
.utility-bar {
  background-color: var(--navy);
  color: var(--white);
  height: 58px;
  display: flex;
  align-items: center;
}

.utility-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
}

.utility-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.utility-link:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.utility-divider {
  width: 1px;
  height: 26px;
  background-color: rgba(255, 255, 255, 0.35);
}

/* =========================================
   2. Main Navigation
   ========================================= */
.main-nav {
  background-color: var(--bg-page);
  padding: 28px 0 18px;
}

.nav-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--black);
  transition: width 0.22s ease;
}

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

.brand-logo {
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
}

.nav-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.nav-action-btn:hover {
  opacity: 0.65;
}

.nav-action-btn img {
  width: 19px;
  height: 20px;
}

/* =========================================
   3. Hero Section
   ========================================= */
.hero {
  background-color: var(--bg-page);
  padding: 16px 0 42px;
}

.hero-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  min-height: 980px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Framed box behind model */
.hero-frame {
  position: relative;
  width: 535px;
  height: 918px;
  background-color: rgba(31, 48, 88, 0.18);
  border: 1px solid var(--black);
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-model-img {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 550px;
  max-width: none;
  height: auto;
  z-index: 3;
  pointer-events: none;
}

/* Layered Hero Wordmark */
.hero-wordmark {
  position: absolute;
  top: 41.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(96px, 14.2vw, 206px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
}

.hero-wordmark--back {
  color: var(--black);
  z-index: 1;
}

.hero-wordmark--front {
  color: transparent;
  -webkit-text-stroke: 2.2px var(--white);
  z-index: 4;
}

/* Editorial Side Captions */
.hero-caption-left {
  position: absolute;
  left: 96px;
  top: 205px;
  z-index: 5;
}

.hero-caption-right {
  position: absolute;
  right: 78px;
  bottom: 245px;
  z-index: 5;
}

.hero-caption-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.hero-caption-line {
  width: 44px;
  height: 1px;
  background-color: var(--black);
  margin-top: 12px;
}

/* Bottom Left CTA */
.hero-cta-group {
  position: absolute;
  left: 78px;
  bottom: 84px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 36px;
}

.btn-black {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--black);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  padding: 18px 34px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-black:hover {
  background-color: var(--navy);
  transform: translateY(-1px);
}

.hero-explore-link {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--black);
  transition: opacity 0.2s ease;
}

.hero-explore-link:hover {
  opacity: 0.65;
}

/* =========================================
   4. Category Strip (Men / Women / Kids)
   ========================================= */
.category-strip {
  background-color: var(--navy);
  color: var(--white);
  padding: 36px 0;
}

.category-grid {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.category-card {
  display: flex;
  align-items: center;
  gap: 32px;
}

.category-thumb {
  width: 126px;
  height: 188px;
  flex-shrink: 0;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.08);
}

.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-card:hover .category-thumb img {
  transform: scale(1.05);
}

.category-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.category-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.category-desc {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  max-width: 200px;
}

.category-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  transition: gap 0.2s ease, opacity 0.2s ease;
}

.category-card:hover .category-cta {
  gap: 14px;
  opacity: 0.9;
}

/* =========================================
   5. Editorial Banner (New Vibes / Kim Mingyu)
   ========================================= */
.editorial-banner {
  background-color: var(--warm-grey);
  position: relative;
  overflow: hidden;
}

.editorial-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 68px 72px;
  min-height: 488px;
  display: flex;
  align-items: center;
  position: relative;
}

.editorial-copy {
  position: relative;
  z-index: 3;
  max-width: 480px;
}

.editorial-eyebrow {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.editorial-headline {
  font-size: clamp(46px, 4.6vw, 66px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.editorial-sub {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 32px;
  max-width: 185px;
}

.editorial-btn {
  letter-spacing: 0.17em;
  padding: 18px 28px;
}

.editorial-portrait {
  position: absolute;
  right: 255px;
  bottom: 0;
  height: 108%;
  width: auto;
  max-width: none;
  z-index: 2;
  pointer-events: none;
}

.editorial-signature {
  position: absolute;
  right: 52px;
  bottom: 24px;
  font-family: var(--font-barcode);
  font-size: 34px;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--black);
  z-index: 3;
}

/* =========================================
   6. Trust / Features Bar
   ========================================= */
.trust-bar {
  background-color: var(--trust-grey);
  padding: 36px 0;
}

.trust-grid {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.trust-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}

.trust-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
}

.trust-sub {
  font-size: 11px;
  font-weight: 500;
  color: #262626;
  margin-top: 2px;
}

/* =========================================
   7. Best Of Rêve & Co. (Product Showcase)
   ========================================= */
.products-section {
  background-color: var(--bg-page);
  padding: 56px 0 84px;
}

.products-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 44px;
}

.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.products-heading {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.view-all-link {
  font-size: 24px;
  font-weight: 600;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--black);
  transition: opacity 0.2s ease;
}

.view-all-link:hover {
  opacity: 0.65;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 38px;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-image-wrap {
  position: relative;
  background-color: var(--white);
  aspect-ratio: 445 / 485;
  overflow: hidden;
  margin-bottom: 14px;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.04);
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: rgba(217, 217, 217, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.wishlist-btn:hover {
  background-color: var(--white);
  transform: scale(1.08);
}

.wishlist-btn svg {
  width: 13px;
  height: 13px;
  stroke: var(--black);
  fill: none;
  stroke-width: 1.8;
  transition: fill 0.2s ease, stroke 0.2s ease;
}

.wishlist-btn.is-active svg {
  fill: #C62828;
  stroke: #C62828;
}

.product-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.product-price {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 2px;
}

/* =========================================
   8. Footer
   ========================================= */
.site-footer {
  background: linear-gradient(90deg, #1F3058 13.94%, #4368BE 100%);
  color: var(--white);
  padding: 36px 0 28px;
}

.footer-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 72px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.55fr repeat(4, 1fr);
  gap: 36px;
  padding-bottom: 34px;
}

.footer-brand-col {
  padding-right: 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.32);
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.05em;
  max-width: 245px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.92);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-socials a {
  display: inline-flex;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-socials img {
  width: 24px;
  height: 24px;
}

.footer-col-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-links a {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: 18px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 1200px) {
  .category-grid,
  .trust-grid,
  .footer-inner {
    padding-left: 36px;
    padding-right: 36px;
  }

  .products-grid {
    gap: 20px;
  }

  .hero-caption-left {
    left: 36px;
  }

  .hero-caption-right {
    right: 36px;
  }

  .hero-cta-group {
    left: 36px;
  }

  .editorial-portrait {
    right: 120px;
  }
}

@media (max-width: 992px) {
  .nav-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    padding: 0 24px;
  }

  .nav-links,
  .nav-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-inner {
    min-height: 760px;
    padding: 0 24px;
  }

  .hero-frame {
    width: 360px;
    height: 620px;
  }

  .hero-model-img {
    width: 380px;
  }

  .hero-caption-left,
  .hero-caption-right {
    display: none;
  }

  .hero-cta-group {
    position: static;
    margin-top: 28px;
    justify-content: center;
  }

  .hero-inner {
    flex-direction: column;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .editorial-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 24px 0;
    min-height: auto;
  }

  .editorial-portrait {
    position: static;
    height: auto;
    width: 100%;
    max-width: 420px;
    align-self: flex-end;
    margin-top: 24px;
  }

  .editorial-signature {
    right: 24px;
    bottom: 16px;
  }

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

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

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

  .footer-brand-col {
    grid-column: 1 / -1;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-right: 0;
    padding-bottom: 24px;
  }
}

@media (max-width: 560px) {
  .utility-inner {
    padding: 0 16px;
    gap: 14px;
    justify-content: center;
  }

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

  .products-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
