:root {
  color-scheme: light;
  --paper: #f1e7d6;
  --ink: #0b2740;
  --muted: #42595b;
  --tide: #dce7dd;
  --mint: #d4efdd;
  --rule: #b9c4bc;
  --serif: "Limited Ocean Display", Georgia, serif;
  --sans: "Source Sans 3", sans-serif;
  --gutter: clamp(1.25rem, 5.9vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
section[id] { scroll-margin-top: 1rem; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: .99; font-weight: 400; }

.wrap { width: min(100% - 2 * var(--gutter), 80rem); margin-inline: auto; }
.skip-link { position: absolute; inset: .5rem auto auto .5rem; z-index: 2; padding: .5rem 1rem; color: var(--ink); background: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.eyebrow { font: 700 .68rem/1.4 var(--sans); letter-spacing: .155em; text-transform: uppercase; }

.site-header { border-bottom: 1px solid rgb(11 39 64 / .14); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 4.4rem; }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; width: max-content; font: 400 clamp(1.65rem, 3vw, 2.15rem)/1 var(--serif); text-decoration: none; white-space: nowrap; }
.brand-stamp { width: clamp(2.5rem, 4.2vw, 3.5rem); height: auto; }
.brand-name { width: clamp(9rem, 16vw, 12.5rem); height: auto; }
nav { display: flex; gap: clamp(.8rem, 3vw, 2.65rem); align-items: center; }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .85rem; font-weight: 600; text-underline-offset: .28em; text-decoration-color: transparent; transition: text-decoration-color .2s; }
nav a:hover { text-decoration-color: currentColor; }

.hero { position: relative; isolation: isolate; display: flex; align-items: end; min-height: clamp(32rem, 46vw, 43rem); background: #152c34; color: var(--paper); }
.hero::after, .hero-image { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image { object-fit: cover; object-position: 50% 47%; }
.hero::after { content: ""; background: linear-gradient(90deg, rgb(5 22 28 / .78), rgb(5 22 28 / .34) 49%, transparent 78%), linear-gradient(0deg, rgb(5 22 28 / .52), transparent 65%); }
.hero-inner { padding-block: 4rem clamp(3rem, 6vw, 5.25rem); }
.hero-kicker { margin-bottom: 1.12rem; color: var(--mint); }
.hero h1 { font-size: clamp(1.78rem, 8.7vw, 7.35rem); line-height: .99; letter-spacing: -.017em; }
.hero h1 em { color: var(--mint); font-style: normal; }
.hero-copy { max-width: 29rem; margin: 1.65rem 0 1.75rem; font-size: clamp(.96rem, 1.4vw, 1.13rem); line-height: 1.5; }
.button { display: inline-flex; min-height: 3.05rem; justify-content: space-between; align-items: center; gap: 1.6rem; padding: .7rem 1.08rem; border: 1px solid transparent; text-decoration: none; font-size: .85rem; font-weight: 700; transition: background-color .18s, color .18s, border-color .18s; cursor: pointer; }
.button span, .text-link span { font-size: 1.08em; }
.button-light { background: var(--mint); color: var(--ink); }
.button-light:hover { background: var(--paper); }
.hero .button:focus-visible { outline-color: var(--mint); }

.allocation { background: var(--tide); border-bottom: 1px solid var(--rule); }
.allocation-inner { display: grid; align-items: start; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(3rem, 7vw, 5.5rem); }
.allocation-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.allocation-heading .eyebrow { margin-bottom: .45rem; }
.allocation-heading h2 { font-size: clamp(1.92rem, 4.2vw, 4.2rem); line-height: 1.04; letter-spacing: -.016em; }
.allocation-stamp { width: clamp(3.25rem, 8vw, 7rem); height: auto; flex-shrink: 0; }
.allocation-copy > p { max-width: 37rem; }
.allocation-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.5rem), 1fr)); gap: .8rem 1.15rem; margin-block: 1.25rem; padding-block: .9rem; border-block: 1px solid var(--rule); }
dt { color: var(--muted); font-size: .79rem; }
.allocation-figures dd { margin-top: .2rem; font: 400 clamp(1.8rem, 3.25vw, 2.65rem)/1 var(--serif); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.price-protection { color: var(--muted); font-size: .9rem; }
.price-protection strong { color: var(--ink); }
.allocation-prices { min-width: 0; padding: clamp(1.1rem, 3vw, 2rem); background: var(--paper); border: 1px solid var(--rule); }
.allocation-price { display: flex; align-items: baseline; gap: .65rem; margin-top: .3rem; flex-wrap: wrap; }
.allocation-price strong { font: 400 clamp(2.8rem, 5.2vw, 4.65rem)/1 var(--serif); }
.allocation-price span, .allocation-status { color: var(--muted); font-size: .88rem; }
.allocation-status { margin-top: .28rem; }
.allocation-tier-summary { margin-block: 1.1rem; }
.pricing-tiers { border-block: 1px solid var(--rule); }
.pricing-tiers summary { padding: .65rem 0; font-size: .9rem; font-weight: 700; cursor: pointer; }
.pricing-tiers table { width: 100%; border-collapse: collapse; font-size: .84rem; font-variant-numeric: tabular-nums; }
.pricing-tiers caption { text-align: left; padding-block: .4rem; color: var(--muted); }
.pricing-tiers th, .pricing-tiers td { padding: .45rem .5rem; text-align: left; border-top: 1px solid var(--rule); overflow-wrap: anywhere; }
.pricing-tiers :is(th, td):last-child { text-align: right; }
.pricing-tiers .current-tier { background: var(--tide); font-weight: 700; }
.allocation-button { margin-top: 1.2rem; color: var(--paper); background: var(--ink); }
.allocation-button:hover { color: var(--ink); background: var(--mint); border-color: var(--ink); }
.text-link { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .75rem; width: fit-content; font-size: .86rem; font-weight: 700; text-underline-offset: .27em; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }

.collection { padding-block: clamp(3.2rem, 7vw, 6.25rem); }
.collection-heading { display: flex; justify-content: space-between; align-items: end; gap: .75rem 2rem; padding-bottom: 1.25rem; margin-bottom: 1.65rem; border-bottom: 1px solid var(--rule); }
.collection-heading h2, .sourcing h2, .questions h2 { font-size: clamp(1.92rem, 4.2vw, 4.2rem); line-height: 1.04; letter-spacing: -.016em; }
.collection-heading p { color: var(--muted); padding-bottom: .2rem; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3.3vw, 3rem); }
.product { min-width: 0; display: flex; flex-direction: column; }
.product-image { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #d8c4a8; }
.product:nth-child(2) .product-image { background: #9aabb1; }
.product-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-block: 1.35rem 1.16rem; }
.product-focus { color: var(--muted); margin-bottom: .45rem; }
.product-heading h3 { font-size: clamp(1.67rem, 3.15vw, 3.1rem); line-height: 1.06; letter-spacing: -.015em; }
.product-price { display: grid; justify-items: end; min-width: max-content; line-height: 1.25; }
.product-price strong { font-size: 1.29rem; font-weight: 700; }
.product-price span { color: var(--muted); font-size: .72rem; }
.product-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; border-top: 1px solid var(--rule); padding-block: .85rem; margin-top: auto; }
.product-figures dd { margin-top: .15rem; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.product meter { width: 100%; height: .56rem; margin: 0 0 .8rem; border: 0; }
.product meter::-webkit-meter-bar { background: var(--tide); border: 0; border-radius: 0; }
.product meter::-webkit-meter-optimum-value { background: #436f63; }
.product meter::-moz-meter-bar { background: #436f63; }
.product-action { width: 100%; margin-top: .25rem; border-color: var(--ink); background: transparent; }
.product-action:hover { background: var(--ink); color: var(--paper); }

.sourcing { background: var(--tide); border-top: 1px solid var(--rule); }
.sourcing-content, .questions-inner { padding-block: clamp(3rem, 7vw, 5.5rem); }
.sourcing-intro, .questions-inner { display: grid; grid-template-columns: .79fr 1.21fr; gap: 2rem; }
.sourcing-intro { align-items: end; margin-bottom: clamp(1.25rem, 3vw, 2.4rem); }
.sourcing-intro > p { max-width: 36rem; }
.sourcing .eyebrow { margin-bottom: .6rem; }
.sourcing p a { text-underline-offset: .23em; }
.farm-visit {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  grid-template-areas: "copy film" "photo film";
  align-items: start;
  gap: 1.2rem clamp(1.5rem, 4vw, 4.5rem);
  margin-bottom: clamp(1.75rem, 4vw, 3.75rem);
  padding: clamp(1.15rem, 3.5vw, 3rem);
  border: 1px solid var(--rule);
  background: var(--paper);
}
.farm-copy { grid-area: copy; }
.farm-copy h3 { font-size: clamp(1.9rem, 4vw, 3.8rem); line-height: 1.04; }
.farm-copy p { max-width: 35ch; margin-top: .75rem; }
.farm-visit figure { min-width: 0; margin: 0; }
.farm-visit figcaption { margin-top: .65rem; color: var(--muted); font-size: .85rem; }
.farm-film { grid-area: film; justify-self: center; width: min(100%, 17.5rem); }
.farm-film video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--ink); }
.farm-photo { grid-area: photo; }
.farm-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 51%; }
.supplier-photos { display: grid; grid-template-columns: minmax(0, 1.85fr) repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.5rem); }
.supplier-photos figure { min-width: 0; margin: 0; }
.supplier-photos img { width: 100%; height: clamp(13rem, 23vw, 20rem); object-fit: cover; background: var(--rule); }
.supplier-photos figcaption { padding-block: .65rem; border-bottom: 1px solid var(--rule); font-size: .86rem; font-weight: 700; }

