:root {
  --ink: #161719;
  --panel: #202124;
  --panel-soft: #2a2c30;
  --paper: #faf7ef;
  --white: #ffffff;
  --gold: #c99a43;
  --red: #8c352a;
  --steel: #6f767d;
  --line: #ded8cd;
  --muted: #5d6268;
  --shadow: 0 18px 42px rgba(13, 14, 16, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 5%;
  color: var(--white);
  background: var(--ink);
  border-bottom: 4px solid var(--gold);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.05;
}

.brand small {
  color: #d5d0c5;
  font-size: 12px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.site-nav a {
  padding: 8px 10px;
  color: #eee9dd;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  color: var(--gold);
}

.page-hero {
  display: grid;
  align-items: end;
  min-height: 410px;
  padding: 72px 5%;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(22, 23, 25, 0.92), rgba(22, 23, 25, 0.76)),
    url("Images/Graphics/8-IMG_4345@2x.jpg") center / cover;
}

.page-hero.compact {
  min-height: 360px;
}

.memory-hero {
  background:
    linear-gradient(90deg, rgba(22, 23, 25, 0.93), rgba(22, 23, 25, 0.72)),
    url("Images/Graphics/7-IMG_3272@2x.jpg") center / cover;
}

.page-hero > div {
  width: min(920px, 100%);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 20px 0 0;
  color: #e5dfd1;
  font-size: 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  min-height: 650px;
  background: var(--panel);
  color: var(--white);
}

.hero-copy {
  display: grid;
  align-content: center;
  padding: 72px 8vw;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
}

h1 {
  max-width: 680px;
  font-size: 62px;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 28px;
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 0;
  color: #e5dfd1;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid var(--gold);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary {
  color: var(--ink);
  background: var(--gold);
}

.button.secondary {
  color: var(--gold);
}

.hero-media {
  position: relative;
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(32, 33, 36, 0.38), transparent 34%);
  z-index: 1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--red);
  color: var(--white);
}

