/* 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; }
}

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

.content-grid-gap {
    gap: 2rem;
}

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

.content-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

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

.glossary-v2-cluster__card {
    width: 100%;
}

@media (min-width: 992px) {
    .glossary-v2-cluster__card {
        width: calc(50% - 0.75rem); /* For gap-4 (1.5rem) -> half is 0.75rem */
    }
}

/* Layout only — colors stay in Blade utilities */

.borderline-editorial__kicker {
  max-width: 36rem;
}

.borderline-editorial__rule {
  width: 2.5rem;
  height: 2px;
}

.borderline-editorial__body {
  min-width: 0;
}

.borderline-editorial__stamp {
  width: 7rem;
  align-self: stretch;
  min-height: 6rem;
}

@media (min-width: 768px) {
  .borderline-editorial__stamp {
    width: 11rem;
    min-height: 8rem;
  }
}

.borderline-editorial__stamp-pattern {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 5px,
    rgba(var(--bs-primary-rgb), 0.1) 5px,
    rgba(var(--bs-primary-rgb), 0.1) 6px
  );
}

.borderline-editorial__stamp-ring {
  width: 4.5rem;
  height: 4.5rem;
  top: 50%;
  left: 50%;
  margin-top: -2.25rem;
  margin-left: -2.25rem;
  background: conic-gradient(
    from 0deg,
    rgba(var(--bs-primary-rgb), 0.55),
    rgba(var(--bs-primary-rgb), 0.05) 120deg,
    rgba(var(--bs-primary-rgb), 0.45) 240deg,
    rgba(var(--bs-primary-rgb), 0.05)
  );
  animation: borderline-editorial-ring-spin 10s linear infinite;
  mask: radial-gradient(circle, transparent 58%, black 60%);
  -webkit-mask: radial-gradient(circle, transparent 58%, black 60%);
}

.borderline-editorial__stamp--1 .borderline-editorial__stamp-ring {
  animation-duration: 12s;
  animation-direction: reverse;
}

.borderline-editorial__stamp--2 .borderline-editorial__stamp-ring {
  animation-duration: 8s;
}

.borderline-editorial__stamp-date {
  writing-mode: horizontal-tb;
}

.borderline-editorial__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@keyframes borderline-editorial-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .borderline-editorial__stamp-ring {
    animation: none;
  }
}


@keyframes knowledge-clarify-flare-throb-seq {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.knowledge-clarify__flare--throb {
    animation: knowledge-clarify-flare-throb-seq 2s cubic-bezier(.4,0,.6,1) infinite;
}

@keyframes knowledge-clarify-flare-rebound-seq {
    0%, 100% { transform: translateY(0); animation-timing-function: cubic-bezier(.8,0,1,1); }
    50%       { transform: translateY(-25%); animation-timing-function: cubic-bezier(0,0,.2,1); }
}
.knowledge-clarify__flare--rebound {
    animation: knowledge-clarify-flare-rebound-seq 1s infinite;
}

@keyframes knowledge-clarify-flare-ping-seq {
    75%, 100% { transform: scale(2); opacity: 0; }
}
.knowledge-clarify__flare--ping {
    animation: knowledge-clarify-flare-ping-seq 1s cubic-bezier(0,0,.2,1) infinite;
}

/* Animation delays */
.knowledge-clarify__flare--delay-1 { animation-delay: 0.3s; }
.knowledge-clarify__flare--delay-2 { animation-delay: 0.5s; }
.knowledge-clarify__flare--delay-3 { animation-delay: 0.8s; }
.knowledge-clarify__flare--delay-4 { animation-delay: 1s; }
.knowledge-clarify__flare--delay-5 { animation-delay: 1.2s; }
.knowledge-clarify__flare--delay-6 { animation-delay: 1.5s; }
.knowledge-clarify__flare--delay-7 { animation-delay: 2s; }

/* Dot positions and sizes */
.knowledge-clarify__dot-a { top: 3rem; left: 2.5rem; width: 0.75rem; height: 0.75rem; }
.knowledge-clarify__dot-b { top: 5rem; right: 4rem; width: 0.5rem; height: 0.5rem; }
.knowledge-clarify__dot-c { top: 8rem; left: 25%; width: 1rem; height: 1rem; }
.knowledge-clarify__dot-d { bottom: 6rem; right: 5rem; width: 0.75rem; height: 0.75rem; }
.knowledge-clarify__dot-e { bottom: 4rem; left: 4rem; width: 0.5rem; height: 0.5rem; }
.knowledge-clarify__dot-f { top: 50%; right: 3rem; width: 1.25rem; height: 1.25rem; }

/* Line decors */
.knowledge-clarify__line-a { top: 25%; left: 33%; width: 3rem; height: 0.125rem; }
.knowledge-clarify__line-b { bottom: 33%; right: 25%; width: 4rem; height: 0.125rem; }

/* Corner blob size */
.knowledge-clarify__corner-blob { width: 4rem; height: 4rem; }

.knowledge-clarify__story--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

.knowledge-clarify__flare--glow:hover { transform: scale(1.25); transition: transform .2s ease; }

