/* ============================================================
   LZ HOME — Design Tokens
   Warm White #FBF8F3 · Sand #EFE3D0 · Beige #D9C4A0
   Charcoal #231F1B · Ink #17130F · Gold #B8935F
   Display: Fraunces · Body: Karla
   ============================================================ */

:root {
  --warm-white: #FBF8F3;
  --sand: #EFE3D0;
  --beige: #D9C4A0;
  --gray: #E4DFD6;
  --charcoal: #231F1B;
  --ink: #17130F;
  --gold: #B8935F;
  --gold-light: #D8B98A;

  --font-display: 'Fraunces', serif;
  --font-body: 'Karla', sans-serif;

  --container: 1240px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
.loader-mark {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: .3em;
  color: var(--gold-light);
  opacity: 0;
  animation: loaderFade 1.1s var(--ease) forwards;
}
@keyframes loaderFade { to { opacity: 1; letter-spacing: .5em; } }
.loader.done { opacity: 0; visibility: hidden; }

/* ---------- Container helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
  font-weight: 600;
}
.eyebrow.center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 48px;
  color: var(--ink);
}
.section-title.center { text-align: center; }
.section-title em { font-style: italic; color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 34px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform .45s var(--ease), background .35s ease, color .35s ease, box-shadow .35s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn-gold { background: var(--gold); color: var(--warm-white); box-shadow: 0 10px 30px -10px rgba(184,147,95,.6); }
.btn-gold:hover { background: var(--gold-light); }
.btn-dark { background: var(--ink); color: var(--warm-white); }
.btn-dark:hover { background: var(--charcoal); }
.btn-outline-light { border-color: rgba(251,248,243,.55); color: var(--warm-white); }
.btn-outline-light:hover { background: rgba(251,248,243,.12); }
.btn-line { border-color: var(--charcoal); color: var(--charcoal); padding: 13px 30px; }
.btn-line:hover { background: var(--charcoal); color: var(--warm-white); }

.link-arrow { font-size: .88rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 2px; transition: color .3s ease, border-color .3s ease; }
.link-arrow:hover { color: var(--gold); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 22px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: .08em;
  color: var(--warm-white);
  transition: color .4s ease;
}
.nav-logo span { color: var(--gold-light); font-style: italic; }
.nav-links { display: flex; gap: 30px; flex: 1; justify-content: center; }
.nav-links a {
  font-size: .86rem; font-weight: 500;
  color: rgba(251,248,243,.85);
  transition: color .3s ease;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--gold-light);
  transition: width .35s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 12px 26px; font-size: .82rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 1.5px; background: var(--warm-white); }

.nav.scrolled {
  background: rgba(23,19,15,.9);
  backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.15);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 8s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,19,15,.25) 0%, rgba(23,19,15,.15) 40%, rgba(23,19,15,.85) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--container); margin: 0 auto;
  padding: 0 24px 96px;
  width: 100%;
  color: var(--warm-white);
}
.hero-content .eyebrow { color: var(--gold-light); }
.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.02;
  margin: 0 0 26px;
  max-width: 720px;
}
.hero-title em { font-style: italic; color: var(--gold-light); font-weight: 400; }
.hero-sub { max-width: 460px; font-size: 1.02rem; color: rgba(251,248,243,.82); margin: 0 0 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; right: 24px; bottom: 40px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(251,248,243,.7); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
}
.hero-scroll span { width: 1px; height: 46px; background: rgba(251,248,243,.5); position: relative; overflow: hidden; }
.hero-scroll span::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--gold-light);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine { 50% { top: 0; } 100% { top: 100%; } }

/* ---------- Sections generic ---------- */
.section { padding: 120px 0; }
.section-tint { background: var(--sand); }
.section-dark { background: var(--ink); color: var(--warm-white); padding: 100px 0; }
.section-dark .delivery-num { color: var(--gold-light); }
.section-dark h3 { color: var(--warm-white); }
.section-dark p { color: rgba(251,248,243,.7); }

/* ---------- Collections ---------- */
.collections-track {
  display: flex; gap: 26px; overflow-x: auto; padding: 8px 24px 20px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.collections-track::-webkit-scrollbar { height: 6px; }
.collections-track::-webkit-scrollbar-thumb { background: var(--beige); border-radius: 10px; }
.coll-card {
  scroll-snap-align: start;
  flex: 0 0 320px;
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px -30px rgba(23,19,15,.25);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.coll-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -25px rgba(23,19,15,.3); }
.coll-media { overflow: hidden; aspect-ratio: 4/5; }
.coll-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.coll-card:hover .coll-media img { transform: scale(1.08); }
.coll-info { padding: 26px 26px 30px; }
.coll-info h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin: 0 0 10px; }
.coll-info p { font-size: .92rem; color: #5b5348; margin: 0 0 16px; }

/* ---------- Why choose ---------- */
.why-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.why-card {
  text-align: center; padding: 36px 20px;
  background: var(--warm-white);
  border-radius: var(--radius-md);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 24px 45px -30px rgba(23,19,15,.3); }
.why-icon { width: 40px; height: 40px; color: var(--gold); margin-bottom: 18px; }
.why-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; margin: 0 0 10px; }
.why-card p { font-size: .86rem; color: #5b5348; margin: 0; }

/* ---------- Products ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 20px; }
.product-card { text-align: left; }
.product-media {
  border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1/1.05; margin-bottom: 18px;
  box-shadow: 0 20px 45px -28px rgba(23,19,15,.3);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.07); }
.product-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; margin: 0 0 6px; }
.product-price { font-size: .86rem; color: var(--gold); margin: 0 0 16px; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Masonry gallery ---------- */
.masonry {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  columns: 3 220px; column-gap: 20px;
}
.masonry img {
  width: 100%; margin-bottom: 20px; border-radius: var(--radius-sm);
  break-inside: avoid; transition: transform .5s var(--ease), filter .5s ease;
}
.masonry img:hover { transform: scale(1.02); filter: brightness(1.04); }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review-card {
  margin: 0; padding: 40px 32px;
  background: var(--warm-white);
  border-radius: var(--radius-md);
  border-top: 2px solid var(--gold);
  box-shadow: 0 20px 45px -32px rgba(23,19,15,.3);
}
.review-card p { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; line-height: 1.5; color: var(--ink); margin: 0 0 20px; }
.review-card cite { font-size: .82rem; color: var(--gold); font-style: normal; letter-spacing: .04em; }

/* ---------- Delivery ---------- */
.delivery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.delivery-num { font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 600; }
.delivery-item h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin: 14px 0 12px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  background: var(--warm-white);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin-bottom: 10px;
}
.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: 1rem; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.3rem; color: var(--gold); transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 16px 0 0; color: #5b5348; font-size: .94rem; }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; min-height: 70vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.final-cta-media { position: absolute; inset: 0; }
.final-cta-media img { width: 100%; height: 100%; object-fit: cover; }
.final-cta-content { position: relative; z-index: 2; text-align: center; color: var(--warm-white); padding: 80px 24px; }
.final-cta-content .eyebrow { color: var(--gold-light); }
.final-cta-content .section-title { color: var(--warm-white); margin-bottom: 36px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(251,248,243,.75); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(251,248,243,.1); }
.footer-brand p:last-child { max-width: 320px; font-size: .9rem; margin-top: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { color: var(--warm-white); font-family: var(--font-display); font-weight: 400; font-size: 1rem; margin: 0 0 6px; }
.footer-col a, .footer-col span { font-size: .9rem; transition: color .3s ease; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { text-align: center; padding: 26px 24px; font-size: .8rem; color: rgba(251,248,243,.45); }

/* ---------- Floating CTA ---------- */
.floating-cta {
  position: fixed; bottom: 26px; right: 26px; z-index: 500;
  background: var(--ink); color: var(--warm-white);
  padding: 15px 26px; border-radius: 100px;
  font-size: .84rem; font-weight: 600;
  box-shadow: 0 14px 40px -12px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease), background .3s ease;
}
.floating-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.floating-cta:hover { background: var(--gold); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .delivery-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 84px 0; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .masonry { columns: 2 160px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-content { padding-bottom: 70px; }
  .hero-scroll { display: none; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .floating-cta { padding: 13px 20px; font-size: .78rem; }
}

/* Mobile nav open state */
.nav-links.open {
  display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(23,19,15,.97); padding: 20px 24px; gap: 18px;
}
