:root {
  --ink: #17211f;
  --muted: #66706b;
  --paper: #f3f5ef;
  --surface: #ffffff;
  --surface-soft: #eef2ea;
  --sage: #55766a;
  --sage-dark: #183f36;
  --honey: #c5a35a;
  --coral: #8f3d4b;
  --wine: #522f3a;
  --line: #dfe5da;
  --shadow: 0 22px 60px rgba(23, 33, 31, 0.14);
  --shadow-strong: 0 30px 90px rgba(23, 33, 31, 0.22);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}

body {
  margin: 0;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(197, 163, 90, 0.14), transparent 24%),
    radial-gradient(circle at 84% 20%, rgba(85, 118, 106, 0.16), transparent 26%),
    linear-gradient(180deg, #fbfcf8 0, var(--paper) 520px, #edf1ea 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(251, 252, 248, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: padding 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(251, 252, 248, 0.96);
  box-shadow: 0 12px 34px rgba(32, 35, 31, 0.1);
}

.brand {
  display: grid;
  gap: 4px;
  min-width: max-content;
  color: var(--sage-dark);
  line-height: 1;
  text-align: center;
}

.brand-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.brand-kicker::before,
.brand-kicker::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--honey);
}

.brand-name {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0;
  transition: font-size 220ms ease;
}

.site-header.is-scrolled .brand-name {
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 30px);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

nav a {
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--honey);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

nav a:hover {
  color: var(--sage-dark);
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: clamp(28px, 5vw, 72px);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(9, 26, 22, 0.88), rgba(24, 63, 54, 0.52) 54%, rgba(82, 47, 58, 0.18)),
    linear-gradient(0deg, rgba(23, 33, 31, 0.36), rgba(23, 33, 31, 0)),
    url("https://images.unsplash.com/photo-1548199973-03cce0bbc87b?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.04);
  transition: transform 400ms ease-out;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  z-index: -1;
  background: linear-gradient(0deg, var(--paper), rgba(243, 245, 239, 0));
}

.hero-line {
  position: absolute;
  right: clamp(24px, 7vw, 96px);
  top: 18%;
  width: min(38vw, 520px);
  height: min(38vw, 520px);
  z-index: -1;
  border: 1px solid rgba(197, 163, 90, 0.28);
  border-radius: 50%;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.hero-line::before,
.hero-line::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.hero-line::after {
  inset: 26%;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-content {
  max-width: 760px;
  color: #fff;
  padding-bottom: 8vh;
}

.hero-content h1 {
  text-wrap: balance;
}

.hero-content > * {
  animation: heroRise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content > :nth-child(2) {
  animation-delay: 100ms;
}

.hero-content > :nth-child(3) {
  animation-delay: 190ms;
}

.hero-content > :nth-child(4) {
  animation-delay: 280ms;
}

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

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

h1 {
  font-family: var(--serif);
  font-weight: 700;
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 7vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  font-family: var(--serif);
  font-weight: 700;
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.18rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.hero-panel {
  position: relative;
  margin-bottom: 8vh;
  padding: 28px;
  color: #fff;
  background: rgba(251, 252, 248, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.hero-panel .panel-label,
.hero-panel span:last-child {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin: 8px 0 4px;
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 6.4rem);
  line-height: 0.9;
}

.hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.panel-divider {
  width: 100%;
  height: 1px;
  margin: 22px 0;
  background: linear-gradient(90deg, rgba(197, 163, 90, 0), rgba(197, 163, 90, 0.9), rgba(197, 163, 90, 0));
}

.scroll-cue {
  position: absolute;
  left: clamp(28px, 5vw, 72px);
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue span {
  width: 34px;
  height: 1px;
  background: var(--honey);
}

.editorial-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) 1.2fr;
  gap: clamp(18px, 4vw, 48px);
  align-items: end;
  max-width: 1180px;
  margin: clamp(4px, 1.2vw, 12px) auto 0;
  padding: 0 clamp(18px, 4vw, 32px) clamp(18px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
}

.editorial-band h2 {
  margin: 0;
  max-width: 620px;
}

.editorial-band > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
  line-height: 1.72;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 980px;
  margin: 0 auto clamp(10px, 2vw, 22px);
  padding: 0 clamp(18px, 4vw, 32px);
}

.metrics-strip article {
  padding: clamp(24px, 4vw, 36px);
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(223, 229, 218, 0.9);
  box-shadow: 0 16px 52px rgba(23, 33, 31, 0.08);
  backdrop-filter: blur(14px);
}

.metrics-strip article:first-child {
  border-radius: 18px 0 0 18px;
}

.metrics-strip article:last-child {
  border-radius: 0 18px 18px 0;
}

.metrics-strip strong {
  display: block;
  font-family: var(--serif);
  color: var(--sage-dark);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.92;
}

.metrics-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--sage-dark);
  box-shadow: 0 10px 22px rgba(63, 105, 77, 0.24);
}

.button.primary:hover {
  background: #0f332b;
  box-shadow: 0 14px 30px rgba(63, 105, 77, 0.32);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--line);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1180px;
  margin: -68px auto 0;
  padding: 0 clamp(18px, 4vw, 32px);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 26px 56px rgba(23, 33, 31, 0.12));
}

