/* ═══════════════════════════════════════════════════════════
   LEONARDO GIULIANI — leonardogiuliani.com
   Shared Stylesheet · 2026
   
   Brand Palette:
     Studio Black  #1A1410   — dark backgrounds
     Abbey Gold    #C9A84C   — accents, CTAs
     Aged Paper    #F5F0E8   — light sections
     Parchment     #F0EAD6   — cards, warm bg
     Rosewood      #8B5A2B   — secondary warmth
     Graphite      #2C2C2C   — body text on light
   
   Typography:
     Display:  Playfair Display (serif)
     Body:     Cormorant Garamond (serif) — elegant, editorial
     UI/Nav:   Lato (sans-serif)
   ═══════════════════════════════════════════════════════════ */

/* ── RESET & VARIABLES ──────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --black: #1A1410;
  --gold: #C9A84C;
  --gold-dim: rgba(201,168,76,.3);
  --gold-glow: rgba(201,168,76,.12);
  --gold-hover: #E0C060;
  --paper: #F5F0E8;
  --parchment: #F0EAD6;
  --rosewood: #8B5A2B;
  --graphite: #2C2C2C;
  --text: #3A3530;
  --text-light: rgba(245,240,232,.85);
  --text-muted: rgba(245,240,232,.5);
  --border: #E0DBD0;
  --surface: #161310;
  --transition: .35s cubic-bezier(.25,.46,.45,.94);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background: var(--black);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.75;
  font-size: 17px;
}

/* Grain texture overlay — analogue warmth */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.12;
  letter-spacing: -.3px;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--gold-hover); }

.section-label {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
  display: block;
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.section-title em {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 38px;
  background: var(--gold);
  color: var(--black);
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--gold-hover);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 38px;
  background: transparent;
  color: rgba(255,255,255,.75);
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.2);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 38px;
  background: transparent;
  color: var(--graphite);
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-outline-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ── NAVIGATION ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(26,20,16,.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}

.nav.scrolled {
  background: rgba(26,20,16,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(201,168,76,.12);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-monogram {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--gold);
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -1px;
  line-height: 1;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .3px;
}

.nav-logo-text em {
  color: var(--gold);
  font-style: italic;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,.5);
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 18px;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }

.nav-home {
  display: flex;
  align-items: center;
  padding: 8px 12px !important;
}

.nav-home svg {
  color: rgba(255,255,255,.5);
  transition: color .3s;
}

.nav-home:hover svg {
  color: #fff;
}
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  margin-left: 12px;
  padding: 8px 22px !important;
  border: 1px solid var(--gold-dim) !important;
  color: var(--gold) !important;
  transition: all var(--transition) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
}

/* Cart trigger in nav */
.nav-cart {
  position: relative;
  cursor: pointer;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
  background: none;
  border: none;
  padding: 8px;
  display: flex;
  align-items: center;
  margin-left: 8px;
}

.nav-cart:hover { color: var(--gold); }
.nav-cart svg { width: 19px; height: 19px; }

.cart-badge {
  position: absolute;
  top: 2px;
  right: 0;
  width: 16px;
  height: 16px;
  background: var(--gold);
  color: var(--black);
  font-family: 'Lato', sans-serif;
  font-size: 9px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all .3s;
}

.cart-badge.show {
  opacity: 1;
  transform: scale(1);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: all .3s;
}

