:root {
  --cww-brown: #8b5e3c;
  --cww-slate: #9ca9b0;
  --cww-black: #000;
  --cww-white: #fff;
  --cww-tan: #c49a6c;
  --cww-gold: #ecac58;
  --cww-pink: #fbd3df;
  --cww-cream: #f0e6da;
  --cww-heading-font: "Grandstander", system-ui, sans-serif;
  --cww-body-font: "Roboto", system-ui, sans-serif;
}

body {
  font-family: var(--cww-body-font);
  color: var(--cww-black);
}

h1 {
  margin-bottom: 1.5rem;
  font-family: var(--cww-heading-font);
  font-weight: 700;
  color: var(--cww-brown); /* 5.58:1 on white */
}

.bg-custom {
  background-color: var(--cww-cream);
  border-bottom: 4px solid var(--cww-slate);
}

.logo {
  width: 100%;
  max-width: 150px;
  height: auto;
}

.navlink:link,
.navlink:visited {
  font-family: var(--cww-heading-font);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--cww-black);
  border-radius: 0.5rem;
}

.navlink:hover,
.navlink:focus {
  color: var(--cww-white);
  background-color: var(--cww-brown);
}

.btn-cta {
  font-family: var(--cww-heading-font);
  font-weight: 700;
  color: var(--cww-white);
  background-color: var(--cww-brown);
}

.btn-cta:hover,
.btn-cta:focus {
  color: var(--cww-black);
  background-color: var(--cww-gold);
}

@media (width >= 992px) {
  .navbar-expand-lg .navbar-collapse,
  .navbar-cta {
    flex: 1 1 0;
  }

  .navbar-cta {
    text-align: right;
  }
}

footer {
  background-color: var(--cww-cream);
  border-top: 4px solid var(--cww-slate);
  padding: 2rem 0;
}

.footer-heading {
  font-family: var(--cww-heading-font);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--cww-brown);
}

.footer-text {
  font-family: var(--cww-body-font);
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--cww-black);
  overflow-wrap: anywhere;
}

.footer-email {
  width: max-content;
  max-width: 200%;
}

.footer-link {
  display: inline-flex;
  align-items: baseline;
  max-width: 100%;
}

.footer-handle {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-link:link,
.footer-link:visited {
  color: var(--cww-black);
  text-decoration: none;
}

.footer-link:hover,
.footer-link:focus {
  color: var(--cww-brown);
  text-decoration: underline;
}

@media (width <= 429.98px) {
  .footer-stack {
    width: 100%;
  }
}

.bi {
  color: var(--cww-brown);
  font-size: 1.25rem;
  margin-left: 0.125rem;
  margin-right: 0.5rem;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0.5rem;
  z-index: 1100;
  padding: 0.5rem 1rem;
  font-family: var(--cww-heading-font);
  font-weight: 700;
  color: var(--cww-white);
  background-color: var(--cww-brown);
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 0.5rem;
}

:focus-visible {
  outline: 3px solid var(--cww-brown);
  outline-offset: 2px;
}

.hero-carousel .carousel-item {
  aspect-ratio: 3 / 2;
}

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

.hero-carousel .focus-top-12 {
  /* the play yard, raised as far as it goes. The husky's tongue reached the
     bottom edge and ran behind the carousel indicators; 12% lifts it clear
     of them. 16% starts clipping the poodle at the back of the group, so
     this is the ceiling, not a preference. */
  object-position: 50% 12%;
}

.hero-carousel .focus-top-15 {
  /* the car window shot has slack the play yard does not: its topmost pixel
     is the dog's flyaway hair at source row 78, and 15% starts the window at
     row 68. That tightens the framing by two thirds of the orange roof while
     keeping 10px above the wisps. 20% starts at row 91 and clips them. */
  object-position: 50% 15%;
}

.carousel-control-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: rgb(0 0 0 / 65%);
  border-radius: 50%;
}

.carousel-control-icon .bi {
  margin: 0;
  font-size: 1.5rem;
  color: var(--cww-white);
}

.carousel-indicators [data-bs-target] {
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--cww-white);
  border-radius: 50%;
  opacity: 1;
  background-color: rgb(0 0 0 / 65%);
}

.carousel-indicators .active {
  background-color: var(--cww-gold);
}

.mission {
  position: relative;
  display: flex;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 4px solid var(--cww-slate);
}

.mission-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-body {
  position: relative;
  max-width: 44rem;
  padding: 1.5rem;
  background-color: rgb(0 0 0 / 60%);
  border-radius: 0.5rem;
}

.mission-title {
  font-family: var(--cww-heading-font);
  font-weight: 700;
  color: var(--cww-white);
  text-wrap: balance;
}

