/* Ay Papi Recipes · stylesheet
   Brand tokens: Clients/Ay Papi/ay-papi-brand-tokens.css (copied verbatim below).
   Layout and rhythm adapted from the Sauz web kit: pill buttons at 12px radius,
   framed cream panels, checkerboard dividers, one saturated product panel,
   dashed feature card, dark footer. Mobile first. */

:root {
  --ay-papi-salsa-red: #dd1f19;
  --ay-papi-chili-deep-red: #a62c1a;
  --ay-papi-ocean-teal: #0f4a52;
  --ay-papi-sunset-orange: #e87135;
  --ay-papi-citrus-green: #859032;
  --ay-papi-citrus-pulp: #c7c786;
  --ay-papi-warm-cream: #f8ecdf;
  --ay-papi-ink-black: #010101;
  --ay-papi-clean-white: #fdfdfd;

  /* role aliases */
  --red: var(--ay-papi-salsa-red);
  --red-deep: var(--ay-papi-chili-deep-red);
  --teal: var(--ay-papi-ocean-teal);
  --orange: var(--ay-papi-sunset-orange);
  --green: var(--ay-papi-citrus-green);
  --pulp: var(--ay-papi-citrus-pulp);
  --cream: var(--ay-papi-warm-cream);
  --ink: var(--ay-papi-ink-black);
  --white: var(--ay-papi-clean-white);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-accent: "Instrument Serif", Georgia, "Times New Roman", serif;

  --radius-btn: 12px;
  --radius-card: 20px;
  --container: 1344px;
  --gutter: 20px;
  --section-y: 72px;

  --dur-short: .2s;
  --dur-long: .5s;
  --ease-out: cubic-bezier(0, 0, .3, 1);
}

@media (min-width: 720px) {
  :root { --gutter: 32px; --section-y: 96px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 48px; --section-y: 120px; }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, video, picture { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 8px;
  transition: top var(--dur-short);
}
.skip-link:focus { top: 12px; }

/* ---------- type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 100%;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(34px, 6.4vw, 64px);
  text-wrap: balance;
}
.display--sm { font-size: clamp(28px, 4.6vw, 44px); }
.display em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: 1.08em;
  color: var(--red);
}
h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-size: clamp(40px, 8vw, 84px);
  text-wrap: balance;
}
h1 em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: 1.1em;
  color: var(--red);
}
/* hero h1 sits on a dark photo scrim, so its em accent stays pulp with a glow for legibility;
   every other h1 (recipe product pages included) gets the standard red serif accent above. */
.hero h1 em {
  color: var(--pulp);
  text-shadow: 0 2px 24px rgba(1, 1, 1, .45);
}
h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.nowrap { white-space: nowrap; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--pulp); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border: 0; border-radius: var(--radius-btn);
  font-weight: 700; font-size: 17px; line-height: 1; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-short), color var(--dur-short), box-shadow var(--dur-short);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-deep); }
.btn--secondary { background: var(--teal); color: var(--white); }
.btn--secondary:hover { background: var(--ink); }
.btn--light { background: var(--cream); color: var(--red); }
.btn--light:hover { background: var(--white); }
.btn--lg { min-height: 60px; padding: 0 36px; font-size: 19px; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }

.link-arrow {
  font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.link-arrow::after { content: "\2192"; transition: transform var(--dur-short); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: var(--white); }

/* ---------- announcement ---------- */
.announce {
  background: var(--orange); color: var(--ink);
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em; text-align: center;
  padding: 10px var(--gutter);
}
.announce p { display: inline-flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; }
.announce__chili { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px var(--cream); display: inline-block; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid rgba(1, 1, 1, .08);
}
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.header__logo img { height: 56px; width: auto; }
.nav { display: none; gap: 32px; font-weight: 700; font-size: 15px; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color var(--dur-short); }
.nav a:hover { border-color: var(--red); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px;
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--dur-short), opacity var(--dur-short); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav.is-open {
  display: flex; flex-direction: column; gap: 0;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--cream); border-bottom: 1px solid rgba(1, 1, 1, .08);
  padding: 8px var(--gutter) 16px;
}
.nav.is-open a { padding: 14px 0; border-bottom: 1px solid rgba(1, 1, 1, .08); font-size: 18px; }
.nav.is-open a:last-child { border-bottom: 0; }

