/* Bundle 'Em Up site styles
   Warm, family-first: cream ground, pumpkin orange and teal accents. */

:root {
  --cream: #fff8ee;
  --peach: #ffe2c2;
  --peach-soft: #fff1e0;
  --orange: #e8620a;
  --orange-deep: #c8500a;
  --teal: #1f6f78;
  --teal-soft: #d6eef0;
  --ink: #2b2620;
  --ink-soft: #4a423a;
  --ink-muted: #8a8076;
  --white: #ffffff;
  --gold: #ffd9a8;
  --display: "Fredoka", "Trebuchet MS", "Segoe UI", sans-serif;
  --body: "Nunito", "Segoe UI", Verdana, sans-serif;
  --radius: 24px;
  --shadow: 0 8px 24px rgba(232, 98, 10, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); text-decoration: none; }
a:hover, a:focus { color: var(--orange-deep); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; line-height: 1.1; }
h2 { font-size: clamp(30px, 3.5vw, 44px); }
h3 { font-size: 22px; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1296px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 72px); }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 8px; z-index: 10;
}
.skip-link:focus { left: 8px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 28px; border-radius: 999px;
  font-weight: 700; font-size: 18px; line-height: 1.2;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--orange); color: var(--white); }
.button--primary:hover, .button--primary:focus { background: var(--orange-deep); color: var(--white); }
.button--secondary { background: var(--white); color: var(--teal); border: 2px solid var(--teal); }
.button--secondary:hover, .button--secondary:focus { background: var(--teal); color: var(--white); }
.button--small { padding: 11px 20px; font-size: 15px; }

.eyebrow {
  color: var(--orange-deep); font-weight: 700; font-size: 13px;
  letter-spacing: 1px; text-transform: uppercase;
}
.eyebrow--light { color: var(--gold); }

.pill {
  display: inline-block; align-self: flex-start;
  background: var(--teal); color: var(--cream);
  font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
}

/* Header */
.site-header { border-bottom: 2px dashed #f2d9bf; background: var(--cream); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 40px; height: 40px; border-radius: 12px; background: var(--orange); color: var(--cream);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.brand__name { font-family: var(--display); font-weight: 700; font-size: 22px; white-space: nowrap; }
.site-nav { display: flex; gap: 28px; font-weight: 700; font-size: 16px; }
.site-nav a { color: var(--teal); }
.site-nav a:hover { color: var(--orange-deep); }

/* Hero */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 56px); }
.hero__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 22px; }
.hero__title { font-size: clamp(44px, 5.5vw, 76px); line-height: 1.02; }
.hero__title em { font-style: normal; color: var(--orange); }
.hero__lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero__art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 320px; }
.hero__art::before {
  content: ""; position: absolute; inset: 8% 6%;
  background: var(--peach); border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%;
}
.hero__art img { position: relative; width: min(100%, 520px); }

/* Key facts */
.facts { padding-bottom: clamp(40px, 5vw, 72px); }
.facts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fact { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.fact__value { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; }
.fact__sub { font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--teal); line-height: 1.1; }
.fact p { color: var(--ink-soft); font-size: 16px; }

/* Giveaway day */
.giveaway {
  background: var(--teal); color: var(--cream); border-radius: 32px;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 4.5vw, 64px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px;
}
.giveaway__copy { display: flex; flex-direction: column; gap: 16px; }
.giveaway__copy h2 { color: var(--cream); }
.giveaway__copy p { font-size: 19px; color: var(--teal-soft); }
.giveaway__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 16px !important; margin-top: 6px; }
.giveaway__links a { color: var(--gold); font-weight: 700; border-bottom: 2px solid rgba(255, 217, 168, 0.4); }
.giveaway__links a:hover { color: var(--white); border-color: var(--white); }
.giveaway__extras { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.giveaway__extras li {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255, 248, 238, 0.1); border-radius: 18px; padding: 18px 20px; font-size: 17px; line-height: 1.4;
}
.giveaway__extras svg { flex: none; color: var(--gold); margin-top: 1px; }