.mission-text {
  margin-bottom: 0;
  font-family: var(--cww-body-font);
  line-height: 1.7;
  color: var(--cww-white);
}

@media (width >= 992px) {
  .hero-carousel .carousel-item {
    aspect-ratio: 21 / 9;
  }

  .mission {
    padding: 5rem 0;
  }

  .mission > .container {
    /* the copy is placed against the full-bleed photograph, so the scrim
       keeps the same position relative to the dog at every width instead of
       drifting onto it */
    max-width: none;
    padding-inline: 3rem;
  }

  .mission-body {
    /* the dog's muzzle reaches 47% across the frame. Narrowing the block
       pushes its left edge right, which is what buys the gap -- panning the
       photograph cannot, because the image exactly fills the band and
       widening it to create overflow just zooms the dog back up again.
       38% holds the left edge past 56% at every width from lg up. */
    width: 38%;
    min-width: 24rem;
    max-width: 46rem;
    margin-left: auto;
  }
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background-color: var(--cww-white);
  border: 2px solid var(--cww-slate);
  border-radius: 0.5rem;
}

.tile-media {
  position: relative;
}

.tile-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.tile-badge {
  position: absolute;
  inset: 0 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 0;
  padding: 0.5rem;
  font-family: var(--cww-heading-font);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--cww-white);
  background-color: rgb(0 0 0 / 80%);
}

.tile-badge-label,
.tile-badge-unit {
  font-size: 0.75rem;
}

.tile-badge-price {
  font-size: 1.125rem;
  color: var(--cww-gold);
}

.tile-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 0.75rem;
}

@media (width >= 576px) {
  .tile-body {
    padding: 1rem;
  }
}

.tile-title {
  margin-bottom: 0.5rem;
  font-family: var(--cww-heading-font);
  font-weight: 700;
  font-size: 0.875rem;
  hyphens: auto;
  overflow-wrap: normal;
}

@media (width >= 576px) {
  .tile-title {
    font-size: 1.125rem;
  }
}

.tile-title a:link,
.tile-title a:visited {
  color: var(--cww-brown);
  text-decoration: none;
}

.tile-title a:hover,
.tile-title a:focus {
  text-decoration: underline;
}

.tile-text {
  margin-bottom: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--cww-black);
}

.tile-offer {
  justify-content: center;
  background-color: var(--cww-pink);
  border-color: var(--cww-brown);
  border-style: dashed;
}

.tile-offer .tile-body {
  justify-content: center;
  text-align: center;
}

.tile-offer-note {
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-family: var(--cww-heading-font);
  font-weight: 700;
  color: var(--cww-black);
}

.tile-offer .tile-title a:link,
.tile-offer .tile-title a:visited {
  color: var(--cww-black);
}

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

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 2rem;
  font-family: var(--cww-heading-font);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--cww-brown);
}

.prose p {
  line-height: 1.7;
}

.lead-in {
  font-size: 1.0625rem;
  color: var(--cww-black);
}

.body-link:link,
.body-link:visited {
  color: var(--cww-brown);
}

.body-link:hover,
.body-link:focus {
  color: var(--cww-black);
}

.contact-layout {
  display: grid;
  gap: 1rem;
}

@media (width >= 992px) {
  .contact-layout {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto 1fr;
  }

  .contact-layout > .form-card {
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .contact-layout > .urgent-card {
    grid-column: 2;
    grid-row: 1;
  }

  .contact-layout > .info-card {
    grid-column: 2;
    grid-row: 2;
  }

  .contact-layout > .map-frame {
    grid-column: 2;
    grid-row: 3;
    align-self: start;
  }
}

.urgent-card {
  padding: 1rem;
  background-color: var(--cww-gold);
  border: 2px solid var(--cww-black);
  border-radius: 0.5rem;
}

.urgent-title {
  font-family: var(--cww-heading-font);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--cww-black);
}

.urgent-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.urgent-link:link,
.urgent-link:visited {
  font-weight: 700;
  color: var(--cww-black);
}

.urgent-link .bi {
  margin-right: 0.375rem;
  margin-left: 0;
  font-size: 1rem;
  color: var(--cww-black);
}

.urgent-note {
  font-size: 0.875rem;
  color: var(--cww-black);
}

.info-card,
.form-card {
  padding: 1rem;
  background-color: var(--cww-cream);
  border: 2px solid var(--cww-slate);
  border-radius: 0.5rem;
}

.info-card {
  container-type: inline-size;
}

@container (width < 23rem) {
  .info-card .col-7,
  .info-card .col-5 {
    width: 100%;
  }
}

