:root {
  --cream: #F6F1E9;
  --beige: #EFE7D8;
  --charcoal: #211F1C;
  --gold: #C9A876;
  --gold-dim: #8A7A5E;
  --text-muted: #4A443B;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  font-family: 'Manrope', sans-serif;
  color: var(--charcoal);
  width: 100%;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--charcoal); }

h1, h2, h3 { font-family: 'Bodoni Moda', serif; font-weight: 400; margin: 0; }

a { text-decoration: none; }

/* Placeholder image slots (swap for real <img> in production) */
.img-slot {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dcd3bf 0%, #cfc4a8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.img-slot::after {
  content: attr(data-placeholder);
  font-size: 12px;
  letter-spacing: 0.5px;
  color: rgba(33,31,28,0.55);
  text-align: center;
  padding: 24px;
  max-width: 80%;
  line-height: 1.5;
}

/* Announcement bar */
.announce {
  background: var(--charcoal);
  color: var(--cream);
  text-align: center;
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(33,31,28,0.08);
  gap: 16px;
  position: relative;
  z-index: 30;
  background: var(--cream);
}

.nav-primary {
  display: flex;
  gap: 32px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  flex: 1;
  white-space: nowrap;
}
.nav-primary a { color: var(--charcoal); }

.logo {
  font-family: 'Bodoni Moda', serif;
  font-size: 22px;
  letter-spacing: 3px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  color: var(--charcoal);
}

.header-icons {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  flex: 1;
  align-items: center;
}
.header-icons svg { cursor: pointer; flex-shrink: 0; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--charcoal);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(33,31,28,0.4);
  z-index: 25;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.nav-scrim.visible { opacity: 1; pointer-events: auto; }

/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 520px;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33,31,28,0.05) 0%, rgba(33,31,28,0.4) 100%);
  pointer-events: none;
}
.hero-content {
  position: absolute;
  left: 0; right: 0; bottom: 48px;
  text-align: center;
  pointer-events: none;
  padding: 0 20px;
}
.hero-content h1 {
  font-size: clamp(32px, 7vw, 72px);
  color: var(--cream);
  margin: 0 0 24px;
  letter-spacing: 1px;
  line-height: 1.15;
}
.btn-outline {
  pointer-events: auto;
  background: transparent;
  border: 1px solid var(--cream);
  color: var(--cream);
  padding: 15px 32px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
}

.eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 20px;
}
.eyebrow-dark { color: var(--gold); }

/* Manifesto */
.manifesto {
  display: flex;
  flex-direction: column;
}
.manifesto-img { height: 360px; }
.manifesto-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 24px;
  background: var(--beige);
}
.manifesto-text h2 { font-size: 28px; line-height: 1.3; margin: 0 0 20px; }
.manifesto-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 0 24px;
}
.link-underline {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  padding-bottom: 4px;
  width: fit-content;
}
.link-light { color: var(--cream); border-bottom-color: var(--cream); }

/* Products */
.products { padding: 64px 20px; }
.section-heading { text-align: center; margin-bottom: 40px; }
.section-heading h2 { font-size: 30px; margin-top: 14px; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.product-card { display: flex; flex-direction: column; }
.product-img { aspect-ratio: 3/4; margin-bottom: 14px; }
.product-brand {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 6px;
}
.product-name { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.product-price { font-size: 14px; color: var(--text-muted); }

/* Family */
.family {
  position: relative;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
}
.family-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 24px;
}
.family-text h2 { font-size: 28px; line-height: 1.3; color: var(--cream); margin: 0 0 20px; }
.family-text p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(246,241,233,0.75);
  max-width: 440px;
  margin: 0 0 24px;
}
.family-img { height: 320px; }

/* Footer */
.site-footer { padding: 56px 20px 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 48px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h3 { font-size: 17px; margin-bottom: 4px; }
.footer-col a, .footer-col span { font-size: 14px; color: var(--text-muted); }
.footer-bottom {
  border-top: 1px solid rgba(33,31,28,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gold-dim);
  text-transform: uppercase;
}

/* ============ Mobile nav drawer (below tablet breakpoint) ============ */
@media (max-width: 899px) {
  .menu-toggle { display: flex; }
  .nav-scrim { display: block; }

  .nav-primary {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(78vw, 320px);
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 96px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 28;
  }
  .nav-primary.open { transform: translateX(0); }
}

/* ============ Tablet and up ============ */
@media (min-width: 640px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .site-header { padding: 28px 56px; }
  .logo { font-size: 26px; letter-spacing: 4px; }
  .header-icons { gap: 22px; }

  .manifesto { flex-direction: row; height: 640px; }
  .manifesto-img { height: 100%; width: 50%; }
  .manifesto-text { width: 50%; padding: 80px 88px; }
  .manifesto-text h2 { font-size: 38px; }
  .manifesto-text p { font-size: 16px; }

  .products { padding: 120px 56px; }
  .section-heading { margin-bottom: 72px; }
  .section-heading h2 { font-size: 42px; }
  .products-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .product-img { margin-bottom: 18px; }
  .product-name { font-size: 16px; }
  .product-price { font-size: 15px; }

  .family { flex-direction: row; height: 520px; }
  .family-text { width: 50%; padding: 80px 88px; }
  .family-text h2 { font-size: 38px; }
  .family-text p { font-size: 16px; }
  .family-img { width: 50%; height: 100%; }

  .site-footer { padding: 88px 56px 40px; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 48px; margin-bottom: 64px; }
  .footer-bottom { padding-top: 28px; font-size: 12px; }
}

@media (min-width: 1400px) {
  .products-grid { gap: 40px; }
}