/* Sections */
.section { padding-top: clamp(48px, 6vw, 72px); }
.section__title { margin-bottom: 28px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section__head .section__title { margin-bottom: 0; }
.section__head p { color: var(--ink-soft); font-size: 17px; }

/* How to help */
.help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.help { background: var(--peach); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.help svg { color: var(--orange); }
.help h3 { font-size: 26px; }
.help p { color: var(--ink-soft); font-size: 16px; }

/* Drop-off sites */
#sites { padding-bottom: clamp(56px, 7vw, 88px); }
.sites { columns: 3; column-gap: 24px; }
.town {
  background: var(--white); border-radius: var(--radius); padding: 24px 28px;
  break-inside: avoid; margin-bottom: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.town h3 { color: var(--orange-deep); }
.town ul { display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.35; }
.town li { display: flex; flex-direction: column; gap: 2px; }
.town li a { color: var(--ink-soft); border-bottom: 1px dotted rgba(74, 66, 58, 0.4); align-self: flex-start; }
.town li a:hover { color: var(--orange-deep); border-color: var(--orange-deep); }

/* Footer */
.site-footer { background: var(--ink); color: var(--cream); padding: 48px 0; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 20px; }
.partners { display: flex; flex-wrap: wrap; gap: 12px 36px; font-family: var(--display); font-size: 20px; font-weight: 600; }
.site-footer__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: #b8afa4; margin-top: 12px; }
.site-footer__meta a { color: var(--gold); }
.site-footer__meta a:hover { color: var(--white); }

/* Inner pages: page head */
.page-head { padding: clamp(40px, 5vw, 64px) 0 clamp(24px, 3vw, 40px); }
.page-head__inner { display: flex; flex-direction: column; gap: 14px; }
.page-head h1 { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.05; max-width: 820px; }
.page-head__lede { font-size: 19px; color: var(--ink-soft); max-width: 720px; }
.page-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; color: var(--ink-muted); font-size: 15px; font-weight: 700; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block; background: var(--peach); color: var(--orange-deep);
  font-weight: 700; font-size: 13px; letter-spacing: 0.6px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.tag:hover, .tag:focus { background: var(--orange); color: var(--white); }

/* Inner pages: article */
.article { padding-bottom: clamp(56px, 7vw, 88px); display: flex; flex-direction: column; gap: 24px; }
.prose {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 48px); max-width: 820px;
}
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 1.4em; }
.prose h3 { font-size: 24px; color: var(--orange-deep); margin-top: 1.6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25em; display: flex; flex-direction: column; gap: 10px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--orange); }
.prose a { font-weight: 700; border-bottom: 2px solid rgba(31, 111, 120, 0.25); }
.prose a:hover { border-color: var(--orange-deep); }
.prose strong { color: var(--ink); }
.prose img { border-radius: 16px; }
.prose pre, .prose code { font-family: "Liberation Mono", Menlo, Consolas, monospace; font-size: 15px; }
.prose pre { background: var(--cream); border-radius: 16px; padding: 20px 24px; overflow-x: auto; white-space: pre-wrap; }
.prose .tag-list { list-style: none; padding: 0; flex-direction: row; gap: 8px; margin-bottom: 8px; }
.pagination { display: flex; justify-content: space-between; gap: 16px; max-width: 820px; }

/* Updates list */
.post-list { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.post-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px; display: flex; flex-direction: column; gap: 10px;
}
.post-card h2 { font-size: 28px; }
.post-card h2 a { color: var(--ink); }
.post-card h2 a:hover { color: var(--orange-deep); }
.post-card p { color: var(--ink-soft); }

/* Responsive */
@media (max-width: 1080px) {
  .facts__grid, .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sites { columns: 2; }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .hero__art { order: -1; min-height: 0; padding: 12px 0; }
  .hero__art img { width: min(100%, 420px); }
  .giveaway { grid-template-columns: 1fr; gap: 28px; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .facts__grid, .help-grid { grid-template-columns: 1fr; }
  .sites { columns: 1; }
  .site-header__inner { gap: 12px; }
  .brand__name { font-size: 19px; }
  .button { width: 100%; }
  .button--small { width: auto; }
  .hero__actions { flex-direction: column; }
  .giveaway { border-radius: 24px; }
}

@media (max-width: 400px) {
  .brand__name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
