/* intro v18 — Emigre clay: blurred photo, ECG draw, typewriter caret */

/* Blurred background photo, sharp panel sits over it */
.intro-clay [data-photo] {
    width: 66%;
    aspect-ratio: 4 / 3;
}
.intro-clay__img {
    object-fit: cover;
    filter: blur(5px) saturate(1.05);
    transform: scale(1.06);
}

/* Heartbeat / ECG line draw (stroke colour = currentColor from Tailwind text-*) */
.intro-clay__ecg-path {
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: intro-clay-ecg 4s linear infinite;
}
@keyframes intro-clay-ecg {
    0%   { stroke-dashoffset: 1400; }
    60%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -1400; }
}

/* Typewriter caret while typing */
.intro-clay__type .is-typing {
    border-right: 2px solid currentColor;
    animation: intro-clay-caret 800ms step-end infinite;
}
@keyframes intro-clay-caret {
    50% { border-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .intro-clay__ecg-path { animation: none; stroke-dashoffset: 0; }
}

.portrait-grid-min-h { min-height: 37.5rem; }

.portrait-sq-10 { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }

.classic-rail-timeline__line {
    width: 2px;
    left: 2rem;
}

@media (min-width: 768px) {
    .classic-rail-timeline__line {
        left: 50%;
        transform: translateX(-50%);
    }
}

.classic-rail-timeline__dot {
    width: 1rem;
    height: 1rem;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 768px) {
    .classic-rail-timeline__dot {
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.classic-rail-timeline__content {
    margin-left: 5rem;
}

@media (min-width: 768px) {
    .classic-rail-timeline__content {
        margin-left: 0;
        width: 50%;
    }

    .classic-rail-timeline__content--start {
        padding-right: 2.5rem;
    }

    .classic-rail-timeline__content--end {
        padding-left: 2.5rem;
    }

    .classic-rail-timeline__row--reverse {
        flex-direction: row-reverse;
    }
}

.values-simple__thumb {
    width: 5rem;
    height: 5rem;
}

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

.rail-three-quote-split__portrait {
    width: 4rem;
    height: 4rem;
}

.rail-three-quote-split__col {
    padding-bottom: 1.5rem;
}

.rail-three-quote-split__col:last-child {
    padding-bottom: 0;
}

@media (min-width: 768px) {
    .rail-three-quote-split__col {
        padding-bottom: 0;
    }
}

