:root {
  --bg: #ffffff;
  --bg-2: #f8f4ee;
  --bg-3: #efe8dc;
  --gold: #b8942c;
  --gold-2: #8d6d1f;
  --gold-dim: #8a7020;
  --ivory: #1c1612;
  --muted: #6f6458;
  --maroon: #6e1c28;
  --line: rgba(184, 148, 44, 0.28);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
  --script: "Great Vibes", cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 4000;
  border-radius: 50%; transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor {
  width: 36px; height: 36px;
  border: 1px solid var(--gold-2);
  transition: width .25s, height .25s, background .25s;
}
.cursor-dot { width: 6px; height: 6px; background: var(--gold); }
.cursor.hover { width: 64px; height: 64px; background: rgba(201,162,39,.12); }
@media (pointer: coarse) { .cursor, .cursor-dot { display: none; } body { cursor: auto; } }

/* LOADER */
.page-loader {
  position: fixed; inset: 0; z-index: 5000;
  background: #ffffff; display: grid; place-items: center;
  transition: opacity .8s ease, visibility .8s;
}
.page-loader.done { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.script { font-family: var(--script); font-size: 64px; color: var(--gold-2); }
.gold-line { width: 0; height: 1px; background: var(--gold); margin: 12px auto 16px; animation: grow 1.4s ease forwards; }
@keyframes grow { to { width: 160px; } }
.loader-inner p { letter-spacing: .28em; text-transform: uppercase; font-size: 10px; color: var(--muted); }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px;
  color: #fff;
  transition: background .4s, color .4s, padding .4s, box-shadow .4s;
}
.nav.scrolled {
  color: var(--ivory);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(28,22,18,.06);
  padding: 14px 40px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 28px; height: 28px; border: 1px solid var(--gold);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 14px; color: var(--gold);
}
.logo-word { letter-spacing: .22em; font-size: 12px; font-weight: 500; }
.nav-links { display: flex; gap: 32px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--gold); transition: width .35s;
}
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid transparent; background: transparent; color: inherit;
  display: grid; place-items: center; position: relative;
}
.icon-btn:hover { border-color: var(--line); }
.cart-count {
  position: absolute; top: 6px; right: 6px;
  background: var(--gold); color: #111; font-size: 9px;
  width: 14px; height: 14px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 600;
}
.nav-toggle { display: none; background: none; border: 0; width: 28px; }
.nav-toggle span { display: block; height: 1px; background: currentColor; margin: 7px 0; }

/* HERO */
.hero-pin { height: 100vh; position: relative; }
.hero-sticky {
  position: relative; height: 100vh; overflow: hidden;
}
.hero-stage {
  position: absolute; inset: 0;
  background: #111;
}
.hero-stage video {
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(8,6,5,.42) 100%),
    linear-gradient(180deg, rgba(8,6,5,.22) 0%, transparent 35%, rgba(8,6,5,.58) 100%);
  pointer-events: none;
}
.hero-grain, .hero-gold-edge { display: none; }
.hero-copy {
  position: absolute; left: 56px; bottom: 90px; max-width: 640px; z-index: 3;
  color: #fff;
}
.hero-copy .eyebrow { color: #e8d5a3; }
.hero-copy .lede { color: rgba(255,255,255,.82); }
.hero-copy h1 em { color: #f3e4b8; }
.hero-copy .btn-ghost { color: #fff; border-color: rgba(255,255,255,.75); }
.eyebrow {
  font-size: 11px; letter-spacing: .38em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.hero-copy h1 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 78px);
  line-height: .95; letter-spacing: -0.02em;
}
.hero-copy h1 em { font-style: italic; color: #f3e4b8; }
.hero-copy .lede { margin-top: 22px; color: rgba(255,255,255,.82); max-width: 460px; line-height: 1.7; font-size: 15px; }
.lede { margin-top: 22px; color: var(--muted); max-width: 460px; line-height: 1.7; font-size: 15px; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.scroll-hint {
  position: absolute; right: 48px; bottom: 48px; z-index: 3;
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-2);
}
.scroll-bar { width: 80px; height: 1px; background: rgba(255,255,255,.15); margin-top: 10px; }
.scroll-bar i { display: block; height: 100%; width: 0; background: var(--gold); }

.btn-gold {
  background: var(--gold); color: #140f0c; border: 0;
  padding: 14px 26px; letter-spacing: .16em; text-transform: uppercase;
  font-size: 11px; font-weight: 500;
  position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,162,39,.28); }
.btn-gold.full { width: 100%; }
.btn-ghost {
  border: 1px solid var(--gold); color: var(--gold-2); padding: 14px 26px;
  letter-spacing: .16em; text-transform: uppercase; font-size: 11px;
  background: transparent;
}
.btn-ghost:hover { background: rgba(201,162,39,.08); }

/* MARQUEE */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 14px 0; background: var(--bg-2); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: slide 32s linear infinite; }
.marquee span { letter-spacing: .32em; text-transform: uppercase; font-size: 11px; color: var(--gold); }
@keyframes slide { to { transform: translateX(-50%); } }

/* SECTIONS */
.section { padding: 110px 56px; }
.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head.split { display: flex; justify-content: space-between; align-items: end; max-width: none; }
.section-head h2, .bridal-copy h2, .story-text h2, .newsletter h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05;
}
.sub { margin-top: 14px; color: var(--muted); line-height: 1.7; }
.text-link { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 4px; }

