/* intro v28 — Arc diagonal-split: clip split, floating rings, ransom-note words, grayscale hover, click burst */

/* Diagonal split zone */
.intro-arc2__split {
    clip-path: polygon(0 0, 100% 0, 100% 62%, 0 100%);
    opacity: 0.6;
}

/* Floating rings / donuts (fixed size — no BS w-N/h-N utility) */
.intro-arc2__ring { width: 10rem; height: 10rem; animation: intro-arc2-float 7s ease-in-out infinite; }
.intro-arc2__ring--2 { width: 6rem; height: 6rem; animation-duration: 9s; animation-delay: 1s; }
@keyframes intro-arc2-float {
    50% { transform: translateY(-1.2rem) rotate(20deg); }
}

/* Serif accent (paired with sans body) */
.intro-arc2__serif { font-family: ui-serif, Georgia, "Times New Roman", serif; }

/* Hero image grayscale → colour reveal on hover */
.intro-arc2__figure { aspect-ratio: 4 / 3; }
.intro-arc2__img {
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 420ms ease;
}
.intro-arc2__figure:hover .intro-arc2__img { filter: grayscale(0); }

/* Ransom-note mixed letters: alternate rotation, weight, family (no colour) */
.intro-arc2__word {
    display: inline-block;
    margin-right: 0.25em;
}
.intro-arc2__word:nth-child(3n+1) { transform: rotate(-4deg); font-weight: 900; }
.intro-arc2__word:nth-child(3n+2) { transform: rotate(3deg);  font-family: ui-serif, Georgia, serif; font-style: italic; }
.intro-arc2__word:nth-child(3n+3) { transform: rotate(-1deg); font-weight: 700; text-transform: uppercase; }

/* Click burst spark (inherits the button's primary colour via currentColor) */
.intro-arc2__react { position: relative; overflow: visible; }
.intro-arc2__spark {
    position: absolute;
    left: 50%;
    top: 50%;
    pointer-events: none;
    animation: intro-arc2-burst 640ms ease-out forwards;
}
@keyframes intro-arc2-burst {
    to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.4) rotate(160deg); }
}

@media (prefers-reduced-motion: reduce) {
    .intro-arc2__ring { animation: none; }
}

/* v20 — decorative large animated elements */
@keyframes glance-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.02); }
}
@keyframes glance-pulse-slow {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.25; }
}

.glance-float { animation: glance-float 6s ease-in-out infinite; animation-delay: 1s; }
.glance-float-reverse { animation: glance-float-reverse 8s ease-in-out infinite; animation-delay: 2s; }
.glance-pulse-slow { animation: glance-pulse-slow 4s ease-in-out infinite; }

.glance-orb-one {
    top: -2rem;
    left: -2rem;
    width: 16rem;
    height: 16rem;
    filter: blur(3rem);
}

.glance-orb-three {
    bottom: -3rem;
    left: 25%;
    width: 14rem;
    height: 14rem;
}

.glance-spin-orb {
    top: 1rem;
    right: 1rem;
    width: 8rem;
    height: 8rem;
    animation-duration: 25s;
}

.glance-orb-four {
    bottom: 2rem;
    left: -1rem;
    width: 6rem;
    height: 6rem;
    transform: rotate(12deg);
}

.glance-cta-hover,
.glance-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glance-cta-hover:hover {
    transform: scale(1.05);
}

.glance-card-hover:hover {
    transform: translateY(-0.125rem);
    box-shadow: var(--bs-box-shadow-lg);
}