.trust-strip article {
  position: relative;
  min-height: 112px;
  padding: 24px 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 249, 244, 0.86));
  border-top: 1px solid rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(223, 229, 218, 0.9);
  border-left: 1px solid rgba(223, 229, 218, 0.7);
  box-shadow: none;
  backdrop-filter: blur(16px);
  transition: transform 220ms ease, background 220ms ease;
}

.trust-strip article + article {
  border-left-color: rgba(24, 63, 54, 0.12);
}

.trust-strip article::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 22px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--sage-dark), var(--honey));
  box-shadow: 0 0 0 6px rgba(197, 163, 90, 0.12);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.trust-strip article:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.96);
}

.trust-strip article:hover::before {
  transform: scale(1.18);
  box-shadow: 0 0 0 9px rgba(197, 163, 90, 0.14);
}

.trust-strip strong {
  padding-left: 22px;
  font-size: 1.04rem;
}

.trust-strip article:first-child {
  border-radius: 8px 0 0 8px;
}

.trust-strip article:last-child {
  border-radius: 0 8px 8px 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 8px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 118px) clamp(18px, 4vw, 32px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding-top: clamp(28px, 4vw, 46px);
  padding-bottom: clamp(12px, 2vw, 22px);
}

.intro > div:first-child {
  position: sticky;
  top: 108px;
  padding-bottom: 22px;
}

.intro > div:first-child::after {
  content: "";
  display: block;
  width: min(100%, 250px);
  height: 1px;
  margin-top: 24px;
  background: linear-gradient(90deg, var(--sage-dark), var(--honey), transparent);
}

.intro h2 {
  max-width: 430px;
  text-wrap: balance;
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) clamp(18px, 4vw, 32px) clamp(24px, 4vw, 44px);
}

.manifesto-copy h2 {
  max-width: 720px;
  text-wrap: balance;
}

.manifesto-copy p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
  line-height: 1.78;
}

.manifesto-card {
  position: relative;
  padding: clamp(28px, 4vw, 42px);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(24, 63, 54, 0.96), rgba(82, 47, 58, 0.92));
  border: 1px solid rgba(197, 163, 90, 0.28);
  border-radius: 24px;
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.manifesto-card::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(197, 163, 90, 0.36);
  border-radius: 50%;
}

.manifesto-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.manifesto-card strong {
  display: block;
  margin: 18px 0 14px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 0.98;
}

.manifesto-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.68;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0;
}

.steps::before {
  display: none;
}

.steps article {
  position: relative;
  min-height: 138px;
  max-width: 720px;
  padding: 22px 28px 22px 88px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 249, 244, 0.78));
  border: 1px solid rgba(223, 229, 218, 0.92);
  border-radius: 18px;
  box-shadow: 0 22px 52px rgba(23, 33, 31, 0.08);
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.steps article::after {
  content: "";
  position: absolute;
  right: -76px;
  top: -76px;
  width: 142px;
  height: 142px;
  border: 1px solid rgba(197, 163, 90, 0.26);
  border-radius: 50%;
  pointer-events: none;
}

.steps article:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 163, 90, 0.52);
  box-shadow: 0 28px 70px rgba(23, 33, 31, 0.13);
}

.steps span {
  position: absolute;
  top: 24px;
  left: 26px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--wine), var(--coral));
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(82, 47, 58, 0.22);
}

