:root {
  --ink: #172117;
  --leaf: #173524;
  --leaf-deep: #10261a;
  --paper: #ffffff;
  --cream: #f4f7f1;
  --cheddar: #e39a1b;
  --cheddar-deep: #a86b08;
  --vinegar: #c5ebf6;
  --cacao: #7a4332;
  --chipotle: #c44724;
  --muted: #3d5144;
  --line: #dfe3d6;
  --serif: "Source Serif 4", Georgia, "Iowan Old Style", Palatino, serif;
  --sans: "Barlow", "Avenir Next", "Segoe UI", sans-serif;
  --wrap: min(1120px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.55;
}

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

figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--leaf);
  margin: 0 0 0.7rem;
}

h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.35rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.55rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--leaf);
}

a:hover {
  color: var(--cheddar-deep);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--cheddar);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip:focus {
  top: 0.5rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.hero > *,
.band-grid > *,
.flavor > *,
.contact-grid > *,
.footer-grid > *,
.lineup > *,
.coatings > * {
  min-width: 0;
}

.measure {
  max-width: 40rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 5px solid var(--cheddar);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--leaf);
  text-decoration: none;
  line-height: 1.1;
}

.wordmark:hover {
  color: var(--leaf);
}

.nav-toggle {
  display: none;
  font-family: var(--sans);
  font-size: 1rem;
  background: transparent;
  border: 0;
  color: var(--leaf);
  padding: 0.4rem 0.2rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  gap: 1.35rem;
}

.site-nav a {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0;
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--cheddar);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr);
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 1.5rem 0 0.5rem;
}

.hero-copy {
  padding-bottom: 0;
}

.hero-copy p {
  font-size: 1.22rem;
  max-width: 34rem;
}

.hero-leaf {
  margin: 0;
}

.hero-leaf img {
  width: min(100%, 520px);
  max-height: 78vh;
  object-fit: contain;
  margin-left: auto;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.pill {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
  background: var(--cheddar);
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  border: 2px solid var(--cheddar);
}

.pill:hover {
  background: #efb03a;
  color: var(--ink);
  border-color: #efb03a;
}

.pill-ghost {
  background: transparent;
  border-color: var(--leaf);
  color: var(--leaf);
}

.pill-ghost:hover {
  background: var(--leaf);
  color: #fff;
}

.pill-light {
  background: #fff;
  border-color: #fff;
}

.pill-light:hover {
  background: var(--cheddar);
  border-color: var(--cheddar);
  color: var(--ink);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 1.6rem 0 2.4rem;
  border-bottom: 1px solid var(--line);
}

.facts div {
  margin: 0;
}

.facts dt {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--leaf);
}

.facts dd {
  margin: 0.2rem 0 0;
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 16ch;
}

.section {
  padding: 3.2rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head a {
  font-family: var(--sans);
  font-weight: 500;
  white-space: nowrap;
}

.lineup {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1.75rem;
}

.lineup a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.lineup img {
  width: 100%;
}

.flavor-tag {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  color: var(--ink);
}

.tag-cheese { background: var(--cheddar); }
.tag-vinegar { background: var(--vinegar); }
.tag-cacao { background: var(--cacao); color: #fff; }
.tag-dill { background: #f0c27a; }
.tag-chipotle { background: var(--chipotle); color: #fff; }

.blurb {
  font-family: var(--sans);
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 28ch;
}

.band {
  background: var(--leaf);
  color: #f3f7f2;
  padding: 4rem 0;
}

.band h2 {
  color: #fff;
}

.band-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: center;
}

.band p {
  max-width: 38rem;
  font-size: 1.2rem;
}

.band a:not(.pill) {
  color: #fff;
}

.story-tease {
  padding: 3.5rem 0 4rem;
}

.story-tease p {
  max-width: 40rem;
  font-size: 1.2rem;
}

.page-intro {
  padding: 2.4rem 0 1rem;
}

.page-intro p {
  font-size: 1.22rem;
  max-width: 40rem;
}

.coatings {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.coatings figcaption {
  font-family: var(--sans);
  font-size: 0.95rem;
  margin-top: 0.4rem;
  color: var(--muted);
}

.flavor {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
  padding: 3.2rem 0;
}

.flavor + .flavor {
  border-top: 1px solid var(--line);
}

.flavor-visual {
  display: grid;
  gap: 0.8rem;
}

.flavor-visual img {
  width: 100%;
  max-height: 640px;
  object-fit: contain;
  object-position: center;
}

.flavor h2 {
  margin-top: 0.7rem;
}

.ounce {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 1.1rem 0 1.2rem;
  padding: 0;
  list-style: none;
}

.ounce li {
  font-family: var(--sans);
  min-width: 7rem;
}

.ounce strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--leaf);
  letter-spacing: -0.02em;
}

.ounce span {
  color: var(--muted);
  font-size: 0.95rem;
}

.ingredients,
.allergen {
  font-size: 1.02rem;
}

.allergen {
  color: var(--muted);
}

.sizes {
  list-style: none;
  margin: 1.1rem 0 1.3rem;
  padding: 0;
  max-width: 26rem;
}

.sizes li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--sans);
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
}

.sizes li:last-child {
  border-bottom: 1px solid var(--line);
}

.note {
  font-family: var(--sans);
  color: var(--muted);
  font-size: 0.98rem;
}

.site-footer {
  background: var(--leaf-deep);
  color: #e5eee7;
  padding: 2.6rem 0 2.2rem;
  font-family: var(--sans);
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
}

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

.site-footer p {
  margin: 0 0 0.35rem;
}

.credit {
  margin-top: 1.6rem;
  color: #b7c7bb;
  font-size: 0.92rem;
}

.answers {
  margin: 0;
}

.answers dt {
  font-weight: 650;
  margin-top: 1.3rem;
  color: var(--leaf);
}

.answers dd {
  margin: 0.3rem 0 0;
  max-width: 42rem;
}

.press {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}

.press blockquote {
  margin: 0 0 0.3rem;
  font-size: 1.25rem;
  line-height: 1.35;
  max-width: 40rem;
}

.press cite {
  font-family: var(--sans);
  font-style: normal;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem;
  padding-bottom: 4rem;
  align-items: start;
}

address {
  font-style: normal;
}

.contact-list a {
  font-family: var(--sans);
  font-size: 1.15rem;
}

form {
  display: grid;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-family: var(--sans);
  font-weight: 500;
}

input,
select,
textarea {
  font: inherit;
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  border: 1px solid #c5ccba;
  border-radius: 2px;
  padding: 0.65rem 0.7rem;
  width: 100%;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

button.pill {
  justify-self: start;
  cursor: pointer;
}

.form-note {
  font-family: var(--sans);
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--cheddar-deep);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 5px solid var(--cheddar);
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 1.25rem 1rem;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 0.7rem 0;
    border-top: 1px solid var(--line);
  }

  .hero,
  .band-grid,
  .flavor,
  .contact-grid,
  .footer-grid,
  .facts,
  .lineup,
  .coatings {
    grid-template-columns: 1fr;
  }

  .hero-leaf img {
    margin-inline: auto;
    width: min(100%, 420px);
  }

  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .facts dd {
    max-width: none;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

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