:root {
  --ink: #140b02;
  --root: #5f493d;
  --rose: #cd9c91;
  --rose-soft: #dec0ba;
  --paper: #ece9e1;
  --paper-warm: #f3f0e8;
  --charcoal: #080501;
  --gold: #c7931f;
  --body: "gotham", "Avenir Next", sans-serif;
  --display: espiritu-condensed, "Arial Narrow", sans-serif;
  --wide: "espiritu-expanded", Georgia, serif;
  --slab: espiritu, Georgia, serif;
  --nav-height: 118px;
  --nav-current-height: var(--nav-height);
  --splash-outline-progress: 1;
  --boil-filter: url("#boil-line-soft");
  --title-boil-filter: url("#boil-line-title");
}

.is-safari {
  --boil-filter: opacity(1);
  --title-boil-filter: opacity(1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.nav-solid {
  --nav-bg: var(--ink);
  --nav-current-height: 96px;
}

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

a {
  color: inherit;
}

::selection {
  background: var(--rose);
  color: var(--ink);
}

.svg-effects {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 760ms ease,
    transform 880ms cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.has-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.has-reveal .story-photo[data-reveal] {
  transform: translate3d(0, calc(var(--parallax-y, 0px) + 28px), 0);
}

.has-reveal .story-photo[data-reveal].is-revealed {
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.has-reveal .product-grid [data-reveal]:nth-child(2) {
  --reveal-delay: 110ms;
}

.has-reveal .product-grid [data-reveal]:nth-child(3) {
  --reveal-delay: 220ms;
}

.site-nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: var(--nav-current-height);
  grid-template-columns: 1.55fr 1.05fr 150px 1.05fr 1.55fr;
  align-items: center;
  padding: 0 clamp(18px, 6vw, 118px);
  color: var(--rose-soft);
  background: var(--nav-bg, transparent);
  transition: background 360ms ease, height 360ms ease, box-shadow 360ms ease;
}

.site-nav::before {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--nav-current-height) + 42px);
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(20, 11, 2, 0.4), rgba(20, 11, 2, 0));
  opacity: 1;
  transition: opacity 360ms ease;
}

.nav-links {
  display: contents;
}

.nav-links .nav-link:nth-child(1) {
  grid-column: 1;
}

.nav-links .nav-link:nth-child(2) {
  grid-column: 2;
}

.nav-links .nav-link:nth-child(3) {
  grid-column: 4;
}

.nav-links .nav-link:nth-child(4) {
  grid-column: 5;
}

.mobile-nav-toggle,
.mobile-nav-close {
  display: none;
}

.nav-solid .site-nav::before {
  opacity: 0;
}

.nav-solid .site-nav {
  box-shadow: 0 1px 0 rgba(205, 156, 145, 0.24);
}

.nav-link {
  position: relative;
  display: inline-flex;
  height: var(--nav-current-height);
  align-items: center;
  align-self: stretch;
  justify-self: center;
  padding-top: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--slab);
  font-size: clamp(13px, 1.25vw, 20px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--rose-soft);
  text-shadow:
    0 3px 0 rgb(20 11 2 / calc(var(--splash-outline-progress, 1) * 0.94)),
    2px 2px 0 rgb(20 11 2 / calc(var(--splash-outline-progress, 1) * 0.88)),
    -2px 2px 0 rgb(20 11 2 / calc(var(--splash-outline-progress, 1) * 0.88)),
    2px -2px 0 rgb(20 11 2 / calc(var(--splash-outline-progress, 1) * 0.82)),
    -2px -2px 0 rgb(20 11 2 / calc(var(--splash-outline-progress, 1) * 0.82)),
    0 0 10px rgb(20 11 2 / calc(var(--splash-outline-progress, 1) * 0.8));
  transition: color 240ms ease, text-shadow 120ms linear;
}

.nav-link::after {
  position: absolute;
  right: 8%;
  bottom: 5px;
  left: 8%;
  height: 3px;
  content: "";
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 200ms ease, transform 200ms ease;
}

.nav-link:is(:hover, :focus-visible, .is-active)::after {
  opacity: 0.8;
  transform: scaleX(1);
}

.brand-mark {
  z-index: 2;
  grid-column: 3;
  grid-row: 1;
  justify-self: center;
  width: clamp(86px, 8vw, 150px);
  margin-top: clamp(8px, 0.9vw, 14px);
  filter:
    var(--boil-filter)
    drop-shadow(0 3px 0 rgb(20 11 2 / calc(var(--splash-outline-progress, 1) * 0.9)))
    drop-shadow(2px 0 0 rgb(20 11 2 / calc(var(--splash-outline-progress, 1) * 0.72)))
    drop-shadow(-2px 0 0 rgb(20 11 2 / calc(var(--splash-outline-progress, 1) * 0.72)));
  transition: transform 360ms ease, filter 120ms linear;
}

.brand-mark:hover {
  transform: translateY(1px) rotate(-2deg) scale(1.03);
}

main {
  overflow: hidden;
}

.engraved-continuum {
  --engraving-darkness: 0.3;
  --engraving-y: 0px;
  --poster-border-progress: 1;
  position: relative;
  overflow: clip;
  background-color: var(--ink);
  isolation: isolate;
}

.engraved-continuum-bg,
.engraved-continuum-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.engraved-continuum-bg {
  z-index: 0;
  inset: 0 0 -220px;
  background-image: url("assets/backgrounds/engraved.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  transform: translate3d(0, var(--engraving-y), 0);
  will-change: transform;
}

.engraved-continuum-shade {
  z-index: 1;
  background: #140b02;
  opacity: var(--engraving-darkness);
}

.poster-frame {
  --frame: clamp(10px, 1.4vw, 27px);
}

.poster-frame::after {
  position: fixed;
  z-index: 30;
  inset: 0;
  pointer-events: none;
  content: "";
  border: calc(var(--frame) * var(--poster-border-progress, 1)) solid var(--rose-soft);
  opacity: 1;
  transition: border-width 80ms linear;
}

.hero {
  position: relative;
  z-index: 3;
  min-height: 100svh;
  padding: calc(var(--nav-height) + 28px) clamp(20px, 5vw, 96px) 42px;
  display: grid;
  place-items: start center;
  isolation: isolate;
  overflow: visible;
  background: transparent;
  color: var(--rose);
}

.hero-title-card {
  position: relative;
  z-index: 1;
  width: min(860px, 74vw);
  margin-top: clamp(160px, 22vh, 310px);
  transform: translate3d(0, var(--parallax-y, 0), 0);
}

.hero-title-card:hover,
.hero-title-card:focus-within {
  --title-boil-filter: url("#boil-line-title-strong");
}

.is-safari .hero-title-card:hover,
.is-safari .hero-title-card:focus-within {
  --title-boil-filter: opacity(1);
}

.hero-title-art {
  width: 100%;
  filter: var(--title-boil-filter) drop-shadow(0 16px 28px rgba(20, 11, 2, 0.28));
  transform: scale(0.965);
  transform-origin: center;
  animation: hero-title-arrive 2600ms cubic-bezier(0.19, 1, 0.22, 1) 420ms forwards;
  transition: filter 180ms linear;
  will-change: opacity, transform, filter;
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  bottom: clamp(20px, 5vh, 58px);
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 170px;
  color: var(--rose-soft);
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0;
  filter:
    var(--boil-filter)
    drop-shadow(0 4px 0 rgb(20 11 2 / calc(var(--splash-outline-progress, 1) * 0.96)))
    drop-shadow(3px 0 0 rgb(20 11 2 / calc(var(--splash-outline-progress, 1) * 0.86)))
    drop-shadow(-3px 0 0 rgb(20 11 2 / calc(var(--splash-outline-progress, 1) * 0.86)))
    drop-shadow(0 0 10px rgb(20 11 2 / calc(var(--splash-outline-progress, 1) * 0.8)));
  transform: translate(-50%, 12px);
  animation: scroll-cue-appear 720ms ease 1500ms forwards;
  transition: filter 120ms linear;
}

.scroll-cue span {
  font-family: var(--display);
  font-size: clamp(34px, 5.5vw, 72px);
  line-height: 0.9;
}

.scroll-cue-icon {
  width: clamp(32px, 3.4vw, 46px);
  height: auto;
  animation: breathe 2600ms ease-in-out infinite;
}

.dark-engraved {
  position: relative;
  z-index: 3;
  min-height: clamp(860px, 112svh, 1100px);
  padding: calc(var(--nav-height) + 74px) clamp(28px, 8vw, 150px) clamp(58px, 6.5vw, 92px);
  display: grid;
  align-items: center;
  overflow: visible;
  background: transparent;
  color: var(--paper-warm);
  isolation: isolate;
}

.soil-intro-layout {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1180px, 86vw);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: clamp(38px, 5vw, 88px);
  align-items: center;
}

