.hero-v22-media {
    min-height: 18rem;
}

.hero-v22-kicker {
    letter-spacing: 0.2em;
}

/* -- Button hover states -- */
.hero-btn-primary {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.hero-btn-primary:hover,
.hero-btn-primary:focus {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.hero-btn-outline-secondary {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-secondary:hover,
.hero-btn-outline-secondary:focus {
    background-color: var(--bs-secondary) !important;
    color: #fff !important;
    border-color: var(--bs-secondary) !important;
    transform: translateY(-1px);
}

.hero-btn-outline-primary-light {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-primary-light:hover,
.hero-btn-outline-primary-light:focus {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
    transform: translateY(-1px);
}
/* Card hover: scale */
.portfolio-item-hover {
    transition: transform 0.3s ease;
}
.portfolio-item-hover:hover {
    transform: scale(1.05);
}

/* gallery v19 — featured preview + thumbnail strip.
   Geometry shared by both CSS frameworks (Bootstrap has no grid-template / aspect utilities). */
.gallery-picker__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mxw-4xl {
    max-width: 56rem !important;
}

.mxw-2xl {
    max-width: 42rem !important;
}

.gallery-picker__head {
    margin-bottom: 2.5rem;
}

.gallery-picker__title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.gallery-picker__lead {
    font-size: 1.125rem;
}

.gallery-picker__stage,
.gallery-picker__thumb-media {
    aspect-ratio: 16 / 9;
}

.gallery-picker__img {
    object-fit: cover;
}

.gallery-picker__strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .gallery-picker__title {
        font-size: 2.25rem;
    }
}

/* Gallery v19 — thumbnail selector strip */
.gallery-picker__thumb {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    padding: 0;
    font: inherit;
    transition: border-color 150ms ease, transform 150ms ease;
}

.gallery-picker__thumb:hover {
    transform: translateY(-2px);
}

.tips-numbered__card {
    max-width: 24rem;
}

.tips-numbered__thumb {
    width: 4rem;
    height: 4rem;
}

.cta-minimal-carousel__section {
  min-height: 28rem;
}

.cta-minimal-carousel__wrap {
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .cta-minimal-carousel__wrap {
    padding-bottom: 7rem;
  }
}

.cta-minimal-carousel__viewport {
  position: relative;
  min-height: 22rem;
}

.cta-minimal-carousel__panel--center {
  text-align: center;
}

.cta-minimal-carousel__panel--left {
  display: flex;
  align-items: center;
  min-height: 20rem;
}

.cta-minimal-carousel__left-stack {
  width: 100%;
}

.cta-minimal-carousel__panel--split {
  min-height: 20rem;
  display: flex;
  align-items: flex-end;
}

.cta-minimal-carousel__panel.cta-minimal-carousel__slide--hidden {
  display: none;
}

.cta-minimal-carousel__slide--hidden {
  display: none;
}

.cta-minimal-carousel__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes cta-minimal-carousel__fade-in {
  from {
    opacity: 0;
    transform: translateX(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cta-minimal-carousel__slide--visible {
  animation: cta-minimal-carousel__fade-in 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.cta-minimal-carousel__eyebrow-track {
  letter-spacing: 0.22em;
}

.cta-minimal-carousel__title-track {
  letter-spacing: 0.12em;
}

.cta-minimal-carousel__nav-btn {
  width: 2.75rem;
  height: 2.75rem;
}

.cta-minimal-carousel__outline-cta {
  min-width: 9rem;
}

.cta-minimal-carousel__dot--active {
  width: 1.75rem;
  filter: brightness(1);
}

.cta-minimal-carousel__dot--idle {
  width: 0.5rem;
  filter: brightness(0.45);
}

@media (min-width: 768px) {
  .cta-minimal-carousel__viewport {
    min-height: 26rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-minimal-carousel__slide--visible {
    animation: none;
  }
}