.steps small {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.steps h3 {
  margin-bottom: 8px;
  font-size: clamp(1.6rem, 2.35vw, 2.12rem);
}

.steps article:nth-child(2) {
  margin-left: clamp(10px, 2.5vw, 34px);
}

.steps article:nth-child(3) {
  margin-left: clamp(20px, 5vw, 68px);
}

.steps p,
.contact-band p {
  color: var(--muted);
  line-height: 1.55;
}

.dogs-section {
  padding-top: clamp(28px, 4vw, 48px);
}

.archive-stage {
  max-width: none;
  margin-top: 0;
  padding-left: clamp(18px, 4vw, 56px);
  padding-right: clamp(18px, 4vw, 56px);
  background:
    radial-gradient(circle at 10% 18%, rgba(197, 163, 90, 0.12), transparent 26%),
    radial-gradient(circle at 90% 16%, rgba(82, 47, 58, 0.09), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.52) 20%, rgba(255, 255, 255, 0.18)),
    linear-gradient(135deg, rgba(24, 63, 54, 0.04), rgba(82, 47, 58, 0.05));
}

.archive-stage > .section-heading,
.archive-stage > .filters,
.archive-stage > .dog-grid,
.archive-stage > .pagination {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.result-count {
  color: var(--muted);
  font-weight: 800;
}

.filters {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 58px rgba(23, 33, 31, 0.1);
  backdrop-filter: blur(16px);
  transition: box-shadow 240ms ease, transform 240ms ease;
}

.filters:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(32, 35, 31, 0.12);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: #f7f9f4;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus,
select:focus {
  outline: none;
  background: #fff;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(107, 143, 113, 0.16);
}

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

.dog-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 22px 62px rgba(23, 33, 31, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.dog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 54%, rgba(32, 35, 31, 0.06));
  opacity: 0;
  transition: opacity 220ms ease;
}

.dog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 34px 78px rgba(23, 33, 31, 0.18);
}

.dog-card:hover::after {
  opacity: 1;
}

.dog-preview-link {
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 285px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.78), transparent 42%),
    linear-gradient(135deg, rgba(197, 163, 90, 0.12), rgba(24, 63, 54, 0.08)),
    linear-gradient(180deg, #eef2ea, #e7ede4);
}

.dog-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 18px;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dog-card:hover img {
  transform: scale(1.018);
}

.dog-card-body {
  position: relative;
  z-index: 1;
  padding: 20px 22px 22px;
  background: #fff;
}

.details-button {
  width: 100%;
  border-radius: 10px;
  letter-spacing: 0.02em;
}

.details-button::after {
  content: "→";
  margin-left: 10px;
  transition: transform 180ms ease;
}

.details-button:hover::after {
  transform: translateX(4px);
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
}

.detail-list div {
  min-width: 0;
  padding: 12px;
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-list dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.detail-list div:first-child,
.detail-list div:last-child {
  grid-column: 1 / -1;
}

.dog-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.dog-card h3 {
  font-size: 1.55rem;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 42px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.pagination button {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.pagination button:hover {
  transform: translateY(-2px);
}

.pagination button:hover,
.pagination button[aria-current="page"] {
  color: #fff;
  background: var(--sage-dark);
  border-color: var(--sage-dark);
}

.contact-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto clamp(44px, 8vw, 80px);
  padding: clamp(28px, 5vw, 52px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 63, 54, 0.96), rgba(82, 47, 58, 0.88)),
    url("assets/site/contact.svg");
  background-position: center;
  background-size: cover;
  border-radius: 18px;
}

.contact-band::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--honey), var(--coral), var(--sage));
}

.contact-band .eyebrow {
  color: #ffd780;
}

.contact-band p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  padding: 28px clamp(18px, 4vw, 56px);
  color: #fff;
  text-align: center;
  background: var(--ink);
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer a:hover {
  color: #ffd780;
}

