:root {
  color-scheme: light;
  --bg: #f7f1e6;
  --surface: rgba(255, 253, 247, 0.86);
  --surface-strong: #fffdf7;
  --green-900: #203b12;
  --green-800: #2e4e1b;
  --green-600: #5e9523;
  --green-500: #6d9c32;
  --beige: #e8dbc4;
  --beige-strong: #bca178;
  --card-milk: rgba(255, 253, 247, 0.92);
  --card-sage: rgba(234, 241, 220, 0.92);
  --card-oat: rgba(247, 236, 216, 0.92);
  --card-herb: rgba(226, 237, 207, 0.9);
  --text: #25351a;
  --muted: #667556;
  --line: rgba(46, 78, 27, 0.14);
  --heart: #dc1819;
  --max-blue: #1da8ff;
  --max-violet: #8949ea;
  --max-ink: #3146d3;
  --radius: 18px;
  --shadow: 0 22px 70px rgba(46, 78, 27, 0.12);
  --container: min(1120px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(188, 161, 120, 0.23), transparent 28rem),
    radial-gradient(circle at 92% 2%, rgba(94, 149, 35, 0.16), transparent 24rem),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Montserrat, Arial, sans-serif;
  letter-spacing: 0;
}

body.nav-open,
body.zoom-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(94, 149, 35, 0.55);
  outline-offset: 4px;
}

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

[id] {
  scroll-margin-top: 7rem;
}

.skip-link,
.sr-only {
  position: absolute;
}

.skip-link {
  z-index: 100;
  top: 1rem;
  left: 1rem;
  transform: translateY(-140%);
  padding: 0.75rem 1rem;
  color: #fffdf7;
  background: var(--green-900);
  border-radius: 999px;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 30;
  width: 3.2rem;
  height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-900);
  text-decoration: none;
  border: 1px solid rgba(46, 78, 27, 0.16);
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 14px 34px rgba(46, 78, 27, 0.16);
  backdrop-filter: blur(12px);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.back-to-top svg {
  width: 1.35rem;
  height: 1.35rem;
}

@media (hover: hover) and (pointer: fine) {
  .back-to-top:hover {
    transform: translateY(-0.18rem);
    border-color: rgba(94, 149, 35, 0.34);
    box-shadow: 0 18px 42px rgba(46, 78, 27, 0.2);
  }
}

.sr-only {
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-block: 0.75rem;
  background: rgba(247, 241, 230, 0.78);
  border-bottom: 1px solid rgba(46, 78, 27, 0.08);
  backdrop-filter: blur(22px);
}

.header-bar {
  min-height: 4.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
  border: 1px solid rgba(255, 253, 247, 0.72);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.72);
  box-shadow: 0 12px 42px rgba(46, 78, 27, 0.08);
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 0.4rem;
  text-decoration: none;
}

.brand img {
  width: 3.375rem;
  height: 3.375rem;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 0.1rem;
  line-height: 1.1;
  text-align: center;
}

.brand strong {
  color: var(--green-900);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.site-nav {
  justify-self: center;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: max-content;
  column-gap: clamp(0.8rem, 1.7vw, 1.35rem);
  row-gap: 0.22rem;
  align-items: center;
  color: var(--green-900);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.12;
}

.site-nav a,
.footer-grid a {
  text-decoration: none;
}

.site-nav a {
  padding: 0.18rem 0.05rem;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green-600);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  gap: 0.45rem;
}

.header-action,
.button.primary {
  color: #fffdf7;
  background: linear-gradient(180deg, var(--green-600), var(--green-800));
  box-shadow: 0 10px 26px rgba(46, 78, 27, 0.2);
}

.header-action.max-action,
.button.primary.max-action {
  color: #fff;
  background: linear-gradient(135deg, var(--max-blue), #405dff 46%, var(--max-violet));
  box-shadow: 0 12px 28px rgba(68, 79, 232, 0.28);
}

.max-icon {
  display: inline-block;
  width: 1.38rem;
  height: 1.38rem;
  flex: 0 0 auto;
  border-radius: 0.38rem;
  box-shadow: 0 4px 12px rgba(72, 83, 229, 0.24);
}

.max-icon.small {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 0.3rem;
  box-shadow: 0 3px 9px rgba(72, 83, 229, 0.2);
}

.max-word {
  color: var(--max-ink);
  font-weight: 900;
}

.ui-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  color: currentColor;
}

