/* Page rules: home, indexes, recipe and post pages, the recipe card, watch, legal, placeholders.
   Mobile first; colors and fonts come from the variables in site.css. */

.muted { color: var(--muted); font-size: 16px; }
.stack { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.stack-start { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.stack-start p, .stack p, .stack-sm p { margin: 0; }
.page { padding-top: 32px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 48rem) { .page { padding-top: 56px; padding-bottom: 56px; } }
.pill { display: inline-block; background: var(--lemon); color: var(--forest-deep); font-weight: 700; font-size: 15px; padding: 4px 12px; border-radius: 999px; }
.section-label { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--forest-deep); }
.plain-link { display: flex; align-items: center; min-height: var(--tap); font-weight: 700; color: var(--forest-deep); }
.only-large { display: none; }
@media (min-width: 64rem) { .only-large { display: block; } .only-small { display: none; } }
.measure { max-width: 640px; margin: 0; }

/* Cards and grids */
.grid-cards { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 40rem) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; gap: 12px; padding: 12px; background: var(--card); border-radius: 20px; color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.05); outline: 1px solid var(--line); }
.card:hover { outline-color: var(--sage); }
.card-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 16px; background: var(--tan-light); }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 0 4px 4px; }
.card-title { font-family: var(--font-headline); font-size: 1.3rem; line-height: 1.15; color: var(--forest-deep); }
.card:hover .card-title { text-decoration: underline; }
.card-text { font-size: 16px; line-height: 1.35; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1.5px solid var(--sage); border-radius: 999px; font-size: 16px; color: var(--forest-deep); }
.coming-soon { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--card); border: 2px dashed var(--coming-soon); border-radius: 20px; }
.coming-soon .section-label { color: var(--forest); }
.coming-soon h1, .coming-soon h2, .coming-soon h3 { font-size: 1.45rem; line-height: 1.15; }
.coming-soon p { margin: 0; }
@media (min-width: 48rem) { .coming-soon { padding: 32px; } .coming-soon h2, .coming-soon h3 { font-size: 1.6rem; } }
.two-col { display: grid; gap: 14px; padding-top: 28px; padding-bottom: 28px; }
.two-col.center { align-items: center; padding: 0; gap: 24px; }
@media (min-width: 64rem) { .two-col { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 56px; padding-bottom: 56px; } .two-col.center { gap: 48px; } }

/* Home */
.hero { display: grid; gap: 16px; padding-top: 20px; padding-bottom: 32px; }
.hero-photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 22px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero-text h1, .hero-text p { margin: 0; }
.lead { max-width: 480px; }
.hero-cta { width: 100%; }
@media (min-width: 48rem) { .hero-cta { width: auto; padding: 0 28px; } .lead { font-size: 21px; } .hero-photo { border-radius: 28px; } .hero-text { gap: 22px; } }
@media (min-width: 64rem) { .hero { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; padding-top: 64px; padding-bottom: 64px; } .hero-photo { order: 2; } .hero-text { order: 1; } }
.band { background: var(--tan-light); }
.latest { display: grid; gap: 12px; padding-top: 28px; padding-bottom: 28px; }
.latest h2 { font-size: 1.625rem; }
@media (min-width: 64rem) { .latest { grid-template-columns: 1.6fr 1fr; align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 56px; } .latest h2 { font-size: 2.375rem; } }
.meet { display: grid; grid-template-columns: 104px 1fr; align-items: center; gap: 14px; padding-bottom: 28px; }
.meet-photo { aspect-ratio: 1; overflow: hidden; border-radius: 50%; }
.meet-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.meet h2 { font-size: 1.3rem; line-height: 1.15; }
.meet .stack { gap: 6px; }
@media (min-width: 48rem) { .meet { grid-template-columns: 360px 1fr; gap: 48px; padding-top: 8px; padding-bottom: 56px; } .meet h2 { font-size: 2.5rem; line-height: 1.1; } .meet .stack { gap: 14px; } }

