:root {
  --color-primary: #f4c430;
  --color-bg: #fffdf7;
  --color-surface: #ffffff;
  --color-text: #222222;
  --color-muted: #5f5f5f;
  --color-accent: #ece3d0;
  --shadow-soft: 0 16px 40px rgba(20, 20, 20, 0.08);
  --radius: 1rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
  color: var(--color-text);
  line-height: 1.6;
}

img {
  width: 100%;
  display: block;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.7rem;
  text-decoration: none;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.nav-menu {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--color-surface);
  margin: 0;
  list-style: none;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: none;
  flex-direction: column;
  gap: 0.7rem;
}

.nav-menu.open {
  display: flex;
}

.nav-menu a {
  text-decoration: none;
  color: var(--color-muted);
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-text);
}

.menu-toggle {
  border: 0;
  background: transparent;
  padding: 0.25rem;
  display: grid;
  gap: 0.23rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.2s ease;
}

.cart-button {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.cart-count {
  background: var(--color-primary);
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  font-size: 0.75rem;
  display: inline-grid;
  place-items: center;
}

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
  color: #7a704f;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
}

h1,
h2 {
  font-family: 'Cormorant Garamond', serif;
}

h1 {
  font-size: clamp(2rem, 8vw, 4rem);
  margin-bottom: 0.85rem;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
}

.hero-text {
  color: var(--color-muted);
  max-width: 42ch;
  margin-bottom: 1.5rem;
}

.hero-media img {
  border-radius: 1.3rem;
  box-shadow: var(--shadow-soft);
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.35rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #1d1d1d;
}

.btn-secondary {
  background: #f5f2e9;
  color: #222;
  width: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

.featured {
  padding: 2.5rem 0;
}

.section-head {
  margin-bottom: 1.5rem;
}

.product-grid {
  display: grid;
  gap: 1rem;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 0.95rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card h3 {
  margin: 0.85rem 0 0.2rem;
}

.price {
  margin: 0 0 0.7rem;
  color: var(--color-muted);
  font-weight: 600;
}

.brand-story {
  padding: 2.5rem 0;
}

.story-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
}

.story-content {
  position: relative;
  z-index: 1;
}

.story-art {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 196, 48, 0.5) 0%, rgba(244, 196, 48, 0) 70%);
  right: -70px;
  top: -30px;
}

.newsletter {
  padding: 2.5rem 0 3.5rem;
}

.newsletter-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem;
  text-align: center;
}

.newsletter p {
  color: var(--color-muted);
}

.newsletter-form {
  display: grid;
  gap: 0.7rem;
}

.newsletter-form input {
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
}

.site-footer {
  background: #f7f2e6;
  padding: 2.2rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
}

.footer-copy {
  color: var(--color-muted);
  margin-top: 0.25rem;
}

.footer-links {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.28rem;
}

.footer-links a,
.social-links a {
  color: #333;
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.social-links a {
  background: #fff;
  border-radius: 50%;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  font-size: 0.78rem;
}

.copyright {
  margin: 1rem 0 0;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.section-fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 700px) {
  .menu-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    border: 0;
    background: transparent;
    gap: 1.1rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2.6rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter-form {
    grid-template-columns: 1fr auto;
    align-items: center;
    max-width: 700px;
    margin-inline: auto;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 4.8rem;
  }

  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .story-card,
  .newsletter-card {
    padding: 2rem;
  }
}