@media (min-width: 900px) {
  .header__row { min-height: 88px; }
  .header__logo img { height: 68px; }
  .nav { display: flex; }
  .nav-toggle { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(78svh, 680px); display: flex; align-items: flex-end;
  color: var(--white);
  background: var(--ink);
}
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 45%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(1, 1, 1, .2) 0%, rgba(1, 1, 1, .05) 22%, rgba(1, 1, 1, .55) 55%, rgba(1, 1, 1, .84) 100%),
    linear-gradient(90deg, rgba(1, 1, 1, .5) 0%, rgba(1, 1, 1, 0) 70%);
}
.hero__content { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 48px; max-width: 900px; margin-left: 0; }
.hero__sub { font-size: clamp(17px, 2.2vw, 22px); line-height: 1.4; max-width: 34ch; margin-top: 20px; color: rgba(253, 253, 253, .92); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 30px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 36px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pulp); }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

@media (min-width: 720px) {
  .hero { min-height: min(86svh, 800px); }
  .hero__content { padding-top: 160px; padding-bottom: 72px; }
}
@media (min-width: 1024px) {
  .hero { min-height: min(92svh, 860px); }
  .hero__content { padding-bottom: 96px; }
}

/* ---------- framed value panel ---------- */
.frame-panel { padding: var(--section-y) 0 0; }
.frame {
  position: relative;
  border: 3px solid var(--red);
  border-radius: 6px;
  padding: 56px 20px 40px;
  text-align: center;
  background: var(--cream);
}
.frame__mark {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--red); border: 4px solid var(--cream);
  box-shadow: 0 0 0 3px var(--red);
}
.frame__lede { max-width: 56ch; margin: 18px auto 0; font-size: 17px; color: rgba(1, 1, 1, .78); }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.pills--left { justify-content: flex-start; }
.pills li {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 10px 16px; border: 1.5px solid var(--ink); border-radius: 999px;
}
@media (min-width: 720px) {
  .frame { padding: 72px 48px 56px; }
  .pills { gap: 12px; }
  .pills li { padding: 12px 22px; font-size: 13px; }
}
.frame-panel + .checker { margin-top: var(--section-y); }

/* ---------- checkerboard divider (Sauz signature, in brand colors) ---------- */
.checker {
  height: 24px;
  background: repeating-conic-gradient(var(--red) 0 25%, var(--cream) 0 50%) 0 0 / 24px 24px;
}
.checker--teal { background: repeating-conic-gradient(var(--teal) 0 25%, var(--cream) 0 50%) 0 0 / 24px 24px; }