/* About, contact, legal, 404 */
.about { display: grid; gap: 24px; }
.about-photo { width: 100%; max-width: 400px; margin: 0 auto; aspect-ratio: 1; overflow: hidden; border-radius: 50%; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-text h1 { margin: 0; }
.about-text p { margin: 0; }
.mission { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--tan-light); border-radius: 20px; }
.mission p { font-family: var(--font-headline); font-size: 1.6rem; line-height: 1.15; color: var(--forest-deep); }
@media (min-width: 64rem) { .about { grid-template-columns: 400px 1fr; align-items: start; gap: 48px; } }
.prose-page { max-width: 48rem; margin: 0 auto; padding-top: 32px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 16px; }
.prose-page > * { margin: 0; }
.prose-page.start { align-items: flex-start; padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 48rem) { .prose-page { padding-top: 56px; padding-bottom: 56px; } }
.legal section { display: flex; flex-direction: column; gap: 16px; }
.legal section > * { margin: 0; overflow-wrap: anywhere; }
.legal h2 { font-size: 1.625rem; margin-top: 8px; }
.legal ul, .post-body ul { padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.legal a, .post-body a { text-decoration: underline; }
.email-link { display: inline-flex; align-items: center; min-height: var(--tap); font-size: 1.25rem; font-weight: 700; color: var(--forest-deep); text-decoration: underline; }
.pill-list { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; }
.video-grid { list-style: none; }
.video-card { display: flex; flex-direction: column; gap: 12px; padding: 12px; background: var(--card); border-radius: 20px; outline: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.video-card h2 { font-size: 1.3rem; padding: 0 4px 4px; }

/* Video facade */
.video-embed { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; background: var(--tan); width: 100%; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border: 0; padding: 0; background: transparent; cursor: pointer; }
.video-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play-disc { position: relative; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--lemon); box-shadow: 0 2px 8px rgba(0,0,0,.3); transition: transform .15s; }
.video-play:hover .play-disc { transform: scale(1.05); }
.play-tri { margin-left: 4px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--forest-deep); }
@media (min-width: 48rem) { .play-disc { width: 84px; height: 84px; } .play-tri { margin-left: 6px; border-width: 16px 0 16px 26px; } }
.video-noscript { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px; background: var(--paper); font-weight: 700; color: var(--forest-deep); }

