/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sage-dark: #4E5E46;
  --sage: #8B9A7B;
  --sage-light: #BCC8AE;
  --cream: #F6F1E7;
  --cream-dark: #EBE2D0;
  --brown: #8E5A3C;
  --brown-light: #B08968;
  --terracotta: #B76E4A;
  --text: #3A352E;
  --text-light: #6B6357;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(62, 50, 35, 0.08);
  --shadow-hover: 0 10px 40px rgba(62, 50, 35, 0.14);
  --shadow-soft: 0 2px 12px rgba(62, 50, 35, 0.06);
  --transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--sage-dark);
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { line-height: 1.75; }

a { color: var(--sage-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--sage); }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
}

.btn-primary {
  background: var(--sage-dark);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--sage);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--sage-dark);
  border: 2px solid var(--sage-dark);
}
.btn-secondary:hover {
  background: var(--sage-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-donate {
  background: var(--sage-dark);
  color: var(--white);
}
.btn-donate:hover {
  background: var(--sage);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-dog {
  background: var(--sage-dark);
  color: var(--white);
}
.btn-dog:hover {
  background: var(--sage);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Non-interactive placeholder pill (e.g. "coming soon") */
.btn-muted {
  background: var(--cream-dark);
  color: var(--text-light);
  cursor: default;
}

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

.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* ========== NAVIGATION ========== */
.nav {
  background: var(--white);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 112px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--sage-dark);
  letter-spacing: 0.005em;
}

.nav-logo-img {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.nav-logo-text small {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--sage-dark);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--sage-dark);
  border-radius: 2px;
}

.nav-links .btn { padding: 12px 28px; font-size: 0.9rem; }
.nav-links a.btn-donate,
.nav-links a.btn-donate.active,
.nav-links a.btn-donate:hover,
.nav-links a.btn-dog,
.nav-links a.btn-dog.active,
.nav-links a.btn-dog:hover {
  color: var(--white);
}
.nav-links a.btn-donate.active::after,
.nav-links a.btn-dog.active::after {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--sage-dark);
  padding: 8px;
}

/* ========== HERO VARIANTS ========== */
/* Image Hero (Home, Dogs) */
.hero-image {
  position: relative;
  min-height: 550px;
  background: var(--sage-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image > .container,
.hero-dark > .container,
.hero-simple > .container {
  width: 100%;
  max-width: 1400px;
  padding: 0;
  position: relative;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(30,24,18,0.72) 0%, rgba(30,24,18,0.45) 48%, rgba(30,24,18,0.15) 85%, transparent 100%);
  z-index: 1;
}

/* Home hero: full-width bleed. Image covers the full hero. No dead zones. */
.hero-image.hero-home {
  min-height: 640px;
}
.hero-image.hero-home .hero-overlay {
  background: linear-gradient(to right, rgba(28,22,16,0.88) 0%, rgba(28,22,16,0.72) 24%, rgba(28,22,16,0.38) 44%, rgba(28,22,16,0.12) 62%, transparent 78%);
}
.hero-image.hero-home .hero-bg {
  /* Use object-position to focus Ringo's face. Desktop & mobile both target eye line. */
  transform: none;
  object-fit: cover;
  /* Desktop: keep Ringo right-of-text. Source eyes at 37% horiz: shift so he lands right side. */
  object-position: 30% 28%;
  width: 100%;
  height: 100%;
}
.hero-image.hero-home .hero-content {
  max-width: 540px;
  padding: 80px 40px 80px 48px;
  margin-left: 0;
}
.hero-image.hero-home .hero-content h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 1.12;
}
.hero-image.hero-home .hero-content p {
  font-size: 1.1rem;
}

/* Dogs hero (Pugsley). Full-width bleed; image focuses right so text on left is clear. */
.hero-image.hero-dogs {
  min-height: 560px;
}
.hero-image.hero-dogs .hero-overlay {
  background: linear-gradient(to right, rgba(28,22,16,0.88) 0%, rgba(28,22,16,0.72) 24%, rgba(28,22,16,0.32) 44%, rgba(28,22,16,0.08) 62%, transparent 78%);
}
.hero-image.hero-dogs .hero-bg {
  transform: none;
  object-fit: cover;
  object-position: 70% center;
  width: 100%;
  height: 100%;
}
.hero-image.hero-dogs .hero-content {
  max-width: 540px;
  padding: 80px 40px 80px 48px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 80px 24px;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.15;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 32px;
  color: rgba(255,255,255,0.95);
}

.hero-content .btn-group {
  gap: 16px;
}

/* Dark Hero (Get Involved, Donate, Contact) */
.hero-dark {
  position: relative;
  min-height: 480px;
  background: #2A2420;
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-dark .hero-bg { object-position: center 30%; }

/* Donate hero: Teddy photo. Shift image so Teddy sits right of center,
   leaving the left side darker for the headline. */
.hero-dark:not(.hero-contact):not(.hero-get-involved) .hero-overlay {
  background: linear-gradient(to right, rgba(28,22,16,0.78) 0%, rgba(28,22,16,0.55) 32%, rgba(28,22,16,0.20) 60%, rgba(28,22,16,0.05) 88%, transparent 100%);
}

/* Get Involved hero: the image shows a dog lying in a bed. Let it breathe a bit by zooming out and shifting the dog to one side. */
.hero-dark.hero-get-involved {
  min-height: 500px;
}
.hero-dark.hero-get-involved .hero-bg {
  object-position: 65% 25%;
}
.hero-dark.hero-get-involved .hero-overlay {
  background: linear-gradient(to right, rgba(28,22,16,0.80) 0%, rgba(28,22,16,0.55) 35%, rgba(28,22,16,0.18) 65%, rgba(28,22,16,0.08) 85%, transparent 100%);
}
.hero-dark.hero-get-involved .hero-content {
  max-width: 540px;
}

/* Contact hero: Stevie's face occupies 15-76% horiz, left eye at 67%.
   Shift image left so face is in left half, put text in right half. */
.hero-dark.hero-contact {
  min-height: 520px;
}
.hero-dark.hero-contact .hero-bg { object-position: 50% 30%; }
.hero-dark.hero-contact .hero-overlay {
  background: linear-gradient(to left, rgba(28,22,16,0.82) 0%, rgba(28,22,16,0.55) 32%, rgba(28,22,16,0.10) 62%, transparent 85%);
}
.hero-dark.hero-contact .hero-content {
  margin-left: auto;
  max-width: 520px;
  padding-left: 40px;
  text-align: left;
}

/* Simple Hero (About) */
.hero-simple {
  position: relative;
  min-height: 400px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-simple .hero-bg {
  opacity: 0.25;
  object-fit: cover;
  object-position: center 30%;
}

.hero-simple h1 {
  color: var(--sage-dark);
}

.hero-simple p {
  color: var(--text);
  font-size: 1.15rem;
}

.hero-simple .hero-content {
  text-align: center;
  max-width: 100%;
}

/* ========== SECTIONS ========== */
.section { padding: 90px 24px; }
.section-alt { background: var(--white); }
.section-cream { background: var(--cream); }
.section-sage { background: var(--sage-dark); color: var(--white); }
.section-sage h2,
.section-sage h3,
.section-sage h4 { color: var(--white); }

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.section-centered {
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}

.mission-copy {
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  line-height: 1.7;
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
}

.mission-copy-small {
  max-width: 720px;
}

/* ========== VALUES / ICONS GRID ========== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.value-item {
  padding: 24px;
}

.value-item .icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-item h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.value-item p {
  font-size: 0.98rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========== STORY / FEATURE BLOCKS ========== */
.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.story-block.reverse {
  direction: rtl;
}
.story-block.reverse > * {
  direction: ltr;
}

.story-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  aspect-ratio: 4/3;
  max-height: 460px;
}

.story-content h2 { margin-bottom: 20px; }
.story-content h3 { margin-bottom: 16px; color: var(--sage); }
.story-content p {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 1.05rem;
}
.story-content p:last-of-type { margin-bottom: 28px; }
.story-content em { font-style: italic; color: var(--text-light); }

/* ========== DOG CARDS ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

.card-featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--brown);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
}

.card-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-dark);
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.card:hover .card-image img {
  transform: scale(1.03);
}

.card-body { padding: 28px; }

.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.card-title h3 {
  font-size: 1.6rem;
  margin: 0;
}

.card-title .heart {
  color: var(--brown-light);
  font-size: 1.3rem;
}

.card-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--cream-dark);
  padding-bottom: 14px;
}

.card-body p {
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 22px;
}

/* ========== FOUNDERS GRID ========== */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.founder {
  text-align: center;
}

.founder-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid var(--white);
  outline: 1px solid rgba(78, 94, 70, 0.15);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder h3 {
  margin-bottom: 6px;
  font-size: 1.5rem;
}

.founder .role {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 14px;
  font-style: italic;
}

.founder p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

/* ========== ACTION CARDS (Get Involved) ========== */
.action-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.action-card {
  background: var(--white);
  border: 1px solid rgba(78, 94, 70, 0.12);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.action-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(78, 94, 70, 0.22);
}

.action-card .btn,
.action-card > div:last-child {
  margin-top: auto;
}

.action-card .icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
}

.action-card h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--sage-dark);
}

