:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --cream: #FDFBD4;
  --cream-dark: #e8e4c8;
  --gold: var(--cream);
  --gold-dark: var(--cream-dark);
  --gray-dark: #f5f5f4;
  --gray: #e7e5e4;
  --text-light: #0a0a0a;
  --text-muted: #57534e;
  --accent-red: #ef4444;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #fffef8;
  color: var(--text-light);
  line-height: 1.6;
}

/* Header & Navigation */
header {
  background: linear-gradient(to bottom, #ffffff, #fffef8);
  padding: 1.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--gray);
}

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

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  color: var(--black);
  text-decoration: none;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.logo .logo-img {
  height: 2.2em;
  width: auto;
  object-fit: contain;
  align-self: center;
}

/*
 * Wordmark: width follows “FREEDOM” (normal kerning). Second row matches
 * that width; only the gap between DOG and CO grows so D|F and O|M line up.
 */
.logo .logo-text {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  line-height: 1.1;
  flex-shrink: 0;
  width: max-content;
  max-width: 100%;
}

.logo .logo-line:first-child {
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.logo .logo-line:last-child {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  column-gap: 0.35em;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.logo .logo-line:only-child {
  display: block;
}

.logo .logo-w {
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s;
  text-align: center;
}

.nav-links a:hover {
  color: var(--gold);
}

/* Burger menu (mobile) */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--black);
  border-radius: 8px;
  cursor: pointer;
  color: var(--black);
  transition: background 0.2s, border-color 0.2s;
  box-sizing: border-box;
}

.burger-btn:hover {
  background: var(--cream);
  border-color: var(--black);
}

.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.burger-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  header {
    padding: 1rem 1.25rem;
  }

  nav {
    flex-wrap: wrap;
  }

  .burger-btn {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  .logo {
    order: 1;
    font-size: 2.2rem;
  }

  .nav-links {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-top: 1px solid var(--gray);
    margin-top: 0.75rem;
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--gray);
    font-size: 1.05rem;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }
}

