:root {
  --cream: #fff7ea;
  --paper: rgba(255, 252, 244, 0.92);
  --ink: #35271c;
  --muted: #6d5a48;
  --terracotta: #b86a43;
  --terracotta-dark: #88452d;
  --sage: #7f9d72;
  --sage-dark: #4e6e4d;
  --gold: #f0b45d;
  --line: rgba(73, 49, 29, 0.16);
  --shadow: 0 18px 55px rgba(74, 47, 24, 0.18);
  --radius: 26px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
  background:
    radial-gradient(circle at 18% 8%, rgba(240,180,93,.34), transparent 32rem),
    radial-gradient(circle at 78% 0%, rgba(127,157,114,.28), transparent 28rem),
    linear-gradient(145deg, #fff4de 0%, #f4ead7 42%, #d9e6d4 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cpath d='M20 88c21-18 46-26 76-25 11 1 21 3 31 7' fill='none' stroke='%23855b36' stroke-width='2' stroke-linecap='round' opacity='.18'/%3E%3Cpath d='M18 104c26-15 55-19 87-11' fill='none' stroke='%234d6b4d' stroke-width='2' stroke-linecap='round' opacity='.16'/%3E%3C/svg%3E");
}

a { color: inherit; }

.page-shell {
  width: min(100%, 820px);
  margin: 0 auto;
  padding: 22px 16px 48px;
}

.hero-card,
.panel,
.link-card,
.widget-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-card {
  overflow: hidden;
  border-radius: 34px;
}

.hero-image {
  position: relative;
  padding: 16px;
  background: linear-gradient(135deg, rgba(184,106,67,.2), rgba(127,157,114,.22));
}

.hero-image picture {
  display: block;
}

.hero-image img {
  display: block;
  width: 100%;
  max-height: 360px;
  border-radius: 24px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
  background: #f4dfc3;
}

.badge {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fffaf0;
  background: rgba(53, 39, 28, .82);
  text-decoration: none;
  font-weight: 750;
  font-size: .86rem;
}

.hero-copy { padding: 28px 22px 24px; text-align: center; }

.kicker {
  margin: 0 0 8px;
  color: var(--terracotta-dark);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.15rem, 8vw, 4.15rem);
  line-height: .94;
  letter-spacing: -.055em;
}

.intro {
  max-width: 640px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.12rem);
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.pill-action,
.link-card,
.social-circle,
.toggle-widgets {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.pill-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: #fffaf0;
  font-weight: 850;
  background: var(--terracotta);
  box-shadow: 0 10px 26px rgba(136,69,45,.22);
}

.pill-action.secondary { background: var(--sage-dark); }
.pill-action:hover,
.link-card:hover,
.social-circle:hover,
.toggle-widgets:hover { transform: translateY(-2px); }

.section { margin-top: 18px; }
.panel { border-radius: var(--radius); padding: 18px; }
.panel h2, .widget-card h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}
.panel p { margin: 0; color: var(--muted); }

.donkey-feature {
  display: grid;
  grid-template-columns: 156px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.donkey-feature picture,
.donkey-feature img {
  display: block;
}

.donkey-feature img {
  width: 156px;
  height: 132px;
  border-radius: 20px;
  object-fit: cover;
  object-position: center 42%;
}

.donkey-feature h2 {
  margin: 0 0 6px;
  font-size: 1.12rem;
}

.donkey-feature p {
  margin: 0;
  color: var(--muted);
}

.link-stack { display: grid; gap: 12px; margin-top: 18px; }

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr 22px;
  gap: 13px;
  align-items: center;
  min-height: 78px;
  padding: 14px;
  border-radius: 22px;
  text-decoration: none;
}

.link-card.primary {
  color: #fffaf0;
  background: linear-gradient(135deg, var(--terracotta), #9f5033);
}

.link-card.green {
  color: #fffaf0;
  background: linear-gradient(135deg, var(--sage-dark), #315c45);
}

.link-card.light { background: rgba(255,255,255,.64); }

.contact-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.link-card.compact {
  min-height: 74px;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(255,255,255,.22);
  color: inherit;
  font-size: 1.2rem;
}

.link-card.light .icon-box { color: var(--terracotta-dark); background: #fff0dc; }

.link-title { display: block; font-weight: 900; line-height: 1.15; }
.link-desc { display: block; margin-top: 3px; color: currentColor; opacity: .78; font-size: .9rem; }
.chev { opacity: .58; }

.social-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.social-circle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  color: var(--terracotta-dark);
  text-decoration: none;
  font-size: 1.18rem;
}

.toggle-widgets {
  width: 100%;
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  margin-top: 18px;
  color: #fffaf0;
  background: #3e3127;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.widgets { display: none; gap: 14px; margin-top: 14px; }
.widgets.is-open { display: grid; }
.widget-card { border-radius: var(--radius); padding: 14px; overflow: hidden; }
.widget-card p { margin: 0 0 10px; color: var(--muted); font-size: .92rem; }

.fundraiser-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
  background: rgba(255,255,255,.72);
}

.widget-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #fffaf0;
  background: linear-gradient(135deg, var(--terracotta), var(--sage-dark));
  font-size: 1.28rem;
}

.widget-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  margin-top: 4px;
  border-radius: 999px;
  color: #fffaf0;
  background: #3e3127;
  font-weight: 850;
  text-decoration: none;
}

.footer-note {
  margin: 22px auto 0;
  text-align: center;
  color: rgba(53,39,28,.72);
  font-size: .9rem;
}

@media (max-width: 560px) {
  .page-shell { padding-inline: 12px; }
  .hero-card { border-radius: 28px; }
  .hero-copy { padding-inline: 18px; }
  .quick-actions,
  .contact-split { grid-template-columns: 1fr; }
  .donkey-feature { grid-template-columns: 112px 1fr; gap: 12px; }
  .donkey-feature img { width: 112px; height: 112px; }
  .link-card { grid-template-columns: 42px 1fr 18px; padding: 12px; }
  .fundraiser-card { grid-template-columns: 1fr; }
  .icon-box { width: 42px; height: 42px; }
}

@media (max-width: 420px) {
  .donkey-feature { grid-template-columns: 1fr; }
  .donkey-feature img { width: 100%; height: 170px; }
}