.nav-hamburger.open span:first-child { transform: rotate(45deg) translate(4px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:last-child { transform: rotate(-45deg) translate(4px, -5px); }

/* ── HERO (homepage only) ───────────────────────────────── */
.hero {
  position: relative;
  margin-top: 72px;
  height: calc(100vh - 72px);
  height: calc(100dvh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  padding: clamp(16px,3vw,40px) clamp(32px,5vw,80px) 48px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--black);
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

/* Slideshow: 6 slides, 5s each, 30s cycle */
/* Combined opacity+transform in single animation per slide */
.hero-slide {
  opacity: 0;
  transform: scale(1);
}

.hero-slide-1 { opacity: 1; animation: heroAnim1 30s linear infinite; transform-origin: 30% 30%; }
.hero-slide-2 { animation: heroAnim2 30s linear infinite; transform-origin: 70% 30%; }
.hero-slide-3 { animation: heroAnim3 30s linear infinite; transform-origin: 40% 40%; }
.hero-slide-4 { animation: heroAnim4 30s linear infinite; transform-origin: 60% 50%; }
.hero-slide-5 { animation: heroAnim5 30s linear infinite; transform-origin: 50% 35%; }
.hero-slide-6 { animation: heroAnim6 30s linear infinite; transform-origin: 45% 40%; }

/* 1: ZOOM IN — visible 0-14%, crossfade out 14-17% */
@keyframes heroAnim1 {
  0%   { opacity: 1; transform: scale(1); }
  14%  { opacity: 1; transform: scale(1.08); }
  17%  { opacity: 0; transform: scale(1.08); }
  97%  { opacity: 0; transform: scale(1); }
  100% { opacity: 1; transform: scale(1); }
}

/* 2: ZOOM OUT — crossfade in 14-17%, visible 17-31%, crossfade out 31-34% */
@keyframes heroAnim2 {
  0%   { opacity: 0; transform: scale(1.08); }
  14%  { opacity: 0; transform: scale(1.08); }
  17%  { opacity: 1; transform: scale(1.08); }
  31%  { opacity: 1; transform: scale(1); }
  34%  { opacity: 0; transform: scale(1); }
  97%  { opacity: 0; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.08); }
}

/* 3: ZOOM IN — crossfade in 31-34%, visible 34-48%, crossfade out 48-51% */
@keyframes heroAnim3 {
  0%   { opacity: 0; transform: scale(1); }
  31%  { opacity: 0; transform: scale(1); }
  34%  { opacity: 1; transform: scale(1); }
  48%  { opacity: 1; transform: scale(1.08); }
  51%  { opacity: 0; transform: scale(1.08); }
  97%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

/* 4: ZOOM OUT — crossfade in 48-51%, visible 51-64%, crossfade out 64-67% */
@keyframes heroAnim4 {
  0%   { opacity: 0; transform: scale(1); }
  45%  { opacity: 0; transform: scale(1.08); }
  48%  { opacity: 0; transform: scale(1.08); }
  51%  { opacity: 1; transform: scale(1.08); }
  64%  { opacity: 1; transform: scale(1); }
  67%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

/* 5: ZOOM IN — crossfade in 64-67%, visible 67-81%, crossfade out 81-84% */
@keyframes heroAnim5 {
  0%   { opacity: 0; transform: scale(1); }
  64%  { opacity: 0; transform: scale(1); }
  67%  { opacity: 1; transform: scale(1); }
  81%  { opacity: 1; transform: scale(1.08); }
  84%  { opacity: 0; transform: scale(1.08); }
  97%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

/* 6: ZOOM OUT — crossfade in 81-84%, visible 84-97%, crossfade out 97-100% */
@keyframes heroAnim6 {
  0%   { opacity: 0; transform: scale(1); }
  78%  { opacity: 0; transform: scale(1.08); }
  81%  { opacity: 0; transform: scale(1.08); }
  84%  { opacity: 1; transform: scale(1.08); }
  97%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

/* Default gradient when no photo set — swap via inline style */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(26,20,16,.65) 0%, rgba(26,20,16,.25) 50%, rgba(26,20,16,0) 100%);
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 35% 30%, rgba(201,168,76,.12), transparent 60%),
    radial-gradient(ellipse at 65% 70%, rgba(139,90,43,.08), transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
  z-index: 2;
}

@keyframes heroGlow {
  0% { opacity: .5; }
  100% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.hero-pretext {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 300;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
  opacity: 0;
  animation: fadeUp .8s .3s forwards;
}

.hero h1 {
  font-size: clamp(40px, 8vw, 90px);
  font-weight: 900;
  color: #fff;
  line-height: .92;
  letter-spacing: -3px;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
  opacity: 0;
  animation: fadeUp .8s .5s forwards;
}

.hero h1 span {
  display: block;
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
  font-size: .85em;
}

.hero-sub {
  font-family: 'Lato', sans-serif;
  font-size: clamp(18px, 2.5vw, 24px);
  color: rgba(255,255,255,.5);
  font-weight: 700;
  max-width: 460px;
  margin: 0 0 28px;
  letter-spacing: 1.5px;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}

.album-flip-link {
  text-decoration: none;
  display: block;
}

.album-flip {
  width: clamp(220px, 25vw, 340px);
  aspect-ratio: 1;
  perspective: 1000px;
  margin-bottom: 24px;
  cursor: pointer;
  opacity: 0;
  animation: fadeUp .8s .6s forwards;
}

.album-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}

.album-flip:hover .album-flip-inner {
  transform: rotateY(180deg);
}

.album-flip-front,
.album-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
}

.album-flip-front img,
.album-flip-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-flip-back {
  transform: rotateY(180deg);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .8s .9s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.2);
  font-family: 'Lato', sans-serif;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp .8s 1.3s forwards;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── PAGE HEADER (sub-pages) ────────────────────────────── */
.page-header {
  background: var(--black);
  background-size: cover;
  background-position: center 15%;
  background-attachment: fixed;
  padding: 120px clamp(24px, 5vw, 80px) 80px;
  position: relative;
  overflow: hidden;
}

/* iOS doesn't support background-attachment:fixed — fall back gracefully */
@supports (-webkit-touch-callout: none) {
  .page-header { background-attachment: scroll; }
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,20,16,.35) 0%, rgba(26,20,16,.55) 100%);
  pointer-events: none;
}

.page-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.page-header .section-title {
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}

.page-header-sub {
  font-size: 17px;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 560px;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}

.page-header .section-label {
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}

.page-header-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin-top: 32px;
  opacity: .4;
}

