html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Barlow", "Arial", "Helvetica", sans-serif;
  display: block;
  background-color: rgb(233, 236, 229);
  font-size: clamp(1rem, calc(1rem + 0.25vw), 1.0625rem);
}

.header {
  background-image: url("./images/header-background.jpg");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  box-sizing: border-box;
  color: rgb(255, 255, 255);
  display: block;
  width: 100%;
  border-bottom: 4px solid rgba(181, 186, 173);

  /* responsive header sizing to follow viewport width/height like the remote site */
  min-height: 1vh;

  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  letter-spacing: normal;
  line-height: 24px;
  margin: 0;
  text-size-adjust: 100%;
  position: relative;
  z-index: 100;
}

.logowide {
  display: flex;
  justify-content: center;
}

.logowide picture,
.hero-image-wrapper picture {
  display: block;
}

.contact-instagram-icon {
  display: inline-block;
  height: 1em;
  width: 1em;
  vertical-align: middle;
  margin-right: 5px;
  position: relative;
  top: -2px;
  flex-shrink: 0;
}

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

.divider {
  display: flex;
  justify-content: center;
}

.logo {
  display: block;
  width: clamp(120px, 8vw, 200px);
  height: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  object-fit: contain;
  max-width: 100%;
}

.logobox {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-width: 120px;
  max-width: 200px;
  min-height: 0;
  max-height: none;
}

.full {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5em 0;
}

/* Hamburger button - hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: white;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 1px;
}

/* Mobile navigation */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    margin-left: auto;
  }

  nav.full {
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 0.5em 1rem;
  }

  nav.full .menu-container {
    display: none;
    width: 100%;
    order: 3;
    padding-top: 0.5rem;
  }

  nav.full.menu-open .menu-container {
    display: block;
  }

  nav.full .menu {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  nav.full .menuitem,
  nav.full .menuitem--dropdown {
    width: 100%;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }

  nav.full .menuitem a {
    font-size: 1.1rem;
    padding: 0.75em 1em;
    justify-content: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }

  /* Mobile: dropdown as accordion */
  nav.full .menuitem--dropdown {
    flex-direction: column;
    align-items: stretch;
  }

  nav.full .menu-trigger {
    font-size: 1.1rem;
    padding: 0.75em 1em;
    justify-content: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }

  /* Override desktop submenu styles - higher specificity for mobile */
  nav.full .menuitem--dropdown .submenu {
    position: static;
    display: none;
    flex-direction: column;
    min-width: auto;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0;
    padding: 0.5em 0;
  }

  nav.full .menuitem--dropdown.dropdown-open .submenu {
    display: flex;
  }

  nav.full .menuitem--dropdown .submenu a {
    padding: 0.75em 1em;
    font-size: 1rem;
    color: white;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  nav.full .menuitem--dropdown .submenu a:hover {
    background: rgba(255, 255, 255, 0.15);
  }
}

.menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  line-height: normal;
  margin: 0;
  padding: 0;
}

.menuitem {
  font-style: normal;
  color: rgba(255, 255, 255, 0.82);
  box-sizing: border-box;
  display: flex;
  list-style-type: none;
  padding-left: 0.5em;
  padding-right: 0.5em;
  fill: white;
}

.menu ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  line-height: 24px;
  margin: 0;
  padding: 0;
  margin-block-start: 0px;
  margin-block-end: 0px;
  padding-inline-start: 0px;
}

.menuitem a:focus-visible,
.hamburger:focus-visible,
.menu-trigger:focus-visible,
.submenu a:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

.submenu a:focus-visible {
  outline-color: rgb(109, 125, 81);
}

/* Dropdown menu */
.menuitem--dropdown {
  position: relative;
}

.menu-trigger {
  display: flex;
  align-items: center;
  gap: 0.25em;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.8vw;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: white;
  background: none;
  border: none;
  padding: 0.35em 0.5em;
  cursor: pointer;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.dropdown-chevron {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 0.2em;
  transition: transform 0.2s ease;
}

.menu-trigger[aria-expanded="true"] .dropdown-chevron {
  transform: rotate(180deg);
}

.menuitem--dropdown .submenu {
  display: none;
}

.menuitem--dropdown .submenu,
.menuitem--dropdown.dropdown-open .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 140px;
  margin: 0;
  padding: 0.5em 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  z-index: 100;
}

.menuitem--dropdown.dropdown-open .submenu {
  display: block;
}

.submenu li {
  padding: 0;
}

