.page-body {
  min-width: 320px;
  background: #f7f6f2;
  color: #171717;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: #fff;
  color: #171717;
  border: 2px solid #c93629;
  transform: translateY(-150%);
}

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

.page-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 0 3.4vw;
  background: #202326;
  color: #fff;
  border-bottom: 4px solid #c93629;
}

.page-header .brand {
  color: #fff;
}

.page-header .brand-logo {
  width: 112px;
}

.page-nav {
  min-width: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  overflow: hidden;
}

.page-nav a,
.mobile-nav a {
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.page-nav a:hover,
.page-nav a:focus-visible,
.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: #ffb23e;
}

.page-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-menu-button {
  width: 44px;
  height: 44px;
  display: none;
  place-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: inherit;
}

.page-menu-button span {
  width: 19px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform 180ms ease-out, opacity 180ms ease-out;
}

.page-menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.page-menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.page-menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 10px 3.4vw 18px;
  background: #202326;
  border-bottom: 4px solid #c93629;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 14px;
  background: #2a2e31;
}

.page-main {
  width: min(1380px, 100%);
  min-height: calc(100vh - 220px);
  margin: 0 auto;
  padding: 42px 3.4vw 96px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 52px;
  color: #676765;
  font-size: 13px;
}

.breadcrumbs a {
  color: #676765;
}

.page-title-block {
  max-width: 1000px;
  margin-bottom: 48px;
}

.page-title-block h1,
.not-found h1 {
  max-width: 1120px;
  margin: 12px 0 18px;
  font-size: 72px;
  line-height: 0.99;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.page-title-block > p:last-child {
  max-width: 850px;
  margin: 0;
  color: #62625f;
  font-size: 18px;
  line-height: 1.6;
}

.product-page-grid,
.contact-page-grid,
.feature-band,
.fermentation-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
  gap: 30px;
  align-items: start;
}

.page-gallery {
  min-width: 0;
}

.page-gallery-main {
  width: 100%;
  height: min(610px, 54vw);
  min-height: 420px;
  display: block;
  object-fit: contain;
  background: #fff;
  border: 1px solid #d8d4cd;
}

.page-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.gallery-thumb {
  aspect-ratio: 1.25;
  min-width: 0;
  padding: 4px;
  background: #fff;
  border: 1px solid #d8d4cd;
}

.gallery-thumb.is-active {
  border-color: #c93629;
  box-shadow: inset 0 0 0 1px #c93629;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.page-aside {
  position: sticky;
  top: 100px;
  padding: 28px;
  background: #202326;
  color: #fff;
  border-top: 5px solid #c93629;
}

.page-aside h2 {
  margin: 18px 0 12px;
  font-size: 28px;
  line-height: 1.1;
}

.page-aside p {
  color: #c8c8c6;
  line-height: 1.55;
}

.page-aside .primary-button {
  width: 100%;
  margin-top: 18px;
}

.status-label,
.listing-meta {
  display: inline-block;
  color: #c93629;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.page-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 56px;
  background: #d8d4cd;
  border: 1px solid #d8d4cd;
}

.page-content-grid > section {
  min-width: 0;
  padding: 34px;
  background: #fff;
}

.page-content-grid > section:first-child:last-child,
.page-content-grid > section:nth-last-child(1):nth-child(odd) {
  grid-column: 1 / -1;
}

.page-content-grid h2,
.feature-band h2,
.fermentation-page-grid h2,
.editorial-content h2 {
  margin: 0 0 20px;
  font-size: 30px;
  line-height: 1.08;
}

.page-content-grid p,
.page-content-grid li,
.editorial-content p,
.editorial-content li,
.feature-band p,
.fermentation-page-grid li {
  color: #555552;
  line-height: 1.65;
}

.page-content-grid ul,
.editorial-content ul,
.fermentation-page-grid ul {
  padding-left: 22px;
}

.page-subsections {
  display: grid;
  gap: 22px;
}

.page-subsections article {
  padding-top: 20px;
  border-top: 1px solid #d8d4cd;
}

.page-subsections h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.page-specs {
  display: grid;
  gap: 0;
  margin: 0;
}

.page-specs div {
  display: grid;
  grid-template-columns: minmax(130px, 0.9fr) minmax(0, 1.3fr);
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(127, 127, 127, 0.35);
}

.page-specs dt {
  color: #777772;
}

