:root {
  --ink: #16201d;
  --muted: #5a6863;
  --paper: #ffffff;
  --soft: #f4f7f2;
  --warm: #fff3ed;
  --rose: #c96f67;
  --sage: #2f6f62;
  --sage-dark: #183f39;
  --gold: #c79b44;
  --line: rgba(22, 32, 29, 0.12);
  --shadow: 0 22px 60px rgba(20, 26, 24, 0.14);
  --shadow-hover: 0 28px 74px rgba(20, 26, 24, 0.2);
  --radius: 8px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  transform: translateY(-140%);
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  row-gap: 6px;
  padding: 8px 24px;
  color: #fff;
  background: var(--sage-dark);
  font-size: 0.88rem;
}

.topbar a,
.topbar span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

.topbar a {
  transition: color 180ms var(--ease), transform 180ms var(--ease);
}

.topbar svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 90px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 220ms var(--ease), filter 220ms var(--ease);
}

.brand img {
  width: clamp(230px, 27vw, 340px);
  height: auto;
  max-height: 76px;
  object-fit: contain;
  transition: transform 260ms var(--ease);
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.nav-links a::after {
  position: absolute;
  right: 12px;
  bottom: 7px;
  left: 12px;
  height: 2px;
  border-radius: 999px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--sage-dark);
  background: var(--soft);
}

.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  place-items: center;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}

.button::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  transform: translateX(-120%);
  transition: transform 520ms var(--ease);
}

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

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform 180ms var(--ease);
}

.button--primary {
  background: var(--sage);
  color: #fff;
  box-shadow: 0 15px 28px rgba(47, 111, 98, 0.28);
}

.button--primary:hover {
  background: var(--sage-dark);
}

.button--secondary {
  background: #fff;
  color: var(--sage-dark);
  border-color: rgba(47, 111, 98, 0.25);
  box-shadow: 0 12px 28px rgba(20, 26, 24, 0.08);
}

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

.button--nav {
  min-height: 42px;
  padding: 10px 14px;
  color: #fff;
  background: var(--rose);
}

.hero,
.page-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(620px, 84vh, 760px);
  overflow: hidden;
  isolation: isolate;
}

.page-hero {
  min-height: clamp(440px, 60vh, 590px);
}

.hero > img,
.page-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 22, 20, 0.82), rgba(14, 22, 20, 0.42) 46%, rgba(14, 22, 20, 0.08)),
    linear-gradient(0deg, rgba(14, 22, 20, 0.22), rgba(14, 22, 20, 0.22));
}

.hero-content {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0;
  color: #fff;
}

.hero-content h1 {
  max-width: 850px;
  margin: 10px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 7.6rem);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}

.page-hero .hero-content h1 {
  font-size: clamp(2.6rem, 7vw, 6rem);
}

.hero-content p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
}

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

.hero .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow {
  color: #ffd49f;
}

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

.proof-band {
  width: min(1120px, calc(100% - 32px));
  margin: -56px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--line);
}

.proof-band div {
  min-height: 132px;
  padding: 24px;
  background: #fff;
  transition: transform 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
}

.proof-band strong {
  display: block;
  margin-bottom: 8px;
  color: var(--sage-dark);
  font-size: 1.08rem;
}

.proof-band span {
  color: var(--muted);
}

.section {
  padding: clamp(66px, 9vw, 112px) 0;
}

.section--tint {
  background: var(--soft);
}

.section--warm {
  background: var(--warm);
}

.section--gallery {
  background: #fbfbf8;
}

.section--map {
  background: linear-gradient(180deg, #fff, #f7f8f4);
  scroll-margin-top: 130px;
}

.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

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

.section-heading--compact {
  max-width: 760px;
  text-align: center;
  margin-inline: auto;
}

h2,
h3,
p {
  text-wrap: pretty;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.split--reverse {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
}

.copy-stack {
  display: grid;
  gap: 18px;
}

.copy-stack p {
  margin: 0;
  font-size: 1.05rem;
}

.image-panel {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--soft);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease), filter 320ms var(--ease);
}

.feature-grid,
.check-list,
.two-grid,
.three-grid,
.dog-grid,
.gallery-grid {
  display: grid;
  gap: 16px;
}

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

.feature-grid span,
.check-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--sage-dark);
  font-weight: 800;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
}

.feature-grid svg,
.check-list svg {
  width: 19px;
  height: 19px;
  color: var(--rose);
  flex: 0 0 auto;
}

