/* Home page — builds on styles.css tokens */
.hero { display: block; padding-top: calc(72px + var(--hdr)); padding-bottom: 72px; }
.hero-copy { position: relative; z-index: 1; max-width: 640px; }
.eyebrow { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 18px; text-transform: uppercase; letter-spacing: 0; }
.hero-title { margin-top: 20px; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: clamp(56px, 7vw, 104px); line-height: .95; letter-spacing: -.03em; text-transform: uppercase; }
.hero-sub { margin-top: 28px; max-width: 520px; font-size: 20px; line-height: 1.4; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero-cta .btn-primary { padding: 20px 28px; font-size: 22px; }
.hero-cta .btn-cream { padding: 20px 28px; font-size: 20px; }

.why { margin-top: 64px; }
.why-list { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--cream); border: 2px solid var(--ink); border-radius: 24px; }
.why-list li { display: flex; flex-direction: column; gap: 10px; padding: 28px 32px; }
.why-list li + li { border-left: 2px solid var(--ink); }
.why-list b { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 22px; line-height: 1.2; text-transform: uppercase; }
.why-list span { font-size: 16px; line-height: 1.4; color: var(--ink-80); }

.sec { margin-top: 104px; }
.home-h2 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 40px; line-height: 1.1; text-transform: uppercase; letter-spacing: -.02em; }
.sec-lead { margin-top: 16px; max-width: 720px; font-size: 20px; line-height: 1.4; }
.home-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }

.h-problem { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 56px; align-items: center; padding: 48px; background: var(--cream); color: var(--ink); border: 2px solid var(--ink); border-radius: 24px; box-shadow: 8px 8px 0 var(--ink); }
.h-problem-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.h-problem-copy .home-h2 { margin-bottom: 4px; }
.h-problem-copy p:not(.eyebrow) { font-size: 20px; line-height: 1.45; max-width: 520px; }
.h-problem-copy .btn { margin-top: 12px; padding: 20px 28px; font-size: 22px; color: var(--ink); }
.h-problem-copy .btn-primary:focus-visible { outline-color: var(--ink); }
.h-problem-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: 2px solid var(--ink); }

.h-cmp { margin-top: 32px; border: 2px solid var(--ink); border-radius: 24px; background: var(--cream); overflow: hidden; }
.h-cmp-row { display: grid; grid-template-columns: 180px 1fr 1fr; }
.h-cmp-row + .h-cmp-row { border-top: 2px solid var(--ink); }
.h-cmp-row > * { padding: 22px 28px; margin: 0; font-size: 18px; line-height: 1.4; }
.h-cmp-row > .is-us { background: var(--lime); border-left: 2px solid var(--ink); font-weight: 500; }
.h-cmp-row > span { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 16px; text-transform: uppercase; }
.h-cmp-top > b { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 22px; text-transform: uppercase; color: var(--ink-70); }
.h-cmp-top > b.is-us { color: var(--ink); }

.h-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.h-step { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 2px solid var(--ink); border-radius: 24px; background: var(--cream); }
.h-step .n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; border-radius: 50%; border: 2px solid var(--ink); background: var(--c); font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 20px; }
.h-step h3 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 24px; line-height: 1.15; text-transform: uppercase; }
.h-step p { font-size: 17px; line-height: 1.4; color: var(--ink-80); }

.pitch { display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 64px; align-items: center; }
.pitch-media { display: block; border-radius: 24px; overflow: hidden; border: 2px solid var(--ink); background: #fff; }
.pitch-media img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform .35s ease; }
.pitch-media:hover img { transform: scale(1.03); }
.pitch-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.pitch-copy .home-h2 { font-size: 44px; }
.ticks { display: flex; flex-direction: column; gap: 10px; font-size: 20px; }
.ticks li { display: flex; align-items: center; gap: 12px; }
.ticks li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink) url("assets/icons/check-trust.svg") center / 14px no-repeat; }
.h-tastes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 16px; }
.h-tastes b { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border: 1.5px solid var(--ink); border-radius: 40px; background: var(--cream); font-family: var(--font-display); font-weight: var(--fw-medium); font-size: 18px; }
.pitch-price { display: flex; align-items: baseline; gap: 14px; font-family: var(--font-price); font-size: 36px; }
.pitch-price small { font-family: var(--font-body); font-size: 16px; color: var(--ink-80); }
.pitch-copy .hero-cta { margin-top: 4px; }