/* Higher specificity than .menuitem a so links are visible (dark text on light dropdown) */
.menuitem--dropdown .submenu a {
  display: block;
  padding: 0.6em 1em;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: rgb(24, 24, 24);
  text-decoration: none;
  white-space: nowrap;
}

.menuitem--dropdown .submenu a:hover {
  background: rgba(109, 125, 81, 0.15);
}

.menuitem a {
  display: flex;
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  color: white;
  fill: white;
  line-height: 1.1;
  font-size: 1.8vw;
  padding: 0.35em 0.5em;
  font-weight: 600;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  text-align: start;
  text-decoration-color: rgb(255, 255, 255);
  text-decoration-line: none;
  text-decoration-style: solid;
  text-decoration-thickness: auto;
  text-size-adjust: 100%;
  text-transform: uppercase;
  text-wrap-mode: nowrap;
}

/* SHOP only: white pill on header; text matches main content / brand green */
.menuitem--shop a {
  color: rgb(109, 125, 81);
  background-color: #fff;
  fill: rgb(109, 125, 81);
  border-radius: 4px;
  text-decoration-color: rgb(109, 125, 81);
}

.menuitem--shop a:hover {
  color: rgb(109, 125, 81);
  background-color: #fff;
  fill: rgb(109, 125, 81);
  text-decoration-color: rgb(109, 125, 81);
}

.menuitem--shop a:focus-visible {
  outline-color: rgb(109, 125, 81);
}

.maincontent {
  display: block;
  width: 100%;
  height: auto;
  background-color: rgb(233, 236, 229);
  color: rgb(109, 125, 81);
}

.mainbackgroundimg {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: auto;
}

/* `.intro` is used as an overlay inside `.mainbackground`; sizing handled there. */

h1 {
  font-size: clamp(1.25rem, calc(1.25rem + 1.5vw), 2.25rem);
  font-weight: 600;
  margin: 0;
}

h3 {
  font-size: clamp(0.9rem, calc(0.9rem + 0.5vw), 1.15rem);
  font-weight: 300;
  margin: 0;
}

/* Intro overlay text positioned over the main background image */
.mainbackground {
  position: relative;
}

/* Wrapper constrains intro positioning to the image area only */
.hero-image-wrapper {
  position: relative;
  display: block;
}

.mainbackground .intro {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  z-index: 5;
  color: white;
  text-align: center;
  padding: 0.5em 1em;
  width: min(90%, 60ch);
  max-width: 90%;
  pointer-events: none;
}

/* Index hero only: higher on image; logo then tagline */
.hero-image-wrapper .intro {
  top: 28%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.mainbackground .intro h1 {
  margin: 0;
  font-size: clamp(1rem, calc(1rem + 2.5vw), 3rem);
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  line-height: 1.2;
}

.mainbackground .intro .intro-logo {
  display: flex;
  justify-content: center;
}

.hero-image-wrapper .intro .intro-logo {
  width: 100%;
  align-items: center;
}

/* Index hero: logo = 20% of viewport width */
.hero-image-wrapper .intro .intro-logo .logo {
  width: 18vw;
  height: auto;
  max-width: none;
  margin-inline: auto;
  padding-top: 0;
  padding-bottom: 0.5rem;
}
/* Grouped selector to apply same H1 style to about and contact pages */
body.about .mainbackground .intro h1,
body.contact .mainbackground .intro h1 {
  margin: 0;
  margin-bottom: 50px;
  font-size: clamp(1.5rem, calc(1.5rem + 2.5vw), 4rem);
  font-weight: 300;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  line-height: 1.2;
  color: rgb(109, 125, 81);
}

/* Scoped line-height for the about page */
body.about .mainbackground .intro h3,
body.about .mainbackground .intro p,
body.contact .mainbackground .intro p {
  /* Responsive size reduced by ~15% to match request */
  font-size: clamp(0.85rem, calc(0.85rem + 1.02vw), 1.36rem);
  font-weight: 300;
  margin: 0.5em 0;
  color: rgb(24, 24, 24);
  line-height: 1.4;
}

h5 {
  font-size: clamp(0.45rem, calc(0.45rem + 1.02vw), 0.9rem);
  font-weight: 300;
  margin: 0.5em 0;
  color: rgb(109, 125, 81);
  line-height: 1.4;
}

/* Contact page: pointer-events and text color */
body.contact .mainbackground .intro {
  pointer-events: auto;
  color: rgb(24, 24, 24);
}

/* Position Leigh's photo near the About heading on large screens
   and stack it responsively on smaller viewports. */
/* The image is positioned relative to the .intro container. */
/* z-index: -1 ensures photo stays behind text when they overlap */
#leigh {
  position: absolute;
  right: 0;
  top: 50%;
  width: clamp(140px, 18vw, 260px);
  height: auto;
  transform: translateX(100%) translateY(-50%) rotate(20deg);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: -1;
}

