:root {
  --bg: #f7f4f1;
  --surface: #ffffff;
  --text: #2e2b29;
  --muted: #6b6866;
  --line: #e8e4e0;
  --accent: #c7a47b;
  --dark: #1b1a19;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: grid;
  gap: 2px;
}

.brand-line-1 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-line-2 {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--accent);
}

.actions {
  display: flex;
  gap: 10px;
}

.icon-btn {
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 6px;
  cursor: pointer;
}

.icon-btn:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: 72vh;
  background-image: url("https://picsum.photos/seed/herosilk/1800/1100");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247,244,241,0.92) 0%, rgba(247,244,241,0.7) 45%, rgba(247,244,241,0.2) 70%, rgba(247,244,241,0) 100%);
}

.hero-content {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 72vh;
}

.hero-text {
  max-width: 560px;
  padding: 60px 0;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.display {
  margin: 8px 0 12px;
  font-family: "Playfair Display", serif;
  font-size: 54px;
  line-height: 1.1;
}

.sub {
  color: var(--muted);
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.btn-solid {
  background: var(--dark);
  color: #fff;
}

.btn-solid:hover {
  background: #000;
}

.btn-outline {
  border: 1px solid var(--text);
  color: var(--text);
}

.btn-outline:hover {
  border-color: #000;
  color: #000;
}

.section {
  padding: 48px 0;
}

.section-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 24px;
}

.headline {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 36px;
}

.link {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.product-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.badge {
  position: absolute;
  margin: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: var(--dark);
  color: #fff;
}

.info {
  padding: 14px 16px 16px;
}

.category {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.name {
  margin: 6px 0 4px;
  font-size: 18px;
}

.price {
  color: var(--text);
  font-weight: 600;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 24px;
  padding: 40px 0;
}

.footer-brand .brand-line-1 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

.footer-brand .brand-line-2 {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.foot-note {
  color: var(--muted);
}

.footer-links h4,
.footer-newsletter h4 {
  margin: 0 0 12px;
  font-size: 16px;
}

.footer-links a {
  display: block;
  color: var(--text);
  text-decoration: none;
  margin: 6px 0;
}

.footer-links a:hover {
  color: var(--accent);
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.newsletter-form input {
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 16px 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.foot-nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
}

.foot-nav a:hover {
  color: var(--text);
}

@media (max-width: 1024px) {
  .product-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .main-nav {
    display: none;
  }
  .display {
    font-size: 40px;
  }
  .product-row {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}
