/* v25 bento — featured tile layout and image (object-fit: no BS util) */
.perks-bento__grid {
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .perks-bento__grid {
        grid-template-columns: 7fr 5fr;
        grid-template-rows: auto;
    }

    .perks-bento__featured {
        grid-column: 1;
        grid-row: 1;
    }

    .perks-bento__small-grid {
        grid-column: 2;
        grid-row: 1;
    }
}

.perks-bento__featured {
    min-height: 22rem;
}

.perks-bento__featured-img {
    object-fit: cover;
}

/* icon container sizes (w-N h-N has no BS util) */
.perks-bento__featured-icon {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}

.perks-bento__tile-icon {
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
}

.content-img-ratio {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: cover;
    flex-shrink: 0;
}

.document-folio__photo--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

.document-folio__appeal--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

.content-heading-gap {
    margin-bottom: 2rem;
}

/* v17 - terminal timeline: neon grid backdrop via line borders (no colored bg images, no hex) */
.steps-terminal-timeline__grid-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        repeating-linear-gradient(to right, currentColor 0, currentColor 1px, transparent 1px, transparent 48px),
        repeating-linear-gradient(to bottom, currentColor 0, currentColor 1px, transparent 1px, transparent 48px);
    opacity: 0.06;
}

.steps-terminal-timeline__desc {
    min-height: 3em;
}

/* bs parity: Bootstrap has no pl-10 / -left-10 / w-4 h-4 / w-px equivalents,
   so exact offsets and sizes are expressed here in plain CSS (applies under
   both frameworks identically to the tw values already set). */
.console-rail__col {
    padding-left: 2.5rem;
}

.console-rail__row:last-child {
    margin-bottom: 0 !important;
}

.steps-terminal-timeline__line {
    width: 1px;
}

.steps-terminal-timeline__dot {
    position: absolute;
    left: -2.5rem;
    top: 0.25rem;
    width: 1rem;
    height: 1rem;
}

/* Card hover: scale */
.portfolio-item-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-item-hover:hover {
    transform: scale(1.05);
}

/* Image: zoom on card hover */
.portfolio-item-hover .portfolio-img-hover {
    transition: transform 0.3s ease;
}
.portfolio-item-hover:hover .portfolio-img-hover {
    transform: scale(1.05);
}

/* Overlay: fade in on card hover */
.portfolio-overlay-hover {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.portfolio-item-hover:hover .portfolio-overlay-hover {
    opacity: 1;
}

/* cta waves — SVG wave scroll (colors via currentColor in Blade) */
.cta-waves__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.cta-waves__track {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 46%;
  display: flex;
  flex-direction: row;
  animation: cta-waves-flow 24s linear infinite;
  will-change: transform;
}

.cta-waves__track--front {
  bottom: 6%;
  height: 34%;
  animation-duration: 17s;
  animation-delay: -6s;
}

.cta-waves__svg {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  display: block;
}

@keyframes cta-waves-flow {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-waves__track {
    animation: none;
    transform: translateX(-25%);
  }
}

