@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/Nunito-VariableFont_wght.ttf') format('truetype');
}

:root {
  color-scheme: light;
  --ink: #0a2540;
  --paper: #fff8e7;
  --paper-rgb: 255, 248, 231;
  --muted: #fffdf6;
  --accent: #f4b63f;
  --accent-rgb: 244, 182, 63;
  --accent-dark: #925f00;
  --line: rgba(10, 37, 64, 0.14);
  --radius: 8px;
  --font-main: "Comic Sans MS", "Comic Sans", cursive;
  --font-heading: "Lato", sans-serif;
  font-family: var(--font-main);
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

h1,
h2,
h4,
h5 {
  font-family: var(--font-heading);
}

body.admin-bar .site-header {
  top: 32px;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 190px auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px 34px;
  background: rgba(var(--paper-rgb), 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 176px;
}

body.force-desktop .viewport-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.viewport-toggle {
  appearance: none;
  justify-self: center;
  display: none;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 950;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
}

.main-nav-list {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  font-weight: 900;
}

.main-nav .menu-item {
  list-style: none;
  position: relative;
}

.main-nav a {
  display: block;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav .current-menu-item:not(.is-current-suppressed) > a,
.main-nav .current_page_item:not(.is-current-suppressed) > a,
.main-nav .menu-item.is-active > a {
  border-color: currentColor;
  color: var(--accent-dark);
}

.main-nav .sub-menu {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 36px rgba(10, 37, 64, 0.14);
  display: grid;
  gap: 4px;
  left: 0;
  list-style: none;
  margin: 0;
  min-width: 220px;
  opacity: 0;
  padding: 10px;
  pointer-events: none;
  position: absolute;
  top: 100%;
  transform: translateY(0);
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 30;
}

.main-nav .sub-menu::before {
  content: "";
  height: 10px;
  left: 0;
  position: absolute;
  right: 0;
  top: -10px;
}

.main-nav .menu-item:hover > .sub-menu,
.main-nav .menu-item:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
}

.main-nav-list > .menu-item:nth-last-child(-n + 2) > .sub-menu {
  left: auto;
  right: 0;
}

.main-nav .sub-menu a {
  border-bottom: 0;
  border-radius: 6px;
  padding: 8px 10px;
  white-space: nowrap;
}

.main-nav .sub-menu a:hover,
.main-nav .sub-menu a:focus {
  background: var(--muted);
}

.home-hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  padding: 132px 34px 44px;
  overflow: hidden;
}

.hero-media,
.hero-media .carousel {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  color: #fff;
}

.eyebrow,
.card-kicker,
.section-head p {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 20px;
  font-size: 4.7rem;
  line-height: 0.94;
  text-transform: uppercase;
}

.home-slogan {
  max-width: 24ch;
  font-size: clamp(2.6rem, 4.4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-transform: none;
}

.intro {
  max-width: 660px;
  margin-bottom: 26px;
  font-size: 1.12rem;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 2px solid currentColor;
  border-radius: var(--radius);
  font-weight: 950;
}

.button.primary {
  color: #041a1e;
  background: var(--accent);
  border-color: var(--accent);
}

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

.carousel {
  overflow: hidden;
  outline: none;
  background: #0a2540;
}

.carousel-track {
  height: 100%;
  display: flex;
  transition: transform 760ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.carousel-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 37, 64, 0.9), rgba(10, 37, 64, 0.58) 44%, rgba(var(--accent-rgb), 0.24));
  pointer-events: none;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-copy {
  display: none !important;
}

.carousel-ui {
  position: absolute;
  z-index: 5;
  right: 34px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.arrow,
.dot {
  appearance: none;
  border: 0;
  cursor: pointer;
}

.arrow {
  width: 42px;
  height: 42px;
  position: relative;
  border-radius: var(--radius);
  background: var(--accent);
  color: #041a1e;
}

.arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.arrow.prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.arrow.next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.dots {
  display: flex;
  gap: 6px;
  padding: 8px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
}

.dot {
  width: 24px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.45);
}

.dot.is-active {
  background: #fff;
}

.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
}

.progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left;
  background: var(--accent);
  animation: progress 6200ms linear infinite;
}

@keyframes progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.counter-band,
.mission-strip {
  display: grid;
  background: #0a2540;
  color: #fff;
}

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

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

.counter-band article,
.mission-strip article {
  min-height: 170px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.counter-band strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 2.7rem;
  line-height: 1;
}

.counter-band span,
.mission-strip span {
  display: block;
  margin-bottom: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.mission-strip p,
.counter-band p {
  margin: 0;
  line-height: 1.55;
}

.content-band,
.page-content {
  padding: 80px 34px;
  background: #fff;
}

.content-band.muted {
  background: var(--muted);
}

.section-head {
  width: min(840px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 8px;
  font-size: 2.6rem;
  line-height: 1.08;
}

.info-grid,
.dog-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-grid article,
.dog-card,
.post-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.dog-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0;
  overflow: hidden;
}

.dog-card-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  margin: 16px 16px 0;
  padding: 8px;
  border: 1px solid rgba(10, 37, 64, 0.16);
  border-bottom-width: 12px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(10, 37, 64, 0.12);
}

.dog-sex-male .dog-card-photo {
  border-color: #8ab8ff;
}

.dog-sex-female .dog-card-photo {
  border-color: #f3a3c7;
}

.dog-card.is-deceased .dog-card-photo {
  border-color: #d8909c;
}

.dog-memorial-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  background: rgba(10, 37, 64, 0.88);
  box-shadow: 0 8px 22px rgba(10, 37, 64, 0.24);
  cursor: help;
  font-size: 1.35rem;
  line-height: 1;
}

.dog-memorial-badge::after {
  position: absolute;
  right: 0;
  bottom: calc(100% + 9px);
  width: max-content;
  max-width: 220px;
  padding: 8px 11px;
  border-radius: 8px;
  background: #0a2540;
  color: #fff;
  content: attr(data-tooltip);
  font-family: "Comic Sans MS", "Comic Sans", cursive;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.dog-memorial-badge:hover::after,
.dog-memorial-badge:focus::after,
.dog-memorial-badge:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.dog-card-photo img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: cover;
}

.dog-card.is-deceased .dog-card-copy {
  padding-right: 78px;
}

/* Adoptés use a 6:5 crop. The saved focal point controls the visible area. */
.dog-card-section-adopted .dog-card-photo {
  aspect-ratio: 6 / 5;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--muted);
  box-shadow: none;
}

.dog-card-section-adopted .dog-card-photo img {
  object-fit: cover;
  border-radius: 0;
}

.dog-card-copy {
  padding: 22px;
}

.dog-card-description {
  margin-top: 4px;
}

.dog-card-description-text {
  margin: 0;
}

.dog-card-description.is-collapsible:not(.is-expanded) .dog-card-description-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.dog-card-description-toggle {
  display: none;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  margin: 10px 0 0;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 950;
}

.dog-card-description.is-collapsible .dog-card-description-toggle {
  display: inline-flex;
}

.dog-card-description-toggle:hover,
.dog-card-description-toggle:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.dog-card-description-chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.dog-card-description.is-expanded .dog-card-description-chevron {
  transform: translateY(2px) rotate(225deg);
}

.dog-cover-card {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0 auto 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0a2540;
  color: #fff;
  box-shadow: 0 24px 56px rgba(10, 37, 64, 0.14);
}

.dog-cover-card img {
  width: 100%;
  height: clamp(300px, 34vw, 430px);
  object-fit: cover;
}

.dog-cover-copy {
  display: grid;
  align-content: start;
  padding: 34px;
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.98), rgba(10, 37, 64, 0.78));
}

