/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --cream:      #F5EDE1;
  --teal:       #2D6E64;
  --teal-dark:  #1E5F57;
  --terracotta: #C8543A;
  --charcoal:   #2B2B2B;
  --white:      #ffffff;

  --font-display: 'Fredoka', sans-serif;
  --font-script:  'Pacifico', cursive;
  --font-body:    'Nunito Sans', sans-serif;

  --radius:    12px;
  --container: 1200px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.1s;
  line-height: 1.2;
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 3px solid var(--charcoal);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--teal);
}

/* ============================================================
   1 + 2. HEADER — brand hero block (left) + video (right)
   ============================================================ */
.site-header {
  background: var(--cream);
  position: relative;
  padding: 0 0 40px;
}

/* Social icons — top-right corner, understated */
.social-nav {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  align-items: center;
  padding: 12px 24px 0;
}

.nav-icon {
  color: var(--teal);
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.nav-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
}

.nav-icon:hover {
  opacity: 0.7;
}

.nav-icon:focus-visible {
  outline: 2px solid var(--charcoal);
  border-radius: 4px;
  outline-offset: 2px;
}

/* Two-column hero grid — maintained at all sizes */
.site-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 3vw, 36px);
  align-items: center;
  padding-top: 12px;
}

/* Left column: brand identity above hero text */
.site-hero-left {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vw, 28px);
  min-width: 0;
  max-width: 480px;
}

/* Brand identity — centred stacked column */
.brand-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 16px 12px 12px;
}

.brand-lauras {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: -10px;
  position: relative;
  z-index: 1;
}

@keyframes drop-in {
  0%   { transform: translateY(-120px); opacity: 0; }
  70%  { transform: translateY(12px);   opacity: 1; }
  85%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.brand-logo {
  width: clamp(160px, 45vw, 200px);
  height: auto;
  object-fit: contain;
  animation: drop-in 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo {
    animation: fade-in 1s ease both;
  }
}

.brand-kittycare {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 10vw, 5.5rem);
  font-weight: 700;
  color: var(--teal);
  letter-spacing: clamp(1px, 0.3vw, 2px);
  line-height: 1;
  margin-top: 5px;
  white-space: nowrap;
}

.brand-tagline {
  font-family: var(--font-script);
  font-size: clamp(1.1rem, 2.9vw, 1.45rem);
  color: rgba(43, 43, 43, 0.65);
  margin-top: 3px;
}

.tagline-heart {
  color: var(--terracotta);
  font-style: normal;
}

/* Paw print decorations */
.paw {
  position: absolute;
  opacity: 0.5;
  display: flex;
}

.paw--tl1 { top: 10px;    left: 8px;   transform: rotate(-20deg); }
.paw--tl2 { top: 32px;    left: 2px;   transform: rotate(15deg);  }
.paw--tr1 { top: 8px;     right: 6px;  transform: rotate(25deg);  }
.paw--tr2 { top: 34px;    right: 2px;  transform: rotate(-12deg); }
.paw--bl  { bottom: 12px; left: 6px;   transform: rotate(40deg);  }
.paw--br  { bottom: 8px;  right: 4px;  transform: rotate(-30deg); }

/* Right column: always 16:9, centred vertically within the grid row */
.site-hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-hero-right .video-frame {
  width: 100%;
}

.site-hero-right .video-wrap {
  width: 100%;
  border: 2px solid var(--teal);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(45, 110, 100, 0.2);
  /* aspect-ratio: 16/9 comes from base .video-wrap — do not override */
}

@media (max-width: 640px) {
  .site-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ============================================================
   VIDEO WRAP (shared)
   ============================================================ */
.video-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--charcoal);
  aspect-ratio: 16 / 9;
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--terracotta);
  border: 3px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.play-btn svg {
  margin-left: 4px;
}

.play-btn:hover {
  transform: scale(1.1);
  background: #b84832;
}

.play-btn:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.play-btn.hidden {
  display: none;
}

/* ============================================================
   VIDEO FRAME ENHANCEMENTS
   ============================================================ */
.video-frame {
  display: flex;
  flex-direction: column;
}

.video-frame-inner {
  position: relative;
}

.video-badge {
  align-self: flex-start;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  margin-bottom: 8px;
  white-space: nowrap;
}

.video-caption {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--teal);
  text-align: center;
  margin-top: 10px;
  opacity: 0.85;
  line-height: 1.4;
}

/* Services video — subtler teal treatment */
.services .video-frame-inner .video-wrap {
  border: 2px solid var(--teal);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(45, 110, 100, 0.15);
}

/* Corner paw prints on video frame */
.video-paw {
  position: absolute;
  opacity: 0.4;
  pointer-events: none;
  display: flex;
}

.video-paw--tl {
  top: -10px;
  left: -10px;
  transform: rotate(-25deg);
}

.video-paw--tr {
  top: -8px;
  right: -10px;
  transform: rotate(20deg);
}

.video-paw--br {
  bottom: -8px;
  right: -8px;
  transform: rotate(-15deg);
}

/* ============================================================
   2. HERO TEXT (inside .site-hero-left)
   ============================================================ */
