/* Sub-page layouts (shop, faq, subscribe). Builds on brand-core.css; nothing here touches the homepage. */
.page-hero {
  background: var(--pink);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 56px;
  min-height: 420px;
}
.page-hero.lime { background: var(--lime); }
.page-hero.pale { background: var(--pale); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 10px 0 18px;
}
.page-hero .lead { max-width: 560px; margin-bottom: 26px; }
.page-hero .hero-media img { width: 100%; height: auto; border-radius: 28px; display: block; }
.page-hero .hero-media.contain img { object-fit: contain; background: transparent; border-radius: 0; max-height: 420px; margin: 0 auto; }

.crumbs { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 6px; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }

/* Shop */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.product-card {
  background: var(--cream);
  border-radius: 28px;
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  border: 1px solid #2e4b2118;
}
.product-card.featured { background: var(--pale); }
.product-card .badge {
  position: absolute; top: 18px; left: 18px;
  background: var(--ink); color: var(--lime);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.product-card .art { height: 240px; display: grid; place-items: center; }
.product-card .art img { max-height: 200px; width: auto; max-width: 100%; filter: url(#packet-shadow-lift); }
.product-card h3 { font-family: var(--font-display); font-size: 26px; margin: 4px 0 0; }
.product-card p { margin: 0; line-height: 1.5; }
.product-card .meta { font-size: 14px; color: #3e5734; }
.product-card .price-row { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 8px; }
.product-card .price { font-family: var(--font-display); font-size: 28px; font-weight: 700; }
.product-card .per { font-size: 13px; color: #3e5734; }
.product-card .btn { width: 100%; justify-content: center; margin-top: 6px; }

.shop-band {
  background: var(--ink); color: var(--cream);
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.shop-band h2 { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 48px); margin: 0 0 8px; }
.shop-band p { margin: 0; max-width: 620px; font-size: 18px; line-height: 1.5; }
.shop-band .btn { background: var(--lime); color: var(--ink); }

.details-block { max-width: 820px; margin: 0 auto; }
.details-block h2 { text-align: center; }

/* FAQ */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-group { margin-bottom: 44px; }
.faq-group h2 { font-family: var(--font-display); font-size: 30px; margin: 0 0 6px; }
.faq-group .eyebrow { margin-bottom: 14px; }
.faq-wrap details { border-bottom: 1px solid #2e4b2160; }
.faq-wrap summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 20px; min-height: 64px; padding: 10px 0;
}
.faq-wrap summary::-webkit-details-marker { display: none; }
.faq-wrap summary::after { content: "+"; font-size: 28px; font-weight: 400; margin-left: 20px; }
.faq-wrap details[open] summary::after { content: "–"; }
.faq-wrap details p { margin: 0 0 20px; line-height: 1.6; max-width: 720px; font-size: 17px; }
.contact-card {
  background: var(--pale); border-radius: 28px; padding: 40px; text-align: center; max-width: 860px; margin: 20px auto 0;
}
.contact-card h2 { font-family: var(--font-display); font-size: 34px; margin: 0 0 8px; }
.contact-card a.btn { margin-top: 16px; }

/* Subscribe */
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 980px; margin: 36px auto 0; }
.plan {
  background: var(--cream); border-radius: 28px; padding: 32px; border: 1px solid #2e4b2118; position: relative;
  display: flex; flex-direction: column; gap: 12px;
}
.plan.highlight { background: var(--ink); color: var(--cream); }
.plan .badge { position: absolute; top: -14px; left: 28px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }
.plan h3 { font-family: var(--font-display); font-size: 28px; margin: 6px 0 0; }
.plan .price { font-family: var(--font-display); font-size: 44px; font-weight: 700; line-height: 1; }
.plan .price small { font-size: 16px; font-weight: 500; opacity: 0.8; }
.plan .was { text-decoration: line-through; opacity: 0.85; font-size: 18px; margin-left: 8px; }
.plan ul { list-style: none; padding: 0; margin: 6px 0 10px; display: grid; gap: 8px; }
.plan li::before { content: "✓  "; font-weight: 700; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan.highlight .btn { background: var(--lime); color: var(--ink); }
.plan.highlight .btn.outline { background: transparent; color: var(--cream); border-color: var(--cream); }

.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.perk { background: var(--cream); border-radius: 24px; padding: 28px; border: 1px solid #2e4b2118; }
.perk img { width: 54px; height: 54px; }
.perk h3 { font-family: var(--font-display); font-size: 22px; margin: 12px 0 6px; }
.perk p { margin: 0; line-height: 1.5; }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; counter-reset: step; }
.step { background: #f9f8f1cc; border-radius: 24px; padding: 26px 22px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-weight: 800; font-size: 32px; color: var(--ink); opacity: 0.55; display: block; margin-bottom: 8px; }
.step h3 { font-family: var(--font-display); font-size: 21px; margin: 0 0 6px; }
.step p { margin: 0; line-height: 1.5; }

.note { font-size: 14px; color: #3e5734; max-width: 720px; margin: 22px auto 0; text-align: center; line-height: 1.5; }
.center { text-align: center; }
main .section-pad > h2.center { font-size: clamp(34px, 3.8vw, 58px); margin: 0 0 14px; }
main .section-pad > .flavor-intro { margin: 0 auto 18px; }
.product-card .per { white-space: nowrap; }

@media (max-width: 1240px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card .art { height: 200px; }
  .perks { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .page-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 28px; padding-bottom: 40px; gap: 26px; }
  .page-hero .hero-media.contain img { max-height: 280px; }
  .product-grid { grid-template-columns: 1fr; gap: 18px; }
  .shop-band { grid-template-columns: 1fr; }
  .plan-grid, .steps-grid { grid-template-columns: 1fr; }
  .faq-wrap summary { font-size: 18px; }
  .contact-card { padding: 28px 20px; }
}

/* overrides of brand-core .price (which is sized for the homepage buy box) */
.product-card .price, .plan .price { margin-left: 0; color: inherit; }
.plan .price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan.highlight .price, .plan.highlight .was { color: var(--cream); }
.page-hero.lime .btn { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Story / Why iron long-form */
.story-wrap { max-width: 820px; margin: 0 auto; }
.story-wrap h2 { font-size: clamp(30px, 3.6vw, 48px); margin: 6px 0 18px; }
.story-wrap p { font-size: 19px; line-height: 1.6; margin: 0 0 18px; }
.story-wrap p a { text-decoration: underline; text-underline-offset: 3px; }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px; }
.story-grid article { background: #f9f8f1; border-radius: 24px; padding: 24px 22px; border: 1px solid #2e4b2118; }
.story-grid h3 { font-family: var(--font-display); font-size: 21px; margin: 0 0 8px; }
.story-grid p { font-size: 16px; margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 10px 0 22px; }
.stat-grid article { background: var(--pale); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.stat-grid strong { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--ink); }
.stat-grid span { font-size: 15px; line-height: 1.45; }
.honest-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.honest-list li { background: #f9f8f1; border: 1px solid #2e4b2118; border-radius: 20px; padding: 18px 20px; font-size: 17px; line-height: 1.55; }
sup a { text-decoration: none; font-weight: 700; color: var(--ink); text-decoration: underline; }
.sources ol { padding-left: 22px; font-size: 15px; line-height: 1.55; }
.sources li { margin-bottom: 10px; }
.sources a { text-decoration: underline; text-underline-offset: 3px; }
main .section-pad.center .btn { margin-top: 8px; }
@media (max-width: 760px) { .story-grid, .stat-grid { grid-template-columns: 1fr; } }

/* Legal pages, contact, 404 */
.legal-hero { min-height: 0; grid-template-columns: 1fr; padding-bottom: 40px; }
.legal-hero h1 { font-size: clamp(38px, 5vw, 64px); }
.legal h2 { font-size: 24px; margin: 30px 0 8px; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; }
.legal ul { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; }
.draft-note { background: var(--pale); border-radius: 18px; padding: 14px 18px; font-size: 15px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; max-width: 1100px; margin: 0 auto; }
.contact-form { background: #f9f8f1; border: 1px solid #2e4b2118; border-radius: 28px; padding: 32px; display: grid; gap: 16px; }
.contact-form h2 { font-size: 30px; margin: 0 0 4px; }
.contact-form .field { display: grid; gap: 6px; }
.contact-form label { font-weight: 600; font-size: 15px; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid #2e4b2140; border-radius: 14px; padding: 12px 14px; width: 100%;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid var(--pink-hot); outline-offset: 2px; }
.contact-form .btn { justify-self: start; }
.contact-form .stock-fine { font-size: 13px; color: #3e5734; margin: 0; }
.contact-form .stock-fine a { text-decoration: underline; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.error { color: #b3261e; }
.contact-side { display: grid; gap: 14px; align-content: start; }
.contact-side article { background: var(--pale); border-radius: 22px; padding: 20px 22px; }
.contact-side h3 { font-size: 19px; margin: 0 0 6px; }
.contact-side p { margin: 0; line-height: 1.5; font-size: 16px; }
.contact-side a { text-decoration: underline; text-underline-offset: 3px; }
.nf-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form .stock-fine { color: #3e5734; opacity: 1; }
.contact-form .stock-fine a { color: var(--ink); }

/* Sourcing band */
.sourcing { background: var(--ink); color: var(--cream); }
.sourcing-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.sourcing .eyebrow { color: var(--lime); }
.sourcing h2 { font-size: clamp(32px, 4.2vw, 56px); margin: 8px 0 14px; color: var(--cream); }
.sourcing .lead { max-width: 720px; margin: 0 auto 34px; color: #f9f8f1d9; }
.sourcing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: left; }
.sourcing-grid article { background: #f9f8f10f; border: 1px solid #f9f8f126; border-radius: 22px; padding: 22px 20px; }
.src-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 800; font-size: 20px; margin-bottom: 12px; }
.sourcing-grid h3 { font-size: 20px; margin: 0 0 6px; color: var(--cream); }
.sourcing-grid p { margin: 0; font-size: 15px; line-height: 1.5; color: #f9f8f1d9; }
.sourcing-fine { font-size: 13px; color: #f9f8f1b3; margin: 26px auto 0; max-width: 760px; line-height: 1.5; }
@media (max-width: 1000px) { .sourcing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sourcing-grid { grid-template-columns: 1fr; } }
