/* ============================================================
   ZC JEWELRY — Victorian Luxury, Reborn
   Palette: midnight ink, antique gold, ivory, mourning garnet
   ============================================================ */

:root {
  --ink:        #0e0c09;
  --ink-2:      #161310;
  --ink-3:      #1e1a14;
  --gold:       #c8a35a;
  --gold-bright:#e8cd8e;
  --gold-dim:   #8a6f3c;
  --ivory:      #f1e9d7;
  --ivory-dim:  #b9ac93;
  --muted:      #978b73;
  --garnet:     #7d2231;
  --serif:  'Cormorant Garamond', Georgia, serif;
  --caps:   'Marcellus', serif;
  --sans:   'Jost', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, .display-serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: .02em;
}
.display-xl { font-size: clamp(3.2rem, 8vw, 6.8rem); line-height: 1.02; }
.display-lg { font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: 1.1; }
.italic { font-style: italic; font-weight: 300; }
.text-gold    { color: var(--gold) !important; }
.text-gold-bright { color: var(--gold-bright) !important; }
.text-ivory   { color: var(--ivory) !important; }
.text-muted-f { color: var(--muted) !important; }

.eyebrow {
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .42em;
  font-size: .72rem;
  color: var(--gold);
}
.gold-line { color: var(--gold); }

/* Gold gradient headline */
.gold-gradient {
  background: linear-gradient(105deg, #8a6f3c 0%, #e8cd8e 30%, #c8a35a 55%, #f5e3b5 75%, #8a6f3c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Ornament ---------- */
.flourish { color: var(--gold); font-size: 1.5rem; letter-spacing: 1.2rem; padding-left: 1.2rem; }
.rule-gold {
  width: 72px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border: 0; opacity: .9;
}
.ornament-rule {
  display: flex; align-items: center; gap: 1.1rem;
  justify-content: center;
}
.ornament-rule::before, .ornament-rule::after {
  content: ""; height: 1px; width: 90px;
  background: linear-gradient(90deg, transparent, var(--gold-dim));
}
.ornament-rule::after { background: linear-gradient(90deg, var(--gold-dim), transparent); }

/* ---------- Header ---------- */
.site-header { transition: background .4s ease, box-shadow .4s ease; }
.site-header.is-solid {
  background: rgba(14,12,9,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(200,163,90,.18);
}
.brand-mark { text-decoration: none; display: inline-flex; align-items: baseline; gap: .55rem; }
.brand-initial {
  font-family: var(--caps);
  color: var(--gold-bright);
  font-size: 1.45rem;
  letter-spacing: .18em;
}
.brand-word {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ivory);
  font-size: 1.35rem;
}
.site-header .nav-link {
  font-family: var(--caps);
  text-transform: uppercase;
  font-size: .74rem;
  letter-spacing: .28em;
  color: var(--ivory-dim);
  padding: .4rem 0;
  border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s;
}
.site-header .nav-link:hover, .site-header .nav-link.active {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}
.custom-toggler { border: 0; display: flex; flex-direction: column; gap: 6px; }
.custom-toggler span { width: 30px; height: 1px; background: var(--gold); display: block; }

/* ---------- Buttons ---------- */
.btn-gold {
  background: linear-gradient(135deg, #b28c48, #e2c184);
  color: #17130c;
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  border: 0;
  padding: .9rem 2.2rem;
  transition: filter .3s, transform .3s;
}
.btn-gold:hover { filter: brightness(1.12); color: #17130c; transform: translateY(-2px); }
.btn-outline-gold {
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  background: transparent;
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  transition: all .3s;
}
.btn-outline-gold:hover { background: var(--gold); border-color: var(--gold); color: #17130c; }
.btn-ghost-line {
  border: 1px solid rgba(241,233,215,.35);
  color: var(--ivory);
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  padding: .9rem 2.2rem;
  transition: all .3s;
}
.btn-ghost-line:hover { border-color: var(--gold); color: var(--gold-bright); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('/images/hero.jpg') center 35% / cover no-repeat;
  animation: heroZoom 22s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,8,6,.9) 0%, rgba(10,8,6,.55) 45%, rgba(10,8,6,.15) 100%),
    linear-gradient(180deg, rgba(10,8,6,.6) 0%, transparent 30%, rgba(14,12,9,.95) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-fade { opacity: 0; transform: translateY(26px); animation: fadeUp 1.4s ease forwards; }
.hero-fade.d1 { animation-delay: .3s; }
.hero-fade.d2 { animation-delay: .7s; }
.hero-fade.d3 { animation-delay: 1.1s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: var(--gold); font-size: 1.4rem; z-index: 2;
  animation: pulseDown 2.2s infinite;
}
@keyframes pulseDown { 0%,100% { transform: translate(-50%,0); opacity:.7; } 50% { transform: translate(-50%,8px); opacity:1; } }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid rgba(200,163,90,.25);
  border-bottom: 1px solid rgba(200,163,90,.25);
  overflow: hidden;
  background: var(--ink-2);
  padding: .85rem 0;
}
.marquee-track {
  display: flex; gap: 3.5rem; white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .38em;
  font-size: .72rem;
  color: var(--gold);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 8.5rem) 0; }
.section-tinted { background: var(--ink-2); }
.frame-dark {
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid rgba(200,163,90,.18);
  position: relative;
}
.corner-frame { position: relative; }
.corner-frame::before, .corner-frame::after {
  content: ""; position: absolute; width: 34px; height: 34px;
  border-color: var(--gold); border-style: solid;
}
.corner-frame::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.corner-frame::after  { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s ease, transform 1s ease; }
.js .reveal.revealed { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .15s; } .reveal.d2 { transition-delay: .3s; } .reveal.d3 { transition-delay: .45s; }

/* ---------- Collection cards ---------- */
.collection-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  border: 1px solid rgba(200,163,90,.2);
}
.collection-card img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  filter: saturate(.92) contrast(1.05);
  transition: transform 1.6s cubic-bezier(.2,.7,.2,1), filter .8s;
}
.collection-card:hover img { transform: scale(1.07); filter: saturate(1.05) contrast(1.1); }
.collection-card .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,8,6,.88) 100%);
}
.collection-card .card-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.7rem;
}
.collection-card .card-caption h3 { color: var(--ivory); font-size: 1.7rem; margin: .3rem 0 .4rem; }
.collection-card:hover h3 { color: var(--gold-bright); }
.card-no {
  font-family: var(--caps); font-size: .68rem;
  letter-spacing: .35em; color: var(--gold);
}
.card-note { color: var(--ivory-dim); font-size: .85rem; font-weight: 300; margin: 0; }
.collection-card::after {
  content: ""; position: absolute; inset: 8px;
  border: 1px solid rgba(232,205,142,.0);
  transition: border-color .6s;
  pointer-events: none;
}
.collection-card:hover::after { border-color: rgba(232,205,142,.45); }