.ui-icon.small {
  width: 1rem;
  height: 1rem;
}

.button.secondary {
  color: var(--green-900);
  background: var(--beige);
}

.button.ghost {
  color: var(--green-900);
  background: rgba(255, 253, 247, 0.76);
  border-color: var(--line);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
}

.nav-toggle span[aria-hidden="true"],
.nav-toggle span[aria-hidden="true"]::before,
.nav-toggle span[aria-hidden="true"]::after {
  width: 1.1rem;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--green-900);
}

.nav-toggle span[aria-hidden="true"] {
  position: relative;
}

.nav-toggle span[aria-hidden="true"]::before,
.nav-toggle span[aria-hidden="true"]::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span[aria-hidden="true"]::before {
  top: -0.38rem;
}

.nav-toggle span[aria-hidden="true"]::after {
  top: 0.38rem;
}

.hero {
  position: relative;
  min-height: clamp(38rem, 82vh, 49rem);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(247, 241, 230, 0.98) 0%, rgba(247, 241, 230, 0.92) 39%, rgba(247, 241, 230, 0.36) 70%, rgba(247, 241, 230, 0.05) 100%),
    linear-gradient(180deg, rgba(247, 241, 230, 0.45), rgba(247, 241, 230, 0.12));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin-inline: max(1rem, calc((100vw - 1120px) / 2));
  text-align: center;
}

.eyebrow,
.section-label {
  margin: 0 0 1rem;
  color: var(--green-600);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--heart);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.eyebrow,
.section-label,
.button,
.site-nav a,
.storefront-card figcaption,
.assortment-extra li,
.contact-panel h3 {
  text-align: center;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
}

p {
  text-wrap: pretty;
}

h1 {
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  color: var(--green-900);
  font-size: clamp(2.45rem, 6.4vw, 5.45rem);
  line-height: 0.98;
  font-weight: 850;
}

.blur-text {
  overflow: visible;
}

.blur-text__word {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(var(--blur-y, -0.8em));
  will-change: transform, filter, opacity;
}

.blur-text.is-visible .blur-text__word {
  animation: blur-word-in 700ms cubic-bezier(0.2, 0.85, 0.24, 1) forwards;
  animation-delay: var(--blur-delay, 0ms);
}

@keyframes blur-word-in {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(var(--blur-y, -0.8em));
  }

  55% {
    opacity: 0.65;
    filter: blur(4px);
    transform: translateY(0.12em);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

h2 {
  margin-bottom: 1rem;
  color: var(--green-900);
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 1.04;
  font-weight: 850;
}

h3 {
  margin-bottom: 0.65rem;
  color: var(--green-900);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.25;
}

p {
  color: var(--muted);
  font-size: clamp(0.96rem, 1.2vw, 1.05rem);
  line-height: 1.75;
}

.hero-lead {
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  color: #4b5e38;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.intro-grid,
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.copy-block {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.copy-block p:last-child,
.section-head p:last-child {
  margin-bottom: 0;
}

.sets-section {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.94), rgba(232, 219, 196, 0.34)),
    radial-gradient(circle at 12% 20%, rgba(123, 156, 78, 0.1), transparent 18rem);
}

.sets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.25rem);
}

.set-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(9.5rem, 12.4rem) minmax(0, 1fr);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(46, 78, 27, 0.1);
  border-radius: var(--radius);
  background: var(--card-milk);
  box-shadow: 0 12px 34px rgba(46, 78, 27, 0.07);
}

.set-card img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  background: var(--beige);
}

.set-card div {
  display: grid;
  align-content: center;
  gap: 0.7rem;
  padding: clamp(1.05rem, 2vw, 1.3rem);
}

.set-card h3 {
  margin-bottom: 0;
}

.pairings-section {
  background:
    linear-gradient(180deg, rgba(232, 219, 196, 0.22), rgba(255, 253, 247, 0.96)),
    radial-gradient(circle at 88% 18%, rgba(123, 156, 78, 0.12), transparent 19rem);
}

