body[data-theme=light] { color-scheme: light !important; }
body[data-theme=dark] { color-scheme: light !important; }

/* This story is locked to light mode (see story.js) — the toggle would let
   people flip the switch to no visible effect, so hide it here instead. */
.footer--utils-lightdark { display: none; }

.ff-benefaction .btn {
    font-family: var(--font-default);
}
.section .image-full figcaption {
    margin-bottom: 4rem;
}

.bridging-gap-quote {
    margin-block: 10vw;
}

.form-subscribe .flex-grow {
    flex: 1 1 auto;
    min-width: 0;
}

.form-subscribe input[type="email"] {
    width: 100%;
    box-sizing: border-box;
}

@media only screen and (max-width: 26em) {
    .form-subscribe .d-flex {
        flex-direction: column;
        align-items: stretch;
    }
}

.encyclical-quote {
    font-size: clamp(1.25rem, 0.6vw + 1rem, 1.75rem);
    font-style: italic;
}
.encyclical-quote p {
    margin-bottom: 0.75rem;
}
.encyclical-quote cite {
    font-style: normal;
    color: #333;
    font-weight: 700;
}
.article-header[class*="bg--"],
.page-header[class*="bg--"] {
    margin: 0 !important;
}

.page-header--container {
    position: relative;
    z-index: 1;
}

.page-primary img,
.page-primary video,
.page-header--container img,
.page-header--container video {
    border-radius: 0 !important;
}

.page-header--container .page-image.bg--gradient {
    --gradient-color: #46436f;
}

@media only screen and (max-width: 60em) {
    .page-header--container .page-image.bg--gradient:before {
        display: block !important;
    }
}

@media only screen and (max-width: 60em) {
    .page-header--container.bg--dark {
        background-color: #46436f !important;
    }
}

.intro-reveal {
    height: 100svh;
}

.intro-reveal-gradient {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #edf5ef 0%, #c3f6e5 100%);
}

.intro-reveal-quote {
    width: min(80%, 58rem);
    height: auto;
}

@media (prefers-reduced-motion: no-preference) {
    .intro-reveal-quote {
        opacity: var(--intro-opacity, 1);
        transform: translateY(var(--intro-shift, 0px));
        animation: intro-quote-in 1s ease-out 0.3s backwards;
    }
}

@keyframes intro-quote-in {
    from {
        opacity: 0;
        transform: translateY(1.6rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-reveal-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: light-dark(rgba(12, 17, 22, 0.5), rgba(255, 255, 255, 0.6));
}

.intro-reveal-scroll svg {
    display: block;
    width: 3rem;
    height: 3rem;
}

@media (prefers-reduced-motion: no-preference) {
    .intro-reveal-scroll {
        opacity: var(--intro-opacity, 1);
        animation: intro-scroll-in 1s ease-out 1.9s backwards;
    }
    .intro-reveal-scroll svg {
        animation: intro-scroll-bounce 1.6s ease-in-out 2.9s infinite;
    }
}

@keyframes intro-scroll-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes intro-scroll-bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(0.35rem);
    }
}

