/* halo-crest — layout, sizes, motion only (colours live in the template) */

.halo-crest__glow {
    width: 60rem;
    height: 36rem;
    transform: translate(-50%, -30%);
    filter: blur(100px);
}

.halo-crest__haze {
    width: 70rem;
    height: 22rem;
    transform: translate(-50%, 55%);
    filter: blur(110px);
}

.halo-crest__title {
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.halo-crest__eyebrow {
    letter-spacing: 0.18em;
}

/* --- arc + bubbles --- */

.halo-crest__orbit {
    left: 50%;
    bottom: 6.5rem;
    width: 32.5rem;
    height: 32.5rem;
    transform: translateX(-50%);
}

.halo-crest__stage {
    height: 13rem;
}

/* mobile: keep only the lower half of the ring so it never crosses the copy */
.halo-crest__ring {
    clip-path: inset(50% 0 0 0);
}

.halo-crest__slot {
    width: 3.5rem;
    height: 3.5rem;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 100%;
}

/* positions on a radius of 55.5% of the orbit box (fixed angles, pre-computed) */
.halo-crest__slot--1  { left: 8.76%;   top: 87.14%; }
.halo-crest__slot--2  { left: 18.17%;  top: 95.46%; }
.halo-crest__slot--3  { left: 30.11%;  top: 101.81%; }
.halo-crest__slot--4  { left: 44.20%;  top: 105.20%; }
.halo-crest__slot--5  { left: 60.59%;  top: 104.48%; }
.halo-crest__slot--6  { left: 75.20%;  top: 99.45%; }
.halo-crest__slot--7  { left: 87.14%;  top: 91.24%; }
.halo-crest__slot--8  { left: 96.01%;  top: 81.04%; }
.halo-crest__slot--9  { left: 0.12%;   top: 74.33%; }
.halo-crest__slot--10 { left: 102.15%; top: 68.98%; }

.halo-crest__slot--9,
.halo-crest__slot--10 {
    display: none;
}

.halo-crest__glyph {
    font-size: 1.25rem;
    line-height: 1;
}

.halo-crest__bubble {
    animation: halo-crest-bob 6s ease-in-out infinite;
    will-change: transform;
}

.halo-crest__bubble--1  { animation-delay: 0s; }
.halo-crest__bubble--2  { animation-delay: -1.2s; }
.halo-crest__bubble--3  { animation-delay: -2.4s; }
.halo-crest__bubble--4  { animation-delay: -3.6s; }
.halo-crest__bubble--5  { animation-delay: -4.8s; }
.halo-crest__bubble--6  { animation-delay: -0.6s; }
.halo-crest__bubble--7  { animation-delay: -1.8s; }
.halo-crest__bubble--8  { animation-delay: -3s; }
.halo-crest__bubble--9  { animation-delay: -4.2s; }
.halo-crest__bubble--10 { animation-delay: -5.4s; }

@keyframes halo-crest-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-0.6rem); }
}

@media (min-width: 768px) {
    .halo-crest__orbit {
        bottom: 8rem;
        width: 62rem;
        height: 62rem;
    }

    .halo-crest__stage {
        height: 20rem;
    }

    .halo-crest__ring {
        clip-path: none;
    }

    .halo-crest__slot {
        width: 4.75rem;
        height: 4.75rem;
    }

    .halo-crest__slot--9,
    .halo-crest__slot--10 {
        display: block;
    }

    .halo-crest__glyph {
        font-size: 1.6rem;
    }
}

@media (min-width: 1024px) {
    .halo-crest__orbit {
        bottom: 9rem;
        width: min(87.5rem, 97vw);
        height: min(87.5rem, 97vw);
    }

    .halo-crest__stage {
        height: 24rem;
    }

    .halo-crest__slot {
        width: 6rem;
        height: 6rem;
    }

    .halo-crest__glyph {
        font-size: 2rem;
    }
}

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

/* our-philosophy — creed folio: editorial column + stacked word cards */
.creed-folio__eyebrow {
    letter-spacing: 0.18em;
}

