:root {
  --ivory: #f6f8ee;
  --cream: #f2efe6;
  --paper: #fffdf7;
  --lime: #e5f49c;
  --olive: #6b8063;
  --dark: #2e372d;
  --muted: #62695e;
  --line: #d8ddce;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 5px;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  font-size: clamp(48px, 5.7vw, 88px);
  line-height: 1.05;
  letter-spacing: -3.6px;
  margin-bottom: 30px;
}

h2 {
  font-size: clamp(36px, 3.8vw, 57px);
  line-height: 1.12;
  letter-spacing: -1.7px;
  margin-bottom: 26px;
}

h3 {
  font-size: 25px;
  line-height: 1.2;
  margin-bottom: 9px;
}

em {
  font-weight: 400;
  color: var(--olive);
}

p {
  margin-bottom: 22px;
}

/* Header */

header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  border-bottom: 1px solid var(--line);
  gap: 32px;
  background: var(--ivory);
}

.brand {
  display: block;
  flex-shrink: 0;
}

.brand img {
  display: block;
  width: 184px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
}

nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

nav a:hover,
nav a[aria-current] {
  border-color: var(--olive);
}

.nav-partner {
  margin-left: 18px;
}

.nav-partner span {
  padding-left: 15px;
}

.menu-toggle {
  display: none;
}

/* General typography / buttons */

.eyebrow {
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.5;
  margin-bottom: 28px;
}

.intro {
  font-size: 18px;
  line-height: 1.65;
  max-width: 520px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: var(--dark);
  color: var(--ivory);
  padding: 15px 23px;
  border: 1px solid var(--dark);
  font-size: 12px;
  line-height: 1.5;
  transition:
    background 0.2s,
    transform 0.2s;
}

.button:hover {
  background: #475442;
  transform: translateY(-2px);
}

.button.secondary {
  background: transparent;
  color: var(--dark);
  border-color: #a5b09a;
}

.button.secondary:hover {
  background: #e8eddf;
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Home hero */

.home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 660px;
}

.hero-copy {
  padding: 70px 6% 42px 10%;
}

.hero-copy h1 {
  font-size: clamp(50px, 5.2vw, 80px);
}

.hero-footnote {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  margin-top: 46px;
  flex-wrap: wrap;
}

.tiny-star {
  font-size: 31px;
  line-height: 1;
  color: var(--olive);
  margin-right: 9px;
}

/* Product scene */