.pairings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.25rem);
}

.pairing-card {
  min-width: 0;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(46, 78, 27, 0.1);
  border-radius: var(--radius);
  background: var(--card-milk);
  box-shadow: 0 12px 34px rgba(46, 78, 27, 0.07);
}

.pairing-card img {
  width: 100%;
  aspect-ratio: 6 / 5;
  height: auto;
  object-fit: cover;
  background: var(--beige);
}

.pairing-card div {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  min-height: 14rem;
  padding: clamp(1.05rem, 2vw, 1.35rem);
}

.pairing-card h3 {
  margin-bottom: 0;
}

.pairing-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: fit-content;
  margin: 0;
  padding: 0.38rem 0.72rem;
  color: var(--green-700);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.45;
  border: 1px solid rgba(106, 132, 53, 0.16);
  border-radius: 999px;
  background: rgba(225, 236, 205, 0.7);
}

.pairing-sauces {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.pairing-sauces strong {
  color: var(--green-900);
}

.find-section {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(232, 219, 196, 0.26)),
    radial-gradient(circle at 84% 16%, rgba(123, 156, 78, 0.1), transparent 18rem);
}

.find-section .contacts-grid {
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(1.2rem, 3vw, 1.8rem);
}

.find-section .contacts-card {
  width: 100%;
  max-width: 62rem;
  margin-inline: auto;
}

.find-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1rem, 2.2vw, 1.35rem);
}

.find-card > h2,
.find-card > p,
.find-card > address {
  grid-column: 1 / -1;
}

.find-card p {
  margin-inline: auto;
  max-width: 25rem;
}

.find-card address {
  margin-bottom: 0;
}

.storefront-card {
  display: grid;
  gap: 0.7rem;
  margin: 1.15rem 0 0;
}

.find-card .storefront-card {
  margin-top: 0;
}

.storefront-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(46, 78, 27, 0.1);
  border-radius: 1rem;
  background: var(--beige);
  box-shadow: 0 12px 30px rgba(46, 78, 27, 0.08);
}

.storefront-card figcaption {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.zoomable-image {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 1rem;
  background: transparent;
  color: var(--green-900);
  cursor: zoom-in;
  text-align: center;
}

.zoom-hint {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(46, 78, 27, 0.16);
  border-radius: 999px;
  color: var(--green-900);
  font-size: 0.86rem;
  font-weight: 900;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 10px 24px rgba(46, 78, 27, 0.14);
  backdrop-filter: blur(8px);
}

.image-dialog {
  width: min(92vw, 70rem);
  max-height: 92vh;
  padding: 0.75rem;
  border: 0;
  border-radius: 1.2rem;
  background: var(--surface-strong);
  box-shadow: 0 30px 90px rgba(15, 31, 9, 0.36);
}

.image-dialog.is-open {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 80;
  display: block;
  margin: 0;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 100vmax rgba(32, 59, 18, 0.72),
    0 30px 90px rgba(15, 31, 9, 0.36);
}

.image-dialog::backdrop {
  background: rgba(32, 59, 18, 0.72);
  backdrop-filter: blur(4px);
}

.image-dialog img {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 0.9rem;
  background: var(--beige);
}

.image-dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  min-height: 2.25rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(46, 78, 27, 0.14);
  border-radius: 999px;
  color: var(--green-900);
  font-weight: 900;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 10px 24px rgba(46, 78, 27, 0.14);
}

.spices-section {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.86), rgba(232, 219, 196, 0.24)),
    radial-gradient(circle at 12% 20%, rgba(109, 156, 50, 0.1), transparent 18rem);
}

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

.spice-chip {
  min-width: 0;
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  align-items: center;
  gap: 0.95rem;
  padding: 0.9rem 1rem;
  position: relative;
  border: 1px solid rgba(46, 78, 27, 0.1);
  border-radius: 1.1rem;
  background: var(--card-milk);
  box-shadow: 0 10px 28px rgba(46, 78, 27, 0.06);
}

.spice-chip img {
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--beige);
}

