:root {
  --color-bg: #FAF8F4;
  --color-text: #1C1917;
  --color-card: #FFFFFF;
  --color-primary: #3D6B57;
  --color-secondary: #F0EBE1;
  --color-accent: #E07B5A;
  --color-border: rgba(28, 25, 23, 0.1);
  --color-muted: #78716C;
  --color-muted-bg: #F4F0E8;
  --font-sans: 'DM Sans', sans-serif;
  --font-display: 'Fraunces', serif;
}

html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

button, input, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid rgba(28, 25, 23, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

.site-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.primary-menu.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.primary-menu.menu li {
  list-style: none;
}

.primary-menu.menu li a {
  color: var(--color-text);
  font-weight: 600;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin: 0;
}

.site-title span {
  color: var(--color-primary);
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: var(--color-text);
}

.home-hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 0;
}

.hero-copy {
  max-width: 640px;
}

.hero-copy .eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
}

.home-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 4vw, 4.5rem);
  line-height: 1.02;
  margin: 0 0 1rem;
}

.hero-text {
  max-width: 600px;
  margin-bottom: 2rem;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 35px rgba(61, 107, 87, 0.12);
}

.button-primary {
  background: var(--color-primary);
  color: #ffffff;
}

.button-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(28, 25, 23, 0.12);
}

.hero-image {
  position: relative;
}

.hero-card {
  background: linear-gradient(180deg, #ffffff 0%, #f4f0e8 100%);
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 30px;
  padding: 2rem;
  min-height: 420px;
  display: grid;
  gap: 1.5rem;
}

.hero-card .tag {
  display: inline-flex;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--color-secondary);
  color: var(--color-text);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-card h2 {
  font-size: 2rem;
  margin: 0;
}

.hero-card p {
  margin: 0;
  color: var(--color-muted);
}

.home-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 4rem 0;
}

.highlight-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 22px 50px rgba(28, 25, 23, 0.04);
}

.highlight-card h3 {
  margin-top: 0;
}

.highlight-card p {
  margin: 0.75rem 0 0;
  color: var(--color-muted);
}

.home-products {
  margin-bottom: 4rem;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: 2.5rem;
}

.section-header p {
  margin: 0;
  color: var(--color-muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  padding: 1.75rem;
  min-height: 340px;
  display: grid;
  gap: 1rem;
}

.product-thumb {
  background: linear-gradient(180deg, #f4f0e8 0%, #ffffff 100%);
  border-radius: 24px;
  min-height: 220px;
}

.product-card h3 {
  margin: 0;
}

.product-card p {
  margin: 0;
  color: var(--color-muted);
}

.home-story {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 32px;
  padding: 3rem;
}

.story-copy .eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}

.story-copy h2 {
  margin: 0 0 1rem;
  font-size: 2.8rem;
}

.story-copy p {
  max-width: 560px;
  color: var(--color-muted);
  margin-bottom: 1.75rem;
}

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

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3vw, 3.5rem);
  margin: 0 0 1rem;
}

.entry-content {
  margin-top: 2rem;
}

.site-footer {
  background: #1C1917;
  color: #f7f3ee;
  padding: 3rem 1.5rem;
}

.site-footer a {
  color: #f7f3ee;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 1024px) {
  .home-hero,
  .home-story,
  .home-highlights,
  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-navigation {
    flex-direction: column;
    align-items: flex-start;
  }
  .primary-menu.menu {
    display: none;
    width: 100%;
    margin-top: 1rem;
    flex-direction: column;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .button {
    width: 100%;
  }
}
