/* Smith Brindle Header — Classic adjusted version */
:root {
  --sb-hero-h: 260px; /* slightly taller for breathing room */
}

.sb-hero {
  position: relative;
  display: block;
  min-height: var(--sb-hero-h);
  width: 100%;
  overflow: hidden;
  background: #b6a472; /* fallback while bg loads */
}

/* background image zoom */
.sb-hero__bg,
.sb-hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes sb-zoom-slow {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.02);
  }
}

.sb-hero__bg img {
  animation: sb-zoom-slow 22s ease-in-out both;
}

/* inner wrapper */
.sb-hero__inner {
  position: relative;
  max-width: 1400px;
  margin-inline: auto;
  height: 100%;
}

/* TITLE – now anchored lower */
/* Perfectly center the title (both axes) */
/* Centered but nudged lower */
.sb-hero__title {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform: translateY(35%); /* <-- Increased from 25% */
  z-index: 7;
  text-align: center;
}
.sb-hero__title-img {
  height: auto;
  width: auto;
  max-width: min(90vw, 900px);
	margin-top: 100px;
	z-index: 5;
	    width: 470px;
  max-height: calc(var(--sb-hero-h) * 0.7);
    filter: invert(0.9) brightness(1.1) contrast(1.05)
          drop-shadow(0 2px 0 rgba(0,0,0,.25))
          drop-shadow(0 14px 18px rgba(0,0,0,.35));
}



@keyframes sb-title-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* PHOTO – right side, lower + smaller */
/* AFTER */
.sb-hero__photo {
  position: absolute;
  top: 30%;
  right: clamp(24px, 4vw, 48px);
  margin-top: 100px;
  transform: translateY(calc(-50% + 75px)) rotate(var(--sb-tilt)) scale(0.6);
  z-index: 2;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.4));
}

@keyframes sb-photo-in {
  0% {
    transform: rotate(var(--sb-tilt)) translateY(8px) scale(.97);
    opacity: 0;
  }
  100% {
    transform: rotate(var(--sb-tilt)) translateY(0) scale(1);
    opacity: 1;
  }
}

.sb-hero__photo img {
  display: block;
  max-width: clamp(180px, 18vw, 260px);
  height: auto;
  border-radius: 10px;
  background: #fdfcf8;
  outline: 10px solid #f5f0e6;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25); /* soft shadow */
}

/* smooth fade at bottom */
.sb-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(182,164,114,0) 0%, rgba(182,164,114,1) 70%);
  pointer-events: none;
  z-index: 1;
}

/* responsive tweaks */
@media (max-width: 900px) {
  .sb-hero {
    --sb-hero-h: 240px;
  }

  .sb-hero__photo img {
    max-width: clamp(160px, 26vw, 220px);
  }

  .sb-hero__title-img {
    width: min(760px, 82vw);
  }

  .sb-hero__title {
    top: 86%;
  }

  .sb-hero__photo {
    bottom: -40px;
  }
}

@media (max-width: 560px) {
  .sb-hero {
    --sb-hero-h: 220px;
  }

  .sb-hero__photo {
    right: 12px;
    bottom: -30px;
    transform: rotate(10deg) scale(0.8);
  }

  .sb-hero__photo img {
    max-width: clamp(140px, 40vw, 200px);
  }

  .sb-hero__title-img {
    width: min(620px, 84vw);
  }

  .sb-hero__title {
    top: 84%;
  }
}

/* reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .sb-hero__bg img,
  .sb-hero__title-img,
  .sb-hero__photo {
    animation: none !important;
  }
}