.dog-cover-copy h2 {
  margin-bottom: 14px;
  font-size: 2.7rem;
  line-height: 1.04;
  text-transform: uppercase;
}

.dog-cover-copy p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.info-grid h3,
.dog-card h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.info-grid p,
.dog-card p,
.page-content p {
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent-dark);
  font-weight: 950;
  text-decoration: underline;
}

.page-hero {
  padding: 160px 34px 70px;
  color: #fff;
  background: linear-gradient(90deg, rgba(10, 37, 64, 0.96), rgba(10, 37, 64, 0.78)), #0a2540;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
}

.page-content {
  min-height: 45vh;
}

.page-content > * {
  width: min(980px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.page-content .dog-grid {
  width: min(1120px, 100%);
  margin-top: 36px;
}

.page-content .dog-cover-card {
  width: min(1120px, 100%);
}

.pillar-hero {
  min-height: 420px;
  display: grid;
  align-items: end;
  padding: 150px 34px 72px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 37, 64, 0.94), rgba(10, 37, 64, 0.78)),
    url("../logo-mark.png") center / min(760px, 72vw) no-repeat,
    #0a2540;
}

.pillar-hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.pillar-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
}

.pillar-hero-hook {
  max-width: 780px;
  margin: -4px 0 16px;
  color: #fff;
  font-size: clamp(1.28rem, 2.4vw, 1.95rem);
  font-weight: 950;
  line-height: 1.24;
}

.pillar-hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
  line-height: 1.7;
}

