:root {
  --bg: #0D0D0D;
  --bg-light: #111111;
  --cream: #FFF8EC;
  --cream-mid: #F5E6C8;
  --amber: #C97B2A;
  --amber-light: #E8A84B;
  --gold: #D4A853;
  --text: #1A1A1A;
  --text-light: #F5E6C8;
  --text-muted: #8A7A6A;
  --choc: #3D1F0A;
  --caramel: #8B4513;
  --chocdark: #1A0D00;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,248,236,0.08);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--cream);
}
.nav-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 2rem 4rem;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--cream);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 3rem;
}
.hero-pillars {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.pillar { text-align: left; }
.pillar-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
}
.pillar-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
  display: block;
}
.pillar-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,248,236,0.15);
}

/* ── Cookie Visual ── */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.cookie-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.cookie-box {
  width: 340px;
  height: 240px;
  background: linear-gradient(145deg, #1a1a1a, #0D0D0D);
  border: 1.5px solid rgba(201,123,42,0.3);
  border-radius: 6px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow:
    0 0 0 0.5px rgba(201,123,42,0.15),
    0 30px 80px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,248,236,0.05);
  position: relative;
}
.cookie-box::before {
  content: 'Baker\'s Dozen';
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--amber);
  text-transform: uppercase;
  white-space: nowrap;
}
.cookie-box-top, .cookie-box-mid {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.cookie-slot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1e140a;
  border: 1px solid rgba(201,123,42,0.15);
  position: relative;
}
.cookie-slot.filled {
  background: radial-gradient(circle at 35% 35%, #6B3D1F, #2D1406);
  border-color: rgba(201,123,42,0.25);
  box-shadow: inset 0 -2px 4px rgba(0,0,0,0.4), 0 1px 3px rgba(201,123,42,0.1);
}
.cookie-slot.filled::after {
  content: '';
  position: absolute;
  top: 12px; left: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,220,150,0.35);
}
.cookie-slot.filled:nth-child(2)::after { top: 10px; left: 16px; width: 5px; height: 5px; }
.cookie-slot.filled:nth-child(3)::after { top: 11px; left: 13px; }

.cookie-thirteenth {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}
.thirteenth-wrap {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  box-shadow: 0 8px 24px rgba(201,123,42,0.35);
  position: relative;
}
.thirteenth-ribbon {
  position: absolute;
  top: -12px;
  width: 2px;
  height: 14px;
  background: var(--amber);
  border-radius: 1px;
}
.thirteenth-ribbon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -4px;
  width: 10px;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
  transform: rotate(45deg);
  transform-origin: top left;
}
.thirteenth-ribbon::after {
  content: '';
  position: absolute;
  top: 0;
  right: -4px;
  width: 10px;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
  transform: rotate(-45deg);
  transform-origin: top right;
}
.thirteenth-label {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1A0D00;
  line-height: 1;
  text-align: center;
}

.cookie-card {
  width: 280px;
  background: var(--cream);
  border-radius: 4px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.card-line {
  height: 8px;
  border-radius: 2px;
  background: var(--cream-mid);
}
.card-line-sm { width: 60%; }
.card-line-lg { width: 85%; height: 12px; }
.card-qr {
  width: 48px;
  height: 48px;
  background: var(--text);
  border-radius: 3px;
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 3px;
  padding: 4px;
}
.card-qr span {
  background: var(--cream);
  border-radius: 1px;
}
.card-qr span:nth-child(even) { background: transparent; }

/* ── Ambient Hero Glow ── */
.hero-ambient {
  position: absolute;
  top: 30%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,123,42,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ── Section Shared ── */
.section-number {
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 1rem;
}
.section-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.7;
}

/* ── Mechanic ── */
.mechanic {
  background: var(--bg-light);
  padding: 7rem 2rem;
}
.mechanic-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 3rem;
  align-items: start;
}
.mechanic-number {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(201,123,42,0.15);
  line-height: 1;
  padding-top: 0.5rem;
}
.mechanic-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 1.25rem;
}
.mechanic-body {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 3rem;
}
.mechanic-steps {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--amber);
  color: #1A0D00;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-text {
  font-size: 0.9rem;
  color: var(--cream);
  max-width: 140px;
  line-height: 1.4;
}
.step-arrow {
  color: var(--amber);
  opacity: 0.6;
  flex-shrink: 0;
}