.questions { background: #eae9df; border-block: 1px solid var(--rule); }
.questions details { border-top: 1px solid var(--rule); }
.questions details:last-child { border-bottom: 1px solid var(--rule); }
.questions summary { position: relative; padding: 1rem 2.3rem 1rem 0; list-style: none; font-weight: 700; cursor: pointer; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { position: absolute; top: 1rem; right: .25rem; content: "+"; font-weight: 400; }
.questions details[open] summary::after { content: "−"; }
.questions details p { max-width: 36rem; padding: 0 1rem 1.15rem 0; color: var(--muted); }

.site-footer { color: var(--mint); background: var(--ink); }
.footer-inner { min-height: 7.25rem; }
.site-footer .text-link { font-weight: 600; }
.site-footer .wordmark { font-size: clamp(1.3rem, 2.9vw, 1.8rem); }

.product-dialog { width: min(calc(100% - 2.5rem), 31rem); max-height: calc(100% - 2.5rem); padding: 0; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); }
.product-dialog::backdrop { background: rgb(7 24 30 / .77); }
.dialog-inner { position: relative; padding: 3.7rem clamp(1.4rem, 6vw, 2.9rem) 2.25rem; }
.dialog-inner h2 { font-size: clamp(1.85rem, 5.4vw, 3.25rem); line-height: 1.04; }
.dialog-inner p { margin-top: .9rem; }
.dialog-inner .product-figures { margin-top: .9rem; }
.dialog-price { font-weight: 700; }
.dialog-status { padding-top: .85rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .86rem; }
.dialog-close { position: absolute; top: .75rem; right: .75rem; }
.close-button { width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: transparent; font-size: 1.65rem; cursor: pointer; }
.close-button:hover { background: var(--tide); }

@media (max-width: 47rem) {
  .hero { min-height: 33rem; }
  .hero-image { object-position: 63% 50%; }
  .hero::after { background: linear-gradient(0deg, rgb(5 22 28 / .87), rgb(5 22 28 / .54) 59%, transparent 100%); }
  .allocation-inner { grid-template-columns: 1fr; }
  .collection-heading { align-items: start; flex-direction: column; }
  .product-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .sourcing-intro, .questions-inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .supplier-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supplier-photos figure:first-child { grid-column: 1 / -1; }
  .supplier-photos img { height: auto; aspect-ratio: 3 / 2; }
}

@media (max-width: 32rem) {
  .farm-visit { grid-template-columns: 1fr; grid-template-areas: "copy" "film" "photo"; }
  .supplier-photos { grid-template-columns: 1fr; }
}

@media (max-width: 26rem) {
  .header-inner { display: grid; justify-content: stretch; gap: 0; padding-top: .8rem; }
  nav { gap: 1.35rem; }
}

@media (max-width: 23.5rem) {
  .hero { min-height: 29rem; }
}

@media (max-width: 22rem) {
  .allocation-heading h2 { font-size: 1.75rem; }
  .product-heading h3 { font-size: 1.48rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