.spice-chip div {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
}

.spice-chip h3,
.spice-chip h4 {
  margin-bottom: 0;
  font-size: 1rem;
}

.spice-chip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.assortment-section {
  background: rgba(232, 219, 196, 0.42);
  border-block: 1px solid rgba(46, 78, 27, 0.08);
}

.section-head {
  max-width: 45rem;
  margin-inline: auto;
  margin-bottom: clamp(1.5rem, 4vw, 2.4rem);
  text-align: center;
}

.section-head.compact {
  max-width: 38rem;
}

.assortment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.25rem);
}

.assortment-card {
  min-width: 0;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(46, 78, 27, 0.1);
  border-radius: var(--radius);
  background: var(--card-milk);
  box-shadow: 0 12px 34px rgba(46, 78, 27, 0.07);
}

.assortment-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: var(--beige);
}

.assortment-card div {
  min-height: 9.4rem;
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
}

.assortment-extra {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-top: clamp(1.1rem, 3vw, 1.5rem);
  padding: clamp(1rem, 2.6vw, 1.35rem);
  border: 1px solid rgba(46, 78, 27, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.7);
  box-shadow: 0 12px 34px rgba(46, 78, 27, 0.06);
}

.assortment-extra h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.assortment-extra ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.assortment-extra li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  padding: 0.58rem 0.78rem;
  border: 1px solid rgba(46, 78, 27, 0.12);
  border-radius: 999px;
  color: var(--green-900);
  font-size: 0.94rem;
  font-weight: 800;
  background: rgba(255, 253, 247, 0.88);
}

.extra-icon {
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--green-800);
  border: 1px solid rgba(46, 78, 27, 0.12);
  border-radius: 50%;
  background: rgba(232, 219, 196, 0.48);
}

.extra-icon svg {
  width: 1rem;
  height: 1rem;
}

.assortment-extra li:nth-child(2n) .extra-icon {
  color: var(--green-600);
  background: rgba(226, 237, 207, 0.68);
}

.assortment-extra li:nth-child(3n) .extra-icon {
  color: #7b6339;
  background: rgba(247, 236, 216, 0.84);
}

.set-card p,
.pairing-card p,
.assortment-card p,
.feature-grid p {
  margin-bottom: 0;
  font-size: 0.96rem;
}

.set-card,
.pairing-card,
.assortment-card,
.spice-chip,
.feature-grid article,
.contact-panel,
.contacts-card,
.assortment-extra {
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.set-card img,
.pairing-card img,
.assortment-card img,
.spice-chip img,
.storefront-card img {
  transition: transform 260ms ease, filter 260ms ease;
}

.sets-grid .set-card:nth-child(4n + 1),
.pairings-grid .pairing-card:nth-child(4n + 1),
.spices-grid .spice-chip:nth-child(4n + 1),
.assortment-grid .assortment-card:nth-child(4n + 1),
.feature-grid article:nth-child(4n + 1),
.contact-panels .contact-panel:nth-child(4n + 1) {
  background: var(--card-milk);
}

.sets-grid .set-card:nth-child(4n + 2),
.pairings-grid .pairing-card:nth-child(4n + 2),
.spices-grid .spice-chip:nth-child(4n + 2),
.assortment-grid .assortment-card:nth-child(4n + 2),
.feature-grid article:nth-child(4n + 2),
.contact-panels .contact-panel:nth-child(4n + 2) {
  background: var(--card-sage);
}

.sets-grid .set-card:nth-child(4n + 3),
.pairings-grid .pairing-card:nth-child(4n + 3),
.spices-grid .spice-chip:nth-child(4n + 3),
.assortment-grid .assortment-card:nth-child(4n + 3),
.feature-grid article:nth-child(4n + 3),
.contact-panels .contact-panel:nth-child(4n + 3) {
  background: var(--card-oat);
}

.sets-grid .set-card:nth-child(4n + 4),
.pairings-grid .pairing-card:nth-child(4n + 4),
.spices-grid .spice-chip:nth-child(4n + 4),
.assortment-grid .assortment-card:nth-child(4n + 4),
.feature-grid article:nth-child(4n + 4),
.contact-panels .contact-panel:nth-child(4n + 4) {
  background: var(--card-herb);
}

.assortment-extra {
  background: rgba(255, 253, 247, 0.78);
}

@media (hover: hover) and (pointer: fine) {
  .set-card:hover,
  .pairing-card:hover,
  .assortment-card:hover,
  .spice-chip:hover,
  .feature-grid article:hover,
  .contact-panel:hover,
  .contacts-card:hover,
  .assortment-extra:hover {
    transform: translateY(-0.28rem);
    border-color: rgba(94, 149, 35, 0.34);
    box-shadow: 0 22px 54px rgba(46, 78, 27, 0.16);
  }

  .set-card:hover img,
  .pairing-card:hover img,
  .assortment-card:hover img,
  .spice-chip:hover img,
  .storefront-card:hover img {
    transform: scale(1.025);
    filter: saturate(1.04) brightness(1.02);
  }
}

.set-card div,
.pairing-card div,
.assortment-card div,
.spice-chip div,
.feature-grid article,
.mini-card-grid article,
.idea-card,
.page-hero-note,
.cta-panel,
.contacts-card,
.contact-panel,
.contact-list div {
  justify-items: center;
  text-align: center;
}

.subpage-main {
  background:
    linear-gradient(180deg, rgba(247, 241, 230, 0), rgba(255, 253, 247, 0.42) 36%, rgba(247, 241, 230, 0));
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.8rem, 9vw, 7.2rem);
  background:
    linear-gradient(90deg, rgba(247, 241, 230, 0.98), rgba(247, 241, 230, 0.84)),
    url("assets/hero-pantry.png") center / cover;
  border-bottom: 1px solid rgba(46, 78, 27, 0.08);
}

