.fd-fresh,
.fd-fresh * {
    box-sizing: border-box;
}

.fd-fresh {
    --fd-gold: var(--brand-primary, #b28b42);
    --fd-dark: var(--brand-bg, #191919);
    --fd-card: var(--brand-card, #202020);
    --fd-fg: var(--brand-fg, #ffffff);
    --fd-muted: var(--brand-muted, #d7d7d7);
    background: var(--fd-dark);
    color: var(--fd-fg);
    font-family: "Montserrat", Arial, sans-serif;
    padding: clamp(3.5rem, 8vw, 6.5rem) 0;
    -webkit-font-smoothing: antialiased;
}

/* Match gallery / hero snowy starfield on dark Fresh Dental bands. */
.fd-fresh--starfield {
    --fd-starfield-base: var(--fd-dark, #191919);
    position: relative;
    isolation: isolate;
    background: var(--fd-starfield-base) !important;
}

.fd-fresh--starfield::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.64) 0 1px, transparent 1.5px),
        radial-gradient(circle at 74% 24%, rgba(207, 165, 85, 0.72) 0 1px, transparent 1.6px),
        radial-gradient(circle at 42% 66%, rgba(255, 255, 255, 0.42) 0 0.8px, transparent 1.4px),
        radial-gradient(circle at 88% 78%, rgba(207, 165, 85, 0.52) 0 0.9px, transparent 1.5px),
        radial-gradient(circle at 24% 84%, rgba(255, 255, 255, 0.34) 0 0.75px, transparent 1.35px),
        radial-gradient(circle at 62% 48%, rgba(255, 255, 255, 0.28) 0 0.7px, transparent 1.3px);
    background-size: 230px 230px, 310px 310px, 270px 270px, 360px 360px, 420px 420px, 190px 190px;
    background-position: 0 0, 38px 54px, 110px 20px, 16px 124px, 92px 88px, 150px 150px;
    opacity: 0.34;
    filter: url(#fd-fresh-team-starfield-texture);
    animation: fd-fresh-starfield-twinkle 3s ease-in-out infinite;
}

.fd-fresh--team-page.fd-fresh--starfield::before {
    filter: url(#fd-fresh-team-page-starfield-texture);
}

.fd-fresh--person.fd-fresh--starfield::before {
    filter: var(--fd-person-star-filter, url(#fd-fresh-person-starfield-texture));
}

.fd-fresh--why.fd-fresh--starfield::before {
    filter: url(#fd-fresh-why-starfield-texture);
}

.fd-fresh--press.fd-fresh--starfield::before {
    filter: url(#fd-fresh-press-starfield-texture);
}

.fd-fresh--results.fd-fresh--starfield::before {
    filter: url(#fd-fresh-results-starfield-texture);
}

@keyframes fd-fresh-starfield-twinkle {
    0%, 100% { opacity: 0.24; filter: url(#fd-fresh-team-starfield-texture) brightness(0.82); }
    50% { opacity: 0.46; filter: url(#fd-fresh-team-starfield-texture) brightness(1.16); }
}

@keyframes fd-fresh-starfield-twinkle-page {
    0%, 100% { opacity: 0.24; filter: url(#fd-fresh-team-page-starfield-texture) brightness(0.82); }
    50% { opacity: 0.46; filter: url(#fd-fresh-team-page-starfield-texture) brightness(1.16); }
}

.fd-fresh--team-page.fd-fresh--starfield::before {
    animation-name: fd-fresh-starfield-twinkle-page;
}

.fd-fresh__starfield-filter {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.fd-fresh__edge-fade {
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 4;
}

.fd-fresh__edge-fade--bottom {
    bottom: 0;
    /* Soften team media into this section’s charcoal/snowy bg; hard cut below. */
    height: clamp(7.5rem, 22vh, 13rem);
    /* Charcoal-only — no cream soft-exit across the next-section boundary. */
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(25, 25, 25, 0.28) 25%,
        rgba(25, 25, 25, 0.65) 48%,
        rgba(25, 25, 25, 0.92) 68%,
        #191919 88%,
        #191919 100%
    );
}

@media (prefers-reduced-motion: reduce) {
    .fd-fresh--starfield::before {
        animation: none !important;
        opacity: 0.3;
    }
}

@media (max-width: 767px) {
    .fd-fresh--starfield::before {
        filter: none !important;
        animation: none !important;
        opacity: 0.3 !important;
    }
}

.fd-fresh__wrap {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 2.5rem));
    margin: 0 auto;
}

.fd-fresh__intro {
    max-width: 40rem;
    margin-bottom: 2.5rem;
}

.fd-fresh__intro--page {
    max-width: 46rem;
}

.fd-fresh__kicker {
    margin: 0 0 0.75rem;
    color: var(--fd-gold);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.fd-fresh__heading {
    margin: 0;
    font-size: clamp(2rem, 4.4vw, 3.25rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.fd-fresh__lede {
    margin: 1rem 0 0;
    color: color-mix(in srgb, var(--fd-fg) 78%, transparent);
    font-size: 1.05rem;
    line-height: 1.65;
}

.fd-fresh__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0 0 2rem;
}

.fd-fresh__chip {
    appearance: none;
    border: 1px solid color-mix(in srgb, var(--fd-gold) 35%, transparent);
    background: transparent;
    color: var(--fd-fg);
    border-radius: 0.75rem;
    padding: 0.55rem 1rem;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
}

/* Match Press / Blog journal chips (sharp 2px, not pills) */
.fd-fresh--results .fd-fresh__filters {
    gap: 0.45rem;
    margin: 0 0 2.25rem;
}

.fd-fresh--results .fd-fresh__chip {
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    color: var(--fd-fg);
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    min-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fd-fresh--results .fd-fresh__chip.is-on,
.fd-fresh--results .fd-fresh__chip:hover {
    background: transparent;
    border-color: var(--fd-gold);
    color: var(--fd-gold);
}

.fd-fresh--results .fd-fresh__chip.is-on {
    background: color-mix(in srgb, var(--fd-gold) 14%, transparent);
}

.fd-fresh__chip.is-on,
.fd-fresh__chip:hover {
    background: var(--fd-gold);
    border-color: var(--fd-gold);
    color: #191919;
}

.fd-fresh__grid {
    display: grid;
    gap: 1.15rem;
}

.fd-fresh__grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fd-fresh__tile {
    display: flex;
    flex-direction: column;
    min-height: 16rem;
    margin: 0;
    overflow: hidden;
    background: var(--fd-card);
    border: 1px solid color-mix(in srgb, var(--fd-gold) 18%, transparent);
    border-radius: 1.25rem;
    color: inherit;
    text-decoration: none;
}

.fd-fresh__tile--link:hover {
    border-color: var(--fd-gold);
}

.fd-fresh__frame {
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #111;
}

.fd-fresh__frame img,
.fd-fresh__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fd-fresh__caption {
    padding: 1rem 1.1rem 1.15rem;
}

.fd-fresh__caption h3,
.fd-fresh__bio h2,
.fd-fresh__bio h3,
.fd-fresh__step h3,
.fd-fresh__aside h3,
.fd-fresh__well h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.fd-fresh__caption p,
.fd-fresh__well p,
.fd-fresh__step p,
.fd-fresh__aside p,
.fd-fresh__qual {
    margin: 0.35rem 0 0;
    color: color-mix(in srgb, var(--fd-fg) 70%, transparent);
    font-size: 0.9rem;
    line-height: 1.5;
}

.fd-fresh__well {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.35rem;
    min-height: 16rem;
    padding: 1.25rem;
    background:
        linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--fd-gold) 8%, transparent)),
        var(--fd-card);
}

.fd-fresh__well--person {
    min-height: 18rem;
}

.fd-fresh--why {
    padding: 0;
    overflow: visible;
    /* Height set by JS runway so sticky lock can scrub all 3 flips. */
}

.fd-fresh--why .fd-fresh__why-pin {
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    padding: clamp(4.5rem, 10vh, 6.5rem) 0 clamp(2.5rem, 6vh, 4rem);
    box-sizing: border-box;
}

.fd-fresh--why .fd-fresh__why-pin.is-sticky-lock {
    position: sticky;
    top: 0;
    z-index: 2;
    /* Transparent so section charcoal + starfield remain visible while pinned. */
    background: transparent;
}

.fd-fresh--why .fd-fresh__wrap--why {
    width: min(1120px, calc(100% - 2rem));
}

.fd-fresh--why .fd-fresh__intro {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(1.5rem, 3.5vh, 2.5rem);
    text-align: center;
}

.fd-fresh--why .fd-fresh__heading {
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.fd-fresh--why .fd-fresh__lede {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.fd-fresh--why .fd-fresh__why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.75rem, 1.6vw, 1.25rem);
    perspective: 1400px;
}

.fd-fresh__flip {
    position: relative;
    aspect-ratio: 3 / 4;
    min-height: 0;
    border-radius: 0.85rem;
    perspective: 1400px;
}

.fd-fresh__flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    will-change: transform;
}

.fd-fresh__flip-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding: 1.15rem 1.1rem 1.25rem;
    border-radius: inherit;
    overflow: hidden;
    background: var(--fd-card);
    border: 1px solid color-mix(in srgb, var(--fd-fg) 10%, transparent);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
}

.fd-fresh__flip-face--front {
    justify-content: flex-end;
}

.fd-fresh__flip-face--back {
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.7rem;
    padding: 1.4rem 1.25rem;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--fd-gold) 10%, transparent), transparent 42%),
        var(--fd-card);
    transform: rotateY(180deg);
}

.fd-fresh__flip-cta {
    position: relative;
    z-index: 2;
    margin-top: 0.35rem;
    min-height: 2.65rem;
    padding: 0.65rem 1.2rem;
    font-size: 0.84rem;
    flex-shrink: 0;
}

.fd-fresh__flip-img,
.fd-fresh__flip-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.fd-fresh__flip-fallback {
    background:
        radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--fd-gold) 28%, transparent), transparent 55%),
        linear-gradient(160deg, #2a2a2a, #141414);
}

.fd-fresh__flip-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.78) 100%),
        linear-gradient(0deg, transparent 60%, rgba(0, 0, 0, 0.28));
    pointer-events: none;
}

.fd-fresh__flip-title {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--fd-fg);
    font-family: var(--font-h3, var(--wise-font-heading, Georgia, serif));
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-wrap: balance;
}

.fd-fresh__flip-title--back {
    color: var(--fd-gold);
    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
}

.fd-fresh__flip-copy {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 28ch;
    color: color-mix(in srgb, var(--fd-fg) 82%, transparent);
    font-size: clamp(0.82rem, 1.15vw, 0.95rem);
    line-height: 1.55;
}

.fd-fresh--why .fd-fresh__actions--why {
    display: flex;
    justify-content: center;
    margin-top: clamp(1.35rem, 3vh, 2rem);
}

@media (max-width: 900px) {
    /* Mobile: one sticky deck slot — cards pile in place (no vertical peek). */
    .fd-fresh--why.is-mobile-deck {
        padding: 0;
        /* Height set by JS runway. */
    }

    .fd-fresh--why.is-mobile-deck .fd-fresh__why-pin.is-sticky-lock {
        position: sticky;
        top: 0;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        min-height: 100svh;
        height: 100svh;
        /* Clear sticky Call/Book bar + home indicator */
        padding:
            calc(var(--fd-why-sticky-top, 5.5rem) + 0.15rem)
            0
            calc(var(--fd-why-bar-clear, 108px) + env(safe-area-inset-bottom, 0px));
        box-sizing: border-box;
        background: var(--fd-dark);
        overflow: hidden;
    }

    .fd-fresh--why.is-mobile-deck .fd-fresh__wrap--why {
        /* Near-full width — card is the dominant element */
        width: min(100%, calc(100vw - 1rem));
        max-width: 26.5rem;
        height: 100%;
        max-height: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.45rem;
        overflow: hidden;
    }

    .fd-fresh--why.is-mobile-deck .fd-fresh__intro {
        margin-bottom: 0;
        flex-shrink: 0;
        text-align: center;
    }

    .fd-fresh--why.is-mobile-deck .fd-fresh__kicker {
        margin-bottom: 0.35rem;
        font-size: 0.68rem;
    }

    .fd-fresh--why.is-mobile-deck .fd-fresh__heading {
        -webkit-line-clamp: 2;
        line-clamp: 2;
        font-size: clamp(1.25rem, 5.2vw, 1.55rem);
        margin-bottom: 0;
    }

    /* Reclaim vertical space for a dominant card */
    .fd-fresh--why.is-mobile-deck .fd-fresh__lede {
        display: none;
    }

    .fd-fresh--why.is-mobile-deck .fd-fresh__why-deck {
        position: relative;
        width: 100%;
        height: var(--fd-why-deck-h, 70svh);
        max-height: var(--fd-why-deck-h, 70svh);
        flex: 1 1 auto;
        min-height: 0;
        perspective: 1400px;
        /* Clip slide-in deal so the next card never peeks below the deck */
        overflow: hidden;
        border-radius: 0.9rem;
    }

    .fd-fresh--why.is-mobile-deck .fd-fresh__why-grid {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        gap: 0;
        perspective: 1400px;
    }

    .fd-fresh--why.is-mobile-deck .fd-fresh__flip {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        aspect-ratio: auto;
        border-radius: 0.9rem;
        /* Soft shadow kept inside the deck clip — no bleed onto sticky bar */
        box-shadow:
            0 1px 4px rgba(0, 0, 0, 0.14),
            0 6px 16px rgba(0, 0, 0, 0.12);
    }

    /* External Book CTA removed — in-card only. */
    .fd-fresh--why .fd-fresh__actions--why {
        display: none !important;
    }

    .fd-fresh--why.is-mobile-deck .fd-fresh__flip-face--back {
        padding: 1.15rem 1rem 1.2rem;
        gap: 0.55rem;
        justify-content: center;
    }

    .fd-fresh--why.is-mobile-deck .fd-fresh__flip-cta {
        min-height: 2.55rem;
        padding: 0.6rem 1.15rem;
        font-size: 0.82rem;
        width: min(100%, 16rem);
    }

    .fd-fresh__flip-face {
        padding: 1.1rem 1rem 1.2rem;
    }

    .fd-fresh__flip-face--back {
        padding: 1.35rem 1.15rem;
        gap: 0.65rem;
    }

    .fd-fresh__flip-title {
        font-size: clamp(1.2rem, 5.5vw, 1.45rem);
    }

    .fd-fresh__flip-title--back {
        font-size: clamp(1.15rem, 5vw, 1.35rem);
    }

    .fd-fresh__flip-copy {
        font-size: clamp(0.86rem, 3.5vw, 0.96rem);
        line-height: 1.5;
        max-width: 32ch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fd-fresh__flip-inner {
        transform: none !important;
    }

    .fd-fresh__flip-face--front {
        display: none;
    }

    .fd-fresh__flip-face--back {
        position: relative;
        transform: none;
        backface-visibility: visible;
        min-height: 100%;
    }
}

.fd-fresh__num {
    color: var(--fd-gold);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.fd-fresh__actions {
    margin: 2.25rem 0 0;
}

.fd-fresh__actions--inline {
    margin-top: 1.5rem;
}

.fd-fresh__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    background: var(--fd-gold);
    color: #191919;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.fd-fresh__btn:hover {
    filter: brightness(1.08);
}

.fd-fresh__split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

.fd-fresh__split--portrait {
    align-items: start;
    margin-bottom: 2rem;
}

.fd-fresh__aside,
.fd-fresh__step,
.fd-fresh__fact {
    background: var(--fd-card);
    border: 1px solid color-mix(in srgb, var(--fd-gold) 18%, transparent);
    border-radius: 1.25rem;
    padding: 1.4rem 1.5rem;
}

.fd-fresh__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
    margin: 0 0 1.15rem;
    padding: 0;
    list-style: none;
}

.fd-fresh__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.fd-fresh__fact-value {
    margin: 0;
    color: var(--fd-gold);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.04em;
}

.fd-fresh__fact-label {
    margin: 0.35rem 0 0;
    color: color-mix(in srgb, var(--fd-fg) 72%, transparent);
    font-size: 0.88rem;
}

.fd-fresh__portrait {
    overflow: hidden;
    border-radius: 1.5rem;
    aspect-ratio: 4 / 5;
    max-height: 32rem;
    min-height: 0;
    background: var(--fd-card);
    cursor: pointer;
}

.fd-fresh__portrait .fd-fresh__photo,
.fd-fresh__portrait img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center top;
}

.fd-fresh__bio .wise-person-hit {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

.fd-fresh__body {
    margin-top: 1rem;
    color: color-mix(in srgb, var(--fd-fg) 78%, transparent);
    line-height: 1.7;
}

.fd-fresh__body p {
    margin: 0 0 0.8rem;
}

.fd-fresh__tile--person .wise-person-hit {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
    text-decoration: none;
}

.fd-fresh__tile--person .fd-fresh__photo {
    aspect-ratio: 4 / 5;
    min-height: 14rem;
}

.fd-fresh__circles {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 1.75rem;
    margin: 0 0 2.5rem;
    padding: 0;
    list-style: none;
}

.fd-fresh__circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    width: 6.5rem;
    text-align: center;
}

.fd-fresh__ring {
    display: grid;
    place-items: center;
    width: 6.25rem;
    height: 6.25rem;
    border-radius: 999px;
    border: 2px solid var(--fd-gold);
    overflow: hidden;
    background: #111;
}

.fd-fresh__ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fd-fresh__circle-name {
    font-size: 0.72rem;
    line-height: 1.3;
    color: color-mix(in srgb, var(--fd-fg) 80%, transparent);
}

.fd-fresh__tile.is-hidden,
.fd-fresh--press .fd-press-tile.fd-fresh__tile.is-hidden {
    display: none !important;
}

.fd-fresh__sub {
    margin: 2.5rem 0 1.25rem;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.fd-fresh__ba {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.fd-fresh__ba .fd-fresh__frame {
    position: relative;
    aspect-ratio: 1;
    border-radius: 0;
}

button.fd-fresh__case {
    appearance: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

button.fd-fresh__case:focus {
    outline: none;
}

button.fd-fresh__case:focus-visible {
    outline: 2px solid var(--fd-gold);
    outline-offset: -2px;
}

button.fd-fresh__case:hover .fd-fresh__frame img {
    transform: scale(1.03);
}

button.fd-fresh__case .fd-fresh__frame img {
    transition: transform 0.35s cubic-bezier(.22, .7, .2, 1);
}

@media (prefers-reduced-motion: reduce) {
    button.fd-fresh__case .fd-fresh__frame img {
        transition: none;
    }

    button.fd-fresh__case:hover .fd-fresh__frame img {
        transform: none;
    }
}

.fd-fresh__case-title {
    display: block;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.fd-fresh__case-meta {
    display: block;
    margin: 0.35rem 0 0;
    color: color-mix(in srgb, var(--fd-fg) 70%, transparent);
    font-size: 0.9rem;
    line-height: 1.5;
}

.fd-fresh__ba-label {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    z-index: 1;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, #111 72%, transparent);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    pointer-events: none;
}

.fd-results-dialog {
    position: fixed;
    inset: 0;
    width: min(980px, calc(100vw - 1.5rem));
    max-width: calc(100vw - 1.5rem);
    height: fit-content;
    max-height: min(94vh, 920px);
    margin: auto;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--fd-gold, #b28b42) 30%, transparent);
    border-radius: 1.25rem;
    background: #111;
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.fd-results-dialog.is-compact {
    width: fit-content;
    min-width: min(22rem, calc(100vw - 1.5rem));
}

.fd-results-dialog:focus {
    outline: none;
}

.fd-results-dialog::backdrop {
    background: rgba(8, 8, 8, 0.82);
}

.fd-results-dialog__bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem 0.95rem;
    border-bottom: 1px solid color-mix(in srgb, var(--fd-gold, #b28b42) 18%, transparent);
}

.fd-results-dialog__copy {
    min-width: 0;
}

.fd-results-dialog__title {
    margin: 0;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
}

.fd-results-dialog__meta {
    margin: 0.35rem 0 0;
    color: color-mix(in srgb, #fff 68%, transparent);
    font-size: 0.88rem;
    line-height: 1.45;
}

.fd-results-dialog__close {
    appearance: none;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    margin: 0;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--fd-gold, #b28b42) 40%, transparent);
    border-radius: 999px;
    background: transparent;
    color: var(--fd-gold, #b28b42);
    font: inherit;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
}

.fd-results-dialog__close:hover,
.fd-results-dialog__close:focus-visible {
    background: var(--fd-gold, #b28b42);
    border-color: var(--fd-gold, #b28b42);
    color: #191919;
    outline: none;
}

.fd-results-dialog__stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: #0a0a0a;
}

.fd-ba-slider {
    --pos: 50%;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-width: 100%;
    max-height: min(78vh, 760px);
    margin: 0 auto;
    overflow: hidden;
    touch-action: none;
    user-select: none;
    cursor: ew-resize;
    background: #050505;
}

.fd-ba-slider.is-native-sized {
    max-width: none;
}

.fd-ba-slider.is-dragging {
    cursor: grabbing;
}

.fd-ba-slider__layer {
    position: absolute;
    inset: 0;
}

.fd-ba-slider__layer img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
    -webkit-user-drag: none;
}

.fd-ba-slider__layer--before {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.fd-ba-slider__layer--after {
    z-index: 1;
}

.fd-ba-slider__tag {
    position: absolute;
    top: 0.85rem;
    z-index: 3;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    background: color-mix(in srgb, #111 74%, transparent);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1;
    pointer-events: none;
}

.fd-ba-slider__tag--before {
    left: 0.85rem;
}

.fd-ba-slider__tag--after {
    right: 0.85rem;
}

.fd-ba-slider__rail {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    z-index: 4;
    width: 2px;
    margin-left: -1px;
    background: color-mix(in srgb, var(--fd-gold, #b28b42) 88%, #fff);
    pointer-events: none;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.fd-ba-slider__handle {
    appearance: none;
    position: absolute;
    top: 50%;
    left: var(--pos);
    z-index: 5;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #191919;
    transform: translate(-50%, -50%);
    cursor: grab;
    touch-action: none;
}

.fd-ba-slider__handle:focus {
    outline: none;
}

.fd-ba-slider__handle:focus-visible .fd-ba-slider__knob {
    box-shadow:
        0 0 0 3px rgba(178, 139, 66, 0.45),
        0 8px 22px rgba(0, 0, 0, 0.35);
}

.fd-ba-slider.is-dragging .fd-ba-slider__handle {
    cursor: grabbing;
}

.fd-ba-slider__knob {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    border: 2px solid #111;
    background: var(--fd-gold, #b28b42);
    color: #191919;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.fd-ba-slider__knob svg {
    display: block;
}

.fd-results-dialog__single {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-width: 100%;
    max-height: min(78vh, 760px);
    margin: 0 auto;
    background: #050505;
}

.fd-results-dialog__single.is-native-sized {
    max-width: none;
}

.fd-results-dialog__single img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #050505;
}

@media (max-width: 720px) {
    .fd-results-dialog {
        width: calc(100vw - 1rem);
        max-height: min(96vh, 900px);
        border-radius: 1rem;
    }

    .fd-results-dialog__bar {
        padding: 0.85rem 0.9rem;
    }

    .fd-ba-slider,
    .fd-results-dialog__single {
        aspect-ratio: 1 / 1;
        max-height: min(72vh, 640px);
    }

    .fd-ba-slider__handle,
    .fd-ba-slider__knob {
        width: 2.5rem;
        height: 2.5rem;
    }
}

.fd-fresh__frame--portrait {
    aspect-ratio: 3 / 4;
}

.fd-fresh__video {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #111;
}

.fd-fresh__video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.fd-fresh__caption a {
    color: inherit;
    text-decoration: none;
}

.fd-fresh__caption a:hover {
    color: var(--fd-gold);
}

.fd-fresh__faqs {
    margin-top: 3rem;
}

.fd-fresh__faq {
    border-top: 1px solid color-mix(in srgb, var(--fd-gold) 22%, transparent);
    padding: 1rem 0;
}

.fd-fresh__faq:last-child {
    border-bottom: 1px solid color-mix(in srgb, var(--fd-gold) 22%, transparent);
}

.fd-fresh__faq summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.fd-fresh__faq summary::-webkit-details-marker {
    display: none;
}

.fd-fresh__faq p {
    margin: 0.75rem 0 0;
    color: color-mix(in srgb, var(--fd-fg) 78%, transparent);
    line-height: 1.65;
}

/* Press / media — match blog (fd-journal) cards, type, and chips */
.fd-fresh--press {
    padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
}

.fd-fresh--press .fd-fresh__intro--page {
    max-width: none;
    margin-bottom: 2.75rem;
}

.fd-fresh--press .fd-fresh__heading {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.fd-fresh--press .fd-fresh__lede {
    max-width: 36rem;
    margin: 0.9rem 0 0;
    color: color-mix(in srgb, var(--fd-fg) 66%, transparent);
    font-size: 1.05rem;
    line-height: 1.6;
}

.fd-fresh--press .fd-fresh__rule {
    display: block;
    width: 64px;
    height: 2px;
    margin: 1.35rem 0 0;
    background: var(--fd-gold);
}

.fd-fresh--press .fd-fresh__filters {
    gap: 0.45rem;
    margin: 0 0 2.25rem;
}

.fd-fresh--press .fd-fresh__chip {
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    color: var(--fd-fg);
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.fd-fresh--press .fd-fresh__chip.is-on,
.fd-fresh--press .fd-fresh__chip:hover {
    background: transparent;
    border-color: var(--fd-gold);
    color: var(--fd-gold);
}

.fd-fresh--press .fd-fresh__chip.is-on {
    background: color-mix(in srgb, var(--fd-gold) 14%, transparent);
}

.fd-fresh--press .fd-fresh__btn {
    border-radius: 2px;
}

.fd-press-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4.25rem;
    height: 4.25rem;
    margin: -2.125rem 0 0 -2.125rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--fd-gold) 92%, white);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease;
}

.fd-press-play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.55rem 0 0.55rem 0.95rem;
    border-color: transparent transparent transparent #191919;
    transform: translate(-50%, -50%);
}

.fd-press-play--sm {
    top: auto;
    left: auto;
    right: 0.9rem;
    bottom: 0.9rem;
    width: 2.6rem;
    height: 2.6rem;
    margin: 0;
    z-index: 1;
}

.fd-press-play--sm::after {
    border-width: 0.35rem 0 0.35rem 0.6rem;
}

.fd-press-tile:hover .fd-press-play {
    transform: scale(1.06);
}

.fd-press-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
}

@media (min-width: 700px) {
    .fd-press-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1040px) {
    .fd-press-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.25rem;
    }
}

.fd-fresh--press .fd-press-tile.fd-fresh__tile {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(28, 28, 28, 0.96), rgba(16, 16, 16, 0.98));
    color: #fff;
    border: 1px solid rgba(178, 139, 66, 0.22);
    border-radius: 2px;
    transition: border-color 0.22s ease, box-shadow 0.28s ease;
}

.fd-fresh--press .fd-press-tile:hover {
    transform: none;
    border-color: rgba(178, 139, 66, 0.55);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.fd-press-tile__hit {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.fd-fresh--press .fd-press-tile__frame.fd-fresh__frame,
.fd-fresh--press .fd-fresh__frame--portrait {
    position: relative;
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #101010;
}

.fd-press-tile__fallback {
    display: block;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 20%, rgba(178, 139, 66, 0.28), transparent 42%),
        linear-gradient(145deg, #1a1a1a, #0d0d0d 60%, #161616);
}

.fd-fresh--press .fd-press-tile__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.fd-fresh--press .fd-press-tile:hover .fd-press-tile__frame img {
    transform: scale(1.04);
}

.fd-fresh--press .fd-press-tile__body.fd-fresh__caption {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
    padding: 1.3rem 1.35rem 1.45rem;
}

.fd-fresh--press .fd-press-tile__body .fd-fresh__kicker {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.fd-fresh--press .fd-press-tile__body h3 {
    margin: 0;
    color: #fff;
    font-size: 1.28rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: calc(1.25em * 2);
}

.fd-fresh--press .fd-press-tile:hover .fd-press-tile__body h3 {
    color: #e6c585;
}

.fd-press-tile__more {
    margin-top: auto;
    padding-top: 0.55rem;
    color: var(--fd-gold);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.fd-press-dialog {
    position: fixed;
    inset: 0;
    width: min(900px, 92vw);
    max-width: 92vw;
    height: fit-content;
    max-height: min(90vh, 960px);
    margin: auto;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--fd-gold, #b28b42) 30%, transparent);
    border-radius: 2px;
    background: #111;
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.fd-press-dialog:focus {
    outline: none;
}

.fd-press-dialog::backdrop {
    background: rgba(8, 8, 8, 0.82);
}

.fd-press-dialog__bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem 0.95rem;
    border-bottom: 1px solid color-mix(in srgb, var(--fd-gold, #b28b42) 18%, transparent);
}

.fd-press-dialog__copy {
    min-width: 0;
}

.fd-press-dialog__title {
    margin: 0;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.3;
}

.fd-press-dialog__meta {
    margin: 0.35rem 0 0;
    color: color-mix(in srgb, #fff 68%, transparent);
    font-size: 0.88rem;
    line-height: 1.45;
}

.fd-press-dialog__close {
    appearance: none;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    margin: 0;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--fd-gold, #b28b42) 40%, transparent);
    border-radius: 2px;
    background: transparent;
    color: var(--fd-gold, #b28b42);
    font: inherit;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
}

.fd-press-dialog__close:hover,
.fd-press-dialog__close:focus-visible {
    background: var(--fd-gold, #b28b42);
    border-color: var(--fd-gold, #b28b42);
    color: #191919;
    outline: none;
}

.fd-press-dialog__scroll {
    max-height: min(calc(90vh - 4.5rem), 860px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: #0a0a0a;
}

.fd-press-dialog.is-video .fd-press-dialog__scroll {
    overflow: hidden;
}

.fd-press-dialog__stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.fd-press-dialog__stage iframe,
.fd-press-dialog__stage video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.fd-press-dialog__stage video {
    object-fit: contain;
    background: #000;
}

.fd-press-dialog__article {
    padding: 1.15rem 1.25rem 1.4rem;
}

.fd-press-dialog__figure {
    margin: 0;
}

.fd-press-dialog__figure img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 2px;
    border: 1px solid color-mix(in srgb, var(--fd-gold, #b28b42) 22%, transparent);
}

.fd-press-dialog__prose {
    max-width: 42rem;
    margin: 0 auto;
    color: color-mix(in srgb, #fff 88%, transparent);
    font-size: 1.02rem;
    line-height: 1.7;
}

.fd-press-dialog__prose > *:first-child {
    margin-top: 0;
}

.fd-press-dialog__prose > *:last-child {
    margin-bottom: 0;
}

.fd-press-dialog__prose p,
.fd-press-dialog__prose ul,
.fd-press-dialog__prose ol {
    margin: 0 0 1rem;
}

.fd-press-dialog__prose a {
    color: var(--fd-gold, #b28b42);
}

.fd-press-dialog__linkwrap {
    margin: 1.25rem 0 0;
    text-align: center;
}

.fd-press-dialog__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    padding: 0.55rem 1.15rem;
    border: 1px solid color-mix(in srgb, var(--fd-gold, #b28b42) 45%, transparent);
    border-radius: 2px;
    color: var(--fd-gold, #b28b42);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
}

.fd-press-dialog__link:hover,
.fd-press-dialog__link:focus-visible {
    background: var(--fd-gold, #b28b42);
    color: #191919;
    outline: none;
}

@media (max-width: 720px) {
    .fd-press-dialog {
        width: min(920px, calc(100vw - 1rem));
        max-width: calc(100vw - 1rem);
        max-height: min(92vh, 960px);
        border-radius: 2px;
    }

    .fd-press-dialog__bar {
        padding: 0.85rem 0.9rem;
    }

    .fd-press-dialog__article {
        padding: 0.95rem 0.9rem 1.15rem;
    }
}

.fd-fresh--finance {
    scroll-margin-top: 6rem;
}

.fd-fresh--finance .fd-fresh__intro {
    max-width: none;
    margin-bottom: 0;
}

.fd-fresh--finance .fd-fresh__heading {
    font-size: clamp(1.7rem, 2.2vw, 2.15rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-wrap: balance;
    overflow: visible;
    white-space: normal;
}

.fd-finance-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.7fr);
    gap: 2rem 2.75rem;
    align-items: center;
    margin-bottom: 1.75rem;
}

.fd-finance-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.6rem 1.7rem;
    border-radius: 1.4rem;
    border: 1px solid color-mix(in srgb, var(--fd-gold) 35%, transparent);
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--fd-gold) 18%, transparent), transparent 55%),
        var(--fd-card);
}

.fd-finance-cta h3 {
    margin: 0;
    font-size: 1.2rem;
}

.fd-finance-cta p {
    margin: 0.7rem 0 0;
    color: color-mix(in srgb, var(--fd-fg) 75%, transparent);
    line-height: 1.6;
}

.fd-finance-promise {
    margin: 0.9rem 0 0;
    color: color-mix(in srgb, var(--fd-fg) 82%, transparent);
    line-height: 1.65;
}

.fd-finance-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    align-items: stretch;
}

.fd-finance-option {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.45rem;
    min-width: 0;
    min-height: 8.5rem;
    border: 1px solid color-mix(in srgb, var(--fd-gold) 28%, transparent);
    border-radius: 1.15rem;
    background: var(--fd-card);
    padding: 1.2rem 1.25rem;
}

.fd-finance-option__kicker {
    margin: 0;
    color: var(--fd-gold);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.fd-finance-option__text {
    margin: 0;
    color: color-mix(in srgb, var(--fd-fg) 82%, transparent);
    font-size: 0.98rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.fd-fresh.fd-fresh--finance p.fd-finance-legal {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1.35rem 0 0;
    color: color-mix(in srgb, var(--fd-fg) 58%, transparent);
    font-size: 0.75rem;
    line-height: 1.55;
    white-space: normal;
    overflow-wrap: anywhere;
}

.fd-fees-tabs {
    position: sticky;
    top: 0.75rem;
    z-index: 4;
    padding: 0.35rem 0 0.85rem;
    background: linear-gradient(180deg, var(--fd-dark) 70%, transparent);
}

.fd-fees-panel {
    display: none;
}

.fd-fees-panel.is-on {
    display: block;
}

.fd-fees-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.fd-fees-overview__title,
.fd-fees-detail__title {
    margin: 0 0 1rem;
}

.fd-fee-card--overview {
    display: block;
    text-decoration: none;
    color: inherit;
}

.fd-fees-cards {
    display: grid;
    gap: 0.85rem;
}

.fd-fees-cards--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fd-fee-card {
    padding: 1.15rem 1.25rem;
    border-radius: 1.15rem;
    border: 1px solid color-mix(in srgb, var(--fd-gold) 16%, transparent);
    background: var(--fd-card);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.fd-fee-card:hover {
    transform: translateY(-3px);
    border-color: var(--fd-gold);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.fd-fee-card__top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: start;
}

.fd-fee-card h3 {
    margin: 0;
    font-size: 0.66rem;
    font-weight: 500;
    line-height: 1.35;
}

.fd-fee-card__price {
    margin: 0;
    color: var(--fd-gold);
    font-size: 1.15rem;
    font-weight: 600;
    white-space: nowrap;
    text-align: right;
}

.fd-fee-card__more {
    margin-top: 0.7rem;
    color: color-mix(in srgb, var(--fd-fg) 74%, transparent);
}

.fd-fee-card__more summary {
    cursor: pointer;
    color: var(--fd-gold);
    font-size: 0.82rem;
    font-weight: 600;
}

.fd-fee-card__more p {
    margin: 0.45rem 0 0;
    line-height: 1.55;
}

.fd-team-carousel {
    --fd-team-show: 4;
    --fd-team-gap: 0.85rem;
    --fd-team-fade: var(--fd-dark, #191919);
    position: relative;
    margin-top: 0.5rem;
}

.fd-team-carousel__bar {
    position: relative;
    /* Above viewport edge fades — arrows stay readable on soft dissolves. */
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.fd-team-carousel__title {
    margin: 0;
}

.fd-team-carousel__nav {
    display: flex;
    gap: 0.45rem;
}

.fd-team-carousel__btn {
    position: relative;
    z-index: 1;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--fd-gold) 40%, transparent);
    background: color-mix(in srgb, var(--fd-dark) 72%, transparent);
    color: var(--fd-fg);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(2px);
}

.fd-team-carousel__btn:hover {
    background: var(--fd-gold);
    color: #191919;
}

.fd-team-carousel__viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.fd-team-carousel__fade {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.fd-team-carousel__fade--left,
.fd-team-carousel__fade--right {
    top: 0;
    bottom: 0;
    width: clamp(2.5rem, 7%, 4.75rem);
}

.fd-team-carousel__fade--left {
    left: 0;
    background: linear-gradient(to right, var(--fd-team-fade) 0%, color-mix(in srgb, var(--fd-team-fade) 72%, transparent) 42%, transparent 100%);
}

.fd-team-carousel__fade--right {
    right: 0;
    background: linear-gradient(to left, var(--fd-team-fade) 0%, color-mix(in srgb, var(--fd-team-fade) 72%, transparent) 42%, transparent 100%);
}

/* Team section: no bottom dissolve — hard cut at section boundary. */
.fd-fresh--team .fd-team-carousel__fade--bottom,
.fd-fresh--team .fd-fresh__edge-fade--bottom {
    display: none !important;
}

.fd-team-carousel__track {
    display: flex;
    width: 100%;
    gap: var(--fd-team-gap);
    will-change: transform;
}

/*
 * Fallback before JS runs. Do NOT use 100cqi — cq units resolve to 0 during flex
 * sizing here, and .fd-fresh__tile { overflow:hidden } zeroes auto min-width, so
 * every card collapses into a ~20px strip. fresh-sections.js sets px widths.
 */
.fd-team-carousel__slide {
    box-sizing: border-box;
    flex: 0 0 calc((100% - (var(--fd-team-show) - 1) * var(--fd-team-gap)) / var(--fd-team-show));
    width: calc((100% - (var(--fd-team-show) - 1) * var(--fd-team-gap)) / var(--fd-team-show));
    min-width: calc((100% - (var(--fd-team-show) - 1) * var(--fd-team-gap)) / var(--fd-team-show));
    max-width: calc((100% - (var(--fd-team-show) - 1) * var(--fd-team-gap)) / var(--fd-team-show));
    min-height: 0;
    border-radius: 0.85rem;
}

.fd-team-carousel__slide.fd-fresh__tile {
    min-height: 0;
}

.fd-team-carousel__slide .fd-fresh__photo,
.fd-team-carousel__slide.fd-fresh__tile--person .fd-fresh__photo {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    min-height: 0;
}

.fd-team-carousel__slide .fd-fresh__caption {
    padding: 0.65rem 0.75rem 0.8rem;
}

.fd-team-carousel__slide h3 {
    font-size: 0.88rem;
}

.fd-team-carousel__slide p {
    font-size: 0.72rem;
}

@media (max-width: 820px) {
    .fd-team-carousel {
        --fd-team-show: 1;
        --fd-team-gap: 0;
    }

    /* Mobile: prev / THE TEAM / next. Desktop (>820) keeps title left, nav top-right. */
    .fd-team-carousel__bar {
        justify-content: center;
        flex-wrap: nowrap;
        gap: 0.85rem;
    }

    .fd-team-carousel__nav {
        display: contents;
    }

    .fd-team-carousel__btn[data-fd-carousel-prev] {
        order: 1;
    }

    .fd-team-carousel__title {
        order: 2;
        text-align: center;
    }

    .fd-team-carousel__btn[data-fd-carousel-next] {
        order: 3;
    }

    /* Beat fd-mobile :is(...kicker...) margin:auto (spec 0,2,1). */
    .fd-team-carousel .fd-team-carousel__bar .fd-fresh__kicker {
        margin: 0;
    }

    .fd-team-carousel__fade {
        display: none;
    }

    .fd-team-carousel__slide .fd-fresh__photo,
    .fd-team-carousel__slide.fd-fresh__tile--person .fd-fresh__photo {
        aspect-ratio: 4 / 5;
    }

    .fd-team-carousel__slide .fd-fresh__caption {
        padding: 0.85rem 0.9rem 1rem;
    }

    .fd-team-carousel__slide h3 {
        font-size: 1rem;
    }

    .fd-team-carousel__slide p {
        font-size: 0.82rem;
    }
}

.fd-team-teaser {
    margin-top: 0.65rem;
}

.fd-team-copy,
.fd-fresh__tile--person[data-wise-person],
.fd-team-carousel__slide[data-wise-person] {
    cursor: pointer;
}

a.fd-team-copy,
a.fd-fresh__portrait,
a.fd-fresh__tile--person {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

a.fd-fresh__portrait {
    display: block;
}

.fd-team-more {
    display: inline-block;
    margin-top: 0.55rem;
    color: var(--fd-gold);
    font-size: 0.82rem;
    font-weight: 600;
}

.fd-fresh--team-page .fd-fresh__tile--person .fd-fresh__photo {
    aspect-ratio: 1 / 1;
    min-height: 0;
    height: auto;
}

.fd-fresh--team-page .fd-fresh__bio .fd-fresh__caption {
    padding: 0;
}

.fd-fresh--team-page .fd-fresh__bio h3 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.fd-fresh--team .fd-fresh__split--portrait {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: stretch;
}

.fd-fresh--team .fd-fresh__portrait {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    max-height: none;
    min-height: 0;
}

.fd-fresh--team .fd-fresh__portrait .fd-fresh__photo,
.fd-fresh--team .fd-fresh__portrait img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.fd-fresh--team:not(.fd-fresh--team-page) .fd-fresh__split--portrait {
    align-items: center;
}

.fd-fresh--team:not(.fd-fresh--team-page) .fd-fresh__portrait {
    height: auto;
    aspect-ratio: 173 / 100;
}

@media (max-width: 899px) {
    .fd-fees-overview,
    .fd-fees-cards--grid,
    .fd-fresh__grid--3,
    .fd-fresh__steps,
    .fd-fresh__facts,
    .fd-fresh__split,
    .fd-finance-hero,
    .fd-finance-options {
        grid-template-columns: 1fr;
    }

    .fd-fresh__portrait {
        max-height: none;
    }

    .fd-fresh--team .fd-fresh__portrait {
        aspect-ratio: 2 / 1;
        height: auto;
    }

    .fd-fee-card__top {
        grid-template-columns: 1fr;
    }

    .fd-fee-card__price {
        text-align: left;
        white-space: normal;
    }

    .fd-fees-tabs {
        position: static;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }
}

@media (max-width: 1023px) {
    .fd-fresh--team .fd-fresh__split--portrait {
        grid-template-columns: minmax(0, 1fr);
    }

    .fd-fresh--team .fd-fresh__portrait,
    .fd-fresh--team:not(.fd-fresh--team-page) .fd-fresh__portrait {
        width: 100%;
        height: auto;
        aspect-ratio: 173 / 100;
        max-height: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fd-press-tile,
    .fd-fee-card,
    .fd-press-tile__frame img {
        transition: none;
    }
}

.wise-person-layer {
    z-index: 120;
}

/* Compact light CTA between dark gallery and Meet the Team */
.fd-section-break {
    --fd-break-bg: #f6f1e6;
    --fd-break-ink: #191919;
    --fd-break-gold: #b28b42;
    background: var(--fd-break-bg);
    color: var(--fd-break-ink);
    padding: clamp(2.25rem, 5vw, 3.25rem) 1.25rem;
    font-family: "Montserrat", Arial, sans-serif;
    text-align: center;
}

.fd-section-break__inner {
    width: min(40rem, 100%);
    margin: 0 auto;
}

.fd-section-break__kicker {
    margin: 0 0 0.55rem;
    color: var(--fd-break-gold);
    font-size: 0.7rem;
    font-weight: 650;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.fd-section-break__heading {
    margin: 0;
    font-size: clamp(1.45rem, 3.2vw, 1.95rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--fd-break-ink);
}

.fd-section-break__text {
    margin: 0.65rem auto 0;
    max-width: 28rem;
    font-size: 0.98rem;
    line-height: 1.55;
    color: color-mix(in srgb, var(--fd-break-ink) 72%, transparent);
}

.fd-section-break__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem 0.85rem;
    margin-top: 1.35rem;
}

.fd-section-break__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.7rem 1.35rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.fd-section-break__btn--primary {
    background: var(--fd-break-ink);
    color: #f6f1e6;
    border: 1px solid var(--fd-break-ink);
}

.fd-section-break__btn--primary:hover,
.fd-section-break__btn--primary:focus-visible {
    background: #000;
    border-color: var(--fd-break-gold);
    outline: none;
}

.fd-section-break__btn--ghost {
    background: transparent;
    color: var(--fd-break-ink);
    border: 1px solid color-mix(in srgb, var(--fd-break-gold) 55%, transparent);
}

.fd-section-break__btn--ghost:hover,
.fd-section-break__btn--ghost:focus-visible {
    border-color: var(--fd-break-gold);
    color: var(--fd-break-gold);
    outline: none;
}

/* Gallery and before & after captions list every treatment on the card */
.fdg-ring-gallery__active-title,
.fdg-ring-gallery__mobile-title {
    white-space: pre-line;
    overflow-wrap: break-word;
}

.fd-fresh__case-title {
    overflow-wrap: break-word;
}
