:root {
  --bg: #383838;
  --bg-deep: #2e2e2e;
  --panel: rgba(20, 20, 20, 0.55);
  --panel-border: rgba(255, 154, 23, 0.22);
  --accent: #ff9a17;
  --accent-soft: #ffbf66;
  --text: #f4e7d2;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(255, 154, 23, 0.16), transparent 28%),
    linear-gradient(180deg, #404040 0%, var(--bg) 24%, var(--bg-deep) 100%);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at top, rgba(255, 154, 23, 0.16), transparent 28%),
    linear-gradient(180deg, #404040 0%, var(--bg) 24%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
  min-height: 100vh;
  min-height: 100dvh;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 44px clamp(22px, 4vw, 38px);
  border: 1px solid var(--panel-border);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 154, 23, 0.12), rgba(0, 0, 0, 0.08)),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -90px -100px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 154, 23, 0.2), transparent 68%);
  pointer-events: none;
}

.hero-copy {
  max-width: 860px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-soft);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: clamp(0.72rem, 0.6rem + 0.35vw, 0.88rem);
  font-weight: 600;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.95;
}

h1 {
  font-size: clamp(2.2rem, 1.25rem + 4.9vw, 5.4rem);
  color: var(--accent);
  text-wrap: balance;
}

.intro {
  max-width: 720px;
  margin: 16px 0 0;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.95rem, 0.84rem + 0.45vw, 1.14rem);
  line-height: clamp(1.5, 1.42 + 0.25vw, 1.72);
  color: rgba(244, 231, 210, 0.9);
  text-wrap: balance;
}

.heritage-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
}

.heritage-strip p {
  margin: 0;
  padding: 14px 16px;
  text-align: center;
  color: rgba(244, 231, 210, 0.78);
  font-size: clamp(0.86rem, 0.8rem + 0.2vw, 0.95rem);
  line-height: 1.5;
  border-top: 1px solid rgba(255, 154, 23, 0.18);
  border-bottom: 1px solid rgba(255, 154, 23, 0.18);
  background: linear-gradient(180deg, rgba(255, 154, 23, 0.03), rgba(255, 255, 255, 0.01));
}

.breed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.breed-card {
  display: grid;
  grid-template-rows: 320px auto;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.18)),
    var(--panel);
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.breed-card:hover,
.breed-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(255, 154, 23, 0.55);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.image-wrap {
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 24px 24px;
  background:
    radial-gradient(circle at center, rgba(255, 154, 23, 0.18), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.18));
}

.image-wrap::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 154, 23, 0.08);
}

.breed-photo {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 248px;
  border-radius: 18px;
  transition: transform 240ms ease;
}

.breed-photo.contain {
  object-fit: contain;
}

.breed-photo.cover {
  object-fit: cover;
}

.breed-photo.top {
  object-position: center top;
}

.breed-photo.cutout {
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.3));
}

.image-wrap-tall .breed-photo {
  max-height: 258px;
}

.breed-card:hover .image-wrap img,
.breed-card:focus-visible .image-wrap img {
  transform: scale(1.04);
}

.card-copy {
  padding: 24px 24px 26px;
}

.card-copy h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--accent);
}

.card-copy p {
  margin: 12px 0 18px;
  line-height: 1.7;
  color: rgba(244, 231, 210, 0.82);
}

.card-copy span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-soft);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.card-copy span::after {
  content: "→";
  font-size: 1.1rem;
}

.welcome-banner {
  margin-top: 28px;
  padding: 18px 24px;
  border: 1px solid rgba(255, 154, 23, 0.28);
  border-radius: 999px;
  background: rgba(255, 154, 23, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.welcome-banner p {
  margin: 0;
  text-align: center;
  color: var(--accent);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  .hero {
    padding: 34px 18px 30px;
    border-radius: 24px;
  }

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

  .heritage-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 540px) {
  .breed-card {
    grid-template-rows: 280px auto;
    border-radius: 22px;
  }

  .card-copy {
    padding: 20px;
  }

  .welcome-banner {
    border-radius: 24px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .eyebrow,
  .intro {
    text-wrap: pretty;
  }
}