.check-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.check-list--stack {
  grid-template-columns: 1fr;
}

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

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

.info-card,
.dog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 15px 35px rgba(20, 26, 24, 0.08);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}

.info-card {
  padding: 26px;
}

.info-card p {
  margin: 0;
}

.icon-pill {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--sage);
  transition: transform 220ms var(--ease), background 220ms var(--ease);
}

.icon-pill svg {
  width: 22px;
  height: 22px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sage-dark);
  font-weight: 900;
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.text-link svg {
  width: 18px;
  height: 18px;
  transition: transform 180ms var(--ease);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline article {
  min-height: 170px;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.timeline strong {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--rose);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.timeline p {
  margin: 0;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1.22fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.map-details {
  display: grid;
  gap: 10px;
}

.map-details span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--sage-dark);
  font-weight: 800;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
}

.map-details svg {
  width: 19px;
  height: 19px;
  color: var(--rose);
  flex: 0 0 auto;
}

.map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #e7ece5;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: clamp(360px, 52vw, 520px);
  border: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 26, 24, 0.07);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--sage-dark);
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
}

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

.gallery-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  background: var(--soft);
  box-shadow: 0 12px 32px rgba(20, 26, 24, 0.08);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}

.gallery-grid figure::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(22, 32, 29, 0), rgba(22, 32, 29, 0.22));
  opacity: 0;
  transition: opacity 240ms var(--ease);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease), filter 320ms var(--ease);
}

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

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

.dog-card {
  overflow: hidden;
}

.dog-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 500ms var(--ease), filter 280ms var(--ease);
}

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

.dog-card p {
  margin: 0 0 5px;
  color: var(--rose);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dog-card span {
  display: block;
  color: var(--muted);
}

.application-form {
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.form-heading {
  max-width: 680px;
}

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

.application-form label,
.application-form fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfbf8;
  color: var(--ink);
  padding: 12px 13px;
  transition: border-color 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}

.application-form textarea {
  resize: vertical;
}

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

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.choice-grid label {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfbf8;
  font-weight: 700;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}

.choice-grid input {
  width: auto;
}

.hide-field {
  position: absolute;
  left: -9999px;
}

.form-submit {
  justify-self: start;
  min-width: 220px;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  margin: clamp(66px, 9vw, 112px) auto;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--sage-dark), #375a50 64%, #7b5545);
  box-shadow: var(--shadow);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

.cta-band h2 {
  color: #fff;
}

.cta-band p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--ink);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 38px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.65fr;
  gap: 34px;
}

.footer-logo {
  width: min(360px, 100%);
  padding: 12px 14px;
  background: #fff;
  border-radius: var(--radius);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.site-footer h2 {
  margin-bottom: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
}

.site-footer p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 180ms var(--ease), transform 180ms var(--ease);
}

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