/* Reusable “polaroid” photos around an .intro block */
.intro-photos picture {
  display: contents;
}

#membership-package {
  background-image: url("./images/header-background.jpg");
  background-size: cover;
  color: rgb(255, 255, 255);
  border-radius: 12px;

  overflow: hidden;
  margin-left: 60px;
  margin-right: 60px;
  padding-left: 20px;
  padding-right: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#membership-package h3 {
  color: rgb(255, 255, 255);
}

.intro-photos {
  position: absolute;
  inset: 0; /* match .intro box so % top works */
  pointer-events: none;
}

.intro-photo {
  position: absolute;
  width: clamp(140px, 18vw, 260px);
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: -1; /* stay behind text */
}

/* Right, vertically centered (mirrors existing #leigh behavior) */
.intro-photo--right {
  right: 0;
  top: 50%;
  transform: translateX(100%) translateY(-50%) rotate(20deg);
}

/* Left side photos */
.intro-photo--left {
  left: 0;
  transform: translateX(-100%) translateY(-50%) rotate(-20deg);
}

.intro-photo--top {
  top: 25%;
}

.intro-photo--bottom {
  top: 75%;
}

/* Prevent mainbackground collapse on contact/about etc. when intro is absolutely positioned */
@media (max-width: 899px) {
  .mainbackground:not(:has(.hero-image-wrapper)) {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
  }
}

/* On narrow screens, place the image inline below the intro content */
@media (max-width: 900px) {
  /*
   * Stacked polaroids live inside .intro; when .intro stays position:absolute,
   * .mainbackground only gets min-height:50vh and the photos paint over the footer.
   * Put .intro back in normal flow so the section (and footer) move down with content.
   */
  .mainbackground:not(:has(.hero-image-wrapper)):has(.intro-photos),
  .mainbackground:not(:has(.hero-image-wrapper)):has(.image-container),
  body.contact .mainbackground:not(:has(.hero-image-wrapper)) {
    min-height: auto;
    display: block;
    padding: 2rem 1rem 2.5rem;
  }

  .mainbackground:not(:has(.hero-image-wrapper)):has(.intro-photos) .intro,
  .mainbackground:not(:has(.hero-image-wrapper)):has(.image-container) .intro,
  body.contact .mainbackground:not(:has(.hero-image-wrapper)) .intro {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin-left: auto;
    margin-right: auto;
    pointer-events: auto;
  }

  .mainbackground:not(:has(.hero-image-wrapper)):has(.image-container)
    .image-container {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 1rem auto 0;
    width: clamp(120px, 35vw, 280px);
  }

  .mainbackground:has(.image-container) .silhouette {
    opacity: 0.95;
  }

  #leigh {
    position: relative;
    display: block;
    margin: 1rem auto 0 auto;
    left: auto;
    right: auto;
    top: auto;
    transform: rotate(0deg);
    width: clamp(120px, 28vw, 200px);
  }

  .intro-photos {
    position: relative;
    inset: auto;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
  }

  .intro-photo {
    position: relative;
    transform: none;
    width: clamp(120px, 28vw, 200px);
  }

  .mainbackground .intro {
    margin-bottom: 0.5rem;
  }
}

/* Align list icon and text on the same line */
.li-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 0; /* remove default list indent if present */
  padding-bottom: 12px;
}
.icon-wrapper.circle-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #6d7d51;
  border-radius: 50%;
  color: #fff;
  flex: 0 0 auto;
}
.li-item .li-icon {
  font-size: 1rem;
  line-height: 1;
}
.li-item-content {
  display: block;
  color: rgb(24, 24, 24);
  font-size: clamp(1rem, calc(1rem + 1vw), 1.3125rem);
}

@media (max-width: 480px) {
  .li-item {
    gap: 0.5rem;
  }
  .icon-wrapper.circle-yes {
    width: 30px;
    height: 30px;
  }
}

.icon-wrapper .icon-paw {
  color: #fff;
  width: clamp(1rem, calc(1rem + 0.5vw), 1.3125rem);
  height: clamp(1rem, calc(1rem + 0.5vw), 1.3125rem);
}

.li-item .li-icon.icon-paw {
  display: block;
}

.reviews-card__star {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  display: block;
}