.page-specs dd {
  margin: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.document-list-page {
  display: grid;
  gap: 8px;
}

.document-link {
  display: block;
  padding: 15px 18px;
  background: #f1efea;
  color: #171717;
  font-weight: 750;
}

.listing-controls {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 0.7fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 26px;
  padding: 18px;
  background: #202326;
  color: #fff;
}

.listing-controls label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.listing-controls input,
.listing-controls select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: #171717;
  background: #fff;
  border: 0;
  font: inherit;
  text-transform: none;
}

.listing-controls > span {
  padding: 14px 6px;
  white-space: nowrap;
}

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

.listing-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border: 1px solid #d8d4cd;
  transition: transform 210ms ease-out, box-shadow 210ms ease-out;
}

.listing-card:hover,
.listing-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(25, 25, 25, 0.12);
}

.listing-card[hidden] {
  display: none;
}

.listing-image {
  aspect-ratio: 1.4;
  display: block;
  overflow: hidden;
  background: #f4f3ef;
}

.listing-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: transform 260ms ease-out;
}

.listing-card:hover .listing-image img {
  transform: scale(1.025);
}

.listing-card > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}

.listing-card h2 {
  margin: 10px 0 12px;
  font-size: 23px;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.listing-card h2 a {
  color: inherit;
  text-decoration: none;
}

.listing-card p {
  margin: 0 0 20px;
  color: #62625f;
  line-height: 1.55;
}

.text-link {
  margin-top: auto;
  color: #c93629;
  font-weight: 800;
}

.listing-empty {
  padding: 28px;
  background: #fff;
  border: 1px solid #d8d4cd;
}

.feature-band,
.contact-page-grid,
.fermentation-page-grid {
  padding: 36px;
  background: #fff;
  border-top: 5px solid #c93629;
}

.fermentation-media {
  margin-top: 30px;
  padding: 36px;
  border-top: 5px solid #c93629;
  background: #fff;
}

.fermentation-media header {
  max-width: 720px;
  margin-bottom: 26px;
}

.fermentation-media h2 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.08;
}

.fermentation-media header p {
  margin: 0;
  color: #555552;
  line-height: 1.6;
}

.fermentation-media > div {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
  gap: 18px;
}

.fermentation-media figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d8d4cd;
  background: #f3f0e9;
}

.fermentation-media img {
  width: 100%;
  height: 420px;
  display: block;
  object-fit: contain;
}

.fermentation-media figure:last-child img {
  object-fit: cover;
}

.fermentation-media figcaption {
  padding: 12px 14px;
  color: #555552;
  font-size: 13px;
  font-weight: 750;
}

.feature-band {
  align-items: center;
}

.feature-band img,
.contact-page-grid > img {
  width: 100%;
  max-height: 440px;
  display: block;
  object-fit: contain;
}

.feature-band .primary-button {
  margin-top: 18px;
}

.contact-page-grid {
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
}

.contact-page-grid > img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.editorial-content {
  max-width: 960px;
  padding: 40px;
  background: #fff;
  border-top: 5px solid #c93629;
}

.editorial-content h2:not(:first-child) {
  margin-top: 42px;
}

.editorial-content h3 {
  margin-top: 28px;
  font-size: 23px;
}

.article-cover {
  width: 100%;
  max-height: 660px;
  display: block;
  margin-bottom: 24px;
  object-fit: cover;
  background: #fff;
}

.article-page .editorial-content {
  margin: 0 auto;
}

.article-longform .page-title-block,
.article-longform > .article-cover,
.article-longform > .article-meta-strip {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.article-longform > .article-cover {
  max-height: 720px;
}

.article-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
  background: #202326;
  color: #fff;
}

