:root {
  --ink: #221f1b;
  --muted: #706a62;
  --paper: #fbf8f2;
  --panel: #ffffff;
  --wine: #4c1114;
  --wine-deep: #2c080a;
  --gold: #c9a35a;
  --sage: #6f7d68;
  --line: rgba(34, 31, 27, 0.14);
  --shadow: 0 24px 70px rgba(34, 31, 27, 0.18);
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(44, 8, 10, 0.92);
  color: #fff;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  letter-spacing: 0;
  justify-self: start;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.home-page .brand {
  display: none;
}

.brand span {
  white-space: nowrap;
}

.main-nav {
  grid-column: 2;
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.main-nav a,
.social-strip a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
}

.main-nav a {
  min-height: 42px;
  padding: 0 11px;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.025em;
  white-space: nowrap;
  transition: color 180ms ease, border-color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: transparent;
  border-bottom-color: var(--gold);
  color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.social-strip a:hover,
.social-strip a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.social-strip {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 6px;
}

.social-strip a {
  width: 36px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 11px;
  text-transform: uppercase;
}

.social-strip a:not(.back-link) span {
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-transform: none;
}

.social-strip .social-instagram span {
  font-size: 22px;
  font-weight: 400;
}

.social-strip .social-phone span,
.social-strip .social-whatsapp span {
  border: 0;
  font-size: 18px;
}

.social-strip .back-link {
  width: 44px;
  min-height: 44px;
  border-color: rgba(201, 163, 90, 0.72);
  background: rgba(201, 163, 90, 0.08);
  color: var(--gold);
  font-size: 23px;
  text-transform: none;
}

.social-strip .back-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--wine-deep);
}

.home-page .social-strip {
  display: none;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 6vw, 84px) 72px;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  transform: scale(1.02);
}

.hero-slide,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  background: linear-gradient(90deg, rgba(20, 8, 8, 0.86) 0%, rgba(20, 8, 8, 0.48) 46%, rgba(20, 8, 8, 0.16) 100%);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(20, 8, 8, 0.24);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-control:hover,
.hero-control:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--wine-deep);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

.hero-dots {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 6vw, 84px);
  bottom: 28px;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
}

.hero-dot.is-active,
.hero-dot:hover,
.hero-dot:focus-visible {
  background: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

.hero-copy {
  position: relative;
  max-width: 760px;
}

.hero-intro {
  position: relative;
}

.hero-crest {
  position: relative;
  top: -50px;
  width: clamp(110px, 15vw, 180px);
  margin-bottom: 18px;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.28));
}

.hero-eyebrow {
  margin: 14px 0 0;
}

.hero-copy h1 {
  position: relative;
  top: -50px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(48px, 8vw, 104px);
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
}

h3 {
  font-size: 25px;
}

.lead {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 23px);
}

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

.contact-link {
  gap: 9px;
}

.contact-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 1;
}

.contact-icon.social-letter {
  font-weight: 700;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 4px;
  border: 1px solid currentColor;
  font-weight: 700;
}

.button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--wine-deep);
}

.button.secondary {
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
}

.intro,
.story-section,
.feature-band,
.standard-detail,
.litter,
.dogs,
.gallery,
.contact {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 6vw, 84px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: start;
  background: #fff;
}

.intro > p,
.intro > div > p,
.story-grid p,
.standard-list p,
.litter-copy p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.story-section {
  background: var(--paper);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 68px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--wine);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  color: var(--gold);
  font-size: 20px;
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(4px);
}

.story-grid .text-link,
.story-grid > .button {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: -26px;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.feature-band article {
  min-height: 270px;
  padding: clamp(30px, 5vw, 56px);
  background: var(--paper);
}

.section-number {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--sage);
  font-weight: 800;
}

.feature-band p,
.dog-card p {
  color: var(--muted);
}

.standard-detail {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  background: #fff;
}

.standard-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.standard-list article {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.standard-list h3 {
  margin-bottom: 12px;
  font-size: 27px;
}

.litter {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  background: var(--wine);
  color: #fff;
}

.litter img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.dog-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
}

