:root {
  --cream: #F5F0E6;
  --sienna: #9B3A18;
  --charcoal: #1C1510;
  --warm-brown: #4A2E1E;
  --light-tan: #EDE4D3;
  --muted: #8C7468;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

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

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

.section-label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sienna);
  margin-bottom: 1rem;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid var(--light-tan);
}
.nav__logo {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}
.nav__tagline {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* HERO */
.hero {
  position: relative;
  min-height: 88vh;
  background: url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_189988/b32fc66d-fda2-4aa6-8f62-b2e45e47eb72.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(28,21,16,0.82) 0%,
    rgba(28,21,16,0.60) 45%,
    rgba(28,21,16,0.20) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 5rem 5rem;
  max-width: 680px;
}
.hero__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #D4915A;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 0.9;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero__subtitle {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(245,240,230,0.85);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}
.hero__body {
  font-size: 0.9rem;
  color: rgba(245,240,230,0.65);
  max-width: 38ch;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero__badge {
  display: inline-block;
  background: var(--sienna);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
}

/* BUTTER SWAP */
.butter-swap {
  padding: 7rem 5rem;
}
.butter-swap__header {
  max-width: 52ch;
  margin-bottom: 4rem;
}
.butter-swap__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.butter-swap__body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}
.butter-swap__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  max-width: 620px;
}
.butter-swap__card {
  border: 1px solid var(--light-tan);
  padding: 2rem;
  background: var(--cream);
}
.butter-swap__card--active {
  border-color: var(--sienna);
  background: #FAF3EB;
}
.butter-swap__card-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.butter-swap__list {
  list-style: none;
}
.butter-swap__list li {
  font-size: 0.85rem;
  color: var(--warm-brown);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--light-tan);
  line-height: 1.3;
}
.butter-swap__list li:last-child { border-bottom: none; }
.butter-swap__foot {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  font-family: var(--serif);
}

/* HOW IT IS MADE */
.how-made {
  background: var(--charcoal);
  padding: 7rem 5rem;
}
.how-made__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.how-made__title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.how-made__text p {
  font-size: 0.9rem;
  color: rgba(245,240,230,0.6);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.how-made__steps {
  list-style: none;
  margin-top: 2rem;
}
.how-made__steps li {
  font-size: 0.82rem;
  color: rgba(245,240,230,0.7);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(245,240,230,0.1);
}
.how-made__steps li strong {
  color: var(--sienna);
}
.how-made__image-wrap {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.how-made__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* WHY TALLOW */
.why-tallow {
  padding: 7rem 5rem;
}
.why-tallow__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.why-tallow__intro {
  max-width: 60ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 4rem;
}
.why-tallow__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.why-tallow__item {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--light-tan);
}
.why-tallow__item:last-child { border-right: none; }
.why-tallow__number {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 900;
  color: var(--sienna);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.why-tallow__item h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}
.why-tallow__item p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}

/* INGREDIENTS */
.ingredients {
  background: var(--light-tan);
  padding: 7rem 5rem;
}
.ingredients__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.ingredients__image-wrap {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.ingredients__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ingredients__title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 2rem;
}
.ingredients__label {
  border: 1px solid var(--charcoal);
  padding: 1.75rem;
  margin-bottom: 1.75rem;
  max-width: 400px;
}
.ingredients__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  display: block;
}
.ingredients__detail {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.5rem;
  line-height: 1.5;
}
.ingredients__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ingredients__badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-brown);
  border: 1px solid var(--warm-brown);
  padding: 0.3rem 0.75rem;
}

/* PHILOSOPHY */
.philosophy {
  padding: 7rem 5rem;
  text-align: center;
}
.philosophy__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 2rem;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.philosophy p {
  max-width: 55ch;
  margin: 0 auto 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}
.philosophy__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--warm-brown);
  max-width: 48ch;
  margin: 2.5rem auto 0;
  line-height: 1.6;
  border-top: 1px solid var(--light-tan);
  padding-top: 2rem;
}

/* FOOTER */
.footer {
  background: var(--charcoal);
  padding: 4rem 5rem;
  text-align: center;
}
.footer__brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.footer__tagline {
  font-size: 0.85rem;
  color: rgba(245,240,230,0.5);
  margin-bottom: 1rem;
}
.footer__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.footer__link {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(245,240,230,0.55);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.15s;
}
.footer__link:hover { color: var(--cream); }
.footer__sep {
  font-size: 0.65rem;
  color: rgba(245,240,230,0.25);
}
.footer__meta {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,240,230,0.3);
  font-weight: 500;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero { min-height: 70vh; }
  .hero__content { padding: 3rem 1.75rem; }
  .hero__title { font-size: 3.5rem; }

  .butter-swap, .how-made, .why-tallow, .ingredients, .philosophy { padding: 4rem 1.75rem; }
  .butter-swap__grid { grid-template-columns: 1fr; }

  .how-made__inner, .ingredients__inner { grid-template-columns: 1fr; gap: 2rem; }
  .how-made__image-wrap { aspect-ratio: 16/9; }

  .why-tallow__grid { grid-template-columns: 1fr 1fr; }
  .why-tallow__item { border-bottom: 1px solid var(--light-tan); }
  .why-tallow__item:nth-child(2n) { border-right: none; }
  .why-tallow__item:last-child { border-bottom: none; }

  .ingredients__image-wrap { aspect-ratio: 16/9; }
}