.intro-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: left;
}

.intro-copy h2,
.section-heading h2 {
  margin: 0;
  font-family: var(--wide);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
}

.story-copy p {
  text-wrap: balance;
}
.intro-copy h2 {
  max-width: 820px;
  font-size: clamp(44px, 5.5vw, 60px);
  line-height: 1.2;
  color: var(--paper-warm);
  text-shadow: 0 2px 0 rgba(20, 11, 2, 0.9);
}

.intro-copy p {
  max-width: 800px;
  margin: clamp(8px, 1.2vw, 46px) 0 0;
  color: rgba(243, 240, 232, 0.92);
  font-size: clamp(18px, 1.45vw, 26px);
  line-height: 1.72;
  text-wrap: balance;
}

.soil-fact-carousel {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: visible;
  align-self: center;
  padding: clamp(18px, 2.2vw, 28px) 0 clamp(18px, 2.8vw, 40px) clamp(26px, 3.2vw, 44px);
  color: #c29b90;
  background: transparent;
  cursor: pointer;
  isolation: isolate;
  user-select: none;
}

.soil-fact-carousel::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: clamp(7px, 0.9vw, 14px);
  pointer-events: none;
  content: "";
  background: url("assets/backgrounds/soil-rule.svg") center / 100% 100% no-repeat;
  filter: var(--boil-filter);
  opacity: 0.74;
}

.soil-fact-track {
  position: relative;
  display: grid;
}

.soil-fact-slide {
  position: relative;
  grid-area: 1 / 1;
  display: block;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms steps(6, end);
}

.soil-fact-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.soil-fact-art {
  display: block;
  width: min(100%, clamp(220px, 21vw, 320px));
  height: auto;
  aspect-ratio: 4 / 3;
  margin-bottom: clamp(24px, 3vw, 40px);
  opacity: 0.96;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) saturate(100%) invert(72%) sepia(13%) saturate(658%) hue-rotate(320deg) brightness(83%) contrast(87%);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.soil-fact-slide > div:last-child::before {
  display: block;
  margin: 0 0 clamp(8px, 1.5vw, 8px);
  content: "Soil Facts";
  font-family: var(--wide);
  font-size: clamp(12px, 0.9vw, 15px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.soil-fact-slide h3 {
  max-width: 250px;
  margin: 0 0 clamp(10px, 1.6vw, 10px);
  font-family: var(--display);
  font-size: clamp(32px, 3.2vw, 50px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.soil-fact-slide p {
  max-width: 250px;
  margin: 0;
  color: #c29b90;
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 700;
  line-height: 1.5;
  text-wrap: balance;
}

.soil-worm {
  --worm-size: clamp(174px, 16.2vw, 267px);
  --worm-progress: 0;
  --worm-bottom: clamp(26px, 7svh, 86px);
  --worm-scale-x: 1;
  --worm-angle: 0deg;
  --worm-path-y: 0px;
  position: absolute;
  z-index: 3;
  bottom: var(--worm-bottom);
  left: calc(var(--worm-size) * -1.3);
  width: var(--worm-size);
  opacity: 0;
  pointer-events: none;
  transform:
    translate3d(
      calc(var(--worm-progress) * (100vw + var(--worm-size) * 2.6)),
      calc(var(--worm-progress) * var(--worm-path-y)),
      0
    )
    rotate(var(--worm-angle))
    scaleX(var(--worm-scale-x));
  transform-origin: center;
  transition: opacity 260ms ease;
  will-change: transform, opacity;
}

.soil-worm.is-worm-running {
  opacity: 0.88;
}

.soil-worm img {
  width: 100%;
  max-width: none;
  height: auto;
  filter: drop-shadow(0 8px 10px rgba(20, 11, 2, 0.18));
}

.paper-section {
  position: relative;
  background: var(--paper);
}

.video-still img,
.story-photo img,
.story-photo video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: clamp(12px, 0.8vw, 14px);
  line-height: 1.35;
}

.soil-band {
  position: relative;
  height: clamp(420px, 48vw, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.soil-band-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(0.96) saturate(0.9) sepia(0.05);
}

.soil-band::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 20% 30%, rgba(243, 240, 232, 0.12) 0 1px, transparent 1.4px),
    radial-gradient(circle at 68% 58%, rgba(20, 11, 2, 0.18) 0 1px, transparent 1.6px),
    repeating-radial-gradient(circle at 52% 44%, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 4px);
  background-size: 23px 21px, 31px 29px, 7px 7px;
  mix-blend-mode: soft-light;
  opacity: 0.3;
}

.soil-band::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(20, 11, 2, 0.3), rgba(20, 11, 2, 0.3)),
    linear-gradient(180deg, rgba(20, 11, 2, 0.04), rgba(20, 11, 2, 0.34));
}

.soil-band-title {
  position: relative;
  z-index: 3;
  width: min(86vw, 1120px);
  min-height: clamp(104px, 20vw, 255px);
  margin: 0 auto clamp(44px, 6.4vw, 98px);
  padding: 0 clamp(20px, 4vw, 48px);
  color: var(--paper-warm);
  text-align: center;
}

.soil-band-title svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: var(--title-boil-filter) drop-shadow(0 12px 18px rgba(20, 11, 2, 0.34));
}

.soil-band-title-word {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 760ms ease,
    transform 920ms cubic-bezier(0.19, 1, 0.22, 1);
}