/* ── Flavors ── */
.flavors { padding: 7rem 2rem; }
.flavors-inner { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 4rem; }
.flavor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.flavor-card {
  background: var(--bg-light);
  border: 1px solid rgba(255,248,236,0.06);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.flavor-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,123,42,0.25);
}
.flavor-visual {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.fv-choc {
  background: linear-gradient(160deg, #2D1406 0%, #6B3D1F 40%, #8B5E3C 100%);
}
.fv-choc::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(200,140,60,0.3) 0%, transparent 60%);
}
.fv-choc::after {
  content: '';
  position: absolute;
  bottom: 30px; left: 20%;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60,30,10,0.8), transparent 70%);
  border: 2px solid rgba(200,140,60,0.2);
}
.fv-caramel {
  background: linear-gradient(160deg, #3D1A00 0%, #8B4513 50%, #C47A30 100%);
}
.fv-caramel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(240,190,80,0.25) 0%, transparent 55%);
}
.fv-double {
  background: linear-gradient(160deg, #0D0500 0%, #1A0D00 50%, #2D1406 100%);
}
.fv-double::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(60,20,5,0.5), transparent 70%);
}
.fv-double::after {
  content: '';
  position: absolute;
  top: 25%; left: 35%;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(30,10,5,0.9);
  border: 1.5px solid rgba(201,123,42,0.2);
  box-shadow: 40px 20px 0 -8px rgba(30,10,5,0.9), 60px -10px 0 -18px rgba(30,10,5,0.7);
}
.fv-lucky {
  background: linear-gradient(135deg, var(--amber) 0%, var(--gold) 50%, #E8A84B 100%);
}
.fv-lucky::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 60%, rgba(255,255,255,0.15), transparent 60%);
}
.fv-lucky::after {
  content: '★';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: rgba(26,13,0,0.2);
}
.flavor-body { padding: 1.5rem; }
.flavor-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.flavor-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.flavor-badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(201,123,42,0.15);
  border: 1px solid rgba(201,123,42,0.3);
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}
.flavor-card-special .flavor-name { color: #1A0D00; }
.flavor-card-special .flavor-desc { color: rgba(26,13,0,0.6); }

/* ── Gifting ── */
.gifting {
  background: var(--bg-light);
  padding: 7rem 2rem;
}
.gifting-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.gifting-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.gifting-body {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.gift-targets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.target-item {
  padding: 0.5rem 1rem;
  background: rgba(201,123,42,0.1);
  border: 1px solid rgba(201,123,42,0.2);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--cream);
  font-weight: 500;
}
.gifting-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}
.gifting-visual { display: flex; justify-content: center; }
.bulk-visual { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.bulk-stack {
  display: flex;
  flex-direction: column;
  gap: -12px;
}
.bulk-box {
  width: 220px;
  height: 70px;
  background: linear-gradient(145deg, #1a1a1a, #111);
  border: 1px solid rgba(201,123,42,0.2);
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  position: relative;
  z-index: 1;
}
.bulk-box:nth-child(1) { margin-bottom: -20px; margin-left: 30px; z-index: 3; }
.bulk-box:nth-child(2) { margin-bottom: -20px; z-index: 2; }
.bulk-box:nth-child(3) { z-index: 1; }
.bulk-label {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  text-align: center;
}

/* ── Closing ── */
.closing {
  padding: 9rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing-inner { position: relative; z-index: 2; }
.closing-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(201,123,42,0.4);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 2.5rem;
}
.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}
.closing-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}
.closing-ambient {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201,123,42,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Footer ── */
.footer {
  background: #080808;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(255,248,236,0.05);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}
.footer-meta {
  text-align: right;
}
.footer-meta p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,248,236,0.05);
  font-size: 0.72rem;
  color: rgba(255,248,236,0.2);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .cookie-box { width: 280px; }
  .flavor-grid { grid-template-columns: repeat(2, 1fr); }
  .gifting-inner { grid-template-columns: 1fr; }
  .gifting-visual { display: none; }
  .mechanic-inner { grid-template-columns: 1fr; }
  .mechanic-number { display: none; }
}
@media (max-width: 600px) {
  .flavor-grid { grid-template-columns: 1fr; }
  .hero-pillars { flex-wrap: wrap; }
  .mechanic-steps { flex-wrap: wrap; }
  .step-text { max-width: 100px; }
  .cookie-box { width: 260px; height: auto; }
  .cookie-slot { width: 44px; height: 44px; }
  .cookie-card { width: 240px; }
  .nav { padding: 1rem; }
  .hero { padding: 6rem 1.5rem 3rem; }
  .flavors, .mechanic, .gifting, .closing { padding: 5rem 1.5rem; }
  .footer-inner { flex-direction: column; }
  .footer-meta { text-align: left; }
}