/* The modal window of /watch (DECISIONS CM4): the whole card is the press; the <dialog> holds the player and the description. */
.video-card.is-modal { cursor: pointer; }
.video-card.is-modal:hover h2 { text-decoration: underline; }
.video-card.is-modal:hover .play-disc { transform: scale(1.05); }
.video-modal { width: min(100vw - 24px, 1100px); max-width: none; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; border-radius: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.35); overflow: auto; }
.video-modal::backdrop { background: rgba(31,77,42,.78); }
.video-modal-inner { display: flex; flex-direction: column; gap: 16px; padding: 16px; }
.video-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.video-modal-head h2 { margin: 0; font-size: 1.5rem; line-height: 1.15; }
.video-modal-close { flex: none; width: var(--tap); height: var(--tap); border: 0; border-radius: 50%; background: var(--tan-light); color: var(--forest-deep); font: inherit; font-size: 30px; line-height: 1; cursor: pointer; }
.video-modal-close:hover { background: var(--tan); }
.video-modal-player { position: relative; aspect-ratio: 16 / 9; width: 100%; background: var(--tan); border-radius: 16px; overflow: hidden; }
.video-modal-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal-about { display: flex; flex-direction: column; gap: 8px; }
.video-desc { display: flex; flex-direction: column; gap: 12px; }
.video-desc p { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
body.modal-open { overflow: hidden; }
@media (min-width: 48rem) { .video-modal-inner { padding: 24px; gap: 20px; } .video-modal-head h2 { font-size: 1.875rem; } }

/* Recipe and post pages */
.entry { max-width: var(--content); margin: 0 auto; display: flex; flex-direction: column; padding-bottom: 40px; }
.entry-hero { aspect-ratio: 3 / 2; overflow: hidden; background: var(--tan-light); }
.entry-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.entry-head { display: flex; flex-direction: column; gap: 12px; padding: 18px 16px 24px; }
.entry-head > * { margin: 0; }
.entry-head h1 { font-size: 2.125rem; line-height: 1.05; }
.entry-head p { line-height: 1.45; }
.entry-actions { display: flex; gap: 10px; }
.entry-actions .grow { flex: 1; }
.entry-actions .btn-secondary { background: transparent; }
.entry-body { display: flex; flex-direction: column; gap: 24px; padding: 0 16px; }
.entry-body > * { margin: 0; }
.story { display: flex; flex-direction: column; gap: 16px; line-height: 1.6; }
.story p { margin: 0; }
@media (min-width: 48rem) { .entry-head h1 { font-size: 3rem; } }
@media (min-width: 64rem) {
  .entry-top { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; padding: 48px var(--gutter) 0; }
  .entry-hero { order: 2; border-radius: 28px; }
  .entry-head { order: 1; padding: 0; }
  .entry-body { width: 100%; max-width: 48rem; margin: 24px auto 0; padding: 0; }
  .entry-actions .grow { flex: none; }
}
.quick-facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.quick-facts li { padding: 8px 12px; background: var(--tan-light); border-radius: 12px; font-size: 16px; color: var(--forest-deep); }
.short-answer { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--tan-light); color: var(--forest-deep); border-radius: 14px; }
.short-answer p { margin: 0; line-height: 1.45; }
.faq { display: flex; flex-direction: column; gap: 16px; }
.faq h2 { font-size: 1.75rem; }
.faq h3 { font-size: 1.3rem; line-height: 1.15; }
.faq p { margin: 6px 0 0; line-height: 1.5; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; font-size: 16px; }
.share-label { font-weight: 700; }
.share a, .link-button { display: flex; align-items: center; min-height: var(--tap); font-weight: 700; color: var(--forest); }
.link-button { border: 0; background: transparent; padding: 0; font: inherit; font-size: 16px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.more { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.more h2 { font-size: 1.75rem; }
.post-body { display: flex; flex-direction: column; gap: 16px; line-height: 1.6; }
.post-body > * { margin: 0; }
.post-body h2 { font-size: 1.75rem; margin-top: 12px; line-height: 1.15; }
.post-body h3 { font-size: 1.4rem; margin-top: 8px; line-height: 1.15; }
.post-body figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.figure-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 20px; background: var(--tan-light); }
.figure-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-body figcaption { font-size: 16px; color: var(--muted); }
.h-sm { font-size: 1.5rem; }

/* The recipe card */
.recipe-card { display: flex; flex-direction: column; gap: 16px; padding: 20px 16px; background: var(--card); border: 2px solid var(--forest); border-radius: 22px; scroll-margin-top: 16px; }
.recipe-card > * { margin: 0; }
.recipe-card h2 { font-size: 1.875rem; line-height: 1.1; }
.recipe-card h3 { font-size: 1.5rem; }
@media (min-width: 48rem) { .recipe-card { padding: 32px; } }
.ingredients { display: flex; flex-direction: column; gap: 16px; }
.ingredients ul { list-style: none; margin: 0; padding: 0; }
.ingredients li { border-bottom: 1px solid var(--line); }
.ingredients li:last-child { border-bottom: 0; }
.ingredients label { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 0; cursor: pointer; }
.ing-group { font-size: 1.2rem !important; margin-bottom: 4px; }
.box { flex: none; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 2.5px solid var(--forest); border-radius: 8px; background: var(--card); font-weight: 700; color: var(--paper); }
input:checked + .box { background: var(--forest); }
input:checked + .box::after { content: "\2713"; }
input:focus-visible + .box { outline: 3px solid var(--forest-deep); outline-offset: 2px; }
input:checked ~ .ing-text { color: var(--muted); text-decoration: line-through; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.steps li { display: flex; gap: 14px; line-height: 1.55; }
.step-num { flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lemon); color: var(--forest-deep); font-weight: 700; }
.step-body { display: flex; flex-direction: column; gap: 8px; }
.step-img { display: block; max-width: 28rem; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 14px; background: var(--tan-light); }
.step-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.storage { padding: 14px; background: var(--tan-light); border-radius: 14px; font-size: 17px; line-height: 1.4; color: var(--forest-deep); }
/* The Instacart button (DECISIONS CM3): Instacart's CTA design page, dark theme, READ 2026-11-02:
   46px tall, fully round, 16px/18px padding, 22px full-colour carrot, #003D29 on #FAF1E5. The
   colours are Instacart's, not the site's tokens, because the button must look like Instacart's. */
.shop { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.btn-instacart { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 23px; background: #003D29; color: #FAF1E5; font-size: 16px; font-weight: 700; line-height: 1; text-decoration: none; }
.btn-instacart:hover, .btn-instacart:focus-visible { color: #FAF1E5; text-decoration: underline; }
.btn-instacart img { width: 22px; height: 22px; display: block; }
.shop-disclosure { font-size: 15px; line-height: 1.4; color: var(--muted); }
.shop-disclosure a { color: var(--forest-deep); }
.have-fun { font-family: var(--font-headline); font-size: 1.5rem; font-weight: 700; color: var(--forest-deep); margin-top: 8px !important; }
.card-foot { padding-top: 12px; border-top: 1px solid var(--line); font-size: 16px; color: var(--muted); }

@media print {
  .recipe-card { border: 0; padding: 0; }
  .step-num { background: transparent !important; }
  .box { border-color: var(--print) !important; }
  .ing-text { text-decoration: none !important; }
}
