/* A continuous photographic hero. All layers stay below the header menus. */
.seed-hero {
  position: relative;
  isolation: isolate;
  z-index: 0;
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  background: #f5f6f0;
  color: #165638;
}
.seed-hero .hero-stage {
  position: relative;
  height: clamp(510px, 50vw, 800px);
  overflow: hidden;
  isolation: isolate;
  touch-action: pan-y pinch-zoom;
}
.seed-hero .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .8s ease, visibility 0s linear .8s;
  background: #f5f6f0;
}
.seed-hero .hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .8s ease, visibility 0s;
}
.seed-hero .hero-media, .seed-hero .hero-shade { position: absolute; inset: 0; }
.seed-hero .hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
}
.seed-hero .hero-shade {
  pointer-events: none;
  background: linear-gradient(90deg, #fcfcf5a6 0%, #fcfcf53d 28%, #fcfcf500 48%);
}
/* Hide the left-edge car while keeping the sign and entrance in frame. */
.seed-hero .hero-slide--clinic .hero-media img {
  object-position: 50% 15%;
  transform: scale(1.045);
  transform-origin: right top;
}
.seed-hero .hero-slide--clinic .hero-shade {
  background: linear-gradient(100deg, #fffffff5 0%, #ffffffe3 24%, #ffffff00 62%);
  mask-image: linear-gradient(#000 0%, #000 42%, transparent 72%);
}
.seed-hero .hero-content {
  position: absolute;
  z-index: 2;
  top: clamp(70px, 7.8vw, 125px);
  left: clamp(40px, 7vw, 112px);
  width: 39%;
  max-width: 560px;
}
.seed-hero .hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .19em;
  line-height: 1.8;
  color: #345a3e;
}
.seed-hero .hero-eyebrow > span {
  width: 13px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 80% 10% 80% 15%;
  transform: rotate(23deg);
  background: #e7c921;
}
.seed-hero .hero-heading {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(31px, 3.15vw, 50px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .045em;
  white-space: normal;
  color: #165638;
}
.seed-hero .hero-heading > span { display: block; }
.seed-hero .hero-message {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: .035em;
  color: #36493d;
}
.seed-hero .hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 48px;
  margin-top: 26px;
  padding: 12px 20px;
  border: 1px solid #165638;
  border-radius: 4px;
  background: #165638;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .04em;
  transition: background .18s ease, color .18s ease;
}
.seed-hero .hero-cta svg { width: 23px; height: 23px; fill: none; stroke: #f2d535; stroke-width: 1.5; }
.seed-hero .hero-cta:hover { background: #0e422a; }
.seed-hero .hero-slide--clinic .hero-content { top: clamp(24px, 2.4vw, 38px); }
.seed-hero .hero-slide--clinic .hero-heading { font-size: clamp(29px, 3.05vw, 48px); line-height: 1.5; }
.seed-hero .hero-slide--clinic .hero-eyebrow { margin-bottom: 12px; }
.seed-hero .hero-slide--clinic .hero-message { margin-top: 12px; }
.seed-hero .hero-slide--clinic .hero-cta { margin-top: 14px; min-height: 44px; }
/* Supporting clinic facts follow the main visit button on both slides. */
.seed-hero .hero-facts {
  display: grid;
  grid-template-columns: 1fr 1.15fr .8fr;
  width: 100%;
  max-width: 365px;
  margin: 20px 0 0;
  padding: 12px 16px;
  border: 1px solid #ffffffc9;
  border-left: 3px solid #e7c921;
  border-radius: 3px;
  background: #fffffff0;
  box-shadow: 0 4px 18px #183e2510;
}
.seed-hero .hero-facts > div { min-width: 0; padding-inline: 12px; border-left: 1px solid #dce5d6; }
.seed-hero .hero-facts > div:first-child { padding-left: 0; border-left: 0; }
.seed-hero .hero-facts > div:last-child { padding-right: 0; }
.seed-hero .hero-facts dt { margin: 0 0 4px; color: #58705d; font-size: 10px; line-height: 1.4; letter-spacing: .08em; }
.seed-hero .hero-facts dd { margin: 0; color: #165638; font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: .04em; white-space: nowrap; }
.seed-hero .hero-facts strong { font-size: 18px; font-weight: 600; margin-right: 3px; }
.seed-hero .hero-slide--clinic .hero-facts { margin-top: 16px; padding-block: 10px; }
/* Compact controls float over the photograph; there is no separate bottom band. */
.seed-hero .hero-controls {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 3vw, 48px);
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 8px;
  border: 1px solid #ffffffb3;
  border-radius: 999px;
  background: #fffffff0;
  box-shadow: 0 4px 20px #183e2514;
}
.seed-hero [data-slide-controls][hidden] { display: none; }
.seed-hero .hero-controls button { cursor: pointer; font-family: var(--sans); color: #165638; -webkit-tap-highlight-color: transparent; }
.seed-hero .hero-arrow { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; border-radius: 50%; }
.seed-hero .hero-arrow svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.seed-hero .hero-arrow:hover { background: #e8efe2; border-color: #7f9c7e; }
.seed-hero .hero-selectors { display: flex; align-items: center; gap: 2px; }
.seed-hero .hero-selectors button { display: flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; padding: 10px; border: 0; background: transparent; }
.seed-hero .hero-selectors button > span { display: none; }
.seed-hero .hero-selectors i { display: block; width: 24px; height: 3px; border-radius: 2px; background: #cfdbca; transition: background .2s ease; }
.seed-hero .hero-selectors [aria-current="true"] { font-weight: 700; }
.seed-hero .hero-selectors [aria-current="true"] i { background: #c3a706; }
.seed-hero .hero-playback { display: flex; align-items: center; justify-content: center; width: 44px; min-width: 44px; min-height: 44px; padding: 10px; margin: 0; border: 0; background: transparent; border-radius: 50%; }
.seed-hero .hero-playback [data-slide-toggle-label] { display: none; }
.seed-hero .hero-playback svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.seed-hero .hero-playback .hero-play-icon { display: none; }
.seed-hero .hero-playback[data-paused="true"] .hero-play-icon { display: block; }
.seed-hero .hero-playback[data-paused="true"] .hero-pause-icon { display: none; }
.seed-hero .hero-playback:disabled { cursor: default; color: #657463; }
.seed-hero a:focus-visible, .seed-hero button:focus-visible { outline: 2px solid #165638; outline-offset: 5px; }
.seed-hero .hero-cta:focus-visible { outline-color: #165638; box-shadow: 0 0 0 3px #fff; }
.home .seed-hero + .visit-summary { margin-top: 40px; }

@media (min-width: 768px) and (max-width: 1023px) {
  .seed-hero .hero-content { top: 62px; left: 40px; width: 40%; }
  .seed-hero .hero-heading { font-size: 29px; }
  .seed-hero .hero-message { font-size: 12px; }
  .seed-hero .hero-slide--clinic .hero-content { top: 24px; }
  /* Align the button and its facts beside the clinic's roadside sign. */
  .seed-hero .hero-slide--clinic .hero-cta { margin-left: 80px; }
  .seed-hero .hero-facts { padding-inline: 12px; }
  .seed-hero .hero-facts > div { padding-inline: 9px; }
  .seed-hero .hero-slide--clinic .hero-facts { width: calc(100% - 80px); margin-left: 80px; padding-inline: 10px; }
  .seed-hero .hero-slide--clinic .hero-facts > div { padding-inline: 7px; }
  .seed-hero .hero-slide--clinic .hero-facts > div:first-child { padding-left: 0; }
  .seed-hero .hero-slide--clinic .hero-facts > div:last-child { padding-right: 0; }
  .seed-hero .hero-slide--clinic .hero-facts dd { font-size: 14px; }
  .seed-hero .hero-slide--clinic .hero-facts strong { font-size: 16px; }
}

@media (max-width: 767px) {
  .seed-hero { --pet-photo-height: clamp(280px, 82vw, 420px); }
  .seed-hero .hero-stage { height: calc(420px + var(--pet-photo-height)); }
  .seed-hero .hero-slide { background: #f6f6f0; }
  .seed-hero .hero-media { top: auto; height: var(--pet-photo-height); }
  .seed-hero .hero-media img { object-position: right top; }
  .seed-hero .hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(#f6f6f0 0, #f6f6f04d 20px, #f6f6f000 46px); }
  .seed-hero .hero-shade { display: none; }
  .seed-hero .hero-content, .seed-hero .hero-slide--clinic .hero-content { top: 28px; left: 24px; right: 24px; width: auto; max-width: none; }
  .seed-hero .hero-eyebrow, .seed-hero .hero-slide--clinic .hero-eyebrow { margin-bottom: 13px; gap: 9px; font-size: 9px; }
  .seed-hero .hero-eyebrow > span { width: 10px; height: 14px; }
  .seed-hero .hero-heading, .seed-hero .hero-slide--clinic .hero-heading { font-size: clamp(30px, 6vw, 38px); line-height: 1.55; letter-spacing: .035em; }
  .seed-hero .hero-message, .seed-hero .hero-slide--clinic .hero-message { margin-top: 13px; font-size: 12px; line-height: 1.8; letter-spacing: .01em; }
  .seed-hero .hero-cta, .seed-hero .hero-slide--clinic .hero-cta { min-height: 44px; margin-top: 17px; padding: 9px 16px; gap: 22px; font-size: 11px; }
  .seed-hero .hero-cta svg { width: 20px; height: 20px; }
  .seed-hero .hero-slide--clinic .hero-media { height: calc(100vw * 2 / 3); }
  .seed-hero .hero-slide--clinic .hero-media img { object-position: center; object-fit: contain; }
  .seed-hero .hero-facts, .seed-hero .hero-slide--clinic .hero-facts { max-width: 350px; margin-top: 14px; padding: 10px 12px; }
  .seed-hero .hero-facts > div { padding-inline: 10px; }
  .seed-hero .hero-facts dd { font-size: 15px; }
  /* Keep controls above the animals' faces and the clinic entrance. */
  .seed-hero .hero-controls { top: 366px; right: 16px; bottom: auto; }
  .home .seed-hero + .visit-summary { margin-top: 26px; }
}

@media (max-width: 374px) {
  .seed-hero .hero-content, .seed-hero .hero-slide--clinic .hero-content { left: 20px; right: 20px; }
  .seed-hero .hero-heading, .seed-hero .hero-slide--clinic .hero-heading { font-size: 28px; }
  .seed-hero .hero-message, .seed-hero .hero-slide--clinic .hero-message { font-size: 11px; }
  .seed-hero .hero-facts > div { padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .seed-hero .hero-slide, .seed-hero .hero-slide.is-active,
  .seed-hero .hero-cta, .seed-hero .hero-selectors i { transition: none; }
}