.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--teal);
  line-height: 1.4;
  margin-bottom: 16px;
}

.hero-text h1 em {
  font-style: normal;
  color: var(--terracotta);
}

.hero-text .btn {
  font-size: clamp(0.75rem, 2.2vw, 1rem);
  padding: clamp(8px, 1.5vw, 12px) clamp(14px, 3vw, 28px);
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* ============================================================
   DECORATIVE PAW PRINTS (section scatter)
   ============================================================ */
.deco-paw {
  position: absolute;
  opacity: 0.5;
  pointer-events: none;
}

/* Welcome section — 3 teal paws, cream bg */
.welcome-dp-1 { top: 18px;  right: 7px;   width: 18px; height: 18px; transform: rotate(25deg);  }
.welcome-dp-2 { top: 44%;   left: 5px;    width: 20px; height: 20px; transform: rotate(-35deg); }
.welcome-dp-3 { bottom: 24px; left: 9px;  width: 16px; height: 16px; transform: rotate(42deg);  }

/* Trust banner — 2 white paws, teal bg */
.trust-dp-1   { top: 9px;   left: 12px;   width: 16px; height: 16px; transform: rotate(-20deg); opacity: 0.3; }
.trust-dp-2   { bottom: 8px; right: 14px; width: 18px; height: 18px; transform: rotate(32deg);  opacity: 0.3; }

/* Services section — 3 teal paws, cream bg */
.services-dp-1 { top: 20px;    left: 6px;  width: 17px; height: 17px; transform: rotate(-18deg); }
.services-dp-2 { bottom: 24px; right: 7px; width: 20px; height: 20px; transform: rotate(38deg);  }
.services-dp-3 { top: 48%;     right: 4px; width: 15px; height: 15px; transform: rotate(-44deg); }

/* ============================================================
   3. WELCOME
   ============================================================ */
.welcome {
  background: var(--cream);
  padding: 72px 0;
  position: relative;
  overflow: visible;
}

.welcome-panel {
  background: #EDE0CC;
  border-radius: 24px;
  padding: 60px 52px;
  text-align: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cellipse cx='50' cy='68' rx='22' ry='18' fill='%23C8543A' opacity='0.07'/%3E%3Ccircle cx='24' cy='38' r='11' fill='%23C8543A' opacity='0.07'/%3E%3Ccircle cx='42' cy='24' r='11' fill='%23C8543A' opacity='0.07'/%3E%3Ccircle cx='60' cy='24' r='11' fill='%23C8543A' opacity='0.07'/%3E%3Ccircle cx='78' cy='38' r='11' fill='%23C8543A' opacity='0.07'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 120px 120px;
}

.welcome-panel h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 20px;
}

.welcome-panel p {
  font-size: 1.2rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.welcome-panel p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   4. TRUST BANNER
   ============================================================ */
.trust-banner {
  background: var(--teal);
  color: var(--white);
  padding: 28px 0;
  position: relative;
  overflow: visible;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.trust-inner span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 2px;
}

/* ============================================================
   5. SERVICES
   ============================================================ */
.services {
  background: #EDE0CC;
  padding: 60px 0;
  position: relative;
  overflow: visible;
}

.services-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.services-list h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 24px;
  line-height: 1.3;
}

.services-list ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.services-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
}

.services-list li svg {
  color: var(--terracotta);
  flex-shrink: 0;
}

.services-note {
  margin-top: 24px;
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
  line-height: 1.5;
}

.services-list {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  border-left: 4px solid var(--teal);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-list:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
}

/* Services additional paws (top edge — near trust banner) */
.services-dp-4 { top: 12px; left: 44%;  width: 16px; height: 16px; transform: rotate(30deg);  opacity: 0.4; }
.services-dp-5 { top: 8px;  right: 22%; width: 19px; height: 19px; transform: rotate(-22deg); opacity: 0.4; }

@media (max-width: 640px) {
  .services-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   6. TESTIMONIALS
   ============================================================ */
.testimonials {
  background: #EDE0CC;
  padding: 60px 0;
  position: relative;
  overflow: visible;
}

/* Testimonials decorative paws — margin scatter */
.test-dp-1 { top: 14%;    left: 7px;  width: 18px; height: 18px; transform: rotate(-28deg); opacity: 0.4; }
.test-dp-2 { bottom: 20%; left: 5px;  width: 14px; height: 14px; transform: rotate(45deg);  opacity: 0.4; }
.test-dp-3 { top: 38%;   right: 6px;  width: 20px; height: 20px; transform: rotate(-15deg); opacity: 0.4; }

.testimonials h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal);
  text-align: center;
  margin-bottom: 40px;
}

/* Carousel container — clips the sliding track */
.carousel {
  position: relative;
  overflow: hidden;
}

/* Sliding track */
.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
  will-change: transform;
}

/* Card sizing — 1 / 2 / 3 visible per breakpoint */
.carousel .testimonial-card {
  flex: 0 0 100%;
  min-width: 0;
}