.wrapper {
    position: relative;
    z-index: 1;
    background: light-dark(#fff, #0c1116);
}

@media only screen and (min-width: 48em) {
    .page--longform {
        & .section {
            figure {
                &.mb-4 {
                    margin-bottom: 4rem;
                }
            }
        }
    }
}

@media only screen and (min-width: 60em) {
    .page-header--container:has(.page-image) .page-title-wrapper {
        grid-column: 1 / span 5;
    }
    .page--longform {
        p + h2,
        aside + h2 {
            margin-top: 5vw;
        }
        aside .avatar {
            width: 300px;
        }
    }
}

:root {
    --ink: #22201c;
    --ink-sub: #6b665c;
    --ink-muted: #9c9689;
    --line: #dedace;
    --line-strong: #c7c1b2;
    --paper-2: #f4f1e9;
    --teal: #0f6e56;
    --teal-bg: #e1f5ee;
    --amber: #854f0b;
}

.v4p-side {
    border: 1px solid #ccc;
    padding: 40px 40px 14px;
    max-width: 700px;
    margin: 0 auto;
}

.v4p-mic {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.v4p-mic-bars {
    display: flex;
    gap: 3px;
    align-items: flex-end;
    height: 16px;
}

.v4p-mic-bars div {
    width: 3px;
    background: #7fb8a0;
    animation: v4p-bar-bounce 1.2s ease-in-out infinite;
}

.v4p-mic-bars div:nth-child(1) {
    animation-delay: 0s;
}
.v4p-mic-bars div:nth-child(2) {
    animation-delay: 0.15s;
}
.v4p-mic-bars div:nth-child(3) {
    animation-delay: 0.3s;
}
.v4p-mic-bars div:nth-child(4) {
    animation-delay: 0.1s;
}
.v4p-mic-bars div:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes v4p-bar-bounce {
    0%,
    100% {
        height: 4px;
    }
    50% {
        height: 15px;
    }
}

.v4p-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.v4p-row .mark {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 14px;
    flex-shrink: 0;
    background: var(--line-strong);
}

.v4p-row .mark.on {
    background: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-bg);
}
.v4p-row .mark.off {
    background: #bbb;
    box-shadow: 0 0 0 2px #ddd;
}
.v4p-row .mark.off.pulse {
    animation: v4p-pulse-ring 1.8s ease-in-out infinite;
}
.v4p-row .mark.rec {
    background: #b4342f;
    box-shadow: 0 0 0 3px #f7dedc;
}
.v4p-row .mark.rec.blink {
    animation: v4p-blink-dot 1.1s steps(1) infinite;
}

@keyframes v4p-pulse-ring {
    0%,
    100% {
        box-shadow: 0 0 0 2px #d3d3d3;
    }
    50% {
        box-shadow: 0 0 0 6px rgba(211, 211, 211, 0.25);
    }
}

@keyframes v4p-blink-dot {
    0%,
    49% {
        opacity: 1;
    }
    50%,
    100% {
        opacity: 0.25;
    }
}

.chapter-final-lede {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100svh;
    padding: clamp(3rem, 8vw, 6rem) 1.5rem;
    background: linear-gradient(180deg, #dceff6 0%, #f5fafc 100%);
}

.chapter-final-photo {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
    margin-top: 6rem;
    height: 100svh;
    overflow: hidden;
}

.chapter-final-photo figure {
    margin: 0;
    height: 100%;
}

.chapter-final-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(var(--final-photo-scale, 1));
}

.chapter-final-hold-spacer {
    height: 0;
}

.v4p-row .mark.on.stop {
    background: #b4342f;
    box-shadow: 0 0 0 3px #f7dedc;
    border-radius: 2px;
}

@media only screen and (min-width: 48em) {
    .page-header--container .page-image {
        height: 100svh;
        min-height: 32rem;
        max-height: 60rem;
    }
}

@media only screen and (min-width: 60em) {
    .page-header--container .page-image {
        max-height: 75rem;
    }
}

.chapter-next-photo {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    opacity: var(--next-photo-visible, 0);
}

.chapter-next-photo figure {
    margin: 0;
    height: 100%;
}

.chapter-next-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(var(--next-photo-scale, 1.2));
}

.chapter-next-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: light-dark(#fff, #0c1116);
    opacity: var(--next-photo-fade, 0);
}

.chapter-lede {
    position: relative;
    z-index: 1;
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100svh;
    padding: 4rem 1.5rem;
    background: light-dark(#e2f9f0, #0c1116);
}

.chapter-lede .v4p-mic,
.chapter-final-lede .v4p-mic {
    width: fit-content;
    margin-inline: auto;
    margin-block-end: 20px;
}

.v4p-mic-bars div.bar-stopped {
    animation: none;
    height: 4px;
}

.chapter-hold-spacer {
    height: 100svh;
}

.page-header--container.animate .page-image img {
    transform: scale(var(--hero-scale, 1));
}

.page-header--container.animate .page-image {
    animation: none !important;
}

.page-header--container:has(.page-image) .page-image:not(.page-image--tiled) {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-inline: calc(50% - 50vw) !important;
    border-radius: 0 !important;
}

.intro-wash {
    position: relative;
    z-index: 2;
    isolation: isolate;
    padding: 8rem 0 0;
}
.intro-wash.pt-0 {
    padding: 0;
}

.intro-wash::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    z-index: -1;
    background: linear-gradient(
        180deg,
        #e2f9f0 0%,
        #9fe6c8 28%,
        #a7ddec 62%,
        #edf8fb 92%,
        #fff 100%
    );
}

