:root {
  color-scheme: light;
  --ink: #1e2522;
  --muted: #5f6861;
  --paper: #f8f6f0;
  --porcelain: #ffffff;
  --moss: #263f35;
  --sage: #dce6dc;
  --rose: #b65f5a;
  --amber: #af7a3c;
  --line: #d7d4ca;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(248, 246, 240, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-name {
  line-height: 1;
}

.brand-origin {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 2px;
  padding: 0 9px;
  border-left: 1px solid rgba(38, 63, 53, 0.22);
  color: #5f6f64;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 7px;
  background: #fff;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transform-origin: center;
}

.nav-dropdown[open] summary {
  color: var(--ink);
}

.nav-dropdown[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 30;
  display: grid;
  gap: 2px;
  min-width: 252px;
  padding: 8px;
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(37, 48, 42, 0.14);
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--ink);
  line-height: 1.25;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
  background: var(--moss);
  color: #fff;
  outline: none;
}

.hero {
  min-height: 66vh;
  display: grid;
  align-items: end;
  padding: clamp(64px, 10vw, 124px) clamp(20px, 5vw, 72px) clamp(36px, 6vw, 72px);
  background-image:
    linear-gradient(90deg, rgba(30, 37, 34, 0.86), rgba(30, 37, 34, 0.52) 45%, rgba(30, 37, 34, 0.1)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-inner {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e8b7aa;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 960px;
  font-size: clamp(2.35rem, 5.4vw, 5.35rem);
}

h2 {
  font-size: clamp(1.85rem, 4vw, 3.6rem);
}

h3 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font: inherit;
  cursor: pointer;
}

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

.button.secondary {
  color: #fff;
}

.intro-grid,
.section-wrap,
.blog-preview,
.page-section,
.article-body,
.faq,
.collection-header,
.answer-band,
.contact-band {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(56px, 9vw, 104px) 0;
}

.intro-grid p,
.answer-band p,
.contact-band p {
  color: var(--muted);
  font-size: 1.04rem;
}

.category-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.category-band a {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: clamp(28px, 6vw, 64px);
  text-decoration: none;
  background: var(--porcelain);
}

.category-band a:nth-child(2) {
  background: var(--moss);
  color: #fff;
}

.category-band span {
  color: var(--rose);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.category-band strong {
  max-width: 560px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.12;
}

.section-wrap,
.blog-preview,
.page-section,
.faq {
  padding: clamp(56px, 9vw, 104px) 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.product-grid-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1480px, calc(100% - 40px));
  margin: 34px auto 80px;
}

.product-card {
  display: grid;
  grid-template-rows: 230px 1fr;
  min-width: 0;
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.product-card[hidden],
.product-card.is-hidden-by-filter {
  display: none !important;
}

.product-media {
  display: block;
  min-width: 0;
}

.product-card img,
.product-main-image,
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f2f1ec;
  padding: 16px;
}

.product-card h3 a {
  text-decoration: none;
}

.product-copy {
  padding: 18px;
}

.product-copy p {
  color: var(--muted);
  font-size: 0.94rem;
}

.product-copy dl {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.product-copy dl div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  font-size: 0.86rem;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
}

.product-detail-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--moss);
  font-weight: 700;
  text-decoration-color: rgba(38, 63, 53, 0.32);
  text-underline-offset: 4px;
}

.blog-preview {
  border-top: 1px solid var(--line);
}

.section-lead {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
}

.legacy-anchor {
  display: block;
  position: relative;
  top: -88px;
}

.article-grid,
.process-list,
.map-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.article-card,
.process-list article,
.map-grid article,
.answer-band {
  padding: 22px;
  background: var(--sage);
  border-radius: 8px;
}

.article-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--porcelain);
}

.article-card h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.article-card p,
.process-list p,
.map-grid p,
.faq p {
  color: var(--muted);
}

.article-card a,
.text-link,
.inline-links a,
.next-links a {
  color: var(--moss);
  font-weight: 700;
  text-decoration-color: rgba(38, 63, 53, 0.32);
  text-underline-offset: 4px;
}

.article-card a {
  margin-top: auto;
}

.inline-links,
.next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 20px;
}

.article-body {
  max-width: 920px;
  padding: clamp(70px, 10vw, 120px) 0;
}

.article-body section {
  margin-top: 34px;
}

.article-body h2 {
  font-size: clamp(1.45rem, 3vw, 2.4rem);
}

.article-body p {
  color: var(--muted);
  font-size: 1.05rem;
}