/* ---------- section heads ---------- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head--left { text-align: left; margin: 0 0 32px; }
.section-head__lede { margin-top: 18px; font-size: 18px; }
.section-head--light { color: var(--white); }
.section-head--light .section-head__lede { color: rgba(253, 253, 253, .82); }

/* ---------- product showcase (teal panel) ---------- */
.products { background: var(--teal); color: var(--white); padding: var(--section-y) 0; }
.product-grid { display: grid; gap: 24px; }
.product {
  background: var(--cream); color: var(--ink);
  border-radius: var(--radius-card); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 48px -24px rgba(1, 1, 1, .5);
  transition: transform var(--dur-long) var(--ease-out), box-shadow var(--dur-long);
}
.product:hover { transform: translateY(-4px); box-shadow: 0 32px 56px -24px rgba(1, 1, 1, .6); }
.product__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.product__media picture, .product__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.product__media img { object-fit: cover; object-position: 50% 55%; transition: transform 1.2s var(--ease-out); }
.product[data-product="fishtacos"] .product__media img { object-position: 50% 68%; }
.product:hover .product__media img { transform: scale(1.04); }
.product__badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--cream); color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 999px;
}
.product__body { padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.product__tag { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.product__name { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; }
.product__desc { color: rgba(1, 1, 1, .78); }
.checklist { display: grid; gap: 8px; margin-top: 4px; }
.checklist li { position: relative; padding-left: 26px; font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 15px; height: 15px; border-radius: 50%; background: var(--green);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23000'/%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23000'/%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checklist--two { grid-template-columns: 1fr; }
.product__buy {
  margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(1, 1, 1, .1);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.price { display: flex; flex-direction: column; line-height: 1.1; }
.price__amount { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.price__note { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(1, 1, 1, .6); margin-top: 6px; }
.products__foot { text-align: center; margin-top: 32px; font-size: 14px; color: rgba(253, 253, 253, .8); }

@media (min-width: 720px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .product__body { padding: 28px 28px 30px; }
  .checklist--two { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
}
@media (min-width: 1024px) {
  /* Default grid is three across (the Sauz collection rhythm): used by the public collection page
     and the unlisted bundle page, where the count keeps growing. The home page's featured grid
     (.product-grid--featured) stays 2x2 so its four cards read large and premium. */
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .product-grid--featured { grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 1000px; margin: 0 auto; }
  .product__body { padding: 26px 24px 28px; }
}
.products__cta { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- story ---------- */
.story { padding: var(--section-y) 0; }
.story__grid { display: grid; gap: 40px; align-items: center; }
.story__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.story__video {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: var(--radius-card); background: var(--ink);
  box-shadow: 0 24px 48px -24px rgba(1, 1, 1, .5);
}
.story__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-card); box-shadow: 0 24px 48px -24px rgba(1, 1, 1, .5); }
.story__text { max-width: 60ch; }
.story__text > p { margin-top: 20px; color: rgba(1, 1, 1, .8); }
.story__text .btn { margin-top: 28px; }
.quote { margin-top: 26px; padding-left: 20px; border-left: 3px solid var(--red); }
.quote p { font-family: var(--font-accent); font-style: italic; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; color: var(--teal); }
.quote footer { margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }

@media (min-width: 900px) {
  .story__grid { grid-template-columns: 5fr 6fr; gap: 64px; }
  .story__media { grid-template-columns: 3fr 2fr; gap: 20px; }
  .story__photo { margin-bottom: 40px; }
}

/* ---------- what's inside (dashed card) ---------- */
.inside { padding: 0 0 var(--section-y); }
.dashed-card {
  border: 2px dashed var(--red); border-radius: 6px;
  background: var(--white); padding: 12px;
  display: grid; gap: 20px;
}
.dashed-card__media { border-radius: 4px; overflow: hidden; background: var(--ink); aspect-ratio: 4 / 3; }
.dashed-card__video { width: 100%; height: 100%; object-fit: cover; }
.dashed-card__body { padding: 12px 10px 16px; }
.dashed-card__lede { margin-top: 14px; color: rgba(1, 1, 1, .78); }
.dashed-card .checklist { margin-top: 22px; }
.dashed-card__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.dashed-card__note { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(1, 1, 1, .62); }

@media (min-width: 900px) {
  .dashed-card { grid-template-columns: 4fr 8fr; gap: 40px; padding: 20px; max-width: 1150px; margin: 0 auto; align-items: center; }
  .dashed-card__media { aspect-ratio: 3 / 4; align-self: stretch; }
  .dashed-card__body { padding: 28px 24px 28px 0; }
}

/* ---------- audience (citrus pulp panel) ---------- */
.audience { background: var(--pulp); padding: var(--section-y) 0; }
.audience__grid { display: grid; gap: 18px; }
.card {
  background: var(--cream); border-radius: var(--radius-card); padding: 28px 24px 30px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 12px 30px -20px rgba(1, 1, 1, .35);
}
.card__num { font-family: var(--font-accent); font-style: italic; font-size: 34px; line-height: 1; color: var(--red); }
.card h3 { font-size: 22px; }
.card p { color: rgba(1, 1, 1, .78); }
@media (min-width: 720px) {
  .audience__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---------- faq ---------- */
.faq { padding: var(--section-y) 0; }
.faq__inner { display: grid; gap: 24px; }
.faq__list { border-top: 1px solid rgba(1, 1, 1, .14); }
.faq__item { border-bottom: 1px solid rgba(1, 1, 1, .14); }
.faq__item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: inline-grid; place-items: center; border: 1.5px solid var(--ink);
  font-weight: 500; transition: transform var(--dur-short), background-color var(--dur-short), color var(--dur-short);
}
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--red); border-color: var(--red); color: var(--white); }
.faq__item p { padding: 0 0 22px; max-width: 64ch; color: rgba(1, 1, 1, .8); }
@media (min-width: 900px) {
  .faq__inner { grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
}

/* ---------- final cta band ---------- */
.cta-band { background: var(--red); color: var(--white); padding: var(--section-y) 0; text-align: center; }
.cta-band__inner { max-width: 820px; }
.cta-band__lede { margin-top: 18px; font-size: 18px; color: rgba(253, 253, 253, .9); }
.cta-band__buttons { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; align-items: stretch; }
@media (min-width: 720px) {
  .cta-band__buttons { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 16px; }
}

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(253, 253, 253, .82); padding: 56px 0 28px; }
.footer__grid { display: grid; gap: 36px; }
.footer__brand img { height: 64px; width: auto; }
.footer__brand p { margin-top: 16px; max-width: 34ch; }
.footer__nav { display: grid; gap: 12px; font-weight: 700; }
.footer__nav a { text-decoration: none; color: var(--white); }
.footer__nav a:hover { color: var(--pulp); }
.footer__note { font-size: 14px; max-width: 36ch; }
.footer__bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(253, 253, 253, .14); font-size: 13px; }
@media (min-width: 720px) {
  .footer { padding: 80px 0 32px; }
  .footer__grid { grid-template-columns: 2fr 1fr 1.4fr; gap: 48px; }
}

/* ---------- checkout notice modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(1, 1, 1, .6); }
.modal__panel {
  position: relative; width: min(100%, 460px);
  background: var(--cream); border-radius: var(--radius-card); padding: 32px 28px 28px;
  box-shadow: 0 32px 64px -24px rgba(1, 1, 1, .7);
  display: grid; gap: 14px;
}
.modal__panel .btn { justify-self: start; margin-top: 6px; }
.modal__title { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.modal__close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: transparent; font-size: 26px; line-height: 1; cursor: pointer;
}
.modal__close:hover { background: rgba(1, 1, 1, .08); }

/* ---------- public collection page (/recipes, generated) ----------
   Anatomy from the Sauz collection page: checker strip, a plain left-aligned title row with a
   count, a three-column card grid on the cream ground, then the site's own dashed card. */
.collection-head { padding: 40px 0 8px; }
.collection-head__grid { display: grid; gap: 28px; align-items: center; }
.collection-head h1 { font-size: clamp(40px, 7vw, 76px); }
.collection-head__lede { margin-top: 20px; max-width: 58ch; font-size: 18px; color: rgba(1, 1, 1, .8); }
.collection-head .pills { margin-top: 24px; }
.collection-head__media { margin: 0; border-radius: var(--radius-card); overflow: hidden; background: var(--ink); aspect-ratio: 16 / 10; box-shadow: 0 24px 48px -24px rgba(1, 1, 1, .5); }
.collection-head__media picture, .collection-head__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@media (min-width: 1024px) {
  .collection-head { padding: 56px 0 8px; }
  .collection-head__grid { grid-template-columns: 7fr 5fr; gap: 56px; }
}

.collection { padding: 40px 0 var(--section-y); }
.collection__bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid rgba(1, 1, 1, .14); }
.collection__count { font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: clamp(30px, 4vw, 40px); line-height: 1; color: var(--teal); text-transform: capitalize; }
.collection__note { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(1, 1, 1, .6); }
.collection__foot { text-align: center; margin-top: 32px; font-size: 14px; color: rgba(1, 1, 1, .7); }
/* catalog cards sit on cream, so they go white with a 4:3 frame; the home page's teal-panel cards stay cream at 16:10 */
.product--catalog { background: var(--white); box-shadow: 0 18px 40px -26px rgba(1, 1, 1, .45); }
.product--catalog .product__media { aspect-ratio: 4 / 3; }
.product--catalog .product__name { font-size: clamp(22px, 2.4vw, 26px); }
.product--catalog .product__desc { font-size: 15px; }
.product--catalog .product__buy .btn { min-height: 46px; padding: 0 20px; font-size: 15px; }
.product[data-product="fishceviche"] .product__media img { object-position: 50% 55%; }
@media (min-width: 720px) {
  .collection__bar { margin-bottom: 32px; }
}

/* ---------- recipe pages (unlisted, generated) ---------- */
.eyebrow--green { color: var(--green); }

.recipe-crumb { padding: 18px 0 0; }

/* dashed-card variant with a single child (no media column) */
.dashed-card--single { grid-template-columns: 1fr; }
.dashed-card--single .dashed-card__body { padding: 20px 14px 22px; }
@media (min-width: 900px) {
  .dashed-card--single { grid-template-columns: 1fr; }
  .dashed-card--single .dashed-card__body { padding: 36px; }
}

.product__meta { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: rgba(1, 1, 1, .6); margin-top: -6px; }

/* product-page top: image left, text right */
.recipe-top { padding: var(--section-y) 0 0; }
.recipe-top__grid { display: grid; gap: 28px; }
.recipe-top__media { position: relative; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink); box-shadow: 0 24px 48px -24px rgba(1, 1, 1, .5); }
.recipe-top__media picture, .recipe-top__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.recipe-top__body .product__desc { margin-top: 16px; font-size: 18px; }
.recipe-top__stats { margin-top: 24px; }
@media (min-width: 1024px) {
  .recipe-top__grid { grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
}

/* story block, text only */
.recipe-story { padding: var(--section-y) 0; }
.recipe-story__inner { max-width: 720px; }
.recipe-story__inner > p { margin-top: 18px; color: rgba(1, 1, 1, .8); }

/* ingredients + method two column */
.recipe-split { padding: 0 0 var(--section-y); }
.recipe-split__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  /* default (stretch) on purpose: the method column becomes a flex column and its media
     card (flex: 1) fills the leftover height so both columns end level, no blank gap. */
  .recipe-split__grid { grid-template-columns: 5fr 7fr; gap: 56px; }
}

