@keyframes driftLeftRight {
    0% { transform: translateX(-15%); }
    50% { transform: translateX(15%); }
    100% { transform: translateX(-15%); }
}

@keyframes driftRightLeft {
    0% { transform: translateX(15%); }
    50% { transform: translateX(-15%); }
    100% { transform: translateX(15%); }
}

.intro-drift-strip-a {
    width: 33%;
    height: 6rem;
    animation: driftLeftRight 14s ease-in-out infinite;
}

.intro-drift-strip-b {
    width: 50%;
    height: 4rem;
    animation: driftRightLeft 18s ease-in-out infinite;
}

.intro-drift-strip-c {
    width: 25%;
    height: 5rem;
    animation: driftLeftRight 12s ease-in-out infinite;
    animation-delay: 3s;
}

.intro-drift-container {
    max-width: 80rem;
}

.intro-drift-textbox {
    max-width: 48rem;
}

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

.content-col-grow {
    flex: 1 1 0%;
    min-width: 0;
}

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

/* Layout parity: Bootstrap bs: branch — values match theme/tailwind spacing (see v11 tw:) */
.content-v11-bs--root {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-v11-bs--area {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.content-v11-bs--row {
    gap: 2rem;
}

@media (min-width: 992px) {
    .content-v11-bs--col-copy {
        max-width: 42rem;
    }
}

.content-v11-bs--panel-mb {
    margin-bottom: 2rem;
}

.content-v11-bs--col-visual {
    position: relative;
}

.content-v11-bs--media-back {
    position: absolute;
    top: 10rem;
    left: 1.25rem;
    width: 80%;
    pointer-events: none;
}

.content-v11-bs--media-front {
    position: relative;
    z-index: 10;
    margin-bottom: 5rem;
    margin-left: 2rem;
    width: 50%;
}

/* quote — featured academic quote + supporting cards */

/* serif lead + drop-cap. BS has no font-serif utility; font-family here is allowed (it is not a color) */
.quote-essay__lead {
    font-family: ui-serif, Georgia, "Times New Roman", serif;
}

.quote-essay__lead::first-letter {
    float: left;
    font-size: 3.25rem;
    line-height: 0.8;
    padding-right: 0.5rem;
    font-weight: 700;
}

/* author avatar: fixed size + cover (neither has a BS utility) */
.quote-essay__avatar {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: cover;
}

.quote-essay__glow {
    width: 16rem;
    height: 16rem;
    filter: blur(64px);
}

/* stepping-stone offset rhythm on supporting cards — layout only */
@media (min-width: 1024px) {
    .quote-essay__step:nth-child(odd) {
        transform: translateY(0.75rem);
    }
    .quote-essay__step:nth-child(even) {
        transform: translateY(-0.25rem);
    }
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-essay-root [role="listitem"]:hover,
    .quote-essay-root article:hover,
    .quote-essay-root [class*="quote-essay__card"]:hover,
    .quote-essay-root .quote-essay__book:hover,
    .quote-essay-root .quote-essay__step:hover,
    .quote-essay-root .quote-essay__index-card:hover,
    .quote-essay-root .quote-essay__pill:hover,
    .quote-essay-root .quote-essay__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-essay-root [role="listitem"],
.quote-essay-root article,
.quote-essay-root [class*="quote-essay__card"],
.quote-essay-root .quote-essay__book,
.quote-essay-root .quote-essay__step,
.quote-essay-root .quote-essay__index-card,
.quote-essay-root .quote-essay__pill {
    transition: transform 200ms ease;
}

.quote-essay-root a:focus-visible,
.quote-essay-root button:focus-visible,
.quote-essay-root [tabindex="0"]:focus-visible,
.quote-essay-root input:focus-visible,
.quote-essay-root summary:focus-visible,
.quote-essay-root [role="slider"]:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

@media (hover: hover) {
    .quote-essay-root button:hover,
    .quote-essay-root a:hover,
    .quote-essay-root summary:hover {
        opacity: 0.92;
    }
}

.content-trio-showcase__image {
    display: block;
    width: 100%;
    height: 10rem;
    object-fit: cover;
}

.content-trio-showcase__image--tall {
    height: 14rem;
}

.content-trio-showcase__image--short {
    height: 8rem;
}

.content-trio-showcase__card-lift {
    transition: transform 180ms ease;
}

.content-trio-showcase__card-lift:hover {
    transform: translateY(-0.25rem);
}

.content-trio-showcase__float {
    animation: content-trio-showcase-float 7s ease-in-out infinite;
}

.content-trio-showcase__rail {
    width: 100%;
    height: 0.25rem;
}

.content-trio-showcase__thumb {
    width: 7rem;
    height: 5rem;
}

.content-trio-showcase__badge {
    width: 2.5rem;
    height: 2.5rem;
}

@media (min-width: 768px) {
    .content-trio-showcase__rail {
        width: 0.25rem;
        height: auto;
    }
}

@keyframes content-trio-showcase-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(0.5rem); }
}

.content-trio-showcase__dot {
    width: 0.5rem;
    height: 0.5rem;
}

.content-trio-showcase__float {
    width: 6rem;
    height: 6rem;
}

@media (min-width: 768px) {
    .content-trio-showcase__offset {
        margin-top: 2.5rem;
    }
}

/* cta split screen — full-height cover image */
.cta-split-screen__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100vh;
}

@media (min-width: 1024px) {
  .cta-split-screen__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .cta-split-screen__grid {
    min-height: auto;
  }
}

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

