.ribbon-flow__accent--1 { width: 8rem; height: 8rem; filter: blur(2rem); }
.ribbon-flow__accent--2 { width: 10rem; height: 10rem; filter: blur(2rem); }
.ribbon-flow__accent--3 { width: 6rem; height: 6rem; filter: blur(1.5rem); }
.ribbon-flow__accent--4 { width: 7rem; height: 7rem; filter: blur(1.5rem); }
.ribbon-flow__accent--5 { width: 9rem; height: 9rem; filter: blur(2rem); }

.ribbon-flow__line--1 { height: 0.125rem; }
.ribbon-flow__line--2 { height: 0.125rem; top: 25%; }
.ribbon-flow__line--3 { height: 0.125rem; top: 50%; }
.ribbon-flow__line--4 { height: 0.125rem; top: 75%; }
.ribbon-flow__line--5 { height: 0.125rem; }

.ribbon-flow__dot--1, .ribbon-flow__dot--2, .ribbon-flow__dot--3, .ribbon-flow__dot--4,
.ribbon-flow__dot--5, .ribbon-flow__dot--6, .ribbon-flow__dot--7, .ribbon-flow__dot--8 {
    width: 0.5rem; height: 0.5rem;
}

.ribbon-flow__dash--1, .ribbon-flow__dash--2, .ribbon-flow__dash--3, .ribbon-flow__dash--4 {
    width: 8rem; height: 0.125rem;
}
.ribbon-flow__dash--1 { top: 25%; }
.ribbon-flow__dash--2 { top: 50%; }
.ribbon-flow__dash--3 { bottom: 25%; width: 6rem; }
.ribbon-flow__dash--4 { bottom: 50%; width: 6rem; }

.ribbon-flow__shape--1 { width: 4rem; height: 4rem; transform: rotate(45deg); }
.ribbon-flow__shape--2 { width: 3rem; height: 3rem; transform: rotate(45deg); }
.ribbon-flow__shape--3 { width: 2rem; height: 2rem; }
.ribbon-flow__shape--4 { width: 2.5rem; height: 2.5rem; }

.ribbon-flow__title-line--1, .ribbon-flow__title-line--2 {
    width: 4rem; height: 0.125rem; transform: translateY(-50%);
}
.ribbon-flow__title-dot--1 { width: 0.5rem; height: 0.5rem; top: -0.5rem; right: -0.5rem; }
.ribbon-flow__title-dot--2 { width: 0.5rem; height: 0.5rem; bottom: -0.5rem; left: -0.5rem; }

.ribbon-flow__media--xl { height: 20rem; }
.ribbon-flow__media--lg { height: 18rem; }
.ribbon-flow__media--md { height: 16rem; }

.ribbon-flow__glow--br { background: radial-gradient(circle at bottom right, rgba(var(--bs-primary-rgb), 0.2), transparent); }
.ribbon-flow__glow--bl { background: radial-gradient(circle at bottom left, rgba(var(--bs-primary-rgb), 0.2), transparent); }

.ribbon-flow__card--hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}
.ribbon-flow__card--hover:hover {
    transform: scale(1.05);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.2);
}

.ribbon-flow__img--zoom {
    transition: transform 0.5s ease;
}
.ribbon-flow__row:hover .ribbon-flow__img--zoom {
    transform: scale(1.1);
}