.ing-groups { display: grid; gap: 22px; margin-top: 22px; }
.ing-group h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.ing-group ul { display: grid; gap: 8px; }
.ing-group li { display: flex; gap: 12px; align-items: baseline; }
.ing-group .qty { font-weight: 700; min-width: 76px; flex: none; }

.recipe-method-col { display: flex; flex-direction: column; }
.method-head { margin-bottom: 26px; }
.method-steps { display: grid; gap: 26px; }
.method-step { display: flex; gap: 18px; align-items: flex-start; }
.method-step__num { font-family: var(--font-accent); font-style: italic; font-size: 36px; line-height: 1; color: var(--red); flex: none; width: 44px; }
.method-step h3 { font-size: 19px; margin-bottom: 6px; }
.method-step p { color: rgba(1, 1, 1, .78); }

/* Desktop-only companion media beside the method steps (Jesse: mobile stays as it was).
   Hidden below 1024px; at 1024px it becomes a flex item that grows to fill whatever height
   is left in the method column, so the two split columns end at the same height. */
.recipe-media-card { display: none; }
@media (min-width: 1024px) {
  .recipe-media-card {
    display: flex; flex-direction: column;
    flex: 1; min-height: 22rem; margin-top: 32px;
    border-radius: var(--radius-card); overflow: hidden; background: var(--ink);
    box-shadow: 0 24px 48px -24px rgba(1, 1, 1, .5);
  }
}
.recipe-media-card__frame { position: relative; flex: 1; }
.recipe-media-card__frame picture, .recipe-media-card__frame img, .recipe-media-card__frame video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.recipe-media-card__caption { background: var(--cream); padding: 16px 20px; }
.recipe-media-card__caption .eyebrow { margin: 0 0 6px; }
.recipe-media-card__caption p:last-child { margin: 0; color: rgba(1, 1, 1, .78); }