.intro-wash.light-start::before {
    background: linear-gradient(180deg, #fff 0%, #9fe6c8 28%, #a7ddec 62%, #edf8fb 92%, #fff 100%);
}

.dignity-quote {
    font-family: var(--font-default);
    font-weight: 500;
    color: var(--brand-blue);
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
    font-size: clamp(1.5rem, 6.25vw, 4.25rem);
    margin: 7rem 0 17rem;
}

.dignity-quote .bubble {
    display: inline-block;
    position: relative;
    isolation: isolate;
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 500;
    color: #1a1a1a;
    background: var(--bubble-bg);
    border-radius: 0.85em;
    padding: 0 0.5em 0.1em;
    margin-inline: 0.1em;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.dignity-quote .bubble::after {
    content: "";
    position: absolute;
    left: 2.2em;
    bottom: -0.25em;
    width: 0.6em;
    height: 1.1em;
    background: var(--bubble-bg);
    border-radius: 0 0 0.025em 0;
    transform: rotate(36deg);
    z-index: -1;
}

.dignity-quote .bubble--amber {
    --bubble-bg: #f6c860;
}
.dignity-quote .bubble--blue {
    --bubble-bg: #86ceed;
}
.dignity-quote .bubble--blue::after {
    left: 0.75em;
    transform: rotate(-36deg);
}

.person-quote {
    --pq-blue: #6dd1f1;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-block: clamp(2.5rem, 6vw, 4.5rem);
    margin-inline: clamp(1rem, 4vw, 3rem);
}

.person-quote-photo {
    flex: 0 0 auto;
    width: clamp(6rem, 16vw, 12rem);
}

.person-quote-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.person-quote-bubble {
    position: relative;
    isolation: isolate;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    background: var(--pq-blue);
    border-radius: 1.75rem;
    padding: 1.5rem 2rem;
}

.person-quote-bubble p {
    margin: 0;
    font-family: var(--font-default);
    font-size: clamp(1rem, 2.2vw, 1.45rem);
    line-height: 1.5;
    color: var(--brand-blue);
}

.person-quote-bubble::after {
    content: "";
    position: absolute;
    left: -0.7rem;
    top: 3rem;
    width: 1.4rem;
    height: 1.4rem;
    background: var(--pq-blue);
    border-radius: 0 0 0 2px;
    transform: rotate(48deg);
    z-index: -1;
}

.person-quote-bubble.orange,
.person-quote-bubble.orange::after {
    background: #f46413;
}
.person-quote-bubble.orange p {
    color: #fff;
}

.person-quote.reverse {
    flex-direction: row-reverse;
}

.person-quote-bubble.gold {
    background: #ffc647;
}

.person-quote-bubble.no-tail::after {
    content: none;
}

@media only screen and (max-width: 34.99em) {
    .person-quote,
    .person-quote.reverse {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    .person-quote-bubble::after {
        left: 2rem;
        top: -0.6rem;
        transform: rotate(-42deg);
    }
}

.photo-slider {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: flex-start;
    margin-block: clamp(2rem, 6vw, 4rem) clamp(3rem, 7vw, 5rem);
}

.photo-slider-content {
    min-width: 0;
}

.photo-slider-media {
    position: relative;
    min-width: 0;
    margin-inline-end: var(--slider-edge-bleed, 0px);
}

.photo-slider-track {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0;
}

.photo-slider-track::-webkit-scrollbar {
    display: none;
}

.photo-slider-slide {
    flex: 0 0 auto;
    scroll-snap-align: center;
    margin: 0;
}

.photo-slider-slide img {
    display: block;
    width: auto;
    max-width: none;
    height: clamp(14rem, 28rem, 24rem);
}

.photo-slider-slide figcaption {
    max-width: none;
    margin: 0.6rem 0 0;
    text-align: left;
    font-size: 0.9rem;
    color: var(--gray);
}

.photo-slider-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    z-index: 2;
    transition: opacity 150ms ease-in-out;
}

.photo-slider-arrow:hover {
    color: var(--brand-blue);
}

.photo-slider-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.photo-slider-prev {
    left: 0.75rem;
}
.photo-slider-next {
    right: 0.75rem;
}

@media only screen and (max-width: 47.99em) {
    .photo-slider {
        grid-template-columns: 1fr;
    }
    .photo-slider-slide img {
        height: clamp(11rem, 55vw, 16rem);
    }
}

.bleed-full {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
    margin-block: clamp(3.5rem, 8vw, 6rem) clamp(4.5rem, 10vw, 8rem);
}

.bleed-full figcaption {
    padding-inline: 1.25rem;
}

.bleed-full:has(figure:nth-child(2)) .caption { margin-top: 0; line-height: 1.1; }

.page--longform .image-full {
    margin-block: clamp(3.5rem, 8vw, 6rem);
}

.image-left,
.image-right {
    margin-block: clamp(1.5rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 3.5rem);
}

.pull-right,
.pull-left {
    margin-block: clamp(2rem, 4vw, 2.5rem) clamp(3rem, 5vw, 3.5rem);
}

@media only screen and (min-width: 48em) {
    .image-full img {
        width: 100%;
    }
}

@media only screen and (min-width: 60em) {
    .image-full {
        margin-inline: max(-3rem, calc(-1 * var(--gutter-width) + -3rem));
    }

    .pull-right {
        margin-inline-end: max(-6rem, calc(-1 * var(--gutter-width) + -3rem));
    }
    .pull-left {
        margin-inline-start: max(-6rem, calc(-1 * var(--gutter-width) + 1rem));
    }
}

.facial-rec {
    margin-block: clamp(2rem, 5vw, 4rem);
    --fr-progress: 0;
}

@media only screen and (min-width: 48em) {
    .facial-rec {
        width: auto;
        margin-inline: var(--fr-bleed-left, 0px) var(--fr-bleed-right, 0px);
    }
}

@media only screen and (min-width: 48em) and (prefers-reduced-motion: no-preference) {
    .facial-rec-scroll {
        position: relative;
        height: 450vh;
        margin-block: clamp(2rem, 5vw, 4rem);
    }
    .facial-rec {
        position: sticky;
        top: 0;
        margin-block: 0;
    }
}

.facial-rec-frame {
    position: relative;
    min-width: 0;
    aspect-ratio: 1920 / 1117;
    overflow: hidden;
    background: #10121a;
}

@media only screen and (min-width: 48em) {
    .facial-rec-frame {
        border-radius: 0;
        width: 100vw;
    }
}

.facial-rec-photo {
    position: absolute;
    inset: 0;
    overflow: hidden;
    transition: opacity 120ms linear;
}

.facial-rec-photo[data-state="1"] {
    opacity: calc(1 - var(--fr-progress));
}
.facial-rec-photo[data-state="2"] {
    opacity: var(--fr-progress);
}

.facial-rec-photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facial-rec-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.facial-rec-state {
    transition: opacity 120ms linear;
}

.facial-rec-state[data-state="1"] {
    opacity: calc(1 - var(--fr-progress));
}
.facial-rec-state[data-state="2"] {
    opacity: var(--fr-progress);
}

.facial-rec-toggle {
    position: absolute;
    left: 1rem;
    bottom: 5rem;
    z-index: 3;
    display: flex;
    gap: 0.5rem;
    flex-flow: column;
}

.facial-rec-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    font-family: var(--font-default);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    color: #fff;
    cursor: pointer;
    transition:
        background 150ms ease-in-out,
        border-color 150ms ease-in-out;
}

.facial-rec-toggle-btn:hover {
    background: rgba(16, 18, 26, 0.75);
}

.facial-rec-toggle-btn[aria-pressed="true"] {
    background: #00b683;
    border-color: #00b683;
}

.facial-rec {
    margin-bottom: 0;
}

@media only screen and (min-width: 48em) and (prefers-reduced-motion: no-preference) {
    .facial-rec-scroll {
        margin-bottom: 0;
    }
}

.facial-rec-scroll + .caption {
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.hero-play-btn {
    position: absolute;
    top: 53%;
    left: 72%;
    transform: translate(-50%, -50%);
    width: clamp(3.5rem, 8vw, 5.5rem);
    height: clamp(3.5rem, 8vw, 5.5rem);
    border: none;
    background: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: transform 200ms ease-in-out;
}

.hero-play-btn img {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-play-btn:hover,
.hero-play-btn:focus-visible {
    transform: translate(-50%, -50%) scale(1.08);
}

.hero-play-btn:focus-visible {
    outline: 3px solid var(--link-focus);
    outline-offset: 3px;
}

@media only screen and (max-width: 40em) {
    .hero-play-btn {
        top: 50%;
        left: 50%;
    }
}

.video-lightbox {
    border: none;
    padding: 0;
    width: min(90vw, 960px);
    max-width: 90vw;
    max-height: 90vh;
    background: transparent;
    overscroll-behavior: contain;
}

.video-lightbox::backdrop {
    background: rgba(8, 22, 41, 0.85);
}

.video-lightbox-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-lightbox-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-lightbox-close {
    position: absolute;
    top: -2.75rem;
    right: 0;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-lightbox-close svg {
    width: 60%;
    height: 60%;
}

.video-lightbox-close:hover,
.video-lightbox-close:focus-visible {
    background: rgba(255, 255, 255, 0.3);
}

@media only screen and (max-width: 48em) {
    .video-lightbox {
        width: 94vw;
        max-width: 94vw;
    }

    .video-lightbox-close {
        right: 0.5rem;
    }
}

@media only screen and (max-width: 47.99em) {
    .intro-reveal {
        height: 75svh;
    }
    .chapter-lede {
        min-height: 65svh;
    }
    .chapter-hold-spacer {
        height: 35svh;
    }
    .chapter-final-lede {
        min-height: 65svh;
    }
    .chapter-final-photo {
        height: 70svh;
    }
}
