.hero-diag-panel {
    width: 60%;
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}

.hero-v29-kicker {
    letter-spacing: 0.2em;
}

.hero-v29-meta {
    letter-spacing: 0.08em;
}

.hero-v29-figure {
    max-width: 20rem;
}

/* -- Button hover states -- */
.hero-btn-primary {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.hero-btn-primary:hover,
.hero-btn-primary:focus {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.hero-btn-outline-secondary {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-secondary:hover,
.hero-btn-outline-secondary:focus {
    background-color: var(--bs-secondary) !important;
    color: #fff !important;
    border-color: var(--bs-secondary) !important;
    transform: translateY(-1px);
}

.hero-btn-outline-primary-light {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-primary-light:hover,
.hero-btn-outline-primary-light:focus {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
    transform: translateY(-1px);
}
.insight-orb-one {
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    filter: blur(3rem);
}

.insight-orb-two {
    bottom: 0;
    left: 0;
    width: 20rem;
    height: 20rem;
    filter: blur(3rem);
}

.insight-orb-three {
    top: 50%;
    left: 50%;
    width: 18rem;
    height: 18rem;
    transform: translate(-50%, -50%);
    filter: blur(2rem);
}

.insight-block-one {
    top: 5rem;
    right: 2.5rem;
    width: 6rem;
    height: 6rem;
    transform: rotate(12deg);
}

.insight-block-two {
    top: 10rem;
    left: 2.5rem;
    width: 4rem;
    height: 4rem;
    transform: rotate(-12deg);
}

.insight-block-three {
    right: 5rem;
    bottom: 8rem;
    width: 5rem;
    height: 5rem;
    transform: rotate(45deg);
}

.insight-block-four {
    bottom: 5rem;
    left: 5rem;
    width: 7rem;
    height: 7rem;
    transform: rotate(-6deg);
}

.insight-block-five {
    top: 33.333333%;
    right: 25%;
    width: 3rem;
    height: 3rem;
    transform: rotate(12deg);
}

.insight-title-block-one {
    top: -1rem;
    left: -2rem;
    width: 2rem;
    height: 2rem;
    transform: rotate(12deg);
}

.insight-title-block-two {
    top: -0.5rem;
    right: -2.5rem;
    width: 1.5rem;
    height: 1.5rem;
    transform: rotate(-12deg);
}

.insight-title-block-three {
    bottom: -1rem;
    left: 25%;
    width: 2.5rem;
    height: 2.5rem;
    transform: rotate(45deg);
}

.insight-title-block-four {
    right: 25%;
    bottom: -0.5rem;
    width: 2rem;
    height: 2rem;
    transform: rotate(-6deg);
}

.insight-title-accent {
    bottom: 0;
    left: 50%;
    width: 8rem;
    height: 0.5rem;
    transform: translateX(-50%);
}

.insight-section-knot {
    top: 50%;
    left: -1.5rem;
    width: 1rem;
    height: 1rem;
    transform: translateY(-50%) rotate(12deg);
}

.insight-section-underline {
    bottom: -0.5rem;
    left: 0;
    width: 5rem;
    height: 0.375rem;
}

/* values v13 — accordion chevron rotation, CSS-only via details[open] */
.values-notion-stack__chevron {
    transition: transform 200ms ease;
}

details.values-notion-stack__summary,
details > .values-notion-stack__summary {
    /* no-op selector kept for clarity; actual toggle target is the chevron below */
}

details[open] > .values-notion-stack__summary .values-notion-stack__chevron,
details[open] .values-notion-stack__chevron {
    transform: rotate(180deg);
}

.values-notion-stack__summary {
    -webkit-tap-highlight-color: transparent;
}

.values-notion-stack__summary::-webkit-details-marker {
    display: none;
}

.values-notion-stack__idx {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: 0.05em;
}

.values-notion-stack__index-num {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.mosaic-panel-photo__frame {
    height: 16rem;
}

.mosaic-panel-photo__min-shrink {
  min-width: 0;
}

/* whyus v18 — overlap-duo cardless benefits table, mountain motif, art-deco ornament */

/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.whyus-summit {
    isolation: isolate;
    min-height: 100vh;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.mxw-xl {
    max-width: 36rem !important;
}

.whyus-summit__wrap {
    padding-inline: 1.5rem;
}

.whyus-summit__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 2.5rem;
}

.whyus-summit__title {
    font-size: 1.875rem;
}

.whyus-summit__badge {
    font-size: 0.75rem;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    letter-spacing: 0.025em;
}

.whyus-summit__table {
    margin-top: 2rem;
    border-collapse: collapse;
}

.whyus-summit__th {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.025em;
}

.whyus-summit__cell {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.whyus-summit__cell--icon,
.whyus-summit__cell--title {
    padding-inline-end: 1rem;
}

.whyus-summit__cell--icon {
    width: 3rem;
}

.whyus-summit__row-title {
    transition: letter-spacing 150ms ease;
}

.whyus-summit__row-title:hover {
    letter-spacing: 0.025em;
}

.whyus-summit__foot {
    padding-top: 2rem;
}

.whyus-summit__cta {
    padding: 0.75rem 1.5rem;
    transition: transform 150ms ease;
}

.whyus-summit__cta--hover:hover {
    transform: scale(1.05);
}

/* ---------- overlap-duo illustration block ---------- */
.whyus-summit__media {
    margin: 0;
    aspect-ratio: 4 / 5;
    min-height: 20rem;
}

@media (min-width: 1024px) {
    .whyus-summit__media {
        aspect-ratio: 3 / 4;
    }
}

/* flat mountain-range silhouette clipped into the top edge of the illustration */
.whyus-summit__mountain {
    clip-path: polygon(
        0% 18%, 12% 9%, 22% 16%, 34% 4%, 46% 14%, 58% 6%,
        70% 15%, 82% 8%, 100% 17%, 100% 100%, 0% 100%
    );
}

.whyus-summit__caption {
    max-width: 80%;
    bottom: 1.5rem;
    inset-inline-start: 1.5rem;
    letter-spacing: 0.1em;
}

.whyus-summit__media-overlay {
    --bs-bg-opacity: 0.4;
}

/* ---------- bordered text/table panel ---------- */
.whyus-summit__border-frame {
    overflow: hidden;
    padding: 2rem;
    --bs-bg-opacity: 0.95;
    backdrop-filter: blur(12px);
}

/* animated shimmering border overlay — color comes from the Tailwind gradient
   classes in the template; this rule only animates position/opacity */
.whyus-summit__shimmer {
    background-size: 220% 100%;
    background-position: 0% 0%;
    animation: whyus-summit-shimmer 7s linear infinite;
    animation-delay: 0.6s;
}

@keyframes whyus-summit-shimmer {
    0% {
        background-position: 0% 0%;
        opacity: 0.2;
    }
    50% {
        background-position: 100% 0%;
        opacity: 0.4;
    }
    100% {
        background-position: 220% 0%;
        opacity: 0.2;
    }
}

/* content-first reveal: heading/subtitle/table animate immediately,
   decorative elements (fireflies, chevrons, sunburst) animate slightly after */
.whyus-summit__anim-content {
    animation: whyus-summit-fade-up 0.7s ease-out both;
}

@keyframes whyus-summit-fade-up {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- art-deco geometric ornament ---------- */
.whyus-summit__sunburst {
    --bs-text-opacity: 0.1;
    top: -4rem;
    right: -4rem;
    width: 22rem;
    height: 22rem;
    animation: whyus-summit-fade-up 1s ease-out both;
    animation-delay: 0.5s;
}

.whyus-summit__chevron {
    --bs-bg-opacity: 0.2;
    width: 3.5rem;
    height: 1.25rem;
    clip-path: polygon(0% 0%, 50% 100%, 100% 0%, 100% 40%, 50% 100%, 0% 40%);
    animation: whyus-summit-fade-up 1s ease-out both;
    animation-delay: 0.55s;
}

.whyus-summit__chevron--top {
    top: 1.5rem;
    left: 2rem;
}

.whyus-summit__chevron--bottom {
    bottom: 1.5rem;
    right: 2rem;
    transform: rotate(180deg);
}

/* ---------- fireflies: soft blinking, drifting dots ---------- */
.whyus-summit__fireflies {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.whyus-summit__firefly {
    width: 0.5rem;
    height: 0.5rem;
    --bs-bg-opacity: 0.7;
    filter: blur(4px);
    animation-name: whyus-summit-firefly;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-delay: 0.8s;
}

.whyus-summit__firefly--1 { top: 12%; left: 8%; width: 0.375rem; height: 0.375rem; animation-duration: 5.5s; animation-delay: 0.8s; }
.whyus-summit__firefly--2 { top: 28%; left: 42%; width: 0.5rem; height: 0.5rem; animation-duration: 6.5s; animation-delay: 1.4s; }
.whyus-summit__firefly--3 { top: 62%; left: 18%; width: 0.3125rem; height: 0.3125rem; animation-duration: 7s; animation-delay: 1s; }
.whyus-summit__firefly--4 { top: 74%; left: 55%; width: 0.5rem; height: 0.5rem; animation-duration: 5.8s; animation-delay: 1.8s; }
.whyus-summit__firefly--5 { top: 20%; left: 82%; width: 0.375rem; height: 0.375rem; animation-duration: 6.2s; animation-delay: 1.2s; }
.whyus-summit__firefly--6 { top: 85%; left: 88%; width: 0.4375rem; height: 0.4375rem; animation-duration: 6.8s; animation-delay: 2s; }

@keyframes whyus-summit-firefly {
    0%, 100% {
        opacity: 0.15;
        transform: translate(0, 0);
    }
    35% {
        opacity: 0.85;
        transform: translate(0.4rem, -0.6rem);
    }
    65% {
        opacity: 0.4;
        transform: translate(-0.3rem, 0.3rem);
    }
}

/* ---------- checkbox-hack view toggle (CSS-only, no script.js) ---------- */
.whyus-summit__toggle-btn {
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 200ms ease;
}

.whyus-summit__toggle-btn--list {
    opacity: 1;
}

.whyus-summit__toggle-input:checked ~ .whyus-summit__toggle .whyus-summit__toggle-btn--list {
    opacity: 0.55;
}

.whyus-summit__toggle-input:checked ~ .whyus-summit__toggle .whyus-summit__toggle-btn--grid {
    opacity: 1;
}

/* default (unchecked) = list-like single-column flow: the table renders as normal rows */

/* checked = grid-like compact 2-column arrangement */
.whyus-summit__toggle-input:checked ~ .whyus-summit__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.whyus-summit__toggle-input:checked ~ .whyus-summit__table tbody {
    display: block;
    column-count: 2;
    column-gap: 2rem;
}

.whyus-summit__toggle-input:checked ~ .whyus-summit__table tr.whyus-summit__row {
    display: block;
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

.whyus-summit__toggle-input:checked ~ .whyus-summit__table tr.whyus-summit__row td {
    display: block;
    width: 100%;
    padding-right: 0;
}

.whyus-summit__toggle-input:checked ~ .whyus-summit__table tfoot {
    column-span: all;
}

@media (max-width: 639px) {
    .whyus-summit__toggle-input:checked ~ .whyus-summit__table tbody {
        column-count: 1;
    }
}

@media (min-width: 640px) {
    .whyus-summit__wrap {
        padding-inline: 2.5rem;
    }

    .whyus-summit__border-frame {
        padding: 2.5rem;
    }

    .whyus-summit__title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .whyus-summit__wrap {
        padding-inline: 4rem;
    }

    .whyus-summit__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .whyus-summit__media {
        margin-inline-end: -4rem;
    }

    .whyus-summit__panel {
        margin-inline-start: -4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whyus-summit__cta--hover:hover {
        transform: none;
    }
}

/* Mobile: the benefits table stacks into single-column rows (identical in both frameworks) */
@media (max-width: 767.98px) {
    .whyus-summit__table,
    .whyus-summit__table tbody,
    .whyus-summit__table tfoot,
    .whyus-summit__table tr {
        display: block;
        width: 100%;
    }

    .whyus-summit__table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .whyus-summit__cell,
    .whyus-summit__foot {
        display: block;
        width: 100%;
    }

    .whyus-summit__cell {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
        padding-inline-end: 0;
    }

    .whyus-summit__cell--icon {
        padding-top: 1.25rem;
    }

    .whyus-summit__row .whyus-summit__cell:last-child {
        padding-bottom: 1.25rem;
    }
}

.cta-services-split__marquee {
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 20%, transparent 95%);
}

.cta-services-split__marquee-inner {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: cta-services-split__marquee 28s linear infinite;
}

@keyframes cta-services-split__marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cta-services-split__cta {
  transition: filter 0.2s ease, transform 0.15s ease;
}

.cta-services-split__cta:hover,
.cta-services-split__cta:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.cta-services-split__cta:hover .cta-services-split__cta-icon,
.cta-services-split__cta:focus-visible .cta-services-split__cta-icon {
  transform: translate(2px, -2px);
}

.cta-services-split__cta-icon {
  transition: transform 0.2s ease;
}

.cta-services-split__item-hov {
  transition: border-color 0.2s ease, padding-inline-start 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .cta-services-split__marquee-inner {
    animation: none;
  }

  .cta-services-split__cta:hover,
  .cta-services-split__cta:focus-visible {
    transform: none;
  }
}