/* tip, safety, plating, sourcing, service panel */
.recipe-notes { padding: 0 0 var(--section-y); }
.recipe-notes__inner { display: grid; gap: 28px; }
.line-panel { background: var(--teal); color: var(--white); border-radius: var(--radius-card); padding: 28px 22px; }
.line-panel h2 { color: var(--white); }
.line-panel h2 em { color: var(--pulp); }
.line-panel .checklist { margin-top: 18px; }
@media (min-width: 720px) {
  .line-panel { padding: 40px; }
}
.recipe-two-col { display: grid; gap: 24px; }
@media (min-width: 900px) {
  .recipe-two-col { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* bottom: download + calculator */
.kitchen { padding: 0 0 var(--section-y); }
.kitchen__grid { display: grid; gap: 24px; }
@media (min-width: 1024px) {
  /* start, not stretch: the download card is short (cover + name + button) and must not be
     force-stretched to match the taller calculator card, which grows with the ingredient list. */
  .kitchen__grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.kitchen-download { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; }
.kitchen-download__cover { max-height: 260px; width: auto; border-radius: 10px; box-shadow: 0 16px 32px -18px rgba(1, 1, 1, .45); }
.kitchen-download__name { font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -0.02em; }
.kitchen-download__spec { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(1, 1, 1, .58); }
.kitchen-download .btn { margin-top: 10px; align-self: center; }

.calc-card { background: var(--white); border-radius: var(--radius-card); padding: 26px 22px; box-shadow: 0 24px 48px -24px rgba(1, 1, 1, .4); display: flex; flex-direction: column; gap: 18px; }
.calc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.calc-card h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -0.02em; }
.calc-factor-pill { margin-top: 0; justify-content: flex-end; }
.calc-factor-pill li { display: flex; align-items: baseline; gap: 6px; }
.calc-factor { font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 1.4em; letter-spacing: -0.01em; color: var(--red); text-transform: none; }
.calc-field { display: flex; flex-direction: column; gap: 8px; }
.calc-field label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(1, 1, 1, .6); }
.calc-field input {
  font-family: var(--font-body); font-size: 22px; font-weight: 800; color: var(--ink);
  padding: 12px 16px; border: 1.5px solid var(--ink); border-radius: var(--radius-btn);
  background: var(--cream); width: 100%; max-width: 220px;
}
.calc-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.calc-chip { border: 1.5px solid var(--ink); background: transparent; border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 700; cursor: pointer; transition: background-color var(--dur-short), color var(--dur-short); }
.calc-chip:hover { background: var(--ink); color: var(--white); }
.calc-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* No max-height/overflow here on purpose: every scaled group must render in full for a
   full-page screenshot (and for anyone scrolling) to show it. The card, and the page, grow. */
.calc-list { border-top: 1px solid rgba(1, 1, 1, .14); padding-top: 16px; display: grid; gap: 18px; }
.calc-group h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.calc-group__list { display: grid; gap: 6px; }
.calc-group__list li { display: flex; gap: 10px; font-size: 15px; }
.calc-group__list .qty { font-weight: 700; min-width: 70px; flex: none; }
.calc-item--fixed { opacity: .55; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .product, .product__media img { transition: none; }
}

/* ---------- cart drawer (public pages) ---------- */
.cart-btn {
  position: relative; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink);
  border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.cart-btn:hover { background: rgba(1, 1, 1, .06); }
.cart-btn__count {
  position: absolute; top: 3px; right: 1px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--red); color: var(--white);
  font-size: 12px; font-weight: 800; line-height: 20px; text-align: center;
}
.cart-btn__count[hidden] { display: none; }
.cart { position: fixed; inset: 0; z-index: 300; }
.cart[hidden] { display: none; }
.cart__backdrop { position: absolute; inset: 0; background: rgba(1, 1, 1, .6); opacity: 0; transition: opacity .25s var(--ease-out); }
.cart__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 100%; max-width: 440px;
  background: var(--cream); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .25s var(--ease-out);
  box-shadow: -24px 0 48px -24px rgba(1, 1, 1, .6); outline: none;
}
.cart.is-open .cart__backdrop { opacity: 1; }
.cart.is-open .cart__panel { transform: none; }
@media (max-width: 480px) { .cart__panel { max-width: none; } }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid rgba(1, 1, 1, .1); }
.cart__title { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.cart__close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }
.cart__close:hover { background: rgba(1, 1, 1, .08); }
.cart__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart__list { list-style: none; margin: 0; padding: 0; }
.cart__list[hidden], .cart__empty[hidden] { display: none; }
.cart__item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(1, 1, 1, .1); }
.cart__item img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; flex: none; }
.cart__info { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-width: 0; }
.cart__name { font-weight: 800; line-height: 1.25; }
.cart__price { color: var(--teal); font-weight: 700; }
.cart__remove { border: 0; background: transparent; padding: 4px 0; color: var(--red); font: inherit; font-weight: 700; font-size: 14px; text-decoration: underline; cursor: pointer; }
.cart__remove:hover { color: var(--red-deep); }
.cart__empty { display: grid; gap: 16px; justify-items: start; padding: 28px 0; }
.cart__foot { padding: 18px 20px 22px; border-top: 1px solid rgba(1, 1, 1, .1); display: grid; gap: 12px; background: var(--white); }
.cart__sub { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; }
.cart__sub strong { font-size: 24px; font-weight: 800; }
.cart__note { font-size: 14px; }
.cart__error { color: var(--red-deep); font-weight: 700; font-size: 14px; }
.cart__error[hidden] { display: none; }
.cart__checkout { width: 100%; justify-content: center; }
.cart__checkout:disabled { opacity: .6; cursor: not-allowed; }
.buy-btn.is-in-cart { background: var(--teal); }
@media (prefers-reduced-motion: reduce) { .cart__panel, .cart__backdrop { transition: none; } }