.reviews-carousel__btn svg {
  width: 1.15em;
  height: 1.15em;
  display: block;
}

/* Site footer */
.site-footer {
  text-align: center;
  padding: 1.5rem 1rem;
  border-top: 1px solid rgba(181, 186, 173, 0.5);
  color: rgb(109, 125, 81);
  font-size: clamp(0.85rem, calc(0.85rem + 0.4vw), 1rem);
}

.site-footer a {
  color: rgb(109, 125, 81);
  text-decoration: underline;
}

.site-footer a:hover {
  text-decoration: none;
}

.benefits {
  margin-top: 40px;
  margin-left: clamp(20px, 12vw, 400px);
}

@media (max-width: 899px) {
  .benefits {
    margin-left: 0;
  }
}

.benefits .li-item {
  padding-bottom: 40px;
}

.intro a {
  color: rgb(24, 24, 24);
  text-decoration: none;
  pointer-events: auto;
}

h2 {
  font-size: clamp(1.25rem, calc(1.25rem + 0.8vw), 1.75rem);
  font-weight: 600;
  color: rgb(24, 24, 24);
}

/* Default (mobile-first): image stacks below the intro */
.image-container {
  display: block;
  margin: 1rem auto 0 auto;
  width: clamp(120px, 35vw, 280px);
  text-align: center;
}

.silhouette {
  width: 100%;
  height: auto;
  opacity: 0.95;
  display: block;
  max-width: 100%;
}

/* Desktop layout: intro centered, image to right - exclude index (has .hero-image-wrapper) */
@media (min-width: 900px) {
  .mainbackground:not(:has(.hero-image-wrapper)) {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    padding: 3rem 1rem;
  }

  .mainbackground:not(:has(.hero-image-wrapper)) .intro {
    position: relative;
    left: auto;
    transform: none;
    width: clamp(320px, 45vw, 55ch);
    text-align: center;
    padding-top: 0;
    pointer-events: auto;
    color: rgb(24, 24, 24);
    margin: 0;
    z-index: 5;
  }

  /* Keep the headings centered and remove the h3 indent */
  body.about .mainbackground .intro h1,
  body.about .mainbackground .intro h3,
  body.about .mainbackground .intro p,
  body.contact .mainbackground .intro h1,
  body.contact .mainbackground .intro p {
    text-align: center;
    padding-left: 0;
  }

  /* Image positioned absolutely to the right of centered intro */
  .image-container {
    position: absolute;
    /* Center point + half of intro width + gap */
    left: calc(50% + clamp(160px, 22.5vw, 27.5ch) + clamp(1rem, 2vw, 2rem));
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    width: clamp(180px, 22vw, 380px);
  }

  .silhouette {
    width: 100%;
    opacity: 0.15;
  }
}

/* Extra large screens: slightly larger sizing */
@media (min-width: 1400px) {
  .mainbackground:not(:has(.hero-image-wrapper)) .intro {
    width: clamp(400px, 40vw, 60ch);
  }

  .image-container {
    left: calc(50% + clamp(200px, 20vw, 30ch) + 2rem - 5vw);
    width: clamp(300px, 25vw, 520px);
  }
}
.mainbackground .intro h2 {
  color: #fff;
  margin: 0;
  font-size: clamp(2rem, calc(1rem + 1.5vw), 1.5rem);
  font-weight: 100;
  line-height: 1.2;
}

.hero-image-wrapper .intro h2 {
  font-weight: 600;
}

/* Reviews page: intro on sage band + multi-card carousel on olive strip */
body.reviews .mainbackground {
  min-height: auto;
}

body.reviews .mainbackground .intro {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: min(100%, 42rem);
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem 2rem;
  pointer-events: auto;
  color: rgb(24, 24, 24);
  text-align: center;
}

body.reviews .mainbackground .intro h1 {
  margin: 0 0 0.75rem;
  padding-left: 0;
  font-size: clamp(1.5rem, calc(1.5rem + 2.5vw), 3rem);
  font-weight: 300;
  color: rgb(109, 125, 81);
  line-height: 1.2;
}

body.reviews .reviews-page__lead {
  margin: 0 0 1.5rem;
  padding-left: 0;
  font-size: clamp(0.95rem, calc(0.95rem + 0.5vw), 1.15rem);
  font-weight: 400;
  color: rgb(24, 24, 24);
  line-height: 1.45;
}

.reviews-separator {
  width: min(100%, 12rem);
  height: 2px;
  margin: 0 auto 0;
  background: rgba(181, 190, 168, 0.9);
  border: 0;
  border-radius: 1px;
}