/* ── EMAIL STRIP ────────────────────────────────────────── */
.email-strip {
  background: var(--surface);
  border-top: 1px solid rgba(201,168,76,.08);
  border-bottom: 1px solid rgba(201,168,76,.08);
  padding: 52px 24px;
  text-align: center;
}

.email-strip-inner {
  max-width: 540px;
  margin: 0 auto;
}

.email-strip h3 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.email-strip p {
  font-family: 'Lato', sans-serif;
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 300;
}

.email-form {
  display: flex;
  gap: 0;
  max-width: 460px;
  margin: 0 auto;
}

.email-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,168,76,.18);
  border-right: none;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}

.email-form input[type="email"]::placeholder {
  color: rgba(255,255,255,.25);
}

.email-form input[type="email"]:focus {
  border-color: var(--gold);
}

.email-form button {
  padding: 14px 28px;
  background: var(--gold);
  color: var(--black);
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.email-form button:hover { background: var(--gold-hover); }

/* ── DARK SECTION ───────────────────────────────────────── */
.section-dark {
  background: var(--black);
  padding: clamp(64px, 8vw, 110px) clamp(24px, 5vw, 80px);
  position: relative;
}

.section-dark .section-title { color: #fff; }

/* ── LIGHT SECTION ──────────────────────────────────────── */
.section-light {
  background: var(--paper);
  padding: clamp(64px, 8vw, 110px) clamp(24px, 5vw, 80px);
}

.section-light .section-title { color: var(--graphite); }

/* ── SURFACE SECTION ────────────────────────────────────── */
.section-surface {
  background: var(--surface);
  padding: clamp(64px, 8vw, 110px) clamp(24px, 5vw, 80px);
}

.section-surface .section-title { color: #fff; }

/* ── CONTENT CONTAINER ──────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
}

.container-wide {
  max-width: 1280px;
  margin: 0 auto;
}

/* ── CARD SYSTEM ────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}

.card-dark {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(201,168,76,.1);
  border-top: 3px solid var(--gold);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card-dark:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}

.card-icon { font-size: 32px; margin-bottom: 16px; }

.card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p, .card-dark p {
  font-size: 15px;
  line-height: 1.7;
}

.card-dark h4 { color: #fff; }
.card-dark p { color: var(--text-light); }

/* ── GRIDS ──────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

/* ── GOLD DIVIDER ───────────────────────────────────────── */
.gold-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: .4;
}

.gold-line-full {
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent 70%);
  opacity: .3;
}

/* ── PHOTO PLACEHOLDER (swap with real images) ──────────── */
.photo-placeholder {
  background: var(--surface);
  border: 1px solid rgba(201,168,76,.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  text-align: center;
  padding: 20px;
  min-height: 200px;
}

.photo-placeholder .icon {
  font-size: 36px;
  margin-bottom: 10px;
  opacity: .3;
}

.photo-placeholder em {
  font-size: 10px;
  opacity: .5;
  display: block;
  margin-top: 4px;
}

/* ── CART DRAWER ────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 92vw;
  height: 100vh;
  height: 100dvh;
  background: var(--black);
  border-left: 1px solid rgba(201,168,76,.12);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: right .4s cubic-bezier(.25,.46,.45,.94);
}

.cart-drawer.open { right: 0; }

.cart-header {
  padding: 24px;
  border-bottom: 1px solid rgba(201,168,76,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.cart-header h3 { font-size: 18px; color: #fff; }

.cart-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  transition: all var(--transition);
}

.cart-close:hover { border-color: var(--gold); color: var(--gold); }

.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }

.cart-empty {
  color: var(--text-muted);
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  text-align: center;
  padding: 48px 0;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  align-items: center;
}

.cart-item-icon {
  width: 52px;
  height: 52px;
  background: var(--surface);
  border: 1px solid rgba(201,168,76,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.cart-item-info { flex: 1; }
.cart-item-name { font-family: 'Lato', sans-serif; font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.cart-item-price { font-family: 'Lato', sans-serif; font-size: 12px; color: var(--gold); }

.cart-item-qty { display: flex; align-items: center; gap: 8px; }

.cart-item-qty button {
  width: 24px; height: 24px;
  background: none;
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}

.cart-item-qty button:hover { border-color: var(--gold); color: var(--gold); }
.cart-item-qty span { font-family: 'Lato', sans-serif; font-size: 13px; color: #fff; min-width: 18px; text-align: center; }

.cart-footer {
  padding: 24px;
  border-top: 1px solid rgba(201,168,76,.12);
  flex-shrink: 0;
}

.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.cart-total-label { font-family: 'Lato', sans-serif; font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.cart-total-amount { font-size: 28px; font-weight: 700; color: var(--gold); }

.cart-checkout {
  width: 100%;
  padding: 16px;
  background: var(--gold);
  color: var(--black);
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.cart-checkout:hover { background: var(--gold-hover); }

/* ── FOOTER ─────────────────────────────────────────────── */
/* ── Social Bar ─────────────────────────────── */
.social-bar {
  background: #0f0c09;
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid rgba(201,168,76,.1);
}

.social-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 4vw, 36px);
  flex-wrap: wrap;
  max-width: 700px;
  margin: 0 auto;
}