.brand { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: 56px; align-items: center; padding: 48px; background: var(--cream); border: 2px solid var(--ink); border-radius: 24px; box-shadow: 8px 8px 0 var(--ink); }
.brand-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.brand-copy > p:not(.eyebrow) { font-size: 20px; line-height: 1.45; max-width: 520px; }
.h-quote { margin-top: 12px; padding: 20px 22px; border: 1.5px solid var(--ink); border-radius: 16px; background: #fff; }
.h-quote blockquote { font-size: 17px; line-height: 1.45; }
.h-quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 15px; }
.h-quote figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.brand-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.brand-photos img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; border: 2px solid var(--ink); }
.brand-photos img:nth-child(2) { margin-top: 40px; }

.h-final { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 72px 32px; text-align: center; background: var(--lime); border: 2px solid var(--ink); border-radius: 24px; }
.h-final-title { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: clamp(40px, 6vw, 80px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.h-final .btn { padding: 22px 32px; font-size: 24px; background: var(--ink); color: var(--lime); box-shadow: 0 4px 0 rgba(20,21,19,.35); }
.h-final .btn:hover { box-shadow: 0 6px 0 rgba(20,21,19,.35); }

@media (max-width: 1099px) {
  .hero { padding-top: 28px; padding-bottom: 8px; }
  .hero-copy { max-width: none; }
  .eyebrow { font-size: 14px; }
  .hero-title { margin-top: 12px; font-size: clamp(44px, 14vw, 64px); }
  .hero-sub { margin-top: 16px; font-size: 16px; }
  .hero-cta { margin-top: 24px; gap: 12px; }
  .hero-cta .btn { flex: 1 1 100%; padding: 18px 16px; }
  .hero-cta .btn-primary { font-size: 20px; }
  .hero-cta .btn-cream { font-size: 18px; }
  .why { margin-top: 32px; }
  .why-list { grid-template-columns: 1fr; border-radius: 16px; }
  .why-list li { padding: 18px 20px; }
  .why-list li + li { border-left: 0; border-top: 2px solid var(--ink); }
  .why-list b { font-size: 18px; }
  .why-list span { font-size: 15px; }
  .sec { margin-top: 56px; }
  .home-h2 { font-size: 28px; }
  .sec-lead { font-size: 16px; }

  .h-problem { grid-template-columns: 1fr; gap: 24px; padding: 20px; border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); }
  .h-problem-copy p:not(.eyebrow) { font-size: 16px; }
  .h-problem-copy .btn { width: 100%; padding: 18px 16px; font-size: 20px; }
  .h-problem-photo { order: -1; }

  .h-cmp { margin-top: 20px; border-radius: 16px; }
  .h-cmp-row { grid-template-columns: 1fr 1fr; }
  .h-cmp-row > * { padding: 14px 14px; font-size: 15px; }
  .h-cmp-row > span { grid-column: 1 / -1; padding: 12px 14px 0; font-size: 13px; }
  .h-cmp-top > span { display: none; }
  .h-cmp-top > b { font-size: 15px; }
  .h-cmp-row:not(.h-cmp-top) > p:not(.is-us) { padding-top: 6px; }
  .h-cmp-row:not(.h-cmp-top) > .is-us { background: var(--lime); }

  .h-steps { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
  .h-step { padding: 20px; border-radius: 16px; }
  .h-step h3 { font-size: 20px; }
  .h-step p { font-size: 15px; }

  .pitch { grid-template-columns: 1fr; gap: 20px; }
  .pitch-media { border-radius: 16px; }
  .pitch-copy { gap: 16px; }
  .pitch-copy .home-h2 { font-size: 28px; }
  .ticks { font-size: 17px; }
  .pitch-price { font-size: 28px; }
  .pitch-copy .hero-cta { width: 100%; }

  .brand { grid-template-columns: 1fr; gap: 24px; padding: 20px; border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); }
  .brand-copy > p:not(.eyebrow) { font-size: 16px; }
  .brand-photos { order: -1; gap: 10px; }
  .brand-photos img:nth-child(2) { margin-top: 20px; }

  .h-final { padding: 40px 20px; gap: 20px; border-radius: 16px; }
  .h-final .btn { width: 100%; padding: 18px 16px; font-size: 20px; }
}

/* FAQ */
.h-faq .faq { margin-top: 24px; max-width: 880px; background: var(--cream); border: 2px solid var(--ink); border-radius: 20px; padding: 8px 28px; }
.h-faq .faq-q { font-size: 20px; padding: 20px 0; }
.h-faq .faq-a p { max-width: 64ch; font-size: 17px; }
.h-faq .faq-a a { text-decoration: underline; text-underline-offset: 3px; }
.h-faq-more { margin-top: 20px; font-family: var(--font-display); font-weight: var(--fw-medium); font-size: 18px; }
.h-faq-more a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1099px) {
  .h-faq .faq { padding: 4px 16px; }
  .h-faq .faq-q { font-size: 17px; padding: 16px 0; }
}