.content-separator {
  width: 100%;
  height: 0;
  margin: 20px 0;
  border: 0;
  border-top: 2px solid #000;
}

/* services_pricing2.html: full-width white band below price list */
body.pricing-page .mainbackground {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.pricing-page .mainbackground .intro {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  margin-left: auto;
  margin-right: auto;
  color: rgb(24, 24, 24);
}

body.pricing-page .pricing-notes {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-color: #fff;
  padding: 2.5rem 0 3rem;
  box-sizing: border-box;
}

body.pricing-page .pricing-notes__inner {
  width: min(90%, 60ch);
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
}

body.pricing-page .pricing-notes p,
body.pricing-page .pricing-notes h3 {
  color: rgb(24, 24, 24);
  font-size: clamp(0.75rem, calc(0.75rem + 1.02vw), 1.06rem);
  font-weight: 400;
  margin: 0.5em 0;
  padding-left: 0;
  line-height: 1.4;
}

@media (min-width: 900px) {
  body.pricing-page .pricing-notes__inner {
    width: clamp(320px, 45vw, 55ch);
  }
}

/* Full-width strip (TrustIndex-style) */
.reviews-band {
  width: 100%;
  background: rgb(72, 84, 54);
  padding: 2.5rem 0 3rem;
  margin-top: 0;
}

.reviews-carousel--cards {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1rem);
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(0.75rem, 3vw, 1.25rem);
  outline: none;
}

.reviews-carousel--cards:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
}

.reviews-carousel__viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 2.25rem 0 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.reviews-carousel__viewport::-webkit-scrollbar {
  height: 6px;
}

.reviews-carousel__viewport::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 3px;
}

.reviews-carousel__track {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  width: max-content;
  padding: 0 0.25rem 0.5rem;
}

/* Reference: ~4 cards visible on large screens */
.reviews-card {
  flex: 0 0 auto;
  width: clamp(200px, 22vw, 260px);
  position: relative;
  margin: 0;
  padding: 0;
}

.reviews-card__avatar {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -42%);
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.reviews-card__avatar--green {
  background: rgb(90, 108, 68);
}

.reviews-card__avatar--teal {
  background: rgb(72, 120, 108);
}

.reviews-card__avatar--forest {
  background: rgb(60, 92, 72);
}

.reviews-card__body {
  background: #fff;
  border-radius: 12px;
  padding: 2.35rem 1rem 1.1rem;
  text-align: center;
  box-shadow:
    1px 1px 8px rgba(0, 0, 0, 0.12),
    0 0 2px rgba(0, 0, 0, 0.06);
  min-height: 16rem;
  display: flex;
  flex-direction: column;
}

.reviews-card__name {
  margin: 0 0 0.2rem;
  font-family: "Barlow", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: rgb(24, 24, 24);
  line-height: 1.2;
  text-wrap: balance;
}

.reviews-card__date {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: rgb(110, 110, 110);
}

.reviews-card__stars {
  display: flex;
  justify-content: center;
  gap: 0.15rem;
  margin: 0 0 0.65rem;
  color: #e6b422;
  font-size: 0.85rem;
}

.reviews-card__text {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgb(24, 24, 24);
  text-align: center;
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
}

.reviews-card--expanded .reviews-card__text {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}

.reviews-card__more {
  margin-top: auto;
  padding: 0;
  border: 0;
  background: none;
  font-family: "Barlow", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgb(24, 24, 24);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.reviews-card__more:hover {
  color: rgb(109, 125, 81);
}

.reviews-card__more:focus-visible {
  outline: 2px solid rgb(109, 125, 81);
  outline-offset: 2px;
}

/* White circle arrows like reference */
.reviews-carousel--cards .reviews-carousel__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: rgb(130, 130, 130);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition:
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.reviews-carousel--cards .reviews-carousel__btn:hover {
  color: rgb(72, 84, 54);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.18);
}

.reviews-carousel--cards .reviews-carousel__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .reviews-card {
    width: clamp(200px, 42vw, 240px);
  }
}

@media (max-width: 600px) {
  .reviews-band {
    padding: 2rem 0 2.5rem;
  }

  .reviews-carousel--cards {
    gap: 0.35rem;
  }

  .reviews-carousel--cards .reviews-carousel__btn {
    width: 2.35rem;
    height: 2.35rem;
  }

  .reviews-carousel__viewport {
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.25rem;
  }

  .reviews-card {
    width: min(280px, 78vw);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

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