.dog-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.dog-card div {
  padding: 28px;
}

.subject-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.subject-card {
  position: relative;
  grid-template-columns: minmax(280px, 340px) 1fr;
  align-items: stretch;
  overflow: hidden;
  border: 0;
  border-left: 4px solid var(--gold);
  box-shadow: 0 18px 44px rgba(47, 26, 32, 0.09);
  background: #fff;
}

.subject-card::before {
  content: attr(data-profile);
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(44, 8, 10, 0.78);
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
}

.subject-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 32%;
  height: 3px;
  background: var(--gold);
}

.subject-card > img {
  height: 340px;
  min-height: 340px;
  object-fit: contain;
  background: var(--paper);
}

.subject-card h3 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 42px);
}

.subject-quote {
  margin: -4px 0 18px;
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-style: italic;
}

.subject-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.subject-meta div {
  padding: 0;
}

.subject-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subject-meta dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.age-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 24px 0 2px;
  padding-top: 10px;
}

.age-timeline::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--gold);
  opacity: 0.72;
}

.age-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.age-dot {
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto 9px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  outline: 1px solid var(--gold);
  background: var(--gold);
}

.age-step:last-child .age-dot {
  background: var(--wine);
}

.age-step strong,
.age-step small {
  display: block;
}

.age-step strong {
  color: var(--wine);
  font-size: 12px;
}

.age-step small {
  color: var(--muted);
  font-size: 11px;
}

.subject-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.subject-gallery a,
.subject-gallery img {
  width: 100%;
  height: 96px;
}

.subject-gallery a {
  display: block;
  overflow: hidden;
  background: var(--wine-deep);
}

.subject-gallery img {
  object-fit: cover;
  transition: transform 220ms ease;
}

.subject-gallery a:hover img {
  transform: scale(1.04);
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  grid-auto-rows: 260px;
  gap: 14px;
}

.photo-grid a,
.photo-grid img {
  width: 100%;
  height: 100%;
}

.photo-grid a {
  display: block;
  overflow: hidden;
  background: var(--wine-deep);
}

.photo-grid img {
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.photo-grid a:hover img {
  transform: scale(1.035);
  opacity: 0.88;
}

.photo-grid img:first-child,
.photo-grid a:first-child {
  grid-row: span 2;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  background: #fff;
}

.contact .button.secondary {
  color: var(--wine);
  background: transparent;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field-wide,
.form-submit {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--wine);
  font-size: 13px;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(34, 31, 27, 0.22);
  border-radius: 2px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.form-field textarea {
  min-height: 132px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(201, 163, 90, 0.55);
  outline-offset: 1px;
  border-color: var(--gold);
}

.form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-result-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--paper);
}

.form-result {
  width: min(620px, 100%);
  padding: clamp(32px, 6vw, 72px);
  text-align: center;
  border-top: 4px solid var(--gold);
  background: #fff;
  box-shadow: 0 18px 48px rgba(47, 26, 32, 0.12);
}

.form-result h1 {
  margin: 10px 0 16px;
}

.form-result p:not(.eyebrow) {
  margin: 0 auto 28px;
  max-width: 46ch;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 20px;
  background: var(--wine-deep);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer .back-to-top {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 23px;
  line-height: 1;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-footer .back-to-top:hover,
.site-footer .back-to-top:focus-visible {
  background: var(--gold);
  color: var(--wine-deep);
  transform: translateY(-3px);
}

.site-footer img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 700;
}

.subpage {
  background: var(--paper);
}

.page-hero {
  padding: clamp(92px, 12vw, 150px) clamp(20px, 6vw, 84px) clamp(58px, 8vw, 94px);
  background:
    linear-gradient(120deg, rgba(44, 8, 10, 0.94), rgba(76, 17, 20, 0.78)),
    url("images/hero.jpg") center / cover;
  color: #fff;
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(48px, 8vw, 96px);
}

.page-hero p:last-child {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 22px);
}