/* Hero Section — image is top layer so it stays crisp; gradient only behind */
.hero {
  background:
    url('images/home-page-hero.jpeg') center/cover no-repeat,
    linear-gradient(180deg, #fffef8 0%, #f5f4ef 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
}

.hero-content {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(1.25rem, 4vw, 2.75rem) clamp(1.5rem, 5vw, 3rem);
  border-radius: 22px;
  /* Light veil so the photo stays visible; readability from text-shadow */
  background: rgba(255, 254, 248, 0.35);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 6px 24px rgba(10, 10, 10, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 7rem;
  color: var(--black);
  line-height: 0.95;
  margin-bottom: 1.5rem;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 1),
    0 0 2px rgba(255, 255, 255, 1),
    0 0 28px rgba(255, 255, 255, 0.9),
    0 1px 3px rgba(0, 0, 0, 0.28),
    0 2px 14px rgba(0, 0, 0, 0.18);
}

.hero p {
  font-size: 1.6rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #1c1917;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 1),
    0 0 20px rgba(255, 255, 255, 0.85),
    0 1px 3px rgba(0, 0, 0, 0.22);
}

.hero-buttons {
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  padding: 1.2rem 3rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(253, 251, 212, 0.28);
}

.btn:hover {
  background: var(--gold-dark);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(253, 251, 212, 0.35);
}

.secondary-btn {
  background: transparent;
  border: 2px solid var(--black);
  color: var(--black);
  margin-left: 1.5rem;
}

.secondary-btn:hover {
  background: var(--cream);
  border-color: var(--cream-dark);
  color: var(--black);
}

/* Stats Section */
.stats {
  background: var(--gray-dark);
  padding: 4rem 2rem;
  text-align: center;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.stat-item .stat {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* Footer */
footer {
  background: #ffffff;
  padding: 3rem 2rem;
  color: var(--text-muted);
  border-top: 1px solid var(--gray);
}

footer.footer-centered {
  text-align: center;
}

.footer-tagline {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ──────────────────────────────────────────────── */
/* Adoptable Dogs Page Styles – added below         */

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5.5rem;
  color: var(--black);
  text-align: center;
  margin-bottom: 0.8rem;
  line-height: 1;
  text-shadow: none;
}

.page-subtitle {
  text-align: center;
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.filters {
  background: var(--gray-dark);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  border: 1px solid var(--gray);
}

.filters select,
.filters input {
  background: var(--white);
  color: var(--text-light);
  border: 1px solid var(--gray);
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  font-size: 1rem;
  min-width: 180px;
  cursor: pointer;
}

.filters button {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s;
}

.filters button:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.dogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.dog-card {
  position: relative;
  background: var(--gray-dark);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.dog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(253, 251, 212, 0.2);
  border-color: var(--gold);
}

.dog-card img {
  width: 100%;
  height: 300px;              /* slightly taller for safer crop */
  object-fit: cover;          /* keep aspect ratio, no stretch */
  object-position: center top;/* bias toward faces at top */
}

.status-ribbon {
  position: absolute;
  top: 0.9rem;
  left: -1.2rem;
  padding: 0.3rem 1.8rem;
  background: var(--gold);
  color: var(--black);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transform: rotate(-45deg);
  transform-origin: left top;
  box-shadow: 0 6px 16px rgba(0,0,0,0.45);
}

.status-ribbon.status-available {
  background: #22C55E; /* green */
  color: #052e16;
}

.status-ribbon.status-adopted {
  background: #6B7280; /* gray */
  color: #020617;
}

.status-ribbon.status-rest {
  background: #F97316; /* orange */
  color: #02131c;
}

.status-ribbon.status-other {
  background: var(--gold);
  color: var(--black);
}

.status-ribbon.status-urgent {
  background: var(--accent-red);
  color: #fef2f2;
}

.status-ribbon.status-reserved {
  background: #6366F1; /* indigo */
  color: #e0e7ff;
}

.status-ribbon.status-trial {
  background: #0EA5E9; /* sky */
  color: #e0f2fe;
}

.status-ribbon.status-recovery {
  background: #EC4899; /* pink */
  color: #fdf2f8;
}

.status-ribbon.status-special {
  background: #FACC15; /* amber */
  color: #422006;
}

.card-content {
  padding: 1.5rem;
  text-align: center;
}

.card-content .badges {
  justify-content: center;
}

.dog-info {
  padding: 1.5rem;
  text-align: center;
}

.dog-info .badges {
  justify-content: center;
}

.card-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.6rem;
  color: var(--black);
  margin: 0 0 1.25rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.dog-card-actions {
  margin: 1rem 0 0;
}

.dog-card-more-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--gold);
  color: var(--black);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
}

.dog-card:hover .dog-card-more-btn {
  background: var(--gold-dark);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.badge {
  background: var(--gray);
  color: var(--text-light);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}

.badge.age       { background: #3B82F6; }
.badge.size      { background: #8B5CF6; }
.badge.gender.male   { background: #60A5FA; }
.badge.gender.female { background: #F472B6; }
.badge.urgent    { background: var(--accent-red); color: white; }

.bio {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 1.3rem;
}

/* Contact form (editable via Page Updater; can be wired to Formspree, Netlify Forms, etc.) */
.contact-form-wrapper {
  margin-top: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--gray-dark);
  border: 1px solid var(--gray);
  border-radius: 8px;
  color: var(--text-light);
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(253, 251, 212, 0.25);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.contact-form-success {
  color: var(--gold);
  font-weight: 600;
  padding: 1rem 0;
}

.application-links-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray);
  text-align: center;
}

.application-links-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.help-faq-list {
  margin-top: 0.5rem;
}

/* Events page */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}

.event-card {
  background: var(--gray-dark);
  border: 1px solid var(--gray);
  border-radius: 12px;
  padding: 1.25rem;
}

.event-date {
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.event-type {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.event-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--black);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.event-description {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.faq-item + .faq-item {
  margin-top: 1rem;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--gray-dark);
  color: var(--text-light);
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  border: 1px solid var(--gray);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.faq-question .faq-arrow {
  font-size: 1.4rem;
}

.faq-answer {
  margin-top: 0.4rem;
  padding: 0.9rem 1.2rem 1.1rem;
  background: #ffffff;
  border-radius: 0 0 10px 10px;
  border-left: 1px solid var(--gray);
  border-right: 1px solid var(--gray);
  border-bottom: 1px solid var(--gray);
  font-size: 1rem;
  color: var(--text-muted);
}

.btn-meet {
  background: var(--gold);
  color: var(--black);
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  display: inline-block;
  transition: all 0.3s;
}

.btn-meet:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.no-results {
  text-align: center;
  padding: 5rem 1rem;
  font-size: 1.6rem;
  color: var(--text-muted);
}

.announcement-bar {
  background: #FACC15;
  color: #111827;
  text-align: center;
  padding: 0.7rem 1rem;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.ad-slot {
  width: 100%;
  max-width: 1200px;
  margin: 0.75rem auto;
  padding: 0 1rem;
}

.ad-card {
  display: block;
  border: 1px solid var(--gray);
  border-radius: 12px;
  overflow: hidden;
  background: var(--gray-dark);
}

.ad-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: cover;
}

.footer-links {
  margin-top: 1rem;
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.footer-social {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.footer-social-a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-social-a:hover {
  opacity: 0.85;
}

.footer-social-a svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-title {
    font-size: 4rem;
  }
  .page-subtitle {
    font-size: 1.3rem;
  }
  .filters {
    flex-direction: column;
    align-items: stretch;
  }
  .filters select,
  .filters input,
  .filters button {
    min-width: auto;
  }
}

.nav-links a.active {
  background: var(--gold);
  color: var(--black);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  padding: 0.55rem 1.15rem;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 20px rgba(253, 251, 212, 0.28);
  transition: all 0.3s;
  box-sizing: border-box;
}

.nav-links a.active:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(253, 251, 212, 0.35);
}
/* Modal Popup Styles */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: #ffffff;
  border: 1px solid var(--gray);
  border-radius: 16px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  transform: scale(0.8);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.modal.show .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--gold);
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s, transform 0.3s;
}

.modal-close:hover,
.modal-close:focus {
  color: var(--gold-dark);
  transform: rotate(90deg);
}

.modal-header {
  padding: 2rem 2rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--gray);
}

.modal-photo {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  object-position: center top;
  border-bottom: 1px solid var(--gray);
}

.modal-body {
  padding: 2rem;
}

.full-bio {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.details-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 2rem;
  font-size: 1.1rem;
}

.details-label {
  font-weight: 600;
  color: var(--gold);
  text-align: right;
}

.details-value {
  color: var(--text-muted);
}

/* Responsive modal */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 95vh;
  }
  .modal-body {
    padding: 1.5rem;
  }
  .details-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .details-label {
    text-align: left;
  }
}

/* =========================================================
   FREEDOM DOG CO — logo palette: black, white, cream #FDFBD4
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --cream: #FDFBD4;
  --cream-dark: #e8e4c8;
  --cream-deep: #d4d0b0;
  --gray-dark: #f5f5f4;
  --gray: #e7e5e4;
  --text-light: #0a0a0a;
  --text-muted: #57534e;
  --accent-red: #f43f5e;
  --gold: var(--cream);
  --gold-dark: var(--cream-dark);
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(1200px 520px at 0% -5%, rgba(253, 251, 212, 0.45), transparent 55%),
    radial-gradient(900px 460px at 100% 5%, rgba(255, 255, 255, 0.9), transparent 50%),
    linear-gradient(180deg, #fffef8 0%, #ffffff 45%, #fafaf9 100%);
  color: var(--text-light);
}

header {
  position: sticky;
  top: 0;
  margin: 0 auto;
  width: min(1200px, calc(100% - 2rem));
  border-radius: 16px;
  border: 1px solid rgba(10, 10, 10, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(10, 10, 10, 0.06);
}

nav {
  max-width: none;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  flex-wrap: wrap;
  row-gap: 0.5rem;
  align-items: center;
}

.logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.45rem;
  color: var(--black);
  letter-spacing: 0.02em;
  flex-shrink: 0;
  min-width: 0;
  max-width: min(48vw, 20rem);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  min-width: 0;
  flex: 1 1 auto;
  margin-left: auto;
}

.nav-links a {
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #44403c;
}

.nav-links a:hover {
  color: var(--black);
  background: rgba(253, 251, 212, 0.55);
}

.nav-links a.active {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  color: var(--black);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  padding: 0.45rem 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: 0 8px 20px rgba(253, 251, 212, 0.25);
  box-sizing: border-box;
}

/* Rebrand block above sets `.nav-links { display: flex }` for all widths; restore collapsible menu on small screens */
@media (max-width: 768px) {
  header nav .nav-links:not(.nav-open) {
    display: none;
  }

  header nav .nav-links.nav-open {
    display: flex;
  }
}

.hero {
  border-radius: 26px;
  margin: 1.2rem auto 0;
  width: min(1200px, calc(100% - 2rem));
  min-height: 72vh;
  overflow: hidden;
  border: 1px solid rgba(10, 10, 10, 0.08);
  box-shadow: 0 20px 48px rgba(10, 10, 10, 0.08);
}

.hero-content {
  max-width: 820px;
}

.hero h1,
.page-title {
  font-family: 'Sora', sans-serif;
  color: var(--black);
  text-transform: none;
  letter-spacing: -0.02em;
}

.page-title {
  text-shadow: none;
}

.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  line-height: 1.08;
  word-spacing: 0.04em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 1),
    0 0 2px rgba(255, 255, 255, 1),
    0 0 24px rgba(255, 255, 255, 0.88),
    0 1px 3px rgba(0, 0, 0, 0.26),
    0 2px 12px rgba(0, 0, 0, 0.16);
}

