:root {
  --bg: #f5f3ec;
  --surface: #fffdf8;
  --surface-strong: #e8ede1;
  --text: #1f2523;
  --muted: #45514b;
  --border: #c2ccbe;
  --accent: #155046;
  --accent-strong: #0d3932;
  --focus: #a64b00;
  --shadow: 0 10px 30px rgba(31, 37, 35, 0.08);
  --radius: 1rem;
  --wrap: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(232, 237, 225, 0.85), rgba(245, 243, 236, 0.98)),
    var(--bg);
}

a {
  color: var(--accent-strong);
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

.wrap {
  width: min(calc(100% - 2rem), var(--wrap));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.75rem 1rem;
  background: var(--accent-strong);
  color: #ffffff;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  padding: 1rem 0 1.25rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.brand h1,
.hero h2,
.card h3,
.content-section h2 {
  line-height: 1.2;
}

.brand h1 {
  margin: 0.25rem 0 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
  max-width: 12ch;
}

.brand-compact h1 {
  max-width: none;
}

.eyebrow,
.section-label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.eyebrow {
  font-family: "Palatino Linotype", "Book Antiqua", Garamond, Georgia, serif;
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.site-nav {
  margin-top: 1rem;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.site-nav a[href="donate.html"] {
  background: #efe4c8;
  border-color: #8b6a2b;
}

.site-nav a[href="donate.html"]:hover {
  background: #e4d4ac;
}

.site-nav a[aria-current="page"] {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #ffffff;
}

.hero,
.content-section {
  padding: 2rem 0;
}

.hero-compact {
  padding-bottom: 1rem;
}

.hero h2,
.content-section h2 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.lead {
  max-width: 55ch;
  font-size: 1.1rem;
  color: var(--muted);
}

.grid-two {
  display: grid;
  gap: 1rem;
}

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

.card h3 {
  margin-top: 0;
  font-size: 1.35rem;
}

.accent-section {
  background: rgba(232, 237, 225, 0.55);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.button-link,
button {
  display: inline-block;
  min-height: 44px;
  padding: 0.85rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent-strong);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button-link:hover,
button:hover {
  background: var(--accent);
  color: #ffffff;
}

.button-link-secondary {
  background: #fffdf8;
  color: var(--accent-strong);
  border: 1px solid var(--accent-strong);
}

.button-link-secondary:hover {
  background: var(--surface-strong);
  color: var(--accent-strong);
}

.button-link-disabled {
  background: #6a756e;
  cursor: not-allowed;
}

.field {
  margin-bottom: 1rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid #7a867e;
  border-radius: 0.75rem;
  background: #fffefb;
  color: var(--text);
  font: inherit;
}

textarea {
  resize: vertical;
}

.muted,
.form-note,
.helper-text,
.contact-list dd,
address,
.site-footer p:last-child {
  color: var(--muted);
}

.helper-text {
  margin-bottom: 0;
}

.contact-list {
  margin: 1.5rem 0 0;
}

.rules-list {
  padding-left: 1.5rem;
}

.rules-list li + li {
  margin-top: 0.85rem;
}

.contact-list div + div {
  margin-top: 1rem;
}

.contact-list dt {
  font-weight: 700;
}

.contact-list dd {
  margin: 0.2rem 0 0;
}

address {
  font-style: normal;
}

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 0.35rem;
}

@media (min-width: 48rem) {
  .site-header .wrap {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
  }

  .site-nav {
    margin-top: 0;
  }

  .grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero,
  .content-section {
    padding: 3.5rem 0;
  }
}
