/* Kenny Miller Foundation — shared stylesheet
   Palette: creme/beige surfaces, navy ink, copper accent. */

:root {
  --bg:          #f4ecdd;
  --surface:     #fffcf6;
  --surface-2:   #ede1c9;
  --ink:         #172544;
  --ink-soft:    #33456c;
  --muted:       #746b5b;
  --rule:        #e2d3b3;
  --accent:      #a8631f;
  --accent-ink:  #ffffff;
  --accent-tint: #f1e0c3;
  --shadow:      0 1px 2px rgba(23, 37, 68, 0.06), 0 8px 24px rgba(23, 37, 68, 0.06);
}

* , *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-word {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ── header ── */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-word {
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}

.brand-sub {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav a {
  font-size: 0.92rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav a:hover { background: var(--surface-2); }
.nav a.current { background: var(--ink); color: var(--surface); }

.nav .btn-donate {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 500;
}
.nav .btn-donate:hover { background: #8f5219; }

@media (max-width: 760px) {
  .topbar { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
  .nav { width: 100%; justify-content: flex-start; }
}

/* ── hero ── */
.hero {
  padding: 4.5rem 0 3.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-tint);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  margin-bottom: 1.4rem;
}

.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  max-width: 18ch;
}

.hero .lede {
  margin-top: 1.25rem;
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  font-size: 0.98rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--ink); color: var(--surface); }
.btn-primary:hover { background: #0e1930; }

.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--surface-2); }

/* ── sections ── */
section { padding: 3.25rem 0; }
section + section { border-top: 1px solid var(--rule); }

.section-head { max-width: 62ch; margin-bottom: 2.25rem; }
.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.section-head p { margin-top: 0.75rem; color: var(--muted); font-size: 1.02rem; }

.prose p { margin-bottom: 1.1rem; color: var(--ink-soft); font-size: 1.03rem; max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); }

/* ── pillar cards ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
@media (max-width: 700px) { .pillars { grid-template-columns: 1fr; } }

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
}

.pillar-num {
  font-family: 'Fraunces', serif;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.pillar-card h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0 0.6rem;
}

.pillar-card p { color: var(--muted); font-size: 0.97rem; }

/* ── quote ── */
.quote-block {
  background: var(--ink);
  color: var(--bg);
  border-radius: 16px;
  padding: 2.4rem 2.2rem;
}
.quote-block blockquote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 500;
  line-height: 1.4;
  max-width: 46ch;
}
.quote-block cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-size: 0.9rem;
  color: #c8cfdd;
}

/* ── status / callout box ── */
.callout {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 1.5rem 1.6rem;
}
.callout h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.callout p { color: var(--ink-soft); font-size: 0.98rem; }
.callout p + p { margin-top: 0.6rem; }

/* ── event card ── */
.event-card {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow);
}
.event-date {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
}
.event-date .num { font-size: 1.4rem; font-weight: 600; line-height: 1; }
.event-date .mon { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.15rem; }
.event-card h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.event-card p { color: var(--muted); font-size: 0.92rem; }

/* ── letter (details/summary) ── */
details.letter {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.3rem 1.5rem;
}
details.letter summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--ink);
  font-size: 1rem;
}
details.letter summary:hover { color: var(--accent); }
details.letter .prose { margin-top: 1.25rem; }
details.letter .prose p { max-width: 70ch; }
details.letter .sig { margin-top: 1.5rem; color: var(--muted); font-size: 0.92rem; }

/* ── contact list ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-item {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.5rem 1.6rem;
}
.contact-item .label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.contact-item a, .contact-item p { font-size: 1.02rem; color: var(--ink); }

/* ── footer ── */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0;
  margin-top: 1rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 0.6rem; }
.footer-brand .brand-mark { width: 28px; height: 28px; }
.footer-tagline { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; max-width: 34ch; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-note { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.82rem; }