:focus-visible {
  outline: 3px solid rgba(199, 155, 68, 0.75);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .topbar a:hover {
    color: #ffd49f;
    transform: translateY(-1px);
  }

  .brand:hover {
    filter: drop-shadow(0 12px 18px rgba(20, 26, 24, 0.18));
    transform: translateY(-2px);
  }

  .brand:hover img {
    transform: scale(1.04);
  }

  .nav-links a:hover {
    box-shadow: 0 10px 24px rgba(47, 111, 98, 0.12);
    transform: translateY(-1px);
  }

  .nav-links a:hover::after {
    transform: scaleX(1);
  }

  .nav-toggle:hover {
    border-color: rgba(199, 155, 68, 0.65);
    box-shadow: 0 12px 28px rgba(20, 26, 24, 0.12);
    transform: translateY(-1px);
  }

  .button:hover {
    box-shadow: 0 18px 38px rgba(20, 26, 24, 0.2);
    transform: translateY(-2px);
  }

  .button:hover::before {
    transform: translateX(120%);
  }

  .button:hover svg {
    transform: translateX(2px) scale(1.04);
  }

  .button--primary:hover,
  .button--nav:hover {
    box-shadow: 0 20px 42px rgba(47, 111, 98, 0.32);
  }

  .button--secondary:hover {
    border-color: rgba(199, 155, 68, 0.55);
    color: var(--ink);
  }

  .button--ghost:hover {
    border-color: #ffd49f;
    background: rgba(255, 255, 255, 0.18);
  }

  .proof-band div:hover {
    z-index: 1;
    background: #fffaf2;
    box-shadow: 0 22px 52px rgba(20, 26, 24, 0.14);
    transform: translateY(-4px);
  }

  .image-panel:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
  }

  .image-panel:hover img {
    filter: saturate(1.08) contrast(1.03);
    transform: scale(1.045);
  }

  .feature-grid span:hover,
  .check-list span:hover {
    background: #fffaf2;
    border-color: rgba(199, 155, 68, 0.42);
    box-shadow: 0 16px 34px rgba(20, 26, 24, 0.1);
    transform: translateY(-2px);
  }

  .info-card:hover,
  .dog-card:hover,
  .timeline article:hover {
    border-color: rgba(199, 155, 68, 0.5);
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
  }

  .info-card:hover .icon-pill {
    background: var(--rose);
    transform: rotate(-3deg) scale(1.06);
  }

  .text-link:hover {
    color: var(--rose);
  }

  .text-link:hover svg {
    transform: translateX(4px);
  }

  .gallery-grid figure:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
  }

  .gallery-grid figure:hover::after {
    opacity: 1;
  }

  .gallery-grid figure:hover img,
  .dog-card:hover img {
    filter: saturate(1.08) contrast(1.03);
    transform: scale(1.055);
  }

  .map-details span:hover {
    background: #fffaf2;
    border-color: rgba(199, 155, 68, 0.42);
    box-shadow: 0 16px 34px rgba(20, 26, 24, 0.1);
    transform: translateY(-2px);
  }

  .map-card:hover {
    border-color: rgba(199, 155, 68, 0.5);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
  }

  .faq-list details:hover {
    border-color: rgba(199, 155, 68, 0.5);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
  }

  .choice-grid label:hover {
    background: #fff;
    border-color: rgba(199, 155, 68, 0.45);
    box-shadow: 0 12px 28px rgba(20, 26, 24, 0.08);
    transform: translateY(-1px);
  }

  .cta-band:hover {
    box-shadow: 0 30px 82px rgba(20, 26, 24, 0.22);
    transform: translateY(-3px);
  }

  .footer-logo:hover {
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
    transform: translateY(-3px) scale(1.02);
  }

  .site-footer a:hover {
    transform: translateX(3px);
  }
}

.application-form input:hover,
.application-form select:hover,
.application-form textarea:hover {
  border-color: rgba(47, 111, 98, 0.35);
  background: #fff;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(199, 155, 68, 0.16);
  outline: none;
}

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

.footer-bottom {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
}

@media (max-width: 1040px) {
  .topbar {
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .nav {
    grid-template-columns: 1fr auto auto;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    inset: 100% 16px auto;
    display: none;
    grid-template-columns: 1fr;
    justify-content: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    justify-content: flex-start;
  }

  .proof-band,
  .three-grid,
  .check-list,
  .dog-grid,
  .dog-grid--hall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .split,
  .split--reverse,
  .map-layout,
  .cta-band,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .topbar span,
  .topbar a.topbar-location {
    display: none;
  }

  .topbar {
    padding: 7px 12px;
    font-size: 0.84rem;
  }

  .nav {
    min-height: 60px;
    width: min(100% - 24px, 1120px);
    gap: 8px;
  }

  .button--nav {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 0.92rem;
  }

  .brand img {
    width: clamp(150px, 52vw, 224px);
    max-height: 50px;
  }

  .hero {
    min-height: 78vh;
  }

  .page-hero {
    min-height: clamp(410px, 54vh, 480px);
    align-items: end;
  }

  .hero-content {
    width: min(100% - 28px, 1120px);
    padding: 42px 0;
  }

  .page-hero .hero-content {
    padding: 34px 0 40px;
  }

  .page-hero .hero-content h1 {
    margin-bottom: 14px;
    font-size: clamp(2.5rem, 12vw, 4.4rem);
  }

  .hero-content p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .proof-band,
  .feature-grid,
  .two-grid,
  .three-grid,
  .check-list,
  .timeline,
  .gallery-grid,
  .map-layout,
  .dog-grid,
  .dog-grid--hall,
  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .proof-band {
    margin-top: 0;
    width: 100%;
    border-radius: 0;
  }

  .section-inner,
  .footer-inner,
  .footer-bottom,
  .cta-band {
    width: min(100% - 28px, 1120px);
  }

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

@media (max-width: 480px) {
  .topbar a.topbar-social {
    display: none;
  }
}

@media (max-width: 380px) {
  .nav {
    gap: 8px;
  }

  .button--nav {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .brand img {
    width: 142px;
  }
}