.product-scene {
  position: relative;
  min-height: 620px;
  background: radial-gradient(
    ellipse at 45% 35%,
    #e6e9d8 0,
    #d4d9c3 65%,
    #c4cbb5 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.scene-note,
.scene-bottom,
.illustration-note {
  position: absolute;
  font-size: 10px;
  letter-spacing: 1px;
}

.scene-note {
  top: 35px;
  left: 36px;
  text-transform: uppercase;
}

.scene-bottom {
  bottom: 35px;
  left: 36px;
}

.illustration-note {
  bottom: 14px;
  right: 20px;
  font-size: 8px;
  opacity: 0.65;
}

.pint {
  position: relative;
  width: 278px;
  height: 328px;
  border-radius: 15px 15px 56px 56px;
  background: linear-gradient(
    95deg,
    #e1e0d8,
    #fffef9 20%,
    #fffefb 65%,
    #e5e5dc
  );
  box-shadow: 20px 34px 35px -20px #56614470;
  transform: rotate(-5deg);
  margin-top: 25px;
  border: 1px solid #e0e0d5;
}

.lid {
  position: absolute;
  top: -19px;
  left: -12px;
  width: 300px;
  height: 33px;
  border-radius: 10px 10px 5px 5px;
  background: linear-gradient(
    #fffefa 0%,
    #fbfbf5 45%,
    #d9dbd2 52%,
    #f7f8ef 68%
  );
  box-shadow: 0 6px 6px #77777714;
  border: 1px solid #e8e8dd;
}

.pint-label {
  text-align: center;
  padding: 48px 25px 24px;
}

.pint-label img {
  width: 180px;
  height: auto;
  display: block;
  margin: 0 auto 19px;
}

.pint-rule {
  display: block;
  width: 25px;
  height: 1px;
  background: #9fa78c;
  margin: 0 auto 21px;
}

.pint-label p {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.pint-label small {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.pint-base {
  display: block;
  margin-top: 22px;
  font-size: 8px;
  color: var(--muted);
}

/* Values strip */

.values-strip {
  display: flex;
  justify-content: space-evenly;
  gap: 20px;
  align-items: center;
  padding: 23px 5%;
  background: var(--lime);
  font-size: 11px;
  letter-spacing: 0.3px;
}

.values-strip span::before {
  content: "✳";
  margin-right: 15px;
  color: var(--olive);
}

/* Shared sections */

.section-pad {
  padding: 100px 7%;
}

.flavor-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
  align-items: center;
}

.photo {
  position: relative;
  overflow: hidden;
  background: #d6deca;
  min-height: 400px;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

.photo-caption {
  position: absolute;
  bottom: 16px;
  left: 20px;
  color: white;
  font-size: 9px;
  letter-spacing: 1px;
  text-shadow: 0 1px 6px #000;
}

.flavor-feature > .photo {
  height: 530px;
}

.editorial-copy p:not(.eyebrow) {
  max-width: 490px;
}

.editorial-copy .button {
  margin-top: 12px;
}

/* Ingredient teaser */

.ingredient-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
  background: var(--cream);
}

.ingredient-teaser > div:nth-child(2) {
  padding-top: 26px;
  max-width: 480px;
}

/* Landscape */

.landscape {
  position: relative;
  min-height: 510px;
  color: #fffef4;
}

.landscape > .photo {
  position: absolute;
  inset: 0;
}

.landscape::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #1d301bc9, transparent);
}

.landscape > div:last-child {
  position: relative;
  z-index: 1;
  padding: 85px 7%;
}

.landscape em {
  color: var(--lime);
}

.landscape .button {
  background: var(--ivory);
  color: var(--dark);
  border: 0;
}

/* Partner banner */

.partner-banner {
  padding: 75px 7%;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  background: #e6ebdc;
}

.partner-banner h2 {
  font-size: 44px;
  margin: 0;
}

.partner-banner > div:last-child {
  max-width: 340px;
  align-self: center;
}

/* Footer */

footer {
  padding: 55px 5% 22px;
}

.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
}

.footer-top {
  align-items: start;
  padding-bottom: 40px;
}

.footer-top p {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.4;
}

.footer-top > a:last-child {
  font-size: 12px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 10px;
  color: var(--muted);
}

/* Page headings */

.page-heading {
  padding: 75px 7% 50px;
}

.section-pad .page-heading,
.editorial-copy .page-heading {
  padding: 0;
}

/* Split page */

.split-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-page > .editorial-copy {
  padding: 70px 9% 60px 14%;
}

.split-page h1 {
  font-size: clamp(46px, 4.6vw, 70px);
}

.allergen {
  font-size: 11px;
  margin-top: 28px;
  color: var(--muted);
}

.small-detail {
  display: grid;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}

.small-detail span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

.small-detail strong {
  font-weight: 400;
  font-family: var(--serif);
  font-size: 22px;
}

/* Ingredients page */

.ingredients-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9%;
  margin-top: 60px;
}

.a2-callout {
  background: #e7eddb;
  padding: 45px;
  align-self: start;
  position: sticky;
  top: 30px;
}

.a2-callout > strong {
  display: block;
  font-family: var(--serif);
  font-size: 140px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--olive);
}

.a2-callout h2 {
  font-size: 40px;
}

.a2-callout p {
  font-size: 14px;
}

.ingredient-list article {
  display: flex;
  gap: 30px;
  padding: 23px 0;
  border-top: 1px solid var(--line);
}

.ingredient-list article > span {
  font-size: 11px;
  color: var(--olive);
  padding-top: 5px;
}

.ingredient-list p {
  font-size: 14px;
  margin-bottom: 0;
  color: var(--muted);
}

.disclosure {
  display: grid;
  grid-template-columns: 1fr 2fr 1.5fr;
  gap: 50px;
  border-top: 1px solid var(--line);
  margin-top: 70px;
  padding-top: 30px;
  font-size: 12px;
}

.disclosure strong {
  font-weight: 500;
  display: inline-block;
  margin-bottom: 10px;
}

/* Sourcing */

.sourcing-photo {
  margin: 0 7%;
}

.sourcing-photo .photo {
  height: 430px;
}

.sourcing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
}

/* Story */

.story-hero h1 {
  font-size: clamp(80px, 12vw, 180px);
  border-bottom: 1px solid var(--line);
  padding-bottom: 50px;
}

.story-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  padding-top: 10px;
}

.story-body > .tiny-star {
  font-size: 150px;
  color: #b2bea0;
}

.large-copy {
  font: 34px / 1.4 var(--serif);
}

/* Stockists */

.stockists {
  min-height: 650px;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #e7ecde;
  padding: 14px 20px;
  margin: 12px 0 28px;
  font-size: 12px;
}

.status-dot {
  background: var(--olive);
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.stockists > p {
  color: var(--muted);
}

/* Wholesale */

.wholesale {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
}

.wholesale h1 {
  font-size: clamp(45px, 4.8vw, 70px);
}

.product-details {
  font-size: 12px;
  margin: 35px 0;
}

.product-details div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 13px 0;
}

.product-details dd {
  margin: 0;
}

.product-details dt {
  color: var(--muted);
}

.muted {
  font-size: 12px;
  color: var(--muted);
}

