/* ==========================================================================
   Home page
   ========================================================================== */

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 100vh;
  min-height: 100svh;
  max-height: 1000px;
  padding-block: calc(var(--header-h) + 5rem) 2.5rem;
  color: var(--cream-50);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--chocolate-800); }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 40%);
  transform-origin: 60% 40%;
  animation: ken-burns 22s ease-in-out infinite alternate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(43, 29, 20, .45) 0%, rgba(43, 29, 20, 0) 22%),
    linear-gradient(0deg, rgba(43, 29, 20, .92) 0%, rgba(43, 29, 20, .6) 45%, rgba(43, 29, 20, .05) 75%);
}
.hero__content { display: grid; gap: 1.1rem; justify-items: start; max-width: 720px; }
.hero .eyebrow { color: var(--caramel-400); }
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 600;
  color: var(--cream-50);
  line-height: 1.04;
  letter-spacing: -.02em;
}
.hero__title em { font-style: italic; font-weight: 500; color: var(--caramel-400); }
.hero__typed {
  width: 100%;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.9rem);
  line-height: 1.3;
  color: rgba(255, 252, 247, .92);
}
.hero__actions { display: flex; flex-direction: column; gap: .75rem; width: 100%; margin-top: .5rem; }
.hero__note {
  display: none;
  position: absolute;
  left: calc(100% + .75rem);
  top: -2.4rem;
  width: max-content;
  color: var(--caramel-400);
  font-size: 1.6rem;
  transform: rotate(-4deg);
}
.hero__note svg { width: 70px; height: 44px; margin-top: .2rem; margin-left: -1.5rem; }

.hero__trust {
  display: flex;
  gap: .5rem;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  margin-top: .75rem;
  padding-bottom: .25rem;
  list-style: none;
  padding-left: 0;
}
.hero__trust::-webkit-scrollbar { display: none; }
.hero__trust li {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 252, 247, .14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 252, 247, .18);
  font-size: .85rem;
  font-weight: 500;
}
.hero__trust .icon { width: 1rem; height: 1rem; color: var(--caramel-400); }

.hero__scroll { display: none; }

@media (min-width: 30em) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; width: auto; }
}

@media (min-width: 64em) {
  .hero { align-items: center; padding-block: calc(var(--header-h) + 3rem) 6rem; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(43, 29, 20, .5) 0%, rgba(43, 29, 20, 0) 25%),
      linear-gradient(90deg, rgba(43, 29, 20, .88) 0%, rgba(43, 29, 20, .6) 40%, rgba(43, 29, 20, .05) 72%);
  }
  .hero__content { gap: 1.35rem; }
  .hero__actions { position: relative; }
  .hero__note { display: block; }

  /* Floating glass trust card */
  .hero__trust {
    position: absolute;
    right: max(var(--gutter), calc((100vw - var(--container)) / 2));
    bottom: 3rem;
    width: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem 1.5rem;
    padding: 1.4rem 1.6rem;
    margin: 0;
    overflow: visible;
    border-radius: var(--radius-md);
    background: rgba(255, 252, 247, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--chocolate-900);
    box-shadow: var(--shadow-lg);
    animation: float 7s ease-in-out infinite;
  }
  .hero__trust li { padding: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; font-size: .92rem; }
  .hero__trust .icon { color: var(--sage-500); width: 1.15rem; height: 1.15rem; }

  .hero__scroll {
    position: absolute;
    left: 50%; bottom: 1.5rem;
    translate: -50% 0;
    display: grid;
    justify-items: center;
    gap: .35rem;
    color: rgba(255, 252, 247, .75);
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
  }
  .hero__scroll .icon { width: 26px; height: 26px; animation: bounce-down 2s ease-in-out infinite; }
  .hero__scroll:hover { color: var(--cream-50); }
}

@media (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: 0; padding-block: calc(var(--header-h) + 3rem) 2rem; }
}