.soil-band-title-word.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.soil-band-title-fallback {
  font-family: var(--wide);
  font-size: clamp(42px, 8vw, 120px);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 0 3px 12px rgba(20, 11, 2, 0.58);
}

.products-section {
  isolation: isolate;
  padding: calc(var(--nav-height) + 70px) clamp(24px, 6vw, 120px) clamp(96px, 9vw, 140px);
}

.products-section::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  content: "";
  background: url("assets/backgrounds/products-texture.png") center top / cover no-repeat;
  opacity: 1;
}

.products-section > * {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 980px;
  margin: 0 auto clamp(54px, 6.4vw, 82px);
  text-align: center;
}

.section-heading p,
.story-copy > p:first-child {
  margin: 0 0 18px;
  font-family: var(--wide);
  font-size: clamp(16px, 1.55vw, 26px);
  line-height: 1;
  text-transform: uppercase;
}

.section-heading h2 {
  font-family: var(--display);
  font-size: clamp(42px, 5.1vw, 78px);
  letter-spacing: 0;
}

.section-heading span {
  display: block;
  max-width: 800px;
  margin: clamp(30px, 4vw, 44px) auto 0;
  font-size: clamp(15px, 1.1vw, 19px);
  line-height: 1.58;
}

.products-heading {
  max-width: 1120px;
  margin-bottom: clamp(58px, 7vw, 96px);
}

.products-heading .products-kicker,
.products-heading .products-subhead {
  margin: 0;
  font-family: var(--wide);
  font-size: clamp(13px, 1.4vw, 21px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.products-heading h2 {
  margin: clamp(18px, 2.4vw, 30px) 0 clamp(22px, 2.8vw, 34px);
  color: #7f955e;
  font-family: var(--display);
  font-size: clamp(78px, 9.2vw, 158px);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: 2.25px;
  text-transform: uppercase;
}

.products-intro-copy {
  max-width: 680px;
  margin: clamp(24px, 2.6vw, 52px) auto 0;
  text-wrap: balance;
}

.products-heading .products-intro-copy span {
  max-width: 680px;
  margin-top: 0;
  font-size: clamp(17px, 1.35vw, 23px);
  line-height: 1.72;
}

.products-heading .products-intro-copy span + span {
  margin-top: clamp(10px, 1.2vw, 18px);
}

.product-grid {
  display: grid;
  max-width: 1080px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 46px);
}

.product-card {
  --product-highlight: var(--ink);
  min-width: 0;
  cursor: pointer;
  text-align: center;
}

.product-card-potting {
  --product-highlight: #8c6f68;
}

.product-card-planting {
  --product-highlight: #616f3f;
}

.product-card-raised-beds {
  --product-highlight: #a07735;
}

.product-media {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.product-media img {
  width: 93%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  transform-origin: center center;
  transition:
    transform 420ms cubic-bezier(0.19, 1, 0.22, 1),
    filter 420ms ease;
}

.product-card:is(:hover, :focus-visible) .product-media img {
  filter: saturate(1.04);
  transform: translateY(-10px) scale(1.06);
}

.product-media > .ingredients-toggle {
  display: none;
}

.ingredients-toggle {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(236, 233, 225, 0.82);
  background: rgba(20, 11, 2, 0.78);
  color: var(--paper-warm);
  font-family: var(--wide);
  font-size: clamp(10px, 0.75vw, 12px);
  line-height: 1;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 10px 12px 9px;
  cursor: pointer;
  opacity: 0.82;
  transition: opacity 180ms ease, background 180ms ease, transform 180ms ease;
}

.ingredients-toggle:is(:hover, :focus-visible) {
  background: var(--ink);
  opacity: 1;
  transform: translateY(-1px);
}

.ingredients-card {
  position: absolute;
  z-index: 2;
  top: clamp(14px, 4%, 24px);
  right: clamp(14px, 5%, 26px);
  left: clamp(14px, 5%, 26px);
  max-height: calc(100% - 34px);
  overflow: auto;
  padding: clamp(18px, 2vw, 28px);
  color: var(--ink);
  text-align: left;
  background: rgba(236, 233, 225, 0.96);
  box-shadow: 0 18px 38px rgba(20, 11, 2, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.98);
  transition: opacity 220ms ease, transform 260ms ease;
}

.product-card.is-ingredients-open .ingredients-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.ingredients-card h4,
.ingredients-card h5 {
  margin: 0 0 10px;
  font-family: var(--body);
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 800;
  line-height: 1.04;
}

.ingredients-card h5 {
  margin-top: clamp(18px, 2vw, 26px);
}

.ingredients-card p {
  max-width: none;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(13px, 1vw, 17px);
  font-weight: 500;
  line-height: 1.24;
}

.ingredients-card span {
  white-space: nowrap;
}

.ingredients-card .ingredient-row {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(10px, 2vw, 28px);
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(20, 11, 2, 0.14);
}

.ingredients-card .ingredient-row::before {
  display: none;
}

@media (max-width: 760px) {
  .ingredients-card .ingredient-row {
    flex-wrap: wrap;
    column-gap: 12px;
    row-gap: 2px;
  }
}

.product-card h3 {
  margin: clamp(28px, 3.2vw, 42px) 0 12px;
  color: var(--ink);
  font-family: var(--slab);
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 0.95;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.product-card:is(:hover, :focus-visible) h3 {
  color: var(--product-highlight);
}

.product-card p {
  max-width: 310px;
  margin: 0 auto;
  font-size: clamp(15px, 1.08vw, 17px);
  line-height: 1.56;
}

.product-modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(26px, 5vw, 78px);
  overflow: hidden;
  background: rgba(20, 11, 2, 0.97);
  color: var(--paper-warm);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 360ms ease,
    visibility 0ms linear 360ms;
}

.product-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0ms;
}

.product-modal-close {
  position: fixed;
  z-index: 2;
  top: clamp(22px, 4vw, 52px);
  left: clamp(22px, 4vw, 52px);
  width: clamp(46px, 5.4vw, 78px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--rose-soft);
  cursor: pointer;
  opacity: 0.78;
  transition: opacity 180ms ease, transform 220ms ease;
}

.product-modal-close:is(:hover, :focus-visible) {
  opacity: 1;
  transform: rotate(-4deg) scale(1.04);
}

.product-modal-close img {
  width: 100%;
  filter: var(--boil-filter);
}

.product-modal-inner {
  display: grid;
  width: min(100%, 1360px);
  height: min(900px, calc(100vh - clamp(52px, 10vw, 156px)));
  max-height: calc(100vh - clamp(52px, 10vw, 156px));
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: clamp(46px, 7vw, 96px);
  align-items: stretch;
  transform: translateY(18px) scale(0.97);
  transition: transform 520ms cubic-bezier(0.19, 1, 0.22, 1);
}

.product-modal.is-open .product-modal-inner {
  transform: translateY(0) scale(1);
}

.product-modal-media {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(20px, 2.6vw, 34px);
  min-height: 0;
}

.product-modal-media > img {
  width: min(100%, clamp(320px, 38vw, 590px));
  max-height: min(72vh, 850px);
  object-fit: contain;
  filter: drop-shadow(0 34px 48px rgba(0, 0, 0, 0.34));
  transform: translateY(18px) scale(0.92);
  transform-origin: center bottom;
  transition: transform 580ms cubic-bezier(0.19, 1, 0.22, 1);
}

.product-modal.is-open .product-modal-media > img {
  transform: translateY(0) scale(1);
}

.product-modal-ingredients-toggle {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 360px);
  min-height: 52px;
  padding: 0 32px;
  border: 2px solid rgba(194, 155, 144, 0.75);
  background: transparent;
  color: var(--rose-soft);
  font-family: var(--wide);
  font-size: 0;
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.product-modal-ingredients-toggle::before {
  content: "See Ingredients";
  font-size: clamp(13px, 1.25vw, 22px);
}

.product-modal-ingredients-toggle[aria-expanded="true"]::before {
  content: "Hide Ingredients";
}

.product-modal-ingredients-toggle:is(:hover, :focus-visible) {
  border-color: var(--rose-soft);
  background: rgba(194, 155, 144, 0.1);
  color: var(--paper-warm);
  transform: translateY(-1px);
}

.product-modal-ingredients.ingredients-card {
  position: absolute;
  z-index: 3;
  top: 48%;
  left: 50%;
  width: min(82%, 480px);
  max-height: 0;
  padding: 0 clamp(18px, 2vw, 30px);
  overflow: hidden;
  background: rgba(236, 233, 225, 0.98);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -54%) scale(0.96);
  transition:
    opacity 220ms ease,
    transform 260ms ease,
    max-height 320ms ease,
    padding 260ms ease;
}

