:root {
  --bg: #0a0c0e;
  --bg-2: #11151a;
  --panel: rgba(244, 238, 224, 0.07);
  --panel-strong: rgba(244, 238, 224, 0.12);
  --cream: #f4eee0;
  --cream-soft: rgba(244, 238, 224, 0.74);
  --muted: rgba(244, 238, 224, 0.58);
  --line: rgba(244, 238, 224, 0.16);
  --green: #34e0a1;
  --yellow: #fcdb32;
  --coral: #ff6b4f;
  --blue: #7aa7ff;
  --ink: #0a0c0e;
  --shadow: 0 30px 110px rgba(0, 0, 0, 0.42);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--cream);
  background:
    radial-gradient(circle at 12% 6%, rgba(52, 224, 161, 0.23), transparent 28rem),
    radial-gradient(circle at 86% 18%, rgba(255, 107, 79, 0.2), transparent 28rem),
    radial-gradient(circle at 55% 76%, rgba(122, 167, 255, 0.14), transparent 34rem),
    linear-gradient(180deg, var(--bg), #08090a 55%, #0f1116);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(244, 238, 224, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 238, 224, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: radial-gradient(rgba(244, 238, 224, 0.5) 0.75px, transparent 0.75px);
  background-size: 18px 18px;
  z-index: -1;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.section-pad {
  padding: 104px 0;
  scroll-margin-top: 94px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  transform: translateY(-160%);
  background: var(--cream);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 99;
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 12, 14, 0.72);
  backdrop-filter: blur(22px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--green);
  color: var(--ink);
  font-weight: 950;
  box-shadow: 0 0 32px rgba(52, 224, 161, 0.34);
}

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 850;
  color: var(--cream-soft);
}

.nav-links a {
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--panel-strong);
  border-color: var(--line);
  color: var(--cream);
}

.nav-cta {
  background: var(--cream) !important;
  color: var(--ink) !important;
  box-shadow: 0 18px 44px rgba(244, 238, 224, 0.16);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--cream);
}

.hero {
  min-height: calc(100svh - 78px);
  display: grid;
  align-items: center;
  padding-top: 74px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 58px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 0.94;
  letter-spacing: -0.075em;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(4.35rem, 11vw, 9.7rem);
  font-weight: 1000;
  text-transform: uppercase;
}

h2 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 1000;
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 950;
}

h4 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 950;
}

p {
  color: var(--cream-soft);
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 32px;
  font-size: clamp(1.08rem, 2vw, 1.4rem);
}

.hero-actions,
.link-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 18px 52px rgba(52, 224, 161, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 22px 70px rgba(52, 224, 161, 0.42);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--cream);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin-top: 34px;
}

.stat-strip div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.stat-strip strong {
  display: block;
  color: var(--cream);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.stat-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-gallery {
  position: relative;
  min-height: 620px;
}

.hero-photo {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
}

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

.hero-photo-main {
  position: absolute;
  inset: 54px 56px 32px 0;
  transform: rotate(-2deg);
}

.hero-photo-main figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 12, 14, 0.72);
  color: var(--cream);
  font-size: 0.84rem;
  font-weight: 950;
  backdrop-filter: blur(14px);
}

.hero-photo-small {
  position: absolute;
  width: 185px;
  height: 220px;
  border-radius: 26px;
}

.hero-photo-small.one {
  right: 0;
  top: 0;
  transform: rotate(7deg);
}

.hero-photo-small.two {
  right: 18px;
  bottom: 0;
  transform: rotate(-8deg);
}

.hero-badge {
  position: absolute;
  right: 16px;
  top: 270px;
  max-width: 180px;
  padding: 16px;
  border: 1px solid rgba(52, 224, 161, 0.35);
  border-radius: 22px;
  background: rgba(52, 224, 161, 0.1);
  color: var(--green);
  box-shadow: 0 0 36px rgba(52, 224, 161, 0.18);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
}