.pillar-subnav {
  position: relative;
  z-index: 16;
  width: 100%;
  padding: 12px 34px;
  background: rgba(var(--paper-rgb), 0.96);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.pillar-subnav.is-fixed {
  position: fixed;
  top: var(--sticky-top, 0);
  left: 0;
  right: 0;
  transform: translateY(0);
  background: rgba(var(--paper-rgb), 0.98);
  box-shadow: 0 14px 34px rgba(10, 37, 64, 0.12);
}

.pillar-subnav.is-fixed .pillar-subnav-track {
  animation: subnavSettle 180ms ease-out;
}

@keyframes subnavSettle {
  from {
    transform: translateY(-6px);
    opacity: 0.86;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.pillar-subnav-track {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0 2px 2px;
  scrollbar-width: thin;
}

.pillar-subnav a {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(10, 37, 64, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.pillar-subnav a:hover,
.pillar-subnav a:focus,
.pillar-subnav a.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #041a1e;
}

.pillar-sections {
  background: var(--paper);
}

.pillar-section {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(120px, 0.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
  width: min(1120px, calc(100% - 68px));
  margin: 0 auto;
  padding: clamp(84px, 11vw, 132px) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 160px;
}

.pillar-section:nth-child(even) {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
}

.pillar-section-visual {
  align-self: start;
  aspect-ratio: 1;
  border: 1px solid rgba(10, 37, 64, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(10, 37, 64, 0.14);
  margin: 0;
  max-width: 280px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.pillar-section-visual::after {
  background: linear-gradient(135deg, rgba(4, 25, 46, 0.12), rgba(4, 25, 46, 0.64));
  content: "";
  inset: 0;
  position: absolute;
}

.pillar-section-visual img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.pillar-section-copy {
  width: min(760px, 100%);
}

.pillar-section-copy h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  line-height: 1;
  text-transform: uppercase;
}

.pillar-section-copy .pillar-section-hook {
  max-width: 720px;
  margin: 0 0 26px;
  color: var(--accent-dark);
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  font-weight: 950;
  line-height: 1.35;
}

.pillar-section-copy p {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.8;
}

.pillar-section-copy p a {
  color: var(--accent-dark);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.pillar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pillar-section-team {
  width: min(1240px, calc(100% - 68px));
  grid-template-columns: minmax(110px, 0.18fr) minmax(0, 0.82fr);
}

.pillar-section-team .pillar-section-copy {
  width: 100%;
}

.pillar-section-guestbook {
  width: min(1280px, calc(100% - 68px));
  grid-template-columns: minmax(180px, 0.2fr) minmax(0, 0.8fr);
}

.pillar-section-guestbook .pillar-section-copy {
  width: 100%;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.team-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(10, 37, 64, 0.12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(10, 37, 64, 0.1);
}

.team-card-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(var(--accent-rgb), 0.12);
}

.team-card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.team-card:hover .team-card-photo img {
  transform: scale(1.025);
}

.team-card-copy {
  display: flex;
  min-height: 220px;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
}

.pillar-section-copy .team-card-kicker {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.team-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  line-height: 1.08;
}

.pillar-section-copy .team-card-role {
  margin: 12px 0 24px;
  color: rgba(10, 37, 64, 0.72);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.team-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.team-card-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(10, 37, 64, 0.16);
  border-radius: 999px;
  padding: 0 18px;
  background: #fff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
  text-decoration: none;
}

.team-card-link:hover,
.team-card-link:focus,
.team-card-link.is-facebook {
  border-color: var(--accent);
  background: var(--accent);
  color: #041a1e;
}

.pillar-points {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.pillar-points li {
  position: relative;
  padding: 18px 18px 18px 54px;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: var(--radius);
  background: rgba(var(--accent-rgb), 0.09);
  line-height: 1.55;
}

.pillar-points li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.showcase-anchor {
  height: 0;
  scroll-margin-top: 160px;
}

.pillar-section-showcase {
  display: block;
  min-height: auto;
  width: min(1280px, calc(100% - 68px));
  padding: clamp(76px, 9vw, 116px) 0;
}

.pillar-section-showcase .pillar-section-copy {
  width: 100%;
}

.pillar-section-showcase .dog-grid {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

.dog-showcase-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  min-height: 590px;
  overflow: hidden;
  border: 1px solid rgba(10, 37, 64, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 14% 8%, rgba(var(--accent-rgb), 0.24), transparent 32%),
    linear-gradient(145deg, #071f37 0%, #0a2d4d 72%, #0b3558 100%);
  box-shadow: 0 34px 80px rgba(10, 37, 64, 0.19);
  color: #fff;
}

.dog-showcase-hero::before {
  position: absolute;
  z-index: -1;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
  left: -190px;
  bottom: -190px;
}

.dog-showcase-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(44px, 6vw, 78px);
}

.dog-showcase-eyebrow,
.pillar-section-copy .dog-showcase-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.dog-showcase-eyebrow span,
.pillar-section-copy .dog-showcase-eyebrow span {
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.pillar-section-copy .dog-showcase-hero h2 {
  max-width: 7ch;
  margin: 0;
  color: #fff;
  font-size: clamp(3.4rem, 6.2vw, 6.5rem);
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-transform: none;
}

.dog-showcase-hero-copy > p:not(.dog-showcase-eyebrow) {
  max-width: 520px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
  line-height: 1.65;
}

.dog-showcase-hero-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding-top: 58px;
}

.dog-showcase-count {
  display: grid;
  grid-template-columns: auto minmax(0, 120px);
  gap: 14px;
  align-items: center;
}

.dog-showcase-count strong {
  color: #fff;
  font-size: clamp(2.4rem, 4vw, 3.7rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 0.82;
}

.dog-showcase-count span {
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.dog-showcase-jump {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 18px 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 950;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.dog-showcase-jump span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #041a1e;
}

.dog-showcase-jump:hover,
.dog-showcase-jump:focus-visible {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.dog-showcase-visual {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  place-items: center;
  margin: 0;
  padding: clamp(30px, 4vw, 52px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(var(--accent-rgb), 0.13));
}

.dog-showcase-visual::before {
  position: absolute;
  width: min(76%, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(var(--accent-rgb), 0.34);
  border-radius: 28px;
  content: "";
  transform: translate(18px, 18px);
}

.dog-showcase-image-frame {
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.94);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.dog-showcase-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dog-showcase-visual figcaption {
  position: absolute;
  right: clamp(22px, 3.5vw, 48px);
  bottom: clamp(22px, 3.5vw, 48px);
  z-index: 2;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(7, 31, 55, 0.88);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.dog-showcase-profiles {
  padding-top: 58px;
  scroll-margin-top: 170px;
}

.dog-showcase-profiles-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(10, 37, 64, 0.14);
}

.dog-showcase-profiles-head .dog-showcase-eyebrow {
  margin-bottom: 8px;
  color: var(--accent-dark);
}

.dog-showcase-profiles-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1;
}

.dog-showcase-profiles-head > span {
  flex: 0 0 auto;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 950;
}

.dog-grid-adoption {
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 380px));
  justify-content: start;
}

.empty-showcase {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 800;
}


.dog-name-warning {
  display: inline-flex;
  margin: -4px 0 12px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 199, 0, 0.18);
  color: #7c5600;
  font-size: 0.78rem;
  font-weight: 950;
}

.guestbook {
  margin-top: 34px;
}

.guestbook-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(var(--accent-rgb), 0.34);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.14), #fff 62%);
  box-shadow: 0 18px 50px rgba(10, 37, 64, 0.08);
}

.guestbook-callout h3,
.guestbook-messages-head h3,
.guestbook-dialog-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
}

.pillar-section-copy .guestbook-callout .card-kicker,
.pillar-section-copy .guestbook-messages-head .card-kicker,
.pillar-section-copy .guestbook-dialog-head .card-kicker {
  margin: 0 0 5px;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.pillar-section-copy .guestbook-callout p:last-child {
  max-width: 680px;
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.65;
}

.guestbook-write-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.guestbook .button {
  box-shadow: 0 8px 18px rgba(10, 37, 64, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.guestbook .button:hover,
.guestbook .button:focus-visible {
  box-shadow: 0 14px 26px rgba(10, 37, 64, 0.16);
  filter: brightness(1.035);
  outline: none;
  transform: translateY(-3px);
}

.guestbook .button:active {
  box-shadow: 0 6px 12px rgba(10, 37, 64, 0.12);
  transform: translateY(0) scale(0.98);
}

.guestbook-messages {
  display: grid;
  gap: 20px;
}

.guestbook-message-card,
.guestbook-notice,
.guestbook-empty {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.guestbook-messages-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 0 2px 4px;
}

.guestbook-messages-head > span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 950;
}

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

.guestbook-message-card {
  position: relative;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  overflow: hidden;
  padding: 30px;
  box-shadow: 0 16px 38px rgba(10, 37, 64, 0.07);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.guestbook-message-card:hover {
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 22px 48px rgba(10, 37, 64, 0.12);
  transform: translateY(-4px);
}

.guestbook-quote-mark {
  position: absolute;
  top: 8px;
  right: 18px;
  color: rgba(var(--accent-rgb), 0.25);
  font-family: Georgia, serif;
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.pillar-section-copy .guestbook-message-preview {
  position: relative;
  display: -webkit-box;
  overflow: hidden;
  max-width: none;
  margin: 0 0 26px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
}

.guestbook-message-meta {
  margin-top: auto;
}

.guestbook-message-meta strong,
.guestbook-message-meta span,
.guestbook-reader-meta strong,
.guestbook-reader-meta span {
  display: block;
}

.guestbook-message-meta span,
.guestbook-reader-meta span {
  color: var(--accent-dark);
  font-weight: 900;
}

.guestbook-read-button {
  position: relative;
  align-self: flex-start;
  margin-top: 18px;
  border: 0;
  padding: 4px 0 7px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 950;
  transition: color 0.18s ease, transform 0.18s ease;
}

.guestbook-read-button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0.38);
  transform-origin: left;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.guestbook-read-button:hover,
.guestbook-read-button:focus {
  color: var(--accent-dark);
  outline: none;
  transform: translateX(4px);
}

.guestbook-read-button:hover::after,
.guestbook-read-button:focus::after {
  transform: scaleX(1);
}

.guestbook-load-more {
  justify-self: center;
  margin-top: 8px;
}

.guestbook-empty,
.guestbook-notice {
  padding: 22px;
}

.guestbook-empty strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.pillar-section-copy .guestbook-empty p {
  margin: 0;
}

.guestbook-notice {
  margin-bottom: 28px;
  border-color: rgba(var(--accent-rgb), 0.4);
  background: rgba(var(--accent-rgb), 0.09);
  font-weight: 900;
}

.guestbook-notice.is-error {
  border-color: rgba(190, 24, 24, 0.28);
  background: rgba(254, 226, 226, 0.72);
  color: #7f1d1d;
}

.guestbook-dialog {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: auto;
  padding: clamp(18px, 4vw, 56px);
  background: rgba(4, 20, 36, 0.72);
  backdrop-filter: blur(16px) saturate(0.78);
  -webkit-backdrop-filter: blur(16px) saturate(0.78);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.guestbook-dialog[hidden] {
  display: none !important;
}

.guestbook-dialog-shell {
  position: relative;
  width: min(940px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: linear-gradient(155deg, #fff 0%, #fffdf8 62%, rgba(var(--accent-rgb), 0.12) 100%);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.44), 0 0 0 8px rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(22px) scale(0.975);
}

.guestbook-form-dialog .guestbook-dialog-shell {
  width: min(1040px, 100%);
}

.guestbook-dialog.is-open .guestbook-dialog-shell {
  animation: guestbook-modal-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.guestbook-dialog.is-open {
  opacity: 1;
}

.guestbook-dialog.is-closing {
  opacity: 0;
  pointer-events: none;
}

.guestbook-dialog.is-closing .guestbook-dialog-shell {
  animation: guestbook-modal-out 0.22s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes guestbook-modal-in {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.975);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes guestbook-modal-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
}

.guestbook-dialog-head {
  position: sticky;
  z-index: 4;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  padding: 26px 30px 24px 34px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.guestbook-dialog-close {
  display: inline-flex;
  min-height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px 0 18px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.guestbook-dialog-close span:last-child {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  transition: background 0.18s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.guestbook-dialog-close:hover,
.guestbook-dialog-close:focus {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
  outline: none;
  transform: translateY(-1px);
}

.guestbook-dialog-close:hover span:last-child,
.guestbook-dialog-close:focus span:last-child {
  background: #041a1e;
  transform: rotate(90deg) scale(1.06);
}

.guestbook-dialog-close:focus-visible {
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.26);
}

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

.guestbook-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 900;
}

.guestbook-form input,
.guestbook-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.guestbook-form input:hover,
.guestbook-form textarea:hover {
  border-color: rgba(var(--accent-rgb), 0.7);
}

.guestbook-form input:focus,
.guestbook-form textarea:focus {
  border-color: var(--accent);
  background: #fffefb;
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.2);
}

.guestbook-form textarea {
  min-height: 210px;
  resize: vertical;
}

.guestbook-form .guestbook-message,
.guestbook-form .guestbook-consent {
  grid-column: 1 / -1;
}

.guestbook-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.guestbook-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-size: 0.92rem;
  line-height: 1.45;
}

.guestbook-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.guestbook-form > .button {
  justify-self: start;
}

.guestbook-reader-content {
  position: relative;
  width: min(820px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 70px);
}

.guestbook-reader-content::before {
  content: "“";
  position: absolute;
  top: 22px;
  right: clamp(28px, 5vw, 58px);
  color: rgba(var(--accent-rgb), 0.22);
  font-family: Georgia, serif;
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.pillar-section-copy .guestbook-reader-copy p {
  position: relative;
  max-width: none;
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.9;
}

.guestbook-reader-meta {
  margin-top: 32px;
  border-top: 1px solid rgba(var(--accent-rgb), 0.45);
  padding-top: 24px;
  font-size: 1.08rem;
}

body.guestbook-dialog-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .guestbook-dialog,
  .guestbook-dialog-shell,
  .guestbook-message-card,
  .guestbook .button,
  .guestbook-read-button,
  .guestbook-read-button::after,
  .guestbook-dialog-close,
  .guestbook-dialog-close span:last-child {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.site-footer {
  background: #0a2540;
  color: #fff;
}

.footer-inner {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px;
  text-align: center;
}

.footer-inner img {
  width: 42px;
  height: 42px;
}

.footer-inner p {
  margin: 0;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-socials a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.footer-socials svg rect,
.footer-socials svg circle:not(.instagram-dot) {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.footer-socials .instagram-dot {
  fill: currentColor;
}

.footer-inner a {
  color: var(--accent);
  font-weight: 950;
  text-decoration: underline;
}

.footer-inner .footer-socials a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 980px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .site-header {
    position: fixed;
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .viewport-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
  }

  .brand img {
    width: 156px;
  }

  .main-nav,
  .main-nav-list {
    justify-content: flex-start;
    gap: 12px;
    font-size: 0.8rem;
  }

  .main-nav {
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .main-nav-list {
    flex-wrap: nowrap;
    min-width: max-content;
  }

  .main-nav .sub-menu {
    display: none;
  }

  .home-hero {
    min-height: 900px;
    padding: 186px 18px 32px;
  }

  h1 {
    max-width: 12ch;
    font-size: 3.15rem;
  }

  .home-slogan {
    max-width: 18ch;
    font-size: 2.55rem;
    line-height: 1.08;
  }

  .intro {
    font-size: 1rem;
  }

  .carousel-ui {
    right: 18px;
    bottom: 24px;
  }

  .counter-band,
  .mission-strip,
  .info-grid,
  .dog-grid {
    grid-template-columns: 1fr;
  }

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

  .dog-cover-card img {
    height: 300px;
  }

  .dog-cover-copy {
    padding: 26px;
  }

  .counter-band article,
  .mission-strip article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .content-band,
  .page-content {
    padding: 58px 18px;
  }

  .page-hero {
    padding: 160px 18px 54px;
  }

  .pillar-hero {
    min-height: 380px;
    padding: 170px 18px 52px;
  }

  .pillar-hero h1 {
    font-size: 3.15rem;
  }

  .pillar-subnav {
    padding: 10px 18px;
  }

  .pillar-subnav-track {
    width: 100%;
  }

  .pillar-subnav a {
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.75rem;
  }

  .pillar-section {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(100% - 36px, 760px);
    padding: 72px 0;
  }

  .pillar-section-copy h2 {
    font-size: 2.35rem;
  }

  .pillar-section-copy .pillar-section-hook {
    font-size: 1.12rem;
  }

  .pillar-section-copy p {
    font-size: 1rem;
  }

  .pillar-section-showcase {
    width: min(100% - 36px, 760px);
    padding: 72px 0;
  }

  .dog-showcase-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .dog-showcase-hero-copy {
    min-height: 430px;
  }

  .pillar-section-copy .dog-showcase-hero h2 {
    font-size: clamp(3.4rem, 12vw, 5.4rem);
  }

  .dog-showcase-visual {
    min-height: 0;
    padding: 38px;
  }

  .dog-showcase-image-frame {
    width: min(100%, 560px);
  }

  .section-head h2 {
    font-size: 2rem;
  }

  .footer-inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .guestbook-callout {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .guestbook-messages-grid,
  .guestbook-form {
    grid-template-columns: 1fr;
  }

  .guestbook-form > label {
    grid-column: 1;
  }

  .guestbook-message-card {
    min-height: 290px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.45rem;
  }

  .home-slogan {
    max-width: 15ch;
    font-size: 2.12rem;
  }

  .actions {
    display: grid;
    padding-bottom: 96px;
  }

  .button {
    width: 100%;
  }

  .guestbook-messages-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .guestbook-message-card {
    padding: 24px;
  }

  .guestbook-dialog {
    padding: 9px;
  }

  .guestbook-dialog-shell {
    max-height: 94vh;
    border-radius: 18px;
  }

  .guestbook-dialog-head,
  .guestbook-form,
  .guestbook-reader-content {
    padding: 20px;
  }

  .home-hero {
    min-height: 840px;
  }

  .dots {
    display: none;
  }

  .pillar-hero {
    min-height: 360px;
  }

  .pillar-hero h1 {
    font-size: 2.45rem;
  }

  .pillar-section-copy h2 {
    font-size: 2rem;
  }

  .dog-showcase-hero {
    border-radius: 20px;
  }

  .dog-showcase-hero-copy {
    min-height: 390px;
    padding: 34px 26px;
  }

  .pillar-section-copy .dog-showcase-hero h2 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .dog-showcase-hero-actions {
    display: grid;
    align-items: start;
    justify-items: start;
    margin-top: 42px;
    padding-top: 0;
  }

  .dog-showcase-jump {
    width: 100%;
  }

  .dog-showcase-visual {
    padding: 20px;
  }

  .dog-showcase-image-frame {
    border-width: 5px;
    border-radius: 16px;
  }

  .dog-showcase-visual::before {
    display: none;
  }

  .dog-showcase-visual figcaption {
    right: 30px;
    bottom: 30px;
  }

  .dog-showcase-profiles {
    padding-top: 42px;
  }

  .dog-showcase-profiles-head {
    align-items: start;
  }

  .dog-showcase-profiles-head h3 {
    font-size: 1.75rem;
  }

  .pillar-points li {
    padding-left: 46px;
  }

  .pillar-points li::before {
    left: 20px;
  }
}


@media (max-width: 980px) {
  html.force-desktop,
  body.force-desktop {
    min-width: 1180px;
  }

  body.force-desktop .site-header {
    grid-template-columns: 190px auto 1fr;
    padding: 18px 34px;
  }

  body.force-desktop .brand img {
    width: 176px;
  }

  body.force-desktop .main-nav {
    overflow: visible;
    justify-content: flex-end;
  }

  body.force-desktop .main-nav-list {
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
  }

  body.force-desktop .home-hero {
    min-height: 94vh;
    padding: 132px 34px 44px;
  }

  body.force-desktop .counter-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.force-desktop .mission-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  body.force-desktop .actions {
    display: flex;
    padding-bottom: 0;
  }

  body.force-desktop .pillar-section-showcase {
    width: min(1280px, calc(100% - 68px));
  }

  body.force-desktop .dog-showcase-hero {
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
    min-height: 590px;
  }

  body.force-desktop .dog-showcase-hero-copy {
    min-height: 0;
    padding: clamp(44px, 6vw, 78px);
  }

  body.force-desktop .pillar-section-copy .dog-showcase-hero h2 {
    font-size: clamp(3.4rem, 6.2vw, 6.5rem);
  }

  body.force-desktop .dog-showcase-hero-actions {
    display: flex;
    align-items: flex-end;
    justify-items: normal;
    margin-top: auto;
    padding-top: 58px;
  }

  body.force-desktop .dog-showcase-jump {
    width: auto;
  }

  body.force-desktop .dog-showcase-visual {
    padding: clamp(30px, 4vw, 52px);
  }

  body.force-desktop .dog-showcase-image-frame {
    border-width: 8px;
    border-radius: 24px;
  }

  body.force-desktop .dog-showcase-visual::before {
    display: block;
  }
}