.stats-strip div {
  min-height: 140px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.stats-strip div:last-child {
  border-right: 0;
}

.stats-strip strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.stats-strip span {
  display: block;
  max-width: 280px;
  margin-top: 8px;
  color: #f1e4d1;
  font-size: 14px;
}

.intro,
.roster,
.split-section,
.cta {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.intro {
  padding: 82px 0 54px;
}

.intro p:not(.eyebrow) {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.roster {
  padding: 18px 0 86px;
}

.roster-overview {
  width: min(1120px, 90%);
  margin: 0 auto;
  padding: 76px 0 86px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.profile-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.profile-card.featured {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  align-items: stretch;
}

.profile-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: contain;
  object-position: center;
  background: var(--panel-soft);
}

.profile-grid .profile-card img {
  min-height: 0;
}

.profile-card > div {
  display: grid;
  align-content: start;
  padding: 24px;
}

.profile-card.featured > div {
  padding: 42px;
}

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

.profile-name-link:hover,
.profile-name-link:focus {
  color: var(--red);
  text-decoration: none;
}

.registered-name {
  margin: 12px 0 0;
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.profile-card p:not(.role):not(.registered-name) {
  margin: 16px 0 0;
  color: var(--muted);
}

.profile-card a:not(.button):not(.profile-name-link) {
  display: inline-block;
  margin-top: 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-transform: uppercase;
}

.dog-hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(420px, 1.15fr);
  min-height: 610px;
  color: var(--white);
  background: var(--panel);
}

.dog-hero-copy {
  display: grid;
  align-content: center;
  padding: 72px 8vw;
}

.registered-title {
  max-width: 660px;
  margin: 16px 0 0;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}

.profile-award {
  max-width: 620px;
  margin: 12px 0 0;
  color: #f4ead2;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dog-hero-copy p:not(.eyebrow):not(.registered-title):not(.profile-award) {
  max-width: 580px;
  margin: 22px 0 0;
  color: #e5dfd1;
  font-size: 18px;
}

.dog-hero-copy .button {
  justify-self: start;
  margin-top: 30px;
}

.dog-hero-media {
  position: relative;
  overflow: hidden;
}

.dog-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(32, 33, 36, 0.42), transparent 36%);
  z-index: 1;
}

.dog-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.memory-dog-hero .dog-hero-media img {
  object-fit: contain;
  object-position: center;
  padding: 16px;
  background: var(--panel-soft);
}

.dog-profile,
.pedigree-section,
.photo-section {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.dog-profile {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(360px, 1.15fr);
  gap: 24px;
  padding: 78px 0 66px;
}

.dog-profile-single {
  grid-template-columns: 1fr;
}

.fact-panel,
.bio-panel {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.fact-panel {
  align-self: start;
  padding: 28px;
}

.fact-panel p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
}

.fact-panel strong {
  color: var(--ink);
}

.fact-list {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 10px 16px;
  margin: 0;
}

.fact-list dt {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.bio-panel {
  padding: 34px;
}

.bio-panel h2 {
  margin-bottom: 20px;
}

.bio-panel p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
}

.bio-panel a,
.fact-panel a {
  color: var(--red);
  font-weight: 800;
}

.pedigree-section {
  padding: 0 0 74px;
}

.pedigree-scroll {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.pedigree-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.pedigree-table td {
  padding: 9px;
  border: 1px solid var(--line);
  background: #f3f0eb;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
  vertical-align: middle;
}

.photo-section {
  padding: 0 0 88px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.award-section {
  width: min(1120px, 90%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: 24px;
  align-items: center;
  padding: 0 0 74px;
}

.award-image img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: var(--panel-soft);
  box-shadow: var(--shadow);
}

.award-copy {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.award-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.litter-layout,
.memory-layout,
.feature-profile,
.gallery-section,
.contact-layout {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.litter-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: 24px;
  align-items: stretch;
  padding: 76px 0 66px;
}

.memory-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(300px, 0.92fr);
  gap: 24px;
  align-items: stretch;
  padding: 76px 0 88px;
}

.memory-layout-single {
  grid-template-columns: 1fr;
}

.status-panel,
.stud-card,
.feature-profile-copy,
.contact-card,
.resource-card,
.memory-panel,
.memory-note {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.status-panel {
  display: grid;
  align-content: center;
  padding: 38px;
}

.status-panel p:not(.eyebrow),
.contact-card p:not(.eyebrow),
.resource-card p:not(.eyebrow),
.memory-panel p:not(.eyebrow),
.memory-note p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.memory-panel,
.memory-note {
  display: grid;
  align-content: center;
  padding: 38px;
}

.memory-panel {
  border-top: 5px solid var(--gold);
}

.memory-note {
  background: var(--panel);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
}

.memory-note p:not(.eyebrow) {
  color: #d9d3c8;
}

.memory-roster {
  width: min(1120px, 90%);
  margin: 0 auto;
  padding: 0 0 88px;
}

.memory-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.memory-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.memory-card-image {
  display: block;
  background: var(--panel-soft);
}

.memory-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: contain;
  object-position: center;
  padding: 8px;
}

.memory-card > div {
  padding: 18px;
}

.memory-card p:not(.role) {
  margin: 14px 0 0;
  color: var(--muted);
}

.button.secondary.dark {
  color: var(--ink);
}

.stud-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.stud-card > div {
  padding: 26px;
}

.feature-profile {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(340px, 1.14fr);
  gap: 24px;
  align-items: stretch;
  padding: 76px 0 88px;
}

.feature-profile-image img {
  width: 100%;
  height: 100%;
  max-height: 760px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.feature-profile-copy {
  display: grid;
  align-content: center;
  padding: 38px;
}

.gallery-section {
  padding: 76px 0 88px;
}

.masonry-gallery {
  columns: 3 280px;
  column-gap: 16px;
}

.masonry-gallery img {
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  padding: 76px 0 88px;
}

.contact-card,
.resource-card {
  padding: 34px;
}

.contact-card {
  display: grid;
  align-content: center;
}

.contact-email {
  margin-top: 18px;
  color: var(--red);
  font-weight: 900;
}

.contact-image img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.resource-card {
  grid-column: 1 / -1;
}

.resource-card a {
  color: var(--red);
  font-weight: 900;
}

.section-heading {
  margin-bottom: 28px;
}

.dog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.dog-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.dog-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  background: var(--panel-soft);
}

.dog-info {
  padding: 18px;
}

.role {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.dog-info p:not(.role) {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.dog-info a:not(.profile-name-link) {
  display: inline-block;
  margin-top: 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-transform: uppercase;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  gap: 56px;
  padding: 54px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-section p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
}

.cta {
  padding: 82px 0;
  text-align: center;
}

.cta h2 {
  max-width: 680px;
  margin: 0 auto 26px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 5%;
  color: #eee9dd;
  background: var(--ink);
  border-top: 4px solid var(--gold);
}

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

.site-footer span {
  color: #cfc8ba;
}

.home-footer {
  display: flex;
  justify-content: space-between;
}

.home-footer a {
  justify-self: start;
}

.home-footer span {
  margin-left: auto;
  text-align: right;
}

@media (max-width: 960px) {
  .site-header,
  .hero,
  .dog-hero,
  .dog-profile,
  .award-section,
  .litter-layout,
  .memory-layout,
  .feature-profile,
  .contact-layout,
  .profile-card.featured,
  .split-section {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: start;
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    min-height: 420px;
  }

  .dog-hero {
    min-height: 0;
  }

  .dog-hero-media {
    min-height: 420px;
    order: -1;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  .registered-title {
    font-size: 24px;
  }

  .stats-strip,
  .dog-grid,
  .profile-grid,
  .memory-card-grid,
  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 16px 18px;
  }

  .hero-copy {
    padding: 52px 24px;
  }

  .hero-media {
    min-height: 330px;
  }

  .dog-hero-copy {
    padding: 52px 24px;
  }

  .dog-hero-media {
    min-height: 330px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 29px;
  }

  .registered-title {
    font-size: 21px;
  }

  .stats-strip,
  .dog-grid,
  .profile-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .stats-strip div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
}
