@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Montserrat:wght@200;300;400;500&display=swap');

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

:root {
  --black: #090909;
  --dark: #111111;
  --dark2: #181818;
  --gold: #c9a84c;
  --gold-light: #e8c96b;
  --gold-dim: #7a6030;
  --white: #f0ece4;
  --grey: #5a5a5a;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--black);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ---- KINTSUGI BACKGROUND VEINS ---- */
.gold-lines-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 5%;
  background: linear-gradient(to bottom, rgba(9,9,9,0.97), transparent);
  transition: background 0.3s;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.4rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}
.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.3s, color 0.3s;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; color: var(--gold); }
.nav-cta {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  padding: 0.6rem 1.4rem;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.nav-cta:hover { background: var(--gold); color: var(--black); }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  color: var(--black);
  padding: 1rem 2.8rem;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s, transform 0.3s;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-ghost {
  display: inline-block;
  color: var(--white);
  padding: 1rem 2.8rem;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(240,236,228,0.2);
  transition: border-color 0.3s, color 0.3s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---- SECTION SHARED ---- */
section { position: relative; z-index: 1; }
.section-label {
  font-size: 0.55rem;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.section-title em { font-style: italic; color: var(--gold); }
.gold-rule {
  width: 50px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 1.8rem 0;
}

/* ---- PAGE HEADER (inner pages) ---- */
.page-header {
  position: relative;
  z-index: 1;
  padding: 14rem 5% 6rem;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}
.page-header .section-label { margin-bottom: 1rem; }
.page-header .section-title { font-size: clamp(3rem, 7vw, 5.5rem); }



/* ---- STATS BAR ---- */
.stats {
  padding: 4rem 5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  background: var(--dark);
  position: relative;
  z-index: 1;
}
.stat-item {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(201,168,76,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.5rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(240,236,228,0.35);
  margin-top: 0.7rem;
}

/* ---- FOOTER ---- */
footer {
  position: relative;
  z-index: 1;
  padding: 4rem 5% 2rem;
  border-top: 1px solid rgba(201,168,76,0.1);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand .nav-logo {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 1.2rem;
}
.footer-brand p {
  font-size: 0.62rem;
  line-height: 1.9;
  color: rgba(240,236,228,0.3);
  max-width: 260px;
}
.footer-col h4 {
  font-size: 0.52rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
  font-size: 0.62rem;
  color: rgba(240,236,228,0.35);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  position: relative;
  z-index: 1;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-bottom p {
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  color: rgba(240,236,228,0.18);
  text-transform: uppercase;
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

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

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 768px) {

  /* NAV */
  nav {
    padding: 1.4rem 5%;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(9,9,9,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 150;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
  }
  .nav-cta {
    display: none;
  }

  /* HERO */
  .hero-title {
    font-size: clamp(3rem, 15vw, 5rem) !important;
  }
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }

  /* COLLECTIONS GRID */
  .collections-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .collections-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .collection-card {
    aspect-ratio: 4/3;
  }

  /* STATS */
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(201,168,76,0.08);
  }
  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(201,168,76,0.08);
  }
  .stat-number {
    font-size: 2.2rem;
  }

  /* FOOTER */
  footer {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  /* PAGE HEADER */
  .page-header {
    padding: 10rem 5% 4rem;
  }

  /* BUTTONS */
  .btn-primary, .btn-ghost {
    padding: 0.9rem 2rem;
    text-align: center;
    width: 100%;
  }
}

/* ==============================
   MOBILE FIXES — ALL PAGES
   ============================== */
@media (max-width: 768px) {

  /* BESPOKE PAGE */
  .bespoke-intro {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
    padding: 3rem 5% !important;
  }
  .bespoke-visual {
    aspect-ratio: 4/3 !important;
  }
  .options-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .bespoke-cta-steps {
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
  }
  .cta-step-line { display: none !important; }

  /* COLLECTIONS PAGE */
  .filter-wrap {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.8rem !important;
  }
  .compare-hint { display: none !important; }
  .collections-grid {
    grid-template-columns: 1fr !important;
  }
  .collection-card {
    aspect-ratio: 3/4 !important;
  }
  .qv-panel {
    grid-template-columns: 1fr !important;
  }
  .qv-visual { min-height: 220px !important; }
  .compare-drawer {
    flex-direction: column !important;
    gap: 1rem !important;
  }
  .compare-slots { flex-direction: column !important; }
  .compare-slot { max-width: 100% !important; }
  .cmp-panel { padding: 2rem 1rem !important; }
  .cmp-row { grid-template-columns: 1fr 1fr !important; }
  .cmp-cell.label { display: none !important; }

  /* SECTION LABEL spacing */
  .section-label { letter-spacing: 0.3em !important; }
}
