/* ─── Fonts & Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 1.15rem;
  background-color: #fdf6ec;
  color: #3d2b1f;
  line-height: 1.7;
}

/* ─── Header ────────────────────────────────────────────────── */
header {
  background-color: #4a2f1a;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(180, 100, 40, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(140, 70, 20, 0.2) 0%, transparent 60%);
  color: #fdf0dc;
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
  border-bottom: 4px solid #c1763a;
}

.header-inner { max-width: 800px; margin: 0 auto; }

header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fdf0dc;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

header h1 .amp {
  color: #d4895a;
  font-style: italic;
}

.tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #e8c9a0;
  margin-top: 0.4rem;
  margin-bottom: 1.8rem;
}

nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

nav a {
  color: #fdf0dc;
  text-decoration: none;
  font-family: 'Crimson Text', serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 2rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

nav a:hover,
nav a.nav-active {
  background: rgba(193, 118, 58, 0.35);
  border-color: #d4895a;
  color: #fff;
}

.home-link {
  color: inherit;
  text-decoration: none;
}

/* ─── Section Titles ────────────────────────────────────────── */
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #4a2f1a;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #c1763a;
  border-radius: 2px;
  margin: 0.6rem auto 0;
}

/* ─── Cat Grid ──────────────────────────────────────────────── */
#cats {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.cat-card {
  background: #fff9f2;
  border: 1.5px solid #e8c9a0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(74, 47, 26, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(74, 47, 26, 0.14);
}

/* Photo placeholder — same dimensions as a portrait photo */
.photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #f2d9bc, #e8c4a0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-bottom: 1.5px dashed #d4a97a;
  color: #7a5232;
  font-style: italic;
  font-size: 0.95rem;
}

.photo-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.7;
}

/* Real cat photo — same aspect ratio as placeholder */
.cat-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-bottom: 1.5px solid #e8c9a0;
}

.cat-info {
  padding: 1.4rem 1.5rem 1.6rem;
}

.cat-info h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #4a2f1a;
  margin-bottom: 0.2rem;
}

.cat-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c1763a;
  background: #fdecd8;
  border: 1px solid #e8c9a0;
  border-radius: 2rem;
  padding: 0.15rem 0.7rem;
  margin-bottom: 0.6rem;
}

.cat-bio {
  color: #5a3d28;
  font-size: 1.05rem;
  margin-top: 0.4rem;
}

/* ─── News ──────────────────────────────────────────────────── */
#news {
  background: #f5e8d4;
  border-top: 2px solid #e8c9a0;
  border-bottom: 2px solid #e8c9a0;
  padding: 4rem 1.5rem;
}

.news-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.news-item {
  background: #fff9f2;
  border: 1.5px solid #e8c9a0;
  border-radius: 12px;
  padding: 1.5rem 1.8rem;
  box-shadow: 0 2px 10px rgba(74, 47, 26, 0.06);
}

.news-date {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c1763a;
  margin-bottom: 0.4rem;
}

.news-item h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  color: #4a2f1a;
  margin-bottom: 0.5rem;
}

.news-item p {
  color: #5a3d28;
}

/* ─── Winston's Bird Count ──────────────────────────────────── */
#winston {
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ─── Bird Scene Animation ──────────────────────────────────── */
.bird-scene {
  width: 100%;
  max-width: 480px;
  border-radius: 20px 20px 0 0;
  border: 2px solid #c1763a;
  border-bottom: none;
  overflow: hidden;
  line-height: 0;
}

.scene-gif {
  width: 100%;
  height: auto;
  display: block;
}

.count-box {
  background: #4a2f1a;
  background-image: radial-gradient(ellipse at center, #6b3f20 0%, #3a2010 100%);
  color: #fdf0dc;
  border-radius: 0 0 20px 20px;
  text-align: center;
  padding: 3rem 4rem;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(74, 47, 26, 0.35);
  border: 2px solid #c1763a;
}

.count-eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e8c9a0;
  margin-bottom: 1rem;
}

.count-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(5rem, 15vw, 8rem);
  font-weight: 700;
  color: #d4895a;
  line-height: 1;
  text-shadow: 0 4px 20px rgba(212, 137, 90, 0.4);
}

.count-label {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-style: italic;
  color: #e8c9a0;
  margin-top: 0.3rem;
  margin-bottom: 1.5rem;
}

.count-footer {
  font-size: 0.95rem;
  color: #c4a07a;
  font-style: italic;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.2rem;
}

/* ─── Winston Kill Date ─────────────────────────────────────── */
.count-last-kill {
  font-size: 0.95rem;
  color: #e8c9a0;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.count-last-kill span {
  color: #d4895a;
  font-weight: 600;
}

/* ─── Gallery ───────────────────────────────────────────────── */
#gallery {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.gallery-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid #e8c9a0;
  box-shadow: 0 4px 14px rgba(74, 47, 26, 0.1);
  background: #fff9f2;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(74, 47, 26, 0.16);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  color: #7a5232;
  text-align: center;
  padding: 0.6rem 1rem;
  background: #fff9f2;
}

/* ─── Footer ────────────────────────────────────────────────── */
footer {
  background: #3a2010;
  color: #c4a07a;
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.9rem;
}

footer .footer-sub {
  font-style: italic;
  color: #8a6a50;
  font-size: 0.82rem;
  margin-top: 0.4rem;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .count-box { padding: 2.5rem 2rem; }
  nav { gap: 0.4rem; }
  nav a { font-size: 0.85rem; padding: 0.35rem 0.85rem; }
}