.article-meta-strip > div {
  min-width: 0;
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.article-meta-strip > div:last-child {
  border-right: 0;
}

.article-meta-strip span,
.article-meta-strip strong {
  display: block;
}

.article-meta-strip span {
  margin-bottom: 6px;
  color: #bdbdb9;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-meta-strip strong {
  line-height: 1.4;
}

.article-longform .editorial-content {
  max-width: 960px;
}

.article-longform .editorial-content > p,
.article-longform .editorial-content > ul,
.article-longform .editorial-content > ol {
  max-width: 72ch;
}

.article-lede {
  margin-top: 0;
  color: #262625 !important;
  font-size: 21px;
  line-height: 1.55 !important;
}

.article-source-note {
  margin: 30px 0 38px;
  padding: 20px 0;
  border-top: 1px solid #d8d4cd;
  border-bottom: 1px solid #d8d4cd;
}

.article-source-note p {
  max-width: 72ch;
  margin: 0;
  color: #62625f;
  font-size: 14px;
  line-height: 1.6;
}

.article-figure {
  margin: 36px 0;
}

.article-figure img {
  width: 100%;
  max-height: 620px;
  display: block;
  object-fit: contain;
  background: #f1efea;
}

.article-figure figcaption {
  max-width: 72ch;
  margin-top: 10px;
  color: #6a6a66;
  font-size: 13px;
  line-height: 1.5;
}

.article-facts {
  margin: 34px 0 42px;
  border-top: 1px solid #d8d4cd;
}

.article-facts > div {
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) minmax(0, 1.6fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid #d8d4cd;
}

.article-facts dt {
  color: #777772;
  font-weight: 700;
}

.article-facts dd {
  margin: 0;
  color: #30302e;
  line-height: 1.55;
}

.article-related {
  margin-top: 46px;
  padding: 28px;
  background: #202326;
  color: #fff;
}

.article-related h2 {
  color: #fff;
}

.article-related p {
  max-width: 68ch;
  color: #c8c8c6 !important;
}

.article-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.article-related-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-weight: 750;
  text-decoration: none;
}

.article-related-links a:hover {
  color: #202326;
  background: #fff;
}

.not-found {
  max-width: 780px;
  padding: 56px;
  background: #fff;
  border-top: 6px solid #c93629;
}

.not-found > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 36px 3.4vw;
  background: #202326;
  color: #fff;
}

.page-footer > div {
  display: flex;
  gap: 18px;
  align-items: center;
}

.page-footer .footer-logo {
  flex: 0 0 auto;
}

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

:where(a, button, input, select):focus-visible {
  outline: 3px solid #ffb23e;
  outline-offset: 3px;
}

@media (max-width: 1320px) {
  .page-nav {
    display: none;
  }

  .page-menu-button {
    display: grid;
  }

  .page-header {
    grid-template-columns: 1fr auto;
  }

  .page-title-block h1,
  .not-found h1 {
    font-size: 56px;
  }

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

@media (max-width: 760px) {
  .page-header {
    min-height: 64px;
    padding: 0 16px;
  }

  .page-header .header-phone,
  .page-header .primary-button {
    display: none;
  }

  .page-header .brand-logo {
    width: 98px;
  }

  .mobile-nav {
    grid-template-columns: 1fr;
    max-height: calc(100svh - 64px);
    padding: 8px 16px 16px;
    overflow-y: auto;
  }

  .page-main {
    padding: 26px 16px 64px;
  }

  .breadcrumbs {
    margin-bottom: 34px;
  }

  .page-title-block {
    margin-bottom: 34px;
  }

  .page-title-block h1,
  .not-found h1 {
    font-size: 38px;
  }

  .page-title-block > p:last-child {
    font-size: 16px;
  }

  .product-page-grid,
  .page-content-grid,
  .feature-band,
  .contact-page-grid,
  .fermentation-page-grid,
  .listing-controls,
  .listing-grid {
    grid-template-columns: 1fr;
  }

  .page-gallery-main {
    height: min(390px, 92vw);
    min-height: 280px;
  }

  .page-aside {
    position: static;
  }

  .page-content-grid > section,
  .page-content-grid > section:nth-last-child(1):nth-child(odd) {
    grid-column: auto;
    padding: 24px;
  }

  .page-content-grid h2,
  .feature-band h2,
  .fermentation-page-grid h2,
  .editorial-content h2 {
    font-size: 26px;
  }

  .page-specs div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .feature-band,
  .contact-page-grid,
  .fermentation-page-grid,
  .fermentation-media,
  .editorial-content,
  .not-found {
    padding: 24px;
  }

  .fermentation-media > div {
    grid-template-columns: 1fr;
  }

  .fermentation-media img {
    height: 320px;
  }

  .contact-page-grid > img {
    min-height: 260px;
  }

  .article-meta-strip,
  .article-facts > div {
    grid-template-columns: 1fr;
  }

  .article-meta-strip > div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .article-meta-strip > div:last-child {
    border-bottom: 0;
  }

  .article-facts > div {
    gap: 6px;
  }

  .article-lede {
    font-size: 18px;
  }

  .article-related {
    padding: 24px;
  }

  .page-footer,
  .page-footer > div {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .listing-card,
  .listing-image img,
  .page-menu-button span {
    transition: none;
  }

  .listing-card:hover,
  .listing-card:focus-within,
  .listing-card:hover .listing-image img {
    transform: none;
  }
}