.page-hero-grid,
.concept-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.46fr);
  align-items: center;
  gap: clamp(1.2rem, 4vw, 2.4rem);
}

.page-hero h1 {
  max-width: 53rem;
  margin-bottom: 1rem;
}

.page-hero-note,
.cta-panel,
.idea-card,
.mini-card-grid article {
  border: 1px solid rgba(46, 78, 27, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.86);
  box-shadow: 0 12px 34px rgba(46, 78, 27, 0.07);
}

.page-hero-note {
  display: grid;
  gap: 0.65rem;
  padding: clamp(1.2rem, 3vw, 1.7rem);
}

.page-hero-note strong {
  color: var(--green-900);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.page-hero-note p,
.idea-card p,
.mini-card-grid p,
.cta-panel p {
  margin: 0;
}

.anchor-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.anchor-pills a {
  padding: 0.58rem 0.85rem;
  color: var(--green-900);
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(46, 78, 27, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.88);
}

.formula-section,
.idea-section.soft,
.bot-section {
  background: rgba(232, 219, 196, 0.32);
  border-block: 1px solid rgba(46, 78, 27, 0.08);
}

.mini-card-grid,
.idea-grid {
  display: grid;
  gap: 1rem;
}

.mini-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mini-card-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mini-card-grid article,
.idea-card {
  display: grid;
  gap: 0.65rem;
  padding: clamp(1.05rem, 2.4vw, 1.45rem);
}

.mini-card-grid span {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  color: #fffdf7;
  font-size: 0.84rem;
  font-weight: 900;
  border-radius: 50%;
  background: var(--green-600);
}

.mini-card-grid h3,
.idea-card h3 {
  margin-bottom: 0;
}

.mini-card-grid p,
.idea-card p {
  color: var(--muted);
  line-height: 1.6;
}

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

.idea-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.idea-card {
  min-height: 100%;
}

.idea-card ul,
.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.idea-card ul {
  display: grid;
  gap: 0.42rem;
  color: var(--muted);
  line-height: 1.55;
}

.clean-list {
  display: grid;
  gap: 0.62rem;
}

.clean-list li {
  padding: 0.7rem 0.85rem;
  color: var(--green-900);
  font-weight: 700;
  text-align: center;
  border: 1px solid rgba(46, 78, 27, 0.09);
  border-radius: 0.9rem;
  background: rgba(232, 219, 196, 0.38);
}

.concept-intro .copy-block,
.bot-section .contacts-card {
  min-height: 100%;
}

.notice-card {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  color: var(--green-900);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.55;
  text-align: center;
  border: 1px solid rgba(94, 149, 35, 0.18);
  border-radius: 1rem;
  background: rgba(232, 219, 196, 0.42);
}

.page-cta {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.cta-panel {
  display: grid;
  justify-items: center;
  gap: 1rem;
  max-width: 54rem;
  margin-inline: auto;
  padding: clamp(1.4rem, 4vw, 2.2rem);
}

.cta-panel .hero-actions {
  justify-content: center;
}

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

.feature-grid article,
.contacts-card,
.map-card {
  border: 1px solid rgba(46, 78, 27, 0.1);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(46, 78, 27, 0.08);
}

.feature-grid article {
  padding: clamp(1.2rem, 2.5vw, 1.75rem);
}

.feature-grid span {
  display: inline-flex;
  margin-bottom: 1.1rem;
  color: var(--green-600);
  font-weight: 900;
}

.contacts-grid {
  align-items: stretch;
}

.contacts-card,
.map-card {
  padding: clamp(1.5rem, 3vw, 2rem);
}

address {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  font-style: normal;
  text-align: center;
}

address a,
.contact-list a {
  color: var(--green-600);
  font-weight: 800;
  text-underline-offset: 0.25rem;
}

.inline-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.contact-list div {
  display: grid;
  gap: 0.25rem;
}

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

.contacts-section {
  padding-block: clamp(2.6rem, 5vw, 4.3rem);
}

.contacts-section .section-label {
  margin-bottom: 0.55rem;
}

.contacts-section .section-head {
  max-width: 40rem;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.contacts-section h2 {
  max-width: 34rem;
  margin-inline: auto;
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 2.8vw, 2.65rem);
  line-height: 1.06;
}

.contacts-section .section-head p {
  max-width: 34rem;
  margin-inline: auto;
  line-height: 1.6;
}

.contacts-section .contact-panels {
  gap: 0.75rem;
}

.contacts-section .contact-panel {
  padding: clamp(0.95rem, 2vw, 1.15rem);
  border-radius: 1rem;
  box-shadow: 0 10px 26px rgba(46, 78, 27, 0.06);
}

.contacts-section .contact-panel h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.contacts-section .contact-panel a,
.contacts-section .contact-panel p {
  font-size: 0.95rem;
  line-height: 1.45;
}

.contact-panel {
  padding: clamp(1.2rem, 2.5vw, 1.6rem);
  border: 1px solid rgba(46, 78, 27, 0.1);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(46, 78, 27, 0.08);
}

.contact-panel h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.contact-panel a {
  color: var(--green-600);
  font-weight: 800;
  text-decoration: none;
}

.contact-panel.max-panel {
  border-color: rgba(68, 79, 232, 0.18);
  background:
    linear-gradient(135deg, rgba(29, 168, 255, 0.1), rgba(137, 73, 234, 0.08)),
    var(--surface);
  box-shadow: 0 14px 36px rgba(68, 79, 232, 0.12);
}

.max-panel h3,
.max-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
}

.max-panel h3 {
  color: var(--max-ink);
}

.contact-panel a.max-contact-link {
  color: var(--max-ink);
  width: 100%;
  min-height: 3.2rem;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  text-align: center;
}

.contacts-section .contact-panel.max-panel {
  box-shadow: 0 10px 26px rgba(68, 79, 232, 0.09);
}

.contact-panels .contact-panel.max-panel {
  background:
    linear-gradient(135deg, rgba(29, 168, 255, 0.1), rgba(137, 73, 234, 0.08)),
    var(--surface);
}

.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.contact-list dt {
  color: var(--green-900);
  font-weight: 900;
}

.contact-list dd {
  margin: 0;
  color: var(--muted);
}

.map-card {
  height: clamp(20rem, 42vw, 30rem);
  min-height: 0;
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  background: var(--beige);
}

.map-widget {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  display: block;
  background: var(--beige);
}

.site-footer {
  padding-block: 2.5rem 1.5rem;
  color: #fffdf7;
  background: var(--green-900);
}

.site-footer img {
  width: 6.2rem;
  height: 6.2rem;
  padding: 0.65rem;
  border: 1px solid rgba(255, 253, 247, 0.72);
  border-radius: 50%;
  object-fit: contain;
  background: #fffdf7;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.2),
    0 0 0 6px rgba(255, 253, 247, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr auto 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-grid div,
.footer-grid nav {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  text-align: center;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: rgba(255, 253, 247, 0.78);
  font-size: 0.92rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 253, 247, 0.14);
  text-align: center;
}

@media (max-width: 920px) {
  html {
    scroll-padding-top: 8rem;
  }

  [id] {
    scroll-margin-top: 8rem;
  }

  .header-bar {
    grid-template-columns: auto auto;
    border-radius: 1.6rem;
  }

  .header-action {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    top: 6.4rem;
    left: 1rem;
    right: 1rem;
    z-index: 40;
    display: none;
    grid-auto-flow: row;
    grid-template-rows: none;
    grid-auto-columns: auto;
    justify-self: stretch;
    flex-direction: column;
    gap: 0.35rem;
    max-height: calc(100svh - 7.4rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    background: rgba(255, 253, 247, 0.96);
    box-shadow: var(--shadow);
    -webkit-overflow-scrolling: touch;
  }

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

  .site-nav a {
    flex: 0 0 auto;
    padding: 0.95rem 1rem;
    border-radius: 0.9rem;
    background: rgba(232, 219, 196, 0.55);
    white-space: normal;
  }

  .intro-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .sets-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-grid,
  .concept-grid {
    grid-template-columns: 1fr;
  }

  .mini-card-grid,
  .mini-card-grid.four,
  .mini-card-grid.five,
  .idea-grid,
  .idea-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

@media (max-width: 720px) {
  :root {
    --container: min(100% - 1.5rem, 1120px);
  }

  html {
    scroll-padding-top: 8.75rem;
  }

  [id] {
    scroll-margin-top: 8.75rem;
  }

  .brand small {
    display: none;
  }

  .back-to-top {
    width: 2.8rem;
    height: 2.8rem;
  }

  .site-nav {
    top: 5.7rem;
    max-height: calc(100svh - 6.4rem);
  }

  .hero {
    min-height: 42rem;
  }

  .hero-image {
    object-position: 68% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(247, 241, 230, 0.98) 0%, rgba(247, 241, 230, 0.9) 64%, rgba(247, 241, 230, 0.6) 100%);
  }

  .hero h1,
  .eyebrow {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .eyebrow {
    line-height: 1.45;
    white-space: normal;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .page-hero {
    padding-block: 4.2rem 3.2rem;
  }

  .page-hero h1,
  .page-hero .hero-lead {
    text-align: center;
  }

  .anchor-pills,
  .mini-card-grid,
  .mini-card-grid.four,
  .mini-card-grid.five,
  .idea-grid,
  .idea-grid.three {
    grid-template-columns: 1fr;
  }

  .anchor-pills {
    display: grid;
  }

  .page-hero .hero-actions {
    align-items: stretch;
  }

  .set-card {
    grid-template-columns: 1fr;
  }

  .set-card img {
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    object-fit: contain;
  }

  .pairing-card img,
  .assortment-card img,
  .storefront-card img {
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
  }

  .pairings-grid {
    grid-template-columns: 1fr;
  }

  .pairing-card div {
    min-height: 0;
  }

  .pairing-note {
    width: auto;
    white-space: normal;
  }

  .find-card {
    grid-template-columns: 1fr;
  }

  .spices-grid {
    grid-template-columns: 1fr;
  }

  .spice-chip {
    grid-template-columns: 4.2rem minmax(0, 1fr);
    padding: 0.85rem 0.95rem;
  }

  .spice-chip img {
    width: 4.2rem;
    height: 4.2rem;
  }

  .contact-panels {
    grid-template-columns: 1fr;
  }

  .assortment-grid {
    grid-template-columns: 1fr;
  }

  .map-card {
    height: 22rem;
    min-height: 0;
  }

  .map-widget {
    min-height: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