.product-detail {
  width: min(1380px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) 0 clamp(64px, 9vw, 110px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--moss);
  font-weight: 700;
  text-decoration-color: rgba(38, 63, 53, 0.28);
  text-underline-offset: 4px;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.product-gallery {
  display: grid;
  gap: 12px;
}

.product-main-image {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.gallery-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f2f1ec;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible,
.gallery-thumb[aria-current="true"] {
  border-color: var(--moss);
  outline: none;
}

.gallery-thumb[aria-current="true"] {
  box-shadow: 0 0 0 2px rgba(38, 63, 53, 0.16);
}

.gallery-thumb img {
  border: 0;
  border-radius: 0;
  padding: 8px;
}

.product-detail-copy {
  padding-top: 8px;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
}

.detail-list div {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.product-story {
  width: 100%;
  margin-top: clamp(34px, 7vw, 82px);
  padding-bottom: 0;
  border-top: 1px solid var(--line);
}

.product-rich-details {
  width: 100%;
  padding-top: clamp(42px, 7vw, 78px);
}

.rich-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.rich-detail-panel {
  min-width: 0;
  padding: 22px;
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.rich-detail-wide {
  grid-column: 1 / -1;
}

.rich-detail-panel h3 {
  margin-bottom: 12px;
}

.rich-detail-panel h4 {
  margin: 0 0 6px;
  color: var(--moss);
  font-size: 0.92rem;
}

.rich-detail-panel p,
.bullet-list {
  color: var(--muted);
}

.ingredient-groups {
  display: grid;
  gap: 14px;
}

.bullet-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.product-faq {
  width: 100%;
  padding-top: clamp(36px, 6vw, 72px);
}

.product-faq details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.product-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.08rem;
}

.product-faq p {
  color: var(--muted);
}

.faq details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.08rem;
}

.contact-band {
  padding: clamp(46px, 8vw, 90px) 0;
  border-top: 1px solid var(--line);
}

.inquiry-section {
  padding-top: clamp(24px, 6vw, 72px);
  padding-bottom: clamp(56px, 9vw, 104px);
}

.wholesale-inquiry-form {
  margin-top: 28px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--porcelain);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field,
.checkbox-group {
  display: grid;
  gap: 8px;
}

.field.full,
.checkbox-group {
  grid-column: 1 / -1;
}

.field span,
.checkbox-group legend {
  color: var(--ink);
  font-weight: 700;
}

.field .required-asterisk {
  margin-left: 6px;
  color: #c7352f;
  font-weight: 800;
}

.required-note {
  margin-left: 4px;
  color: var(--rust);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.checkbox-group {
  border: 0;
  margin: 0;
  padding: 0;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
}

.checkbox-option input {
  flex: 0 0 auto;
  margin-top: 4px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.form-submit {
  border-color: var(--moss);
  background: var(--moss);
  color: #fff;
}

.form-submit:disabled {
  cursor: progress;
  opacity: 0.72;
}

.form-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.form-actions.compact {
  margin-top: 14px;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
}

.form-status[data-state="success"] {
  color: var(--moss);
  font-weight: 700;
}

.form-status[data-state="error"] {
  color: #9f2f2a;
  font-weight: 700;
}

.form-botcheck {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.inquiry-copy-panel {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.inquiry-copy-panel[hidden] {
  display: none;
}

.inquiry-copy-help {
  margin: 0 0 14px;
  color: var(--muted);
}

.inquiry-copy-help a {
  color: var(--ink);
  font-weight: 700;
}

.inquiry-copy-text {
  font-size: 0.94rem;
  line-height: 1.5;
}

.collection-header {
  padding: clamp(70px, 10vw, 120px) 0 34px;
}

.collection-header p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
}

.filter-note {
  width: min(1180px, calc(100% - 40px));
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px auto 0;
}

.filter-panel {
  width: min(1180px, calc(100% - 40px));
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  margin: 24px auto 0;
}

.category-select-label {
  display: grid;
  gap: 8px;
  width: min(100%, 360px);
  color: var(--ink);
  font-weight: 700;
}

.category-select-label span {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.category-filter-select {
  min-height: 46px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.category-filter-button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.88rem;
  font: inherit;
}

.category-filter-button:hover,
.category-filter-button[aria-pressed="true"] {
  border-color: var(--moss);
  background: var(--moss);
  color: #fff;
}

.collection-filter-count {
  width: min(1180px, calc(100% - 40px));
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

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

.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  text-align: right;
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (max-width: 980px) {
  .intro-grid,
  .product-detail-hero,
  .rich-detail-grid,
  .category-band,
  .article-grid,
  .process-list,
  .map-grid,
  .product-grid,
  .product-grid-wide {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .site-nav,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
  }

  .nav-links {
    gap: 12px;
  }

  .brand-origin {
    min-height: 20px;
    padding: 0 7px;
    font-size: 0.7rem;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    box-shadow: none;
  }

  .hero {
    min-height: 58vh;
    padding-top: 68px;
    padding-bottom: 34px;
    background-position: center top;
  }

  h1 {
    font-size: clamp(2.05rem, 8.8vw, 3rem);
  }

  .intro-grid,
  .product-detail-hero,
  .rich-detail-grid,
  .category-band,
  .article-grid,
  .process-list,
  .map-grid,
  .product-grid,
  .product-grid-wide {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-rows: 210px 1fr;
  }

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

  .form-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-submit {
    justify-content: center;
    width: 100%;
  }

  .detail-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
