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

.services-columns__serif,
[data-serif] {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.services-columns__list {
    columns: 1;
    margin: 0;
}
@media (min-width: 768px) {
    .services-columns__list {
        columns: 2;
        column-gap: 2.5rem;
    }
}

.services-columns__group {
    break-inside: avoid;
    margin-bottom: 2rem;
}

.services-columns__accent {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 2px;
    background-color: currentColor;
}

/* v25 - chat bubble speech tail (border-triangle trick has no TW/BS utility) */
[data-chat-bubble] {
    position: relative;
}

/* fixed max-widths matching the TW max-w-3xl / max-w-2xl utilities (no BS equivalent) */
.dialogue-thread__wrap {
    max-width: 48rem;
}

.dialogue-thread__subtitle-max {
    max-width: 42rem;
}

/* fixed avatar size matching TW w-8 h-8 (no BS utility beyond 25/50/75/100%) */
.dialogue-thread__avatar {
    width: 2rem;
    height: 2rem;
}

/* fixed bubble max-width matching TW max-w-md (no BS equivalent) */
.dialogue-thread__bubble {
    max-width: 28rem;
}

[data-bubble-side="left"] [data-chat-bubble]::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    left: -0.5rem;
    width: 0;
    height: 0;
    border-top: 0.5rem solid transparent;
    border-bottom: 0.5rem solid transparent;
    border-right: 0.5rem solid currentColor;
    color: inherit;
    opacity: 0.15;
}

[data-bubble-side="right"] [data-chat-bubble]::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    right: -0.5rem;
    width: 0;
    height: 0;
    border-top: 0.5rem solid transparent;
    border-bottom: 0.5rem solid transparent;
    border-left: 0.5rem solid currentColor;
    color: inherit;
    opacity: 0.15;
}

@keyframes perks-stats-stack-rotate-kf {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.perks-stats-stack__square {
    animation: perks-stats-stack-rotate-kf 30s linear infinite;
}

.perks-stats-stack__square--slow {
    animation-duration: 36s;
}

.perks-stats-stack__feat-thumb {
    width: 2rem;
    height: 2rem;
}

.perks-stats-stack__row-thumb {
    width: 3rem;
    height: 3rem;
}

.perks-stats-stack__feat,
.perks-stats-stack__row {
    transition: transform 0.2s ease;
}

@media (min-width: 640px) {
    .perks-stats-stack__feat:hover {
        transform: scale(1.05);
    }

    .perks-stats-stack__row:hover {
        transform: scale(1.05);
    }
}

/* faq wiki-nav — layout + motion (no colors) */
.faq-wiki-nav__aside {
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .faq-wiki-nav__aside {
    width: 15rem;
  }
}

.faq-wiki-nav__layout {
  min-width: 0;
}

.faq-wiki-nav__menu-body {
  min-width: 0;
}

.faq-wiki-nav__main {
  flex: 1 1 0%;
  min-width: 0;
}

.faq-wiki-nav__menu-item {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  cursor: pointer;
  outline-offset: -2px;
}

.faq-wiki-nav__panel--active {
  display: block;
}

.faq-wiki-nav__reveal-item {
  opacity: 0;
  transform: translate3d(-1.25rem, 0, 0);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-wiki-nav__reveal-item--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.faq-wiki-nav__reveal-item:nth-child(1) {
  transition-delay: 0.05s;
}

.faq-wiki-nav__reveal-item:nth-child(2) {
  transition-delay: 0.12s;
}

.faq-wiki-nav__reveal-item:nth-child(3) {
  transition-delay: 0.19s;
}

.faq-wiki-nav__reveal-item:nth-child(4) {
  transition-delay: 0.26s;
}

.faq-wiki-nav__reveal-item:nth-child(5) {
  transition-delay: 0.33s;
}

.faq-wiki-nav__reveal-main {
  opacity: 0;
  transform: translate3d(1.5rem, 0, 0);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.15s;
}

.faq-wiki-nav__reveal-main--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.faq-wiki-nav__panel--enter .faq-wiki-nav__panel-inner {
  animation: faq-wiki-nav-panel-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes faq-wiki-nav-panel-in {
  from {
    opacity: 0;
    transform: translate3d(0, 1rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-wiki-nav__reveal-item,
  .faq-wiki-nav__reveal-main {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .faq-wiki-nav__reveal-item:nth-child(n) {
    transition-delay: 0s;
  }

  .faq-wiki-nav__panel--enter .faq-wiki-nav__panel-inner {
    animation: none;
  }
}


.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));
    }
}