.product-modal.is-ingredients-open .product-modal-ingredients.ingredients-card {
  max-height: min(58vh, 560px);
  padding-top: clamp(18px, 2vw, 30px);
  padding-bottom: clamp(18px, 2vw, 30px);
  overflow-y: auto;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -54%) scale(1);
}

.product-modal-copy {
  max-width: 650px;
  min-height: 0;
  max-height: 100%;
  padding: clamp(38px, 6vh, 70px) clamp(12px, 1.4vw, 22px) clamp(28px, 4vh, 50px) 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(194, 155, 144, 0.62) rgba(243, 240, 232, 0.08);
  scrollbar-width: thin;
  text-align: left;
}

.product-modal-copy::-webkit-scrollbar {
  width: 8px;
}

.product-modal-copy::-webkit-scrollbar-track {
  background: rgba(243, 240, 232, 0.08);
}

.product-modal-copy::-webkit-scrollbar-thumb {
  background: rgba(194, 155, 144, 0.62);
}

.product-modal-copy > p:first-child {
  margin: 0 0 clamp(14px, 1.8vw, 22px);
  font-family: var(--wide);
  font-size: clamp(15px, 1.4vw, 26px);
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.product-modal-copy h3 {
  margin: 0 0 clamp(28px, 3.4vw, 52px);
  color: var(--rose-soft);
  font-family: var(--display);
  font-size: clamp(74px, 8.2vw, 156px);
  font-weight: 400;
  line-height: 0.78;
  text-transform: uppercase;
}

.product-modal-copy div p {
  max-width: none;
  margin: 0 0 clamp(20px, 2.3vw, 34px);
  color: rgba(243, 240, 232, 0.92);
  font-size: clamp(18px, 1.45vw, 28px);
  line-height: 1.58;
}

.product-modal-directions {
  margin-top: clamp(34px, 4vw, 58px);
  padding-top: clamp(26px, 3vw, 42px);
  border-top: 1px solid rgba(194, 155, 144, 0.46);
}

.product-modal-directions h4 {
  margin: 0 0 clamp(22px, 2.6vw, 34px);
  color: var(--paper-warm);
  font-family: var(--wide);
  font-size: clamp(18px, 1.8vw, 30px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.product-modal-directions article {
  margin: 0 0 clamp(24px, 2.7vw, 38px);
}

.product-modal-directions article:last-child {
  margin-bottom: 0;
}

.product-modal-directions h5 {
  margin: 0 0 8px;
  color: var(--rose-soft);
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.product-modal-copy .product-modal-directions p {
  margin-bottom: 0;
  font-size: clamp(16px, 1.15vw, 22px);
  line-height: 1.55;
}

.product-modal-note {
  margin: clamp(38px, 5vw, 70px) 0 0;
  color: rgba(243, 240, 232, 0.8);
  font-size: clamp(14px, 1.05vw, 19px);
  line-height: 1.55;
}

body.product-modal-open {
  overflow: hidden;
}

.biochar-section {
  --biochar-heading-color: var(--paper-warm);
  --biochar-bg-y: 0px;
  padding: calc(var(--nav-height) + 76px) clamp(26px, 6.5vw, 120px) clamp(94px, 9vw, 150px);
  overflow: hidden;
  background-color: #120b03;
  color: var(--paper-warm);
  isolation: isolate;
}

.biochar-section::before,
.biochar-section::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.biochar-section::before {
  z-index: 0;
  inset: -160px 0;
  background-image: url("assets/backgrounds/biochar-texture.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  transform: translate3d(0, var(--biochar-bg-y), 0);
  will-change: transform;
}

.biochar-section::after {
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 11, 2, 0.18), rgba(20, 11, 2, 0.72));
}

.biochar-section > * {
  position: relative;
  z-index: 2;
}

.biochar-section.is-biochar-accented {
  --biochar-heading-color: #bd9235;
}

.biochar-inner {
  width: min(100%, 1160px);
  margin: 0 auto;
}

.biochar-hero,
.biochar-process,
.biochar-carbon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: clamp(44px, 7vw, 112px);
  align-items: center;
}

.biochar-hero {
  grid-template-columns: minmax(0, 650px) minmax(220px, 360px);
  grid-template-areas:
    "heading art"
    "copy art";
  row-gap: 0;
  align-items: start;
}

.biochar-hero .biochar-heading {
  grid-area: heading;
}

.biochar-hero .biochar-copy {
  grid-area: copy;
}

.biochar-hero .biochar-art-primary {
  grid-area: art;
}

.biochar-heading,
.biochar-copy,
.biochar-better {
  text-align: left;
}

.biochar-heading {
  margin: clamp(36px, 4vw, 54px) 0 clamp(16px, 1.5vw, 24px);
}

.biochar-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(72px, 7.8vw, 96px);
  font-weight: 400;
  line-height: 0.96;
  color: var(--biochar-heading-color);
  text-transform: uppercase;
  letter-spacing: 1.25px;
  transition: color 620ms ease;
}

.biochar-heading p {
  max-width: 600px;
  margin: clamp(21px, 2.6vw, 28px) 0 0;
  font-family: var(--wide);
  font-size: clamp(21px, 1.15vw, 21px) !important;
  line-height: 1.28;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: normal;
  text-wrap: balance;
  color: var(--paper-warm);
  transition: color 620ms ease;
}

.biochar-benefits-kicker {
  margin: clamp(18px, 2.4vw, 24px) 0 0;
  font-family: var(--wide);
  font-size: clamp(15px, 1.35vw, 22px);
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--paper-warm);
  transition: color 620ms ease;
}