@media (min-width: 640px) {
  .carousel .testimonial-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (min-width: 1024px) {
  .carousel .testimonial-card {
    flex: 0 0 calc(33.333% - 16px);
  }
}

/* Prev / next arrows — hidden on mobile, shown tablet+ */
.carousel-prev,
.carousel-next {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.2s;
}

@media (min-width: 640px) {
  .carousel-prev,
  .carousel-next {
    display: flex;
  }
}

.carousel-prev { left: 4px; }
.carousel-next { right: 4px; }

.carousel-prev:hover,
.carousel-next:hover { background: var(--teal-dark); }

.carousel-prev:focus-visible,
.carousel-next:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

/* Dot indicators */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--teal);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.dot.active {
  background: var(--teal);
  transform: scale(1.25);
}

.dot:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* prefers-reduced-motion — static wrapping grid, duplicates hidden */
@media (prefers-reduced-motion: reduce) {
  .carousel { overflow: visible; }
  .carousel-track {
    flex-wrap: wrap;
    transform: none !important;
    transition: none;
  }
  .carousel-prev,
  .carousel-next,
  .carousel-dots { display: none; }
  .carousel-duplicate { display: none; }
  .carousel .testimonial-card { flex: 0 0 100%; }
}

@media (prefers-reduced-motion: reduce) and (min-width: 640px) {
  .carousel .testimonial-card { flex: 0 0 calc(50% - 12px); }
}

@media (prefers-reduced-motion: reduce) and (min-width: 1024px) {
  .carousel .testimonial-card { flex: 0 0 calc(33.333% - 16px); }
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-left: 4px solid var(--teal);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
  font-style: italic;
  color: var(--charcoal);
}

.testimonial-card cite {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  font-style: normal;
}

/* ============================================================
   7. CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--teal);
  color: var(--white);
  padding: 60px 0;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.cta-inner p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

/* ============================================================
   8. TEAM & LOCAL AREA
   ============================================================ */
.team {
  background: var(--cream);
  padding: 60px 0;
}

.team > .container > h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal);
  text-align: center;
  margin-bottom: 40px;
}

.team-inner {
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: stretch;
}

.team-inner > * {
  flex: 1 1 0;
  min-width: 0;
}

.service-area iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: 0;
  border-radius: var(--radius);
}

.team-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-self: center;
}

.team-photos figure {
  text-align: center;
}

.team-photos img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.team-photos figcaption {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--teal);
}

.service-area {
  display: flex;
  flex-direction: column;
}

.service-area h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 16px;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #d8eceb;
  border-radius: var(--radius);
  border: 2px dashed var(--teal);
  padding: 40px 20px;
  text-align: center;
  color: var(--teal);
  transition: background 0.2s;
}

.map-placeholder:hover {
  background: #c8e0de;
}

.map-placeholder:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.map-placeholder span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.map-img {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.area-tag {
  background: var(--teal);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
}

@media (max-width: 768px) {
  .team-inner {
    flex-direction: column;
  }

  .service-area iframe {
    width: 100%;
    height: 300px;
    min-height: unset;
  }

}


/* ============================================================
   9. FOOTER
   ============================================================ */
.site-footer {
  background: var(--teal-dark);
  color: var(--white);
  padding: 52px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-col p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-col a {
  color: var(--white);
  transition: opacity 0.2s;
}

.footer-col a:hover {
  opacity: 0.7;
}

.footer-col a:focus-visible {
  outline: 2px solid var(--white);
  border-radius: 2px;
  outline-offset: 2px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  background: #25D366;
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: opacity 0.2s;
}

.whatsapp-btn:hover {
  opacity: 0.88;
}

.whatsapp-btn:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.footer-btn {
  margin-top: 12px;
}

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 0;
  text-align: center;
}

.footer-bar p {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================================
   SECTION DIVIDERS
   ============================================================ */
.section-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  background: var(--cream);
  line-height: 1;
}

.section-divider svg {
  opacity: 0.3;
  flex-shrink: 0;
}

/* ============================================================
   INLINE BODY LINKS
   ============================================================ */
main p a:not([class]) {
  color: var(--teal);
}

main p a:not([class]):hover {
  text-decoration: underline;
}

/* ============================================================
   FOOTER LOGO BADGE
   ============================================================ */
.footer-logo-bar {
  text-align: center;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  padding: 6px;
}

.footer-logo-circle img {
  width: 60px;
  height: auto;
  display: block;
}

/* ── Team photo scroll-in animation ── */
.team-photos figure {
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.8s ease, filter 0.8s ease;
}

.team-photos figure.in-view {
  opacity: 1;
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .team-photos figure {
    opacity: 1;
    filter: none;
    transition: none;
  }
}

/* ── Mobile: crop tall portrait team photos ── */
@media (max-width: 768px) {
  .team-inner > * {
    flex: unset;
    width: 100%;
  }
  .team-photos {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem;
    width: 100%;
  }
  .team-photos figure {
    margin: 0;
    width: 100%;
  }
  .team-photos figure img,
  .mobile-crop-photo {
    width: 100%;
    height: 320px !important;
    object-fit: cover;
    object-position: top;
    border-radius: 0;
  }
}