/* CATEGORY 3D GRID */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  perspective: 1200px;
}
.cat-card {
  position: relative; height: 280px; overflow: hidden;
  transform-style: preserve-3d;
  background: var(--bg-3);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s;
}
.cat-card img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.15) contrast(1.05);
  transition: transform .8s ease, filter .5s;
}
.cat-card:hover img { transform: scale(1.1); filter: grayscale(0) contrast(1.08); }
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8,6,5,.85) 100%);
}
.cat-meta {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2;
  color: #fff;
}
.cat-meta h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; color: #fff; }
.cat-meta span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #f3e4b8; }
.cat-card.wide { grid-column: span 2; height: 340px; }
.cat-card.tall { grid-row: span 2; height: auto; min-height: 580px; }

/* PRODUCTS */
.product-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product {
  position: relative;
}
.product-visual {
  position: relative; overflow: hidden; background: var(--bg-3);
  aspect-ratio: 3/4;
  border: 1px solid var(--line);
  transform-style: preserve-3d;
}
.product-visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease;
}
.product:hover .product-visual img { transform: scale(1.06); }
.product-actions {
  position: absolute; inset: auto 16px 16px 16px;
  display: flex; gap: 8px; opacity: 0; transform: translateY(10px);
  transition: .35s ease;
}
.product:hover .product-actions { opacity: 1; transform: none; }
.chip {
  flex: 1; background: rgba(12,10,9,.72); backdrop-filter: blur(8px);
  border: 1px solid var(--line); color: #fff;
  padding: 10px 8px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
}
.chip.gold { background: var(--gold); color: #140f0c; border-color: var(--gold); }
.product-info { padding: 16px 4px 0; }
.product-info h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ivory); }
.product-info p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.price { color: var(--gold-2); margin-top: 8px; letter-spacing: .06em; }

/* BRIDAL */
.bridal-band {
  display: grid; grid-template-columns: 1.15fr .85fr; min-height: 80vh;
  background: var(--bg-2);
}
.bridal-visual { position: relative; overflow: hidden; }
.bridal-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 520px; }
.bridal-3d-shine {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(232,213,163,.12) 48%, transparent 62%);
  animation: shine 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine { 0%,100% { transform: translateX(-20%); } 50% { transform: translateX(20%); } }
.bridal-copy { padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; }
.bridal-copy p { color: var(--muted); line-height: 1.8; margin: 22px 0 32px; max-width: 420px; }

