:root {
  --coral: #f2643c;
  --coral-dark: #d9502b;
  --cream: #fff8f0;
  --cream-alt: #fbeee0;
  --brown: #4a3428;
  --brown-soft: #7a5c4a;
  --tan: #e8c9a0;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(74, 52, 40, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--brown);
  background: var(--cream);
  line-height: 1.6;
}

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

h1, h2, h3 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.2;
  color: var(--brown);
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

a { color: inherit; text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  border-color: var(--coral);
  color: var(--coral-dark);
}
.btn-ghost:hover {
  background: var(--cream-alt);
  transform: translateY(-2px);
}
.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--tan);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 72px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 1.75rem;
}
.main-nav a {
  font-weight: 600;
  color: var(--brown-soft);
}
.main-nav a:hover { color: var(--coral-dark); }
.nav-donate { padding: 0.55rem 1.3rem; font-size: 0.95rem; }

/* Hero */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(74, 52, 40, 0.72) 0%, rgba(74, 52, 40, 0.55) 55%, rgba(74, 52, 40, 0.8) 100%),
    url('images/sunny.jpg') center 30% / cover no-repeat;
  overflow: hidden;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--tan);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  color: var(--white);
}
.hero-sub {
  max-width: 620px;
  margin: 0 auto 2rem;
  color: var(--cream-alt);
  font-size: 1.1rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-paws {
  margin-top: 3rem;
  font-size: 1.5rem;
  opacity: 0.5;
  letter-spacing: 1.5rem;
}
.hero .btn-ghost {
  border-color: var(--white);
  color: var(--white);
}
.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}
.section-alt {
  background: var(--cream-alt);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.about-text p {
  margin-bottom: 1rem;
  color: var(--brown-soft);
}
.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.about-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--coral-dark);
}
.model-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.model-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--cream-alt);
}
.model-step:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.step-number {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.step-content h4 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.05rem;
  color: var(--brown);
  margin-bottom: 0.35rem;
}
.step-content p {
  color: var(--brown-soft);
  font-size: 0.9rem;
}

.highlight-callout {
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  background: var(--coral);
  color: var(--white);
  border-radius: var(--radius);
  text-align: center;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
}

/* Goal */
.goal-sub {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  color: var(--brown-soft);
  font-size: 1.05rem;
}
.progress-wrap {
  max-width: 640px;
  margin: 0 auto;
}
.progress-bar {
  width: 100%;
  height: 22px;
  background: var(--white);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(74, 52, 40, 0.15);
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--coral) 0%, var(--coral-dark) 100%);
  border-radius: 999px;
  transition: width 0.6s ease;
}
.progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  font-weight: 700;
  color: var(--brown);
}
.progress-note {
  text-align: center;
  color: var(--brown-soft);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}
.goal-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Gallery */
.gallery-sub {
  text-align: center;
  color: var(--brown-soft);
  margin-bottom: 2.5rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  align-items: start;
}
.dog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.dog-photo {
  aspect-ratio: 1;
  background: var(--cream-alt);
  position: relative;
}
.dog-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dog-photo-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--tan);
  border: 2px dashed var(--tan);
  box-sizing: border-box;
}
.dog-name {
  font-size: 1.15rem;
  padding: 1rem 1.25rem 0.25rem;
  color: var(--coral-dark);
}
.dog-story {
  padding: 0 1.25rem 1.25rem;
  color: var(--brown-soft);
  font-size: 0.95rem;
}
.dog-story p {
  margin-bottom: 0.75rem;
}
.dog-story p:last-child {
  margin-bottom: 0;
}
.dog-story details summary {
  cursor: pointer;
  color: var(--coral-dark);
  font-weight: 600;
  font-size: 0.9rem;
  list-style: none;
}
.dog-story details summary::-webkit-details-marker {
  display: none;
}
.dog-story details summary::before {
  content: "▸ ";
}
.dog-story details[open] summary::before {
  content: "▾ ";
}
.dog-story details[open] summary {
  margin-bottom: 0.5rem;
}

/* Contact */
.contact-inner {
  text-align: center;
  max-width: 520px;
}
.contact-inner p {
  color: var(--brown-soft);
  margin: 1rem 0 1.75rem;
}
.organizer {
  font-weight: 600;
  color: var(--brown);
  margin-top: -1rem;
}

/* Footer */
.site-footer {
  background: var(--brown);
  color: var(--cream-alt);
  padding: 2rem 0;
  text-align: center;
}
.footer-fine {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