/* ---------- order confirmation page ---------- */
.order { padding: var(--section-y) 0; }
.order__inner { display: grid; gap: 20px; justify-items: start; }
.order__msg { font-size: 18px; max-width: 640px; }
.order__root { display: grid; gap: 20px; justify-items: start; width: 100%; }
.order__grid { display: grid; gap: 16px; width: 100%; grid-template-columns: 1fr; }
@media (min-width: 720px) { .order__grid { grid-template-columns: repeat(2, 1fr); } }
.order__card { display: flex; gap: 16px; align-items: center; padding: 16px; border: 2px dashed var(--red); border-radius: var(--radius-card); background: var(--white); }
.order__card img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; flex: none; }
.order__card-body { display: grid; gap: 10px; justify-items: start; }
.order__card-name { font-size: 18px; font-weight: 800; line-height: 1.2; }

/* Locked-recipe notice on /recipes?locked=1 */
.locked-note { padding-top: 16px; padding-bottom: 16px; }
.locked-note[hidden] { display: none; }
.locked-note p { padding: 14px 18px; border: 2px dashed var(--red); border-radius: var(--radius-card); background: var(--white); font-weight: 600; max-width: 720px; }
.product[hidden] { display: none; }
.order__hint { font-size: 15px; max-width: 640px; opacity: 0.85; }