.ribbon-flow__overlay--fade {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.ribbon-flow__row:hover .ribbon-flow__overlay--fade {
    opacity: 1;
}

.ribbon-flow__overlay--glow {
    opacity: 0;
    transition: opacity 0.5s ease;
}
.ribbon-flow__row:hover .ribbon-flow__overlay--glow {
    opacity: 1;
}

.ribbon-flow__corner--tl, .ribbon-flow__corner--br { width: 5rem; height: 5rem; }

.ribbon-flow__badge--left { left: 1rem; }
.ribbon-flow__badge--right { right: 1rem; }

.ribbon-flow__accent-corner--tr { right: 0; width: 1.5rem; height: 1.5rem; border-right-width: 2px; }
.ribbon-flow__accent-corner--tl { left: 0; width: 1.5rem; height: 1.5rem; border-left-width: 2px; }
.ribbon-flow__accent-corner--bl { left: 0; width: 1.5rem; height: 1.5rem; border-left-width: 2px; }
.ribbon-flow__accent-corner--br { right: 0; width: 1.5rem; height: 1.5rem; border-right-width: 2px; }

.ribbon-flow__panel--slide {
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.ribbon-flow__row:hover .ribbon-flow__panel--slide {
    transform: translateY(0);
}

.ribbon-flow__slot { width: 5rem; height: 0.25rem; }
.ribbon-flow__slot-line { height: 0.125rem; opacity: 0; transition: opacity 0.3s ease; }
.ribbon-flow__slot-dot { width: 0.5rem; height: 0.5rem; opacity: 0; transition: opacity 0.3s ease; }
.ribbon-flow__row:hover .ribbon-flow__slot-line,
.ribbon-flow__row:hover .ribbon-flow__slot-dot {
    opacity: 1;
}

.ribbon-flow__row-accent--left { left: 0; transform: translateY(-50%); width: 2rem; height: 2rem; opacity: 0; transition: opacity 0.3s ease; }
.ribbon-flow__row-accent--right { right: 0; transform: translateY(-50%); width: 2rem; height: 2rem; opacity: 0; transition: opacity 0.3s ease; }
.ribbon-flow__row:hover .ribbon-flow__row-accent--left,
.ribbon-flow__row:hover .ribbon-flow__row-accent--right {
    opacity: 1;
}

/* Bootstrap Fallbacks */
@media (min-width: 768px) {
   
    .ribbon-flow__media--w40 { width: 40%; }
    .ribbon-flow__media--w33 { width: 33.333333%; }
}

.content-river__arc {
    width: 18rem;
    height: 18rem;
}

.content-river__node {
    width: 0.75rem;
    height: 0.75rem;
    transform: translate(-50%, -50%);
}

@media (min-width: 768px) {
    .content-river__copy--right {
        grid-column-start: 2;
    }

    .content-river__copy--left {
        grid-column-start: 1;
        grid-row-start: 1;
    }

    .content-river__spacer--left {
        order: 2;
    }
}

.content-col-grow {
    flex: 1 1 0%;
    min-width: 0;
}

.content-grid-gap {
    gap: 2rem;
}

.content-heading-gap {
    margin-bottom: 2rem;
}

.content-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-img-fullheight {
    display: block;
    width: 100%;
    height: 16rem;
    min-height: 16rem;
    flex-shrink: 0;
    object-fit: cover;
}
@media (min-width: 992px) {
    .content-img-fullheight {
        height: 100%;
        min-height: 16rem;
    }
}

/* Grid + gap: @sem may obfuscate Tailwind grid/gap */
.rotating-badge-grid {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
    .rotating-badge-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .rotating-badge-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .rotating-badge-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Badge: w-12 = 3rem — lift above card (bs had top-0) */
.philosophy-v4-badge-decor {
    top: -2.25rem;
}

.philosophy-rotate-badge {
    width: 3rem;
    height: 3rem;
}

.philosophy-bg__img {
    object-fit: cover;
}

.content-brief__float-square {
    width: 4rem;
    height: 4rem;
}

.content-brief__float-square--slow {
    animation: content-brief-float-slow 10s ease-in-out infinite;
}

.content-brief__float-square--fast {
    animation: content-brief-float-fast 7s ease-in-out infinite;
}

@keyframes content-brief-float-slow {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(6deg);
    }
}

@keyframes content-brief-float-fast {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(8px) rotate(-7deg);
    }
}

.content-details-leaf__summary {
    cursor: pointer;
}

.content-details-leaf__summary::marker {
    font-size: 0.85em;
}

.content-details-leaf__item[open] {
    transform: translateY(-0.0625rem);
}

.content-details-leaf__orb {
    width: 16rem;
    height: 16rem;
    filter: blur(4rem);
}

/* Values v22 - Bauhaus asymmetric grid geometric accents (layout/shape only, no colors) */

/* Shared shape sizing/position; hover scale+rotate is triggered by the parent card via
   the arbitrary-variant selector hover:[&_.values-bauhaus__shape]:scale-125 / :rotate-12
   authored in component.html tw:. Renaming this class requires updating that selector too. */
.values-bauhaus__shape {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    width: 6rem;
    height: 6rem;
    opacity: 0.16;
    pointer-events: none;
    transition: transform 300ms ease;
}

/* featured card - large ring */
.values-bauhaus__shape--00 {
    top: -2.5rem;
    right: -2.5rem;
    width: 10rem;
    height: 10rem;
    border-radius: 9999px;
    border: 0.75rem solid currentColor;
    background: transparent;
    opacity: 0.12;
}

/* circle */
.values-bauhaus__shape--01 {
    border-radius: 9999px;
    background: currentColor;
}

/* triangle */
.values-bauhaus__shape--02 {
    background: currentColor;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* square rotated */
.values-bauhaus__shape--03 {
    background: currentColor;
    transform: rotate(15deg);
}

/* half circle */
.values-bauhaus__shape--04 {
    border-radius: 9999px 9999px 0 0;
    background: currentColor;
}

/* diamond */
.values-bauhaus__shape--05 {
    background: currentColor;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