/* ---------- Numbers ---------- */
.promise-num {
  font-family: var(--serif);
  font-size: 3.4rem;
  color: var(--gold-bright);
  line-height: 1;
}

/* ---------- Quote ---------- */
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.45;
  color: var(--ivory);
  max-width: 62ch;
}
.pull-quote::first-letter { color: var(--gold-bright); font-size: 1.4em; }
.dropcap::first-letter {
  font-family: var(--serif);
  font-size: 3.6em;
  float: left; line-height: .82;
  padding-right: .12em;
  color: var(--gold-bright);
}

/* ---------- Split image ---------- */
.split-img {
  border: 1px solid rgba(200,163,90,.25);
  padding: .9rem;
  background: var(--ink-3);
}
.split-img img { display: block; width: 100%; }

/* ---------- Journal ---------- */
.journal-card { text-decoration: none; display: block; color: inherit; }
.journal-card img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  filter: saturate(.9);
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.journal-card:hover img { transform: scale(1.05); }
.journal-card h3 { font-size: 1.5rem; transition: color .3s; }
.journal-card:hover h3 { color: var(--gold-bright); }

/* ---------- Steps ---------- */
.step-item { position: relative; padding-left: 2.2rem; }
.step-item::before {
  content: counter(steps);
  counter-increment: steps;
  position: absolute; left: 0; top: 0;
  font-family: var(--serif); font-style: italic;
  color: var(--gold);
  font-size: 1.6rem;
  line-height: 1.6;
}
.steps { counter-reset: steps; }

/* ---------- Forms ---------- */
.form-control.dark-input {
  background: var(--ink-3);
  border: 1px solid rgba(200,163,90,.25);
  color: var(--ivory);
  border-radius: 0;
  padding: .9rem 1.1rem;
}
.form-control.dark-input:focus {
  background: var(--ink-3);
  border-color: var(--gold);
  color: var(--ivory);
  box-shadow: none;
}
.form-control.dark-input::placeholder { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0a0806;
  border-top: 1px solid rgba(200,163,90,.2);
}
.footer-heading {
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: .72rem;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a {
  color: var(--ivory-dim); text-decoration: none;
  font-size: .92rem; transition: color .3s;
}
.footer-links a:hover { color: var(--gold-bright); }
.footer-quote { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ivory); margin: 1rem 0 .8rem; }
.footer-orn { color: var(--gold-dim); }
.newsletter .form-control {
  background: var(--ink-3); border: 1px solid rgba(200,163,90,.25);
  color: var(--ivory); border-radius: 0;
}
.newsletter .form-control:focus { box-shadow: none; border-color: var(--gold); color: var(--ivory); }
.newsletter .btn { border-radius: 0; }
.footer-bottom { border-top: 1px solid rgba(200,163,90,.15); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 11rem 0 5rem;
  background: linear-gradient(180deg, #0a0806 0%, var(--ink) 100%);
  border-bottom: 1px solid rgba(200,163,90,.15);
  position: relative;
}
.page-hero::after {
  content: "✦"; position: absolute; bottom: -.55rem; left: 50%; transform: translateX(-50%);
  color: var(--gold-dim); background: var(--ink); padding: 0 .6rem; font-size: .9rem;
}

/* ---------- Prose ---------- */
.prose { font-size: 1.08rem; line-height: 1.9; color: var(--ivory-dim); max-width: 68ch; }
.prose p { margin-bottom: 1.4rem; }
.prose strong { color: var(--ivory); }
.prose h2, .prose h3 { color: var(--ivory); margin: 2.4rem 0 1rem; }

/* ---------- Details ---------- */
.spec-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid rgba(200,163,90,.15);
  font-size: .95rem;
}
.spec-row .k { font-family: var(--caps); letter-spacing: .18em; text-transform: uppercase; font-size: .7rem; color: var(--gold); }

@media (max-width: 991.98px) {
  .site-header .navbar-collapse { background: rgba(10,8,6,.97); padding: 1.5rem; margin-top: 1rem; border: 1px solid rgba(200,163,90,.2); }
}