.hero p,
.page-subtitle,
.bio,
.event-description {
  color: var(--text-muted);
}

.hero p {
  color: #1c1917;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 1),
    0 0 18px rgba(255, 255, 255, 0.82),
    0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn,
.filters button,
.btn-meet {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  color: var(--black);
  box-shadow: 0 12px 28px rgba(253, 251, 212, 0.22);
}

.btn:hover,
.filters button:hover,
.btn-meet:hover {
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream-deep) 100%);
}

.secondary-btn {
  background: transparent;
  border: 2px solid var(--black);
  color: var(--black);
}

.secondary-btn:hover {
  background: var(--cream);
  border-color: var(--cream-dark);
  color: var(--black);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.1rem;
}

.hero-buttons .btn {
  margin: 0;
}

.stats,
.filters,
.dog-card,
.event-card,
.faq-question,
.modal-content,
.contact-form input,
.contact-form textarea,
.page-container,
footer {
  border: 1px solid rgba(10, 10, 10, 0.08);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 28px rgba(10, 10, 10, 0.06);
}

.page-container {
  border-radius: 18px;
  padding: 2.2rem 1.3rem;
}

.filters select,
.filters input,
.contact-form input,
.contact-form textarea {
  background: #ffffff;
  border: 1px solid var(--gray);
}

.dog-card,
.event-card {
  border-radius: 16px;
}

.dog-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(10, 10, 10, 0.15);
  box-shadow: 0 12px 36px rgba(10, 10, 10, 0.1);
}

.status-ribbon {
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
  color: var(--black);
}

.announcement-bar {
  background: linear-gradient(90deg, var(--cream) 0%, var(--cream-dark) 100%);
  color: var(--black);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
}

.ad-slot {
  max-width: 1200px;
  margin: 1rem auto;
}

.ad-card {
  border: 1px solid rgba(10, 10, 10, 0.08);
  background: #ffffff;
}

footer {
  margin: 1.2rem auto 1rem;
  width: min(1200px, calc(100% - 2rem));
  border-radius: 16px;
  text-align: center;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--black);
}

@media (max-width: 1280px) and (min-width: 769px) {
  header {
    top: 0;
    width: min(1200px, calc(100% - 1rem));
    padding: 0.75rem 0.95rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .nav-links {
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-links a {
    padding: 0.3rem 0.62rem;
    font-size: 0.82rem;
  }

  .nav-links a.active {
    font-size: 0.82rem;
    padding: 0.35rem 0.72rem;
  }
}