/* GTAT — Giving Thanks at Thanksgiving
   Matches the 2026 event flyers: sage, cream, peach, dark slate. */

:root {
  --sage: #97a28a;
  --sage-deep: #7e8c75;
  --sage-soft: #e6e9dd;
  --cream: #fbf7f0;
  --cream-deep: #f3eee2;
  --peach: #e79a52;
  --peach-deep: #9c5f26; /* darkened for WCAG AA text contrast (Oct 2026) */
  --ink: #3f4a3e;
  --ink-soft: #5c665b;
  --slate: #4a5347;
  --slate-deep: #3b433a;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(63, 74, 62, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
}

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

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; }

h1, h2, h3, .serif {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

/* ---------- Header ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-deep);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 58px; height: 58px; border-radius: 50%; display: block; }
.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.25;
}
.brand-name small {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav { display: flex; flex-wrap: nowrap; gap: 4px; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.nav a:hover { background: var(--sage-soft); }
.nav a.active { background: var(--ink); color: var(--cream); }

/* ---------- Mobile menu toggle (hidden on desktop) ---------- */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  background: transparent;
  border: 2px solid var(--sage-deep);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2.5px;
  background: var(--sage-deep);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Keyboard focus visibility (WCAG 2.4.7) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--peach-deep);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: #66745f; /* deepened sage for WCAG AA headline contrast (Oct 2026) */
  color: var(--cream);
  text-align: center;
  padding: 72px 24px 64px;
}
.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.9;
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 44px;
  height: 2px;
  background: var(--peach);
  vertical-align: middle;
  margin-right: 14px;
}
.hero h1 {
  color: var(--cream);
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 900px;
  margin: 0 auto 20px;
}
.hero h1 .accent { color: var(--cream); }
.hero p.lead {
  display: inline-block;
  max-width: 720px;
  margin: 0 0 30px;
  padding: 0.7em 1.4em;
  font-size: 1.1rem;
  color: var(--peach-deep);
  background: var(--cream);
  border-radius: 0.7em;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--peach-deep);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 15px 32px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid var(--peach-deep);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: #7e4c1e; border-color: #7e4c1e; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn-outline:hover { background: rgba(251, 247, 240, 0.15); border-color: var(--cream); }
