:root {
  --mist-blue: #6b8cae;
  --forest: #1a2f23;
  --deep-green: #0f1f18;
  --gold: #c9a86c;
  --cream: #f4efe6;
  --warm-white: #faf7f2;
  --burgundy: #5c2a2a;
  --soft-pink: #d4a5a5;
  --ink: #1c1714;
  --overlay: rgba(15, 31, 24, 0.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cormorant Garamond", Georgia, serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 1.15rem;
}

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

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

/* NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--deep-green);
  border-bottom: 1px solid rgba(201, 168, 108, 0.35);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  gap: 1rem;
}

.brand {
  font-family: "Great Vibes", cursive;
  font-size: 1.85rem;
  color: var(--gold);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.4rem;
  list-style: none;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links a {
  color: #e8dcc4;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* HERO */
.hero {
  position: relative;
  min-height: 88vh;
  background-size: cover;
  background-position: center 40%;
  display: flex;
  align-items: flex-end;
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 31, 24, 0.82) 0%,
    rgba(15, 31, 24, 0.25) 45%,
    rgba(15, 31, 24, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 3.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}

.hero h1 {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: #fff8ea;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.hero .tag {
  font-family: "Cinzel", serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.contact-card {
  background: rgba(15, 31, 24, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 168, 108, 0.35);
  padding: 1.1rem 1.3rem;
  border-radius: 4px;
  min-width: 280px;
}

.contact-card p {
  font-family: "Cinzel", serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.contact-card a,
.contact-card .owner {
  display: block;
  color: #f4efe6;
  font-size: 1.05rem;
  font-family: "Cormorant Garamond", serif;
}

.btn {
  display: inline-block;
  margin-top: 1.2rem;
  background: #3d6b3a;
  color: #fff;
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.75rem 1.2rem;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  background: #4d8549;
  transform: translateY(-1px);
}

/* LAYOUT */
.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.wide {
  max-width: 1100px;
}

.section-kicker {
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.4rem;
}

h2 {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.prose p {
  margin-bottom: 1.15rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* POEM */
.poem {
  background: var(--forest);
  color: var(--cream);
  padding: 5rem 1.5rem;
}

.poem .wrap {
  padding: 0;
}

.poem h2 {
  color: var(--gold);
}

.poem h3 {
  font-family: "Great Vibes", cursive;
  font-size: 1.8rem;
  color: #e8dcc4;
  margin: 2rem 0 0.6rem;
  font-weight: 400;
}

.poem p {
  max-width: 640px;
  font-size: 1.2rem;
  color: #efe6d6;
}

.poem .close {
  margin-top: 2rem;
  font-style: italic;
  color: var(--gold);
}

/* GRID CARDS */
.dog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 320px));
  justify-content: center;
  gap: 1.6rem;
  margin-top: 2rem;
}

.dog-card {
  background: var(--warm-white);
  border: 1px solid rgba(26, 47, 35, 0.08);
  overflow: visible;
  box-shadow: 0 12px 30px rgba(26, 47, 35, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.dog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(26, 47, 35, 0.14);
}

.dog-card img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center top;
  background: #f4efe6;
}

.dog-card figcaption {
  padding: 0.9rem 1rem 1.1rem;
  text-align: center;
}

.dog-card .name {
  font-family: "Great Vibes", cursive;
  font-size: 1.9rem;
  color: var(--forest);
}

.dog-card .meta {
  font-family: "Cinzel", serif;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-top: 0.2rem;
}

/* PAGE HERO SMALL */
.page-hero {
  position: relative;
  min-height: 38vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 31, 24, 0.55);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem;
}

.page-hero h1 {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 400;
}

.page-hero p {
  font-family: "Cinzel", serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
}

/* AVAILABLE BANNER */
.notice {
  background: linear-gradient(135deg, #5c2a2a, #8b3a4a);
  color: #fff8ea;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.notice h2 {
  color: #fff8ea;
  margin-bottom: 0.8rem;
}

.notice p {
  max-width: 640px;
  margin: 0 auto 0.8rem;
  font-size: 1.2rem;
}

/* FOOTER */
footer {
  background: var(--deep-green);
  color: #d9cdb4;
  text-align: center;
  padding: 2.2rem 1.5rem;
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

footer a {
  color: var(--gold);
}

@media (max-width: 800px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
  .nav-inner {
    flex-direction: column;
    padding: 0.7rem 1rem;
  }
  .nav-links {
    justify-content: center;
    font-size: 0.62rem;
    gap: 0.2rem 0.9rem;
  }
  .dog-card img {
    height: auto;
    max-height: none;
  }
}
