:root {
  --bg: #f7f5f1;
  --bg-alt: #efece6;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e2dfd8;
  --accent: #1a1a1a;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.6; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
}
.brand {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.15em;
}
.nav-links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 400;
}
.bag {
  font-size: 14px;
  font-weight: 500;
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?auto=format&fit=crop&w=2000&q=75');
  background-size: cover;
  background-position: center;
  filter: brightness(0.85);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247,245,241,0.85) 0%, rgba(247,245,241,0.4) 50%, rgba(247,245,241,0.1) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-top: 80px;
  padding-bottom: 80px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(48px, 7vw, 84px);
  margin-bottom: 24px;
}
.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 40px;
}

/* Buttons */
.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 999px;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  opacity: 1;
  transform: translateY(-1px);
  background: #000;
}
.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { opacity: 1; background: var(--ink); color: var(--bg); }

/* Section heads */
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 12px;
}
.section-head p { color: var(--muted); }

/* Collection */
.collection { padding: 120px 0; }
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.card { cursor: pointer; transition: transform 0.3s; }
.card:hover { transform: translateY(-4px); }
.card-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: var(--bg-alt);
  background-size: cover;
  background-position: center;
  margin-bottom: 16px;
  border-radius: 2px;
}
.card-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}
.meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.price { font-size: 14px; font-weight: 500; }

/* Story */
.story {
  background: var(--bg-alt);
  padding: 120px 0;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story-img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
}
.story-text h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin: 16px 0 24px;
}
.story-text p {
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 460px;
}
.story-text .btn { margin-top: 16px; }

/* Features */
.features {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.feature h4 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.feature p {
  font-size: 14px;
  color: var(--muted);
}

/* Newsletter */
.newsletter {
  padding: 120px 0;
  text-align: center;
}
.newsletter-inner { max-width: 540px; margin: 0 auto; }
.newsletter h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
}
.newsletter p {
  color: var(--muted);
  margin-bottom: 32px;
}
.signup {
  display: flex;
  gap: 8px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 6px;
  background: transparent;
}
.signup input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 20px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  color: var(--ink);
}
.signup button {
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.signup button:hover { background: #000; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid .brand {
  display: block;
  margin-bottom: 8px;
  color: var(--bg);
}
.footer-grid h5 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-grid a {
  display: block;
  font-size: 14px;
  color: rgba(247,245,241,0.7);
  margin-bottom: 8px;
}
.footer-grid a:hover { color: var(--bg); opacity: 1; }
.muted { color: rgba(247,245,241,0.5); font-size: 13px; }
.foot-bottom { padding-top: 24px; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .collection, .story, .newsletter { padding: 80px 0; }
  .features { padding: 64px 0; }
  .container { padding: 0 24px; }
  .nav { padding: 16px 24px; }
}

@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .signup { flex-direction: column; border-radius: 16px; }
  .signup button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}
