/* intro v17 — Death Note noir: circuit band, pulse rings, extrude text, duotone media, scroll slide-in */

/* Circuit-board traces — colour via Tailwind text-* on the band, currentColor in the pattern */
.intro-noir__circuit {
    background-image:
        repeating-linear-gradient(0deg, currentColor 0 1px, transparent 1px 32px),
        repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 32px);
    opacity: 0.18;
    -webkit-mask: linear-gradient(180deg, black, transparent);
    mask: linear-gradient(180deg, black, transparent);
}

/* Pulse rings from the band centre (size + placement so Bootstrap has no utility gap) */
.intro-noir__ring {
    width: 6rem;
    height: 6rem;
    top: 6rem;
    left: 50%;
    margin-left: -3rem;
    opacity: 0;
    animation: intro-noir-pulse 3.4s ease-out infinite;
}
.intro-noir__ring--2 { animation-delay: 1.7s; }

@keyframes intro-noir-pulse {
    0%   { transform: scale(0.4); opacity: 0.55; }
    100% { transform: scale(3.4); opacity: 0; }
}

/* Emboss seal circle */
.intro-noir__seal {
    width: 7rem;
    height: 7rem;
    font-size: 0.75rem;
    line-height: 1.1;
    padding: 0.75rem;
    transform: rotate(-8deg);
}

/* Extrude — stacked text-shadow depth using the element's own colour */
.intro-noir__extrude {
    text-shadow: 1px 1px 0 currentColor, 2px 2px 0 currentColor, 3px 3px 0 currentColor;
}

/* Duotone media: grayscale image + primary multiply tint (colour is a Tailwind class) */
.intro-noir__img {
    height: 10rem;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05);
}

/* Sticky aside offset (Bootstrap position-sticky has no top-16 utility) */
@media (min-width: 992px) {
    .intro-noir__aside { top: 4rem; }
}
.intro-noir__tint {
    mix-blend-mode: multiply;
    opacity: 0.5;
}

/* Letter-spacing widen on hover */
.intro-noir__ttl { transition: letter-spacing 260ms ease; }
[data-card]:hover .intro-noir__ttl { letter-spacing: 0.08em; }

/* Slide-in entrance — pure CSS on the reliable [data-card] attribute; always ends visible */
@keyframes intro-noir-rise {
    from { opacity: 0; transform: translateY(2rem); }
    to   { opacity: 1; transform: translateY(0); }
}
.intro-noir [data-card] { animation: intro-noir-rise 560ms ease both; }

@media (prefers-reduced-motion: reduce) {
    .intro-noir__ring { animation: none; }
    .intro-noir [data-card] { animation: none; }
}

.memo-number-hover,
.memo-box-hover,
.memo-cta-shadow,
.memo-cta-hover {
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.memo-title-rule {
    border-bottom: 4px solid var(--bs-primary);
}

.memo-principle-rule {
    border-top: 2px solid rgba(var(--bs-emphasis-color-rgb), 0.2);
}

.memo-principle-group:hover .memo-number-hover {
    color: var(--bs-primary) !important;
}

.memo-principle-group:hover .memo-box-hover {
    border-top-color: rgba(var(--bs-primary-rgb), 0.4) !important;
}

.memo-cta-shadow {
    transform: translate(0.375rem, 0.375rem);
}

.memo-cta-group:hover .memo-cta-shadow {
    transform: translate(0, 0);
}

.memo-cta-hover:hover {
    background-color: var(--bs-accent, rgb(var(--tw-accent-600, 37 99 235) / 1)) !important;
    color: #fff !important;
    border-color: var(--bs-accent, rgb(var(--tw-accent-700, 29 78 216) / 1)) !important;
}

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

@keyframes notion-table-timeline__row-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.notion-table-timeline__row-visible {
    animation: notion-table-timeline__row-in 0.3s ease forwards;
}

.notion-table-timeline__decor-corner {
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    width: 8rem;
    height: 8rem;
}

.notion-table-timeline__cell-width {
    max-width: 24rem;
}

.notion-table-timeline__line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