.action-card p {
  font-size: 0.98rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 28px;
}

/* ========== EMAIL SIGNUP (Get Involved) ========== */
.email-signup {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  flex-wrap: wrap;
  justify-content: center;
}
.email-signup input[type="email"] {
  flex: 1 1 180px;
  min-width: 0;
  padding: 13px 18px;
  border: 2px solid var(--cream-dark);
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  transition: border-color var(--transition);
}
.email-signup input[type="email"]:focus {
  outline: none;
  border-color: var(--sage);
}
.email-signup .btn { flex: 0 0 auto; padding: 13px 28px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Donation method awaiting its link (Stripe / PayPal go live with the nonprofit) */
.method-value.method-pending {
  color: var(--text-light);
  font-style: italic;
}

/* ========== DONATE AMOUNTS ========== */
.donate-selector {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gift-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}
.gift-toggle-btn {
  padding: 12px 36px;
  border: 2px solid var(--sage);
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--sage-dark);
  cursor: pointer;
  transition: all 0.2s;
}
.gift-toggle-btn:first-child { border-radius: 8px 0 0 8px; }
.gift-toggle-btn:last-child { border-radius: 0 8px 8px 0; border-left: none; }
.gift-toggle-btn.active {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.amount-card {
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}
.amount-card:hover,
.amount-card.selected {
  border-color: var(--sage);
  background: var(--white);
  transform: translateY(-2px);
}

.amount-card .amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--sage-dark);
  display: block;
  margin-bottom: 8px;
}

