/* intro v27 — Evangelion cascade: organic blob, wide banner, diagonal steps, slide-in L/R, word reveal */

/* Organic blob */
.intro-eva__blob {
    width: 24rem;
    height: 24rem;
    filter: blur(60px);
    opacity: 0.4;
    border-radius: 38% 62% 55% 45% / 55% 42% 58% 45%;
    animation: intro-eva-morph 12s ease-in-out infinite;
}
@keyframes intro-eva-morph {
    50% { border-radius: 55% 45% 42% 58% / 42% 58% 45% 55%; }
}

/* Single wide banner */
.intro-eva__banner-img {
    display: block;
    width: 100%;
    height: 12rem;
    object-fit: cover;
}
@media (min-width: 768px) {
    .intro-eva__banner-img { height: 16rem; }
}

/* Stepped diagonal cascade + asymmetric mixed sizes */
.intro-eva__row { margin-left: 0; }
.intro-eva__cell { max-width: 46rem; }
@media (min-width: 768px) {
    .intro-eva__row:nth-child(1) .intro-eva__cell { margin-left: 0;    max-width: 40rem; }
    .intro-eva__row:nth-child(2) .intro-eva__cell { margin-left: 3rem; max-width: 34rem; }
    .intro-eva__row:nth-child(3) .intro-eva__cell { margin-left: 6rem; max-width: 44rem; }
    .intro-eva__row:nth-child(4) .intro-eva__cell { margin-left: 9rem; max-width: 30rem; }
}

/* Slide-in from L / R on scroll — hidden only once JS arms it (no-JS content stays visible) */
.intro-eva.is-armed .intro-eva__row {
    opacity: 0;
    transition: opacity 560ms ease, transform 560ms ease;
}
.intro-eva.is-armed .intro-eva__row:nth-child(odd)  { transform: translateX(-2.5rem); }
.intro-eva.is-armed .intro-eva__row:nth-child(even) { transform: translateX(2.5rem); }
.intro-eva.is-armed .intro-eva__row.is-in { opacity: 1; transform: translateX(0); }

/* Letterpress-ish press using the element's own colour */
.intro-eva__press { text-shadow: 0 1px 0 currentColor; }

/* Word-by-word reveal */
.intro-eva__word { display: inline-block; }
.intro-eva.is-armed .intro-eva__word {
    opacity: 0;
    transform: translateY(0.6em);
    transition: opacity 420ms ease, transform 420ms ease;
}
.intro-eva.is-armed .intro-eva__reveal.is-in .intro-eva__word { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .intro-eva__blob { animation: none; }
    .intro-eva__row { opacity: 1; transform: none; }
    .intro-eva__word { opacity: 1; transform: none; }
}

.outline-orb-top {
    top: 0;
    right: 0;
    width: 18rem;
    height: 18rem;
    filter: blur(3rem);
}

.outline-orb-bottom {
    bottom: 0;
    left: 0;
    width: 18rem;
    height: 18rem;
    filter: blur(3rem);
}

.outline-media-group:hover .outline-image-hover {
    transform: scale(1.1);
}

.outline-image-hover {
    transition: transform 0.7s ease;
}

.outline-overlay-hover {
    transition: opacity 0.5s ease;
}

.outline-media-group:hover .outline-overlay-hover {
    opacity: 1;
}

.outline-float-star {
    top: -1rem;
    right: -1rem;
}

.outline-float-check {
    bottom: -1rem;
    left: -1rem;
}

@keyframes bounce-kf {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25%); }
}

@keyframes pulse-kf {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.35; }
}

.outline-bounce {
    animation: bounce-kf 1s infinite;
}

.outline-pulse {
    animation: pulse-kf 3s ease-in-out infinite;
}

.outline-card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.outline-card-group:hover .outline-card-hover {
    transform: scale(1.05);
    box-shadow: var(--bs-box-shadow-lg);
}

.outline-icon-rotate-hover {
    transition: transform 0.3s ease;
}

.outline-card-group:hover .outline-icon-rotate-hover {
    transform: rotate(12deg);
}

.outline-title-hover {
    transition: color 0.3s ease;
}

.outline-card-group:hover .outline-title-hover {
    color: var(--bs-primary);
}

.outline-sq-6  { width: 1.5rem;  height: 1.5rem;  flex-shrink: 0; }
.outline-sq-8  { width: 2rem;    height: 2rem;    flex-shrink: 0; }
.outline-sq-14 { width: 3.5rem;  height: 3.5rem;  flex-shrink: 0; }

.bento-metrics-timeline__blob {
    width: 24rem;
    height: 24rem;
    filter: blur(48px);
}

.bento-metrics-timeline__blob--top {
    top: -6rem;
    left: -6rem;
}

.bento-metrics-timeline__blob--bottom {
    bottom: -6rem;
    right: -6rem;
}

.bento-metrics-timeline__pip {
    width: 6px;
    height: 6px;
}

.bento-metrics-timeline__icon {
    width: 2rem;
    height: 2rem;
}

.bento-metrics-timeline__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .bento-metrics-timeline__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@keyframes bento-metrics-timeline__fade-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.bento-metrics-timeline__animate {
    animation: bento-metrics-timeline__fade-in 0.5s ease forwards;
}

.bento-metrics-timeline__card {
    transition: transform 200ms ease;
}

.bento-metrics-timeline__card:hover {
    transform: translateY(-0.125rem);
}

/* values v25 - tabbed value categories */
.values-tabbed__tab {
    font-weight: 700;
    border-width: 2px;
    padding: 0.75rem 1.5rem;
}

.values-tabbed__tab.is-active {
    font-weight: 800;
    border-width: 3px;
}

.values-tabbed__icon-box {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
}

.roster-skills-reveal__portrait {
    width: 6rem;
    height: 6rem;
}

.roster-skills-reveal__grid-cell:nth-child(2) {
    animation-delay: 0.1s;
}

.roster-skills-reveal__grid-cell:nth-child(3) {
    animation-delay: 0.2s;
}

.roster-skills-reveal__grid-cell:nth-child(4) {
    animation-delay: 0.3s;
}

.roster-skills-reveal__grid-cell:nth-child(5) {
    animation-delay: 0.4s;
}

.roster-skills-reveal__grid-cell:nth-child(6) {
    animation-delay: 0.5s;
}

.roster-skills-reveal__min-shrink {
  min-width: 0;
}

.logo-inline-quote__portrait {
    width: 3rem;
    height: 3rem;
}

.logo-inline-quote__track:not(.row) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    row-gap: 2rem;
}

@media (min-width: 768px) {
    .logo-inline-quote__track:not(.row) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 2.25rem;
    }
}

.logo-inline-quote__col:not([class*="col-"]) {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

@media (min-width: 768px) {
    .logo-inline-quote__col:not([class*="col-"]) {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

.logo-inline-quote__surface {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
    flex: 1 1 auto;
}

@media (min-width: 768px) {
    .logo-inline-quote__surface {
        gap: 1.25rem;
    }
}

