:root {
  --bg: #f6f0e8;
  --bg-strong: #efe4d7;
  --surface: #fbf7f1;
  --surface-alt: #221d1a;
  --surface-soft: #e9ddd0;
  --text: #181411;
  --muted: #65584e;
  --line: rgba(24, 20, 17, 0.12);
  --accent: #1f1a17;
  --radius-xl: 2rem;
  --radius-lg: 1.4rem;
  --radius-md: 1rem;
  --shadow-soft: 0 24px 80px rgba(47, 31, 14, 0.08);
  --container: min(1200px, calc(100vw - 48px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(180deg, #fbf7f1 0%, var(--bg) 42%, #f8f3ed 100%);
  color: var(--text);
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 2rem 0 5rem;
}

.section-kicker,
.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(251, 247, 241, 0.86);
  border-bottom: 1px solid rgba(24, 20, 17, 0.08);
}

.header-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
}

.site-nav {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  font-size: 0.95rem;
}

.site-nav a,
.cart-pill,
.nav-toggle {
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.cart-pill:hover,
.nav-toggle:hover {
  opacity: 0.65;
}

.brand img {
  width: 162px;
}

.cart-pill {
  justify-self: end;
  padding: 0.8rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.7);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  padding: 3.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3.3rem, 7vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.hero-markline {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.7rem 0 1rem;
  padding: 0.35rem 0.9rem 0.35rem 0;
}

.hero-markline img {
  width: 54px;
}

.hero-markline span {
  font-size: 1.35rem;
  font-weight: 700;
}

.hero-description {
  max-width: 33rem;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.button-primary,
.button-secondary,
.button-ghost,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

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

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.button-ghost {
  border: 1px solid var(--line);
  background: transparent;
}

.text-link {
  min-height: auto;
  padding: 0;
  letter-spacing: 0.08em;
}

.button-primary:hover,
.button-secondary:hover,
.button-ghost:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.hero-showcase {
  padding: 2rem;
  border: 1px solid rgba(24, 20, 17, 0.08);
  border-radius: calc(var(--radius-xl) + 0.5rem);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.82), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(233, 221, 208, 0.7));
  box-shadow: var(--shadow-soft);
}

.hero-stage {
  position: relative;
  min-height: 31rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-shadow {
  position: absolute;
  bottom: 1rem;
  width: min(82%, 560px);
  opacity: 0.9;
}

.hero-product {
  position: relative;
  width: min(78%, 470px);
  max-height: 31rem;
  object-fit: contain;
  transform: translateY(0);
  filter: drop-shadow(0 28px 50px rgba(48, 33, 17, 0.18));
  transition: opacity 260ms ease, transform 260ms ease;
}

.hero-product.is-swapping {
  opacity: 0;
  transform: translateY(16px);
}

.hero-detail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding-top: 1rem;
}

.hero-label {
  width: 86px;
}

.hero-detail-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.hero-detail h2,
.hero-detail h3,
.story-copy h2,
.shipping-grid h2,
.newsletter-card h2 {
  margin: 0;
}

.hero-detail h2 {
  font-size: 1.45rem;
  line-height: 1;
}

.hero-detail h3 {
  margin-top: 0.35rem;
  font-size: 2rem;
  line-height: 1.02;
}

.hero-detail p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.hero-controls,
.products-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
}

.hero-dots {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 20, 17, 0.18);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--accent);
}

.hero-nav {
  display: flex;
  gap: 0.75rem;
}

.icon-button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.selection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.selection-card {
  position: relative;
  min-height: 28rem;
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #d8c7b6;
}

.selection-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(24, 20, 17, 0), rgba(24, 20, 17, 0.65));
}

.selection-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.selection-card:hover img {
  transform: scale(1.04);
}

.selection-card-copy {
  position: absolute;
  z-index: 1;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.35rem;
  color: #fff;
}

.selection-card-copy h3 {
  margin: 0 0 0.35rem;
  font-size: 1.8rem;
}

.selection-card-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.approach-card {
  min-height: 17rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(24, 20, 17, 0.08);
}

.approach-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.approach-card h3 {
  margin: 1.8rem 0 0.45rem;
  font-size: 1.4rem;
}

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

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: center;
}

.story-media img {
  width: 100%;
  min-height: 36rem;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) + 0.75rem);
}

.story-copy h2,
.shipping-grid h2,
.newsletter-card h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.story-copy p,
.newsletter-card p {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.products-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 340px);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0 0.5rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.products-track::-webkit-scrollbar {
  display: none;
}

.product-card {
  scroll-snap-align: start;
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: calc(var(--radius-lg) + 0.25rem);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(24, 20, 17, 0.08);
}

.product-media {
  position: relative;
  min-height: 17rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius-lg) - 0.15rem);
  background: linear-gradient(180deg, rgba(247, 241, 232, 0.92), rgba(230, 218, 204, 0.75));
  overflow: hidden;
}

.product-media img.product-shadow {
  position: absolute;
  bottom: 0.85rem;
  width: 70%;
  opacity: 0.8;
}

.product-media img.product-pack {
  position: relative;
  width: 68%;
  max-height: 15rem;
  object-fit: contain;
}

.product-badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(24, 20, 17, 0.82);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.1;
}

.product-process,
.product-notes {
  margin: 0;
  color: var(--muted);
}

.product-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.product-price {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-weight: 700;
}

.product-price span:last-child {
  font-size: 1.1rem;
}

.shipping-grid,
.newsletter-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 2.2rem;
  border-radius: calc(var(--radius-xl) + 0.25rem);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(24, 20, 17, 0.08);
}

.shipping-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.shipping-list li {
  padding-left: 1.15rem;
  position: relative;
  font-weight: 700;
}

.shipping-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.newsletter-form {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: end;
}

.newsletter-form input {
  min-width: min(420px, 100%);
  height: 54px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.site-footer {
  padding-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
  padding-top: 1rem;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 0.7rem;
  color: var(--muted);
  line-height: 1.65;
}

.footer-title {
  color: var(--text);
  font-weight: 800;
}

.footer-brand img {
  width: 170px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem;
  border-radius: 1.4rem;
  background: rgba(24, 20, 17, 0.94);
  color: #f9f2ea;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.28);
}

.cookie-banner h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.cookie-banner p {
  margin: 0;
  color: rgba(249, 242, 234, 0.72);
  line-height: 1.6;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: end;
}

.cookie-banner .button-primary {
  background: #f3e4d1;
  color: var(--accent);
}

.cookie-banner .button-ghost {
  color: #f9f2ea;
  border-color: rgba(249, 242, 234, 0.28);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1100px) {
  .hero-grid,
  .story-grid,
  .shipping-grid,
  .newsletter-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .selection-grid,
  .approach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    gap: 1rem;
  }

  .newsletter-form {
    justify-content: start;
  }

  .newsletter-form input {
    min-width: 100%;
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100vw - 28px, 1200px);
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(24, 20, 17, 0.08);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: flex;
  }

  .brand {
    justify-self: center;
  }

  .brand img {
    width: 142px;
  }

  .cart-pill {
    padding-inline: 0.9rem;
    font-size: 0.85rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-copy h1 {
    max-width: 10ch;
  }

  .hero-showcase {
    padding: 1rem;
  }

  .hero-stage {
    min-height: 22rem;
  }

  .hero-detail {
    grid-template-columns: 1fr;
  }

  .hero-detail-copy {
    align-items: start;
    flex-direction: column;
  }

  .selection-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }

  .selection-card {
    min-height: 23rem;
  }

  .shipping-grid,
  .newsletter-card {
    padding: 1.5rem;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 8rem;
  }
}