/* values v27 - diagonal skewed constructivist cards */
.values-constructivist__wrap {
    max-width: 96rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.values-constructivist__col {
    display: flex;
}

.values-constructivist__card {
    transform: rotate(-3deg);
    will-change: transform;
    width: 100%;
    min-height: 22rem;
}

.values-constructivist__col:nth-child(even) .values-constructivist__card {
    transform: rotate(3deg);
}

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

.values-constructivist__dot {
    top: -0.75rem;
    left: -0.75rem;
    width: 2.5rem;
    height: 2.5rem;
}

.values-constructivist__card:hover,
.values-constructivist__card:focus-within {
    transform: rotate(0deg) translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
    .values-constructivist__card {
        transform: none;
    }

    .values-constructivist__col:nth-child(even) .values-constructivist__card {
        transform: none;
    }
}

/* team v26 — bento glass grid + animated mesh */
.team-glass ol,
.team-glass ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.team-glass__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.team-glass__blob {
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  animation: team-glass-blob-morph 11s ease-in-out infinite;
  transform-origin: center;
}

.team-glass__blob--tl {
  top: -6rem;
  left: -5rem;
  width: 18rem;
  height: 18rem;
}

.team-glass__blob--br {
  bottom: -7rem;
  right: -6rem;
  width: 22rem;
  height: 22rem;
  animation-duration: 13s;
  animation-delay: 2s;
}

.team-glass__glow {
  top: 45%;
  left: 50%;
  width: 28rem;
  height: 28rem;
  animation: team-glass-glow-pulse 7s ease-in-out infinite;
  transform-origin: center;
}

.team-glass__mesh {
  background-image:
    linear-gradient(125deg, transparent 40%, rgba(var(--bs-primary-rgb), 0.06) 50%, transparent 60%),
    radial-gradient(circle at 20% 30%, rgba(var(--bs-primary-rgb), 0.12), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(var(--bs-primary-rgb), 0.1), transparent 40%);
  animation: team-glass-mesh-shift 14s ease-in-out infinite;
}

/* team-glass — overhead wire network (SVG; color via currentColor in Blade) */
.team-glass__wires {
  z-index: 1;
  pointer-events: none;
}

.team-glass__wires-svg {
  display: block;
}

.team-glass__wire-layer {
  transform-origin: center center;
  animation: team-glass-wire-sway 9s ease-in-out infinite;
}

.team-glass__wire--thin {
  opacity: 0.65;
}

@keyframes team-glass-wire-sway {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(4px) translateX(2px);
  }
}

.team-glass__card {
  transition: transform 220ms ease, box-shadow 220ms ease;
  height: 100%;
}

.team-glass__card:hover {
  transform: translateY(-0.35rem);
}

.team-glass__card-media {
  position: relative;
  width: 100%;
  height: 13.5rem;
  overflow: hidden;
}

.team-glass__card--featured .team-glass__card-media {
  height: 17rem;
}

@media (min-width: 576px) {
  .team-glass__card-media {
    height: 14rem;
  }

  .team-glass__card--featured .team-glass__card-media {
    height: 18rem;
  }
}

.team-glass__card-bio {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-glass__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 350ms ease;
}

.team-glass__card:hover .team-glass__card-img {
  transform: scale(1.06);
}

.team-glass__card-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.team-glass__card-body {
  z-index: 2;
}

.team-glass__card-accent {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  width: 2.5rem;
  height: 0.25rem;
  border-radius: 9999px;
}

@keyframes team-glass-blob-morph {
  0%,
  100% {
    border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
    transform: scale(1);
  }
  50% {
    border-radius: 60% 40% 50% 50% / 40% 60% 45% 55%;
    transform: scale(1.05);
  }
}

@keyframes team-glass-glow-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.45;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: 1;
  }
}

@keyframes team-glass-mesh-shift {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-glass__blob,
  .team-glass__glow,
  .team-glass__mesh,
  .team-glass__wire-layer,
  .team-glass__card,
  .team-glass__card-img {
    animation: none;
    transition: none;
  }

  .team-glass__card:hover {
    transform: none;
  }
}

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


.rally-beacon__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.rally-beacon__inner {
    max-width: 56rem;
}

@keyframes rally-beacon-pin-blink-cycle {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.rally-beacon__pin--blink {
    animation: rally-beacon-pin-blink-cycle 2s cubic-bezier(.4,0,.6,1) infinite;
}

.rally-beacon__action--lift:hover { transform: scale(1.05); transition: transform .2s ease; }

@keyframes rally-beacon-action-hop-cycle {
    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); }
}
.rally-beacon__action--hop {
    animation: rally-beacon-action-hop-cycle 1s infinite;
}