.amount-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* ========== CONTACT FORM ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--sage-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--cream-dark);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
}
.form-group textarea { resize: vertical; min-height: 160px; }

.contact-info h3 {
  margin-bottom: 32px;
  font-size: 1.8rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}
.contact-info-item .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-item div h4 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: var(--sage-dark);
}

.contact-info-item p {
  font-size: 0.98rem;
  color: var(--text);
}

.contact-info-item a {
  color: var(--sage-dark);
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all var(--transition);
}
.social-icon:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
}

/* ========== IMPACT / INFO CARDS ========== */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
}

.info-card {
  background: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--sage-dark);
}

.info-card ul {
  list-style: none;
  padding: 0;
}

.info-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.98rem;
  color: var(--text);
}

.info-card li::before {
  content: '✓';
  color: var(--sage);
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-card .icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.info-card p {
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 14px;
}

/* ========== BANNER / CTA ========== */
.banner {
  text-align: center;
  padding: 80px 24px;
}

.banner h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.banner p {
  max-width: 680px;
  margin: 0 auto 32px;
  color: var(--text-light);
  font-size: 1.1rem;
}

.banner-sage {
  background: var(--sage-dark);
  color: var(--white);
}
.banner-sage h2 { color: var(--white); }
.banner-sage p { color: rgba(255,255,255,0.85); }

.banner-cream { background: var(--cream); }

/* CTA buttons on the sage banner: white outline so they read clearly as buttons */
.banner-sage .btn {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.banner-sage .btn:hover {
  background: var(--white);
  color: var(--sage-dark);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ========== FOOTER ========== */
.footer {
  background: #4A3F33;
  color: rgba(255,255,255,0.8);
  padding: 60px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer a {
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.footer a:hover { color: var(--white); }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.95rem; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--white);
}

.footer-logo-text small {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-top: 2px;
}

.footer-tagline {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-email {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.8);
}

.footer-email a {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ========== NOTE SECTIONS ========== */
.note-section {
  background: var(--sage-light);
  padding: 48px 36px;
  border-radius: var(--radius);
  max-width: 900px;
  margin: 0 auto;
}

.note-section h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  text-align: center;
  color: var(--sage-dark);
}

.note-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  text-align: center;
  font-style: italic;
}

/* ========== DONATION METHODS (Donate page) ========== */
.donation-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.method-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(78, 94, 70, 0.10);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.method-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.method-card.featured {
  border-color: var(--sage);
  background: linear-gradient(180deg, #FAF6EC 0%, var(--white) 100%);
  grid-column: 1 / -1;
}

.method-label {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brown);
}

.method-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--sage-dark);
  margin: 2px 0 8px;
  font-weight: 600;
}

.method-card .method-value {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text);
  word-break: break-all;
}

.method-card .method-detail {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--text-light);
  margin-top: 2px;
}

.method-card dl {
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  row-gap: 8px;
  column-gap: 16px;
  font-size: 0.95rem;
}
.method-card dl dt {
  font-weight: 600;
  color: var(--sage-dark);
  letter-spacing: 0.02em;
}
.method-card dl dd {
  color: var(--text);
  word-break: break-all;
  font-variant-numeric: tabular-nums;
}