.name-marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
}

.marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 17px 0;
  animation: marquee 34s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1rem, 2.5vw, 1.65rem);
  font-weight: 1000;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "•";
  color: var(--coral);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
}

.roster-block + .roster-block {
  margin-top: 74px;
}

.block-kicker {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.block-kicker span {
  color: var(--green);
  font-size: clamp(4rem, 13vw, 12rem);
  line-height: 0.78;
  letter-spacing: -0.11em;
  font-weight: 1000;
}

.block-kicker h3 {
  margin-bottom: 16px;
  text-align: right;
}

.dog-kicker span {
  color: var(--yellow);
}

.pet-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 18px;
}

.pet-card,
.memory-card,
.moment-card,
.note-stack article,
.links-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pet-card {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.pet-card:hover,
.pet-card:focus-within,
.memory-card:hover,
.moment-card:hover,
.note-stack article:hover,
.links-card:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 224, 161, 0.4);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.34), 0 0 42px rgba(52, 224, 161, 0.08);
}

.pet-card.wide {
  grid-column: span 2;
}

.pet-card.tall {
  grid-row: span 2;
  min-height: 758px;
}

.pet-card.featured-card {
  border-color: rgba(52, 224, 161, 0.46);
}

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

.pet-photo,
.placeholder-photo {
  flex: 1;
  min-height: 250px;
}

.pet-photo img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  transition: transform 500ms ease;
}

.pet-card:hover .pet-photo img {
  transform: scale(1.045);
}

.pet-info {
  padding: 18px;
}

.pet-info p {
  margin-bottom: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tag.cat,
.tag.accent {
  color: var(--green);
  border-color: rgba(52, 224, 161, 0.3);
  background: rgba(52, 224, 161, 0.08);
}

.tag.dog {
  color: var(--yellow);
  border-color: rgba(252, 219, 50, 0.35);
  background: rgba(252, 219, 50, 0.08);
}

.special-tag {
  color: var(--coral);
  border-color: rgba(255, 107, 79, 0.35);
  background: rgba(255, 107, 79, 0.08);
}

.placeholder-photo {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 107, 79, 0.32), transparent 18rem),
    radial-gradient(circle at 80% 80%, rgba(52, 224, 161, 0.26), transparent 16rem),
    rgba(255, 255, 255, 0.045);
  color: rgba(244, 238, 224, 0.92);
  font-size: clamp(5rem, 12vw, 8.8rem);
  font-weight: 1000;
  letter-spacing: -0.12em;
}

.forever {
  background:
    linear-gradient(180deg, rgba(244, 238, 224, 0.06), rgba(244, 238, 224, 0.02)),
    transparent;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.forever-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: 48px;
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 112px;
  margin-bottom: 0;
}

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

.memory-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: var(--radius-lg);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.memory-card span {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 1000;
  letter-spacing: -0.08em;
}

.memory-card h3 {
  margin: auto 0 10px;
  color: var(--cream);
}

.memory-card p {
  margin: 0;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.dog-memory span {
  background: var(--yellow);
}

.moment-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
}

.moment-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

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

.moment-card h3,
.moment-card p,
.moment-copy {
  padding-inline: 18px;
}

.moment-card h3 {
  margin: 18px 0 8px;
}

.moment-card p {
  margin-bottom: 20px;
}

.moment-large {
  grid-row: span 2;
}

.moment-large img {
  height: 560px;
}

.moment-copy {
  padding-block: 20px 24px;
}

.moment-copy h3,
.moment-copy p {
  padding-inline: 0;
}

.notes-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  align-items: start;
}

.note-stack {
  display: grid;
  gap: 14px;
}