.biochar-copy h3,
.biochar-benefits h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(34px, 3.4vw, 56px);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

.biochar-copy p {
  max-width: 650px;
  margin: 0 0 24px;
  color: rgba(243, 240, 232, 0.86);
  font-size: clamp(18px, 1.3vw, 22px);
  line-height: 1.66;
  text-wrap: balance;
}

.biochar-art {
  display: block;
  width: 100%;
  max-width: 100%;
  filter: var(--boil-filter);
}

.biochar-art-primary {
  align-self: start;
  justify-self: end;
  width: clamp(250px, 28vw, 372px);
  aspect-ratio: 1072 / 1928;
  height: auto;
}

.biochar-process {
  grid-template-columns: minmax(170px, 280px) minmax(0, 1fr);
  margin-top: clamp(52px, 7vw, 90px);
  gap: clamp(44px, 6vw, 86px);
}

.biochar-process h3,
.biochar-better h3 {
  margin: 0 0 20px;
  font-family: var(--wide);
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: var(--biochar-heading-color);
  transition: color 620ms ease;
}

.biochar-process p,
.biochar-better p {
  max-width: 720px;
  margin: 0;
  color: rgba(243, 240, 232, 0.86);
  font-size: clamp(18px, 1.3vw, 22px);
  line-height: 1.66;
  text-wrap: balance;
}

.biochar-art-fire {
  width: clamp(175px, 21vw, 286px);
}

.biochar-benefits-block {
  margin: clamp(60px, 8vw, 112px) 0 clamp(64px, 8.5vw, 116px);
  text-align: center;
}

