/* intro v25 — Sagmeister ticket: corner patch, spiral binding, ticket perforation, square thumb */

/* Corner accent patch → triangle */
.intro-tkt__patch {
    width: 10rem;
    height: 10rem;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    opacity: 0.9;
}
.intro-tkt__spiral { height: 1rem; }
.intro-tkt__body { min-width: 0; }
.intro-tkt__close { width: 2rem; height: 2rem; }

/* Torn notebook spiral binding holes (colour from Tailwind text-*, holes via mask) */
.intro-tkt__spiral {
    -webkit-mask: radial-gradient(circle 5px at center, black 98%, transparent 100%) 0 0 / 30px 100%;
    mask: radial-gradient(circle 5px at center, black 98%, transparent 100%) 0 0 / 30px 100%;
    background: currentColor;
    opacity: 0.5;
}

/* Square cropped thumbnail */
.intro-tkt__thumb {
    width: 6rem;
    height: 6rem;
    object-fit: cover;
}

/* Ticket stub perforation (currentColor from the card text) */
.intro-tkt__ticket { transition: box-shadow 240ms ease; }
.intro-tkt__ticket::after {
    content: "";
    position: absolute;
    top: 0.75rem;
    bottom: 0.75rem;
    left: 7.5rem;
    border-left: 2px dashed currentColor;
    opacity: 0.25;
    pointer-events: none;
}
@media (max-width: 575.98px) {
    .intro-tkt__ticket::after { display: none; }
}

.values-hub-glow {
    width: min(100%, 42rem);
    height: 16rem;
    filter: blur(3rem);
}

.values-hub-sq-10 {
    width: 2.5rem;
    height: 2.5rem;
}

.values-hub-sq-11 {
    width: 2.75rem;
    height: 2.75rem;
}

.values-hub-spotlight {
    min-height: 12rem;
}

.values-hub-spotlight__rings {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 22rem;
    height: 22rem;
    max-width: 90vw;
    max-height: 90vw;
    pointer-events: none;
}

.values-hub-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--bs-primary, #0d6efd) 22%, transparent);
    pointer-events: none;
}

.values-hub-ring--a {
    width: 100%;
    height: 100%;
    opacity: 0.45;
}

.values-hub-ring--b {
    width: 72%;
    height: 72%;
    border-style: dashed;
    opacity: 0.35;
}

.values-hub-core-logo :is(img, svg) {
    max-height: 2.75rem;
    width: auto;
}

.values-hub-core-bs {
    min-height: 11rem;
    max-width: 13rem;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--bs-body-bg, #fff) 92%, var(--bs-primary, #0d6efd) 8%),
        var(--bs-body-bg, #fff)
    );
}

.values-hub-card-bs {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.values-hub-card-bs:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--bs-box-shadow);
    border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.35) !important;
}

/* values-storybook — zigzag alternation, organic blob shapes, hover motion */
/* Layout/transform/animation only — no colors here, theme colors applied via tw: */

@media (min-width: 768px) {
    .values-storybook__item:nth-child(even) {
        flex-direction: row-reverse;
    }
}

.values-storybook__blob-wrap {
    width: 8rem;
    height: 8rem;
    transition: transform 250ms ease;
}

@media (min-width: 640px) {
    .values-storybook__blob-wrap {
        width: 10rem;
        height: 10rem;
    }
}

.values-storybook__item:hover .values-storybook__blob-wrap {
    transform: scale(1.06);
}

.values-storybook__blob {
    position: absolute;
    inset: 0;
    border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
}

.values-storybook__item:nth-child(even) .values-storybook__blob {
    border-radius: 58% 42% 37% 63% / 59% 56% 44% 41%;
}

.values-storybook__list {
    transition: transform 200ms ease;
}

/* team v19 — masonry with corner dots */
.team-masonry__media {
  height: 16rem;
}

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

.team-masonry__card-accent {
  width: 0.25rem;
  z-index: 1;
}

.team-masonry__decor {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
}

.team-masonry__decor--top-left {
  top: -40px;
  left: -40px;
  background-color: currentColor;
}

.team-masonry__decor--bottom-right {
  bottom: -40px;
  right: -40px;
  background-color: currentColor;
}

@media (max-width: 768px) {
  .team-masonry__decor {
    width: 80px;
    height: 80px;
  }
}

/* cta v39 — pocket phone mock: sizes, bar growth, toast slide-in (no colors) */
.cta-pocket__stage { min-height: 36rem; align-items: center; }
.cta-pocket__halo { width: 26rem; height: 26rem; max-width: 100%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.cta-pocket__phone { width: 18.5rem; max-width: 100%; height: 36rem; border-radius: 2.75rem; z-index: 1; opacity: 0; transform: translateY(2rem) rotate(-2deg); transition: opacity 700ms ease, transform 900ms cubic-bezier(.2, .8, .2, 1); }
[data-pocket].is-visible .cta-pocket__phone { opacity: 1; transform: none; }
.cta-pocket__notch { width: 6rem; height: 1.25rem; transform: translateX(-50%); }
.cta-pocket__tick { width: 1.5rem; height: 1.5rem; margin-top: .125rem; font-size: .75rem; }
.cta-pocket__micro { font-size: .75rem; line-height: 1.1rem; }
.cta-pocket__tiny { font-size: .625rem; line-height: .875rem; }
.cta-pocket__grow { min-width: 0; }
/* phone mock text keeps its small size in both frameworks and never pushes out of the frame */
.cta-pocket__phone .cta-pocket__micro { font-size: .75rem !important; line-height: 1.1rem !important; overflow-wrap: anywhere; }
.cta-pocket__phone .cta-pocket__tiny { font-size: .625rem !important; line-height: .875rem !important; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cta-pocket__bars > * { min-width: 0; }
.cta-pocket__ico { width: 2rem; height: 2rem; }

.cta-pocket__bars { height: 8.5rem; }
.cta-pocket__bar { display: block; height: 0; min-height: .25rem; transition: height 900ms cubic-bezier(.2, .8, .2, 1); }

.cta-pocket__toast { opacity: 0; transform: translateX(110%); transition: opacity 450ms ease, transform 550ms cubic-bezier(.2, .8, .2, 1); }
.cta-pocket__toast.is-in { opacity: 1; transform: none; }

.cta-pocket__chip { z-index: 2; left: -.5rem !important; bottom: 4rem !important; animation: cta-pocket-bob 5s ease-in-out infinite; }
@media (min-width: 992px) { .cta-pocket__chip { left: -1.5rem !important; } }

@keyframes cta-pocket-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.5rem; } }

@media (prefers-reduced-motion: reduce) {
    .cta-pocket__phone, .cta-pocket__bar, .cta-pocket__toast { transition: none; }
    .cta-pocket__phone, .cta-pocket__toast { opacity: 1; transform: none; }
    .cta-pocket__chip { animation: none; }
}

/* wpg-hidden: utility classes are renamed in production builds, so hidden states must not rely on .hidden / .d-none alone */
.cta-pocket[hidden], .cta-pocket [hidden], .cta-pocket .hidden.d-none { display: none !important; }