/* STORY */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-text p { color: var(--muted); line-height: 1.8; margin-top: 18px; }
.stats { display: flex; gap: 36px; margin-top: 40px; }
.stats strong { display: block; font-family: var(--serif); font-size: 40px; color: var(--gold); }
.stats span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tilt-wrap { perspective: 1000px; }
.tilt-card {
  width: 100%; height: 520px; object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px rgba(0,0,0,.45);
  transform-style: preserve-3d;
}

/* NEWSLETTER */
.newsletter {
  margin: 0 56px 110px; padding: 90px 40px; text-align: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(12,10,9,.35), rgba(12,10,9,.7)),
    url("../images/texture-zari.jpg") center/cover;
  border: 1px solid var(--line);
}
.newsletter h2 { color: #fff; }
.newsletter .script { font-family: var(--script); font-size: 42px; color: #f3e4b8; }
.nl-form { display: flex; justify-content: center; gap: 0; margin-top: 28px; max-width: 520px; margin-left: auto; margin-right: auto; }
.nl-form input {
  flex: 1; background: rgba(12,10,9,.7); border: 1px solid var(--line);
  color: var(--ivory); padding: 14px 18px; outline: none;
}

/* FOOTER */
.footer { border-top: 1px solid var(--line); padding: 60px 56px 30px; }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot-top p { color: var(--muted); margin-top: 14px; max-width: 280px; line-height: 1.7; font-size: 14px; }
.foot-top h4 { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.foot-top a { display: block; color: var(--muted); margin: 8px 0; font-size: 14px; }
.foot-top a:hover { color: var(--ivory); }
.foot-bot { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* DRAWERS */
.search-overlay, .cart-drawer, .modal, .backdrop {
  position: fixed; z-index: 2000;
}
.search-overlay {
  inset: 0; background: rgba(255,255,255,.96);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .4s;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay input {
  width: min(680px, 86vw); background: transparent; border: 0; border-bottom: 1px solid var(--gold);
  color: var(--ivory); font-family: var(--serif); font-size: 36px; text-align: center; outline: none; padding: 12px;
}
.search-overlay .hint { margin-top: 16px; color: var(--muted); letter-spacing: .12em; font-size: 12px; }
.close-x {
  position: absolute; top: 24px; right: 28px; background: none; border: 0; color: var(--ivory); font-size: 36px;
}
.cart-drawer {
  top: 0; right: 0; width: min(420px, 100%); height: 100%;
  background: #ffffff; border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .45s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: none; }
.drawer-head, .drawer-foot { padding: 24px; border-bottom: 1px solid var(--line); }
.drawer-foot { border-bottom: 0; border-top: 1px solid var(--line); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head h3 { font-family: var(--serif); font-size: 28px; }
.drawer-body { flex: 1; overflow: auto; padding: 16px 24px; }
.empty { color: var(--muted); padding: 40px 0; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; margin-bottom: 18px; align-items: center; }
.cart-line img { width: 72px; height: 92px; object-fit: cover; }
.total { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 14px; }
.backdrop { inset: 0; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: .3s; }
.backdrop.open { opacity: 1; visibility: visible; }

.modal {
  inset: 0; display: grid; place-items: center; background: rgba(8,6,5,.82);
  opacity: 0; visibility: hidden; transition: .35s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-card {
  width: min(920px, 92vw); background: var(--bg-2); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; max-height: 88vh; overflow: auto;
}
.modal-card img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.modal-info { padding: 36px; }
.modal-info h3 { font-family: var(--serif); font-size: 36px; }
.sizes { display: flex; gap: 8px; margin: 18px 0; }
.sizes button {
  width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; color: var(--ivory);
}
.sizes button.on { border-color: var(--gold); color: var(--gold); }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-row { grid-template-columns: repeat(2, 1fr); }
  .cat-card.wide, .cat-card.tall { grid-column: span 1; grid-row: span 1; height: 280px; min-height: 0; }
  .bridal-band, .story-grid, .foot-top, .modal-card { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { padding: 16px 18px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; color: inherit; }
  .section, .footer { padding-left: 20px; padding-right: 20px; }
  .hero-copy { left: 20px; right: 20px; bottom: 80px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .newsletter { margin: 0 20px 80px; }
  body { cursor: auto; }
}