.dog-dialog {
  width: min(920px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  max-height: calc(100vh - 28px);
  padding: 0;
  overflow: auto;
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dog-dialog[open] {
  animation: dialogIn 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dog-dialog::backdrop {
  background: rgba(21, 27, 22, 0.62);
  animation: backdropIn 220ms ease both;
}

.dialog-close {
  position: sticky;
  top: 12px;
  left: calc(100% - 54px);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 12px 12px -54px auto;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.7rem;
  cursor: pointer;
}

.dialog-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 540px;
  max-width: 100%;
}

.dialog-photo-link {
  display: grid;
  place-items: center;
  min-height: 540px;
  overflow: hidden;
  max-width: 100%;
  background: #f5efe4;
}

.dialog-photo {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 540px;
  display: block;
  object-fit: contain;
  padding: 18px;
}

.dialog-panel {
  min-width: 0;
  padding: clamp(24px, 5vw, 54px);
  background:
    linear-gradient(135deg, rgba(247, 241, 230, 0.76), rgba(255, 255, 255, 0.96));
}

.dialog-panel h2 {
  margin-bottom: 22px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes backdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

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

  .hero-media {
    transform: none;
  }
}

.legal-page {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 110px) clamp(18px, 4vw, 32px);
}

.legal-page h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

.legal-page p {
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .hero-inner,
  .editorial-band,
  .manifesto {
    grid-template-columns: 1fr;
  }

  .metrics-strip {
    grid-template-columns: 1fr;
  }

  .metrics-strip article,
  .metrics-strip article:first-child,
  .metrics-strip article:last-child {
    border-radius: 16px;
  }

  .hero-panel {
    width: min(100%, 420px);
    margin-bottom: 72px;
  }

  .trust-strip,
  .intro,
  .steps,
  .dog-grid,
  .contact-band,
  .dialog-layout {
    grid-template-columns: 1fr;
  }

  .intro > div:first-child {
    position: static;
  }

  .dialog-photo-link,
  .dialog-photo {
    min-height: 320px;
    aspect-ratio: 4 / 3;
  }

  .dialog-photo {
    padding: 10px;
  }

  .steps {
    gap: 14px;
    padding: 0;
  }

  .steps::before {
    display: none;
  }

  .steps article {
    max-width: none;
    min-height: auto;
    padding: 70px 18px 20px;
    margin-left: 0 !important;
  }

  .steps article:nth-child(2),
  .steps article:nth-child(3) {
    margin-left: 0;
  }

  .steps span {
    top: 20px;
    left: 18px;
    width: 36px;
    height: 36px;
  }

  .trust-strip article,
  .trust-strip article:first-child,
  .trust-strip article:last-child {
    border-radius: 8px;
  }

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

}

@media (max-width: 620px) {
  .dog-dialog {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 8px;
  }

  .dialog-close {
    position: fixed;
    top: 14px;
    right: 14px;
    left: auto;
    margin: 0;
    width: 42px;
    height: 42px;
  }

  .dialog-layout {
    min-height: 0;
    width: 100%;
    overflow-x: hidden;
  }

  .dialog-photo-link {
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
  }

  .dialog-photo {
    min-height: 0 !important;
    height: 100%;
    aspect-ratio: 4 / 3;
    padding: 12px;
  }

  .dialog-panel {
    width: 100%;
    min-width: 0;
    padding: 26px 20px 24px;
  }

  .dialog-panel h2 {
    font-size: 2.25rem;
    line-height: 0.98;
  }

  .site-header {
    align-items: center;
    flex-direction: column;
    gap: 14px;
    padding: 14px 14px 12px;
  }

  .brand {
    min-width: 0;
    width: 100%;
    text-align: center;
  }

  .brand-kicker {
    gap: 8px;
    font-size: 0.6rem;
    letter-spacing: 0.24em;
  }

  .brand-kicker::before,
  .brand-kicker::after {
    width: 20px;
  }

  .brand-name {
    font-size: 2.25rem;
  }

  nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 4px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(32, 35, 31, 0.08);
  }

  nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 0.84rem;
  }

  nav a:hover,
  nav a:focus-visible {
    color: #fff;
    background: var(--sage-dark);
  }

  nav a::after {
    display: none;
  }

  .hero {
    min-height: 78vh;
    padding: 24px 18px 34px;
  }

  .hero-content {
    padding-bottom: 0;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.7rem);
  }

  .hero-inner {
    gap: 24px;
    align-items: end;
  }

  .hero-panel {
    margin-bottom: 52px;
    padding: 20px;
  }

  .hero-panel strong {
    font-size: 4rem;
  }

  .hero-line {
    right: -30%;
    top: 20%;
    width: 88vw;
    height: 88vw;
  }

  .scroll-cue {
    left: 18px;
    bottom: 16px;
  }

  .editorial-band {
    margin-top: 28px;
    padding-bottom: 34px;
  }

  .metrics-strip {
    gap: 10px;
    margin-bottom: 30px;
  }

  .metrics-strip article {
    padding: 22px;
  }

  .manifesto {
    padding-top: 58px;
    padding-bottom: 72px;
  }

  .manifesto-card {
    border-radius: 18px;
  }

  .trust-strip {
    margin-top: -24px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .filters,
  .detail-list {
    grid-template-columns: 1fr;
  }

  .archive-stage {
    padding-left: 16px;
    padding-right: 16px;
  }

  .dog-grid {
    gap: 18px;
  }

  .dog-preview-link {
    min-height: 250px;
  }

  .contact-actions,
  .hero-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }
}