.btn-dark-outline { color: var(--ink); border-color: var(--ink); }
.btn-dark-outline:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--white); }
.section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  text-align: center;
  margin-bottom: 14px;
}
.section h2 .accent { color: var(--peach-deep); }
.section .sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}
.prose p { margin-bottom: 1.1em; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 36px 0;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  text-align: center;
}
.card .icon { font-size: 2rem; margin-bottom: 10px; }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card.highlight { background: var(--sage); color: var(--cream); }
.card.highlight h3 { color: var(--cream); }
.card.highlight p { color: #f0ede2; }

/* ---------- Quote ---------- */
.quote {
  border-left: 4px solid var(--peach);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  padding: 28px 32px;
  margin: 40px 0;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
}
.quote cite {
  display: block;
  margin-top: 12px;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Photo placeholders ---------- */
.photo-placeholder {
  border: 2px dashed var(--sage-deep);
  background: var(--sage-soft);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-soft);
  text-align: center;
  padding: 32px 20px;
  margin: 36px 0;
  min-height: 300px;
}
.photo-placeholder.banner { min-height: 380px; margin: 0; border-radius: 0; border-left: 0; border-right: 0; }
.photo-placeholder .ph-icon { font-size: 2.4rem; }
.photo-placeholder strong { letter-spacing: 0.06em; }
.photo-placeholder span { font-size: 0.9rem; }

/* ---------- Donation items ---------- */
.item-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 28px 0;
  list-style: none;
}
.item-list li {
  background: var(--sage);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  padding: 12px 22px;
  border-radius: 999px;
}
.deadline {
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.6rem;
  margin: 30px 0 8px;
}
.deadline .accent { color: var(--peach-deep); }
.tax-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 640px;
  margin: 24px auto 0;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  margin-top: 36px;
  align-items: start;
}
.contact-info .card { text-align: left; margin-bottom: 16px; }
.contact-info .card h3 { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); font-family: "Montserrat", sans-serif; margin-bottom: 6px; }
.contact-info .card p { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.contact-info .card a { color: var(--ink); text-decoration: none; }
.contact-info .card a:hover { color: var(--peach-deep); }

form.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 32px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  font: inherit;
  padding: 13px 16px;
  border: 1.5px solid #d8d2c2;
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--sage-deep);
  background: var(--white);
}
.form-row textarea { min-height: 150px; resize: vertical; }
.hidden { display: none; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--slate);
  color: var(--cream);
  text-align: center;
  padding: 56px 24px;
}
.cta-band h2 { color: var(--cream); margin-bottom: 12px; }
.cta-band p { color: #d9d5c8; max-width: 620px; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--slate-deep);
  color: #cfccc0;
  padding: 48px 0 28px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-bottom: 32px;
}
.site-footer h4 {
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #eda962; /* lightened peach for WCAG AA contrast on slate (Oct 2026) */
  margin-bottom: 12px;
  font-family: "Montserrat", sans-serif;
}
.site-footer a { color: #ece9dd; text-decoration: none; }
.site-footer a:hover { color: var(--peach); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  text-align: center;
  font-size: 0.82rem;
  color: #a8a49a;
}
.footer-logo { width: 72px; height: 72px; border-radius: 50%; margin-bottom: 12px; }

/* ---------- Spread the Word band ---------- */
.spread-band {
  background: var(--sage-soft);
  border-radius: 18px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.spread-band p { flex: 1 1 320px; margin: 0; font-size: 1.02rem; }
.spread-band p strong { color: var(--peach-deep); }
@media (max-width: 560px) {
  .spread-band { flex-direction: column; text-align: center; }
  .spread-band p { flex: 0 0 auto; }
}

/* ---------- Spread the Word callout card ---------- */
.spread-callout {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-left: 6px solid var(--peach);
  margin: 28px auto 44px;
  max-width: 860px;
  text-align: left;
}
.spread-callout-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--sage-soft);
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.spread-callout-icon svg { width: 26px; height: 26px; stroke: var(--sage-deep); }
.spread-callout-txt { flex: 1 1 auto; }
.spread-callout-txt strong { font-family: "Playfair Display", Georgia, serif; font-size: 1.15rem; display: block; margin-bottom: 2px; }
.spread-callout-txt p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.spread-callout .btn { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 560px) {
  .spread-callout { flex-direction: column; text-align: center; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .header-inner { padding: 12px 16px; gap: 8px; }
  .nav a { padding: 10px 8px; font-size: 0.72rem; letter-spacing: 0.08em; }
}
@media (max-width: 880px) {
  .brand-name { display: none; }
}
@media (max-width: 760px) {
  .header-inner { flex-direction: row; align-items: center; position: relative; }
  .brand-name { font-size: 1rem; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-deep);
    box-shadow: var(--shadow);
    padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a {
    display: block;
    text-align: left;
    border-radius: 10px;
    padding: 14px 12px;
  }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .hero { padding: 56px 20px 48px; }
}

/* ---------- Sage outline button ---------- */
.btn-sage-outline {
  color: var(--sage-deep);
  border-color: var(--sage-deep);
  background: transparent;
}
.btn-sage-outline:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- Card icons ---------- */
.card .icon { margin-bottom: 14px; }
.card .icon img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

/* ---------- Hero carousel ---------- */
.hero-carousel { position: relative; overflow: hidden; padding: 0; }
.hero-track { display: grid; }
.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s;
  padding: 72px 24px 76px;
  text-align: center;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  gap: 10px;
  justify-content: center;
  z-index: 2;
}
.hero-dots button {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--cream);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.hero-dots button.active { background: var(--cream); }

/* Photo placeholder on sage (carousel slide 2) */
.photo-placeholder.on-sage {
  background: rgba(251, 247, 240, 0.12);
  border-color: var(--cream);
  color: var(--cream);
  margin: 0 auto;
  max-width: 860px;
  min-height: 320px;
}

/* ---------- Donate item shapes ---------- */
.donate-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 28px;
  margin: 36px 0;
  text-align: center;
}
.donate-shape {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: var(--shadow);
}
.donate-shape img { width: 92px; height: 92px; object-fit: contain; }
.donate-label {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------- Real photos (replace placeholders) ---------- */
.photo-real {
  display: block;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* ---------- Footer social icons ---------- */
.social-icons { display: flex; gap: 14px; margin-top: 10px; }
.social-icons a { color: var(--cream); display: inline-flex; transition: color 0.2s ease, transform 0.2s ease; }
.social-icons a:hover { color: var(--peach); transform: translateY(-2px); }
.social-icons svg { width: 24px; height: 24px; }