.h-faq .faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; margin-top: 24px; }
.h-faq .faq-cols .faq { margin-top: 0; max-width: none; }
@media (max-width: 1099px) { .h-faq .faq-cols { grid-template-columns: 1fr; gap: 12px; } }

/* UGC videos */
.h-wild { margin-top: 104px; padding-top: 0; }
.h-wild .home-h2 { margin-bottom: 32px; }
@media (max-width: 1099px) {
  .h-wild { margin-top: 56px; padding-top: 0; }
  .h-wild .home-h2 { margin-bottom: 16px; }
}


/* Farm to jar: video + steps that switch it */
.h-farm { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 56px; align-items: center; }
.h-farm-media { aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; border: 2px solid var(--ink); background: var(--cream); }
.h-farm-media video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.h-farm .h-steps { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
button.h-step { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 4px; align-items: start; width: 100%; padding: 20px 24px 32px; font: inherit; color: inherit; text-align: left; cursor: pointer; overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
button.h-step .n { grid-row: 1 / span 2; margin-bottom: 0; }
.h-step-t { align-self: end; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 22px; line-height: 1.15; text-transform: uppercase; }
.h-step-p { font-size: 17px; line-height: 1.4; color: var(--ink-80); }
button.h-step:hover { transform: translateY(-2px); }
button.h-step[aria-pressed="true"] { box-shadow: 0 5px 0 var(--ink); }
button.h-step[aria-pressed="true"] .n { background: var(--lime); }
button.h-step[aria-pressed="true"] .step-bar { opacity: 1; }
button.h-step .step-bar { left: 24px; right: 24px; bottom: 14px; height: 5px; border-radius: 3px; background: rgba(20, 21, 19, .14); }
@media (max-width: 1099px) {
  .h-farm { grid-template-columns: 1fr; gap: 20px; }
  .h-farm-media { border-radius: 16px; max-width: 520px; width: 100%; justify-self: center; }
  .h-farm .h-steps { margin-top: 20px; gap: 12px; }
  button.h-step { padding: 16px 18px 28px; grid-template-columns: 36px 1fr; column-gap: 12px; }
  .h-step-t { font-size: 18px; }
  .h-step-p { font-size: 15px; }
}

/* Hero: the pour video runs full width. Its studio backdrop is extended with a gradient sampled from the
   video's left edge, and the video fades into it (mask), so there is no visible card or seam. */
.hero-full { position: relative; isolation: isolate; }
.hero-stage {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background: linear-gradient(180deg, #d5d5d5 0%, #d8d8d8 10%, #dcdedd 20%, #dfe1e1 30%, #e0e2e2 40%, #e2e4e4 50%, #dfe1e1 60%, #dfe1e1 70%, #dfe1e1 80%, #e3e5e5 90%, #d9dbdb 100%);
}
.hero-vbox { position: absolute; right: 0; top: 0; height: 100%; aspect-ratio: 4 / 5; }
.hero-vbox video {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12); transform-origin: 100% 58%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%); mask-image: linear-gradient(90deg, transparent 0, #000 28%);
}
@media (max-width: 1099px) {
  .hero-stage { position: relative; inset: auto; z-index: auto; height: calc(min(125vw, 640px) + var(--hdr)); }
  .hero-vbox { position: relative; right: auto; margin: 0 auto; }
  .hero-vbox video { transform: none; -webkit-mask-image: none; mask-image: none; }
}
@media (min-width: 520px) and (max-width: 1099px) {
  .hero-vbox video { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%); }
}
@media (max-width: 519px) {
  .hero-vbox { width: 100%; aspect-ratio: auto; }
}
/* Home: the hero band runs up behind the header; the header has no background until you scroll */
.page-home main { margin-top: calc(var(--hdr) * -1); }
.page-home .site-header { transition: border-color .2s ease, background-color .2s ease; }
.page-home .site-header:not(.is-stuck) { background: transparent; }
/* Over the video (header not scrolled yet) the cart sits on a cream disc so it stays readable */
.page-home .site-header:not(.is-stuck) .cart-btn { width: 44px; height: 44px; margin: -9px; background: var(--cream); border-radius: 50%; border: 2px solid var(--ink); transition: background-color .2s ease; }
.page-home .site-header:not(.is-stuck) .cart-btn .cart-count { top: -6px; right: -6px; }
@media (max-width: 1099px) {
  .page-home .site-header:not(.is-stuck) .cart-btn { width: 40px; height: 40px; margin: -7px; }
}

/* Mobile/tablet hero: one screen. The video fills whatever height is left above the copy, so the
   headline and the Shop button are always visible the moment the page opens. */
@media (max-width: 1099px) {
  .hero-full { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
  .hero-stage { flex: 1 1 auto; height: auto; min-height: 260px; }
  .hero-vbox { position: absolute; top: 0; bottom: 0; left: 50%; right: auto; height: 100%; margin: 0; transform: translateX(-50%); aspect-ratio: 4 / 5; }
  .hero-full .hero { flex: none; padding-top: 18px; padding-bottom: 22px; }
  .hero-title { margin-top: 0; font-size: clamp(38px, 11.4vw, 64px); line-height: .95; }
  .hero-sub { margin-top: 10px; font-size: 15px; line-height: 1.35; }
  .hero-cta { margin-top: 16px; }
  .hero-cta .btn-primary { padding: 16px; font-size: 20px; }
}
@media (max-width: 519px) {
  .hero-vbox { width: 100%; aspect-ratio: auto; }
}

/* Mobile/tablet hero: the studio-grey backdrop continues under the video, so the headline sits on grey
   (not pink). The video fades into it at the bottom and the copy overlaps that faded floor a little. */
@media (max-width: 1099px) {
  .hero-full { background: #e3e5e4; }
  .hero-stage { background: none; }
  .hero-stage::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 16%; background: linear-gradient(180deg, rgba(227, 229, 228, 0), #e3e5e4 92%); pointer-events: none; }
  .hero-full .hero { position: relative; z-index: 2; margin-top: -36px; padding-top: 0; }
}
