/* Home V4 refinements — punch list on top of the approved v3 layout.
   Dusty blue accent, neutral grey secondary, no brown/terracotta anywhere.
   Load AFTER style.css, home-v2.css, home-v3.css. */

:root {
  --cream: #FCFBF8;          /* soft cream page background */
  --white: #FFFFFF;
  --ink: #2E3338;
  --ink-soft: #6B7076;
  --orange: #5E7A8E;         /* primary accent: muted dusty blue */
  --orange-dark: #48606F;
  --orange-soft: #EAF0F3;
  --brown: #48606F;          /* legacy var re-pointed to blue-grey (no brown on site) */
  --green: #5E7A8E;
  --shadow: 0 3px 16px rgba(46, 51, 56, 0.06);
  --shadow-lg: 0 8px 28px rgba(46, 51, 56, 0.10);
}

.card { border: 1px solid #E8E6E1; }

.trust-band span + span { border-left: 1px solid #DDDBD5; }

/* Trust badges: noticeably larger, easy to read at a glance */
.trust-band { padding: 30px 24px 12px; }

.trust-band span {
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  padding: 4px 22px;
}

/* Hero video crops per breakpoint (JS swaps src; CSS ensures cover).
   The hero frame matches each video's own aspect ratio so the full frame
   shows — no zoom-in cropping. */
.video-hero video { object-fit: cover; }

/* Desktop: still photo hero (full lineup, uncropped width), text over the
   blanket at the bottom. Mobile: portrait video hero. */
.video-hero {
  height: auto;
  min-height: 0;
  aspect-ratio: 6760 / 2858;
  max-height: 100vh;
  align-items: flex-end;
}

.video-hero .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-hero video { display: none; }

.video-hero .hero-content { padding-bottom: 44px; }

.video-hero::after {
  background: linear-gradient(180deg, rgba(30,25,18,0.05) 55%, rgba(30,25,18,0.55) 100%);
}

/* Puppy News cards carry media */
.card img.card-media { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Puppy News card with a portrait video: media beside text, uncropped,
   click to expand with sound */
.card.card-video { display: grid; grid-template-columns: 42% 1fr; align-items: center; }

.card.card-video .video-wrap { position: relative; }

.card.card-video video { width: 100%; height: auto; display: block; cursor: pointer; }

.video-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30,25,18,0.62);
  color: #fff;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 999px;
  pointer-events: none;
  white-space: nowrap;
}

@media (max-width: 880px) {
  .card.card-video { display: flex; flex-direction: column; }
  .card.card-video .card-body { order: -1; }
  .card.card-video .video-wrap { width: 74%; margin: 0 auto 22px; }
}

/* Lightbox: expanded video with sound */
.video-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(24,20,16,0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.video-lightbox.open { display: flex; }

.video-lightbox video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 92vw;
  max-height: 85vh;
  max-height: 85svh;
  border-radius: 12px;
  background: #000;
  z-index: 1;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 3;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Quote band: neutral, not brown-tinted */
.quote-band { background: #F1F0EC; }

/* CTA band: soft accent tint, not a saturated fill */
.cta-band { background: var(--orange-soft); }

.cta-band h2, .cta-band p { color: var(--ink); }

.cta-band .btn { background: var(--orange); color: #fff; }

.cta-band .btn:hover { background: var(--orange-dark); }

/* Hand delivery callout box */
.callout {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--orange);
  border-radius: var(--radius);
  padding: 26px 30px;
  max-width: 760px;
  margin: 0 auto;
}

.callout .callout-icon { font-size: 2rem; flex-shrink: 0; }

.callout h3 { margin-bottom: 4px; }

.callout p { color: var(--ink-soft); font-size: 0.98rem; }

/* Mailing list signup */
.signup { text-align: center; max-width: 560px; margin: 0 auto; }

.signup form { display: flex; gap: 10px; margin-top: 18px; }

.signup input[type="email"] {
  flex: 1;
  border: 1.5px solid #D9D7D1;
  border-radius: 8px;
  padding: 12px 16px;
  font: inherit;
  background: var(--white);
}

.signup input[type="email"]:focus { outline: none; border-color: var(--orange); }

/* Corgis in motion: each video keeps its own natural shape — no cropping */
.motion-row { grid-template-columns: auto 1fr; align-items: center; justify-content: center; }

.motion-row .video-tile { aspect-ratio: auto; }

.motion-row .video-tile video {
  position: static;
  width: 100%;
  height: auto;
  display: block;
}

.motion-row .video-tile.portrait { max-width: 330px; }

@media (max-width: 880px) {
  .motion-row { grid-template-columns: 1fr; }
  .motion-row .video-tile.portrait { max-width: 100%; }
}

/* About Us: big blue heading, no kicker */
.about-heading {
  color: var(--orange);
  font-size: 2.3rem;
  margin-bottom: 16px;
}

/* Parents teaser: taller portrait crops so ears stay in frame */
.grid-3 .card img { aspect-ratio: 4 / 5; }

/* Parent cards are links */
a.card-link { text-decoration: none; color: inherit; transition: transform 0.15s, box-shadow 0.15s; }

a.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

a.card-link h3 { color: var(--orange-dark); }

/* Callout icon: flat SVG, no emoji */
.callout .callout-icon {
  background: var(--orange-soft);
  border-radius: 50%;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Footer social: brand glyphs */
.footer-social a { color: #fff; }

.footer-social a svg { width: 20px; height: 20px; display: block; }

.footer-social a:hover { background: var(--orange); }

/* Masonry gallery: natural photo shapes in flowing columns */
.gallery {
  display: block;
  columns: 4 230px;
  column-gap: 14px;
}

.gallery img {
  aspect-ratio: auto;
  width: 100%;
  margin-bottom: 14px;
  break-inside: avoid;
  display: block;
}

.gallery img:hover { transform: scale(1.015); }

/* Footer: deep blue-grey (no brown) */
.site-footer { background: #262C31; }

.site-footer a { color: #A9C2D1; }

/* Larger brand mark */
.brand img { width: 46px; border-radius: 0; }

.brand span { color: var(--orange-dark); }

@media (max-width: 880px) {
  .story .story-photo { order: 2; }
  .video-hero { aspect-ratio: auto; height: 100svh; align-items: center; }
  .video-hero .hero-img { display: none; }
  .video-hero video { display: block; }
  .video-hero .hero-content { padding-bottom: 0; }
  .video-hero::after { background: linear-gradient(180deg, rgba(30,25,18,0) 0%, rgba(30,25,18,0) 55%, rgba(30,25,18,0.38) 100%); }
  .video-hero .hero-content { align-self: flex-end; padding-bottom: 40px; }
  .trust-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 0;
    padding: 24px 16px 10px;
  }
  .trust-band span {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    padding: 0 8px;
    text-align: center;
  }
  .trust-band span + span { border-left: none; }
  .trust-band span:nth-child(even) { border-left: 1px solid #DDDBD5; }
  .signup form { flex-direction: column; }
  .callout { flex-direction: column; text-align: center; }
}

/* Testimonial row */
.quote-grid { gap: 22px; }

.quote-grid blockquote {
  max-width: none;
  margin: 0;
  font-size: 1.05rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 26px;
  text-align: left;
}

.quote-grid .who { font-size: 0.9rem; margin-top: 12px; }