.text-button {
  border: 0;
  border-bottom: 1px solid var(--olive);
  padding: 10px 0;
  background: none;
  font-size: 12px;
  color: var(--dark);
}

/* Partner form */

.partner-form {
  background: var(--cream);
  padding: 38px;
}

.partner-form h2 {
  font-size: 39px;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
}

form label {
  display: block;
  font-size: 11px;
  margin-bottom: 18px;
}

form label span {
  color: var(--muted);
}

input,
textarea {
  display: block;
  width: 100%;
  background: var(--paper);
  border: 1px solid #cbd0c1;
  padding: 11px;
  margin-top: 6px;
  color: var(--dark);
  border-radius: 0;
}

textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

form .button {
  width: 100%;
}

#form-status {
  font-size: 12px;
  margin: 15px 0 0;
}

/* Accessibility */

.skip {
  position: fixed;
  top: -80px;
  left: 15px;
  background: var(--dark);
  color: white;
  padding: 10px;
  z-index: 20;
}

.skip:focus {
  top: 10px;
}

.unavailable {
  background: linear-gradient(130deg, #75886b, #dce5ca);
}

.unavailable .photo-caption::after {
  content: " · Image unavailable";
}

h1:focus {
  outline: none;
}

/* Large screens */

@media (min-width: 1600px) {
  body {
    max-width: 1800px;
    margin: auto;
  }
}

/* Medium screens */

@media (max-width: 1100px) {
  nav {
    gap: 17px;
    font-size: 11px;
  }

  .nav-partner {
    margin-left: 0;
  }

  .brand img {
    width: 150px;
  }

  .home-hero {
    min-height: 590px;
  }

  .hero-copy {
    padding-top: 55px;
  }

  .product-scene {
    min-height: 590px;
  }

  .hero-footnote {
    max-width: 240px;
  }

  .hero-copy h1 {
    letter-spacing: -2px;
  }

  .wholesale {
    gap: 4%;
  }

  .partner-form {
    padding: 25px;
  }
}

/* Mobile */

@media (max-width: 800px) {
  header {
    height: 82px;
    padding: 0 6%;
    position: relative;
    z-index: 5;
  }

  .brand img {
    width: 150px;
  }

  .menu-toggle {
    display: flex;
    gap: 25px;
    background: transparent;
    border: 0;
    color: var(--dark);
    font-size: 12px;
    padding: 10px 0;
  }

  nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    padding: 20px 6% 30px;
    background: var(--ivory);
    box-shadow: 0 12px 15px #0000000d;
    font-size: 16px;
  }

  .menu-open nav {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .home-hero,
  .split-page,
  .flavor-feature,
  .ingredient-teaser,
  .wholesale {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 50px 7% 35px;
  }

  .hero-copy h1 {
    font-size: 64px;
  }

  .hero-footnote {
    max-width: none;
    margin-top: 30px;
  }

  .product-scene {
    min-height: 510px;
  }

  .values-strip {
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    font-size: 11px;
  }

  .section-pad {
    padding: 60px 7%;
  }

  .flavor-feature {
    gap: 40px;
  }

  .flavor-feature > .photo {
    height: 420px;
  }

  .ingredient-teaser {
    gap: 0;
  }

  .ingredient-teaser > div:nth-child(2) {
    padding-top: 0;
  }

  .partner-banner {
    padding: 50px 7%;
    flex-direction: column;
    gap: 25px;
  }

  .partner-banner > div:last-child {
    align-self: flex-start;
    max-width: none;
  }

  .partner-banner h2 {
    font-size: 38px;
  }

  .landscape {
    min-height: 440px;
  }

  .landscape > div:last-child {
    padding-top: 70px;
  }

  .footer-top {
    flex-wrap: wrap;
  }

  .footer-top p {
    font-size: 20px;
  }

  .footer-top > a:last-child {
    width: 100%;
  }

  .footer-bottom {
    gap: 12px;
    flex-wrap: wrap;
  }

  .page-heading {
    padding: 55px 7% 35px;
  }

  h1 {
    font-size: 58px;
    letter-spacing: -2px;
  }

  .split-page > .editorial-copy {
    padding: 55px 7%;
  }

  .ingredients-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 35px;
  }

  .a2-callout {
    position: static;
    padding: 30px;
  }

  .a2-callout > strong {
    font-size: 95px;
  }

  .a2-callout h2 {
    font-size: 33px;
  }

  .disclosure {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 35px;
  }

  .sourcing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-hero h1 {
    font-size: 95px;
  }

  .story-body {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .story-body > .tiny-star {
    font-size: 70px;
  }

  .wholesale {
    gap: 40px;
  }

  .stockists {
    min-height: 600px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Print */

@media print {
  header,
  footer,
  .button,
  .menu-toggle {
    display: none;
  }

  body {
    background: white;
  }

  .section-pad {
    padding: 20px;
  }

  .product-scene {
    break-inside: avoid;
  }
}