/* Trust strip ------------------------------------------------------------- */
.trust-strip { background: var(--cream-200); padding-block: 1.25rem; }
.trust-strip__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
}
.trust-strip__list li { display: flex; align-items: center; gap: .6rem; font-weight: 500; font-size: .92rem; color: var(--chocolate-800); }
.trust-strip__list .icon { width: 1.4rem; height: 1.4rem; color: var(--caramel-700); }
@media (min-width: 64em) {
  .trust-strip__list { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .trust-strip__list li { font-size: 1rem; }
}

/* Welcome ----------------------------------------------------------------- */
.welcome__media { position: relative; max-width: 480px; width: 100%; margin-inline: auto; }
.welcome__media .media-note--a { left: -.5rem; bottom: 12%; }
.welcome__media .media-note--b { right: -.5rem; top: 8%; padding: .7rem .9rem; }
@media (min-width: 48em) {
  .welcome__media .media-note--a { left: -2.5rem; }
  .welcome__media .media-note--b { right: -2rem; }
}
.welcome__sign { font-size: clamp(1.8rem, 1.5rem + 1vw, 2.4rem); margin-top: -.25rem; }

/* Puppies preview --------------------------------------------------------- */
.puppies-preview .snap-row { padding-top: .75rem; }

/* Why choose us ----------------------------------------------------------- */
.collage { position: relative; aspect-ratio: 1 / 1.05; max-width: 540px; width: 100%; margin-inline: auto; }
.collage .frame {
  position: absolute;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.collage .frame:nth-of-type(1) { width: 62%; left: 0; top: 0; aspect-ratio: 1; border-radius: var(--radius-lg); }
.collage .frame:nth-of-type(2) { width: 50%; right: 0; top: 24%; aspect-ratio: 1; border-radius: var(--radius-arch); aspect-ratio: 4 / 5; }
.collage .frame:nth-of-type(3) { width: 46%; left: 10%; bottom: 0; aspect-ratio: 1; border-radius: 50%; }
.collage .blob { inset: 12% 8% 6% 10%; }
.collage__paw { position: absolute; width: 48px; height: 48px; color: var(--caramel-400); opacity: .5; }
.collage__paw--1 { right: 6%; top: 4%; transform: rotate(18deg); }
.collage__paw--2 { right: 12%; bottom: 6%; width: 34px; height: 34px; transform: rotate(-12deg); }

.why__grid { display: grid; gap: 1rem; }
@media (min-width: 30em) { .why__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .why .split { grid-template-columns: .85fr 1.15fr; } }

/* Stats ------------------------------------------------------------------- */
.stats-band { position: relative; overflow: hidden; }
.stats-band__paw { position: absolute; color: rgba(211, 154, 94, .12); pointer-events: none; }
.stats-band__paw--1 { width: 180px; height: 180px; left: -40px; top: -30px; transform: rotate(-20deg); }
.stats-band__paw--2 { width: 140px; height: 140px; right: -20px; bottom: -30px; transform: rotate(25deg); }

/* Parents teaser ---------------------------------------------------------- */
.parents-teaser__media { position: relative; max-width: 460px; width: 100%; margin-inline: auto; }
.parents-teaser__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; width: 100%; margin-block: .5rem; }
.parents-teaser__list .frame--arch { box-shadow: var(--shadow-sm); }
.parents-teaser__list figcaption { text-align: center; margin-top: .5rem; font-family: var(--font-display); font-weight: 600; color: var(--chocolate-800); line-height: 1.2; }
.parents-teaser__list figcaption small { display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--caramel-700); margin-top: .2rem; }

/* Testimonials ------------------------------------------------------------ */
.reviews-band { position: relative; isolation: isolate; overflow: hidden; }
.reviews-band__bg { position: absolute; inset: 0; z-index: -2; }
.reviews-band__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px) saturate(.9); transform: scale(1.05); }
.reviews-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(251, 246, 239, .9); }
.reviews-band .marquee__track > .testimonial { width: min(84vw, 380px); flex-shrink: 0; }
@media (max-width: 47.99em) {
  /* Swipe instead of auto-scrolling marquee on phones */
  .reviews-band .marquee { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .reviews-band .marquee::-webkit-scrollbar { display: none; }
  .reviews-band .marquee__track { animation: none; gap: 1rem; padding-bottom: 1rem; }
  .reviews-band .marquee__track > * { scroll-snap-align: start; }
  .reviews-band .marquee__track > [aria-hidden="true"] { display: none; }
}

/* Gallery strip ----------------------------------------------------------- */
.gallery-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
@media (min-width: 48em) { .gallery-strip { grid-template-columns: repeat(6, 1fr); gap: .75rem; } }
.gallery-strip a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-md); position: relative; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.gallery-strip a::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(74, 46, 31, .0);
  transition: background-color var(--dur-base);
}
@media (hover: hover) {
  .gallery-strip a:hover img { transform: scale(1.08); }
  .gallery-strip a:hover::after { background: rgba(74, 46, 31, .18); }
}

/* FAQ preview ------------------------------------------------------------- */
@media (min-width: 64em) {
  .faq-preview .split { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .faq-preview .split__content { position: sticky; top: calc(var(--header-h) + 2rem); }
}