.note-stack article {
  padding: 22px;
  border-radius: var(--radius-lg);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.note-stack time {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green);
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.note-stack h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.note-stack p {
  margin: 0;
}

.links-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 34px;
  align-items: center;
  padding: clamp(24px, 5vw, 54px);
  border-radius: var(--radius-xl);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.links-card h2 {
  font-size: clamp(2.6rem, 5vw, 5.6rem);
}

.link-actions {
  justify-content: flex-end;
}

.link-pill {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border: 1px solid rgba(52, 224, 161, 0.3);
  border-radius: 999px;
  background: rgba(52, 224, 161, 0.08);
  color: var(--green);
  font-weight: 950;
}

.link-pill.muted {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream-soft);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 38px 0;
  background: rgba(0, 0, 0, 0.2);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  max-width: 520px;
  margin: 10px 0 0;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--cream);
}

.bookdgt-credit {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

.legal-page {
  min-height: 100svh;
}

.legal-hero {
  padding: 118px 0 78px;
}

.legal-card {
  max-width: 880px;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
}

.legal-card h1 {
  font-size: clamp(3rem, 9vw, 7rem);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.legal-card a {
  color: var(--green);
  font-weight: 950;
}

@media (max-width: 980px) {
  .section-pad {
    padding: 84px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .forever-grid,
  .notes-grid,
  .links-card {
    grid-template-columns: 1fr;
  }

  .hero-gallery {
    min-height: 560px;
  }

  .hero-photo-main {
    inset: 40px 80px 40px 0;
  }

  .sticky-heading {
    position: static;
  }

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

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

  .moment-large {
    grid-column: span 2;
  }

  .link-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(var(--max), calc(100% - 28px));
  }

  .nav {
    min-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(10, 12, 14, 0.96);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    display: block;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 5.6rem);
  }

  h2 {
    font-size: clamp(2.55rem, 13vw, 4.5rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stat-strip,
  .pet-grid,
  .dog-grid,
  .memory-grid,
  .moment-grid {
    grid-template-columns: 1fr;
  }

  .stat-strip {
    gap: 10px;
  }

  .hero-gallery {
    min-height: 510px;
  }

  .hero-photo-main {
    inset: 26px 0 54px 0;
  }

  .hero-photo-small {
    width: 142px;
    height: 164px;
  }

  .hero-photo-small.one {
    right: 0;
    top: 0;
  }

  .hero-photo-small.two {
    left: 0;
    right: auto;
    bottom: 0;
  }

  .hero-badge {
    right: 14px;
    top: auto;
    bottom: 18px;
  }

  .pet-card.wide,
  .pet-card.tall,
  .moment-large {
    grid-column: auto;
    grid-row: auto;
  }

  .pet-card.tall {
    min-height: 460px;
  }

  .pet-card {
    min-height: 430px;
  }

  .pet-photo,
  .placeholder-photo,
  .pet-photo img {
    min-height: 320px;
  }

  .moment-card img,
  .moment-large img {
    height: 360px;
  }

  .block-kicker {
    align-items: flex-start;
    flex-direction: column;
  }

  .block-kicker h3 {
    text-align: left;
  }

  .footer-grid {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .section-pad {
    padding: 72px 0;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-gallery {
    min-height: 462px;
  }

  .hero-photo-main figcaption {
    max-width: calc(100% - 30px);
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
  }
}

@media (max-width: 760px) {
  .legal-page .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
}

/* v1.2 patch: keep Dog Division balanced on desktop instead of oversized full-width feature cards. */
@media (min-width: 761px) {
  .dog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .dog-grid .pet-card.wide {
    grid-column: auto;
  }

  .dog-grid .pet-card {
    min-height: 0;
  }

  .dog-grid .pet-photo,
  .dog-grid .placeholder-photo {
    flex: none;
    height: clamp(340px, 38vw, 500px);
    min-height: 0;
  }

  .dog-grid .pet-photo img {
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }
}

@media (min-width: 981px) {
  .dog-grid {
    gap: 22px;
  }

  .dog-grid .pet-info {
    min-height: 116px;
  }
}

/* v1.3 patch: Chaos Pop colorway + readability pass + portfolio-friendly visual variation. */
:root {
  --bg: #17101f;
  --bg-2: #231832;
  --panel: rgba(255, 244, 220, 0.085);
  --panel-strong: rgba(255, 244, 220, 0.15);
  --cream: #fff4dc;
  --cream-soft: rgba(255, 244, 220, 0.82);
  --muted: rgba(255, 244, 220, 0.68);
  --line: rgba(255, 244, 220, 0.17);
  --green: #66ffc7;
  --yellow: #ffd646;
  --coral: #ff5c7a;
  --blue: #54d7ff;
  --purple: #b86bff;
  --ink: #17101f;
  --shadow: 0 28px 110px rgba(12, 6, 20, 0.48);
}

html {
  background: var(--bg);
}

body {
  background:
    radial-gradient(circle at 11% 7%, rgba(255, 92, 122, 0.34), transparent 27rem),
    radial-gradient(circle at 88% 14%, rgba(84, 215, 255, 0.26), transparent 28rem),
    radial-gradient(circle at 72% 72%, rgba(255, 214, 70, 0.2), transparent 31rem),
    radial-gradient(circle at 17% 82%, rgba(102, 255, 199, 0.19), transparent 34rem),
    linear-gradient(180deg, #17101f 0%, #0f0e19 52%, #1b1024 100%);
}

body::before {
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 244, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 244, 220, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

body::after {
  opacity: 0.12;
  background-image: radial-gradient(rgba(255, 244, 220, 0.58) 0.7px, transparent 0.7px);
}

.site-header {
  background: rgba(23, 16, 31, 0.76);
}

.brand-mark {
  background: linear-gradient(135deg, var(--yellow), var(--coral));
  box-shadow: 0 0 34px rgba(255, 92, 122, 0.28), 0 0 54px rgba(255, 214, 70, 0.14);
}

.nav-cta,
.btn-primary {
  background: linear-gradient(135deg, var(--yellow), var(--coral)) !important;
  color: var(--ink) !important;
  box-shadow: 0 18px 52px rgba(255, 92, 122, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 24px 74px rgba(255, 92, 122, 0.34), 0 0 40px rgba(255, 214, 70, 0.14);
}

.eyebrow {
  color: var(--yellow);
  letter-spacing: 0.14em;
}

h1,
h2,
h3 {
  line-height: 1.01;
  letter-spacing: -0.052em;
}

h1 {
  max-width: 820px;
  font-size: clamp(4rem, 9.2vw, 8.6rem);
}

h2 {
  max-width: 860px;
  font-size: clamp(2.75rem, 6.2vw, 5.95rem);
}

h3 {
  letter-spacing: -0.045em;
}

h4 {
  line-height: 1.04;
  letter-spacing: -0.04em;
}

p {
  color: var(--cream-soft);
}

.hero-lead,
.section-heading p:not(.eyebrow),
.links-card p {
  color: rgba(255, 244, 220, 0.86);
}

.hero-gallery::before {
  content: "CHAOS POP";
  position: absolute;
  left: -8px;
  top: 10px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(255, 214, 70, 0.46);
  border-radius: 999px;
  background: rgba(23, 16, 31, 0.82);
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  transform: rotate(-3deg);
}

.hero-photo {
  border-color: rgba(255, 244, 220, 0.2);
}

.hero-photo-main {
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.36), 0 0 0 10px rgba(255, 244, 220, 0.025);
}

.hero-photo-main figcaption {
  max-width: calc(100% - 36px);
  background: rgba(23, 16, 31, 0.78);
}

.hero-badge {
  border-color: rgba(84, 215, 255, 0.5);
  background: rgba(84, 215, 255, 0.12);
  color: var(--blue);
  box-shadow: 0 0 36px rgba(84, 215, 255, 0.18);
}

.name-marquee {
  background: linear-gradient(90deg, var(--yellow), var(--coral), var(--blue));
  color: #17101f;
}

.marquee-track span::after {
  color: rgba(23, 16, 31, 0.7);
}

.stat-strip div,
.pet-card,
.memory-card,
.moment-card,
.note-stack article,
.links-card,
.legal-card {
  background:
    linear-gradient(180deg, rgba(255, 244, 220, 0.1), rgba(255, 244, 220, 0.035)),
    rgba(23, 16, 31, 0.42);
  border-color: rgba(255, 244, 220, 0.17);
}

.stat-strip strong {
  color: var(--yellow);
}

.block-kicker span {
  color: var(--coral);
  letter-spacing: -0.09em;
}

.dog-kicker span {
  color: var(--blue);
}

.block-kicker h3 {
  color: var(--cream);
}

.pet-card {
  border-radius: 30px;
}

.pet-card:nth-child(3n + 1) {
  border-color: rgba(255, 92, 122, 0.26);
}

.pet-card:nth-child(3n + 2) {
  border-color: rgba(84, 215, 255, 0.24);
}

.pet-card:nth-child(3n + 3) {
  border-color: rgba(255, 214, 70, 0.24);
}

.pet-card:hover,
.pet-card:focus-within,
.memory-card:hover,
.moment-card:hover,
.note-stack article:hover,
.links-card:hover {
  border-color: rgba(255, 92, 122, 0.45);
  box-shadow: 0 24px 86px rgba(0, 0, 0, 0.34), 0 0 52px rgba(255, 92, 122, 0.12);
}

.tag.cat,
.tag.accent {
  color: var(--green);
  border-color: rgba(102, 255, 199, 0.36);
  background: rgba(102, 255, 199, 0.1);
}

.tag.dog {
  color: var(--blue);
  border-color: rgba(84, 215, 255, 0.4);
  background: rgba(84, 215, 255, 0.1);
}

.special-tag {
  color: var(--yellow);
  border-color: rgba(255, 214, 70, 0.4);
  background: rgba(255, 214, 70, 0.1);
}

.pet-info p,
.memory-card p,
.moment-card p,
.note-stack p {
  color: rgba(255, 244, 220, 0.76);
}

.placeholder-photo {
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 214, 70, 0.36), transparent 17rem),
    radial-gradient(circle at 76% 76%, rgba(255, 92, 122, 0.32), transparent 16rem),
    radial-gradient(circle at 42% 90%, rgba(84, 215, 255, 0.24), transparent 16rem),
    rgba(255, 244, 220, 0.055);
  color: rgba(255, 244, 220, 0.94);
}

.forever {
  background:
    linear-gradient(180deg, rgba(255, 214, 70, 0.06), rgba(84, 215, 255, 0.035)),
    transparent;
}

.memory-card span {
  background: linear-gradient(135deg, var(--yellow), var(--cream));
}

.memory-card.dog-memory span,
.dog-memory span {
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.moment-large {
  border-color: rgba(255, 92, 122, 0.28);
}

.note-stack time {
  color: var(--yellow);
}

.link-pill {
  border-color: rgba(255, 214, 70, 0.38);
  background: rgba(255, 214, 70, 0.1);
  color: var(--yellow);
}

.bookdgt-credit:hover,
.bookdgt-credit:focus-visible {
  border-color: rgba(255, 214, 70, 0.4);
  color: var(--yellow);
}

@media (min-width: 761px) {
  .dog-grid .pet-photo,
  .dog-grid .placeholder-photo {
    height: clamp(300px, 30vw, 410px);
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(3.2rem, 15.4vw, 5.15rem);
    line-height: 1;
    letter-spacing: -0.045em;
  }

  h2 {
    font-size: clamp(2.35rem, 11.4vw, 4.1rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  .hero-gallery::before {
    left: 6px;
    top: 2px;
  }
}