.info-title {
  font-family: var(--cww-heading-font);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--cww-brown);
}

.info-text {
  margin-bottom: 0;
  font-size: 0.9375rem;
  font-style: normal;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.info-hours {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.5rem;
  margin-bottom: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.info-hours dt {
  font-weight: 700;
}

.info-hours dd {
  margin: 0;
}

.info-email {
  width: max-content;
  max-width: 200%;
}

.map-frame {
  overflow: hidden;
  aspect-ratio: 8 / 5;
  border: 2px solid var(--cww-slate);
  border-radius: 0.5rem;
}

.map-frame img,
.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.form-title {
  margin-bottom: 1.25rem;
  font-family: var(--cww-heading-font);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--cww-brown);
}

.field-legend {
  float: none;
  margin-bottom: 0.5rem;
  font-family: var(--cww-heading-font);
  font-weight: 700;
  font-size: 1rem;
  color: var(--cww-black);
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.form-check-input {
  border-color: var(--cww-black);
}

.form-check-input:checked {
  background-color: var(--cww-brown);
  border-color: var(--cww-brown);
}

.form-control {
  border-color: var(--cww-black);
}

.form-control:focus {
  border-color: var(--cww-brown);
  box-shadow: 0 0 0 0.25rem rgb(139 94 60 / 35%);
}

.notes-box {
  height: 7rem;
}

.field-hint {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--cww-black);
}

.botcheck {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 20rem;
  padding: 0.75rem 1rem;
  background-color: var(--cww-white);
  border: 2px solid var(--cww-slate);
  border-radius: 0.5rem;
}

.botcheck-brand {
  font-size: 0.75rem;
  line-height: 1.2;
  text-align: right;
  color: var(--cww-black);
}

.botcheck-brand .bi {
  display: block;
  margin: 0;
  font-size: 1.25rem;
}

.form-floating > label {
  color: rgb(0 0 0 / 70%);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  opacity: 1;
}

.page-hero {
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--cww-slate);
  border-radius: 0.5rem;
}

.page-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-hero .focus-bottom {
  object-position: 50% 80%;
}

.page-hero .focus-center {
  object-position: 50% 40%;
}

@media (width >= 992px) {
  .page-hero img {
    aspect-ratio: 21 / 9;
  }
}

.text-card {
  height: 100%;
  padding: 1.25rem;
  background-color: var(--cww-cream);
  border: 2px solid var(--cww-slate);
  border-radius: 0.5rem;
}

.text-card p {
  line-height: 1.7;
}

.text-card-title,
.section-title {
  font-family: var(--cww-heading-font);
  font-weight: 700;
  color: var(--cww-brown);
}

.text-card-title {
  font-size: 1.375rem;
}

.section-title {
  margin: 2.5rem 0 1rem;
  font-size: 1.5rem;
}

.gallery-item {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background-color: var(--cww-white);
  border: 2px solid var(--cww-slate);
  border-radius: 0.5rem;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.gallery-item strong {
  display: block;
  font-family: var(--cww-heading-font);
  color: var(--cww-brown);
}

.service-list {
  display: grid;
  gap: 1rem;
  padding: 0;
}

.service-row {
  display: grid;
  gap: 0.75rem 2rem;
  padding: 1rem 1.25rem;
  background-color: var(--cww-white);
  border: 2px solid var(--cww-slate);
  border-radius: 0.5rem;
}

@media (width >= 992px) {
  .service-row {
    grid-template-columns: 1fr minmax(15rem, 20rem);
    align-items: start;
  }
}

.service-title {
  margin-bottom: 0.5rem;
  font-family: var(--cww-heading-font);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--cww-brown);
}

.service-lead {
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.service-includes {
  margin-bottom: 0;
  line-height: 1.6;
}

.service-price {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1rem;
  margin: 0;
  padding: 0.75rem 1rem;
  background-color: var(--cww-cream);
  border-radius: 0.5rem;
}

.service-price dt {
  font-weight: 700;
}

.service-price dd {
  margin: 0;
}

.service-price dd span {
  font-size: 0.875rem;
}

.service-quote {
  display: block;
  font-weight: 700;
}

@media (width >= 992px) {
  .service-price dd {
    text-align: right;
  }

  .service-quote {
    text-align: right;
  }
}

.service-eligibility {
  align-items: center;
  background-color: var(--cww-pink);
  border: 3px solid var(--cww-brown);
}

.service-eligibility .service-title {
  color: var(--cww-black);
}

@media (width >= 992px) {
  .service-eligibility {
    grid-template-columns: 1fr auto;
  }
}