.creed-folio__heading {
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.creed-folio__rule {
    height: 0.2rem;
    width: 100%;
}

.creed-folio__stage {
    padding: 1.25rem;
}

.creed-folio__card {
    padding: 1.15rem;
}

.creed-folio__caption {
    font-size: 0.75rem;
    line-height: 1rem;
}

.creed-folio__avatar {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
}

.creed-folio__chip {
    font-size: 0.7rem;
    line-height: 1;
}

.creed-folio__tick {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.625rem;
}

@keyframes git-log-timeline__blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.git-log-timeline__cursor {
    animation: git-log-timeline__blink 1s step-end infinite;
}

.git-log-timeline__accent-line {
    width: 4px;
}

.git-log-timeline__dot {
    width: 0.75rem;
    height: 0.75rem;
}

.git-log-timeline__date-width {
    width: 5rem;
}

.git-log-timeline__min-shrink {
  min-width: 0;
}

/* team v27 — alternating rows + morphing decor shapes */
.team-zigzag__scene {
  overflow: hidden;
}

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

.team-zigzag__morph--a {
  animation-duration: 9s;
}

.team-zigzag__morph--b {
  animation-duration: 12s;
  animation-delay: 1.5s;
}

.team-zigzag__morph--c {
  animation-duration: 10s;
  animation-delay: 3s;
}

.team-zigzag__morph--d {
  animation-duration: 13s;
  animation-delay: 0.5s;
}

.team-zigzag__morph--e {
  animation-duration: 14s;
  animation-delay: 2s;
}

@keyframes team-zigzag-morph {
  0%,
  100% {
    border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
    transform: scale(1) rotate(0deg);
  }
  33% {
    border-radius: 65% 35% 45% 55% / 42% 58% 38% 62%;
    transform: scale(1.06) rotate(4deg);
  }
  66% {
    border-radius: 52% 48% 62% 38% / 58% 42% 55% 45%;
    transform: scale(0.94) rotate(-3deg);
  }
}

/* Ambient layer — spin, float, pulse (distinct from morph blobs) */
.team-zigzag__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.team-zigzag__orbit {
  transform-origin: center center;
  animation: team-zigzag-orbit-spin 22s linear infinite;
}

.team-zigzag__orbit--rev {
  animation-direction: reverse;
  animation-duration: 30s;
}

.team-zigzag__orbit--lg {
  width: 11rem;
  height: 11rem;
  animation-duration: 26s;
}

.team-zigzag__orbit--sm {
  width: 7rem;
  height: 7rem;
}

.team-zigzag__spark {
  animation: team-zigzag-spark-float 5.5s ease-in-out infinite;
}

.team-zigzag__spark--b {
  animation-delay: 0.8s;
  animation-duration: 4.5s;
}

.team-zigzag__spark--c {
  animation-delay: 1.6s;
  animation-duration: 6s;
}

.team-zigzag__prism {
  width: 2.5rem;
  height: 2.5rem;
  transform-origin: center center;
  animation: team-zigzag-prism-pulse 7s ease-in-out infinite;
}

.team-zigzag__sweep {
  transform-origin: center center;
  width: 8rem;
  height: 2px;
  animation: team-zigzag-sweep-drift 9s ease-in-out infinite;
}

.team-zigzag__sweep--alt {
  width: 6rem;
  animation-delay: 2s;
  animation-duration: 11s;
}

@keyframes team-zigzag-orbit-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes team-zigzag-spark-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.45;
  }
  50% {
    transform: translateY(-0.75rem) scale(1.35);
    opacity: 1;
  }
}

@keyframes team-zigzag-prism-pulse {
  0%,
  100% {
    transform: rotate(45deg) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: rotate(52deg) scale(1.2);
    opacity: 0.85;
  }
}

@keyframes team-zigzag-sweep-drift {
  0%,
  100% {
    transform: rotate(-14deg) translateX(-0.5rem) scaleX(0.8);
    opacity: 0.2;
  }
  50% {
    transform: rotate(6deg) translateX(0.75rem) scaleX(1.15);
    opacity: 0.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-zigzag__morph,
  .team-zigzag__orbit,
  .team-zigzag__spark,
  .team-zigzag__prism,
  .team-zigzag__sweep {
    animation: none;
  }
}

.team-zigzag__portrait {
  width: 5.5rem;
  height: 5.5rem;
}

.team-zigzag__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.team-zigzag__min-shrink {
  min-width: 0;
}

/* values datatable v18 - grid layout only, no colors */
.values-datatable__row {
    display: grid;
    width: 100%;
    grid-template-columns: auto 1fr auto;
    column-gap: 1rem;
    row-gap: 0.75rem;
    align-items: start;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .values-datatable__row {
        grid-template-columns: 3rem 10rem 1fr 5rem;
        column-gap: 1.5rem;
        row-gap: 0;
    }
}

.values-datatable__num {
    grid-column: 1;
}

.values-datatable__title {
    grid-column: 2;
    margin: 0;
}

.values-datatable__desc {
    grid-column: 1 / -1;
    margin: 0;
    min-width: 0;
}

.values-datatable__rank {
    grid-column: 1 / -1;
    justify-self: start;
}

@media (min-width: 640px) {
    .values-datatable__desc {
        grid-column: 3;
    }

    .values-datatable__rank {
        grid-column: 4;
        justify-self: end;
    }
}


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

.motion-beacon__inner {
    max-width: 64rem;
}

.motion-beacon__plaque--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

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

.motion-beacon__appeal--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

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

.motion-beacon__tile--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

.motion-beacon__radial-row-bs {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

.motion-beacon__radial-row-bs > .motion-beacon__plaque--shift {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .motion-beacon__radial-row-bs > .motion-beacon__plaque--shift {
        flex: 1 1 calc((100% - (var(--motion-beacon-radial-cols, 3) - 1) * 1.5rem) / var(--motion-beacon-radial-cols, 3));
        max-width: calc((100% - (var(--motion-beacon-radial-cols, 3) - 1) * 1.5rem) / var(--motion-beacon-radial-cols, 3));
    }
}

