/* Thanksgiving Turkeys for a Cause: one stylesheet, themed per campaign.
   MLW palette from the official logo (#6078B8 / #B0C0D8) and morelikewynne.org (#657DBD, #B2C6DC, #EBF7FA).
   MLW type from morelikewynne.org: Libre Baskerville 400 (never bold) for headings, italic for taglines, Montserrat labels.
   HPMC type after hpumc.org's Trade Gothic Bold: Barlow 700/800, normal width, uppercase, normal tracking.
   HPMC palette from hpmc.org (#334B5E slate, #383839 charcoal, #F2F3F5 mist, #EFE4CE cream).
   Hugs From Hadley panel from hugsfromhadley.org (#0294A0 teal, #0F3F45 deep teal, #F5C366 sun). */

:root {
  --gutter: 20px;
  --maxw: 1200px;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 30, 50, .06), 0 12px 32px rgba(20, 30, 50, .08);
  --hfh-teal: #0294A0;
  --hfh-deep: #0F3F45;
}

.theme-mlw {
  --bg: #FFFFFF;
  --wash: #EBF7FA;
  --soft: #B2C6DC;
  --brand: #657DBD;
  --brand-strong: #4A60A0;
  --ink: #26314F;
  --muted: #56617C;
  --line: #D6E1EC;
  --warm: #FBF8F3;
  --display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --ui: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --h1-transform: none;
  --head-weight: 400;
  --head-track: 0.01em;
  --head-color: var(--brand);
}

.theme-hpmc {
  --bg: #FFFFFF;
  --wash: #F2F3F5;
  --soft: #D5DBE1;
  --brand: #334B5E;
  --brand-strong: #263A4A;
  --ink: #2C2D2F;
  --muted: #595C61;
  --line: #E1E4E8;
  --warm: #F8F4EA;
  --display: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ui: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --body: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --h1-transform: uppercase;
  --head-weight: 700;
  --head-track: normal;
  --head-color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-strong); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 740px; }

/* ---------- identity */
.masthead { background: var(--bg); border-bottom: 1px solid var(--line); }
.mast-inner { display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; min-height: 68px; }
.mast-logo { width: auto; height: 34px; }
.mast-label {
  font-family: var(--ui); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); padding-left: 16px; border-left: 1px solid var(--line); line-height: 1.3;
}
@media (max-width: 420px) { .mast-label { font-size: .7rem; letter-spacing: .1em; padding-left: 12px; } .mast-inner { gap: 12px; } }

/* MLW: the official logo, centred and large, on the site's soft blue */
.brand-band {
  background:
    radial-gradient(ellipse 60% 120% at 50% 0%, rgba(178, 198, 220, .45), rgba(178, 198, 220, 0) 70%),
    var(--wash);
}
.brand-inner { display: flex; justify-content: center; padding-top: 26px; padding-bottom: 6px; }
.brand-band .mast-logo { height: 116px; }

/* HPMC: Holy Smokers artwork and the foundations it supports */
.hs-art { margin: 0 0 20px; }
.hs-art img { width: 100%; max-width: 420px; height: auto; }
.supporting { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; }
.supporting-label { font-family: var(--ui); font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sup-logos { display: flex; flex-wrap: wrap; gap: 10px; }
.sup-logo { display: flex; align-items: center; justify-content: center; height: 62px; padding: 6px 16px; border-radius: 12px; }
.sup-logo img { height: 40px; width: auto; }
.sup-light img { height: 50px; }
.sup-hfh { background: var(--hfh-teal); }
.sup-light { background: #EBF7FA; border: 1px solid #D6E1EC; }

/* ---------- hero */
.hero { padding: 22px 0 32px; }
.theme-mlw .hero { background: linear-gradient(var(--wash), var(--bg) 85%); }
.hero-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.theme-mlw .hero-copy { text-align: center; }
.theme-mlw .lede { margin-left: auto; margin-right: auto; }

.eyebrow {
  margin: 0 0 12px; font-family: var(--ui); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brand-strong);
}
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; font-weight: var(--head-weight); letter-spacing: var(--head-track); }
h1 {
  font-size: clamp(2.2rem, 8vw, 3.6rem); line-height: 1.12;
  text-transform: var(--h1-transform); text-wrap: balance;
}
.theme-mlw h1 { color: var(--brand-strong); }
.theme-hpmc h1 { font-size: clamp(2.1rem, 9vw, 3.25rem); line-height: 1.04; }
.tagline {
  margin: 12px 0 0; font-family: var(--display); font-size: clamp(1.2rem, 4.4vw, 1.5rem); line-height: 1.3; color: var(--brand-strong);
}
.theme-mlw .tagline { font-style: italic; }
.theme-hpmc .tagline { text-transform: uppercase; font-weight: 700; font-size: clamp(1.1rem, 4vw, 1.3rem); color: var(--brand); }
.lede { margin: 14px 0 0; font-size: 1.1rem; color: var(--muted); max-width: 32em; }