.social-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: rgba(255,255,255,.35);
  transition: color .3s, transform .3s;
}

.social-bar a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.social-bar a svg {
  width: 22px;
  height: 22px;
}

.footer {
  background: var(--surface);
  border-top: 1px solid rgba(201,168,76,.08);
  padding: 72px clamp(24px, 5vw, 80px) 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.footer-brand h3 em { color: var(--gold); font-style: italic; }

.footer-brand p {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 260px;
}

.footer-col h4 {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1100px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,.2);
  line-height: 1.6;
}

.footer-socials { display: flex; gap: 16px; }
.footer-socials a { color: rgba(255,255,255,.25); transition: color var(--transition); }
.footer-socials a:hover { color: var(--gold); }
.footer-socials svg { width: 17px; height: 17px; }

/* ── SCROLL ANIMATIONS ──────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Stagger children */
.fade-in-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}

.fade-in-stagger.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.fade-in-stagger.visible > *:nth-child(2) { transition-delay: .1s; opacity: 1; transform: translateY(0); }
.fade-in-stagger.visible > *:nth-child(3) { transition-delay: .2s; opacity: 1; transform: translateY(0); }
.fade-in-stagger.visible > *:nth-child(4) { transition-delay: .3s; opacity: 1; transform: translateY(0); }
.fade-in-stagger.visible > *:nth-child(5) { transition-delay: .4s; opacity: 1; transform: translateY(0); }
.fade-in-stagger.visible > *:nth-child(6) { transition-delay: .5s; opacity: 1; transform: translateY(0); }

/* ── KEYFRAMES ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: .3; }
  50%      { opacity: .8; }
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(22,19,16,.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 999;
  }

  .nav-links.mobile-open a {
    font-size: 18px;
    padding: 14px 24px;
    color: rgba(255,255,255,.7);
    letter-spacing: 2px;
  }

  .nav-links.mobile-open a::after { display: none; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .email-form { flex-direction: column; }
  .email-form input[type="email"] { border-right: 1px solid rgba(201,168,76,.18); }
}

@media (max-width: 600px) {
  .hero h1 { letter-spacing: -1.5px; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-monogram { display: none; }
}