.biochar-question-block {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

.biochar-question-block p {
  margin-right: auto;
  margin-left: auto;
}

.biochar-benefits-kicker {
  margin: 0 0 clamp(28px, 3.8vw, 44px);
}

.biochar-benefits {
  display: grid;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.biochar-benefits article {
  --benefit-heading-color: var(--paper-warm);
  --benefit-copy-color: rgba(243, 240, 232, 0.76);
  min-width: 0;
  padding: 0 clamp(22px, 4vw, 56px);
}

.has-reveal .biochar-benefits article {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 540ms ease,
    transform 680ms cubic-bezier(0.19, 1, 0.22, 1);
}

.has-reveal .biochar-benefits article.is-benefit-visible {
  opacity: 1;
  transform: translateY(0);
}

.biochar-benefits article.is-benefit-highlighted {
  --benefit-heading-color: #c29b90;
  --benefit-copy-color: #c29b90;
}

.biochar-benefits article + article {
  border-left: 1px solid rgba(243, 240, 232, 0.45);
}

.biochar-benefits h3 {
  color: var(--benefit-heading-color);
  font-size: clamp(28px, 2.5vw, 42px);
  letter-spacing: 1.5px;
  transition: color 520ms ease;
}

.biochar-benefits p {
  margin: 0 auto;
  max-width: 255px;
  color: var(--benefit-copy-color);
  font-size: clamp(15px, 1vw, 19px);
  line-height: 1.62;
  transition: color 520ms ease;
}

.biochar-carbon {
  grid-template-columns: minmax(0, 610px) minmax(300px, 504px);
  gap: clamp(44px, 5.5vw, 86px);
  justify-content: space-between;
  align-items: center;
}

.biochar-art-porous {
  justify-self: center;
  width: clamp(300px, 34vw, 504px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.biochar-better {
  max-width: 880px;
  margin-top: clamp(76px, 9vw, 126px);
}

.biochar-better + .biochar-carbon {
  margin-top: clamp(64px, 8vw, 110px);
}

.story-section {
  min-height: auto;
  padding: calc(var(--nav-height) + 70px) clamp(24px, 6vw, 110px) clamp(120px, 10vw, 180px);
  display: block;
  overflow: hidden;
}

.story-photo {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  transform: translate3d(0, var(--parallax-y, 0), 0);
  will-change: transform;
}

.story-photo-left {
  top: clamp(150px, 13vw, 205px);
  left: clamp(32px, 6vw, 92px);
  width: clamp(180px, 18vw, 300px);
  aspect-ratio: 2.02;
}

.story-photo-right {
  top: clamp(54px, 5.8vw, 92px);
  right: clamp(32px, 6vw, 92px);
  width: clamp(280px, 30vw, 455px);
  aspect-ratio: 2.18;
}

.story-copy {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: clamp(172px, 18vw, 252px) auto 0;
  text-align: center;
}

.story-heading {
  display: grid;
  gap: clamp(12px, 1.5vw, 20px);
  margin: 0 auto clamp(54px, 6vw, 82px);
  font-family: var(--wide);
  font-size: clamp(24px, 2.55vw, 42px);
  font-weight: 700;
  line-height: 0.92;
  text-transform: uppercase;
}

.story-heading strong {
  font-family: var(--display);
  font-size: clamp(74px, 8.2vw, 140px);
  font-weight: 700;
  line-height: 0.84;
  color: #9a5737;
}

.story-copy p:not(:first-child) {
  margin: 0 auto 22px;
  max-width: 690px;
  font-size: clamp(16px, 1.24vw, 20px);
  line-height: 1.58;
}

.video-still {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  margin: clamp(44px, 5vw, 64px) auto 0;
}

.video-still img {
  aspect-ratio: 1.67;
}

.contact-section {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(520px, 50vw, 700px);
  padding: clamp(76px, 9vw, 136px) clamp(22px, 6vw, 96px);
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.contact-section::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: clamp(300px, 31vw, 500px);
  pointer-events: none;
  content: "";
  background: url("assets/backgrounds/contact-bottom-border.svg") center bottom / 100% auto no-repeat;
}

.contact-window {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(714px, 86vw);
  aspect-ratio: 714.32 / 394.75;
  padding: clamp(48px, 6vw, 64px) clamp(30px, 4vw, 44px);
  text-align: center;
  background: url("assets/backgrounds/contact-frame.svg") center / 100% 100% no-repeat;
  filter: var(--boil-filter);
}

.contact-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.contact-copy p {
  max-width: 520px;
  margin: clamp(12px, 1.5vw, 18px) auto 0;
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 500;
  line-height: 1.48;
}

.contact-copy h2 {
  margin: 0;
  color: #333;
  font-family: var(--wide);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.contact-button {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: clamp(210px, 20vw, 256px);
  min-height: clamp(58px, 6vw, 76px);
  margin-top: clamp(28px, 4vw, 46px);
  padding: 0 20px;
  color: var(--paper-warm);
  font-family: var(--wide);
  font-size: clamp(12px, 1.05vw, 15px);
  line-height: 1;
  letter-spacing: 1.2px;
  text-decoration: none;
  text-transform: uppercase;
  background: url("assets/backgrounds/contact-button-frame.svg") center / 100% 100% no-repeat;
  filter: var(--boil-filter);
  transition: transform 180ms ease, filter 180ms ease;
}

.contact-button:is(:hover, :focus-visible) {
  transform: translateY(-1px) scale(1.015);
}

.legal-page {
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(rgba(236, 233, 225, 0.92), rgba(236, 233, 225, 0.96)),
    url("assets/backgrounds/products-texture.png") center / cover;
}

.legal-header {
  display: grid;
  min-height: 128px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 24px clamp(22px, 5vw, 72px);
  color: var(--rose-soft);
  background: var(--ink);
}

.legal-logo-link {
  grid-column: 2;
  display: block;
  width: clamp(86px, 8vw, 126px);
}

.legal-logo-link img {
  width: 100%;
  height: auto;
}

.legal-home-link {
  justify-self: end;
  font-family: var(--slab);
  font-size: clamp(12px, 1.1vw, 16px);
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-home-link:is(:hover, :focus-visible) {
  color: var(--paper-warm);
}

.legal-main {
  width: min(760px, calc(100% - 42px));
  margin: 0 auto;
  padding: clamp(66px, 9vw, 128px) 0 clamp(80px, 10vw, 140px);
}

.legal-kicker {
  margin: 0 0 18px;
  font-family: var(--wide);
  font-size: clamp(12px, 1.2vw, 16px);
  line-height: 1.2;
  text-transform: uppercase;
}

.legal-main h1 {
  margin: 0 0 clamp(30px, 4vw, 46px);
  font-family: var(--display);
  font-size: clamp(58px, 8.2vw, 116px);
  font-weight: 400;
  line-height: 0.84;
  text-transform: uppercase;
}

.legal-main h2 {
  margin: clamp(36px, 4.2vw, 54px) 0 10px;
  font-family: var(--slab);
  font-size: clamp(19px, 1.8vw, 28px);
  line-height: 1.05;
  text-transform: uppercase;
}

.legal-main p {
  margin: 0;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.7;
}

.legal-main p + p {
  margin-top: 14px;
}

.legal-main a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.site-footer {
  position: relative;
  min-height: clamp(620px, 55vw, 860px);
  overflow: hidden;
  color: var(--paper-warm);
  background: var(--ink);
}

.site-footer::before {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 8px;
  content: "";
  background: rgba(205, 156, 145, 0.62);
}

.footer-art {
  position: absolute;
  inset: 0;
  background-image: url("assets/backgrounds/footer-illustration.png");
  background-attachment: fixed;
  background-size: cover;
  background-position: center bottom;
  opacity: 0.72;
}

.footer-art::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(
      to bottom,
      rgba(20, 11, 2, 0) 14%,
      rgba(20, 11, 2, 0.42) 56%,
      rgba(8, 5, 1, 0.96) 100%
    );
}

.footer-content {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(92px, 9vw, 150px) clamp(34px, 6vw, 92px) clamp(300px, 28vw, 430px);
  grid-template-columns: minmax(250px, 360px) minmax(190px, 260px) 1fr;
  gap: clamp(44px, 5.6vw, 92px);
  align-items: start;
}

.footer-content address,
.footer-content nav {
  display: grid;
  font-style: normal;
  font-size: clamp(17px, 1.35vw, 23px);
  line-height: 1.7;
}

.footer-content address {
  min-height: clamp(190px, 18vw, 280px);
  padding-right: clamp(34px, 5vw, 72px);
  border-right: 1px solid rgba(243, 240, 232, 0.72);
  gap: 2px;
}

.footer-content nav {
  gap: clamp(18px, 2.5vw, 34px);
  line-height: 1.35;
}

.footer-content strong {
  font-family: var(--slab);
  font-size: clamp(18px, 1.4vw, 25px);
  line-height: 1.05;
  text-transform: uppercase;
}

.footer-content a {
  width: max-content;
  text-decoration: none;
}

.footer-content a:hover {
  color: var(--rose-soft);
}

.social-links {
  display: flex;
  align-items: flex-start;
  justify-content: end;
  gap: clamp(12px, 1.3vw, 20px);
  padding-top: clamp(6px, 1vw, 14px);
}

.social-links a {
  display: grid;
  width: clamp(48px, 4.3vw, 70px);
  height: clamp(48px, 4.3vw, 70px);
  place-items: center;
  transition: transform 180ms ease, filter 180ms ease;
}

.social-links a:hover {
  transform: translateY(-2px);
}

.social-links img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: var(--boil-filter);
}

@keyframes breathe {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.78;
  }

  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

@keyframes scroll-cue-appear {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes hero-title-arrive {
  from {
    transform: scale(0.965);
  }

  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --boil-filter: url("#boil-line-still");
    --title-boil-filter: url("#boil-line-still");
  }

  .is-safari {
    --boil-filter: opacity(1);
    --title-boil-filter: opacity(1);
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .scroll-cue {
    opacity: 1;
    transform: translate(-50%, 0);
    animation: none !important;
  }

  .hero-title-art {
    transform: none;
    animation: none !important;
  }

  .has-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .has-reveal .story-photo[data-reveal],
  .has-reveal .story-photo[data-reveal].is-revealed {
    transform: none;
  }

  .has-reveal .biochar-benefits article {
    opacity: 1;
    transform: none;
  }

  .soil-worm {
    display: none;
  }

}

@media (max-width: 980px) {
  :root {
    --nav-height: 86px;
  }

  .site-nav {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    height: var(--nav-height);
    padding: 0 16px;
  }

  .brand-mark {
    position: absolute;
    top: 14px;
    left: 50%;
    width: 76px;
    margin-top: 0;
    transform: translateX(-50%);
  }

  .brand-mark:hover {
    transform: translateX(-50%) rotate(-2deg) scale(1.03);
  }

  .nav-link {
    font-size: clamp(12px, 2.3vw, 18px);
  }

  .nav-links .nav-link:nth-child(2) {
    margin-right: 46px;
  }

  .nav-links .nav-link:nth-child(3) {
    margin-left: 46px;
  }

  .biochar-section,
  .story-section {
    display: block;
  }

  .biochar-hero,
  .biochar-process,
  .biochar-carbon {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .biochar-hero {
    grid-template-areas:
      "heading"
      "copy"
      "art";
    row-gap: 24px;
  }

  .biochar-heading p {
    white-space: normal;
  }

  .biochar-heading,
  .biochar-copy,
  .biochar-better,
  .biochar-process {
    text-align: center;
  }

  .biochar-copy p,
  .biochar-process p,
  .biochar-better p {
    margin-right: auto;
    margin-left: auto;
  }

  .biochar-art-primary,
  .biochar-art-fire,
  .biochar-art-porous {
    justify-self: center;
  }

  .biochar-art-primary {
    width: min(330px, 76vw);
  }

  .biochar-art-fire,
  .biochar-art-porous {
    width: min(250px, 58vw);
  }

  .biochar-art-porous {
    width: min(504px, 82vw);
  }

  .video-still {
    max-width: 760px;
  }

  .soil-intro-layout {
    width: min(760px, 88vw);
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .soil-intro .intro-copy {
    text-align: center;
  }

  .soil-intro .intro-copy h2,
  .soil-intro .intro-copy p {
    margin-right: auto;
    margin-left: auto;
  }

  .soil-fact-carousel {
    width: min(360px, 100%);
    margin: 0 auto;
    padding: 28px 0 0;
  }

  .soil-fact-carousel::before {
    top: 0;
    right: 0;
    bottom: auto;
    left: 50%;
    width: min(360px, 100%);
    height: 11px;
    background-size: 100% 100%;
    transform: translateX(-50%);
  }

  .soil-fact-track {
    min-height: clamp(430px, 64vw, 520px);
  }

  .soil-fact-slide {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .soil-fact-art {
    width: clamp(220px, 58vw, 340px);
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
    object-position: center;
  }

  .soil-fact-slide > div:last-child::before,
  .soil-fact-slide h3,
  .soil-fact-slide p {
    margin: 0 auto;
    text-align: center;
  }

  .products-heading {
    max-width: 760px;
  }

  .products-heading .products-kicker,
  .products-heading .products-subhead {
    font-size: clamp(16px, 3.2vw, 28px);
    line-height: 1.12;
  }

  .products-heading h2 {
    font-size: clamp(62px, 13vw, 112px);
    line-height: 0.82;
  }

  .products-intro-copy {
    max-width: 660px;
    margin-top: clamp(42px, 6vw, 64px);
  }

  .products-heading .products-intro-copy span {
    max-width: 640px;
    font-size: clamp(16px, 2.2vw, 19px);
    line-height: 1.62;
  }

  .products-heading .products-intro-copy span + span {
    margin-top: 14px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  .product-modal {
    padding: clamp(72px, 11vw, 100px) 24px 48px;
    overflow: auto;
  }

  .product-modal-close {
    top: 22px;
    left: 22px;
  }

  .product-modal-inner {
    max-width: 720px;
    height: auto;
    max-height: none;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: center;
  }

  .product-modal-media > img {
    width: min(420px, 74vw);
    max-height: 54vh;
  }

  .product-modal-copy {
    max-width: 620px;
    max-height: none;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
    text-align: center;
  }

  .product-modal-copy h3 {
    font-size: clamp(58px, 13vw, 98px);
  }

  .product-modal-copy div p {
    font-size: clamp(17px, 2.5vw, 21px);
  }

  .product-modal-directions {
    margin-top: 34px;
    padding-top: 30px;
  }

  .biochar-benefits {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .biochar-benefits article {
    padding: 28px 0;
  }

  .biochar-benefits article + article {
    border-top: 1px solid rgba(243, 240, 232, 0.45);
    border-left: 0;
  }

  .product-card {
    text-align: center;
  }

  .product-card p {
    margin: 0 auto;
  }

  .product-card h3 {
    letter-spacing: 2px;
  }

  .story-photo-left,
  .story-photo-right {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: min(50vw, 280px);
    margin: 0 0 28px;
  }

  .has-reveal .story-photo[data-reveal],
  .has-reveal .story-photo[data-reveal].is-revealed {
    transform: none;
  }

  .story-photo-right {
    margin-left: auto;
    margin-bottom: 46px;
  }

  .story-copy {
    margin-top: 0;
  }

  .story-heading {
    gap: 12px;
    margin-bottom: 42px;
    font-size: clamp(21px, 5.2vw, 32px);
  }

  .story-heading strong {
    font-size: clamp(48px, 10vw, 72px);
    letter-spacing: 2px;
    font-weight: normal;
  }

  .story-copy p:not(:first-child) {
    max-width: 620px;
    font-size: clamp(16px, 2vw, 18px);
  }

  .contact-section {
    min-height: clamp(440px, 68vw, 580px);
    padding-top: clamp(60px, 9vw, 92px);
    padding-bottom: clamp(60px, 9vw, 92px);
    text-align: center;
  }

  .contact-window {
    width: min(714px, 92vw);
    padding-right: clamp(34px, 8vw, 70px);
    padding-left: clamp(34px, 8vw, 70px);
  }

  .contact-copy {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
  }

  .contact-copy p {
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(15px, 2.1vw, 18px);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: clamp(210px, 42vw, 320px);
  }

  .footer-content address {
    min-height: auto;
    padding-right: 0;
    border-right: 0;
  }

  .footer-content nav {
    padding-left: 0;
  }

  .social-links {
    justify-content: start;
  }
}

@media (min-width: 981px) {
  .product-card h3 {
    white-space: nowrap;
  }

  .story-heading span,
  .story-heading strong {
    white-space: nowrap;
  }
}

@media (min-width: 981px) and (max-width: 1200px) {
  .dark-engraved {
    padding-right: clamp(34px, 5vw, 62px);
    padding-left: clamp(34px, 5vw, 62px);
  }

  .soil-intro-layout {
    width: min(1060px, 92vw);
    grid-template-columns: minmax(0, 1fr) minmax(245px, 285px);
    gap: clamp(34px, 4.8vw, 58px);
  }

  .soil-intro .intro-copy h2 {
    font-size: clamp(42px, 5.6vw, 58px);
  }

  .soil-intro .intro-copy p {
    max-width: 690px;
    font-size: clamp(18px, 1.7vw, 22px);
    line-height: 1.62;
  }

  .soil-fact-art {
    width: min(100%, 285px);
  }

  .soil-fact-slide h3 {
    font-size: clamp(34px, 4vw, 42px);
  }

  .soil-fact-slide p {
    max-width: 210px;
  }

  .biochar-section {
    padding-right: clamp(34px, 5vw, 62px);
    padding-left: clamp(34px, 5vw, 62px);
  }

  .biochar-inner {
    width: min(1060px, 92vw);
  }

  .biochar-hero {
    grid-template-columns: minmax(0, 590px) minmax(210px, 300px);
    gap: clamp(34px, 4.8vw, 58px);
  }

  .biochar-heading {
    margin-top: clamp(28px, 3.2vw, 42px);
  }

  .biochar-heading h2 {
    font-size: clamp(48px, 5.4vw, 64px);
  }

  .biochar-heading p {
    max-width: 560px;
    white-space: normal;
    font-size: clamp(13px, 1.25vw, 16px);
    line-height: 1.18;
  }

  .biochar-copy p,
  .biochar-process p,
  .biochar-better p {
    font-size: clamp(16px, 1.45vw, 19px);
    line-height: 1.58;
  }

  .biochar-art-primary {
    width: min(100%, 300px);
  }

  .biochar-process {
    grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
    gap: clamp(34px, 4.8vw, 58px);
  }

  .biochar-art-fire {
    width: min(100%, 240px);
  }
}

@media (min-width: 1201px) and (max-width: 1360px) {
  .biochar-hero {
    grid-template-columns: minmax(0, 620px) minmax(220px, 330px);
    gap: clamp(42px, 5.4vw, 72px);
  }

  .biochar-heading p {
    max-width: 620px;
    white-space: normal;
    font-size: clamp(14px, 1.15vw, 17px);
    line-height: 1.16;
  }

  .biochar-copy p,
  .biochar-process p,
  .biochar-better p {
    font-size: clamp(17px, 1.25vw, 20px);
    line-height: 1.6;
  }

  .biochar-art-primary {
    width: min(100%, 320px);
  }
}

@media (max-height: 820px) and (min-width: 760px) {
  .scroll-cue {
    bottom: 16px;
    gap: 8px;
  }

  .scroll-cue span {
    font-size: clamp(30px, 4.2vw, 52px);
  }

  .scroll-cue-icon {
    width: 28px;
  }
}

@media (max-width: 620px) {
  :root {
    --nav-height: 96px;
  }

  body {
    font-size: 15px;
  }

  .site-nav {
    gap: 6px;
    grid-template-rows: 54px 34px;
    padding: 6px 10px 8px;
  }

  .nav-link {
    grid-row: 2;
    align-self: center;
    font-size: 10px;
    line-height: 1.05;
    text-align: center;
  }

  .nav-links .nav-link:nth-child(2),
  .nav-links .nav-link:nth-child(3) {
    margin: 0;
  }

  .brand-mark {
    top: 10px;
    width: 54px;
  }

  .hero {
    min-height: 780px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-title-card {
    width: min(92vw, 430px);
    margin-top: 120px;
  }

  .scroll-cue {
    bottom: 24px;
  }

  .dark-engraved {
    min-height: 980px;
    padding-top: 140px;
    padding-right: 16px;
    padding-bottom: 64px;
    padding-left: 16px;
  }

  .soil-intro-layout {
    width: min(440px, 94vw);
  }

  .soil-intro .intro-copy h2 {
    font-size: clamp(40px, 11vw, 60px);
  }

  .soil-intro .intro-copy p {
    font-size: clamp(20px, 5.5vw, 27px);
    line-height: 1.48;
  }

  .soil-fact-track {
    min-height: 460px;
  }

  .soil-fact-carousel {
    width: min(440px, 92vw);
  }

  .soil-fact-art {
    width: clamp(280px, 82vw, 430px);
    margin-bottom: 18px;
  }

  .soil-fact-slide h3 {
    max-width: 100%;
    font-size: clamp(28px, 8vw, 38px);
  }

  .soil-fact-slide p {
    max-width: min(320px, 86vw);
    font-size: clamp(13px, 3.6vw, 16px);
  }

  .products-heading {
    max-width: 360px;
    margin-bottom: 46px;
  }

  .products-heading .products-kicker,
  .products-heading .products-subhead {
    font-size: clamp(12px, 4vw, 16px);
    line-height: 1.18;
    letter-spacing: 1px;
  }

  .products-heading h2 {
    margin: 16px 0 18px;
    font-size: clamp(44px, 16vw, 70px);
    line-height: 0.86;
  }

  .products-intro-copy {
    margin-top: 34px;
  }

  .products-heading .products-intro-copy span {
    font-size: 16px;
    line-height: 1.56;
  }

  .products-heading .products-intro-copy span + span {
    margin-top: 12px;
  }

  .product-modal {
    padding-right: 20px;
    padding-left: 20px;
  }

  .product-modal-media > img {
    width: min(340px, 76vw);
  }

  .product-modal-ingredients-toggle {
    min-width: min(100%, 300px);
    min-height: 46px;
  }

  .product-modal-ingredients-toggle::before {
    font-size: 13px;
  }

  .product-modal-copy h3 {
    margin-bottom: 24px;
    font-size: clamp(44px, 15vw, 66px);
  }

  .product-modal-copy div p {
    font-size: 16px;
    line-height: 1.52;
  }

  .products-section,
  .biochar-section,
  .story-section,
  .contact-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .contact-section {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .contact-window {
    min-height: 440px;
    aspect-ratio: auto;
    padding: 86px 30px 64px;
  }

  .contact-copy h2 {
    font-size: clamp(22px, 6.8vw, 28px);
    line-height: 0.95;
  }

  .contact-copy p {
    margin-top: 12px;
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.52;
  }

  .contact-button {
    width: min(230px, 72vw);
    min-height: 58px;
    margin-top: 24px;
    font-size: clamp(11px, 3.25vw, 13px);
  }

  .biochar-benefits {
    gap: 0;
  }

  .biochar-section {
    padding-top: calc(var(--nav-height) + 48px);
  }

  .biochar-heading h2 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .biochar-process h3,
  .biochar-better h3 {
    font-size: clamp(24px, 8vw, 36px);
  }

  .biochar-benefits-kicker {
    line-height: 1.3;
  }

  .soil-band {
    height: 430px;
  }

  .story-photo-left,
  .story-photo-right {
    width: 62vw;
  }

  .footer-content {
    padding-top: 76px;
    padding-bottom: 240px;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-height: 104px;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  body.mobile-menu-open .site-nav {
    --nav-current-height: clamp(124px, 30vw, 164px);
    z-index: 80;
    background: var(--ink);
    box-shadow: none;
  }

  .site-nav {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 0;
    height: var(--nav-current-height);
    align-items: center;
    justify-items: center;
    padding: 0 18px;
  }

  .site-nav::before {
    height: calc(var(--nav-current-height) + 28px);
  }

  body.mobile-menu-open .site-nav::before {
    opacity: 0;
  }

  .brand-mark {
    position: absolute;
    z-index: 74;
    top: 12px;
    left: 50%;
    width: 72px;
    margin-top: 0;
    transform: translateX(-50%);
  }

  .brand-mark:hover {
    transform: translateX(-50%) rotate(-2deg) scale(1.03);
  }

  body.mobile-menu-open .brand-mark {
    top: 22px;
    width: clamp(108px, 31vw, 154px);
  }

  .mobile-nav-toggle {
    position: absolute;
    z-index: 75;
    top: 24px;
    right: 22px;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    padding: 0;
    border: 0;
    color: var(--rose-soft);
    background: transparent;
    cursor: pointer;
    filter: drop-shadow(0 2px 0 rgb(20 11 2 / 0.85));
  }

  .mobile-nav-line {
    display: block;
    width: 34px;
    height: 4px;
    grid-area: 1 / 1;
    background: currentColor;
    border-radius: 999px;
  }

  .mobile-nav-line:nth-child(1) {
    transform: translateY(-11px);
  }

  .mobile-nav-line:nth-child(3) {
    transform: translateY(11px);
  }

  .mobile-nav-close {
    position: absolute;
    z-index: 76;
    top: 28px;
    right: 24px;
    width: 54px;
    height: 54px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .mobile-nav-close img {
    width: 100%;
    filter: var(--boil-filter);
  }

  body.mobile-menu-open .mobile-nav-toggle {
    display: none;
  }

  body.mobile-menu-open .mobile-nav-close {
    display: grid;
  }

  .nav-links {
    position: fixed;
    z-index: 70;
    top: var(--nav-current-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: clamp(52px, 10vh, 88px);
    padding: clamp(84px, 13vh, 128px) 24px 54px;
    background: var(--rose);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 260ms ease,
      transform 320ms cubic-bezier(0.19, 1, 0.22, 1),
      visibility 260ms ease;
    visibility: hidden;
  }

  body.mobile-menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-link {
    grid-column: 1 !important;
    grid-row: auto;
    height: auto;
    align-self: center;
    justify-self: center;
    margin: 0 !important;
    color: var(--charcoal);
    font-size: clamp(34px, 9vw, 56px);
    line-height: 0.95;
    text-align: center;
    text-shadow: none;
  }

  .nav-link::after {
    display: none;
  }
}