/* photo: the whole real turkey, its own proportions */
.hero-photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--warm); box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: auto; }
.placeholder { display: grid; place-items: center; aspect-ratio: 4 / 3; background: repeating-linear-gradient(135deg, #E4E4E1 0 14px, #EDEDEA 14px 28px); box-shadow: none; border: 2px dashed #A9A9A4; }
.placeholder-inner { display: grid; gap: 6px; text-align: center; padding: 20px; color: #55554F; font-family: var(--ui); font-size: .95rem; }
.placeholder-tag { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; background: #55554F; color: #fff; padding: 4px 10px; border-radius: 4px; justify-self: center; }
.placeholder code { color: #6B6B64; }

/* ---------- purchase */
.purchase { padding: 4px 0 36px; }
.buy-card {
  display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow);
}
.product-name { font-size: 1.45rem; line-height: 1.25; }
.theme-hpmc .product-name { text-transform: uppercase; font-size: 1.3rem; font-weight: 800; }
.price { margin: 8px 0 0; font-family: var(--display); font-size: 2.3rem; font-weight: var(--head-weight); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-unit { font-family: var(--ui); font-size: .95rem; font-weight: 500; color: var(--muted); margin-left: 8px; letter-spacing: .02em; }
.facts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.facts li { position: relative; padding-left: 22px; font-size: 1rem; line-height: 1.45; }
.facts li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 8px; height: 8px; border-radius: 50%; background: var(--soft); box-shadow: inset 0 0 0 2px var(--brand); }
.facts .fact-strong { font-weight: 600; }
.buy-card .product-name { text-align: left; color: var(--ink); margin: 0; }
.proceeds { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--display); font-size: 1.1rem; line-height: 1.4; color: var(--brand-strong); }
.theme-mlw .proceeds { font-style: italic; }
.theme-hpmc .proceeds { font-family: var(--ui); font-weight: 600; }

/* order form */
.js-needed { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--wash); color: var(--ink); font-weight: 600; }
.buy-info, .buy-action { min-width: 0; }
.buy-action { display: grid; align-content: center; }
.order-form, .form-choices, .form-submit { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-content: start; }
.order-form > *, .form-choices > *, .form-submit > * { min-width: 0; }
.field { display: grid; gap: 6px; }
.field-label { font-family: var(--ui); font-weight: 600; font-size: .95rem; color: var(--ink); }
.qty-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--soft); border-radius: 999px; overflow: hidden; background: var(--bg); }
.step {
  width: 52px; min-height: 52px; border: 0; background: var(--wash); color: var(--brand-strong);
  font: 600 1.5rem/1 var(--ui); cursor: pointer; touch-action: manipulation;
}
.step:disabled { color: #A3ABB8; cursor: default; }
.stepper input {
  width: 64px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center;
  font: 700 1.3rem/1 var(--ui); color: var(--ink); background: var(--bg); -moz-appearance: textfield; appearance: textfield; font-variant-numeric: tabular-nums;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-each { color: var(--muted); font-size: 1rem; }
.qty-note { margin: 2px 0 0; font-size: .95rem; color: var(--ink); }
select {
  width: 100%; max-width: 100%; min-width: 0; min-height: 52px; padding: 10px 44px 10px 14px; border: 1px solid var(--soft); border-radius: 12px; background-color: var(--bg);
  font: 500 1.02rem/1.3 var(--body); color: var(--ink); -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--brand-strong) 50%), linear-gradient(135deg, var(--brand-strong) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat;
}
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; line-height: 1.4; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--brand-strong); }
.summary { margin: 4px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--warm); display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.summary div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); max-width: 60%; }
.sum-detail { color: var(--muted); font-size: .92em; margin-left: 4px; }
.sum-total { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); }
.sum-total dt, .sum-total dd { color: var(--ink); font-weight: 700; font-size: 1.12rem; }
.form-error { margin: 0; padding: 12px 14px; border-radius: 10px; background: #FDECEC; color: #7A1F1F; font-weight: 600; line-height: 1.45; }

.btn {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 58px; padding: 14px 16px; border: 0;
  border-radius: 999px; font-family: var(--ui); font-weight: 700; font-size: 1.08rem; letter-spacing: .02em;
  text-decoration: none; text-align: center; line-height: 1.2; cursor: pointer;
}
.btn-order { background: var(--brand-strong); color: #fff; box-shadow: 0 6px 16px rgba(38, 49, 79, .18); }
.btn-order:hover { background: var(--ink); }
.btn-order:disabled { background: #8C96AA; box-shadow: none; cursor: progress; }
.btn-order:focus-visible, .step:focus-visible, select:focus-visible, .stepper input:focus-visible, .check input:focus-visible,
.text-link:focus-visible, summary:focus-visible { outline: 3px solid var(--soft); outline-offset: 2px; }
.theme-hpmc .btn { text-transform: uppercase; letter-spacing: .05em; font-size: 1.02rem; }
@media (max-width: 420px) { .btn, .theme-hpmc .btn { font-size: 1rem; } }
.fine { margin: 0; font-size: .9rem; color: var(--muted); text-align: center; line-height: 1.45; }

.status { border-radius: 14px; background: var(--wash); padding: 22px 20px; text-align: center; align-self: center; }
.status-title { margin: 0; font-family: var(--display); font-weight: var(--head-weight); font-size: 1.6rem; color: var(--ink); }
.theme-hpmc .status-title { text-transform: uppercase; }
.status-text { margin: 6px 0 0; color: var(--muted); }

/* ---------- sections */
section h2 { font-size: clamp(1.7rem, 5.6vw, 2.2rem); line-height: 1.2; margin-bottom: 16px; text-wrap: balance; color: var(--head-color); }
.theme-mlw section h2 { text-align: center; }
.theme-mlw .section-intro { text-align: center; }
.theme-hpmc section h2 { text-transform: uppercase; font-size: clamp(1.5rem, 5vw, 1.95rem); }
.story, .causes, .faq { padding: 48px 0; }
.story { padding-top: 12px; }
.story p { font-size: 1.12rem; margin: 0 0 1em; }
.theme-mlw .story p { font-family: var(--display); font-size: 1.08rem; line-height: 1.8; }
.signature { display: grid; gap: 2px; margin-top: 22px !important; font-family: var(--ui) !important; font-size: .95rem !important; color: var(--muted); }
.signature span { font-family: var(--display); font-size: 1.35rem; color: var(--ink); font-weight: var(--head-weight); }
.signature em { font-style: italic; }
.theme-mlw .signature span { font-style: italic; }
.theme-hpmc .signature span { text-transform: uppercase; font-size: 1.15rem; }

.causes { background: var(--wash); }
.section-intro { margin: -4px 0 22px; color: var(--muted); font-size: 1.08rem; }
.cause-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.cause { background: var(--bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.cause-logo { display: grid; place-items: center; padding: 24px; min-height: 160px; }
.cause-light .cause-logo { background: #EBF7FA; }
.cause-hfh .cause-logo { background: var(--hfh-teal); }
.cause-logo img { max-height: 112px; width: auto; }
.cause-body { padding: 20px 22px 24px; }
.cause-body h3 { font-size: 1.45rem; margin: 2px 0 10px; }
.theme-hpmc .cause-body h3 { text-transform: uppercase; font-weight: 800; font-size: 1.25rem; }
.cause-body p { margin: 0 0 12px; }
.cause-tagline { font-family: var(--ui); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 !important; }
.cause-hfh .cause-tagline { color: var(--hfh-deep); }
.theme-mlw .cause-tagline { font-family: var(--display); font-style: italic; font-weight: 400; letter-spacing: .05em; font-size: .82rem; color: var(--brand); }
.pillars { margin: 16px 0; display: grid; gap: 12px; }
.pillars div { border-left: 3px solid var(--soft); padding-left: 14px; }
.pillars dt { font-family: var(--ui); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-strong); }
.pillars dd { margin: 2px 0 0; }
.text-link { font-weight: 600; text-underline-offset: 3px; }

.pickup-callout { margin: 0 0 18px; padding: 14px 18px; border-radius: 12px; background: var(--warm); border-left: 4px solid var(--brand); font-weight: 600; line-height: 1.45; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 15px 32px 15px 0; font-weight: 600; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 11px; font-size: 1.4rem; color: var(--brand); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 16px; color: var(--muted); }

.site-footer { padding: 30px 0 40px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); text-align: center; }
.site-footer p { margin: 0 0 6px; }
.footer-fine { font-size: .82rem; }

.thanks { padding: 56px 0 72px; }
.thanks h1 { margin-bottom: 8px; }
.thanks .pickup-callout { margin-top: 24px; }

/* ---------- larger screens */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .theme-hpmc .mast-logo { height: 40px; }
  .brand-band .mast-logo { height: 140px; }
  .buy-card { padding: 30px 32px; }
  .cause-grid.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .buy-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 44px; }
  .buy-action { border-left: 1px solid var(--line); padding-left: 40px; }
}
@media (min-width: 1140px) {
  /* wide screens: product | choices | total, so the card is only as tall as its tallest column */
  .buy-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); column-gap: 32px; padding: 28px 32px; }
  .buy-action { padding-left: 32px; }
  /* choices beside the summary, the one checkout button across both */
  .order-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "choices summary" "submit submit"; column-gap: 24px; row-gap: 18px; }
  .form-choices { grid-area: choices; }
  .order-form .summary { grid-area: summary; margin: 0; align-self: start; }
  .form-submit { grid-area: submit; gap: 10px; }
}
@media (min-width: 960px) {
  .hero { padding: 30px 0 36px; }
  .brand-inner { padding-top: 30px; padding-bottom: 0; }
  .hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 52px; align-items: center; }
  .theme-mlw .hero-copy { text-align: left; }
  .theme-mlw .lede { margin-left: 0; }
  /* two columns: the headline scales with its column so its longest word always fits */
  h1 { font-size: min(3.5rem, 4.5vw); }
  .theme-hpmc h1 { font-size: min(3.25rem, 4.3vw); }
  .purchase { padding-bottom: 44px; }
  .story, .causes, .faq { padding: 56px 0; }
  .story { padding-top: 16px; }
  .n1 .cause { flex-direction: row; }
  .n1 .cause-body { padding: 32px 40px; }
  .n1 .cause-logo { flex: 0 0 36%; }
}