.content-split {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 6vw, 84px);
  background: #fff;
}

.content-split.reverse {
  background: var(--paper);
}

.content-split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

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

.text-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(20px, 6vw, 84px) clamp(64px, 8vw, 112px);
  background: var(--line);
}

.text-columns article {
  min-height: 260px;
  padding: clamp(28px, 4vw, 46px);
  background: var(--paper);
}

.text-columns h3,
.standard-table h3 {
  margin-bottom: 14px;
}

.text-columns p,
.standard-table p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.standard-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 6vw, 84px);
  background: #fff;
}

.standard-table article {
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.litter-index {
  display: grid;
  gap: 22px;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 6vw, 84px);
}

.litter-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(300px, 1.28fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.litter-card.featured {
  border-color: rgba(201, 163, 90, 0.55);
  box-shadow: var(--shadow);
}

.litter-card img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
}

.litter-card div {
  padding: clamp(28px, 5vw, 54px);
}

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

.litter-card .button {
  margin-top: 24px;
}

.parents-section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 6vw, 84px);
  background: #fff;
}

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

.parents-grid article {
  display: grid;
  grid-template-columns: 45% 1fr;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
}

.parents-grid img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.parents-grid div {
  padding: 28px;
}

.parents-grid p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
}

.litter-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(20px, 6vw, 84px);
  background: var(--wine);
  color: #fff;
}

.litter-facts article {
  padding: 30px;
  background: var(--wine-deep);
}

.litter-facts span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.litter-facts strong {
  font-size: 20px;
}

.litter-names {
  padding: 72px clamp(20px, 6vw, 84px);
  background: var(--paper);
  text-align: center;
}

.litter-names .section-heading {
  max-width: 720px;
  margin: 0 auto;
}

.litter-names h2 {
  margin-bottom: 10px;
}

.litter-names p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

.litter-names strong {
  color: var(--wine);
}

.litter-gallery {
  background: var(--paper);
}

.large-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.large-gallery img:first-child,
.large-gallery a:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 54px);
  background: rgba(10, 5, 5, 0.92);
}

.lightbox.is-open {
  display: flex;
}

.lightbox figure {
  width: min(1100px, 100%);
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.lightbox figcaption {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  font-size: 15px;
}

.lightbox button {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 64px;
  border-radius: 4px;
  transform: translateY(-50%);
  font-size: 42px;
  line-height: 1;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

@media (max-width: 980px) {
  .site-header,
  .intro,
  .story-grid,
  .standard-detail,
  .content-split,
  .litter,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-self: center;
  }

  .social-strip {
    justify-self: end;
  }

  .feature-band,
  .standard-list,
  .text-columns,
  .standard-table,
  .litter-card,
  .parents-grid,
  .parents-grid article,
  .litter-facts,
  .dog-grid {
    grid-template-columns: 1fr;
  }

  .large-gallery {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 16px;
    border-top: 1px solid rgba(201, 163, 90, 0.34);
    background: rgba(44, 8, 10, 0.98);
    box-shadow: 0 18px 28px rgba(20, 8, 8, 0.22);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    justify-content: flex-start;
    min-height: 46px;
    padding: 0 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .social-strip {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: relative;
    gap: 12px;
  }

  .main-nav a {
    padding: 0 9px;
  }

  .hero {
    min-height: 680px;
    padding-top: 54px;
  }

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

  .dog-card img {
    min-height: 260px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .subject-card > img {
    height: 280px;
    min-height: 280px;
  }

  .subject-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subject-gallery a,
  .subject-gallery img {
    height: 112px;
  }

  .photo-grid img:first-child,
  .photo-grid a:first-child {
    grid-column: span 1;
    grid-row: span 1;
  }

  .lightbox {
    padding: 18px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    transform: none;
    width: 48px;
    height: 48px;
    font-size: 32px;
  }

  .lightbox-prev {
    left: 18px;
  }

  .lightbox-next {
    right: 18px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}