.method-note {
  display: block;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 8px;
  font-style: italic;
}

.method-card a {
  color: var(--brown);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  font-weight: 500;
}
.method-card a:hover { color: var(--terracotta); }

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
  .story-block,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-block.reverse {
    direction: ltr;
  }

  .action-cards,
  .info-cards {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  /* Fix navigation logo text on mobile */
  .nav-logo {
    font-size: 1.32rem;
    gap: 13px;
  }

  .nav-logo-img {
    width: 64px;
    height: 64px;
  }

  .nav-logo-text {
    white-space: normal;
    line-height: 1.3;
  }

  .nav-logo-text small {
    font-size: 0.55rem;
    letter-spacing: 0.13em;
    margin-top: 2px;
  }

  .nav-inner { height: 96px; }

  /* Contact hero: on mobile, don't push text to the right */
  .hero-dark.hero-contact .hero-content {
    margin-left: 0;
    text-align: left;
  }
  .hero-dark.hero-contact .hero-content .btn-group { justify-content: flex-start; }

  .container,
  .section-header,
  .section-centered {
    max-width: 100% !important;
  }

  .section-header p {
    max-width: 100%;
  }

  .hero-content {
    padding: 56px 20px !important;
    max-width: calc(100vw - 40px) !important;
    width: calc(100vw - 40px) !important;
    margin: 0 !important;
  }

  .hero-image.hero-home .hero-content {
    max-width: calc(100vw - 40px) !important;
    width: calc(100vw - 40px) !important;
    padding: 52px 20px !important;
  }

  .hero-image.hero-home .hero-content h1,
  .hero-image .hero-content h1,
  .hero-dark .hero-content h1,
  .hero-simple .hero-content h1 {
    font-size: 1.72rem;
    line-height: 1.18;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-image.hero-home .hero-content h1,
  .hero-dark .hero-content h1,
  .hero-simple .hero-content h1 {
    max-width: 9.6em;
  }

  .hero-image .hero-content p,
  .hero-dark .hero-content p,
  .hero-simple .hero-content p {
    font-size: 1rem;
    line-height: 1.55;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* On mobile the home hero's far-right pan hides Ringo behind the gradient.
     Bring him back to view by softening the overlay and centering him so BOTH eyes show. */
  .hero-image.hero-home .hero-bg { object-position: 60% 30%; }
  .hero-image.hero-home .hero-overlay {
    background: linear-gradient(to bottom, rgba(28,22,16,0.40) 0%, rgba(28,22,16,0.50) 55%, rgba(28,22,16,0.72) 100%);
  }

  /* Contact mobile: bring Ringo's text back inside the viewport. */
  .hero-dark.hero-contact .hero-content {
    margin-right: 0 !important;
    padding-right: 20px !important;
    max-width: calc(100% - 40px) !important;
  }

  .hero-dark.hero-contact .hero-content {
    padding-left: 20px;
  }

  .section { padding: 64px 20px; }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }
  .btn { text-align: center; justify-content: center; }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .donate-selector {
    padding: 28px 20px;
  }

  .amount-grid {
    grid-template-columns: 1fr;
  }

  .donation-methods {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  .method-card {
    padding: 28px 22px;
  }

  h1 { font-size: clamp(2rem, 6vw, 3rem); }
  
  /* Fix footer logo on mobile */
  .footer-logo-text {
    font-size: 1rem;
  }
  
  .footer-logo-text small {
    font-size: 0.55rem;
    letter-spacing: 0.08em;
  }

  /* Force ALL inline grids to single column on mobile */
  .info-cards,
  [style*="grid-template-columns: repeat(2"],
  [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }

  /* Founders stack on mobile */
  .founders-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Story blocks stack */
  .story-block {
    gap: 32px;
  }

  /* Hero min-heights reduced for mobile */
  .hero-image { min-height: 400px; }
  .hero-dark { min-height: 350px; }
  .hero-simple { min-height: 300px; }
}

/* Extra small screens (iPhone SE, etc.) */
@media (max-width: 380px) {
  .nav-logo {
    font-size: 1.05rem;
    gap: 10px;
  }
  
  .nav-logo-img {
    width: 52px;
    height: 52px;
  }
  
  .nav-logo-text small {
    font-size: 0.48rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-content p {
    font-size: 1.05rem;
  }
  
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }
  
  .btn {
    padding: 13px 22px;
    font-size: 0.88rem;
  }

  .container {
    padding: 0 16px;
  }
  
  .section {
    padding: 48px 16px;
  }
}
